/*
Theme Name: 24World News
Theme URI: https://24worldmedia.com/
Author: 24World Media
Author URI: https://24worldmedia.com/
Description: Master news theme for the 24World Media network. Lee-style full-page geometry, mobile-first, one theme for every outlet — per-site branding lives entirely in the Customizer brand kit (colors, logo, site tagline, ad codes, module toggles and order), menus, widgets and categories. Includes a five-class byline/author system (Staff, Contributor, Wire, Desk, Sponsored) with E-E-A-T author-page index gating, blueprint sidebar and a CLS-safe ad-slot system.
Version: 1.2.46
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 24world-news
Tags: news, magazine, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ============================================================
   24World News — mobile-first. Desktop second. Original CSS
   implementing the network design dossier (no copied assets).
   ============================================================ */

:root{
  --twn-accent:#C8102E;
  --twn-secondary:#0A1E3C;
  --twn-navy-deep:#071630;
  --twn-ink:#131820;
  --twn-muted:#5B6472;
  --twn-line:#E3E7ED;
  --twn-paper:#FFFFFF;
  --twn-soft:#F5F7FA;
  --twn-serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --twn-sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --twn-radius:6px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--twn-paper);color:var(--twn-ink);
  font-family:var(--twn-sans);font-size:16px;line-height:1.55;
  overflow-x:hidden;overflow-x:clip;
}
/* Mobile sticky-ad clearance lives INSIDE the navy footer (see the
 * max-width:767px rule by .twn-mobilead below). Padding on <body> here
 * painted a 64px white band under the footer on every viewport —
 * v1.2.25 removed it; the footer must stay the last thing on the page. */
img{max-width:100%;height:auto}
a{color:var(--twn-secondary);text-decoration:none}
a:hover{text-decoration:underline}
.screen-reader-text{
  position:absolute!important;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;
}

/* Self-hosted display + UI type (Playfair Display / Inter, latin).
 * Self-hosting keeps the masthead serif identical on every host and
 * immune to CSS-combine pipelines dropping external stylesheets. */
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:700;font-display:swap;src:url("/wp-content/themes/24world-news/assets/fonts/playfair-700.woff2") format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:800;font-display:swap;src:url("/wp-content/themes/24world-news/assets/fonts/playfair-800.woff2") format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:900;font-display:swap;src:url("/wp-content/themes/24world-news/assets/fonts/playfair-900.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("/wp-content/themes/24world-news/assets/fonts/inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("/wp-content/themes/24world-news/assets/fonts/inter-600.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("/wp-content/themes/24world-news/assets/fonts/inter-700.woff2") format("woff2")}

.twn-wrap{max-width:1440px;margin:0 auto;padding:0 16px}
@media (min-width:768px){.twn-wrap{padding:0 20px}}

/* ---------- Utility bar ---------- */
.twn-utilbar{
  background:var(--twn-navy-deep);color:#D9E2F0;font-size:12.5px;
}
.twn-utilbar__in{
  display:flex;align-items:center;gap:18px;padding-top:5px;padding-bottom:5px;
  flex-wrap:wrap;
}
.twn-utilbar__date{font-weight:600;letter-spacing:.02em;color:#fff}
.twn-utilbar__chip strong{color:#fff}
.twn-utilbar__menu{
  display:flex;gap:14px;list-style:none;margin:0;padding:0;
}
.twn-utilbar__links{
  display:flex;gap:14px;list-style:none;margin:0 0 0 auto;padding:0;flex-wrap:wrap;
}
.twn-utilbar__links a{
  color:#fff;font-weight:700;display:inline-block;padding:6px 2px;
}
.twn-utilbar__menu a{color:#D9E2F0;display:inline-block;padding:6px 2px}
/* Round 3 contrast guards: utility + tagline text stays light on the
 * navy bands even if a stale partial stylesheet is served first. */
.twn-utilbar .twn-utilbar__links a,
.twn-utilbar .twn-utilbar__menu a{color:#EDF3FC}
.twn-masthead .twn-tagline{color:#fff}
@media (min-width:768px){.twn-utilbar__in{flex-wrap:nowrap}}
@media (max-width:480px){.twn-utilbar__chip{display:none}}

/* ---------- Masthead (full navy, red rule — SCNow-grade presence) ---------- */
.twn-masthead{
  position:relative;z-index:2;color:#fff;background-color:var(--twn-secondary);
  background:
    radial-gradient(880px 190px at 16% 50%, color-mix(in srgb, var(--twn-accent) 40%, transparent), transparent 70%),
    linear-gradient(100deg, var(--twn-navy-deep) 0%, var(--twn-secondary) 52%, color-mix(in srgb, var(--twn-secondary) 64%, var(--twn-accent)) 100%);
  border-bottom:4px solid var(--twn-accent);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.16), 0 2px 10px rgba(7,22,48,.18);
}
.twn-masthead__in{
  display:flex;align-items:center;gap:14px;padding-top:13px;padding-bottom:11px;
}
.twn-brand{min-width:0}
.twn-wordmark{
  font-family:var(--twn-serif);font-weight:900;letter-spacing:-.015em;
  font-size:clamp(30px,6vw,54px);line-height:1;color:#fff;
  text-transform:none;display:inline-block;
}
.twn-wordmark:hover{text-decoration:none}
.twn-wordmark--footer{font-size:30px;color:#fff}
.custom-logo{max-height:72px;width:auto}

/* Living mark — SCNow-class SEQUENCE on one shared 9s timeline
 * (owner, 2026-10-09 18:12 PKT): the LOGO moves first (3D settle +
 * sheen sweep), THEN the tagline comes in after it, both hold, and
 * the sequence softly resets so it runs again. Transform/opacity
 * only (zero layout shift), zero JS cost; reduced-motion opts out.
 * v1.2.15 (owner, 18:30 PKT — "logo abi move nhi ho rah 3d style
 * main"): amplitude raised so the motion is unmistakable at masthead
 * size — a deeper 3D entrance and a continuous gentle sway through
 * the hold, with a second sheen pass, instead of a one-off settle. */
@keyframes twn-logo-seq{
  0%{opacity:1;transform:perspective(560px) translateY(5px) scale(.94) rotateY(-30deg) rotateX(5deg)}
  28%{opacity:1;transform:perspective(560px) translateY(0) scale(1.012) rotateY(4deg) rotateX(-1deg)}
  46%{transform:perspective(560px) rotateY(-3deg) rotateX(1deg) scale(1)}
  66%{transform:perspective(560px) rotateY(3deg) scale(1.01)}
  84%{transform:perspective(560px) rotateY(-1.8deg) scale(1.004)}
  100%{opacity:1;transform:perspective(560px) translateY(0) scale(1) rotateY(0deg)}
}
.twn-logo-anim{
  display:inline-block;position:relative;overflow:hidden;border-radius:4px;
  animation:twn-logo-seq 9s cubic-bezier(.22,.8,.3,1) infinite;
  will-change:transform;backface-visibility:hidden;
}
.twn-logo-anim::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.38) 48%,transparent 62%);
  transform:translateX(-130%);
  animation:twn-logo-sheen 9s ease-in-out infinite;
}
@keyframes twn-logo-sheen{
  0%,10%{transform:translateX(-130%)}
  30%,54%{transform:translateX(130%)}
  56%{transform:translateX(-130%)}
  76%,100%{transform:translateX(130%)}
}
.twn-logo-anim:hover .custom-logo{transform:scale(1.02)}
.twn-logo-anim .custom-logo{
  transition:transform .35s ease;opacity:1!important;visibility:visible!important;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.35));
}
@media (prefers-reduced-motion:reduce){
  .twn-logo-anim{animation:none}
  .twn-logo-anim::after{display:none}
  .twn-logo-anim:hover .custom-logo{transform:none}
  .twn-tagline{animation:none}
  .twn-houseband::before{display:none}
  .twn-housead{animation:none}
}
.twn-tagline{
  margin:7px 0 0;font-size:13.5px;letter-spacing:.13em;text-transform:uppercase;
  color:#fff;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.55);
  /* Second act of the sequence: the line is readable from first paint,
   * then slides fully in only after the logo's 3D move settles. It never
   * fades to blank inside the loop, so the brand line cannot disappear. */
  animation:twn-tagline-seq 9s ease-in-out infinite;
}
@keyframes twn-tagline-seq{
  0%{opacity:1;transform:translateY(4px)}
  50%{opacity:1;transform:translateY(4px)}
  68%,100%{opacity:1;transform:translateY(0)}
}
.twn-masthead__actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.twn-btn,.twn-searchbtn,.twn-burger{
  font:inherit;cursor:pointer;border-radius:var(--twn-radius);
}
.twn-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  background:var(--twn-secondary);color:#fff;
  padding:10px 18px;font-weight:600;font-size:14px;border:0;
}
.twn-btn:hover{text-decoration:none;opacity:.92}
.twn-btn--accent{background:var(--twn-accent);color:#fff}
.twn-searchbtn,.twn-burger{
  background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff;
  width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;
  font-size:18px;
}
.twn-burger__bars,.twn-burger__bars::before,.twn-burger__bars::after{
  content:"";display:block;width:20px;height:2px;background:#fff;position:relative;
}
.twn-burger__bars::before{position:absolute;top:-6px}
.twn-burger__bars::after{position:absolute;top:6px}

.twn-searchbar{border-top:1px solid rgba(255,255,255,.16);padding:12px 0}
.search-form{display:flex;gap:8px}
.search-form label{flex:1}
.search-field{
  width:100%;padding:11px 14px;border:1px solid var(--twn-line);
  border-radius:var(--twn-radius);font:inherit;
}
.search-submit{
  background:var(--twn-accent);color:#fff;border:0;padding:0 20px;min-height:44px;
  border-radius:var(--twn-radius);font-weight:600;cursor:pointer;
}

/* ---------- Sticky section nav ---------- */
.twn-nav{
  position:sticky;top:0;z-index:60;background:var(--twn-navy-deep);
  border-top:1px solid rgba(255,255,255,.08);
}
.twn-nav__menu{
  display:none;list-style:none;margin:0;padding:0;
}
.twn-nav--open .twn-nav__menu{display:block}
.twn-nav__menu li{border-top:1px solid rgba(255,255,255,.12)}
.twn-nav__menu a{
  display:block;color:#fff;padding:12px 4px;font-weight:600;font-size:15px;
}
.twn-nav__menu a:hover{text-decoration:none;background:rgba(255,255,255,.08)}
@media (min-width:900px){
  .twn-burger{display:none}
  .twn-nav__menu{display:flex;flex-wrap:wrap;gap:2px}
  .twn-nav__menu li{border-top:0}
  .twn-nav__menu a{padding:12px 14px}
  .twn-nav__menu .sub-menu{
    display:none;position:absolute;background:var(--twn-secondary);
    list-style:none;margin:0;padding:6px 0;min-width:200px;
    box-shadow:0 12px 24px rgba(0,0,0,.25);z-index:70;
  }
  .twn-nav__menu li{position:relative}
  .twn-nav__menu li:hover .sub-menu,.twn-nav__menu li:focus-within .sub-menu{display:block}
}

/* ---------- Breaking bar ---------- */
.twn-breaking{background:var(--twn-accent);color:#fff}
.twn-breaking__in{display:flex;align-items:center;gap:12px;padding-top:8px;padding-bottom:8px;min-width:0}
.twn-breaking__pill{
  background:#fff;color:var(--twn-accent);font-weight:800;font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;padding:3px 8px;border-radius:3px;
}
.twn-breaking__text{color:#fff;font-weight:600;font-size:14.5px;min-width:0}

/* ---------- Ad slots (reserved boxes: CLS-safe; empty renders nothing) ---------- */
.twn-ad{
  position:relative;display:flex;align-items:center;justify-content:center;
  overflow:hidden;background:var(--twn-soft);margin:14px auto;text-align:center;
}
/* Owner law (2026-10-09): a slot with no real creative in it takes
 * literally zero space — no reserved band, ever. */
.twn-ad:empty{display:none!important}
.twn-ad__label{
  position:absolute;top:4px;left:8px;font-size:9.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--twn-muted);pointer-events:none;
}
/* Speed round 3 (v1.2.32): reserve the header creative's box. The slot's
 * 970x250 creative arrives through the lazy pipeline; with min-height:0 the
 * slot stood collapsed until the creative landed, then shoved the masthead
 * and everything below it down by the full 250px (measured CLS 0.12-0.71
 * on the original outlets, exactly one +250px shift). Reserving the box
 * (970/250 aspect, fluid on small screens) costs nothing visually — the
 * loaded creative occupies the same pixels — and an unconfigured slot
 * still collapses via :empty above. */
.twn-ad--header{max-width:970px;width:100%;aspect-ratio:970/250;min-height:0;margin-top:10px;margin-bottom:0}
.twn-ad--header>a{display:block;width:100%;line-height:0}
.twn-ad--header img{display:block;width:100%;height:auto}
.twn-ad--sidebar_top{max-width:300px;min-height:0;margin:0 auto 18px}
.twn-ad--sidebar_sticky{max-width:300px;min-height:0;margin:0 auto 18px}
.twn-ad--in_article{max-width:336px;min-height:0;margin:22px auto}
.twn-ad--in_feed{max-width:100%;min-height:0;margin:0}
.twn-ad--footer{max-width:970px;min-height:0}
.twn-ad--mobile_sticky{min-height:0;margin:0;max-width:320px;background:transparent}
.twn-mobilead{
  position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;
  justify-content:center;background:rgba(255,255,255,.97);
  border-top:1px solid var(--twn-line);padding:6px 40px 6px 8px;
}
.twn-mobilead__close{
  position:absolute;right:2px;top:50%;transform:translateY(-50%);
  background:transparent;border:0;font-size:22px;line-height:1;cursor:pointer;
  color:var(--twn-muted);width:44px;height:44px;padding:0;
  display:flex;align-items:center;justify-content:center;
}
@media (min-width:768px){.twn-mobilead{display:none}}
/* Keep the fixed mobile bar from covering the legal line by extending
 * the navy footer itself — never body padding (white band defect). */
@media (max-width:767px){body.twn-has-mobile-ad .twn-footer{padding-bottom:64px}}

/* ---------- Layout ---------- */
.twn-layout{display:grid;grid-template-columns:1fr;gap:28px;margin:22px auto 34px}
/* Grid/flex items default to min-width:auto, so one unbreakable
 * min-content row (a long headline in a list card) can force the
 * whole column ~5px past a phone viewport (measured 390px: main
 * column 379px inside a 358px wrap, sideways scroll on every
 * mobile homepage). Zero the floor so columns can always shrink
 * to the track; card bodies get the same guard the fronts use. */
.twn-layout__main,.twn-layout__sidebar{min-width:0}
.twn-card__body{min-width:0}
@media (min-width:1024px){
  .twn-layout{grid-template-columns:minmax(0,1fr) 320px;gap:36px}
}
.twn-section{margin:0 0 22px}
.twn-section__title{
  font-family:var(--twn-serif);font-weight:800;font-size:20px;line-height:1.2;
  margin:0 0 14px;padding-bottom:8px;border-bottom:3px solid var(--twn-secondary);
  display:flex;align-items:center;gap:10px;color:var(--twn-secondary);
}
.twn-section__title::before{
  content:"";width:5px;height:20px;border-radius:2px;background:var(--twn-accent);flex:none;
}
/* Most Popular: dark navy band — the mid-page colour anchor. */
.twn-section--popular{
  background:var(--twn-secondary);border-radius:var(--twn-radius);
  padding:20px 22px 10px;border-top:4px solid var(--twn-accent);
}
.twn-section--popular .twn-section__title{color:#fff;border-bottom-color:rgba(255,255,255,.25)}
.twn-section--popular .twn-popular__link{color:#fff}
.twn-section--popular .twn-popular__item{border-bottom-color:rgba(255,255,255,.16)}
.twn-section--popular .twn-popular__num{color:#FF7A8F}

/* ---------- Cards ---------- */
.twn-card{display:flex;flex-direction:column;gap:8px;min-width:0}
.twn-card__media{
  display:block;position:relative;aspect-ratio:16/9;overflow:hidden;
  background:var(--twn-secondary);border-radius:4px;
}
.twn-card__media .twn-thumb{
  position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;
}
.twn-catfront__lead,.twn-catfront__list{min-width:0}
.twn-thumb{
  display:block;width:100%;aspect-ratio:16/9;object-fit:cover;
  background:var(--twn-secondary);border-radius:4px;
}
/* A failed image (dead URL, missing size) collapses into the branded
   placeholder box: the media frame holds its ratio, the broken img is
   hidden by JS, and the gradient + accent bar read as intentional. */
.twn-media--failed{
  background:linear-gradient(135deg,var(--twn-secondary),#16355F)!important;
}
.twn-media--failed::after{
  content:"";position:absolute;left:50%;top:50%;width:34px;height:3px;
  background:var(--twn-accent);border-radius:2px;transform:translate(-50%,-50%);
}
.twn-thumb--placeholder{
  display:flex;align-items:center;justify-content:center;color:#D9E2F0;
  background:linear-gradient(135deg,var(--twn-secondary),#16355F);
  font-family:var(--twn-serif);font-weight:700;font-size:15px;letter-spacing:.05em;
  text-transform:uppercase;padding:12px;text-align:center;
}
.twn-thumb--placeholder span::after{
  content:"";display:block;width:34px;height:3px;background:var(--twn-accent);
  margin:9px auto 0;border-radius:2px;
}
.twn-card__body{display:flex;flex-direction:column;gap:6px}
.twn-eyebrow{
  align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:#fff;
  background:var(--twn-cat,var(--twn-accent));padding:3px 9px;border-radius:3px;
}
.twn-eyebrow:hover{text-decoration:none;opacity:.92}
.twn-eyebrow--sponsored{
  background:var(--twn-accent);color:#fff;padding:3px 9px;border-radius:3px;
}
.twn-card__title{
  font-family:var(--twn-serif);font-weight:700;font-size:19px;line-height:1.25;margin:0;
}
.twn-card__title a{color:var(--twn-ink);overflow-wrap:anywhere}
.twn-card__title a:hover{color:var(--twn-secondary);text-decoration:none}
.twn-card__byline{font-weight:600;color:var(--twn-secondary)}
.twn-card__byline a{color:var(--twn-secondary)}
.twn-card--lead{border-bottom:1px solid var(--twn-line);padding-bottom:18px}
.twn-card--lead .twn-card__title{font-size:clamp(26px,4.4vw,40px);line-height:1.12;font-weight:800}
.twn-card__dek{margin:0;color:var(--twn-muted);font-size:15.5px}
.twn-card__meta{
  margin:0;display:flex;gap:6px;align-items:center;color:var(--twn-muted);font-size:12.5px;
}
.twn-hero{background:var(--twn-soft);border-bottom:1px solid var(--twn-line)}
.twn-hero__grid{display:grid;gap:20px;margin:0 auto;padding-top:14px;padding-bottom:6px}
.twn-hero__secondary{display:grid;gap:16px}
@media (min-width:900px){
  .twn-hero__grid{grid-template-columns:1.6fr 1fr}
  .twn-hero__secondary{grid-template-columns:1fr 1fr;align-content:start}
}
.twn-grid{display:grid;gap:20px}
@media (min-width:640px){.twn-grid--2,.twn-grid--3,.twn-grid--4{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){
  .twn-grid--3{grid-template-columns:repeat(3,1fr)}
  .twn-grid--4{grid-template-columns:repeat(4,1fr)}
}
.twn-river{display:flex;flex-direction:column}
.twn-card--list{
  flex-direction:row;gap:14px;padding:10px 0;border-bottom:1px solid var(--twn-line);
}
.twn-card--list .twn-card__media{flex:0 0 34%;max-width:210px}
.twn-card--list .twn-card__title{font-size:17px}
@media (max-width:520px){
  .twn-card--list .twn-card__media{flex-basis:32%}
  .twn-card--list .twn-card__title{font-size:15.5px}
}

/* ---------- Chips / topics ---------- */
.twn-chips,.twn-topics,.twn-tags{
  display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;
}
.twn-chips a,.twn-chips span,.twn-topics a,.twn-tags a{
  display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--twn-line);
  border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:600;
  color:var(--twn-secondary);background:var(--twn-soft);
}
.twn-chips a:hover,.twn-topics a:hover,.twn-tags a:hover{
  border-color:var(--twn-accent);color:var(--twn-accent);text-decoration:none;
}

/* ---------- Newsletter band ---------- */
.twn-newsband{
  background:var(--twn-secondary);color:#fff;border-radius:var(--twn-radius);
  border-top:4px solid var(--twn-accent);
  padding:20px 22px;margin:0 0 22px;text-align:center;
}
.twn-newsband__title{font-family:var(--twn-serif);font-size:23px;margin:0 0 6px}
.twn-newsband__text{margin:0 0 16px;color:#C9D6EA}
.twn-newsletter__form{display:flex;gap:8px}
.twn-newsletter__form input[type="email"]{
  flex:1;min-width:0;padding:11px 13px;border:1px solid var(--twn-line);
  border-radius:var(--twn-radius);font:inherit;background:#fff;
}
.twn-newsletter__form button{
  background:var(--twn-accent);color:#fff;border:0;padding:0 18px;
  border-radius:var(--twn-radius);font-weight:700;cursor:pointer;min-height:44px;
}
.twn-newsletter__form--band{max-width:520px;margin:0 auto}

/* ---------- Breadcrumbs / section heads ---------- */
.twn-breadcrumbs{font-size:12.5px;color:var(--twn-muted);margin:18px 0 6px}
.twn-breadcrumbs a{color:var(--twn-muted);font-weight:600}
.twn-sectionhead{
  background:var(--twn-secondary);color:#fff;margin:14px 0 10px;
  border-left:6px solid var(--twn-cat,var(--twn-accent));
  border-radius:var(--twn-radius);padding:20px 22px;
}
.twn-sectionhead__title{
  font-family:var(--twn-serif);font-weight:900;font-size:clamp(28px,5vw,42px);
  line-height:1.1;margin:0 0 8px;color:#fff;
}
.twn-sectionhead__intro{color:#C9D6EA;max-width:70ch;margin:0 0 10px}
.twn-sectionhead__intro p{margin:0}
.twn-sectionhead__edited{color:#C9D6EA;font-size:13.5px;margin:0 0 4px}
.twn-sectionhead__edited a{color:#fff;font-weight:700}
.twn-sectionhead .twn-chips{margin-top:10px}
.twn-sectionhead .twn-chips a,.twn-sectionhead .twn-chips span{
  background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.3);color:#fff;
}
.twn-sectionhead .search-form{margin-top:8px}

/* ---------- Pagination ---------- */
.twn-pagination ul{
  display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:22px 0 0;padding:0;
}
.twn-pagination a,.twn-pagination span{
  display:inline-flex;align-items:center;justify-content:center;min-width:44px;
  min-height:44px;text-align:center;padding:10px 11px;
  border:1px solid var(--twn-line);border-radius:4px;font-weight:600;font-size:14px;
  color:var(--twn-secondary);background:#fff;
}
.twn-pagination .current{background:var(--twn-secondary);color:#fff;border-color:var(--twn-secondary)}

/* ---------- Sidebar ---------- */
.twn-sidebar{min-width:0}
.twn-widget{margin:0 0 22px}
.twn-widget__title{
  font-family:var(--twn-serif);font-weight:800;font-size:16.5px;margin:0 0 12px;
  padding-bottom:7px;border-bottom:3px solid var(--twn-ink);
}
.twn-sidebar__sticky{
  position:static;
}
@media (min-width:1024px){
  .twn-sidebar__sticky{position:sticky;top:64px}
}
.twn-popular{list-style:none;margin:0;padding:0;counter-reset:pop}
.twn-popular__item{
  display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--twn-line);
  align-items:baseline;
}
.twn-popular__num{
  font-family:var(--twn-serif);font-weight:900;font-size:26px;line-height:1;
  color:var(--twn-accent);min-width:26px;
}
.twn-popular__link{font-weight:600;color:var(--twn-ink);font-size:15px;overflow-wrap:anywhere}
.twn-latest{list-style:none;margin:0;padding:0}
.twn-latest__item{padding:9px 0;border-bottom:1px solid var(--twn-line)}
.twn-latest__item a{font-weight:600;color:var(--twn-ink);display:block;font-size:15px;overflow-wrap:anywhere;padding:4px 0}
.twn-latest__time{font-size:12px;color:var(--twn-muted)}
.twn-cats{list-style:none;margin:0;padding:0}
.twn-cats li{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 0;border-bottom:1px solid var(--twn-line);
}
.twn-cats a{font-weight:600;color:var(--twn-ink)}
.twn-cats__count{font-size:12px;color:var(--twn-muted);background:var(--twn-soft);
  border-radius:999px;padding:1px 9px}
.twn-data{font-size:14px}
.twn-newsletter__text{color:var(--twn-muted);font-size:14px;margin:0 0 10px}

/* ---------- Article ---------- */
.twn-article{min-width:0}
.twn-kicker{margin:6px 0 10px}
.twn-kicker a{
  font-size:12.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:#fff;background:var(--twn-cat,var(--twn-accent));
  display:inline-block;padding:4px 11px;border-radius:3px;
}
.twn-kicker a:hover{text-decoration:none;opacity:.92}
.twn-article__paidlabel{
  display:inline-block;background:var(--twn-accent);color:#fff;font-weight:800;
  font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;
  padding:4px 10px;border-radius:3px;margin:6px 0 10px;
}
.twn-article--sponsored{border-top:4px solid var(--twn-accent);padding-top:12px}
.twn-article__title{
  font-family:var(--twn-serif);font-weight:800;letter-spacing:-.01em;
  font-size:clamp(27px,5vw,42px);line-height:1.14;margin:0 0 12px;
}
.twn-article__standfirst{
  font-size:18.5px;line-height:1.5;color:#37404D;margin:0 0 18px;
}
.twn-byline{
  display:flex;flex-direction:column;gap:10px;
  border-top:1px solid var(--twn-line);border-bottom:1px solid var(--twn-line);
  padding:14px 0;margin:0 0 20px;
}
@media (min-width:768px){
  .twn-byline{flex-direction:row;justify-content:space-between;align-items:flex-start}
}
.twn-byline__people{display:flex;flex-wrap:wrap;gap:16px}
.twn-byline__person{display:flex;gap:10px;align-items:center}
.twn-byline__avatar{border-radius:50%;width:44px;height:44px;object-fit:cover}
.twn-byline__name{font-weight:700;font-size:15px;display:block}
.twn-byline__role{display:block;font-weight:500;color:var(--twn-muted);font-size:13px}
.twn-byline__meta{color:var(--twn-muted);font-size:13px;display:flex;flex-wrap:wrap;gap:12px}
.twn-badge{
  display:inline-block;background:var(--twn-secondary);color:#fff;font-size:10.5px;
  font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:2px 7px;border-radius:3px;vertical-align:middle;margin-left:6px;
}
.twn-badge--sponsored{background:var(--twn-accent)}
.twn-share{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 18px;font-size:13.5px}
.twn-share__label{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11.5px;color:var(--twn-muted)}
.twn-share a,.twn-share__copy{
  font-weight:600;font:inherit;font-size:13.5px;cursor:pointer;color:var(--twn-secondary);
  display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;
  border:1px solid var(--twn-line);border-radius:999px;background:#fff;
}
.twn-share a:hover,.twn-share__copy:hover{text-decoration:none;border-color:var(--twn-accent);color:var(--twn-accent)}
.twn-hero-media{margin:0 0 24px}
.twn-hero-media img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}
.twn-hero-media figcaption{font-size:12.5px;color:var(--twn-muted);margin-top:7px}
.twn-hero-media__credit{margin-left:8px;font-style:italic}
.twn-article__body{font-size:17.5px;line-height:1.72;max-width:72ch}
.twn-article__body p{margin:0 0 1.15em}
.twn-article__body h2{
  font-family:var(--twn-serif);font-size:24px;line-height:1.25;margin:1.4em 0 .55em;
}
.twn-article__body h3{font-family:var(--twn-serif);font-size:20px;margin:1.3em 0 .5em}
.twn-article__body blockquote{
  margin:1.4em 0;padding:4px 0 4px 18px;border-left:4px solid var(--twn-accent);
  font-family:var(--twn-serif);font-size:21px;line-height:1.4;color:var(--twn-secondary);
}
.twn-article__body a{text-decoration:underline}
.twn-article__tags{margin:24px 0}
.twn-related,.twn-morefrom{margin:30px 0 0}
.twn-readalso{
  border-left:4px solid var(--twn-accent);background:var(--twn-soft);
  padding:12px 16px;margin:1.4em 0;max-width:72ch;
}
.twn-readalso__label{
  display:block;font-size:11px;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;color:var(--twn-accent);margin-bottom:2px;
}
.twn-readalso a{
  font-family:var(--twn-serif);font-weight:700;font-size:17.5px;
  color:var(--twn-ink);text-decoration:none;
}
.twn-readalso a:hover{color:var(--twn-secondary);text-decoration:underline}
.twn-dateline{
  font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--twn-ink);
}

/* ---------- Author box / author page ---------- */
.twn-authorbox{
  display:flex;gap:16px;background:var(--twn-soft);border:1px solid var(--twn-line);
  border-radius:var(--twn-radius);padding:18px;margin:28px 0;max-width:72ch;
}
.twn-authorbox--sponsored{border-color:var(--twn-accent)}
.twn-authorbox__avatar{border-radius:50%;width:72px;height:72px;object-fit:cover;flex:none}
.twn-authorbox__about{
  margin:0;font-size:11.5px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--twn-muted);
}
.twn-authorbox__name{font-family:var(--twn-serif);font-size:19px;margin:2px 0}
.twn-authorbox__role{margin:0;color:var(--twn-muted);font-size:13.5px}
.twn-authorbox__bio{margin:8px 0;font-size:14.5px}
.twn-authorbox__heading{font-family:var(--twn-serif);margin:0 0 6px;font-size:17px}
.twn-socials{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:10px 0 0;padding:0}
.twn-socials a{font-size:13px;font-weight:700;color:var(--twn-secondary);display:inline-flex;align-items:center;gap:7px}
.twn-socials a svg{width:16px;height:16px;fill:currentColor;flex:none}
.twn-card__credit{font-size:11px;color:var(--twn-muted);margin:2px 0 0}
.twn-authorbox__follow{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0 0}
.twn-authorbox__more{font-weight:700;font-size:14px}
.twn-authorrecent{margin:30px 0 0;max-width:72ch}
.twn-authorhead{
  display:flex;gap:20px;flex-wrap:wrap;background:var(--twn-soft);
  border:1px solid var(--twn-line);border-radius:var(--twn-radius);
  padding:22px;margin:16px 0 26px;
}
.twn-authorhead__avatar{border-radius:50%;width:120px;height:120px;object-fit:cover}
.twn-authorhead__name{font-family:var(--twn-serif);font-size:30px;margin:0}
.twn-authorhead__role{color:var(--twn-muted);font-weight:600;margin:4px 0 10px}
.twn-authorhead__bio{max-width:65ch}
.twn-authorhead__main{min-width:min(520px,100%)}
.twn-authorhead__follow{margin:14px 0 0}

/* ---------- Footer ---------- */
.twn-footer{
  background:var(--twn-secondary);color:#C9D6EA;margin-top:10px;
  border-top:4px solid var(--twn-accent);
}
.twn-footer__in{
  display:grid;gap:26px;padding-top:30px;padding-bottom:24px;
}
@media (min-width:768px){
  .twn-footer__in{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));align-items:start}
  .twn-footer__brand{grid-column:1;grid-row:1}
  .twn-footer__col--sections{grid-column:2;grid-row:1}
  .twn-footer__col--company{grid-column:3;grid-row:1}
  .twn-footer__network{grid-column:4;grid-row:1}
}
.twn-footer__brand,.twn-footer__col,.twn-footer__network{min-width:0}
.twn-footer__brand .custom-logo{max-width:min(100%,280px);height:auto}
.twn-footer .twn-widget__title{border-color:#fff;color:#fff}
.twn-footer__about{font-size:14px;max-width:46ch}
.twn-footer__menu{list-style:none;margin:0;padding:0}
.twn-footer__menu li{padding:1px 0}
.twn-footer__menu a{color:#C9D6EA;font-weight:600;font-size:14.5px;display:inline-block;padding:8px 0}
.twn-socials--footer{gap:10px;flex-wrap:nowrap;margin:16px 0 0}
.twn-socials--footer .twn-socials__item{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border:1px solid rgba(255,255,255,.35);
  border-radius:999px;background:rgba(255,255,255,.08);color:#fff;
  text-decoration:none;flex:none;
}
.twn-socials--footer .twn-socials__item svg{width:18px;height:18px}
/* Footer social hover (v1.2.42, owner order 2026-10-10 01:04 PKT):
   brand-colour fill + gentle lift on hover AND keyboard focus-visible.
   Icons stay inert until the owner supplies real profile URLs — the
   effect is purely visual, no link is invented. */
.twn-socials--footer .twn-socials__item{
  cursor:pointer;
  transition:background-color .25s ease,transform .25s ease,box-shadow .25s ease,opacity .25s ease;
}
.twn-socials--footer .twn-socials__item:hover,
.twn-socials--footer .twn-socials__item:focus-visible{
  transform:translateY(-2px) scale(1.1);color:#fff;text-decoration:none;outline:none;
}
.twn-socials--footer .twn-socials__item--facebook:hover,
.twn-socials--footer .twn-socials__item--facebook:focus-visible{background:#1877F2;border-color:#1877F2}
.twn-socials--footer .twn-socials__item--twitter:hover,
.twn-socials--footer .twn-socials__item--twitter:focus-visible{background:#000;border-color:#000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.twn-socials--footer .twn-socials__item--instagram:hover,
.twn-socials--footer .twn-socials__item--instagram:focus-visible{background:linear-gradient(45deg,#FEDA75,#FA7E1E,#D62976,#962FBF,#4F5BD5);border-color:transparent}
.twn-socials--footer .twn-socials__item--youtube:hover,
.twn-socials--footer .twn-socials__item--youtube:focus-visible{background:#FF0000;border-color:#FF0000}
.twn-socials--footer .twn-socials__item--linkedin:hover,
.twn-socials--footer .twn-socials__item--linkedin:focus-visible{background:#0A66C2;border-color:#0A66C2}
.twn-socials--footer .twn-socials__item--unlinked{opacity:.58}
.twn-socials--footer .twn-socials__item--unlinked:hover,
.twn-socials--footer .twn-socials__item--unlinked:focus-visible{opacity:1}
.twn-footer__legal{background:#0a0f1c;border-top:1px solid rgba(255,255,255,.14)}
.twn-footer__legal-in{
  display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:12px;padding-bottom:14px;
  font-size:12.5px;
}
.twn-footer__legal-in a{color:#C9D6EA;font-weight:600}
@media (min-width:768px) and (max-width:1023px){
  .twn-footer__in{gap:18px}
  .twn-footer__about{font-size:13.5px}
  .twn-footer__menu a{font-size:13.5px}
  .twn-socials--footer{gap:6px}
  .twn-socials--footer .twn-socials__item{width:32px;height:32px}
}

/* ---------- Misc pages ---------- */
.twn-notfound__code{
  font-family:var(--twn-serif);font-weight:900;font-size:84px;line-height:1;
  color:var(--twn-accent);margin:10px 0 4px;
}
.twn-empty{background:var(--twn-soft);border:1px solid var(--twn-line);
  border-radius:var(--twn-radius);padding:22px}
.twn-network__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
@media (min-width:640px){.twn-network__list{grid-template-columns:1fr 1fr}}
.twn-network__list a{font-weight:700;font-family:var(--twn-serif)}
.twn-comments{margin-top:34px;max-width:72ch}
.twn-comments__list{list-style:none;margin:0;padding:0}
.twn-comments .comment{padding:14px 0;border-bottom:1px solid var(--twn-line)}
.twn-comments .comment-author .avatar{border-radius:50%;vertical-align:middle;margin-right:8px}
.twn-comments .comment-reply-link{font-weight:700;font-size:13px}
.comment-respond{margin-top:22px}
.comment-form input[type="text"],.comment-form input[type="email"],
.comment-form input[type="url"],.comment-form textarea{
  width:100%;padding:10px 12px;border:1px solid var(--twn-line);
  border-radius:var(--twn-radius);font:inherit;
}
.comment-form .submit{
  background:var(--twn-secondary);color:#fff;border:0;padding:11px 20px;
  border-radius:var(--twn-radius);font-weight:700;cursor:pointer;min-height:44px;
}

/* Newsletter form states + honeypot */
.twn-form-note{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--twn-muted)}
.twn-newsband .twn-form-note{color:#C9D6EA}
.twn-newsletter .twn-form-note--err{color:#B00020}
.twn-newsband .twn-form-note--err{color:#FF9DB0}
.twn-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* The 600px rail box is dead weight below the fold on phones. */
@media (max-width:1023px){.twn-ad--sidebar_sticky{display:none}}

/* Tap targets + focus visibility */
a,button,input[type="submit"]{touch-action:manipulation}
:focus-visible{outline:2px solid var(--twn-accent);outline-offset:2px}

/* ---------- Round 3: category section fronts + video front ---------- */
.twn-catfront{
  padding:18px 0 2px;
  background:var(--twn-soft);
  background:color-mix(in srgb,var(--twn-cat,var(--twn-accent)) 5%,#fff);
}
.twn-catfront--pooled{background:var(--twn-soft)}
.twn-catfront__head{
  display:flex;align-items:baseline;gap:10px 14px;flex-wrap:wrap;
  border-top:4px solid var(--twn-cat,var(--twn-accent));
  padding-top:10px;margin:0 0 10px;
}
.twn-catfront__title{
  font-family:var(--twn-serif);font-weight:900;min-width:0;
  font-size:clamp(22px,3vw,30px);line-height:1.05;color:var(--twn-ink);margin:0;
}
.twn-catfront__title a{color:inherit}
.twn-catfront__title a:hover{color:var(--twn-cat,var(--twn-accent));text-decoration:none}
.twn-catfront__more{
  margin-left:auto;font-weight:700;font-size:13px;white-space:nowrap;
  text-transform:uppercase;letter-spacing:.06em;
  color:var(--twn-cat,var(--twn-accent));
}
.twn-catfront__grid{display:grid;gap:16px}
@media (min-width:900px){
  .twn-catfront__grid{grid-template-columns:1.05fr 1fr;align-items:start}
  /* Lead-only front (defensive): one story spans the band as a
   * horizontal feature instead of floating in a half-empty grid. */
  .twn-catfront__grid--solo{grid-template-columns:1fr}
  .twn-catfront__grid--solo .twn-catfront__lead .twn-card{flex-direction:row;gap:18px}
  .twn-catfront__grid--solo .twn-card__media{flex:0 0 46%}
  .twn-catfront__grid--solo .twn-card__body{flex:1;min-width:0}
}
.twn-catfront__list{display:flex;flex-direction:column}
.twn-videofront{
  background:var(--twn-navy-deep);color:#fff;margin:28px 0 0;padding:20px 0 22px;
}
.twn-videofront .twn-catfront__head{border-top-color:var(--twn-accent)}
.twn-videofront .twn-catfront__title{color:#fff}
.twn-videofront .twn-catfront__title a:hover{color:#FFD9DE}
.twn-videofront .twn-catfront__more{color:#FF8FA0}
.twn-videofront__grid{display:grid;gap:18px}
@media (min-width:700px){.twn-videofront__grid{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.twn-videofront__grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
.twn-videocard{margin:0}
.twn-videocard__media{
  position:relative;display:block;border-radius:var(--twn-radius);
  overflow:hidden;background:#0B1526;aspect-ratio:16/9;
}
.twn-videocard__media img{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  aspect-ratio:auto;object-fit:cover;
}
.twn-play{
  position:absolute;left:12px;bottom:12px;width:44px;height:44px;
  border-radius:50%;background:var(--twn-accent);
  box-shadow:0 2px 10px rgba(0,0,0,.45);
}
.twn-play::after{
  content:"";position:absolute;top:50%;left:54%;transform:translate(-50%,-50%);
  border-style:solid;border-width:8px 0 8px 13px;
  border-color:transparent transparent transparent #fff;
}
.twn-videocard__title{
  font-family:var(--twn-serif);font-weight:700;font-size:17px;
  line-height:1.25;margin:10px 0 4px;
}
.twn-videocard__title a{color:#fff}
.twn-videocard__meta{font-size:12px;color:#9FB4D8;margin:0}
/* Second video section: latest/more videos list, fully dynamic. */
.twn-videomore{background:#fff;padding:20px 0 6px}
.twn-videomore__grid{display:grid;grid-template-columns:1fr;gap:2px 28px}
@media (min-width:760px){.twn-videomore__grid{grid-template-columns:1fr 1fr}}
.twn-ad--pre_headline{max-width:728px;min-height:0;margin:0 0 18px}

/* ---------- Round 4: designed house banner ----------
 * Runs in the header + footer leaderboards until real ad/affiliate
 * code is pasted (Customizer -> Ad Slots; one-field swap). Clean
 * branded composition: signal motif, serif network lockup with
 * eyebrow + factual line, CTA with the sister-wire credit, and an
 * oversized watermark on the billboard. Geometries step
 * 970x250 -> 728x90 -> 320x50 with the slot heights. Motion is
 * refined on purpose: one calm sheen pass and a load assembly —
 * no rotating text, nothing gimmicky. Pure CSS (zero requests),
 * transform/opacity only, reduced-motion static. */
.twn-houseband{
  position:relative;overflow:hidden;
  background:linear-gradient(100deg,var(--twn-navy-deep) 0%,var(--twn-secondary) 58%,#14355F 100%);
  border-bottom:3px solid var(--twn-accent);
}
.twn-houseband--footer{border-bottom:0;border-top:3px solid var(--twn-accent)}
.twn-houseband::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 34%,rgba(255,255,255,.07) 48%,transparent 62%);
  transform:translateX(-120%);
  animation:twn-house-sheen 9s ease-in-out 1.2s infinite;
}
@keyframes twn-house-sheen{
  0%{transform:translateX(-120%)}
  20%{transform:translateX(120%)}
  100%{transform:translateX(120%)}
}
.twn-housead{background:transparent;margin:0 auto;color:#fff;animation:twn-logo-in .6s cubic-bezier(.22,.8,.3,1) both}
.twn-housead{min-height:60px}
@media (min-width:640px){.twn-housead{min-height:90px}}
@media (min-width:1100px){.twn-housead{min-height:250px}}
.twn-housead .twn-ad__label{color:#8FA6C9}
.twn-housead__wm{
  position:absolute;right:2%;top:50%;transform:translateY(-50%);
  font-family:var(--twn-serif);font-weight:900;font-size:190px;line-height:1;
  color:rgba(255,255,255,.045);pointer-events:none;user-select:none;
}
.twn-housead__in{
  position:relative;display:flex;align-items:center;gap:10px;
  width:100%;min-height:inherit;padding:4px 8px;color:#fff;text-align:left;
}
.twn-housead__in:hover{text-decoration:none;color:#fff}
.twn-housead__motif{
  flex:0 0 auto;display:flex;align-items:flex-end;gap:3px;
  padding:6px 7px;border:1px solid rgba(255,255,255,.28);border-radius:7px;
  background:rgba(255,255,255,.05);
}
.twn-housead__motif span{
  display:block;width:4px;border-radius:2px;
  background:linear-gradient(180deg,#FF5B74,var(--twn-accent));
}
.twn-housead__motif span:nth-child(1){height:8px}
.twn-housead__motif span:nth-child(2){height:13px}
.twn-housead__motif span:nth-child(3){height:19px}
.twn-housead__copy{display:flex;flex-direction:column;line-height:1.18;min-width:0}
.twn-housead__eyebrow{
  display:none;font-size:9px;font-weight:700;letter-spacing:.22em;
  text-transform:uppercase;color:#8FA6C9;
}
.twn-housead__brand{
  font-family:var(--twn-serif);font-weight:900;letter-spacing:.01em;
  font-size:14px;color:#fff;white-space:nowrap;
}
.twn-housead__line{display:none}
.twn-housead__side{
  margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:0 0 auto;
}
.twn-housead__cta{
  font-weight:700;font-size:10px;letter-spacing:.05em;text-transform:uppercase;
  color:#fff;background:var(--twn-accent);padding:5px 9px;border-radius:999px;
  white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.35);
  transition:transform .25s ease,box-shadow .25s ease;
}
.twn-housead__in:hover .twn-housead__cta{transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,0,0,.4)}
.twn-housead__via{display:none}
@media (min-width:640px){
  .twn-housead__in{gap:16px;padding:10px 16px}
  .twn-housead__motif{padding:8px 9px}
  .twn-housead__motif span{width:5px}
  .twn-housead__motif span:nth-child(1){height:10px}
  .twn-housead__motif span:nth-child(2){height:16px}
  .twn-housead__motif span:nth-child(3){height:23px}
  .twn-housead__eyebrow{display:block}
  .twn-housead__brand{font-size:21px}
  .twn-housead__line{display:block;font-size:12px;color:#C9D6EA;white-space:nowrap}
  .twn-housead__cta{font-size:11.5px;padding:8px 15px}
}
@media (min-width:1100px){
  .twn-housead__in{gap:26px;padding:30px 38px}
  .twn-housead__motif{padding:13px 14px;border-radius:10px}
  .twn-housead__motif span{width:7px}
  .twn-housead__motif span:nth-child(1){height:16px}
  .twn-housead__motif span:nth-child(2){height:26px}
  .twn-housead__motif span:nth-child(3){height:38px}
  .twn-housead__eyebrow{font-size:10.5px}
  .twn-housead__brand{font-size:42px}
  .twn-housead__line{font-size:15.5px}
  .twn-housead__cta{font-size:13px;padding:12px 24px}
  .twn-housead__via{display:block;font-size:11px;color:#8FA6C9;letter-spacing:.08em;text-transform:uppercase}
}

/* ===================== Round 5 (mobile, 2026-10-09) =====================
   Fleet mobile fixes: sticky nav reachability, 44px tap targets, logo room.
   See design-research/live-design-audit-2026-10-09.md (Mobile section). */
.twn-burger,.twn-searchbtn{flex:none}
.twn-masthead .twn-masthead__actions{flex:none}
.twn-masthead .twn-brand{flex:1 1 auto;min-width:0}
@media (max-width:899px){.twn-masthead .twn-brand img.custom-logo{max-height:52px;max-width:176px;width:auto;height:auto}}
.twn-nav__brand{display:none}
@media (max-width:899px){
  .twn-nav__in{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:44px}
  .twn-nav__brand{display:inline-flex;align-items:center;min-height:44px;font-family:var(--twn-serif);font-weight:800;font-size:17px;color:#fff;text-decoration:none;margin-right:auto}
  .twn-nav__menu{flex-basis:100%}
  .twn-tagline{font-size:13px}
}
@media (max-width:640px){
  .twn-utilbar__links a,.twn-utilbar__menu a{min-height:44px;display:inline-flex;align-items:center}
  .twn-housead__in{padding-top:18px}
}
.twn-share a,.twn-share__copy{min-height:44px}
@media (max-width:899px){.twn-footer__menu a{padding-top:12px;padding-bottom:12px}}
.twn-ad__label{font-size:10.5px}
.twn-badge{font-size:11px}

/* Round 5.1 (mobile, 2026-10-09): masthead Subscribe meets the 44px target. */
@media (max-width:899px){.twn-masthead__actions .twn-btn{min-height:44px;display:inline-flex;align-items:center}}

/* Round 5.2 (image resilience, 2026-10-09): a failed or still-loading article hero keeps its
   16/9 plate. An inline <img> that fails becomes a non-replaced box and ignores width/aspect-ratio
   (collapses to its alt text — the CEO Science-article breakage). Block display + plate
   background keep the layout intact until the image arrives. */
.twn-hero-media{background:var(--twn-soft)}
.twn-hero-media img{display:block;background:#0B1526;color:#E8EDF5}

/* Round 5.3 (mobile tap areas, 2026-10-09): the masthead logo link meets the
   44px touch target (it measured 36–38px tall); category eyebrow chips keep
   their approved visual size but gain a full invisible hit area on touch
   widths (they measured 23px tall). Visual layout unchanged. */
@media (max-width:899px){
  .twn-masthead .custom-logo-link{display:inline-flex;align-items:center;min-height:44px}
  .twn-masthead .twn-wordmark{display:inline-flex;align-items:center;min-height:44px}
  .twn-eyebrow{position:relative}
  .twn-eyebrow::after{content:"";position:absolute;left:-6px;right:-6px;top:-10px;bottom:-10px}
}

/* Round 3 speed (v1.2.28, 2026-10-09): skip style/layout/paint for the
   off-screen stacked section fronts until they approach the viewport.
   Measured mobile drag was Style & Layout on this stacked DOM (11s+
   main-thread in local Lighthouse); content-visibility:auto confines
   that cost to the section actually being scrolled to. `auto` in
   contain-intrinsic-size remembers the real height after first render,
   so the scrollbar stays honest. Hero, Don't-Miss and the Latest river
   are deliberately NOT covered — they sit at/near the fold. */
.twn-catfront,.twn-videofront,.twn-videomore{content-visibility:auto;contain-intrinsic-size:auto 720px}

/* Speed round 4 (v1.2.37): extend the same skip-offscreen-render
   treatment to every below-the-hero module. Round 3 proved the CLS
   that briefly accompanied this was the font swap (fonts have been
   preloaded since v1.2.31), and the measured mobile drag that remains
   is initial Style & Layout across the stacked homepage DOM; letting
   the browser defer layout/paint of sections, river rows and sidebar
   widgets until they near the viewport confines that cost without
   changing a single rendered pixel. The hero, masthead and nav are
   deliberately NOT covered. `auto` intrinsic sizing remembers each
   block's real height after first render, so the scrollbar and
   scroll anchoring stay honest. */
.twn-dontmiss{content-visibility:auto;contain-intrinsic-size:auto 620px}
.twn-section--picks{content-visibility:auto;contain-intrinsic-size:auto 540px}
.twn-section--popular{content-visibility:auto;contain-intrinsic-size:auto 430px}
.twn-newsband{content-visibility:auto;contain-intrinsic-size:auto 300px}
.twn-section--coverage{content-visibility:auto;contain-intrinsic-size:auto 320px}
.twn-network{content-visibility:auto;contain-intrinsic-size:auto 380px}
.twn-card--list{content-visibility:auto;contain-intrinsic-size:auto 170px}
.twn-widget{content-visibility:auto;contain-intrinsic-size:auto 360px}

/* Round 6 (sticky header, v1.2.34–36): the primary nav is the compact
 * sticky header. It stays in normal flow until its natural position
 * reaches the viewport top, so engaging sticky reserves exactly the
 * same box and cannot shove or overlap the content below. The main
 * masthead above it is deliberately untouched. */
.twn-nav{
  position:sticky;top:0;z-index:100;
  box-shadow:0 2px 10px rgba(7,22,48,.22);
}
.admin-bar .twn-nav{top:32px}
@media (max-width:782px){.admin-bar .twn-nav{top:46px}}
.twn-nav__in{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  min-height:56px;padding-top:6px;padding-bottom:6px;
}
.twn-nav__brand{
  display:inline-flex;align-items:center;gap:9px;min-width:0;
  min-height:44px;margin-right:0;color:#fff;
  font-family:var(--twn-serif);font-weight:800;font-size:18px;line-height:1.05;
}
.twn-nav__brand:hover{text-decoration:none}
.twn-nav__logo{
  display:block;flex:none;width:34px;height:34px;object-fit:contain;
  border-radius:7px;
}
.twn-nav__name{
  display:block;min-width:0;max-width:min(210px,calc(100vw - 173px));overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap;
}
.twn-nav__actions{
  display:flex;align-items:center;gap:8px;flex:none;margin-left:auto;
}
.twn-nav__searchbtn{flex:none}
.twn-nav__searchbar{
  border-top:1px solid rgba(255,255,255,.14);
  background:var(--twn-navy-deep);padding:10px 0 12px;
}
.twn-nav__searchbar[hidden]{display:none!important}
.twn-nav__searchbar .search-field{background:#fff}
@media (min-width:900px){
  .twn-nav__menu{
    flex:1 1 auto;justify-content:flex-end;min-width:0;
  }
  .twn-nav__actions{margin-left:0}
}
@media (max-width:899px){
  .twn-nav__in{min-height:52px;gap:8px}
  .twn-nav__brand{max-width:calc(100% - 108px);font-size:16.5px}
  .twn-nav__menu{order:3;flex:1 1 100%}
}
@media (max-width:360px){
  .twn-nav__brand{font-size:14px;gap:7px}
  .twn-nav__logo{width:30px;height:30px;border-radius:6px}
}

/* Footer copyright bar (v1.2.40, owner order 2026-10-10 01:01 PKT):
   SCNow-style full-width dark closing strip — left column carries the
   fixed 24World Media copyright line + publication line; right column
   carries the legal quick links + Websol Marketing credit. Small
   readable type; the strip is the footer's last element (zero space
   below it). Colours: bar #0a0f1c, main text light, sub text grey. */
.twn-footer__bar{
  display:flex;flex-wrap:wrap;gap:6px 28px;padding-top:14px;padding-bottom:16px;
  font-size:12.5px;color:#E7EDF7;
}
.twn-footer__bar-col{display:flex;flex-direction:column;gap:2px}
.twn-footer__bar-col--right{margin-left:auto;text-align:right;align-items:flex-end}
.twn-footer__bar-sub{color:#9AA7BD;font-size:12px}
.twn-footer__bar-sub a{color:#C9D6EA;font-weight:600}
.twn-footer__bar-sub a.twn-footer__company-link{color:inherit;font-weight:inherit;text-decoration:none}
.twn-footer__bar-sub a.twn-footer__company-link:hover,.twn-footer__bar-sub a.twn-footer__company-link:focus-visible{text-decoration:underline;text-underline-offset:2px}
.twn-footer__copylinks a{color:#F2F6FC;font-weight:600;white-space:nowrap}
@media (max-width:767px){
  .twn-footer__bar{flex-direction:column}
  .twn-footer__bar-col--right{margin-left:0;text-align:left;align-items:flex-start}
}
