/* R38-UX: Integrated brand header, Comunidad IA FAQ accordion (<details><summary>), cover dedupe, and clean reading layout. */
.publication-shell.am-editorial-surface{box-sizing:border-box;width:min(100%,90rem);max-width:90rem;margin-inline:auto;padding-inline:clamp(1rem,3vw,3rem)}
body.am-editorial-consent-layout>header,body.am-editorial-consent-layout>footer{box-sizing:border-box;width:min(100%,90rem);max-width:90rem;margin-inline:auto;padding-inline:clamp(1rem,3vw,3rem)}
body.am-editorial-consent-layout>header{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.5rem;padding-block:1rem 1.05rem;border-block-end:1px solid rgba(105,232,237,.16);background:rgba(7,17,29,.94)}
body.am-editorial-consent-layout>header nav{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem .85rem}
body.am-editorial-consent-layout>header .am-site-brand{display:inline-flex;align-items:center;gap:.75rem;flex:0 0 auto;min-height:44px;padding:.2rem 0;color:#f3f8ff;text-decoration:none}
body.am-editorial-consent-layout>header .am-site-brand:hover .am-site-brand__last{color:#69e8ed}
body.am-editorial-consent-layout>header .am-site-brand:focus-visible{outline:3px solid #45e2f3;outline-offset:5px;border-radius:.45rem}
body.am-editorial-consent-layout>header .am-site-brand__mark{display:block;width:48px;height:auto;aspect-ratio:176/89;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 0 10px rgba(69,226,243,.18))}
body.am-editorial-consent-layout>header .am-site-brand__wordmark{display:flex;flex-direction:column;justify-content:center;font-family:"Space Grotesk",Inter,system-ui,-apple-system,sans-serif;line-height:1.06;letter-spacing:.14em;text-transform:uppercase}
body.am-editorial-consent-layout>header .am-site-brand__first{font-size:.68rem;font-weight:600;color:#b8cde0}
body.am-editorial-consent-layout>header .am-site-brand__last{font-size:.88rem;font-weight:750;letter-spacing:.12em;color:#f5f9ff;transition:color .16s ease}
@media(max-width:520px){body.am-editorial-consent-layout>header{padding-block:.75rem;gap:.65rem}body.am-editorial-consent-layout>header .am-site-brand{gap:.55rem}body.am-editorial-consent-layout>header .am-site-brand__mark{width:40px}body.am-editorial-consent-layout>header .am-site-brand__first{font-size:.62rem}body.am-editorial-consent-layout>header .am-site-brand__last{font-size:.78rem}}

.publication-layout.am-editorial-reading-layout{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(17rem,20rem);align-items:start;gap:clamp(1.5rem,3vw,3rem);width:100%;max-width:none;margin:0}
.publication-layout.am-editorial-reading-layout>article{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0}
.publication-layout.am-editorial-reading-layout--single{grid-template-columns:minmax(0,78ch)}
.am-editorial-reading-layout .body{box-sizing:border-box;min-width:0;max-width:78ch;font-family:Inter,system-ui,sans-serif;font-size:clamp(17px,1rem + .25vw,19px);line-height:1.82;color:#e5edf4;text-align:start;overflow-wrap:anywhere;hyphens:auto}
.am-editorial-reading-layout .body p{max-width:78ch;margin-block:0 1.25em}
.am-editorial-reading-layout .body h2{font-size:clamp(1.45rem,1.25rem + .8vw,1.9rem);line-height:1.25;margin-block:2.15em .75em;scroll-margin-block-start:5rem;text-wrap:balance}
.am-editorial-reading-layout .body h3{font-size:clamp(1.2rem,1.1rem + .3vw,1.35rem);line-height:1.35;margin-block:1.6em .6em;scroll-margin-block-start:5rem}
.am-editorial-reading-layout .body img,.am-editorial-reading-layout .body video{display:block;max-width:100%;height:auto}
/* Prevent main cover repetition inside article body */
.am-editorial-reading-layout .body figure.news-cover,.am-editorial-reading-layout .body [data-am-duplicate-cover]{display:none!important}
.am-editorial-reading-layout .body a{color:#8cecf4;text-underline-offset:.19em;overflow-wrap:anywhere}
.am-editorial-reading-layout .body :focus-visible,.am-article-toc summary:focus-visible,.am-editorial-context-rail a:focus-visible,.am-editorial-faq summary:focus-visible{outline:3px solid #45e2f3;outline-offset:4px}
.am-editorial-reading-layout .body .table-scroll{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.am-editorial-reading-layout .body table{max-width:100%;font:inherit;border-collapse:collapse}
.am-editorial-context-rail{box-sizing:border-box;align-self:start;min-width:0;max-height:calc(100vh - 2rem);overflow:auto;position:sticky;top:1rem;padding:1rem 1.15rem;border:1px solid #30465a;border-radius:.8rem;background:#0d1a28;color:#d8e4ed}
.am-editorial-context__section+.am-editorial-context__section{margin-block-start:1.25rem;padding-block-start:1rem;border-block-start:1px solid #30465a}
.am-editorial-context__section h2{margin:0 0 .65rem;font-size:1rem;line-height:1.35;color:#eef5fa}
.am-editorial-context__section p{margin:0 0 .5rem;color:#bdcbd8;font-size:.92rem;line-height:1.5}
.am-editorial-context__section ol{margin:0;padding-inline-start:1.2rem}
.am-editorial-context__section li{margin-block:.5rem;font-size:.93rem;line-height:1.45;overflow-wrap:anywhere}
.am-editorial-context__section a{color:#8cecf4;text-underline-offset:.16em}
.am-editorial-context-cover{margin:0 0 1rem}
.am-editorial-context-cover img{display:block;width:100%;height:auto;border-radius:.6rem}
.am-editorial-context-cover figcaption{margin-block:.5rem 0;color:#bdcbd8;font-size:.82rem;line-height:1.45}

/* Comunidad IA style FAQ accordion (<details><summary>) */
.am-editorial-reading-layout .body .am-editorial-faq,
.am-editorial-reading-layout .body .news-faq{margin-block:2.25rem;padding:0;border:0;border-radius:0;background:transparent;color:#eef5fa;max-width:78ch}
.am-editorial-reading-layout .body .am-editorial-faq>h2,
.am-editorial-reading-layout .body .news-faq>h2{margin-block:0 .75rem;font-size:clamp(1.4rem,1.2rem + .7vw,1.8rem);color:#f3f8ff}
.am-editorial-reading-layout .body details.am-editorial-faq__item,
.am-editorial-reading-layout .body .news-faq>details,
.am-editorial-reading-layout .body details:not(.am-article-toc){border-block-end:1px solid #283d52;padding-block:1rem}
.am-editorial-reading-layout .body details.am-editorial-faq__item:first-of-type,
.am-editorial-reading-layout .body .news-faq>details:first-of-type{border-block-start:1px solid #283d52}
.am-editorial-reading-layout .body details:not(.am-article-toc)>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;padding-block:.2rem;cursor:pointer;font-weight:650;font-size:clamp(1.03rem,1rem + .15vw,1.125rem);line-height:1.45;color:#f2f7fd;transition:color .15s ease}
.am-editorial-reading-layout .body details:not(.am-article-toc)>summary::-webkit-details-marker{display:none}
.am-editorial-reading-layout .body details:not(.am-article-toc)>summary::after{content:"+";flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border:1px solid rgba(105,232,237,.35);border-radius:999px;background:rgba(20,40,59,.75);color:#69e8ed;font-family:"Space Grotesk",Inter,sans-serif;font-size:1.1rem;font-weight:600;line-height:1;transition:transform .18s ease,background-color .18s ease,border-color .18s ease}
.am-editorial-reading-layout .body details:not(.am-article-toc)>summary:hover{color:#78e8ee}
.am-editorial-reading-layout .body details:not(.am-article-toc)>summary:hover::after{border-color:#78e8ee;background:rgba(69,226,243,.14)}
.am-editorial-reading-layout .body details:not(.am-article-toc)[open]>summary{color:#78e8ee}
.am-editorial-reading-layout .body details:not(.am-article-toc)[open]>summary::after{content:"−";background:#69e8ed;border-color:#69e8ed;color:#07111d}
.am-editorial-reading-layout .body details:not(.am-article-toc) .am-editorial-faq__answer,
.am-editorial-reading-layout .body details:not(.am-article-toc)>p{margin:.75rem 0 .25rem;color:#c7d6e4;font-size:clamp(1rem,.98rem + .12vw,1.0625rem);line-height:1.78;max-width:74ch}
.am-editorial-reading-layout .body details:not(.am-article-toc) .am-editorial-faq__answer>:last-child{margin-block-end:0}

/* Fallback if JS is disabled on div.am-editorial-faq__item */
.am-editorial-reading-layout .body div.am-editorial-faq__item{border-block-end:1px solid #283d52;padding-block:.9rem}
.am-editorial-reading-layout .body div.am-editorial-faq__item>h3{margin:0 0 .45rem;font-size:1.08rem;font-weight:650;color:#f2f7fd}
.am-editorial-reading-layout .body div.am-editorial-faq__item>p{margin:0;color:#c7d6e4;line-height:1.75}

/* Hide any legacy reading-preferences block if present */
.am-reading-preferences,[data-am-reading-preferences]{display:none!important}
body.am-editorial-consent-layout footer .am-measurement-consent,body.am-editorial-consent-layout footer .am-measurement-settings{position:static;inset:auto;box-sizing:border-box;max-width:100%;margin:.75rem 0}
body.am-editorial-consent-layout footer .am-measurement-settings{box-sizing:border-box;min-height:44px;padding:.55rem .85rem;border:1px solid #3b5367;border-radius:.55rem;background:#14283b;color:#edf5ff;font:650 .95rem/1.3 Inter,system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
body.am-editorial-consent-layout .am-consent-inline-slot:empty{display:none;margin:0;padding:0}
@media(max-width:900px){.publication-shell.am-editorial-surface{padding-inline:clamp(1rem,4vw,2rem)}.publication-layout.am-editorial-reading-layout{grid-template-columns:minmax(0,1fr);gap:1.5rem}.am-editorial-context-rail{position:static;max-height:none;overflow:visible}.publication-layout.am-editorial-reading-layout>article{width:100%}.am-editorial-reading-layout .body{font-size:max(17px,1.0625rem);line-height:1.75}}
@media(max-width:480px){.am-editorial-context-rail{padding:1rem}.am-editorial-reading-layout .body h2{margin-block-start:1.8em}}
@media(prefers-reduced-motion:reduce){.am-editorial-reading-layout,.am-editorial-context-rail,.am-editorial-reading-layout .body details>summary::after{scroll-behavior:auto!important;transition:none!important}}
