/* ------------------------------------------------------------------
   Newsletter 2025-06-15 (en) — authored stylesheet
   Geometry is expressed in container-query width units (cqw) against the
   newsletter sheet, whose native width is 236.64pt. 1pt = 0.42258cqw.
   ------------------------------------------------------------------ */

/* Masthead word. The PDF's NEWSLETTER is a heavy condensed grotesque with tiny
   counters; glyph-by-glyph matching against the 300dpi page put Anton first on
   both letterform (IoU 0.92) and ink density (0.761 vs the source's 0.739). */
@font-face {
  font-family: "Anton";
  src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Anton-Regular-2e308a053b.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Display headings. The source's headline face is much narrower than Anton and
   lighter: measured ink-width/cap-height per letter is M 0.561 H 0.376 R 0.408
   A 0.446 S 0.382 T 0.369, which League Gothic reproduces within 6.6% (Bebas
   Neue, the previous choice, was 23% too wide, which is why it had to be
   crushed with negative tracking). */
@font-face {
  font-family: "League Gothic";
  src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/LeagueGothic-Regular-5f67a2b858.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Poppins-Medium-e210b3125c.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Poppins-Bold-a0136c10cc.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Arimo";
  src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Arimo-Regular-bf8e7a2421.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Arimo";
  src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Arimo-Bold-0e286cdcc8.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-white: #fefefe;
  --grid-line: #e5e5e5;
  --band-bg: #0c1f26;
  --band-text: #cdcdcd;
  --headline-dark: #262626;
  --headline-pink: #e00858;
  --body-ink: #0f1111;
  --body-ink-raster: #212121;
  --cta-yellow: #fdd20a;
  --cta-ink: #241f1a;
  --page1-gradient-bottom: #a3dcf0;
  --cream-left: #fffbe2;
  --cream-right: #fffff7;
  --mf-red: #cd2324;
  --mf-black: #1e1e1e;
  --card-grey: #e8e8e8;
  --card-shadow: #bebdbb;
  --event-red-top: #b72d2d;
  --event-red-bottom: #742e2e;
  --tile-black: #232323;
  --tile-red: #cf2224;
  --snap-blue-top: #054d7d;
  --snap-blue-bottom: #2cabe0;
  --snap-caption-ink: #303030;
  --gallery-bar: #3a3a3a;
  --subscribe-ink: #1e1e23;
  --social-ink: #1a1a1a;

  --display: "League Gothic", "Antonio", "Oswald", "Arial Narrow", sans-serif;
  --masthead: "Anton", "Archivo Black", Impact, sans-serif;
  --body: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --grotesque: "Arimo", "Liberation Sans", Arial, Helvetica, sans-serif;

  /* body copy: 7pt on the sheet, never below 15px */
  --body-size: max(15px, 2.958cqw);
  --cta-size: max(13px, 2.958cqw);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #e6e9ec;
  color: var(--body-ink);
  font-family: var(--body);
  font-weight: 500;
  line-height: 1.286;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

/* Canonical text the PDF does not print visibly stays in the document outline. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The sheet is the newsletter column. It is a size container so that all
   proportional geometry can be written in cqw. */
.sheet {
  container-type: inline-size;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: var(--page-white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(20, 40, 60, 0.12);
  overflow: hidden;
}
@media (min-width:972px){
  .sheet { margin: 28px auto; }
}

/* ================================================================== masthead */
.masthead {
  position: relative;
  height: 33.16cqw;                /* 78.47pt */
  background-color: var(--page-white);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 10.142cqw 10.142cqw;   /* 24pt pitch */
  background-position: 1.5cqw 1.5cqw;
  overflow: hidden;
}
/* Source ink box for NEWSLETTER, measured on the 300dpi render of page 1 and
   expressed against the 986px reference width: left 4.665cqw, cap top 5.578cqw,
   cap height 17.850cqw, ink width 90.974cqw.
   Anton cap = 0.8594em, hhea ascent 1.1763em, content box 1.5054em, so with
   line-height 1 the cap band sits 0.0642em below the box top and the baseline
   0.9236em below it — the whole glyph stays inside the padding box, which is
   also the paint box for background-clip: text. */
.masthead-word {
  position: absolute;
  left: 3.87cqw;                   /* box left; Anton N lsb 0.0381em adds 0.79cqw */
  top: 4.24cqw;                    /* box top; cap lands at 5.578cqw */
  margin: 0;
  font-family: var(--masthead);
  font-weight: 400;
  font-size: 20.77cqw;             /* cap 17.850cqw / 0.8594 */
  line-height: 1;
  letter-spacing: -0.0153em;       /* ink width 90.97cqw, i.e. w/cap 5.097 */
  text-transform: uppercase;
  white-space: nowrap;
  color: #1c374c;
  /* stops remapped so the ramp still spans cap top -> baseline */
  background: linear-gradient(to bottom, #5f7994 6.4%, #405a6e 47%, #20374c 92.4%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.masthead-date {
  position: absolute;
  left: 4.61cqw;                   /* ink left 4.665cqw less Arimo J lsb */
  top: 24.98cqw;                   /* cap top 25.56cqw = 60.72pt */
  margin: 0;
  font-family: var(--grotesque);
  font-weight: 700;
  font-size: max(11px, 3.685cqw);  /* cap 2.535cqw / Arimo cap 0.688 */
  line-height: 1;
  color: #232323;
  letter-spacing: 0;
}
.masthead-portrait {
  position: absolute;
  left: 56.91cqw;                  /* cut-out lands at 62.27..97.72cqw */
  top: 3.96cqw;
  width: 42.48cqw;
  height: auto;
  z-index: 1;
}

/* ================================================================== stories */
.story { position: relative; }

/* ------------------------------------------------ story 1: condolence band */
.story-condolence {
  display: flex;
  align-items: stretch;
  min-height: 30.12cqw;            /* 71.28pt */
  background: linear-gradient(to right, #081620 0%, #0c1f26 35%, #142124 70%, #172224 100%);
  color: var(--band-text);
}
.condolence-diya {
  flex: 0 0 auto;
  align-self: stretch;
  width: auto;
  height: 30.12cqw;
  max-width: 40%;
  object-fit: cover;
  object-position: left center;
}
/* The PDF sets this paragraph over five lines in a 585px-wide column that starts
   at x=334 (33.9cqw); the measured line leading is 38px = 1.30 x the type size. */
.condolence-text {
  flex: 1 1 auto;
  padding: 5.48cqw 4.6cqw 5.48cqw 0;
  align-self: center;
}
.condolence-text p {
  margin: 0;
  font-family: var(--grotesque);
  font-weight: 400;
  font-size: max(15px, 2.89cqw);
  line-height: 1.3;
  letter-spacing: 0.005em;
}

/* ------------------------------------------------ story 2: women */
.story-women {
  padding: 4.47cqw 3.04cqw 5.07cqw 3.65cqw;      /* 10.57pt top, 8.64 / 7.2pt sides */
  background: linear-gradient(to bottom, var(--page-white) 0%, var(--page-white) 70%, #e0f2fc 84%, var(--page1-gradient-bottom) 100%);
}
.women-photo { margin: 0; }
.women-photo img { width: 100%; }

/* League Gothic: cap 0.735em, hhea ascent 0.9675em, content box 1.2em.
   line-height 0.95 puts the cap top 0.1075em and the baseline 0.8425em below the
   box top, so no glyph ink can fall outside the line box. The PDF line rhythm
   (cap tops 1265 / 1366 / 1473 px) is then set with negative margins rather than
   by squeezing line-height. */
.women-heading {
  margin: 2.75cqw 0 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--headline-dark);
}
.women-heading > span { display: block; }
.wl1, .wl2 {
  font-size: 13.11cqw;             /* cap 9.635cqw = 22.85pt */
  line-height: 0.95;
  white-space: nowrap;
}
.wl1 { text-align: left; margin-left: -0.09cqw; letter-spacing: 0.0382em; }
.wl1 .pink { color: var(--headline-pink); }
.wl2 {
  text-align: right;
  margin-top: -2.21cqw;
  padding-right: 0;
  letter-spacing: 0.0318em;
}
.women-heading > .wl3 {
  display: flex;
  justify-content: center;
  padding-right: 1.84cqw;          /* the source bar sits 6.5px left of the page centre */
  margin-top: -0.70cqw;
  font-size: 15.04cqw;             /* cap 11.055cqw = 26.16pt */
  letter-spacing: 0.0045em;
  line-height: 0.80;
}
.knockout {
  display: block;
  background: var(--headline-pink);
  color: var(--page-white);
  /* bar 100..873px, ink 121..852px, cap top 5px under the bar, baseline 14px above it */
  padding: 0 0.097em 0.062em 0.1315em;
  line-height: 0.80;
  white-space: nowrap;
}

.women-body {
  margin: 2.96cqw auto 0;
  max-width: 91.6cqw;              /* 216pt */
  text-align: center;
  font-size: var(--body-size);
  line-height: 1.286;
  color: var(--body-ink);
}

/* CTA pills */
.cta-row { margin: 4.05cqw 0 0; text-align: center; }
.cta {
  display: inline-block;
  background: var(--cta-yellow);
  color: var(--cta-ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--cta-size);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.58em 0.55em 0.6em;
  letter-spacing: 0.005em;
  white-space: normal;
  text-align: center;
}
.cta:hover, .cta:focus-visible { background: #ffdd3b; outline: 2px solid var(--cta-ink); outline-offset: 2px; }

/* ------------------------------------------------ story 3: match-fixing */
.story-matchfixing {
  padding: 10.86cqw 5.58cqw 0 5.58cqw;     /* MATCH-FIXING cap lands at 12.98cqw */
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 1) 100%),
    linear-gradient(to right, var(--cream-left) 0%, var(--cream-right) 100%);
  overflow: hidden;
}
.mf-heading {
  margin: 0 0 0 0.22cqw;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
}
.mf-heading > span { display: block; white-space: nowrap; line-height: 0.95; }
/* source ink: MATCH-FIXING 65..836px cap 143px; MAHARASHTRA 67..914px cap 151px */
.mf1 { font-size: 19.73cqw; letter-spacing: 0.0116em; color: var(--mf-red); }
.mf2 {
  font-size: 20.84cqw;
  letter-spacing: 0;
  color: var(--mf-black);
  margin: -4.06cqw 0 0 0.16cqw;
}

.mf-body {
  position: relative;
  display: grid;
  grid-template-columns: 62.2% 1fr;      /* 130.8pt text column of the 210.24pt content box */
  column-gap: 0;
  margin-top: 2.02cqw;                   /* body ink top lands at 48.17cqw */
}
.mf-text {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: var(--body-size);
  line-height: 1.286;
  color: var(--body-ink-raster);
}
.mf-illustration {
  grid-column: 2;
  grid-row: 1;
  width: 38.64cqw;                       /* 91.4pt: from 145.2pt to the right page edge */
  margin: 2.4cqw -5.58cqw 0 -0.5cqw;     /* bleeds off the right edge like the PDF */
  align-self: start;
  justify-self: end;
}
.mf-illustration img { width: 100%; }

.story-matchfixing .cta-row { margin-top: 3.75cqw; padding-bottom: 3.95cqw; }

/* ------------------------------------------------ story 4: event in focus */
.story-event {
  padding: 0 0 4.46cqw;
  background: var(--page-white);
}
.event-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  background: var(--card-grey);
  border-radius: 3.38cqw 3.38cqw 0 0;    /* 8pt */
  box-shadow: 0 -1.2cqw 3cqw rgba(60, 58, 55, 0.22);
  padding-top: 5.14cqw;                  /* EVENT IN FOCUS cap lands 7.10cqw under the card top */
}
.event-heading { display: contents; font-weight: 400; margin: 0; }
.ev-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ev-kicker {
  grid-row: 1;
  display: block;
  text-align: center;
  font-family: var(--display);
  font-size: 14.77cqw;                   /* cap 10.852cqw = 25.68pt */
  line-height: 1;                        /* full glyph ink inside the paint box */
  letter-spacing: 0.0281em;
  white-space: nowrap;
  color: var(--event-red-top);
  background: linear-gradient(to bottom, var(--event-red-top) 13.25%, var(--event-red-bottom) 86.75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0;
}
.event-photo { grid-row: 2; margin: 2.91cqw 0 0; }
.event-photo img { width: 100%; }
.ev-tiles {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.61cqw;                          /* 6px between the two bars */
  padding: 0 5.58cqw;                    /* 13.2pt sides */
  margin-top: -1px;
  background: var(--page-white);
  font-family: var(--display);
  color: #fff;
}
/* both bars are 86px tall with a 55px cap sitting 15px below the bar top:
   line-height 1.136 reproduces that without any vertical padding. */
.ev-tile {
  display: block;
  text-align: center;
  line-height: 1.136;
  padding: 0 0.15em;
  white-space: nowrap;
}
.ev-tile-black {
  width: 100%;
  background: var(--tile-black);
  font-size: 7.59cqw;                    /* cap 5.578cqw */
  letter-spacing: 0.0528em;
}
.ev-tile-red {
  background: var(--tile-red);
  font-size: 7.73cqw;                    /* cap 5.680cqw */
  letter-spacing: 0.0418em;
}

.event-body {
  margin: 3.65cqw auto 0;                /* 8.64pt */
  max-width: 89.5cqw;
  text-align: center;
  font-size: var(--body-size);
  line-height: 1.34;
  color: var(--body-ink-raster);
}
.story-event .cta-row { margin-top: 2.84cqw; }

/* rule between story 4 and story 5 */
.story-snapshot { border-top: 1px solid var(--grid-line); }

/* ------------------------------------------------ story 5: snapshot showcase */
.story-snapshot {
  padding: 3.85cqw 0 0;                  /* SNAPSHOT SHOWCASE cap lands at 5.477cqw */
  background: var(--page-white);
}
.snap-heading {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 12.28cqw;                   /* cap 9.026cqw = 21.36pt */
  line-height: 1;                        /* full glyph ink inside the paint box */
  letter-spacing: 0.0483em;
  text-indent: 0.0483em;                 /* cancels the trailing track so the line centres */
  white-space: nowrap;
  color: var(--snap-blue-top);
  background: linear-gradient(to bottom, var(--snap-blue-top) 13.25%, var(--snap-blue-bottom) 86.75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0;
}
.snap-caption {
  margin: 0.24cqw auto 0;                /* first line's ink top lands at 16.83cqw */
  max-width: 52cqw;                      /* 118.8pt */
  text-align: center;
  font-family: var(--grotesque);
  font-weight: 400;
  font-size: max(14px, 2.747cqw);        /* 6.5pt */
  line-height: 1.10;                     /* 29.5px leading in the source */
  color: var(--snap-caption-ink);
}
.snap-hero { position: relative; margin: 0.52cqw 0 0; }
.snap-hero img { width: 100%; }
.snap-hero-link {
  position: absolute;
  left: 50%;
  bottom: -2.64cqw;                       /* box straddles the photo's bottom edge */
  transform: translateX(-50%);
  width: 6.08cqw; height: 6.08cqw;        /* 14.4pt */
  min-width: 34px; min-height: 34px;
  background: #ffd401;
  color: #000;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.snap-hero-link:hover, .snap-hero-link:focus-visible { background: #ffe14a; outline: 2px solid #000; outline-offset: 2px; }
.hand { display: block; width: 62%; height: 62%; }
.hand-dark { color: #000; }
.hand-light { color: #fff; }

.gallery {
  list-style: none;
  margin: 4.9cqw auto 0;                  /* 11.54pt below the photo */
  padding: 0 8.72cqw 0 8.92cqw;           /* grid box 88px .. 900px */
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.42cqw;                    /* 14px */
  row-gap: 1.42cqw;                       /* 14px */
}
.tile { margin: 0; }
.tile a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #fff;
}
.tile img { width: 100%; aspect-ratio: 399 / 212; object-fit: cover; }
/* Source caption bar: 71px tall on a 399px thumbnail, two lines of ~15px type
   set 20px apart, ink inset 22px from the left and 17px from the bar top, hand
   glyph 25px wide with a 29px right inset. The bar keeps min-height, so a
   caption that needs a third line grows downward instead of being cropped. */
.tile-bar {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
  background: var(--gallery-bar);
  padding: 1.28cqw 2.94cqw 1.34cqw 2.23cqw;
  min-height: 7.2cqw;                        /* 17.04pt */
}
.tile-caption {
  font-family: var(--body);
  font-weight: 500;
  font-size: max(11px, 1.53cqw);
  line-height: 1.33;
  text-align: left;
}
.tile-bar .hand { flex: 0 0 auto; width: 2.54cqw; height: 3.2cqw; min-width: 13px; min-height: 16px; }
.tile a:hover .tile-bar, .tile a:focus-visible .tile-bar { background: #222; }
.tile a:focus-visible { outline: 2px solid var(--tile-black); outline-offset: 2px; }

/* ================================================================== footer */
.footer {
  margin-top: 7.4cqw;                     /* 17.52pt */
  padding: 0 4cqw 5.7cqw;
  border-top: 1px solid var(--grid-line);
  background: var(--page-white);
  text-align: center;
}
.subscribe-row { margin: 0; padding-top: 5cqw; }
.subscribe {
  display: inline-block;
  background: #ffd401;
  color: var(--subscribe-ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: var(--cta-size);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5em 0.35em 0.52em;
  letter-spacing: 0.005em;
}
.subscribe strong { font-weight: 700; }
.subscribe:hover, .subscribe:focus-visible { background: #ffdd3b; outline: 2px solid var(--subscribe-ink); outline-offset: 2px; }

.social {
  list-style: none;
  margin: 3.35cqw 0 0;                    /* 7.92pt */
  padding: 0;
  display: flex;
  justify-content: center;
  gap: max(6px, 0.81cqw);
}
.social a {
  display: block;
  width: max(30px, 3.45cqw);
  height: max(30px, 3.45cqw);
  color: var(--social-ink);
}
.social svg { width: 100%; height: 100%; display: block; }
.social .ring { fill: none; stroke: currentColor; stroke-width: 1.1; }
.social .fill { fill: currentColor; }
.social .stroke { fill: none; stroke: currentColor; stroke-width: 1.4; }
.social a:hover, .social a:focus-visible { color: var(--headline-pink); outline: none; }

/* ================================================================== mobile reflow */
@media (max-width:971px){
  .masthead-date { font-size: max(12px, 3.685cqw); }

  .story-condolence { min-height: 0; }
  .condolence-diya { height: auto; max-width: 36%; align-self: stretch; }
  .condolence-text { padding: 5cqw 5cqw 5cqw 2.4cqw; }

  /* League Gothic keeps the source proportions at every width, so the display
     headings no longer need a narrow-screen size reduction. */
  .story-women { padding-left: 4cqw; padding-right: 4cqw; }

  .mf-body { display: block; min-height: 0; }
  .mf-illustration {
    float: right;
    width: 46%;
    margin: -1cqw -5.58cqw 0.5cqw 2.5cqw;
    shape-outside: margin-box;
  }
  .mf-text { grid-column: auto; }
  .story-matchfixing .cta-row { clear: both; }

  /* keep the source type size and bar height; allow a wrap only as a safety net */
  .ev-tile { white-space: normal; }

  .snap-caption .wrap { display: none; }

  .gallery { padding-left: 5cqw; padding-right: 5cqw; column-gap: 2cqw; row-gap: 2.2cqw; }
  .tile-bar { padding: 2.2cqw 2.6cqw 2.4cqw 2.6cqw; }
}

@media (prefers-reduced-motion: no-preference){
  a { transition: background-color 120ms ease, color 120ms ease; }
}

/* 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}}
