/* ==========================================================================
   APD TV — Awaaz Punjabian Di
   Main stylesheet (loads after bootstrap.min.css)
   --------------------------------------------------------------------------
   1. Fonts            6. Ticker            11. Sidebar widgets
   2. Tokens           7. Section heads     12. Video / gallery strips
   3. Base             8. Story cards       13. Footer
   4. Top bar/header   9. Layouts           14. Dialogs (menu, search)
   5. Navigation      10. Ad slots          15. Reveal + utilities
   ========================================================================== */

/* 1. Fonts — self-hosted variable woff2, split by script with unicode-range.
   English pages never download the Gurmukhi files, and vice versa. */
@font-face {
  font-family: "Anek Latin";
  src: url("../fonts/anek-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anek Gurmukhi";
  src: url("../fonts/anek-gurmukhi.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839;
}
@font-face {
  font-family: "Noto Sans Gurmukhi";
  src: url("../fonts/noto-sans-gurmukhi.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839;
}

/* 2. Tokens */
:root {
  --red: #da0402;
  --red-700: #b00302;
  --blue: #034196;
  --blue-50: #eaf1fb;
  --navy: #031138;
  --navy-800: #0a1c4f;

  --ink: #0e1628;
  --ink-2: #39435a;
  --muted: #6a7389;
  --line: #e3e7ef;
  --bg: #f3f5f9;
  --surface: #ffffff;

  --font-head: "Anek Latin", "Anek Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(3, 17, 56, .06), 0 4px 16px rgba(3, 17, 56, .06);
  --shadow-lg: 0 10px 30px rgba(3, 17, 56, .14);
  --gap: 1rem;
  --header-h: 60px;   /* mobile sticky header height */
  --nav-h: 50px;      /* desktop sticky nav height */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-link-color-rgb: 3, 65, 150;
  --bs-border-color: var(--line);
}

/* 3. Base */
html { scroll-padding-top: calc(var(--header-h) + 12px); }
@media (min-width: 992px) { html { scroll-padding-top: calc(var(--nav-h) + 12px); } }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -.005em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* Gurmukhi needs a touch more size and line height for the top bar and vowel signs.
   No italics or letter-spacing — both break Gurmukhi shapes. */
html:lang(pa) { font-size: 106.25%; }               /* Gurmukhi reads smaller at the same px — scale rem up ~6% */
html:lang(pa) body { line-height: 1.75; }
html:lang(pa) :is(h1, h2, h3, h4, h5, h6, .story__title) { line-height: 1.42; }
html:lang(pa) * { letter-spacing: 0 !important; font-style: normal !important; }

.container-xl { max-width: 1680px; padding-inline: 16px; }  /* 1600px content + gutters */
@media (min-width: 768px) { .container-xl { padding-inline: 24px; } }
@media (min-width: 1400px) { .container-xl { padding-inline: 40px; } }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* 4. Top bar + header */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar__date { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar__right { display: flex; align-items: center; gap: 1rem; }

.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: .15rem .7rem; font-weight: 600; line-height: 1.6; }
.lang-switch a[aria-current="true"] { background: var(--red); color: #fff; }
/* System font for the one Gurmukhi word on English pages, so the Punjabi font file isn't downloaded */
.lang-switch [lang="pa"] { font-family: system-ui, sans-serif; font-weight: 500; }

.social { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s; }
.social a:hover { background: rgba(255, 255, 255, .12); }

.site-header { background: var(--surface); position: sticky; top: 0; z-index: 1020; border-bottom: 1px solid var(--line); }
@media (min-width: 992px) { .site-header { position: static; border-bottom: 0; } }
.header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
@media (min-width: 992px) { .header__inner { min-height: 116px; gap: 1.5rem; } }

.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 46px; width: auto; }
@media (min-width: 992px) { .brand img { height: 84px; } }

.header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
/* When the header ad is shown it sits in the middle and pushes actions right. When it's
   switched off, margin-left:auto keeps the actions on the right — no empty hole. */
.header__ad { margin-left: auto; }

.btn-icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.05rem;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-icon:hover { background: var(--blue-50); color: var(--blue); border-color: transparent; }

.btn-live {
  display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 1rem;
  border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(218, 4, 2, .28); transition: background .2s, transform .2s var(--ease);
}
.btn-live:hover { background: var(--red-700); color: #fff; transform: translateY(-1px); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 575.98px) { .btn-live { padding: 0 .8rem; font-size: .85rem; } .btn-live .btn-live__txt-long { display: none; } }

/* 5. Navigation — horizontal scroller on small screens (app-like), full bar on desktop */
.main-nav { background: var(--blue); position: relative; z-index: 1010; }
@media (min-width: 992px) { .main-nav { position: sticky; top: 0; box-shadow: 0 2px 10px rgba(3, 17, 56, .15); } }
.main-nav__inner { display: flex; align-items: center; min-height: var(--nav-h); }
.nav-list {
  display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.nav-list::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) { .nav-list { mask-image: none; } }
.nav-list a {
  position: relative; display: flex; align-items: center; gap: .4rem; height: var(--nav-h); padding: 0 .85rem;
  color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .9375rem; white-space: nowrap; scroll-snap-align: start;
}
.nav-list a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 0; height: 3px;
  background: var(--red); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-list a:hover { color: #fff; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: #fff; }
.main-nav__search { margin-left: auto; color: #fff; background: transparent; border: 0; width: 44px; height: var(--nav-h); }
.main-nav__search:hover { background: rgba(255, 255, 255, .1); }

/* 6. Breaking ticker */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker__inner { display: flex; align-items: center; gap: .75rem; min-height: 46px; overflow: hidden; }
.ticker__label {
  display: inline-flex; align-items: center; gap: .4rem; flex: none; padding: .3rem .7rem;
  background: var(--red); color: #fff; border-radius: 6px; font-family: var(--font-head);
  font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}
.ticker__viewport { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: ticker var(--ticker-speed, 50s) linear infinite; }
.ticker__track li { display: flex; align-items: center; white-space: nowrap; font-weight: 500; font-size: .9375rem; }
.ticker__track li::after { content: ""; width: 6px; height: 6px; margin: 0 1.25rem; border-radius: 50%; background: var(--red); }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 7. Section heads */
.section { padding-block: 1.75rem; }
@media (min-width: 992px) { .section { padding-block: 2.5rem; } }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.sec-head h2 {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); text-transform: uppercase; letter-spacing: .01em;
}
.sec-head h2::before { content: ""; width: 6px; height: 1.1em; background: var(--red); border-radius: 3px; }
.sec-head__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .875rem; color: var(--blue); white-space: nowrap; }
.sec-head__link:hover { gap: .55rem; }
.sec-head--light h2, .sec-head--light .sec-head__link { color: #fff; }

/* 8. Story cards ------------------------------------------------------------ */
.story { position: relative; display: flex; flex-direction: column; min-width: 0; }
.story__media {
  position: relative; overflow: hidden; border-radius: var(--radius); background: #dbe2ee;
  aspect-ratio: 16 / 9;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story__media img { transform: scale(1.04); }
.story__body { display: flex; flex-direction: column; gap: .4rem; padding-top: .75rem; min-width: 0; }
.story__cat {
  align-self: flex-start; display: inline-block; padding: .18rem .55rem; border-radius: 5px;
  background: var(--blue-50); color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.story__cat--red { background: var(--red); color: #fff; }
.story__title { margin: 0; font-size: 1.125rem; font-weight: 650; line-height: 1.25; }
.story__title a { transition: color .2s; }
.story__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.story:hover .story__title a { color: var(--blue); }
.story__excerpt { margin: 0; color: var(--ink-2); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; color: var(--muted); font-size: .8125rem; }
.story__meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Overlay variant (text on image) */
.story--overlay .story__media { aspect-ratio: 4 / 3; }
.story--overlay .story__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 56, 0) 35%, rgba(3, 17, 56, .55) 62%, rgba(3, 17, 56, .94) 100%);
}
.story--overlay .story__body { position: absolute; inset: auto 0 0 0; padding: 1.1rem; z-index: 1; }
.story--overlay .story__title { color: #fff; }
.story--overlay:hover .story__title a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.story--overlay .story__meta { color: rgba(255, 255, 255, .78); }
.story--overlay .story__excerpt { color: rgba(255, 255, 255, .85); }

.story--lead .story__title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.35rem); font-weight: 700; line-height: 1.12; }
@media (min-width: 992px) {
  .story--lead .story__media { aspect-ratio: auto; height: 100%; min-height: 470px; }
  .story--lead .story__body { padding: 1.75rem; }
}

/* Row variant (thumb + text) */
.story--row { flex-direction: row; gap: .85rem; align-items: flex-start; }
.story--row .story__media { flex: none; width: 112px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.story--row .story__body { padding-top: 0; gap: .3rem; }
.story--row .story__title { font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .story--row .story__media { width: 132px; } }

/* Compact variant (text only, for “Latest”) */
.story--compact { padding-left: 1.1rem; }
.story--compact::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.story--compact .story__title { font-size: .98rem; font-weight: 600; line-height: 1.35; }
.story--compact .story__meta { margin-top: .2rem; }

/* Video thumbnail decoration */
.play-badge {
  position: absolute; z-index: 1; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .6rem .3rem .35rem; border-radius: 999px; background: rgba(3, 17, 56, .78); color: #fff;
  font-size: .78rem; font-weight: 600; backdrop-filter: blur(4px);
}
.play-badge .icon-wrap { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); font-size: .6rem; }

/* 9. Layouts ---------------------------------------------------------------- */
/* Hero: lead | two secondary | latest list */
.hero { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.hero__latest { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.hero__latest h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; text-transform: uppercase; margin-bottom: .9rem; }
.hero__latest h2 .icon { color: var(--red); }
.latest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.latest-list li + li { border-top: 1px dashed var(--line); padding-top: .9rem; }
@media (min-width: 768px) {
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__lead { grid-column: 1 / -1; }
  .hero__latest { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .hero { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .hero__lead { grid-column: 1; grid-row: 1 / span 2; }
  .hero__latest { grid-column: 3; grid-row: 1 / span 2; }
  .hero__sec .story__title { font-size: 1.2rem; }
  .hero__lead, .hero__sec { display: flex; }
  .hero__lead > .story, .hero__sec > .story { flex: 1; }
  .hero .story--overlay .story__media { flex: 1; aspect-ratio: auto; min-height: 230px; }
}
@media (max-width: 991.98px) { .hero__sec .story__media { aspect-ratio: 16 / 9; } }

/* Main + sidebar. If the sidebar ends up empty (all widgets/ads off) the column collapses. */
.layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.25rem; }
  .layout:not(:has(.sidebar > *)) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1200px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }

/* Category block: lead card + list */
.cat-block { background: var(--surface); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .cat-block { padding: 1.4rem; } }
.cat-block + .cat-block, .cat-block + .ad, .ad + .cat-block { margin-top: 1.75rem; }
.cat-block__grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.cat-block__list { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 768px) { .cat-block__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.cat-block .story__title { font-size: 1.25rem; }
.cat-block .story--row .story__title { font-size: .98rem; }

/* Auto-fill card grid. Items (including a native in-feed ad) flow, so removing any card leaves no gap. */
.card-grid { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 576px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Editorial fallback: shown automatically when the native ad is not printed, so the grid stays full */
.ad-fallback { display: none !important; }
.card-grid:not(:has(.ad-native)) > .ad-fallback, .ads-off .ad-fallback { display: flex !important; }

/* Three category columns */
.tri-cols { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tri-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tri-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tri-col { background: var(--surface); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.tri-col .sec-head h2 { font-size: 1.2rem; }
.tri-col__list { display: grid; gap: .9rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* 10. Ad slots ---------------------------------------------------------------
   Markup:  <div class="ad ad--billboard"><span class="ad__label">Advertisement</span>
              <div class="ad__box"> …banner <a><img></a> or AdSense <ins>… </div></div>

   RULES (keeps the design clean when a slot is switched off in the backend):
   1. Backend does not print the .ad wrapper at all when the slot is disabled or unsold.
      Each slot is its own wrapper, so its spacing disappears with it.
   2. Safety net: an .ad with an empty box, or an unfilled AdSense unit, hides itself.
   3. Each size is reserved with aspect-ratio, so ads loading late don't shift the page (CLS).
   4. Slots sit inside flexible layouts (flex / auto-fill grid / sidebar), never fixed holes.
   Preview with ads off: add ?ads=off to the URL.

   Slot                 Desktop      Tablet     Mobile     Placement
   header (leaderboard) 728×90       —          —          Header, next to logo
   mobile-top           —            —          320×100    Under ticker (mobile)
   billboard            970×250      728×90     300×250    Between full-width home sections
   leader (in-column)   728×90       728×90     300×250    Inside main column
   sidebar-top          300×250      —          300×250    Sidebar, first widget
   sidebar-sticky       300×600      —          —          Sidebar, sticks on scroll
   infeed (native)      card         card       card       Inside news grids
   in-article           728×90       728×90     300×250    Inside article body
   anchor               —            —          320×50     Fixed bottom, closable
   ------------------------------------------------------------------------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin-inline: auto; width: 100%; }
.ad__label { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.ad__box {
  --w: 300; --h: 250;
  width: calc(var(--w) * 1px); max-width: 100%; aspect-ratio: var(--w) / var(--h);
  overflow: hidden; border-radius: 6px; background: #e9edf4;
}
.ad__box > a, .ad__box img, .ad__box iframe, .ad__box ins { display: block; width: 100%; height: 100%; object-fit: cover; }

.ad:empty,
.ad:not(:has(.ad__box > *)),
.ad:has(ins[data-ad-status="unfilled"]),
.ads-off .ad, .ads-off .ad-native { display: none !important; }

.ad--header { width: auto; display: none; }
.ad--header .ad__box { --w: 728; --h: 90; }
@media (min-width: 992px) { .ad--header { display: flex; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .ad--header .ad__box { --w: 468; --h: 60; } }

.ad--mobile-top { padding: .75rem 0 0; }
.ad--mobile-top .ad__box { --w: 320; --h: 100; }
@media (min-width: 768px) { .ad--mobile-top { display: none; } }

.ad-band { padding-block: 1.25rem; } /* wrapper class used on the .ad itself */
.ad--billboard .ad__box { --w: 300; --h: 250; }
@media (min-width: 768px) { .ad--billboard .ad__box { --w: 728; --h: 90; } }
@media (min-width: 1200px) { .ad--billboard .ad__box { --w: 970; --h: 250; } }

.ad--leader .ad__box { --w: 300; --h: 250; }
@media (min-width: 768px) { .ad--leader .ad__box { --w: 728; --h: 90; } }

.ad--rect .ad__box { --w: 300; --h: 250; }
.ad--sky { display: none; }
.ad--sky .ad__box { --w: 300; --h: 600; }
@media (min-width: 992px) { .ad--sky { display: flex; } }

.ad--anchor {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 20px rgba(3, 17, 56, .15);
}
.ad--anchor .ad__label { display: none; }
.ad--anchor .ad__box { --w: 320; --h: 50; border-radius: 4px; }
.ad__close {
  position: absolute; top: -26px; right: 8px; display: grid; place-items: center; width: 28px; height: 26px;
  border: 0; border-radius: 6px 6px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -3px 8px rgba(3, 17, 56, .1); font-size: .8rem;
}
@media (min-width: 992px) { .ad--anchor { display: none; } }
@media (max-width: 991.98px) { body:has(.ad--anchor:not([hidden])) { padding-bottom: 66px; } }
.ad--anchor[hidden] { display: none !important; }

/* Native in-feed ad: looks like a story card, clearly labelled */
.story--sponsored .story__cat { background: #fff4d6; color: #8a5a00; }
.story--sponsored .story__media { outline: 1px solid #f1e3b8; }

/* Demo placeholder creative (remove in production) */
.ad-demo {
  display: grid !important; place-items: center; text-align: center; color: #5b6680; font-size: .8rem; font-weight: 600;
  background: repeating-linear-gradient(135deg, #eef1f7 0 12px, #e5e9f2 12px 24px);
  border: 1px dashed #bfc8d9; border-radius: 6px; line-height: 1.3;
}
.ad-demo small { display: block; font-weight: 500; opacity: .8; }

/* Live TV ------------------------------------------------------------------ */
.live-sec {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 400px at 85% -10%, rgba(218, 4, 2, .28), transparent 60%),
              radial-gradient(700px 400px at -10% 110%, rgba(3, 65, 150, .55), transparent 60%), var(--navy);
}
.live-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .live-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; } }

.live-player {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.live-player__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.live-player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.live-player:hover img { opacity: 1; transform: scale(1.02); }
.live-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-player__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.6rem; padding-left: 5px;
  box-shadow: 0 0 0 10px rgba(218, 4, 2, .25), 0 10px 30px rgba(0, 0, 0, .4); transition: transform .25s var(--ease);
}
.live-player:hover .live-player__play { transform: scale(1.08); }
.live-badge {
  position: absolute; z-index: 1; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .75rem; border-radius: 6px; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em;
}
.live-player__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem 1rem; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
}
.live-side h3 { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 1rem; }
.schedule { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.schedule li {
  display: grid; grid-template-columns: 76px 1fr; gap: .75rem; align-items: center; padding: .7rem .9rem;
  border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
.schedule time { white-space: nowrap; font-weight: 700; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.schedule strong { display: block; font-weight: 600; line-height: 1.3; }
.schedule small { color: rgba(255, 255, 255, .6); }
.schedule .is-now { background: rgba(218, 4, 2, .18); border-color: rgba(218, 4, 2, .55); }
.schedule .is-now time { color: #fff; }
.now-tag { display: inline-block; margin-left: .4rem; padding: 0 .4rem; border-radius: 4px; background: var(--red); font-size: .65rem; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }
.btn-outline-light-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; font-size: .9rem; transition: background .2s;
}
.btn-outline-light-pill:hover { background: #fff; color: var(--navy); }

/* 11. Sidebar widgets */
.sidebar { display: flex; flex-direction: column; gap: 1.75rem; }
@media (min-width: 992px) { .sidebar__sticky { position: sticky; top: calc(var(--nav-h) + 1rem); display: flex; flex-direction: column; gap: 1.75rem; } }
.widget { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.widget .sec-head h2 { font-size: 1.1rem; }
.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; display: grid; gap: .25rem; }
.rank-list li { counter-increment: rank; position: relative; padding: .7rem 0 .7rem 2.75rem; border-bottom: 1px solid var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-list li::before {
  content: counter(rank, decimal-leading-zero); position: absolute; left: 0; top: .55rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}
.rank-list li:nth-child(-n+3)::before { color: var(--red); -webkit-text-stroke: 0; }
.rank-list a { font-weight: 600; font-size: .95rem; line-height: 1.35; display: block; }
.rank-list small { color: var(--muted); font-size: .78rem; }

.follow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.follow-grid a {
  display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border-radius: var(--radius-sm);
  color: #fff; font-size: .85rem; font-weight: 600; transition: filter .2s, transform .2s;
}
.follow-grid a:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }
.follow-grid small { display: block; font-weight: 500; opacity: .8; font-size: .7rem; line-height: 1.1; }
.bg-fb { background: #1877f2; } .bg-yt { background: #ff0000; } .bg-ig { background: linear-gradient(45deg, #f09433, #dc2743 60%, #bc1888); }
.bg-x { background: #000; } .bg-wa { background: #25d366; } .bg-tg { background: #229ed9; }

/* 12. Video + gallery strips */
.video-sec { background: #0b1636; color: #fff; }
.video-sec .story__title { color: #fff; }
.video-sec .story:hover .story__title a { color: #9fc2ff; }
.video-sec .story__meta { color: rgba(255, 255, 255, .6); }
.h-scroll-wrap { position: relative; }
.h-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; overscroll-behavior-x: contain;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
@media (min-width: 992px) { .h-scroll { grid-auto-columns: calc((100% - 3 * 1.1rem) / 4); } }
.h-scroll__btns { display: none; gap: .5rem; }
@media (min-width: 992px) { .h-scroll__btns { display: flex; } }
.h-scroll__btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; transition: background .2s;
}
.h-scroll__btn:hover { background: var(--red); border-color: var(--red); }
.h-scroll__btn:disabled { opacity: .35; pointer-events: none; }

.gallery-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); } .gallery-grid > :first-child { grid-row: span 2; } }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #dbe2ee; aspect-ratio: 4 / 3; }
@media (min-width: 992px) { .gallery-item { aspect-ratio: auto; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(3, 17, 56, .85)); }
.gallery-item__txt { position: absolute; z-index: 1; left: .9rem; right: .9rem; bottom: .8rem; color: #fff; font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
.gallery-item__count { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .3rem; padding: .15rem .5rem; border-radius: 5px; background: var(--red); font-family: var(--font-body); font-size: .72rem; font-weight: 700; }

/* 13. Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .9375rem; margin-top: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #fff; }
.footer__top { padding-block: 3rem 2rem; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1200px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 74px; width: auto; padding: .5rem .8rem; background: #fff; border-radius: var(--radius); }
.footer__brand p { margin: 1rem 0 1.25rem; max-width: 36ch; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__links--2col { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer__contact .icon { margin-top: .3rem; color: var(--red); }
.site-footer .social a { background: rgba(255, 255, 255, .08); width: 38px; height: 38px; }
.site-footer .social a:hover { background: var(--red); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.1rem; font-size: .8125rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.btn-advertise { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .55rem 1rem; border-radius: 999px; background: var(--red); color: #fff !important; font-weight: 600; font-size: .875rem; }
.btn-advertise:hover { background: var(--red-700); }

/* 14. Dialogs (mobile menu + search) — native <dialog>, no JS library */
.drawer, .search-dlg { border: 0; padding: 0; max-width: none; max-height: none; color: var(--ink); }
.drawer::backdrop, .search-dlg::backdrop { background: rgba(3, 17, 56, .55); backdrop-filter: blur(2px); }
.drawer { margin: 0; width: min(86vw, 360px); height: 100dvh; background: var(--surface); }
.drawer[open] { animation: drawer-in .3s var(--ease); }
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 44px; width: auto; }
.drawer__nav { list-style: none; margin: 0; padding: .5rem 0; }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1.25rem; font-weight: 600; border-left: 3px solid transparent; }
.drawer__nav a[aria-current="page"] { color: var(--red); border-left-color: var(--red); background: #fff5f5; }
.drawer__foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.drawer__foot .social a { background: var(--bg); width: 40px; height: 40px; }

.search-dlg { width: min(92vw, 720px); margin: 12vh auto auto; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); }
.search-dlg[open] { animation: fade-down .25s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } }
.search-form { display: flex; align-items: center; gap: .5rem; padding: .6rem; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .7rem .5rem; font-size: 1.15rem; background: transparent; }
.search-form button[type="submit"] { border: 0; border-radius: var(--radius-sm); background: var(--red); color: #fff; padding: .7rem 1.1rem; font-weight: 600; }
.search-trending { padding: 0 1.1rem 1.1rem; font-size: .875rem; color: var(--muted); }
.search-trending a { display: inline-block; margin: .3rem .25rem 0 0; padding: .25rem .7rem; border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 500; }

/* 15. Reveal (≈ AOS replacement, ~1 KB JS) + utilities */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker__viewport { overflow-x: auto; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   16. Inner pages
   ========================================================================== */

/* Back to top */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 1025; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); color: #fff; }
@media (max-width: 991.98px) { body:has(.ad--anchor:not([hidden])) .to-top { bottom: 80px; } }

/* Page hero + breadcrumb */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 1.5rem 1.75rem; }
.page-hero--dark {
  color: #fff; border: 0;
  background: radial-gradient(800px 300px at 90% -20%, rgba(218, 4, 2, .3), transparent 60%), linear-gradient(120deg, var(--navy), var(--navy-800));
}
.page-hero h1 { margin: .35rem 0 .4rem; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.page-hero--dark h1 { color: #fff; }
.page-hero p { margin: 0; max-width: 68ch; color: var(--ink-2); }
.page-hero--dark p { color: rgba(255, 255, 255, .8); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { display: inline-flex; align-items: center; gap: .3rem; }
.crumbs a:hover { color: var(--red); }
.page-hero--dark .crumbs { color: rgba(255, 255, 255, .7); }
.page-hero--dark .crumbs a:hover { color: #fff; }

/* Filter chips (horizontal scroll on mobile) */
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .25rem 0; margin-top: 1.1rem; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: .875rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: all .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-hero--dark .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.page-hero--dark .chip.is-active { background: var(--red); border-color: var(--red); }

/* Toolbar above lists */
.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.list-toolbar__count { color: var(--muted); font-size: .9rem; }
.form-select-sm-pill { border: 1px solid var(--line); border-radius: 999px; padding: .4rem 2rem .4rem .9rem; font-size: .875rem; background-color: var(--surface); }

/* List variant: horizontal story with excerpt */
.story--list { flex-direction: column; gap: .9rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.story--list:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 576px) {
  .story--list { flex-direction: row; gap: 1.25rem; }
  .story--list .story__media { flex: none; width: 42%; max-width: 340px; }
  .story--list .story__body { padding-top: 0; }
}
.story--list .story__title { font-size: 1.25rem; }
.stack { display: grid; gap: 1.5rem; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: 1.5rem; } }

/* Featured row for listing pages */
.feature-row { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin-bottom: 1.75rem; }
@media (min-width: 768px) { .feature-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .feature-row__side { display: grid; gap: var(--gap); } }
.feature-row .story--overlay .story__media { aspect-ratio: 16 / 10; }
@media (min-width: 768px) { .feature-row__main .story__media { aspect-ratio: auto; height: 100%; min-height: 380px; } .feature-row__main, .feature-row__main > .story { height: 100%; } }
.feature-row__main .story__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.pager a, .pager span {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: all .2s;
}
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager [aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.btn-load {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; margin-top: 1.5rem; padding: .85rem;
  border-radius: var(--radius); border: 1px dashed var(--blue); background: var(--blue-50); color: var(--blue); font-weight: 700;
}
.btn-load:hover { background: var(--blue); color: #fff; border-style: solid; }

/* ---------- Article (news details) ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1100; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1.12; margin: .75rem 0 .9rem; }
.article-head .lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); line-height: 1.55; margin: 0; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; margin-top: 1.25rem; border-block: 1px solid var(--line); }
.byline__author { display: flex; align-items: center; gap: .75rem; }
.byline__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #dbe2ee; }
.byline__author strong { display: block; line-height: 1.2; }
.byline__author small { color: var(--muted); font-size: .8rem; }
.share { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.share__label { font-size: .8rem; font-weight: 600; color: var(--muted); margin-right: .2rem; }
.share a, .share button {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; color: #fff; font-size: .95rem; transition: transform .2s, filter .2s;
}
.share a:hover, .share button:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.share .copy { background: var(--ink-2); }
.share .copy.is-done { background: #1a9a4b; }

.article-figure { margin: 1.5rem 0; }
.article-figure .story__media { aspect-ratio: 16 / 9; }
.article-figure figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); }

.prose { font-size: 1.0625rem; line-height: 1.8; color: #1d2638; max-width: 760px; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .ad a { color: inherit; text-decoration: none; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--red); }
.prose blockquote {
  position: relative; margin-inline: 0; padding: 1.25rem 1.25rem 1.25rem 3.5rem; border-radius: var(--radius);
  background: var(--blue-50); font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.4; color: var(--navy);
}
.prose blockquote .icon { position: absolute; left: 1.1rem; top: 1.3rem; font-size: 1.5rem; color: var(--red); }
.prose blockquote cite { display: block; margin-top: .6rem; font-family: var(--font-body); font-size: .85rem; font-weight: 500; font-style: normal; color: var(--muted); }
.prose .ad { margin-block: 2rem; }
html:lang(pa) .prose { line-height: 1.95; }

.also-read { display: flex; gap: .75rem; align-items: center; padding: .9rem 1rem; border-left: 4px solid var(--red); background: #fff6f6; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.also-read strong { color: var(--red); white-space: nowrap; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.also-read a { font-weight: 600; text-decoration: none !important; color: var(--ink) !important; }
.also-read a:hover { color: var(--blue) !important; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tags a { padding: .35rem .85rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.tags a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.25rem; border-radius: var(--radius); background: var(--bg); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: #dbe2ee; }
.author-box h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.author-box p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Video page ---------- */
.video-hero { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .video-hero { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); } }
.video-hero h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin: 1rem 0 .4rem; }
.video-hero .story__meta { color: rgba(255, 255, 255, .7); }
.playlist { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1rem; }
.playlist > h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.playlist__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
.playlist .story--row .story__title { color: #fff; font-size: .92rem; }
.playlist .story--row:hover .story__title a { color: #9fc2ff; }
.playlist .story--row .story__meta { color: rgba(255, 255, 255, .6); }
.playlist .story--row .story__media { width: 120px; aspect-ratio: 16 / 9; }
.playlist .is-playing { background: rgba(218, 4, 2, .18); border-radius: var(--radius-sm); padding: .4rem; margin: -.4rem; }
.dur { position: absolute; z-index: 1; right: .35rem; bottom: .35rem; padding: .05rem .35rem; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #fff; font-size: .7rem; font-weight: 600; }

/* ---------- Gallery page ---------- */
.album-slider { border-radius: var(--radius); overflow: hidden; background: #000; }
.album-slider .swiper-slide { aspect-ratio: 16 / 9; }
@media (min-width: 1200px) { .album-slider .swiper-slide { aspect-ratio: 21 / 9; } }
.album-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.album-slider .swiper-button-prev, .album-slider .swiper-button-next {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(3, 17, 56, .6); color: #fff; backdrop-filter: blur(4px);
}
.album-slider .swiper-button-prev::after, .album-slider .swiper-button-next::after { font-size: 16px; font-weight: 700; }
.album-slider .swiper-pagination-bullet-active { background: var(--red); }
.album-slider__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.5rem 1.25rem 2.25rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-weight: 600; }
.album-thumbs { margin-top: .6rem; }
.album-thumbs .swiper-slide { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; opacity: .5; cursor: pointer; transition: opacity .2s; }
.album-thumbs .swiper-slide-thumb-active { opacity: 1; outline: 3px solid var(--red); outline-offset: -3px; }
.album-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.album-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.album-card .story__media { aspect-ratio: 4 / 3; }
.album-card .gallery-item__count { position: absolute; z-index: 1; top: .75rem; left: .75rem; color: #fff; }

/* Lightbox (native dialog) */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox__inner { position: relative; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 6px; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--red); }
.lightbox__count { position: absolute; top: 22px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .8); font-size: .85rem; }
.photo-grid { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photo-grid button { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: #dbe2ee; cursor: zoom-in; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid button:hover img { transform: scale(1.06); }

/* ---------- About ---------- */
.about-intro { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .about-intro { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.about-intro__media { position: relative; }
.about-intro__media .story__media { aspect-ratio: 4 / 3; }
.about-intro__badge {
  position: absolute; right: -8px; bottom: -18px; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--red); color: #fff;
  box-shadow: var(--shadow-lg); font-family: var(--font-head); line-height: 1.1;
}
.about-intro__badge strong { display: block; font-size: 2.2rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.about-intro h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: .4rem 0 1rem; }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 1.5rem 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1; color: #fff; }
.stat span { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.values { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); font-size: 1.3rem; margin-bottom: 1rem; }
.value:nth-child(2) .value__icon { background: #fff0f0; color: var(--red); }
.value h3 { font-size: 1.2rem; }
.value p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.member { text-align: center; }
.member .story__media { aspect-ratio: 1; border-radius: 50%; max-width: 180px; margin-inline: auto; }
.member h3 { font-size: 1.05rem; margin: .9rem 0 .15rem; }
.member p { margin: 0; color: var(--muted); font-size: .85rem; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 2rem; border-radius: var(--radius); background: linear-gradient(120deg, var(--red), #a00201); color: #fff; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); }
.cta-band p { margin: 0; opacity: .9; }
.btn-white { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; background: #fff; color: var(--red); font-weight: 700; }
.btn-white:hover { background: var(--navy); color: #fff; }

/* ---------- Contact ---------- */
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.form-control, .form-select { background-color: #fff; border-radius: 10px; border-color: var(--line); padding: .7rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(3, 65, 150, .15); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: var(--red); }
.btn-brand { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; transition: background .2s; }
.btn-brand:hover { background: var(--red-700); color: #fff; }
.form-note { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: #e9f8ef; color: #12733a; font-weight: 600; }
.form-note.is-visible { display: flex; align-items: center; gap: .5rem; }
/* Contact v2 */
.ct-hero {
  position: relative; color: #fff; padding-block: 1.5rem 3rem;
  background:
    radial-gradient(700px 380px at 95% 0%, rgba(218, 4, 2, .35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(3, 65, 150, .6), transparent 65%),
    var(--navy);
}
.ct-hero::after { /* subtle dotted texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.ct-hero > .container-xl { position: relative; z-index: 1; }
.ct-hero .crumbs { color: rgba(255, 255, 255, .7); }
.ct-hero .crumbs a:hover { color: #fff; }
.ct-hero__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.5rem; align-items: start; }
@media (min-width: 992px) { .ct-hero { padding-bottom: 0; } .ct-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; } }
.ct-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); line-height: 1.05; margin: .6rem 0 1rem; }
html:lang(pa) .ct-hero h1 { line-height: 1.3; }
.ct-hero h1 em { font-style: normal; color: #ff4d4b; }
.ct-hero__lede { font-size: 1.1rem; color: rgba(255, 255, 255, .8); max-width: 52ch; margin: 0 0 1.75rem; }
.ct-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; font-weight: 600; }
.ct-badge .live-dot { width: 8px; height: 8px; background: #2ee66b; }
.ct-badge .live-dot::after { border-color: #2ee66b; }

.ct-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 576px) { .ct-quick { grid-template-columns: 1fr 1fr; } }
.ct-quick a, .ct-quick div {
  display: flex; align-items: center; gap: .85rem; height: 100%; padding: .9rem 1rem; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.ct-quick a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-2px); }
.ct-quick__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--red); font-size: 1.05rem; }
.ct-quick__ic--wa { background: #25d366; } .ct-quick__ic--blue { background: var(--blue); } .ct-quick__ic--muted { background: rgba(255, 255, 255, .14); }
.ct-quick small { display: block; color: rgba(255, 255, 255, .62); font-size: .78rem; line-height: 1.3; }
.ct-quick strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.3; word-break: break-word; }

/* Floating form card */
.ct-form {
  position: relative; background: var(--surface); color: var(--ink); border-radius: 20px; padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(3, 17, 56, .35);
}
@media (min-width: 768px) { .ct-form { padding: 2rem 2.25rem; } }
@media (min-width: 992px) { .ct-form { margin-bottom: -7rem; } }
.ct-form::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.ct-form h2 { font-size: 1.6rem; margin: 0 0 .3rem; }
.ct-form__sub { color: var(--muted); font-size: .92rem; margin: 0 0 1.25rem; }
.topic-pills { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.topic-pills legend { float: none; width: auto; font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.topic-pill { position: relative; }
.topic-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topic-pill span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); font-size: .875rem; font-weight: 600; color: var(--ink-2); transition: all .2s;
}
.topic-pill input:hover + span { border-color: var(--blue); color: var(--blue); }
.topic-pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.topic-pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.was-validated .topic-pills:has(input:invalid) .topic-pill span { border-color: var(--red); }
.topic-error { display: none; width: 100%; color: var(--red); font-size: .85rem; margin-top: .25rem; }
.was-validated .topic-pills:has(input:invalid) .topic-error { display: block; }
[data-show-for] { display: none; }
[data-show-for].is-shown { display: block; }
.file-drop {
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1.5px dashed #c5cfdf; border-radius: 12px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s;
}
.file-drop:hover { border-color: var(--blue); background: var(--blue-50); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop .icon { color: var(--blue); font-size: 1.1rem; }
.file-drop small { display: block; color: var(--muted); }
.ct-form .btn-brand { width: 100%; justify-content: center; padding: .95rem 1.5rem; font-size: 1rem; }
@media (min-width: 576px) { .ct-form .btn-brand { width: auto; } }
.ct-privacy { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .8rem; margin-top: .75rem; }

/* Department cards */
.ct-depts-wrap { padding-top: 3rem; }
@media (min-width: 992px) { .ct-depts-wrap { padding-top: 10rem; } }
.ct-depts { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 576px) { .ct-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ct-depts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dept {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: 18px; background: var(--surface);
  box-shadow: var(--shadow); border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.dept:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-50); }
.dept__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blue-50); color: var(--blue); font-size: 1.35rem; margin-bottom: .5rem; }
.dept:nth-child(2) .dept__ic { background: #fff0f0; color: var(--red); }
.dept:nth-child(3) .dept__ic { background: #eefaf2; color: #148a44; }
.dept:nth-child(4) .dept__ic { background: #fff6e5; color: #b56b00; }
.dept h3 { font-size: 1.2rem; margin: 0; }
.dept p { color: var(--ink-2); font-size: .92rem; margin: 0 0 .5rem; }
.dept__links { margin-top: auto; display: grid; gap: .35rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .9rem; }
.dept__links a { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue); word-break: break-word; }
.dept__links a:hover { color: var(--red); }
.dept__time { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; padding: .2rem .6rem; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .75rem; font-weight: 600; }

/* WhatsApp tip line band */
.tipline {
  display: grid; gap: 1.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); padding: 2rem; border-radius: 22px; color: #fff;
  background: radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, #0b8f4a, #128c7e);
}
@media (min-width: 992px) { .tipline { grid-template-columns: auto minmax(0, 1fr) auto; padding: 2.25rem 2.75rem; gap: 2rem; } }
.tipline__ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: rgba(255, 255, 255, .16); font-size: 2.2rem; }
.tipline h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.tipline p { margin: 0; color: rgba(255, 255, 255, .88); }
.tipline__points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .75rem; font-size: .85rem; font-weight: 600; }
.tipline__points span { display: inline-flex; align-items: center; gap: .4rem; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: 999px; background: #fff; color: #0b7a3f; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-wa:hover { background: var(--navy); color: #fff; }

/* Offices */
.offices { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .offices { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.map-embed { position: relative; min-height: 360px; border-radius: 20px; overflow: hidden; background: #dbe2ee; box-shadow: var(--shadow); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.office-list { display: grid; gap: 1rem; align-content: start; }
.office { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.office:first-child { border-left-color: var(--red); }
.office__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); color: var(--blue); }
.office h3 { font-size: 1.05rem; margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.office h3 .tag { padding: .1rem .5rem; border-radius: 5px; background: #fff0f0; color: var(--red); font-family: var(--font-body); font-size: .68rem; font-weight: 700; }
.office p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.office a { color: var(--blue); font-weight: 600; font-size: .88rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 900px; }
.faq details { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--blue); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.faq details[open] summary { color: var(--blue); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--ink-2); }
.faq-wrap { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 3rem; } }
.faq-wrap h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: .4rem 0 .75rem; }
.faq-wrap p { color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 4rem; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--blue); }
.notfound__code span { color: var(--red); -webkit-text-stroke: 0; }
.notfound .search-form { max-width: 560px; margin: 1.5rem auto 0; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow); padding: .35rem .35rem .35rem 1.1rem; }
.notfound .search-form button[type="submit"] { border-radius: 999px; }
@media (min-width: 992px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video-sec .crumbs { color: rgba(255, 255, 255, .7); }
.video-sec .crumbs a:hover { color: #fff; }
.video-hero .story__cat { display: inline-block; }

/* Article page: narrower reading column, centred with the sidebar */
@media (min-width: 992px) { .layout--article { grid-template-columns: minmax(0, 880px) 300px; justify-content: center; } }
@media (min-width: 1200px) { .layout--article { grid-template-columns: minmax(0, 880px) 320px; } }
.layout--article .prose { max-width: none; }
@media (min-width: 768px) { .layout--article > .panel { padding: 2rem 2.25rem; } }
@media (min-width: 992px) { .layout--article-crumbs, .related-wrap > * { max-width: 1216px; margin-inline: auto; } }
@media (min-width: 1200px) { .layout--article-crumbs, .related-wrap > * { max-width: 1236px; } }
@media (max-width: 575.98px) {
  .also-read { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .album-slider .swiper-button-prev, .album-slider .swiper-button-next { width: 36px; height: 36px; }
}

/* Extra-wide screens (≥1600px): wider article column and sidebar */
@media (min-width: 1600px) {
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; }
  .layout--article { grid-template-columns: minmax(0, 980px) 340px; }
  .layout--article-crumbs, .related-wrap > * { max-width: 1360px; }
  .story--lead .story__media { min-height: 540px; }
}
.faq-wrap .social a { width: 42px; height: 42px; background: var(--surface); color: var(--navy); box-shadow: var(--shadow); }
.faq-wrap .social a:hover { background: var(--red); color: #fff; }
.ct-hero__social { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.ct-hero__social > span { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ct-hero__social .social a { width: 40px; height: 40px; background: rgba(255, 255, 255, .08); color: #fff; }
.ct-hero__social .social a:hover { background: var(--red); }
.bg-li { background: #0a66c2; } .bg-mail { background: #5b6680; }
.share .native { background: var(--blue); }
.share--light .share__label { color: rgba(255, 255, 255, .7); }
