/* Task 80: shorter magazine edits, scoped so every concept keeps its own system. */
.rx-origin,.rx-blog-review>.rx-blog,.rx-blog-review>.rx-review-form{display:none}
.rx-blog-review{display:block}
body:not([data-theme="editorial"]) .rx-results{display:none}
.rx-experience{padding-top:clamp(64px,7vw,100px);padding-bottom:clamp(64px,7vw,100px)}

body[data-theme="editorial"] .rl-science,
body[data-theme="editorial"] .rl-howto,
body[data-theme="editorial"] .rl-story,
body[data-theme="editorial"] .rl-faq{display:none}
body[data-theme="campaign"] .campaign-categories{display:none}
body[data-theme="bright"] .bright-howto,
body[data-theme="bright"] .bright-pairs,
body[data-theme="bright"] .bright-portrait{display:none}
body[data-theme="atelier"] .atelier-manifesto,
body[data-theme="atelier"] .atelier-method,
body[data-theme="atelier"] .atelier-formula,
body[data-theme="atelier"] .atelier-compare{display:none}
body[data-theme="studio"] .studio-brow{display:none}
body[data-theme="indexed"] .indexed-stories{display:none}

.rx-ai{--rx-ai-bubble:#fff;--rx-ai-bubble-ink:#15213b;--rx-ai-bubble-line:rgba(21,33,59,.14);display:block!important;padding:0!important;background:transparent!important;border:0!important}
body .rx-ai button.rx-ai-disclosure{width:100%;min-height:156px;display:flex;align-items:center;justify-content:space-between;gap:clamp(28px,5vw,72px);padding:clamp(26px,4vw,48px);margin:0;border:1px solid var(--rx-ai-bubble-line);border-radius:clamp(24px,3vw,42px);background:var(--rx-ai-bubble);color:var(--rx-ai-bubble-ink);box-shadow:0 22px 70px rgba(20,27,42,.1);text-align:left;text-transform:none;letter-spacing:normal;font-size:inherit;cursor:pointer;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-radius .25s ease}
.rx-ai-disclosure:hover{transform:translateY(-2px);box-shadow:0 28px 80px rgba(20,27,42,.15)}
.rx-ai-disclosure:focus-visible{outline:3px solid #2368dc;outline-offset:4px}
.rx-ai-disclosure[aria-expanded="true"]{border-radius:clamp(24px,3vw,42px) clamp(24px,3vw,42px) 12px 12px}
.rx-ai-disclosure-copy{display:grid;grid-template-columns:minmax(132px,210px) minmax(220px,600px);align-items:center;gap:clamp(28px,5vw,72px);min-width:0}
.rx-ai-logo{display:block;width:100%;height:auto}
.rx-ai-intro{font-size:clamp(18px,2vw,29px);line-height:1.22;letter-spacing:-.02em;max-width:580px}
.rx-ai-expand{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;background:var(--rx-ai-bubble-ink);color:#fff}
.rx-ai-arrow{width:28px;height:28px;transition:transform .3s ease}
.rx-ai-disclosure[aria-expanded="true"] .rx-ai-arrow{transform:rotate(180deg)}
.rx-ai-panel{display:grid;grid-template-columns:.72fr 1.28fr;gap:clamp(36px,7vw,110px);padding:clamp(34px,5vw,72px) 0 8px}
.rx-ai-panel[hidden]{display:none}

body[data-theme="editorial"] .rx-ai{--rx-ai-bubble:#ededed;--rx-ai-bubble-ink:#1e1e1e;--rx-ai-bubble-line:rgba(30,30,30,.22)}
body[data-theme="campaign"] .rx-ai{--rx-ai-bubble:linear-gradient(125deg,#f9fafc 0%,#dfe4ec 100%);--rx-ai-bubble-ink:#111d3c;--rx-ai-bubble-line:rgba(17,29,60,.2)}
body[data-theme="bright"] .rx-ai{--rx-ai-bubble:#fff;--rx-ai-bubble-ink:#10233f;--rx-ai-bubble-line:rgba(16,35,63,.18)}
body[data-theme="atelier"] .rx-ai{--rx-ai-bubble:#f3ede4;--rx-ai-bubble-ink:#503d31;--rx-ai-bubble-line:rgba(80,61,49,.2)}
body[data-theme="studio"] .rx-ai{--rx-ai-bubble:linear-gradient(135deg,#fff 0%,#e1e5eb 100%);--rx-ai-bubble-ink:#111d3c;--rx-ai-bubble-line:rgba(17,29,60,.22)}
body[data-theme="indexed"] .rx-ai{--rx-ai-bubble:linear-gradient(135deg,#f9fafb 0%,#d8dde4 100%);--rx-ai-bubble-ink:#0d2548;--rx-ai-bubble-line:rgba(13,37,72,.2)}

body[data-theme="editorial"]{--rl-color-bg:#fafafa;--rl-color-surface-1:#f8f8f8;--rl-color-surface-2:#f8f8f8;--rl-color-border:rgba(59,59,59,.32);--rl-color-navy:#1e1e1e;--rl-color-navy-strong:#ededed;--rl-color-on-navy:#1e1e1e;--rl-color-on-navy-soft:#3b3b3b;--rl-color-on-navy-link:#3b3b3b;--rl-color-ink:#1e1e1e}
body[data-theme="editorial"] .rl-header-shell,body[data-theme="editorial"] .rl-footer{background:#ededed;color:#1e1e1e}
body[data-theme="editorial"] .rl-footer-lead img{filter:none}
body[data-theme="editorial"] .rl-footer-bottom{border-color:rgba(59,59,59,.32);color:#3b3b3b}
body[data-theme="editorial"] .rl-footer a,body[data-theme="editorial"] .rl-footer-lead p{color:#3b3b3b}
body[data-theme="editorial"] .rx-experience{--rx-bg:#f8f8f8;--rx-card:#f8f8f8;--rx-ink:#1e1e1e;--rx-line:rgba(59,59,59,.32)}
body[data-theme="editorial"] .rx-testimonials{background:#1e1e1e;color:#fafafa;border-radius:14px;padding:clamp(38px,6vw,84px)}
body[data-theme="editorial"] .rx-slide blockquote{font-family:Georgia,"Times New Roman",serif;font-weight:400}
body[data-theme="editorial"] .rx-slide cite,body[data-theme="editorial"] .rx-slide a{color:#fafafa}
body[data-theme="editorial"] .rx-controls button{color:#fafafa;border-color:rgba(250,250,250,.42)}
body[data-theme="editorial"] .rx-ai{margin-top:clamp(54px,7vw,96px)}
body[data-theme="editorial"] :is(.rl-filters button,.rl-button,.rx-ai button){color:#3b3b3b}
body[data-theme="editorial"] .rl-filters button.is-active{color:#fafafa}
body[data-theme="editorial"] .rx-ai-form button{color:#fafafa}
body[data-theme="editorial"] .rl-button-light{background:#fafafa;color:#3b3b3b;border-color:#fafafa}

@media(max-width:760px){
  .rx-ai-disclosure{min-height:184px;padding:26px 22px;gap:16px;border-radius:26px}.rx-ai-disclosure[aria-expanded="true"]{border-radius:26px 26px 10px 10px}.rx-ai-disclosure-copy{grid-template-columns:1fr;gap:18px}.rx-ai-logo{width:142px}.rx-ai-intro{font-size:18px;line-height:1.3}.rx-ai-expand{width:48px;height:48px;flex-basis:48px}.rx-ai-panel{grid-template-columns:1fr;padding-top:30px;gap:24px}
  body[data-theme="editorial"] .rl-collection{padding-top:72px;padding-bottom:82px}
  body[data-theme="editorial"] .rl-pairing{margin-bottom:78px}
  body[data-theme="campaign"] #discover .campaign-feature:last-child{display:none}
  body[data-theme="atelier"] .atelier-builder{padding-top:80px;padding-bottom:80px}
}
@media(prefers-reduced-motion:reduce){.rx-ai-disclosure,.rx-ai-arrow{transition:none}.rx-ai-disclosure:hover{transform:none}}
