/* 2025-jun-15 (hi) — hand-authored stylesheet.
   Geometry is expressed in "u": one 986th of the newsletter column, so desktop proportions follow the PDF raster
   (986 px wide). Every text size has a pixel floor so the page reflows as a real mobile layout at 390 px. */

@font-face { font-family: "Mukta"; font-weight: 400; font-style: normal; font-display: swap; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-Regular-880c596778.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 500; font-style: normal; font-display: swap; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-Medium-cad989f4ee.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 700; font-style: normal; font-display: swap; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-Bold-6847a53523.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 800; font-style: normal; font-display: swap; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-ExtraBold-6860c0f590.woff2") format("woff2"); }
@font-face { font-family: "Tiro Devanagari Hindi"; font-weight: 400; font-style: normal; font-display: swap; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/TiroDevanagariHindi-Regular-cbc327fabe.woff2") format("woff2"); }
@font-face { font-family: "Sahitya"; font-weight: 700; font-style: normal; font-display: swap; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Sahitya-Bold-dc8189bd92.woff2") format("woff2"); }

:root {
  --sans: "Mukta", "Hind", "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  --serif: "Tiro Devanagari Hindi", "Sahitya", "Noto Serif Devanagari", "Kokila", serif;
  --kicker: "Sahitya", "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --ink: #1F1E1D;
  --pink: #E10A59;
  --red: #CD2324;
  --yellow: #FCD402;
  --card: #E8E8E8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #E4E4E4;
  color: var(--ink);
  font-family: var(--serif);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

/* Canonical text the PDF never prints: kept in the document for assistive technology,
   removed from the painted page. Out of flow, so it costs no layout. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  container-type: inline-size;
  --u: calc(100cqw / 986);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.14);
}

/* ---------- masthead ---------- */
.masthead {
  position: relative;
  height: calc(327 * var(--u));
  background-color: #FCFCFC;
  background-image:
    linear-gradient(to right, #E8E8E8 calc(4 * var(--u)), transparent calc(4 * var(--u))),
    linear-gradient(to bottom, #E8E8E8 calc(4 * var(--u)), transparent calc(4 * var(--u)));
  background-size: calc(100 * var(--u)) calc(100 * var(--u));
  background-position: calc(90 * var(--u)) calc(30 * var(--u));
  overflow: hidden;
}
.wordmark {
  position: absolute;
  left: calc(44 * var(--u));
  /* ink centre sits at 164u like the PDF wordmark; 0.633em is the measured box-top-to-ink-centre offset */
  top: calc(164 * var(--u) - 0.633em);
  margin: 0;
  font: 800 min(calc(224 * var(--u)), 21vw) / 1.3 var(--sans);
  letter-spacing: -0.012em;
  white-space: nowrap;
  background: linear-gradient(#516B82, #415A70 35%, #3E586F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dateline {
  position: absolute;
  left: calc(378 * var(--u));
  bottom: calc(22 * var(--u));
  margin: 0;
  font: 400 calc(46 * var(--u)) / 1.2 var(--serif);
  color: #242424;
  white-space: nowrap;
}
.portrait {
  position: absolute;
  right: 0;
  top: 0;
  width: calc(286 * var(--u));
  height: auto;
  display: block;
}

/* ---------- shared story pieces ---------- */
.story { position: relative; }
.body {
  margin: 0;
  font: 400 max(17px, calc(34 * var(--u))) / 1.32 var(--serif);
  color: #111;
}
.centered { text-align: center; }
.cta-row { text-align: center; margin: 0; }
.cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font: 400 max(17px, calc(34 * var(--u))) / 1.4 var(--serif);
  padding: 0.2em calc(22 * var(--u)) 0.22em;
}
.cta:hover, .cta:focus-visible { background: #FFE24D; }

/* ---------- story 1: condolence on the diya band ---------- */
.story-condolence {
  background: #0E151A;
  color: #FEFEFE;
  overflow: hidden;
}
.diya {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
/* With the heading unpainted the band is four text lines tall; 48 + 4*46.1 + 65 = 297u,
   the PDF's band height, and the first line lands on the PDF's 56u top margin. */
.condolence-text {
  position: relative;
  margin-left: calc(333 * var(--u));
  padding: calc(48 * var(--u)) calc(72 * var(--u)) calc(65 * var(--u)) 0;
}
/* The raster sets this paragraph in the same modulated text face as every other story
   body, not in the sans. 29u/1.59 reproduces the PDF's four lines at its 46u pitch. */
.condolence-text p {
  margin: 0;
  font: 400 max(16px, calc(29 * var(--u))) / 1.59 var(--serif);
  color: #FEFEFE;
}

/* ---------- story 2: women's justice dialogue ---------- */
.story-women { background: #fff; padding-top: calc(43 * var(--u)); }
.women-photo { margin: 0 calc(37 * var(--u)); }
.women-photo img { width: 100%; height: auto; display: block; }

.display-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: calc(56 * var(--u)) calc(36 * var(--u)) 0;
  font: 700 max(28px, calc(78 * var(--u))) / 1.12 var(--sans);
  color: #282828;
}
.dh { display: contents; font: inherit; }
.dh-l1 { order: 1; flex: 0 0 100%; }
.dh-l2 { order: 2; padding-left: calc(92 * var(--u)); }
.dh-extra { order: 3; margin: 0; padding-left: 0.22em; font: inherit; }
.dh-pill {
  order: 4;
  margin: calc(18 * var(--u)) auto 0;
  background: var(--pink);
  color: #fff;
  font-size: max(31px, calc(93 * var(--u)));
  line-height: 1.5;
  padding: 0.1em calc(50 * var(--u)) 0.1em;
  text-align: center;
}
.pink { color: var(--pink); }

.women-body {
  margin-top: calc(47 * var(--u));
  padding: 0 calc(37 * var(--u)) calc(52 * var(--u));
  background: linear-gradient(#fff 0, #E3F4FB 42%, #CCE9F7 72%, #9CD9F1 100%);
}
.women-body .cta-row { margin-top: calc(49 * var(--u)); }

/* ---------- story 3: match fixing ---------- */
.story-matchfixing {
  background: linear-gradient(#FFF9E1, #FFFDF6 85%);
  padding-top: calc(47 * var(--u));
  overflow: hidden;
}
.h-matchfixing {
  margin: 0 calc(60 * var(--u));
  text-align: center;
  font: 700 max(30px, calc(90 * var(--u))) / 1.25 var(--sans);
  color: #1E1E1E;
}
.red { color: var(--red); }
.matchfixing-cols {
  padding: calc(22 * var(--u)) calc(37 * var(--u)) 0 calc(70 * var(--u));
}
.evm {
  float: right;
  width: calc(400 * var(--u));
  height: auto;
  margin: 0 calc(-37 * var(--u)) 0 calc(6 * var(--u));
}
.matchfixing-cta {
  clear: both;
  padding: calc(19 * var(--u)) 0 calc(40 * var(--u));
}

/* ---------- story 4: focus event card ---------- */
.story-bihar { background: #fff; }
.card-shadow {
  height: calc(78 * var(--u));
  background: linear-gradient(#D6D5D1, #BEBDB9 55%, #B4B3AF);
}
.focus-card {
  position: relative;
  margin-top: calc(-40 * var(--u));
  border-radius: calc(40 * var(--u)) calc(40 * var(--u)) 0 0;
  background-color: var(--card);
  background-image:
    linear-gradient(to right, #E3E3E3 calc(3 * var(--u)), transparent calc(3 * var(--u))),
    linear-gradient(to bottom, #E3E3E3 calc(3 * var(--u)), transparent calc(3 * var(--u)));
  background-size: calc(100 * var(--u)) calc(100 * var(--u));
}
.kicker {
  margin: 0;
  padding: calc(52 * var(--u)) calc(20 * var(--u)) 0;
  text-align: center;
  font: 700 max(40px, calc(122 * var(--u))) / 1.2 var(--kicker);
  background: linear-gradient(#9C2E2F, #7E2A2A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.podium-photo { margin: calc(18 * var(--u)) 0 0; }
.podium-photo img { width: 100%; height: auto; display: block; }

.pills {
  /* the black pill straddles the bottom edge of the grey card; the red pill sits on white below it */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 * var(--u));
  margin: calc(-52 * var(--u)) calc(20 * var(--u)) 0;
  /* modulated bold in the raster, matching the फोकस इवेंट kicker on the same card —
     not the monoline sans used for the pink pill on page 1 */
  font: 700 max(21px, calc(57 * var(--u))) / 1.5 var(--kicker);
  color: #fff;
  text-align: center;
}
.pill { display: block; padding: 0.1em calc(18 * var(--u)) 0.12em; }
.pill-black { background: #232323; }
.pill-red { background: #CF2224; }

.bihar-body { padding: calc(31 * var(--u)) calc(60 * var(--u)) calc(50 * var(--u)); }
.bihar-body .cta-row { margin-top: calc(22 * var(--u)); }

/* ---------- story 5: snapshots ---------- */
.story-snapshots {
  border-top: 2px solid #E2E2E2;
  padding-top: calc(28 * var(--u));
  background: #fff;
}
.h-snapshots {
  margin: 0;
  text-align: center;
  font: 700 max(44px, calc(126 * var(--u))) / 1.15 var(--sans);
  background: linear-gradient(#064F7C, #1B86BA 55%, #20A6E3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-caption {
  position: relative;
  z-index: 1;
  margin: calc(6 * var(--u)) auto 0;
  padding: 0 calc(36 * var(--u));
  text-align: center;
  font: 400 max(17px, calc(34 * var(--u))) / 1.22 var(--serif);
  color: #111;
}
.hero-caption p { margin: 0; }
.hero {
  position: relative;
  margin: calc(-58 * var(--u)) 0 0;
}
.hero img { width: 100%; height: auto; display: block; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  background: linear-gradient(#fff 0, rgba(255, 255, 255, 0.85) 35%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.badge {
  position: absolute;
  left: 50%;
  bottom: calc(-26 * var(--u));
  transform: translateX(-50%);
  width: max(40px, calc(60 * var(--u)));
  height: max(40px, calc(60 * var(--u)));
  background: #FFD401;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge .hand { width: 58%; height: 78%; }
.badge:hover, .badge:focus-visible { background: #FFE24D; }

.gallery {
  list-style: none;
  margin: calc(47 * var(--u)) 0 0;
  padding: 0 calc(87 * var(--u)) calc(70 * var(--u));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(15 * var(--u)) calc(13 * var(--u));
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; display: block; }
.caption-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(70 * var(--u));
  padding: calc(9 * var(--u)) calc(58 * var(--u)) calc(9 * var(--u)) calc(21 * var(--u));
  background: #3A3A3A;
  color: #FCFCFC;
  text-decoration: none;
}
.caption-bar:hover, .caption-bar:focus-visible { background: #2A2A2A; }
/* Caption bars are set in the modulated text face, not the sans; at 23u the longest
   line also overran the 320u text column and wrapped. 20u matches the raster's
   measured caption size and clears the pointer glyph. The legibility floor belongs to
   the one-column mobile layout only — in the two-column grid it is what overflowed. */
.caption-bar figcaption p {
  margin: 0;
  font: 400 calc(20 * var(--u)) / 1.18 var(--serif);
}
.caption-bar .hand {
  position: absolute;
  right: calc(18 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  width: max(16px, calc(24 * var(--u)));
  height: max(22px, calc(34 * var(--u)));
  color: #fff;
}

/* ---------- footer ---------- */
.footer {
  padding: calc(4 * var(--u)) calc(37 * var(--u)) calc(56 * var(--u));
  text-align: center;
  background: #fff;
}
.subscribe-row { margin: 0; }
.subscribe {
  display: inline-block;
  max-width: 100%;
  min-width: calc(710 * var(--u));
  background: #FFD401;
  color: var(--ink);
  text-decoration: none;
  font: 400 max(16px, calc(35 * var(--u))) / 1.4 var(--serif);
  padding: 0.36em calc(28 * var(--u)) 0.26em;
}
.subscribe strong { font-family: var(--kicker); font-weight: 700; }
.subscribe:hover, .subscribe:focus-visible { background: #FFE24D; }
.social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: max(8px, calc(8 * var(--u)));
  margin: calc(33 * var(--u)) 0 0;
  padding: 0;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(34px, calc(34 * var(--u)));
  height: max(34px, calc(34 * var(--u)));
  border: 1.5px solid #000;
  border-radius: 50%;
  color: #000;
}
.social svg { width: 62%; height: 62%; }
.social a:hover, .social a:focus-visible { background: #F2F2F2; }

/* ---------- mobile reflow ---------- */
@media (max-width:971px){
  .page { box-shadow: none; }

  .wordmark { left: 14px; }
  .dateline { font-size: max(15px, calc(46 * var(--u))); bottom: calc(14 * var(--u)); }

  .story-condolence { display: flex; flex-direction: column; }
  .diya { position: relative; width: 100%; height: 210px; object-position: left 55%; }
  .condolence-text {
    margin: -48px 0 0;
    padding: 30px 20px 26px;
    background: linear-gradient(to bottom, rgba(14, 21, 26, 0), #0E151A 44px);
  }

  .women-photo { margin: 0 14px; }
  .display-head { margin: 22px 16px 0; line-height: 1.16; }
  .dh-l2 { padding-left: 0.6em; }
  .dh-pill { padding-left: 18px; padding-right: 18px; }
  .women-body { margin-top: 22px; padding: 0 18px 30px; }
  .women-body .cta-row { margin-top: 24px; }

  .story-matchfixing { padding-top: 24px; }
  .h-matchfixing { margin: 0 18px; }
  .matchfixing-cols { display: flex; flex-direction: column; padding: 14px 18px 0; }
  .evm { float: none; order: 2; width: 64%; margin: 8px -18px 0 auto; }
  .matchfixing-cta { padding: 4px 0 28px; }

  .card-shadow { height: 52px; }
  .focus-card { margin-top: -24px; border-radius: 22px 22px 0 0; }
  .kicker { padding: 22px 12px 0; }
  .podium-photo { margin-top: 8px; }
  .pills { margin: -28px 14px 0; }
  .pill { padding-left: 14px; padding-right: 14px; }
  .bihar-body { padding: 18px 18px 32px; }
  .bihar-body .cta-row { margin-top: 18px; }

  .story-snapshots { padding-top: 22px; }
  .hero-caption { padding: 0 18px; }
  .hero { margin-top: -24px; }
  .gallery { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; padding: 0 16px 40px; }
  .caption-bar { min-height: 46px; padding: 9px 52px 9px 14px; }
  .caption-bar figcaption p { font-size: 13px; }
  .caption-bar .hand { right: 14px; }

  .footer { padding: 4px 16px 40px; }
  .subscribe { min-width: 0; width: 100%; padding: 0.46em 14px 0.36em; }
  .social { margin-top: 22px; gap: 10px; }
}

/* The nukta under ज sits inside the ू tail in this face, so it cannot be seen; draw a visible dot just below the ज bowl. */

/* Web edition: below 972px the phone layout is shown in one centred column. */
@media (max-width:971px){main{max-width:600px;margin-inline:auto;container-type:inline-size}}
