/* Public editorial article pages — uses existing Art Argentum navigation/shell. */
.aa-editorial-page .shell-main{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;background:#000!important;color:#f1f3f6!important}
.aa-editorial-page #aa-page-slot{min-width:0;min-height:100%;padding:0 14px 70px}
.aa-news-article,.aa-news-index{width:min(100%,1040px);margin:0 auto;font-family:var(--ui-font,Inter,system-ui,sans-serif);color:#f1f3f6}
.aa-news-breadcrumb{padding:23px 0;color:#aeb4be;font-size:12px;letter-spacing:.09em;text-transform:uppercase}
.aa-news-breadcrumb a,.aa-news-article-footer a{color:inherit;text-decoration:none}.aa-news-breadcrumb a:hover,.aa-news-article-footer a:hover{text-decoration:underline}
.aa-news-hero{position:relative;display:flex;align-items:flex-end;min-height:clamp(390px,55vw,580px);overflow:hidden;isolation:isolate;background:#121418;border:1px solid rgba(255,255,255,.1)}
.aa-news-cover{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.aa-news-hero:after{position:absolute;inset:0;z-index:-1;content:"";background:linear-gradient(0deg,rgba(0,0,0,.94),rgba(0,0,0,.35) 64%,rgba(0,0,0,.15))}
.aa-news-hero-copy{padding:clamp(25px,5vw,65px);width:100%;max-width:930px}
.aa-news-topic{font-size:12px;letter-spacing:.23em;color:#c4d3e8}
.aa-news-hero h1{margin:16px 0;font-size:clamp(30px,4.6vw,65px);font-weight:500;line-height:1.09;overflow-wrap:anywhere}
.aa-news-lead{margin:14px 0;max-width:820px;font-size:clamp(15px,1.5vw,20px);line-height:1.55;color:#e0e4ed}
.aa-news-date{margin-top:20px;font-size:12px;color:#cbd1da;letter-spacing:.07em}
.aa-news-preview{padding:9px;background:#8b7031;color:#fff;text-align:center;font-size:12px}
.aa-news-tags{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 0}.aa-news-tags span{padding:7px 12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:12px;color:#d7e1ed}
.aa-news-content{width:min(100%,820px);margin:36px auto 80px;line-height:1.85;font-size:clamp(16px,1.3vw,19px);color:#e4e8f0;overflow-wrap:anywhere;display:flow-root}
.aa-news-content h2,.aa-news-content h3{margin:1.7em 0 .55em;font-weight:500;line-height:1.26;letter-spacing:-.02em;color:#fff}.aa-news-content h2{font-size:1.7em}.aa-news-content h3{font-size:1.35em}
.aa-news-content p{margin:0 0 1.1em}.aa-news-content a{color:#b4d3fd;text-decoration:underline;text-underline-offset:3px}
.aa-news-content blockquote{border-left:3px solid #c5a663;margin:25px 0;padding:6px 24px;color:#d6dee9;background:rgba(255,255,255,.035)}
.aa-news-content .aa-news-figure{display:block;max-width:100%;margin:30px auto;clear:both}.aa-news-content .aa-news-figure img{display:block;width:100%;height:auto;object-fit:contain}
.aa-news-content .aa-news-figure--center{max-width:76%;margin-left:auto;margin-right:auto}
.aa-news-content .aa-news-figure--left{float:left;width:42%;max-width:42%;margin:8px 27px 22px 0;clear:left}
.aa-news-content .aa-news-figure--right{float:right;width:42%;max-width:42%;margin:8px 0 22px 27px;clear:right}
.aa-news-content figcaption{text-align:center;font-size:.73em;color:#9faabd;padding:9px 0}
.aa-news-article-footer{clear:both;border-top:1px solid rgba(255,255,255,.15);padding:25px 0;display:flex;justify-content:space-between;color:#adb9cb}
.aa-news-index{padding-bottom:65px}.aa-news-index h1{font-size:clamp(32px,4vw,58px);font-weight:400;letter-spacing:-.045em}
.aa-news-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;margin-top:30px}
.aa-news-index-card{color:inherit;text-decoration:none;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);overflow:hidden}
.aa-news-index-card:hover{border-color:rgba(225,230,244,.42)}.aa-news-index-card img{height:230px;width:100%;object-fit:cover;display:block}
.aa-news-index-copy{padding:24px}.aa-news-index-copy span{color:#aab5c2;font-size:12px}.aa-news-index-copy h2{font-size:23px;font-weight:500;line-height:1.22}.aa-news-index-copy p{color:#bac2cd;line-height:1.5;font-size:14px}
@media(max-width:760px){.aa-editorial-page #aa-page-slot{padding:0 10px 40px}.aa-news-hero{min-height:440px}.aa-news-hero-copy{padding:24px}.aa-news-content .aa-news-figure--center,.aa-news-content .aa-news-figure--left,.aa-news-content .aa-news-figure--right{float:none;max-width:100%;width:100%;margin:25px 0}.aa-news-index-grid{grid-template-columns:1fr}}

/* Editorial type navigation / safe rich-text font scale. */
.aa-original-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 30px}
.aa-original-tabs a{padding:9px 15px;text-decoration:none;color:#d6dce6;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.055)}
.aa-original-tabs a[aria-current="page"],.aa-original-tabs a:hover{border-color:#c4b07f;background:rgba(255,255,255,.14)}
.aa-news-index-kind{display:inline-block;margin-right:12px;letter-spacing:.08em}
.aa-news-content h4,.aa-news-content h5,.aa-news-content h6{margin:1.5em 0 .5em;line-height:1.3;color:#fff;font-weight:500}
.aa-news-content h4{font-size:1.17em}.aa-news-content h5{font-size:1.04em}.aa-news-content h6{font-size:1em}

/* Editable, sanitised text sizes; independent of heading hierarchy. */
.aa-news-content .aa-news-size--12{font-size:12px!important}
.aa-news-content .aa-news-size--14{font-size:14px!important}
.aa-news-content .aa-news-size--16{font-size:16px!important}
.aa-news-content .aa-news-size--18{font-size:18px!important}
.aa-news-content .aa-news-size--20{font-size:20px!important}
.aa-news-content .aa-news-size--24{font-size:24px!important}
.aa-news-content .aa-news-size--28{font-size:28px!important}
.aa-news-content .aa-news-size--32{font-size:32px!important}

/* v5: one visual breadcrumb, one semantic H1 (non-duplicated on screen). */
.aa-editorial-page .aa-news-index-sr-only {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;border:0!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;
}
.aa-editorial-page .aa-news-breadcrumb {display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.aa-editorial-page .aa-news-breadcrumb a {color:rgba(255,255,255,.58)!important;text-decoration:none!important}
.aa-editorial-page .aa-news-breadcrumb a:hover,
.aa-editorial-page .aa-news-breadcrumb a:focus-visible {color:rgba(255,255,255,.96)!important;text-decoration:none!important}

/* v5: Explore cards share the homepage image, overlay, typography and lead layout. */
.aa-editorial-page .aa-news-index {width:min(100%,1240px)}
.aa-editorial-page .aa-news-index-grid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;margin:8px 0 0!important;
}
.aa-editorial-page .aa-news-index .hp-news-chip {
  position:relative;min-width:0;min-height:260px;display:flex;align-items:flex-end;
  overflow:hidden!important;isolation:isolate;text-decoration:none!important;
  color:#fff!important;background:#13151a;border:1px solid rgba(255,255,255,.12)!important;
  transition:border-color .2s,transform .2s;
}
.aa-editorial-page .aa-news-index .hp-news-chip:hover,
.aa-editorial-page .aa-news-index .hp-news-chip:focus-visible {
  border-color:rgba(223,230,240,.55)!important;transform:translateY(-2px);
}
.aa-editorial-page .aa-news-index .hp-news-chip-image {
  position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;
  display:block;transition:transform .3s;
}
.aa-editorial-page .aa-news-index .hp-news-chip:hover .hp-news-chip-image {transform:scale(1.035)}
.aa-editorial-page .aa-news-index .hp-news-chip::before {
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(0deg,rgba(0,0,0,.94),rgba(0,0,0,.35) 74%,rgba(0,0,0,.1));
}
.aa-editorial-page .aa-news-index .hp-news-chip-copy {
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
  padding:17px;min-width:0;width:100%;
}
.aa-editorial-page .aa-news-index .hp-news-chip-tags,
.aa-editorial-page .aa-news-index .hp-news-chip-date {
  display:block;font-size:10px;color:#c0cfdf;letter-spacing:.05em;
}
.aa-editorial-page .aa-news-index .hp-news-chip-title {
  margin:0;font-size:clamp(15px,1.4vw,20px);font-weight:500;
  line-height:1.27;color:#fff;
}
.aa-editorial-page .aa-news-index .hp-news-chip-lead {
  margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden;max-width:100%;color:rgba(239,242,247,.85);
  font-size:clamp(12px,1vw,14px);line-height:1.45;
}
.aa-editorial-page .aa-news-index .hp-news-chip-date {margin-top:2px}

/* v5: rail-style editorial category links without yellow hover/borders. */
.aa-editorial-page .aa-original-tabs {gap:8px;margin:0 0 22px;flex-wrap:wrap}
.aa-editorial-page .aa-original-tabs a {
  padding:8px 10px!important;color:rgba(255,255,255,.38)!important;
  text-decoration:none!important;text-transform:uppercase!important;
  font-size:10px!important;letter-spacing:.08em!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.aa-editorial-page .aa-original-tabs a:hover,
.aa-editorial-page .aa-original-tabs a:focus-visible {
  color:rgba(255,255,255,.78)!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
}
.aa-editorial-page .aa-original-tabs a[aria-current="page"] {
  color:rgba(255,255,255,.96)!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
}
.aa-editorial-page .aa-context-rail .aa-editorial-rail a.fslug-item {
  display:block!important;background:transparent!important;border:0!important;
  box-shadow:none!important;color:rgba(255,255,255,.38)!important;
  text-shadow:none!important;opacity:1!important;
}
.aa-editorial-page .aa-context-rail .aa-editorial-rail a.fslug-item:hover,
.aa-editorial-page .aa-context-rail .aa-editorial-rail a.fslug-item:focus-visible {
  color:rgba(255,255,255,.78)!important;background:transparent!important;
  border:0!important;box-shadow:none!important;text-shadow:none!important;
}
.aa-editorial-page .aa-context-rail .aa-editorial-rail a.fslug-item.is-active,
.aa-editorial-page .aa-context-rail .aa-editorial-rail a.fslug-item[aria-current="page"] {
  color:rgba(255,255,255,.98)!important;background:transparent!important;
  border:0!important;box-shadow:none!important;text-shadow:none!important;
}
.aa-editorial-page .aa-context-rail .aa-editorial-rail a.fslug-item .fslug-label {
  color:inherit!important;text-align:left!important;line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
@media(min-width:981px){
  /* Desktop already has categories in the left rail. Mobile uses inline tabs. */
  .aa-editorial-page .aa-news-index .aa-original-tabs {display:none!important}
}
@media(max-width:920px){
  .aa-editorial-page .aa-news-index-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:550px){
  .aa-editorial-page .aa-news-index-grid {grid-template-columns:1fr!important}
  .aa-editorial-page .aa-news-index .hp-news-chip {min-height:180px}
}


/* EDITORIAL MOBILE v2 — use the document scroller, not a nested shell-main scroller.
   Scoped to /articles/ and /original/ templates by .aa-editorial-page. */
@media (min-width:981px) {
  body.aa-editorial-page .m-public-nav-host { display:none !important; }
}
@media (max-width:980px) {
  html:has(> body.aa-editorial-page),
  body.aa-editorial-page {
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:100% !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    touch-action:pan-y !important;
    scrollbar-gutter:auto !important;
  }
  body.aa-editorial-page {
    display:block !important; /* also overrides shell_page's 921–980px desktop grid */
    min-height:100dvh !important;
  }
  body.aa-editorial-page .shell-root {
    position:relative !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:100dvh !important;
    max-height:none !important;
    overflow:visible !important;
  }
  body.aa-editorial-page .shell-root::after,
  body.aa-editorial-page .top-chessboard.aa-top-navigation,
  body.aa-editorial-page .aa-context-rail,
  body.aa-editorial-page .slug-shell.subsidebar {display:none !important;}
  body.aa-editorial-page .shell-grid-3 {
    position:relative !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    margin:0 !important;
    padding:0 !important;
  }
  body.aa-editorial-page .shell-grid-3 > .shell-main {
    display:block !important;
    position:relative !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    margin:0 !important;
    padding:calc(var(--m-stack-h-no-nonfin,138px) + var(--m-offset-extra,22px)) 0 24px !important;
    overflow:visible !important;
    touch-action:pan-y !important;
    overscroll-behavior-y:auto !important;
    scrollbar-gutter:auto !important;
  }
  body.aa-editorial-page #aa-page-slot {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
    padding:0 clamp(12px,3.5vw,26px) 40px !important;
    overflow:visible !important;
  }
  /* Existing fixed nav: top row + category switch, without an unused source strip. */
  body.aa-editorial-page .m-public-nav-host {
    display:block !important;
    position:relative !important;
    z-index:3000 !important;
    width:100% !important;
    max-width:100% !important;
    height:0 !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  body.aa-editorial-page #m-public-nav {
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    left:0 !important;
    width:100% !important;
    max-width:100% !important;
    z-index:3000 !important;
  }
  body.aa-editorial-page #m-public-nav #m-nonfin-strip {display:none !important;}
  body.aa-editorial-page #m-public-nav .m-slug-wrap {display:flex !important;}
  body.aa-editorial-page #m-hub-panel,
  body.aa-editorial-page #m-menu-panel,
  body.aa-editorial-page #m-slug-panel {
    max-height:calc(100dvh - var(--m-h,76px) - 12px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain !important;
    -webkit-overflow-scrolling:touch !important;
  }
  body.aa-editorial-page #m-slug-list {
    max-height:calc(100dvh - var(--m-h,76px) - var(--m-slug-h,62px) - 18px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch !important;
  }
  body.aa-editorial-page .aa-editorial-mobile-rail-heading {
    margin:12px 8px 5px;
    color:rgba(255,255,255,.56);
    font-size:10px;
    line-height:1.3;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  /* Drawers scroll independently only when open; the publication always uses window scroll. */
  html:has(> body.aa-editorial-page #m-public-nav:is(.is-hub-open,.is-menu-open,.is-slug-open)),
  body.aa-editorial-page:has(#m-public-nav:is(.is-hub-open,.is-menu-open,.is-slug-open)) {
    overflow-y:hidden !important;
    touch-action:none !important;
  }
  body.aa-editorial-page #m-public-nav:is(.is-hub-open,.is-menu-open,.is-slug-open),
  body.aa-editorial-page #m-public-nav:is(.is-hub-open,.is-menu-open,.is-slug-open) :is(#m-hub-panel,#m-menu-panel,#m-slug-panel) {
    touch-action:pan-y !important;
  }
  /* Keep publication content in normal document flow, including long Research. */
  body.aa-editorial-page #aa-page-slot > :is(.aa-news-article,.aa-news-index),
  body.aa-editorial-page .aa-news-content {
    height:auto !important;
    max-height:none !important;
    overflow-y:visible !important;
    min-width:0 !important;
  }
  body.aa-editorial-page .aa-news-article,
  body.aa-editorial-page .aa-news-index { width:100% !important; max-width:100% !important; min-width:0 !important; }
  body.aa-editorial-page .aa-news-breadcrumb {
    padding:10px 0 16px !important;
    gap:4px 6px !important;
    font-size:clamp(10px,2.5vw,12px);
    line-height:1.45;
    letter-spacing:.045em;
  }
  body.aa-editorial-page .aa-news-hero {
    min-height:clamp(300px,62svh,560px) !important;
    width:100% !important;
    max-width:100% !important;
  }
  body.aa-editorial-page .aa-news-hero-copy {padding:clamp(16px,4.4vw,34px) !important;}
  body.aa-editorial-page .aa-news-hero h1 {font-size:clamp(26px,7vw,46px) !important;line-height:1.13 !important;}
  body.aa-editorial-page .aa-news-lead {font-size:clamp(15px,3.8vw,19px) !important;line-height:1.52 !important;}
  body.aa-editorial-page .aa-news-content {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:clamp(20px,5vw,36px) auto 48px !important;
    font-size:clamp(16px,3.65vw,19px) !important;
    line-height:1.72 !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }
  body.aa-editorial-page .aa-news-content :is(img,picture,video,canvas,svg,iframe,object) {
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  body.aa-editorial-page .aa-news-content :is(img,video,canvas,svg) {height:auto !important;}
  body.aa-editorial-page .aa-news-content :is(.aa-news-figure--center,.aa-news-figure--left,.aa-news-figure--right),
  body.aa-editorial-page .aa-news-content figure {
    float:none !important;
    clear:both !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:clamp(18px,4vw,28px) auto !important;
  }
  body.aa-editorial-page .aa-news-content :is(pre,table) {
    display:block;
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
  body.aa-editorial-page .aa-news-content pre {white-space:pre;}
  body.aa-editorial-page .aa-news-content :is(p,li,blockquote,figcaption,h2,h3,h4,h5,h6) {max-width:100%;overflow-wrap:anywhere;}
  body.aa-editorial-page .aa-news-content blockquote {margin:20px 0;padding:8px 14px;}
  body.aa-editorial-page .aa-news-article-footer {gap:14px;flex-wrap:wrap;font-size:12px;}
  body.aa-editorial-page .aa-news-index-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body.aa-editorial-page .aa-news-index .hp-news-chip {min-height:clamp(210px,34vw,290px);}
  body.aa-editorial-page .aa-news-index .aa-original-tabs {display:none !important;}
}
@media (max-width:600px) {
  body.aa-editorial-page .aa-news-index-grid {grid-template-columns:minmax(0,1fr) !important;}
  body.aa-editorial-page .aa-news-index .hp-news-chip {min-height:clamp(190px,58vw,270px);}
  body.aa-editorial-page .aa-news-hero {min-height:clamp(310px,65svh,470px) !important;}
  body.aa-editorial-page .aa-news-tags {gap:6px;margin-top:15px;}
  body.aa-editorial-page .aa-news-tags span {padding:6px 9px;font-size:11px;}
  body.aa-editorial-page .aa-news-content h2 {font-size:1.45em;}
  body.aa-editorial-page .aa-news-content h3 {font-size:1.2em;}
  body.aa-editorial-page .aa-news-content :is(.aa-news-size--24,.aa-news-size--28,.aa-news-size--32) {
    font-size:clamp(20px,6vw,28px) !important;
  }
}
