/* ══════════════════════════════════════════════════════════
   NEWS + PERSPECTIVES
   ══════════════════════════════════════════════════════════ */
.news-hero{ height:auto; min-height:0 !important; padding:100px 0 0px !important; background:var(--ink-2); }
.news-hero-inner{ max-width:1180px; }
.news-hero-h{ max-width:960px; margin-block:24px 20px; font-size:clamp(48px,7vw,104px); }
.news-hero-sub{ max-width:720px; }
.news-signup{ padding:26px 28px; border:1px solid var(--line-2); border-radius:var(--r-lg); background:linear-gradient(140deg,var(--surface),var(--glass)); box-shadow:var(--sh-float); }
.news-signup h2{ margin:18px 0 24px; font:600 clamp(22px,2.4vw,32px)/1.08 var(--font-display); letter-spacing:-.04em; }
.news-signup label{ display:block; margin-bottom:8px; color:var(--fog-dim); font:11px/1.2 'JetBrains Mono',monospace; letter-spacing:.12em; text-transform:uppercase; }
.news-signup-row{ display:flex; gap:8px; }
.news-signup input{ min-width:0; width:100%; min-height:48px; border:1px solid var(--field-outline); border-radius:var(--r-sm); background:var(--fill); color:var(--paper); font:14px/1.2 Inter,sans-serif; padding:14px 16px; outline:none; transition:border-color .3s var(--ease),box-shadow .3s var(--ease),background .3s var(--ease); }
.news-signup input::placeholder{ color:var(--placeholder); opacity:1; }
.news-signup input:focus{ border-color:var(--focus-ring); box-shadow:none; }
.news-signup input:focus-visible{ outline:2px solid var(--focus-ring); outline-offset:2px; }
.news-signup .btn{ flex:0 0 auto; border:0; cursor:pointer; }
.news-form-note{ color:var(--fog-dim); font-size:11px; line-height:1.45; margin-top:12px; }
.news-list-section{ padding-block:clamp(72px,11vh,140px); }
/* Both controls are `.field` shells (see sections/date-range.css) — labels
   are visually hidden, icons lead. The toolbar only sets the track widths. */
/* position+z-index are load-bearing: GSAP puts a transform on .fade, which
   makes the toolbar a stacking context, so the calendar's own z-index only
   ranks it *within* the toolbar. Without this the cards paint over it. */
.news-toolbar{ position:relative; z-index:20; display:grid; grid-template-columns:minmax(0,2fr) minmax(250px,.85fr); align-items:center; gap:16px; margin-bottom:38px; direction:ltr; }
.news-toolbar > .field:first-child{ grid-column:1; }
.news-toolbar > .field:nth-child(2){ grid-column:2; }
.news-filters{ display:none; }
.news-filter{ border:1px solid var(--line-2); border-radius:999px; color:var(--fog); background:transparent; padding:10px 15px; font:12px/1.1 'JetBrains Mono',monospace; cursor:pointer; transition:color .3s var(--ease),background .3s var(--ease),border-color .3s var(--ease); }
.news-filter:hover,.news-filter.is-active{ color:var(--paper); border-color:var(--flame); background:var(--flame-dim); }
/* ── the editorial grid ──────────────────────────────────── */
/* The first row pairs one wide feature with one supporting card. Remaining
   stories flow into the rows below instead of stacking two cards alongside
   the feature. The 12-column system keeps the proportions responsive. */
.news-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-auto-rows:auto; gap:clamp(14px,1.7vw,24px); align-items:stretch; }
.news-card{ position:relative; display:flex; flex-direction:column; align-items:stretch; align-self:stretch; width:100%; min-width:0; height:100%; min-height:0; grid-column:span 4; overflow:hidden; border:1px solid var(--line-2); border-radius:var(--r-md); background:var(--ink-2); color:var(--paper); text-decoration:none; transition:border-color .4s var(--ease),background .4s var(--ease); }
.news-card-content{ position:relative; z-index:1; display:flex; flex:1 1 auto; min-width:0; flex-direction:column; align-items:flex-start; padding:26px 28px 28px; background:var(--surface); }
/* The image comes in as an inline `background-image`, NOT through a custom
   property. A relative url() inside a var() is resolved against the
   stylesheet that substitutes it, so --news-image:url('assets/…') was being
   fetched from /styles/sections/assets/… and 404ing on every image card —
   the --action overlay hid it, so the cards merely looked flat. */
.news-card-media{ position:relative; z-index:0; flex:0 0 auto; aspect-ratio:16/8; min-height:0; background-color:var(--fill-hi); background-position:center; background-size:cover; background-repeat:no-repeat; border-bottom:1px solid var(--line-2); }
.news-card--image .news-card-content{ color:var(--paper); }
.news-card--image .news-card-content p{ color:var(--paragraph); }
.news-card--feature.news-card--image .news-card-media{ aspect-ratio:16/8; }
/* The flame rule is the feature card's badge of rank. On all eight at once
   it read as eight separate banners and flattened the hierarchy. */
.news-card--feature::before,.news-card--invert::before{ content:""; position:absolute; inset:0 0 auto; height:4px; background:var(--flame); z-index:2; }
.news-card--feature::after{ content:""; position:absolute; inset:auto -18% -38% 38%; height:150px; border-radius:50%; background:var(--flame-dim); filter:blur(28px); opacity:.35; pointer-events:none; }

/* Slot widths preserve the editorial hierarchy across the responsive grid. */
.news-card--feature{ grid-column:span 8; }
.news-card--stack{ grid-column:span 4; }
.news-card--trio{ grid-column:span 4; }
.news-card--duo{ grid-column:span 6; }

.news-card:hover{ border-color:var(--flame); background:var(--fill); }

/* slot tones — the variability. Image cards opt out: they already carry the
   --action overlay and a second tone would fight it.
   These sit after :hover deliberately — a tinted card keeps its tone on
   hover and signals with the flame border instead. */
.news-card--tint:not(.news-card--image){ background:var(--fill-hi); }
.news-card--invert:not(.news-card--image){ background:var(--action); border-color:var(--ai-card-border); color:var(--ai-card-white); }
.news-card--invert:not(.news-card--image) p{ color:var(--ai-card-text); }
.news-card--invert:not(.news-card--image) .news-card-top{ color:var(--eyebrow); }
.news-card--invert:not(.news-card--image) .news-card-arrow{ color:var(--ai-card-white); }
.news-card--invert:not(.news-card--image):hover{ background:var(--ai-card-start); border-color:var(--flame); }
.news-card-top{ width:100%; display:flex; justify-content:space-between; gap:14px; color:var(--eyebrow); font:10px/1.2 'JetBrains Mono',monospace; letter-spacing:.11em; text-transform:uppercase; }
/* Type scales with the slot — that is most of what makes the grid read as
   an editorial page rather than a uniform card wall. */
.news-card h2{ position:relative; z-index:1; max-width:24ch; margin:14px 0 10px; font:600 clamp(19px,1.9vw,23px)/1.14 var(--font-display); letter-spacing:-.035em; text-wrap:balance; }
.news-card--feature h2{ max-width:17ch; margin-top:24px; font-size:clamp(30px,3.5vw,44px); line-height:1.03; letter-spacing:-.045em; }
.news-card--invert h2,.news-card--duo h2{ max-width:20ch; font-size:clamp(23px,2.5vw,31px); line-height:1.08; letter-spacing:-.04em; }
.news-card p{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; max-width:58ch; color:var(--paragraph); font-size:14px; line-height:1.6; }
.news-card--feature p{ -webkit-line-clamp:5; }
.news-card--stack p{ -webkit-line-clamp:3; }
.news-card-arrow{ margin-top:auto; padding-top:22px; color:var(--paper); font:600 13px/1.2 var(--font-display); }
/* currentColor, not --flame: at 18px/600 this is not "large text", so it
   needs 4.5:1, and flame manages 3.27:1 on the light card and 2.07:1 over
   the --action image overlay. It is decorative and aria-hidden, but it is
   still visible text — matching the label's colour is the honest fix. */
.news-card-arrow b{ color:currentColor; font:600 18px/1 var(--font-display); }
.news-empty{ padding:60px 0; color:var(--fog); }
.news-more{ display:flex; margin:38px auto 0; cursor:pointer; }
/* display:flex above outranks the UA's [hidden]{display:none}, so the
   button stayed on screen after the last batch loaded */
.news-more[hidden]{ display:none; }
.news-article-hero{ padding-top:clamp(130px,18vh,220px); padding-bottom:clamp(80px,12vh,150px); }
/* same inline-background-image contract as .news-card-media above */
.news-article-hero--image{ position:relative; isolation:isolate; background-color:var(--action); background-position:center; background-size:cover; background-repeat:no-repeat; color:var(--ai-card-white); }
.news-article-hero--image::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--action); opacity:.82; }
.news-article-hero-inner{ max-width:980px; }
.news-article-hero--image .news-back,
.news-article-hero--image p{ color:rgba(255,255,255,.88); }
.news-article-hero--image .eyebrow{ color:#FCD5B3; }
.news-article-meta .eyebrow{ display:flex; margin:0 0 22px; }
/* Image-backed insight pages keep the navigation readable while the rest of
   the article uses the light theme. */
body:has(.news-article-hero--image) #nav:not(.solid){ background:transparent; }
body:has(.news-article-hero--image) #nav:not(.solid) .nav-top{ color:rgba(255,255,255,.82); }
body:has(.news-article-hero--image) #nav:not(.solid) .nav-top:hover,
body:has(.news-article-hero--image) #nav:not(.solid) .has-menu.open > .nav-top{ color:#fff; }
body:has(.news-article-hero--image) #nav:not(.solid) .a-logo .lw path{ fill:#fff; }
body:has(.news-article-hero--image) #nav:not(.solid) .btn-ghost,
body:has(.news-article-hero--image) #nav:not(.solid) .icon-btn{ border-color:rgba(255,255,255,.32); color:#fff; }
body:has(.news-article-hero--image) #nav:not(.solid):not(.mobile-open) :where(a,button):focus-visible{ outline-color:#fff; }
.news-back{ display:inline-block; margin-bottom:clamp(60px,9vh,110px); color:var(--fog); text-decoration:none; }
.news-back:hover{ color:var(--accent-text); }
.news-article-hero h1{ max-width:1000px; margin-block:22px 28px; font-size:clamp(46px,7vw,100px); }
.news-article-meta h1{ margin-top:0; }
.news-article-hero p{ max-width:700px; }
.news-article-body{ display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:clamp(48px,10vw,160px); padding-block:clamp(80px,12vh,160px); }
.news-article-copy{ width:100%; max-width:720px; min-width:0; overflow-wrap:anywhere; word-break:normal; }
.news-article-copy > *{ max-width:100%; min-width:0; }
.news-article-copy > .container{ width:auto; max-width:100%; min-width:0; }
.news-article-copy :where(h1,h2,h3,h4,p,li,figcaption,code){ max-width:100%; overflow-wrap:anywhere; }
.news-article-copy :where(figure,img,svg,video,iframe){ max-width:100%; height:auto; }
.news-article-copy :where(figure,.wp-block-image,.wp-block-embed,.wp-block-media-text){ width:auto; min-width:0; margin-inline:0; }
.news-article-copy p{ margin-bottom:28px; }
.news-article-copy :where(h2,h3){ margin:48px 0 16px; font-family:var(--font-display); letter-spacing:-.035em; }
.news-article-body--single{ grid-template-columns:minmax(0,720px); }
/* plain article pages: title and body share one left edge and sit close together */
.news-article-page--plain .news-article-hero{ padding-bottom:clamp(28px,4vh,48px); }
.news-article-page--plain .news-article-body{ padding-top:0; }
/* editor-placed video and embeds keep a 16:9 frame instead of collapsing to the file's own size */
.news-article-copy :where(.wp-block-video,.wp-block-embed__wrapper){ margin-block:32px; }
.news-article-copy .wp-block-video video,
.news-article-copy .wp-block-embed iframe{ display:block; width:100%; aspect-ratio:16/9; height:auto; border:0; border-radius:var(--r-sm); background:var(--ink-2); }
/* Full-width blocks (Align > Full in the editor) run edge to edge. The reading
   column is capped per child instead of on the wrapper, so the wrapper spans
   the centred shell and 50% - 50vw lands exactly on the viewport edge. */
.news-article-page--plain{ overflow-x:clip; }
.news-article-page--plain .news-article-body--single{ grid-template-columns:minmax(0,1fr); }
.news-article-page--plain .news-article-copy{ max-width:none; }
.news-article-page--plain .news-article-copy > :not(.alignfull){ max-width:720px; }
.news-article-copy .alignfull{ width:100vw; max-width:100vw; margin-inline:calc(50% - 50vw); }
.news-article-copy .alignfull video,
.news-article-copy .alignfull iframe{ width:100%; max-height:90vh; border-radius:0; background:#000; }
.news-article-copy blockquote,.news-article-copy .wp-block-quote,.news-article-copy .wp-block-pullquote{ box-sizing:border-box; width:auto !important; max-width:100% !important; min-width:0; margin-inline:0; overflow-wrap:anywhere; }
.news-article-copy pre{ max-width:100%; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; }
.news-article-copy table{ display:block; width:100%; max-width:100%; overflow-x:auto; }
.news-article-copy ul,.news-article-copy ol{ max-width:100%; padding-inline-start:1.35em; }
.news-article-copy [style*="width"]:where(blockquote,.wp-block-quote,.wp-block-pullquote,figure){ width:auto !important; max-width:100% !important; }
.news-article-copy > .container > [style*="width"]{ width:auto !important; max-width:100% !important; min-width:0 !important; height:auto !important; min-height:0 !important; overflow-wrap:anywhere; color:var(--accent-text) !important; line-height:1.2 !important; }
.news-article-aside{ align-self:start; padding:24px; border:1px solid var(--line-2); border-radius:var(--r-md); background:var(--surface); }
.news-article-aside h2{ margin:18px 0 24px; font:600 26px/1.1 var(--font-display); letter-spacing:-.04em; }
@media (max-width:900px){
  .news-hero-message{ padding-inline:5%; }
  .news-signup{ max-width:620px; }
  .news-toolbar{ grid-template-columns:1fr; }
  .news-toolbar > .field:first-child,.news-toolbar > .field:nth-child(2){ grid-column:1; }
  /* two tracks, so the twelve-column spans have to be restated wholesale —
     a bare .news-card rule would lose to .news-card--feature above */
  .news-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .news-card,.news-card--feature,.news-card--stack,.news-card--trio,.news-card--duo{ grid-column:span 1; grid-row:auto; min-height:0; }
  .news-card--feature,.news-card--duo{ grid-column:1 / -1; }
  .news-article-body{ grid-template-columns:1fr; }
  .news-article-aside{ max-width:420px; }
}

.news-subscribe{ background:var(--ink-2); }
.news-subscribe .shell{ display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,520px); gap:clamp(32px,8vw,120px); align-items:start; }
.news-subscribe-copy h2{ max-width:12ch; margin:18px 0; }
.news-subscribe-form{ display:grid; gap:16px; }
.news-subscribe-form .field{ position:relative; }
.news-subscribe-form .field label{ display:block; margin-bottom:8px; }
.news-consent{ display:flex; gap:10px; align-items:flex-start; color:var(--paragraph); font-size:14px; line-height:1.5; }
.news-consent input{ flex:0 0 auto; margin-top:4px; accent-color:var(--flame); }
.news-privacy{ color:var(--fog); font-size:13px; }
@media (max-width:640px){
  .news-subscribe .shell{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .news-hero{ min-height:0; }
  .news-hero-message{ padding-inline:0; }
  .news-signup{ padding:22px; }
  .news-signup-row{ flex-direction:column; }
  .news-signup .btn{ width:100%; }
  .news-grid{ grid-template-columns:1fr; }
  .news-card,.news-card--feature,.news-card--stack,.news-card--trio,.news-card--duo{ grid-column:1; min-height:0; }
  .news-card-content{ padding:22px; }
  .news-card-media{ min-height:150px; }
  .news-card h2{ margin-top:28px; }
  .news-card-top{ flex-direction:column; gap:8px; }
  .news-article-hero h1{ font-size:clamp(42px,12vw,66px); }
}
