/* 31 August 2026 Hindi newsletter — desktop geometry is authored in 972px source
   pixels (--x/--y/--w/--h) and scaled as percentages of each frame; type scales
   by the stepped factor --k. Through 600px the stories reflow (MOBILE-01). */

@font-face { font-family: "Anek Devanagari"; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/AnekDevanagari-VF-devanagari-798f510904.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 125%; font-display: block;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Anek Devanagari"; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/AnekDevanagari-VF-latin-a391e73c97.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 125%; font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-Regular-039b9d33f8.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Mukta"; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-Bold-313f41460a.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Mukta Acronym"; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Mukta-Regular-039b9d33f8.woff2") format("woff2"); font-weight: 400; size-adjust: 80%; unicode-range: U+0041-005A; font-display: block; }
@font-face { font-family: "Poppins"; src: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/shared/fonts/Poppins-500-bba020c0fd.woff2") format("woff2"); font-weight: 500; font-display: block; }

:root { --k: 1; }
@media (max-width:971px){ :root { --k: .895; } }
@media (max-width:971px){ :root { --k: .79; } }
@media (max-width:971px){ :root { --k: .71; } }
@media (max-width:971px){ :root { --k: .665; } }
@media (max-width:971px){ :root { --k: .618; } }
@media (max-width:971px){ :root { --k: .555; } }
@media (max-width: 539px){ :root { --k: .493; } }
@media (max-width: 479px){ :root { --k: .442; } }
@media (max-width: 429px){ :root { --k: .391; } }
@media (max-width: 378px){ :root { --k: .329; } }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #ffffff; }
body { font-family: "Mukta", sans-serif; -webkit-font-smoothing: antialiased; }
main[data-newsletter] { max-width: 972px; margin: 0 auto; overflow: hidden; }
h1, h2, p { margin: 0; font-weight: inherit; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 5px #111111; }

.pg { position: relative; }
.frame { position: relative; }
.pin, .abs { position: absolute; margin: 0; }

/* ---------- type ---------- */
.body { font-size: calc(21px * var(--k)); line-height: calc(35px * var(--k)); word-spacing: calc(1.5px * var(--k)); }
.disp { font-family: "Anek Devanagari", sans-serif; font-weight: 800; white-space: nowrap; }
/* source sets Latin acronyms (GST, MSME, AI, BJP, RSS, FIR) as small caps */
.sc { font-family: "Mukta Acronym", "Mukta", sans-serif; }

/* ---------- page 1: masthead ---------- */
.mast { aspect-ratio: 972 / 309; overflow: hidden; background-color: #ffffff;
  background-image: linear-gradient(90deg, #f2f2f2 2px, transparent 2px), linear-gradient(180deg, #f2f2f2 2px, transparent 2px);
  background-size: 6.862% 21.55%; background-position: 0 -5.2%; }
/* narrowed to the source span (ink x 104-735) and right-anchored so the final र meets the portrait edge at every width */
.masthead { left: auto; right: calc(229 * 100% / 972); font-family: "Anek Devanagari", sans-serif; font-weight: 800; font-stretch: 87%;
  font-size: calc(211px * var(--k)); line-height: 1.8; white-space: nowrap; color: #2c475c;
  background: linear-gradient(180deg, #536d84 .221em, #415b72 .6em, #2c475c .884em, #213b50 1.074em);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; z-index: 1; }
/* date keeps the source 14px gap after the ू descender, offset from the masthead box end (x 743) in the same scaled units */
.date { left: calc(743 * 100% / 972 - 416px * var(--k)); font-family: "Poppins", "Mukta", sans-serif; font-weight: 500; font-size: calc(33px * var(--k)); line-height: calc(40px * var(--k)); color: #444444; white-space: nowrap; z-index: 1; }
.portrait { z-index: 2; }

/* ---------- page 1: story 1 ---------- */
.band1 { aspect-ratio: 972 / 1063; background: #e71d67 url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/2026-aug-31-hi/assets/p1-story1-plate-567f210116.webp") top center / 100% auto no-repeat; }
.ph1 { aspect-ratio: 972 / 741; container-type: inline-size; }
.badge { z-index: 1; }
/* Scales with the photo frame (not the stepped --k), so the hands stay in front of the same letters at every width.
   156px at wdth 76 keeps the source ink top (y 491) and width while the ृ reaches the source depth over the raised hands */
.headline { font-family: "Anek Devanagari", sans-serif; font-weight: 800; font-stretch: 76%; font-size: calc(156 * 100cqw / 972); line-height: 1.8;
  color: #ffffff; text-align: center; white-space: nowrap; z-index: 2; }
.fg-hand { z-index: 3; }
.b1 { color: #ffffff; text-align: justify; text-align-last: left; word-spacing: calc(2px * var(--k)); }

/* ---------- pills ---------- */
.pill { display: flex; align-items: center; justify-content: center; gap: calc(22px * var(--k)); border-radius: 999px; font-size: calc(26px * var(--k)); word-spacing: calc(3px * var(--k)); line-height: 1.25; z-index: 2; }
.pill .hand { width: calc(21.6px * var(--k)); height: auto; flex: none; }
.pill.yellow { background: #fbba3a; color: #1a1a1a; }
.pill.black { background: #17181a; color: #ffffff; gap: calc(16px * var(--k)); }
.pill .lbl { display: block; }

/* ---------- page 1: story 2 ---------- */
.band2 { aspect-ratio: 972 / 1098; background: #ffffff; }
.stage { width: 100%; height: auto; }
.panel { background: #0137be; }
.h2y { font-family: "Anek Devanagari", sans-serif; font-weight: 800; font-stretch: 89%; font-size: calc(85px * var(--k)); line-height: calc(93px * var(--k)); color: #faba3c; text-align: center; }
.b2 { color: #ffffff; text-align: justify; text-align-last: left; }

/* ---------- page 2 ---------- */
.sky { aspect-ratio: 972 / 1324; }
.plate2 { position: absolute; inset: 0; background: url("https://newsletters.rahulgandhi.in/assets/newsletter-web/v1/2026-aug-31-hi/assets/p2-protest-plate-8b86c7e0d9.webp") top center / 100% auto no-repeat; }
.h3r { font-family: "Anek Devanagari", sans-serif; font-weight: 800; font-stretch: 86.5%; font-size: calc(82px * var(--k)); line-height: calc(90px * var(--k)); color: #8e2417; text-align: center; white-space: nowrap; }
.c3 { color: #1a0a05; text-align: center; }
.dark { aspect-ratio: 972 / 1058; background: #17181a; }
.h4y { font-family: "Anek Devanagari", sans-serif; font-weight: 800; font-stretch: 86%; font-size: calc(84px * var(--k)); line-height: calc(100px * var(--k)); color: #faba3c; text-align: center; white-space: nowrap; }
.photo2 { border-radius: calc(16px * var(--k)); object-fit: cover; }
/* extra word space so the Mukta lines span the source measure (widest line x 116-856) with the source line breaks */
.c4 { color: #ffffff; text-align: center; word-spacing: calc(2.6px * var(--k)); }

/* ---------- page 3 ---------- */
.gal { aspect-ratio: 972 / 2283; background: #ffffff; }
.gh { font-family: "Anek Devanagari", sans-serif; font-weight: 800; font-stretch: 80%; font-size: calc(88px * var(--k)); line-height: calc(104px * var(--k)); color: #0336bd; white-space: nowrap; }
.rule-h { background: #4a4a4a; height: 1px !important; }
.cimg { object-fit: cover; border-radius: calc(18px * var(--k)) calc(18px * var(--k)) 0 0; }
.k1 .cimg { border-radius: calc(20px * var(--k)) 0 0 calc(20px * var(--k)); }
.k2 .cimg { border-radius: calc(18px * var(--k)); }
.ctext { display: block; color: #333333; }
.ctext.has-rule::before { content: ""; position: absolute; left: 0; width: 1px; background: #c4c4c4; top: var(--ry0); bottom: var(--ry1); }
.ctext.has-bar::after { content: ""; position: absolute; left: var(--bx); top: var(--by); width: var(--bw); height: calc(6px * var(--k)); background: #fbc652; }
.finger { height: auto; }
.cap { font-size: calc(21px * var(--k)); line-height: calc(35px * var(--k)); word-spacing: calc(2px * var(--k)); white-space: pre-wrap; }
.sub { font-size: calc(27px * var(--k)); gap: calc(14px * var(--k)); }
.sub strong { font-weight: 700; }

.social { background: #0137be; height: calc(81px * var(--k)); display: flex; align-items: center; justify-content: center; }
.social .icons { display: flex; gap: calc(9px * var(--k)); }
.social img { width: calc(53px * var(--k)); height: auto; }

/* ---------- MOBILE-01 reflow (through 600px) ---------- */
@media (max-width:971px){
  .abs { position: static; left: auto !important; top: auto !important; width: auto !important; height: auto !important; }
  .body { font-size: 17px; line-height: 1.75; }
  .story { padding: 0 18px; }
  .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .pill { display: inline-flex; justify-content: flex-start; gap: 12px; font-size: 18px; line-height: 1.3; padding: 11px 22px; max-width: 100%; text-align: left; }
  .pill .hand { width: 17px; }
  .pill.black { gap: 12px; }

  .band1 { aspect-ratio: auto; padding-bottom: 36px; }
  .b1 { text-align: left; padding-top: 6px; }
  .s1 .pill { margin-top: 18px; }

  .band2 { aspect-ratio: auto; padding-bottom: 44px; }
  .panel { position: relative; margin: -8.642% 6.379% 0; padding: 26px 18px 0; }
  .h2y { font-size: 38px; line-height: 44px; white-space: normal; }
  .b2 { text-align: left; margin-top: 16px; }
  .panel .pill { margin: 20px 0 -24px; }

  .sky { aspect-ratio: auto; padding: 30px 0 0; background: linear-gradient(180deg, #f3d7bf 0%, #fbd9b8 30%, #fedfb3 70%, #fee3b1 100%); }
  .plate2 { position: relative; inset: auto; margin-top: 8px; aspect-ratio: 972 / 860; background-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
  .s3 { position: relative; z-index: 1; }
  .sky { display: flex; flex-direction: column; }
  .sky .plate2 { order: 2; }
  .h3r { font-size: 40px; line-height: 48px; }
  .c3 { text-align: left; margin-top: 14px; }
  .a3 { margin-top: 22px; }

  .dark { aspect-ratio: auto; padding: 30px 0 44px; }
  .h4y { font-size: 34px; line-height: 44px; white-space: normal; }
  .photo2 { width: 100% !important; margin-top: 20px; border-radius: 12px; }
  .c4 { text-align: left; margin-top: 20px; }
  .a4 { margin-top: 22px; }

  .gal { aspect-ratio: auto; padding: 22px 18px 34px; display: flex; flex-direction: column; }
  .gh { font-size: 46px; line-height: 56px; }
  .card { display: block; width: 100%; margin-top: 26px; }
  .card { order: 3; } .k1 { order: 1; } .rule-h { order: 2; }
  .card .cimg { width: 100% !important; height: auto !important; border-radius: 12px; }
  .ctext { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 2px 0 20px 14px; }
  .ctext.has-rule::before { top: 0; bottom: 0; }
  .ctext.has-bar::after { left: 14px; top: auto; bottom: 0; width: 90px; height: 5px; }
  .finger { width: 18px !important; }
  .finger { width: 18px; flex: none; margin-top: 2px; }
  .cap { font-size: 17px; line-height: 1.75; min-width: 0; }
  .rule-h { display: block; margin-top: 26px; width: 100% !important; height: 1px !important; }
  .sub { order: 20; align-self: center; margin-top: 30px; font-size: 17px; justify-content: center; text-align: center; }
  .social { height: 64px; }
  .social .icons { gap: 8px; }
  .social img { width: 40px; }
}

/* Yellow buttons: text lowered so the space above it is at least the space below (measured 4 Nov 2026).
   :not(#nl-a):not(#nl-b) only raises priority over the edition's own rules. Desktop values first, then tablet
   (971px and below) and phone (600px and below), so no new screen-width breakpoints are added. */
a[href="https://x.com/RahulGandhi/status/2091162993320968373?s=20"]:not(#nl-a):not(#nl-b) { padding-top: 0.3077em !important; padding-bottom: 0em !important; }
a[href="https://www.youtube.com/watch?v=XxYR4H9rZTQ&t=1723s"]:not(#nl-a):not(#nl-b) { padding-top: 0.2692em !important; padding-bottom: 0em !important; }
a[href="https://youtube.com/shorts/Ze3Kta9pHX8?si=mwsIGJBstnAfkO1c"]:not(#nl-a):not(#nl-b) { padding-top: 0.0769em !important; padding-bottom: 0em !important; }
a[href="https://www.instagram.com/reel/DcVYXEwCKoT/?hl=en"]:not(#nl-a):not(#nl-b) { padding-top: 0.2308em !important; padding-bottom: 0em !important; }
a[href="https://newsletter-subscription.rahulgandhi.in/"]:not(#nl-a):not(#nl-b) { padding-top: 0.1111em !important; padding-bottom: 0em !important; }
@media (max-width:971px){
  a[href="https://x.com/RahulGandhi/status/2091162993320968373?s=20"]:not(#nl-a):not(#nl-b) { padding-top: 0.3408em !important; padding-bottom: 0em !important; }
  a[href="https://www.youtube.com/watch?v=XxYR4H9rZTQ&t=1723s"]:not(#nl-a):not(#nl-b) { padding-top: 0.3408em !important; padding-bottom: 0em !important; }
  a[href="https://youtube.com/shorts/Ze3Kta9pHX8?si=mwsIGJBstnAfkO1c"]:not(#nl-a):not(#nl-b) { padding-top: 0.0974em !important; padding-bottom: 0em !important; }
  a[href="https://www.instagram.com/reel/DcVYXEwCKoT/?hl=en"]:not(#nl-a):not(#nl-b) { padding-top: 0.2921em !important; padding-bottom: 0em !important; }
  a[href="https://newsletter-subscription.rahulgandhi.in/"]:not(#nl-a):not(#nl-b) { padding-top: 0.1875em !important; padding-bottom: 0em !important; }
}
@media (max-width:971px){
  a[href="https://x.com/RahulGandhi/status/2091162993320968373?s=20"]:not(#nl-a):not(#nl-b) { padding-top: 0.6111em !important; padding-bottom: 0.6111em !important; }
  a[href="https://www.youtube.com/watch?v=XxYR4H9rZTQ&t=1723s"]:not(#nl-a):not(#nl-b) { padding-top: 0.7778em !important; padding-bottom: 0.4444em !important; }
  a[href="https://youtube.com/shorts/Ze3Kta9pHX8?si=mwsIGJBstnAfkO1c"]:not(#nl-a):not(#nl-b) { padding-top: 0.6944em !important; padding-bottom: 0.5278em !important; }
  a[href="https://www.instagram.com/reel/DcVYXEwCKoT/?hl=en"]:not(#nl-a):not(#nl-b) { padding-top: 0.75em !important; padding-bottom: 0.4722em !important; }
  a[href="https://newsletter-subscription.rahulgandhi.in/"]:not(#nl-a):not(#nl-b) { padding-top: 0.7647em !important; padding-bottom: 0.5294em !important; }
}

/* Phones: labels 1px lower so they are never above centre; the Pune rally label sat 3px higher than the rest. */
@media (max-width:971px){ .pill:not(#nl-a):not(#nl-b) .lbl { translate: 0 1px; } [data-link-id="link_p1_rally_pune"]:not(#nl-a):not(#nl-b) .lbl { translate: 0 4px; } }

/* Masthead: the PDF's own न्यूज़लेटर artwork (same lettering as 30 Sep), with the word as alt text. Documented
   masthead-only exception: the live font was heavier than the PDF's lettering and its ू ran into the date. */
.masthead.wm { left: calc(102.4 * 100% / 972) !important; right: auto; top: calc(20.3 * 100% / 309) !important; width: calc(652.3 * 100% / 972);
  font-size: 0; line-height: 0; background: none; -webkit-text-fill-color: initial; }
.masthead.wm img { display: block; width: 100%; height: auto; }
.date.wm-date { left: calc(360.5 * 100% / 972) !important; }

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