@font-face {
  font-family: "Myriad Condensed";
  src: url("fonts/myriad-pro-bold-cond.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --rg-bg: #faf4e6;
  --rg-surface: #fffdfa;
  --rg-border: #e5d9bd;
  --rg-divider: #d7c8a5;
  --rg-ink: #0b1530;
  --rg-body: #30394d;
  --rg-body-2: #596279;
  --rg-muted: #737b8d;
  --rg-primary: #0136c2;
  --rg-primary-soft: #bcd0ff;
  --rg-cta: #ffdc00;
  --rg-accent: #16799f;
  --paper: #fffdf8;
  --display: "Myriad Condensed", Impact, "Arial Narrow", sans-serif;
  --text: Arial, "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", sans-serif;
  --pad: clamp(22px, 6vw, 72px);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--rg-bg);
  color: var(--rg-body);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; object-fit: contain; }
a { color: var(--rg-primary); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--rg-ink); }
a:focus-visible { outline: 4px solid var(--rg-cta); outline-offset: 4px; }

.proof-note {
  max-width: 1120px;
  margin: 0 auto;
  padding: 9px 18px;
  background: #fff7c7;
  border-bottom: 1px solid #ead47a;
  color: #655512;
  font-size: 12px;
  line-height: 1.35;
}
.sitebar {
  max-width: 1120px;
  min-height: 48px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--rg-primary);
  color: #fff;
  font-size: 12px;
  letter-spacing: .02em;
}
.sitebar strong { font-family: var(--display); font-size: 19px; letter-spacing: .08em; }
.sitebar a {
  flex: none;
  padding: 7px 12px;
  border-radius: 7px;
  background: var(--rg-cta);
  color: var(--rg-ink);
  font-weight: 800;
  text-decoration: none;
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(11, 21, 48, .13);
}
.masthead { margin: 0; background: var(--rg-cta); }
.masthead img { width: 100%; }
.section {
  position: relative;
  padding: clamp(46px, 7vw, 82px) var(--pad);
  border-top: 8px solid var(--rg-cta);
}
.section h1,
.section h2,
.section h3 {
  margin-top: 0;
  color: var(--rg-ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: .94;
  text-transform: uppercase;
}
.section h1 {
  max-width: 900px;
  margin: 0 auto clamp(26px, 4vw, 44px);
  color: var(--rg-accent);
  font-size: clamp(48px, 8.4vw, 94px);
  letter-spacing: .005em;
  text-align: center;
}
.section h2 {
  margin-bottom: clamp(28px, 4vw, 46px);
  font-size: clamp(42px, 6.5vw, 72px);
  letter-spacing: .01em;
}
.section h3 { font-size: clamp(29px, 4vw, 46px); }
.content-block p { margin: .72em 0; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.source-link { display: block; color: inherit; text-decoration: none; }
.source-link img { transition: filter .18s ease; }
.source-link:hover img { filter: brightness(.96); }

/* Page one: title, alliance portrait and statement retain the PDF sequence. */
.hero {
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(rgba(231, 185, 0, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 185, 0, .22) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: right 72px;
}
.hero-copy { display: contents; }
.hero h1 { order: 1; }
.hero > .source-link { order: 2; width: 100%; }
.hero-copy > .content-block { order: 3; }
.hero-copy > .sr-only { order: 4; }
.hero > .source-link img { width: 100%; }
.hero-copy .hero-highlight,
.hero-copy > .content-block:not(.sr-only) {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.hero-copy p { font-size: clamp(16px, 2vw, 21px); }
.hero-highlight > p:first-child {
  display: inline;
  padding: .08em .26em;
  background: linear-gradient(transparent 8%, var(--rg-cta) 8%, var(--rg-cta) 92%, transparent 92%);
  color: var(--rg-ink);
  font-weight: 800;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Wayanad / Maharashtra follows the source's broad-left, narrow-right spread. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: stretch;
}
.panel { min-width: 0; }
.panel:first-child {
  padding-right: clamp(28px, 4vw, 48px);
  border-right: 3px solid var(--rg-ink);
}
.panel img { width: 100%; margin-bottom: 24px; }
.panel h3 { color: var(--rg-accent); }
.panel:first-child > .content-block:first-of-type p,
.panel:first-child > .content-block:nth-of-type(2) p,
.panel:first-child > .content-block:first-of-type h3 {
  color: var(--rg-accent);
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: .9;
  text-transform: uppercase;
}
.panel:first-child > .content-block:nth-of-type(3) p,
.edition-2024-nov-28-hi .panel:first-child > .content-block:nth-of-type(2) p {
  display: inline;
  padding: .08em .22em;
  background: var(--rg-cta);
  color: var(--rg-ink);
  font-weight: 800;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tweet {
  align-self: stretch;
  padding: 26px 22px 20px;
  border: 1px solid var(--rg-border);
  border-left: 7px solid var(--rg-primary);
  border-radius: 0 22px 22px 0;
  background: var(--rg-surface);
  box-shadow: 0 8px 28px rgba(11, 21, 48, .06);
  font-size: 14px;
}
.edition-2024-nov-28-en .tweet > .content-block:nth-child(-n+3) p,
.tweet h3 {
  margin: .04em 0;
  color: var(--rg-accent);
  font-family: var(--display);
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: .9;
  text-transform: uppercase;
}
.tweet a { font-weight: 800; }

/* Page two: sepia editorial statement and horizontal event treatment. */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: end;
  overflow: hidden;
  background: #ddcbb4;
}
.statement::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(77, 52, 32, .13);
  border-radius: 50%;
  pointer-events: none;
}
.statement > div { min-width: 0; }
.statement h2 { color: #2d2725; }
.statement .eyebrow {
  float: left;
  margin: 0 22px 12px 0;
  padding: 14px 8px;
  border-right: 2px solid rgba(75, 53, 37, .35);
  color: #9c7b5d;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.statement .eyebrow h3,
.statement .eyebrow p { margin: 0; color: inherit; font: inherit; }
.statement img { position: relative; z-index: 1; width: 100%; }
.statement a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--rg-cta);
  color: var(--rg-ink);
  font-weight: 800;
  text-decoration: none;
}
.edition-2024-nov-28-hi .statement [data-content-block-id="section-3-block-02"],
.edition-2024-nov-28-hi .statement [data-content-block-id="section-3-block-03"] {
  color: #5e4c3d;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

.focus { background: var(--paper); }
.focus > h2 {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  padding: .14em .25em .08em;
  background: var(--rg-cta);
  text-align: center;
}
.focus-grid { display: block; }
.focus-main img { width: 100%; }
.focus-main > .content-block:first-of-type p {
  margin: 0 0 24px;
  color: var(--rg-accent);
  font-family: var(--display);
  font-size: clamp(31px, 4.4vw, 52px);
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
}
.event-link a,
.focus-follow a {
  display: inline-block;
  padding: 9px 15px;
  background: var(--rg-cta);
  color: var(--rg-ink);
  font-weight: 800;
  text-decoration: none;
}
.event-copy { min-width: 0; font-size: clamp(15px, 1.7vw, 19px); }
.event-copy .content-block p { margin: 0 0 .16em; }
.event-copy .content-block:last-child p { margin-bottom: 0; }
.event-media {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(230px, .75fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.event-link { margin-top: 14px; text-align: center; }
.focus-follow { margin: 28px auto 18px; text-align: center; }
.focus-follow p { margin: .35em 0; }
.episode-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
  color: var(--rg-body-2);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
.episode-labels p { margin: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.episode-grid img { width: 100%; }

/* Page three: one panoramic lead followed by the source's two-column mosaic. */
.mosaic {
  background-image:
    linear-gradient(rgba(231, 185, 0, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 185, 0, .2) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: right top;
}
.mosaic > h2 {
  max-width: 940px;
  color: var(--rg-ink);
  font-size: clamp(54px, 9vw, 104px);
}
.mosaic > h2::first-letter { color: var(--rg-accent); }
.mosaic-lead img { width: 100%; }
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(30px, 5vw, 54px);
}
.card {
  min-width: 0;
  background: var(--rg-surface);
  border: 1px solid var(--rg-border);
  box-shadow: 0 8px 24px rgba(11, 21, 48, .06);
}
.card img { width: 100%; }
.caption {
  min-height: 72px;
  padding: 14px 18px;
  background: var(--rg-cta);
  color: var(--rg-ink);
  text-align: center;
}
.caption p { margin: .12em 0; }
.showcase-caption-title { font-weight: 800; }
.caption .duplicate-baked-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.mosaic > p:last-child { margin: 34px 0 0; text-align: center; }
.mosaic > p:last-child a {
  display: inline-block;
  padding: 12px 24px;
  background: var(--rg-cta);
  color: var(--rg-ink);
  font-weight: 800;
  text-decoration: none;
}

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px var(--pad) 34px;
  background: var(--rg-primary);
  color: #fff;
  text-align: center;
}
.footer strong { font-family: var(--display); font-size: 24px; letter-spacing: .04em; }
.footer p { margin: .35em 0 .8em; color: var(--rg-primary-soft); font-size: 13px; }
.footer nav { line-height: 2; }
.footer a { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
  body { font-size: 15px; }
  main { box-shadow: none; }
  .sitebar { flex-wrap: wrap; gap: 6px 12px; }
  .sitebar span { order: 3; flex-basis: 100%; }
  .section { padding: 42px 20px; border-top-width: 6px; }
  .section h1 { font-size: clamp(43px, 13vw, 58px); }
  .section h2 { font-size: clamp(38px, 11vw, 50px); }
  .hero { background-size: 28px 28px; }
  .hero > .source-link { margin-right: -8px; margin-left: -8px; width: calc(100% + 16px); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .panel:first-child { padding: 0 0 34px; border-right: 0; border-bottom: 3px solid var(--rg-ink); }
  .tweet { padding: 22px 18px; }
  .statement { grid-template-columns: 1fr; gap: 30px; }
  .statement .eyebrow {
    float: none;
    display: inline-block;
    margin: 0 0 12px;
    padding: 7px 12px;
    border: 0;
    background: rgba(255, 220, 0, .75);
    color: var(--rg-ink);
    font-size: 22px;
    writing-mode: horizontal-tb;
    transform: none;
  }
  .statement img { width: calc(100% + 40px); max-width: none; margin: 0 -20px -42px; }
  .event-media { grid-template-columns: 1fr; }
  .event-copy { font-size: 15px; }
  .episode-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .episode-grid > :last-child { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  .mosaic { background-size: 32px 32px; }
  .mosaic-grid { grid-template-columns: 1fr; }
  .caption { min-height: 0; }
  .footer { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .source-link img { transition: none; }
}
