/* ============================================================
   IGM — India Gold Metaverse · News Room (standalone)
   Self-contained stylesheet shared by media-release.html and
   in-the-news.html: fonts, tokens, base, navbar + footer partials
   and the News-Room-only hero, search toolbar, release timeline
   and press-coverage grid. Shared boilerplate is kept identical to
   the sibling Blog / About pages so the pages render on their own
   — no dependency on assets/css/styles.css.
   Both pages are static for now; the markup carries data-year /
   data-source hooks so a backend can render the same nodes later.
   Fonts: Satoshi + Clash Display (self-hosted) · Instrument Serif
   (Google Fonts, linked in the page <head>).
   ============================================================ */

/* ---------- fonts · tokens · base · shared .pill ----------
   Root-relative font URLs (leading slash) so Satoshi resolves from
   the site root, not from assets/css/ where this file lives. */
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/img/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/img/fonts/clashdisplay-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --neutral-50:  #ffffff;
  --neutral-100: #f9f9fb;
  --neutral-200: #eeeef1;
  --neutral-300: #c8c8d2;
  --neutral-400: #aeaeba;
  --neutral-500: #8a8a97;   /* Figma Neutral-500 (post-meta timestamps) */
  --neutral-600: #606070;
  --neutral-700: #3d3d4d;
  --neutral-800: #232330;
  --neutral-900: #0d0f1a;
  --neutral-950: #000000;
  --gray-500:    #6b7280;   /* breadcrumb separator, per Figma Gray-500 */
  --gold-50:     #f9f5ec;
  --gold-100:    #f0e6d1;
  --gold-200:    #e3d1a8;
  --gold-300:    #d6ba81;
  --gold-warm:   #cfb38d;  /* warm serif accent + category badge label */
  --gold-500:    #b9903f;
  --gold-600:    #a07f36;
  --gold-grad:   linear-gradient(100deg, #b9903f 0%, #e8cf8f 45%, #b9903f 100%);
  --blue-500:    #277ada;  /* FEATURED flag */
  --cream:       #fbf7ef;
  --sans:  "Satoshi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --maxw: 1200px;
  /* Figma's spring (mass 1, stiffness 100, damping 15) solved and sampled as an
     easing curve: damping ratio .75, so it overshoots ~2.8% and settles in .82s.
     A cubic-bezier can't overshoot, hence linear(). */
  --spring: linear(
    0 0%, 0.0424 3.8%, 0.1441 7.7%, 0.2747 11.5%, 0.4131 15.4%, 0.5455 19.2%,
    0.6637 23.1%, 0.7637 26.9%, 0.8447 30.8%, 0.9073 34.6%, 0.9536 38.5%,
    0.9861 42.3%, 1.0075 46.2%, 1.0202 50%, 1.0265 53.8%, 1.0284 57.7%,
    1.0273 61.5%, 1.0245 65.4%, 1.0208 69.2%, 1.0169 73.1%, 1.0131 76.9%,
    1.0097 80.8%, 1.0069 84.6%, 1.0045 88.5%, 1.0027 92.3%, 1.0014 96.2%, 1 100%
  );
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  color: var(--neutral-900);
  background: #fff;
  line-height: 1.45;
  /* backstop for the full-bleed decorative curves. `hidden` on body alone relies on
     overflow propagating to the viewport, which some browsers don't honour — `clip`
     on both html and body kills the sideways scroll without making a scroll container */
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0%;font-size: 22px;
    line-height: 28px; }

/* ---------- shared ---------- */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eeeef1;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}
.nav-logo-header-footer{
  height: 90px;
  width: auto;
  padding-bottom: 10px;
}
.pill--outline { background: transparent; color: var(--gold-50); border: 1px solid rgba(255,255,255,.12); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;   /* 0.28px @ 14px, per Figma buttons */
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-dark  { background: #000; color: #fff; }   /* Neutral-950, per Figma "Dark Solid" */
.btn-outline {
  background: rgba(255,255,255,.11);
  border: .8px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #fafafa;
  height: 40px;
  padding: 0 12px;
  font-family: "Clash Display", var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 4px;
}
button.btn { border: none; cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }

/* ---------- navbar ---------- */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 40px;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(20px, 2.2vw, 48px);
  align-items: center;
}
.nav-left { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: clamp(20px, 2.2vw, 48px); }
.nav-link {
  color: #fafafa;
  /* 16px is the Figma size and holds from ~1392px up. Below that the four
     top-level items no longer clear the centred logo, so the label steps
     down rather than wrapping onto a second line and colliding with it. */
  font-size: clamp(13px, 1.4vw, 16px);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: .02em;      /* 0.32px @ 16px */
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link .chev { display: inline-block; margin-left: 3px; font-size: 13px; line-height: 1; opacity: .9; transform-origin: center; transition: transform .25s; }
.nav-link:hover { color: var(--gold-300); }

/* ---- offerings dropdown ---- */
.nav-item { position: relative; }
.nav-item.has-menu > .nav-link { cursor: pointer; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  width: max-content;   /* sized to its longest entry, so every item stays on one line */
  margin-top: 14px;
  padding: 8px;
  background: var(--neutral-50);
  border: 1px solid #eeeef1;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
.nav-dropdown--about { min-width: 360px; padding: 14px; }
.nav-dropdown__group {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: start;
  padding: 10px 0;
}
.nav-dropdown__group + .nav-dropdown__group { border-top: 1px solid #eeeef1; }
.nav-dropdown__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding-top: 9px;      /* optically aligns the label with the first link row */
}
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-menu:hover > .nav-link .chev { transform: rotate(180deg); }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--neutral-600);
  transition: background .18s, color .18s;
}
.nav-dropdown a:hover { background: #f4f4f6; color: var(--gold-500); }
.nav-dropdown a.is-active { color: var(--gold-500); }
/* logo sits at the far left; both menu groups follow it on the right (explicit
   columns because .nav-left comes before the logo in the markup) */
.nav-logo { grid-column: 1; grid-row: 1; text-align: left; color: #fff; }
.nav-right { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 2.2vw, 48px); }
/* NEWS ROOM / EVENTS live in this column, so their panels hang from the right
   edge of the item — left-aligned they would run off the side of the viewport */
.nav-right .nav-dropdown { left: auto; right: 0; }

/* ---- second-row section nav (About-Us destinations) ---- */
.nav-subnav {
  max-width: 1360px;
  margin: 12px auto 0;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 44px;
}
.nav-subnav.is-open { display: flex; animation: subnav-in .22s ease both; }
@keyframes subnav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-subnav__link {
  color: var(--neutral-300);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .18s;
}
.nav-subnav__link:hover { color: var(--gold-300); }
.nav-subnav__link.is-active { color: var(--gold-500); }

/* ---- mobile: hamburger trigger + full-screen menu ---- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  justify-self: start;
  align-items: end;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s;
}
.mobile-nav.is-open { visibility: visible; transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eeeef1;
}
.mobile-nav__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--neutral-900);
  cursor: pointer;
}
.mobile-nav__logo img { height: 40px; width: auto; }
.mobile-nav__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 20px; }

.mobile-acc { border-bottom: 1px solid #eeeef1; }
.mobile-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--neutral-900);
  cursor: pointer;
  font-family: 'Satoshi';
}
.mobile-acc__trigger .chev { font-size: 16px; line-height: 1; color: #9a9aa4; transition: transform .25s, color .25s; }
.mobile-acc.is-open .mobile-acc__trigger { color: var(--gold-500); }
.mobile-acc.is-open .mobile-acc__trigger .chev { color: var(--gold-500); transform: rotate(180deg); }
/* grid-rows 0fr -> 1fr is a smooth auto-height collapse with no JS measuring */
.mobile-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.mobile-acc.is-open .mobile-acc__panel { grid-template-rows: 1fr; }
.mobile-acc__panel-inner { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 2px; }
.mobile-acc__panel a {
  margin: 2px 0;
  padding: 12px 14px;
  background: #fff;
  font-size: 14px;
  color: #606070;
  font-family: 'Satoshi';
}
.mobile-acc__panel a:hover { color: var(--neutral-900); }
.mobile-nav__cta { margin: 16px 20px 24px; justify-content: center; }
body.mobile-nav-open { overflow: hidden; }

/* ---------- FAQ curve + shared dark FAQ accordion ---------- */
.faq-wave-top {
  position: absolute;
  top: -1px;
  left: -2px;
  width: calc(100% + 4px);
  max-width: none;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.faq {
  text-align: left;
  border-bottom: 1px solid #26262e;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #fff;
  font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 16px; height: 16px; flex: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(180deg); }
/* questions read upright: the <em> wrapper is only there for the serif face */
.faq summary em { font-style: normal; }
.faq p {
  color: #b9b9c2;
  font-size: 14px;
  line-height: 1.65;
  padding: 0 0 22px;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.5) 72%, rgba(0,0,0,.7) 100%),
    url("assets/img/FooterBG.png") center / cover no-repeat,
    #000;
  color: #fff;
  padding: 70px 40px 40px;
  text-align: center;
}
.footer-logo-img { height: 44px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.footer-rule { border: 0; border-top: 1px solid #232329; max-width: 1000px; margin: 34px auto; }
/* five link columns since News Room and IGM at Events joined the footer; the
   1000px cap lines the grid up with the .footer-rule above it */
.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: left;
}
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: #a2a2ab;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 50px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #86868c;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.footer-brand{
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: var(--gold-300); }
.footer-legal { margin-top: 44px; font-size: 12px; color: #9a9aa2; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-top: 10px; font-size: 12px; color: #7c7c85; }

/* ---------- scroll-reveal + scrolled navbar + reduced motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; position: relative; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .60s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .72s; }
/* per-child reveal when a stagger group is taller than the viewport (mobile) */
.reveal-stagger > .visible { opacity: 1; transform: none; }
.navbar { transition: background .35s ease, backdrop-filter .35s ease; }
.navbar.scrolled {
  position: fixed;
  background: rgba(5, 5, 10, .65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none; animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   NEWS ROOM — hero, search toolbar, release timeline, press grid
   Shared by media-release.html and in-the-news.html. Like the blog,
   both sit on a light background, so the navbar takes the solid dark
   fill instead of the transparent bar the product pages use.
   ============================================================ */
.news-page .navbar { background: var(--neutral-950); }

/* Navbar is position:absolute (out of flow), so the hero must reserve
   its height (~104px) plus the 24px top gap before the breadcrumb —
   same clearance the blog hero uses. */
.news-hero { position: relative; overflow: hidden; padding: 128px 0 0; }

/* gold radial glow bleeding down from behind the title (Gold-300 @ 30%),
   matching the blog hero so the News and Blog shells read as one family */
.news-hero__glow {
  position: absolute;
  top: -76px; left: 50%;
  width: 957px; height: 353px;
  transform: translateX(-50%);
  background: var(--gold-300);
  opacity: .30;
  border-radius: 9999px;
  filter: blur(102px);
  pointer-events: none;
}

/* breadcrumb */
.news-crumbs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 56px;
  margin-bottom: 64px;
}
.news-crumbs a { color: var(--neutral-600); font-size: 12px; line-height: 16px; }
.news-crumbs a:hover { color: var(--gold-600); }
.news-crumbs .sep { color: var(--gray-500); font-weight: 300; font-size: 16px; }
.news-crumbs .current { color: var(--neutral-900); font-size: 14px; font-weight: 500; line-height: 20px; }

/* hero heading */
.news-hero__head {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px 0;
}
.news-hero__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 60px; line-height: 76px; color: var(--neutral-900); }
.news-hero__sub { color: var(--neutral-800); font-size: 16px; line-height: 22px; max-width: 620px; }

/* ---------- search + year toolbar ----------
   Replaces the reference layout's dark "Select Year" band. With a single
   year of releases that band was a wide dark strip holding one control, so
   the filter leads with search instead and the years render as chips beside
   it — the whole row is hidden by the JS until a second year exists. */
.news-toolbar {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.news-search {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 360px;
  max-width: 100%;
  height: 46px;
  padding: 4px 16px;
  border-radius: 24px;
  background: var(--neutral-50);
  box-shadow: 0 4px 9px rgba(0,0,0,.05);
  outline: 1px solid rgba(200,200,210,.20);
  outline-offset: -1px;
  transition: outline-color .18s, box-shadow .18s;
}
.news-search:focus-within { outline-color: var(--gold-500); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.news-search i { color: var(--gold-600); font-size: 15px; }
.news-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .2px;
  color: var(--neutral-900);
}
.news-search input::placeholder { color: var(--neutral-500); opacity: 1; }
/* the native clear affordance is inconsistent across browsers; the row already
   reads as empty when the field is, so hide it rather than style it */
.news-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* year chips — same pill language as the blog's category filters */
.news-years { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.news-years[hidden] { display: none; }
.news-chip {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 48px;
  background: var(--neutral-200);
  box-shadow: 0 4px 7px rgba(0,0,0,.04) inset;
  color: var(--neutral-700);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.news-chip:hover { color: var(--neutral-900); }
.news-chip.is-active {
  background: var(--neutral-950);
  box-shadow: 0 4px 11px rgba(0,0,0,.10), 0 4px 8px rgba(255,255,255,.38) inset;
  color: var(--gold-200);
}
.news-count { color: var(--neutral-500); font-size: 14px; line-height: 20px; }

/* ---------- releases timeline ----------
   Date column · rail with its dot · callout card, per the reference
   layout. The rail is drawn on the middle column so it runs unbroken
   behind every dot without a separate absolutely-positioned line. */
.news-timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 110px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.news-entry {
  display: grid;
  grid-template-columns: 132px 24px 1fr;
  align-items: start;
  column-gap: 20px;
}
.news-entry[hidden] { display: none; }
.news-entry__date {
  padding-top: 18px;
  text-align: right;
  color: var(--neutral-500);
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
}
/* the rail: a hairline centred in the 24px column, with the dot on top.
   min-height keeps it drawn even for a single-line entry. */
.news-entry__rail {
  position: relative;
  align-self: stretch;
  min-height: 72px;
}
.news-entry__rail::before {
  content: "";
  position: absolute;
  top: -28px; bottom: -28px; left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--neutral-200);
}
/* first/last visible entries stop the rail at their own dot instead of
   bleeding into the gap above the first card / below the last. JS keeps
   .is-first / .is-last on the filtered set so the trim follows the year. */
.news-entry.is-first .news-entry__rail::before { top: 26px; }
.news-entry.is-last  .news-entry__rail::before { bottom: calc(100% - 26px); }
.news-entry__dot {
  position: absolute;
  top: 20px; left: 50%;
  width: 13px; height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(185, 144, 63, .16);
  transition: box-shadow .25s var(--spring), background .25s;
}
.news-entry:hover .news-entry__dot { box-shadow: 0 0 0 7px rgba(185, 144, 63, .18); }

.news-entry__card {
  position: relative;
  cursor: pointer;   /* the whole card opens its document — see news-room.js */
  padding: 20px 28px;
  border-radius: 6px;
  background: var(--neutral-100);
  transition: background .22s, box-shadow .22s, transform .22s;
}
/* the card's pointer back to the rail — a rotated square, so its two visible
   edges pick up the card's own background with no seam */
.news-entry__card::before {
  content: "";
  position: absolute;
  top: 20px; left: -6px;
  width: 14px; height: 14px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 2px;
}
.news-entry:hover .news-entry__card {
  background: var(--neutral-50);
  box-shadow: 0 12px 30px rgba(13, 15, 26, .08);
  transform: translateY(-2px);
}
/* outlet name on press-coverage entries (In the News). Per the reference it
   sits in the date column under the date, so it undoes the date's nowrap and
   colour and lets a long masthead wrap; Media Release has none */
.news-entry__source {
  display: block;
  margin-top: 4px;
  white-space: normal;
  color: var(--neutral-700);
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
}
/* press entries carry that masthead under the date, so their date column is
   wider than Media Release's 132px */
.news-timeline[data-noun="article"] .news-entry { grid-template-columns: 180px 24px 1fr; }
/* on press entries the headline itself is the link to the clipping */
.news-entry__title a { transition: color .18s; }
.news-entry__title a:hover { color: var(--gold-600); }
.news-entry__title {
  color: var(--neutral-900);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}
.news-entry__excerpt { margin-top: 10px; color: var(--neutral-600); font-size: 15px; line-height: 24px; }
.news-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--gold-600);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.news-entry__link i { font-size: 12px; transition: transform .2s var(--spring); }
.news-entry__link:hover i { transform: translate(2px, -2px); }

/* shown by assets/js/news-room.js when a year has no entries */
.news-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--neutral-500);
  font-size: 16px;
  line-height: 24px;
}
.news-empty[hidden] { display: none; }
/* in the coverage grid the message is a grid item, so it has to span both
   columns or it sits in the first cell, off-centre */
.news-grid .news-empty { grid-column: 1 / -1; }

/* ---------- in-the-news coverage grid ---------- */
.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 110px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.news-item {
  display: flex;
  cursor: pointer;   /* the whole card opens its clipping — see news-room.js */
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 6px;
  background: var(--neutral-100);
  border-left: 3px solid transparent;
  transition: background .22s, box-shadow .22s, border-color .22s, transform .22s;
}
.news-item[hidden] { display: none; }
.news-item:hover {
  background: var(--neutral-50);
  border-left-color: var(--gold-500);
  box-shadow: 0 12px 30px rgba(13, 15, 26, .08);
  transform: translateY(-2px);
}
.news-item__meta { display: flex; align-items: center; gap: 12px; }
.news-item__source {
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.news-item__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--neutral-300); }
.news-item__date { color: var(--neutral-500); font-size: 13px; line-height: 18px; }
/* headline runs in the serif italic the rest of the site uses for card titles */
.news-item__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 34px; color: var(--neutral-900); }
.news-item__excerpt { color: var(--neutral-600); font-size: 15px; line-height: 24px; }
.news-item__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--neutral-900);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.news-item__link i { font-size: 12px; color: var(--gold-600); transition: transform .2s var(--spring); }
.news-item:hover .news-item__link i { transform: translate(2px, -2px); }
/* Instrument Serif has no Gujarati glyphs, and a synthesised italic on the
   system fallback reads badly, so that headline runs upright in the sans stack */
.news-item__title:lang(gu) { font-family: var(--sans); font-style: normal; font-size: 22px; line-height: 32px; }

/* ---------- full coverage compilation ----------
   The one "Online and Print" PDF is a collection, not an article, so it spans
   the grid as a single dark strip ahead of the cards instead of posing as a
   thirteenth clipping. */
.news-compilation {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 6px;
  border-top: 3px solid var(--gold-500);
  background: var(--neutral-950);
  transition: box-shadow .22s, transform .22s;
}
/* inside the timeline, keep the strip clear of the first entry's dot */
.news-timeline .news-compilation { margin-bottom: 12px; }
.news-compilation:hover { box-shadow: 0 12px 30px rgba(13, 15, 26, .18); transform: translateY(-2px); }
.news-compilation__icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold-300);
  color: var(--gold-200);
  font-size: 19px;
}
.news-compilation__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.news-compilation__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 30px; color: var(--neutral-50); }
.news-compilation__meta { color: var(--neutral-400); font-size: 13px; line-height: 18px; }
.news-compilation__cta { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-300); font-size: 14px; font-weight: 500; }
.news-compilation__cta i { font-size: 12px; transition: transform .2s var(--spring); }
.news-compilation:hover .news-compilation__cta i { transform: translate(2px, -2px); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-left { display: none; }
  .nav-subnav, .nav-subnav.is-open { display: none; }
  .nav-right { display: none; }
  .nav-logo { grid-column: 1; grid-row: 1; }
  .nav-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-toolbar { margin-top: 56px; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .navbar { padding: 14px 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
  .news-hero { padding-top: 108px; }
  .news-crumbs { padding: 0 20px; margin-bottom: 40px; }
  .news-hero__title { font-size: 40px; line-height: 50px; }
  .news-toolbar { margin-top: 40px; padding: 0 16px; gap: 16px; }
  /* phone: the date moves above the card and the rail collapses, so the
     entry reads as a simple stacked list instead of a three-column grid */
  .news-timeline { padding: 40px 16px 72px; gap: 20px; }
  .news-entry { grid-template-columns: 1fr; row-gap: 6px; }
  .news-entry__date { padding-top: 0; text-align: left; font-size: 14px; }
  .news-entry__rail { display: none; }
  .news-entry__card { padding: 16px 18px; }
  .news-entry__card::before { display: none; }
  .news-entry__title { font-size: 16px; line-height: 24px; }
  .news-entry__excerpt { font-size: 14px; line-height: 22px; }
  /* the wider press column must collapse too — its selector outranks the
     plain .news-entry rule above — and the masthead runs beside the date */
  .news-timeline[data-noun="article"] .news-entry { grid-template-columns: 1fr; }
  .news-entry__source { display: inline; margin: 0 0 0 8px; font-size: 14px; line-height: 20px; }
  .news-grid { padding: 40px 16px 72px; gap: 16px; }
  .news-item { padding: 20px; gap: 12px; }
  .news-item__title { font-size: 22px; line-height: 30px; }
  .news-item__excerpt { font-size: 14px; line-height: 22px; }
  .news-item__title:lang(gu) { font-size: 19px; line-height: 28px; }
  /* a long masthead (The Hindu BusinessLine) would otherwise squeeze the date
     into two lines mid-phrase; wrapping the row drops it whole onto the next */
  .news-item__meta { flex-wrap: wrap; row-gap: 4px; }
  .news-item__date { white-space: nowrap; }
  /* the strip stacks on a phone: the icon drops out and the CTA takes its own row */
  .news-compilation { flex-wrap: wrap; gap: 12px; padding: 18px 20px; }
  .news-compilation__icon { display: none; }
  .news-compilation__title { font-size: 20px; line-height: 26px; }
  .news-compilation__cta { width: 100%; }
}
