/*
Theme Name: Peasants Voice
Theme URI: https://peasantsvoice.in
Author: AIKS · built with Claude Code
Author URI: https://kisansabha.org
Description: Agitprop editorial theme for Peasants Voice — the official online organ of the All India Kisan Sabha (estd. 1936). Dark newsprint, oxblood maroon, woodcut-letterpress wordmark. Built for a multilingual, low-bandwidth readership. Uses ACF for custom fields and category-driven content types (Magazine, Statements, Kisan Bulletin, Videos, Campaigns, Movements).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peasants-voice
Tags: magazine, news, editorial, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   PEASANTS VOICE — agitprop editorial prototype
   Dark newsprint · oxblood maroon · stencil-pressed display
   ============================================================ */

:root {
  /* Surfaces */
  --bg-deep:        #14110f;
  --bg-base:        #1a1614;
  --bg-elevated:    #221c19;
  --bg-paper:       #1f1a17;
  --bg-archive:     #1e1a16;

  /* Ink */
  --ink-bone:       #f1e7d3;
  --ink-cream:      #d8cdb4;
  --ink-mute:       #8a7d68;
  --ink-faint:      #4d4338;

  /* Brand */
  --red-deep:       #7a1818;
  --red-mid:        #9c2222;
  --red-bright:     #c93030;
  --red-flag:       #b51e1e;

  /* Accent */
  --gold:           #c89b3c;
  --gold-dim:       #8b6a25;
  --green-deep:     #1f3a2c;
  --green-mid:      #2d5240;

  /* Customer-specified palette (round 2 feedback) */
  --rustic-noir:    #1B1A16;
  --mustard-seed:   #c69f26;
  --cream-vanilla:  #f5ead0;
  --bright-yellow:  #e8c14f;

  /* Type */
  --display:        "Alfa Slab One", "Rockwell", "Bookman", serif;
  --display-stencil: "Big Shoulders Stencil Display", "Impact", sans-serif;
  --headline:       "Oswald", "Helvetica Neue", sans-serif;
  --body:     "Crimson Pro", "Georgia", serif;
  --mono:     "Special Elite", "Courier New", monospace;
  --hindi:    "Noto Serif Devanagari", "Crimson Pro", serif;
  --bengali:  "Noto Serif Bengali", "Crimson Pro", serif;

  --rule: 1px solid var(--ink-faint);
  --rule-bone: 1px solid rgba(241, 231, 211, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg-base);
  color: var(--ink-cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Paper grain overlay — subtle noise on everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

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

a { color: inherit; text-decoration: none; }

/* ============================================================
   1. MASTHEAD — deep oxblood band, stenciled wordmark
   ============================================================ */

.masthead {
  background: var(--red-deep);
  position: relative;
  overflow: hidden;
}

/* Uploaded Custom Logo (Customize → Site Identity) — scaled to sit at the
   wordmark's visual weight. Replaces the text wordmark when set. */
.masthead__logo {
  position: relative;
  z-index: 1;
  text-align: center;
}
.masthead__logo img,
.masthead__logo .custom-logo {
  display: block;
  width: clamp(260px, 50vw, 640px);
  height: auto;
  margin: 8px auto 14px;
}

/* Decorative repeating star pattern */
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(241,231,211,0.04) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* Inner halftone gradient for depth */
.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

.masthead__rule-top,
.masthead__rule-bottom {
  height: 6px;
  background: var(--bg-deep);
  position: relative;
  z-index: 2;
}

.masthead__rule-top {
  background:
    linear-gradient(90deg, var(--bg-deep) 0%, var(--bg-deep) 100%);
  border-bottom: 2px solid var(--red-bright);
}
.masthead__rule-bottom {
  border-top: 2px solid var(--red-bright);
  background: var(--bg-deep);
}

.masthead__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 38px 32px 30px;
  text-align: center;
}

.masthead__tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(241, 231, 211, 0.7);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 9.5vw, 152px);
  line-height: 0.95;
  letter-spacing: 0.015em;
  margin: 4px 0 14px;
  user-select: none;
  word-spacing: 0.05em;
  text-transform: uppercase;
  /* Woodcut letterpress: bone-white fill with uneven inner ink grain */
  color: transparent;
  background-image:
    /* fine speckle — pinpoint ink voids */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' seed='6'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.5 1.4'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    /* coarse mottle — uneven ink coverage */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.18' numOctaves='3' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.8 0.8'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    /* base bone gradient — slight top-down tone shift like aged paper */
    linear-gradient(180deg, #f3eada 0%, #e8dcc2 100%);
  background-size: 90px 90px, 280px 280px, 100% 100%;
  background-blend-mode: multiply, multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
  /* very mild edge bite — hand-press impression, not stencil grunge */
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,0.35));
}


.masthead__dateline {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(241, 231, 211, 0.85);
  text-transform: uppercase;
  border-top: 1px dashed rgba(241,231,211,0.25);
  border-bottom: 1px dashed rgba(241,231,211,0.25);
  padding: 8px 0;
  display: inline-block;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   3. PRIMARY NAV
   ============================================================ */

.primary-nav {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--ink-faint);
  position: sticky;
  top: 0;
  z-index: 50;
}

.primary-nav ul {
  list-style: none;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.primary-nav li {
  position: relative;
}

.primary-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--ink-faint);
}

.primary-nav a {
  display: block;
  padding: 18px 28px;
  font-family: var(--headline);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-cream);
  transition: color 0.15s, background 0.15s;
  position: relative;
}

.primary-nav a:hover {
  color: var(--ink-bone);
  background: rgba(122, 24, 24, 0.18);
}

.primary-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red-bright);
  transition: width 0.2s;
}
.primary-nav a:hover::before { width: 32px; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 32px 70px;
  position: relative;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink-bone);
  margin-bottom: 48px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink-bone);
  opacity: 0.4;
}

.section-number {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  color: var(--red-bright);
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--ink-bone);
  text-transform: uppercase;
  flex: 1;
}

.section-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* Section transition — wayfinding strip / scroll prompt between sections */
.section-transition {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px 32px;
  margin: 0 auto;
  max-width: 1320px;
  border-top: 1px solid var(--red-deep);
  border-bottom: 1px solid var(--red-deep);
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-decoration: none;
  user-select: none;
  transition: color 0.2s;
}

.section-transition::before,
.section-transition::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--red-deep);
  opacity: 0.45;
}
.section-transition::before { top: 5px; }
.section-transition::after { bottom: 5px; }

.section-transition__primary {
  color: var(--ink-cream);
}

.section-transition__count {
  color: var(--red-bright);
  position: relative;
  padding: 0 6px;
}

.section-transition__count::before,
.section-transition__count::after {
  content: "·";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  letter-spacing: 0;
}
.section-transition__count::before { left: -10px; }
.section-transition__count::after  { right: -10px; }

.section-transition__arrow {
  font-family: var(--display);
  font-size: 22px;
  color: var(--red-bright);
  letter-spacing: 0;
  line-height: 0.85;
  display: inline-block;
  transition: transform 0.25s ease, color 0.2s;
}

.section-transition:hover {
  color: var(--ink-bone);
  background: rgba(122, 24, 24, 0.06);
}
.section-transition:hover .section-transition__primary {
  color: var(--ink-bone);
}
.section-transition:hover .section-transition__arrow {
  color: var(--cream-vanilla);
  transform: translateX(6px);
}

/* ============================================================
   3b. ONGOING — CAMPAIGN BANNER
   Cream stop-press strip between nav and Current Issue
   ============================================================ */

.ongoing-banner {
  background: var(--cream-vanilla);
  border-bottom: 4px double var(--red-deep);
  position: relative;
  overflow: hidden;
}

/* Diagonal striping at edges — printer's caution-tape feel */
.ongoing-banner::before,
.ongoing-banner::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 22px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--red-deep) 0 6px,
    var(--cream-vanilla) 6px 12px
  );
  opacity: 0.85;
}
.ongoing-banner::before { left: 0; }
.ongoing-banner::after  { right: 0; }

.ongoing-banner__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.ongoing-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-bright);
  color: var(--cream-vanilla);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 8px 14px 8px 12px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
  align-self: center;
  white-space: nowrap;
}

.ongoing-banner__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream-vanilla);
  box-shadow: 0 0 0 0 rgba(245,234,208,0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,234,208,0.8); }
  70%  { box-shadow: 0 0 0 10px rgba(245,234,208,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,234,208,0); }
}

.ongoing-banner__headline {
  font-family: var(--headline);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.005em;
  color: var(--red-deep);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
}

.ongoing-banner__sub {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: rgba(20, 17, 15, 0.75);
  line-height: 1.45;
  margin: 0;
  max-width: 70ch;
}

.ongoing-banner__cta {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-deep);
  border: 2px solid var(--red-deep);
  background: transparent;
  padding: 12px 22px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.ongoing-banner__cta:hover {
  background: var(--red-deep);
  color: var(--cream-vanilla);
}

/* ============================================================
   4. CURRENT ISSUE
   ============================================================ */

.current-issue__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}

/* LEAD ARTICLE */
.lead-article {
  position: relative;
}

.lead-article__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid var(--ink-faint);
  background: #000;
}

.lead-article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.15) brightness(0.92) sepia(0.15);
  transition: filter 0.4s, transform 0.6s;
}

.lead-article:hover .lead-article__media img {
  transform: scale(1.03);
  filter: grayscale(0.6) contrast(1.2);
}

/* Halftone overlay on lead image */
.lead-article__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(20,17,15,0) 0%, rgba(20,17,15,0.5) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.lead-article__stamp {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--red-bright);
  color: var(--ink-bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 2;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  border: 1px solid rgba(241,231,211,0.2);
}

.lead-article__body {
  padding-top: 24px;
}

.kicker, .lead-article__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker::before, .lead-article__kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--red-bright);
}

.lead-article__title {
  font-family: var(--headline);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  color: var(--ink-bone);
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.lead-article__byline,
.byline {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.lead-article__excerpt,
.excerpt {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-cream);
  margin-bottom: 22px;
  max-width: 60ch;
}

/* Drop cap on lead */
.lead-article__excerpt::first-letter {
  font-family: var(--display);
  font-weight: 400;
  font-size: 60px;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--red-bright);
}

.read-on {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--headline);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--ink-bone);
  text-transform: uppercase;
  border-bottom: 2px solid var(--red-bright);
  padding-bottom: 4px;
  transition: gap 0.2s, color 0.2s;
}

.read-on:hover { gap: 16px; color: var(--red-bright); }

/* SECONDARY ARTICLES */
.secondary-articles {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.secondary-article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--ink-faint);
}

.secondary-article:last-child { border-bottom: none; padding-bottom: 0; }

.secondary-article__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--ink-faint);
  background: #000;
  position: relative;
}

.secondary-article__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.15) sepia(0.1);
}

.secondary-article__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,17,15,0.4) 100%);
  pointer-events: none;
}

.secondary-article h3 {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink-bone);
  margin-bottom: 8px;
}

.secondary-article .excerpt {
  font-size: 15px;
  margin-bottom: 14px;
  -webkit-line-clamp: 3;
}

/* ============================================================
   5. VIDEOS — film-strip feel
   ============================================================ */

.videos-section {
  background: var(--rustic-noir);
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border: 2px solid var(--ink-faint);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.3s;
}

.video-card:hover {
  border-color: var(--red-bright);
  transform: translateY(-4px);
}

.video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.video-card:hover img { transform: scale(1.05); }

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,0.2) 0%, rgba(20,17,15,0.05) 50%, rgba(20,17,15,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.video-card__play {
  align-self: flex-start;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 3px solid var(--ink-bone);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.video-card:hover .video-card__play {
  transform: scale(1.1) rotate(-5deg);
}

.video-card__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid var(--ink-bone);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.video-card__title {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--mustard-seed);
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0,0,0,0.85);
}

.video-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mustard-seed);
  letter-spacing: 0.15em;
  margin-top: 8px;
  text-transform: uppercase;
  opacity: 0.95;
}

.video-card__meta::before {
  content: "▷";
  color: var(--mustard-seed);
  font-size: 10px;
}

/* ============================================================
   6. OUR MOVEMENTS — exhibition / archive plates
   ============================================================ */

.movements-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--red-deep);
  border-bottom: 1px solid var(--red-deep);
  position: relative;
  overflow: hidden;
}

/* Year timeline — chronological navigation for movements archive */
.timeline {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
  padding: 26px 0 8px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}

.timeline__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-left: 4px;
}

/* Mask fade on right edge to hint horizontal scroll */
.timeline__rail-wrap {
  position: relative;
}
.timeline__rail-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--bg-deep));
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.timeline__rail {
  list-style: none;
  margin: 0;
  padding: 14px 4px 8px;
  display: flex;
  gap: 0;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  scroll-snap-type: x proximity;
}

/* The horizontal rail line itself */
.timeline__rail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--ink-mute) 0 6px,
    transparent 6px 10px
  );
  opacity: 0.5;
  z-index: 0;
}

.timeline__rail::-webkit-scrollbar { height: 6px; }
.timeline__rail::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
.timeline__rail::-webkit-scrollbar-track {
  background: rgba(241, 231, 211, 0.04);
}

/* Nodes are fixed-width — the rail scrolls when many events are present */
.timeline__node {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 8px;
  z-index: 1;
  scroll-snap-align: start;
}

.timeline__year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
  white-space: nowrap;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  background: var(--bg-deep);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  margin-bottom: 10px;
  transition: background 0.2s, transform 0.25s, box-shadow 0.2s;
}

.timeline__title {
  font-family: var(--headline);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-cream);
  line-height: 1.2;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.timeline__node:hover .timeline__dot {
  background: var(--gold);
  transform: rotate(45deg) scale(1.2);
}
.timeline__node:hover .timeline__title {
  color: var(--ink-bone);
  border-bottom-color: var(--gold);
}

.timeline__node--active .timeline__dot {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(201, 48, 48, 0.22);
}
.timeline__node--active .timeline__title {
  color: var(--red-bright);
  border-bottom-color: var(--red-bright);
}
.timeline__node--active .timeline__year {
  color: var(--red-bright);
}

/* Hint caption between timeline and the (initially empty) plate area */
.movements-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: center;
  padding: 20px 0;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s;
}
.movements-hint::before { content: "↑"; color: var(--red-bright); font-size: 14px; letter-spacing: 0; }
.movements-hint--hidden { opacity: 0; pointer-events: none; height: 0; padding: 0; margin: 0; overflow: hidden; }

/* Plates: hidden by default, revealed on timeline click. One at a time. */
.movements-grid {
  display: block;
  position: relative;
  z-index: 1;
  min-height: 280px;
}

.movement-plate {
  display: none;
  max-width: 920px;
  margin: 0 auto;
}

.movement-plate--visible {
  display: flex;
  flex-direction: column;
  animation: plate-reveal 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes plate-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stub card shown when a timeline node has no plate content yet */
.movement-stub {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 36px;
  border: 1px dashed var(--ink-faint);
  text-align: center;
  position: relative;
}

.movement-stub--visible {
  display: block;
  animation: plate-reveal 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.movement-stub__chrono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.movement-stub__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
  color: var(--ink-bone);
  letter-spacing: 0.015em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.movement-stub__body {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.55;
}

.movement-stub__badge {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  text-transform: uppercase;
  border: 1px solid var(--red-bright);
  padding: 6px 14px;
}

.movement-plate__chrono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--ink-faint);
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}

.movement-plate__chrono span:last-child { color: var(--red-bright); }

.movement-plate__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.95;
  color: var(--ink-bone);
  letter-spacing: 0.015em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.movement-plate__title em {
  font-style: normal;
  color: var(--red-bright);
}

.movement-plate__subtitle {
  font-family: var(--body);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.movement-plate__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  overflow: hidden;
  border: 7px solid var(--accent, var(--gold));
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

.movement-plate--gold { --accent: var(--gold); }
.movement-plate--green { --accent: var(--green-mid); }

.movement-plate__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.95);
}

.movement-plate__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(0,0,0,0.06) 2px, rgba(0,0,0,0.06) 3px);
  pointer-events: none;
  z-index: 2;
}

.movement-plate__plaque {
  background: var(--bg-elevated);
  border: 1px solid var(--ink-faint);
  border-left: 4px solid var(--accent);
  padding: 22px 26px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-cream);
  position: relative;
}

.movement-plate__plaque-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.movement-plate__plaque em {
  font-style: italic;
  color: var(--red-bright);
}

.movement-plate__plaque a {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--headline);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.movement-plate__plaque a:hover {
  filter: brightness(1.25);
}

/* ============================================================
   7. MAGAZINE ARCHIVE
   ============================================================ */

.archive-section {
  background: var(--bg-archive);
  border-top: 1px solid var(--red-deep);
  position: relative;
  overflow: hidden;
}

.archive-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background:
    repeating-linear-gradient(90deg, var(--red-deep) 0px, var(--red-deep) 8px, var(--bg-archive) 8px, var(--bg-archive) 16px);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 12px;
}

.archive-issue {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.archive-issue:hover { transform: translateY(-6px); }

.archive-issue__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: var(--bg-paper);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--ink-faint),
    8px 8px 0 rgba(0,0,0,0.4);
  margin-bottom: 18px;
  transition: box-shadow 0.3s;
}

.archive-issue:hover .archive-issue__cover {
  box-shadow:
    0 0 0 1px var(--red-bright),
    8px 8px 0 var(--red-deep);
}

.archive-issue__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

/* Generated cover style — when no image */
.archive-issue__cover--gen {
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 48, 48, 0.4), transparent 50%),
    repeating-linear-gradient(45deg, var(--bg-paper) 0px, var(--bg-paper) 4px, rgba(122,24,24,0.1) 4px, rgba(122,24,24,0.1) 8px),
    var(--red-deep);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.archive-issue__cover--gen .gen-banner {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-bone);
  text-transform: uppercase;
  border-top: 1px solid var(--ink-bone);
  border-bottom: 1px solid var(--ink-bone);
  padding: 3px 0;
  text-align: center;
  background: rgba(0,0,0,0.3);
}

.archive-issue__cover--gen .gen-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 0.92;
  color: var(--ink-bone);
  text-align: left;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.archive-issue__cover--gen .gen-foot {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-bone);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 1px solid rgba(241,231,211,0.4);
  padding-top: 4px;
}

.archive-issue__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.archive-issue__title {
  font-family: var(--headline);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ink-bone);
  text-transform: uppercase;
}

.archive-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.archive-cta a {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--ink-bone);
  text-transform: uppercase;
  border: 2px solid var(--ink-bone);
  padding: 16px 32px;
  background: transparent;
  position: relative;
  transition: color 0.2s, background 0.2s;
}

.archive-cta a::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--ink-bone);
  pointer-events: none;
}

.archive-cta a:hover {
  background: var(--ink-bone);
  color: var(--bg-deep);
}

/* ============================================================
   8. FOOTER
   ============================================================ */

.footer {
  background: var(--bg-deep);
  border-top: 4px solid var(--red-deep);
  padding: 60px 0 0;
  position: relative;
}

.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0.015em;
  margin-bottom: 14px;
  color: transparent;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' seed='6'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.5 1.4'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    linear-gradient(180deg, #f3eada 0%, #e8dcc2 100%);
  background-size: 90px 90px, 100% 100%;
  background-blend-mode: multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
}

.footer__brand p {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: 20px;
}

.footer__estd {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  text-transform: uppercase;
  border-top: 1px dashed var(--ink-faint);
  padding-top: 12px;
  display: inline-block;
}

.footer__col h4 {
  font-family: var(--headline);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--ink-bone);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--red-deep);
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-cream);
  margin-bottom: 8px;
}

.footer__col a {
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--red-bright); }

.footer__bottom {
  margin-top: 60px;
  border-top: 1px solid var(--ink-faint);
  padding: 22px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.footer__bottom span { color: var(--red-bright); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .current-issue__grid { grid-template-columns: 1fr; gap: 56px; }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .movements-grid { grid-template-columns: 1fr; gap: 64px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .ongoing-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 48px;
    text-align: left;
  }
  .ongoing-banner__tag { justify-self: start; }
  .ongoing-banner__cta { justify-self: start; }
}

@media (max-width: 720px) {
  .section { padding: 56px 20px 48px; }
  .section-header { flex-wrap: wrap; gap: 12px; }
  .section-title { font-size: 24px; flex-basis: 100%; order: 2; }
  .section-meta { font-size: 10px; }
  .ongoing-banner::before,
  .ongoing-banner::after { width: 14px; }
  .ongoing-banner__inner { padding: 18px 30px; }
  .ongoing-banner__headline { font-size: 20px; }
  .timeline__node { flex: 1 0 110px; }
  .timeline__title { font-size: 12px; }
  .section-transition {
    gap: 14px;
    padding: 18px 20px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }
  .section-transition__arrow { font-size: 20px; }
  .lang-strip__inner { padding: 8px 16px; gap: 4px; }
  .lang-btn { padding: 3px 6px; font-size: 11px; }
  .masthead__inner { padding: 28px 16px 24px; }
  .masthead__tagline { font-size: 10px; letter-spacing: 0.2em; }
  .masthead__dateline { font-size: 11px; letter-spacing: 0.2em; }
  .primary-nav ul { padding: 0 8px; }
  .primary-nav a { padding: 14px 14px; font-size: 12px; letter-spacing: 0.12em; }
  .primary-nav li:not(:last-child)::after { display: none; }
  .videos-grid { grid-template-columns: 1fr; gap: 24px; }
  .video-card { aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .secondary-article { grid-template-columns: 100px 1fr; gap: 14px; }
  .secondary-article h3 { font-size: 18px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   WORDPRESS ADDITIONS — Peasants Voice
   Everything below extends the approved prototype design to
   the dynamic templates (single, listing, forms, comments).
   ============================================================ */

/* --- Accessibility helpers --- */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red-bright); color: var(--ink-bone);
  font-family: var(--headline); font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 14px 22px; font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- Mobile nav toggle --- */
.primary-nav__bar { display: flex; align-items: center; justify-content: space-between; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--ink-faint);
  color: var(--ink-bone); font-family: var(--headline); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px;
  padding: 12px 16px; cursor: pointer; margin: 8px 0;
}
.nav-toggle:hover { background: rgba(122,24,24,0.25); }

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--red-bright); }
.primary-nav .current-menu-item > a::before { width: 32px; }

/* Sub-menus */
.primary-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--bg-deep); border: 1px solid var(--ink-faint);
  list-style: none; padding: 6px 0; z-index: 60;
}
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 12px 22px; font-size: 12px; }
.primary-nav .sub-menu li::after { display: none !important; }

/* ============================================================
   GENERIC PAGE / ARTICLE SHELL
   ============================================================ */
.page-shell { max-width: 1320px; margin: 0 auto; padding: 64px 32px 80px; }

/* Breadcrumb / eyebrow */
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 24px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.eyebrow a { color: var(--red-bright); }
.eyebrow a:hover { color: var(--ink-bone); }
.eyebrow .sep { color: var(--ink-faint); }

/* ============================================================
   SINGLE ARTICLE READER
   ============================================================ */
.article { max-width: 760px; margin: 0 auto; }
.article__header { margin-bottom: 36px; border-bottom: 2px solid var(--ink-bone); padding-bottom: 28px; }
.article__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--red-bright); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.article__kicker::before { content: ""; width: 22px; height: 1px; background: var(--red-bright); }
.article__title {
  font-family: var(--headline); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1.04;
  letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink-bone);
  margin-bottom: 18px;
}
.article__meta {
  font-family: var(--body); font-style: italic; font-size: 16px;
  color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.article__meta strong { color: var(--ink-cream); font-style: normal; font-weight: 600; }
.article__lang-row { margin-top: 16px; }

.article__feature {
  margin: 0 0 36px; border: 1px solid var(--ink-faint); overflow: hidden; background: #000;
}
.article__feature img { width: 100%; filter: grayscale(0.7) contrast(1.12) sepia(0.12); }
.article__feature figcaption {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 10px 14px; background: var(--bg-elevated); border-top: 1px solid var(--ink-faint);
}

/* Prose */
.prose { font-family: var(--body); font-size: 19px; line-height: 1.75; color: var(--ink-cream); }
.prose > * + * { margin-top: 1.25em; }
.prose p { max-width: 68ch; }
.prose > p:first-of-type::first-letter {
  font-family: var(--display); font-size: 64px; float: left;
  line-height: 0.82; margin: 8px 14px 0 0; color: var(--red-bright);
}
.prose h2 {
  font-family: var(--headline); font-weight: 700; font-size: 28px;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink-bone);
  margin-top: 1.8em; padding-bottom: 8px; border-bottom: 1px solid var(--ink-faint);
}
.prose h3 {
  font-family: var(--headline); font-weight: 600; font-size: 22px;
  color: var(--ink-bone); text-transform: uppercase; letter-spacing: 0.02em; margin-top: 1.6em;
}
.prose h4 { font-family: var(--headline); font-weight: 600; font-size: 18px; color: var(--ink-cream); margin-top: 1.4em; }
.prose a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red-deep); }
.prose a:hover { color: var(--ink-bone); }
.prose blockquote {
  border-left: 4px solid var(--red-deep); padding: 8px 0 8px 26px; margin-left: 0;
  font-style: italic; color: var(--ink-bone); font-size: 22px; line-height: 1.5;
}
.prose blockquote cite { display: block; font-size: 14px; font-style: normal; color: var(--ink-mute);
  font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-top: 0.5em; }
.prose img { border: 1px solid var(--ink-faint); }
.prose hr { border: none; border-top: 1px dashed var(--ink-faint); margin: 2em 0; }
.prose code { font-family: var(--mono); background: var(--bg-elevated); padding: 2px 6px; font-size: 0.85em; }
.prose :lang(hi), .prose [lang="hi"] { font-family: var(--hindi); }
.prose :lang(bn), .prose [lang="bn"] { font-family: var(--bengali); }

/* WP core alignment + captions */
.alignleft { float: left; margin: 6px 28px 18px 0; max-width: 50%; }
.alignright { float: right; margin: 6px 0 18px 28px; max-width: 50%; }
.aligncenter { margin: 1.5em auto; display: block; }
.alignwide { max-width: min(1080px, 92vw); margin-left: 50%; transform: translateX(-50%); }
.wp-caption, figure.wp-block-image { margin: 1.5em 0; }
.wp-caption-text, figcaption {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 8px;
}
.sticky-badge, .post-password-form { font-family: var(--body); }

/* Article footer: terms + share */
.article__footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-faint); }
.term-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.term-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-cream); border: 1px solid var(--ink-faint); padding: 7px 14px; transition: border-color .15s, color .15s;
}
.term-chip:hover { border-color: var(--red-bright); color: var(--red-bright); }

/* Post navigation (prev/next) */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.post-nav a { display: block; border: 1px solid var(--ink-faint); padding: 20px 22px; transition: border-color .15s; }
.post-nav a:hover { border-color: var(--red-bright); }
.post-nav .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-bright); display: block; margin-bottom: 8px; }
.post-nav .ttl { font-family: var(--headline); font-weight: 600; font-size: 16px; text-transform: uppercase; color: var(--ink-bone); line-height: 1.15; }
.post-nav .next { text-align: right; }

/* ============================================================
   LISTING / ARCHIVE / INDEX
   ============================================================ */
.archive-header { max-width: 1320px; margin: 0 auto; padding: 64px 32px 0; }
.archive-header__title {
  font-family: var(--headline); font-weight: 700; font-size: clamp(30px, 4.6vw, 56px);
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink-bone); line-height: 1;
}
.archive-header__desc { font-family: var(--body); font-style: italic; color: var(--ink-mute); max-width: 60ch; margin-top: 16px; font-size: 17px; }
.archive-header__rule { height: 2px; background: var(--ink-bone); margin-top: 24px; position: relative; }
.archive-header__rule::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 120px; background: var(--red-bright); }

.post-list {
  max-width: 1320px; margin: 0 auto; padding: 48px 32px 80px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px;
}
.post-list--narrow { grid-template-columns: repeat(2, 1fr); max-width: 980px; }

.post-card { display: flex; flex-direction: column; border-bottom: 1px dashed var(--ink-faint); padding-bottom: 28px; }
.post-card__media { aspect-ratio: 3/2; overflow: hidden; border: 1px solid var(--ink-faint); background: #000; margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.8) contrast(1.12) sepia(0.1); transition: transform .5s, filter .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); filter: grayscale(0.5) contrast(1.18); }
.post-card__kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 10px; }
.post-card__title { font-family: var(--headline); font-weight: 700; font-size: 21px; line-height: 1.12; text-transform: uppercase; color: var(--ink-bone); margin-bottom: 10px; }
.post-card:hover .post-card__title { color: var(--red-bright); }
.post-card__byline { font-family: var(--body); font-style: italic; font-size: 14px; color: var(--ink-mute); margin-bottom: 10px; }
.post-card__excerpt { font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--ink-cream); margin-bottom: 12px; }
.post-card__date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-top: auto; }

/* Pagination */
.pv-pagination { max-width: 1320px; margin: 0 auto; padding: 0 32px 90px; display: flex; justify-content: center; }
.pv-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-pagination .page-numbers {
  font-family: var(--headline); font-weight: 600; font-size: 14px; letter-spacing: 0.1em;
  color: var(--ink-cream); border: 1px solid var(--ink-faint); padding: 12px 18px; transition: all .15s;
}
.pv-pagination .page-numbers.current { background: var(--red-deep); border-color: var(--red-deep); color: var(--ink-bone); }
.pv-pagination a.page-numbers:hover { border-color: var(--red-bright); color: var(--red-bright); }

.empty-state { max-width: 720px; margin: 0 auto; padding: 80px 32px 120px; text-align: center; }
.empty-state h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px,4vw,44px); color: var(--ink-bone); text-transform: uppercase; margin-bottom: 16px; }
.empty-state p { font-family: var(--body); font-style: italic; color: var(--ink-mute); }

/* ============================================================
   FORMS / SEARCH / GRIEVANCE
   ============================================================ */
.pv-form { display: flex; flex-direction: column; gap: 22px; }
.pv-field { display: flex; flex-direction: column; gap: 8px; }
.pv-field label, .pv-form-label {
  font-family: var(--headline); font-weight: 600; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-bone);
}
.pv-field .req { color: var(--red-bright); }
.pv-input, .pv-textarea, .pv-select,
.search-field, input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  font-family: var(--body); font-size: 16px; background: var(--bg-deep);
  color: var(--ink-bone); border: 1px solid var(--ink-faint); padding: 14px 16px; width: 100%;
}
.pv-input:focus, .pv-textarea:focus, .pv-select:focus,
input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; }
.pv-textarea { min-height: 160px; resize: vertical; }
.pv-hint { font-family: var(--body); font-style: italic; font-size: 13px; color: var(--ink-mute); }

.btn, button[type="submit"], input[type="submit"], .pv-submit {
  font-family: var(--headline); font-weight: 700; font-size: 14px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink-bone); background: var(--red-deep);
  border: 2px solid var(--red-deep); padding: 16px 30px; cursor: pointer; transition: background .2s, color .2s;
  align-self: flex-start;
}
.btn:hover, button[type="submit"]:hover, input[type="submit"]:hover, .pv-submit:hover { background: var(--red-bright); border-color: var(--red-bright); }
.btn--ghost { background: transparent; color: var(--ink-bone); border-color: var(--ink-bone); }
.btn--ghost:hover { background: var(--ink-bone); color: var(--bg-deep); }

.pv-notice { padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--bg-elevated); font-family: var(--body); margin-bottom: 28px; }
.pv-notice--ok { border-left-color: var(--green-mid); }
.pv-notice--err { border-left-color: var(--red-bright); }

/* Grievance intro panel */
.grievance-intro { background: var(--bg-elevated); border: 1px solid var(--ink-faint); border-left: 4px solid var(--red-deep); padding: 26px 28px; margin-bottom: 36px; }
.grievance-intro p { font-family: var(--body); color: var(--ink-cream); max-width: 70ch; }
.grievance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .grievance-grid { grid-template-columns: 1fr; } }

/* Search form (header / inline) */
.search-form { display: flex; gap: 0; max-width: 520px; }
.search-form .search-field { border-right: none; }
.search-form .search-submit { white-space: nowrap; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { max-width: 760px; margin: 56px auto 0; }
.comments-title, .comment-reply-title {
  font-family: var(--headline); font-weight: 700; font-size: 22px; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--ink-bone); margin-bottom: 24px; padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-faint);
}
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px 0; border-bottom: 1px dashed var(--ink-faint); }
.comment-author .fn { font-family: var(--headline); font-weight: 600; color: var(--ink-bone); font-style: normal; }
.comment-metadata { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-mute); text-transform: uppercase; }
.comment-list .children { list-style: none; padding-left: 28px; border-left: 1px solid var(--ink-faint); }

/* ============================================================
   LANGUAGE STRIP (multilingual switch — base styles)
   prototype referenced these in responsive only
   ============================================================ */
.lang-strip { background: var(--bg-deep); border-bottom: 1px solid var(--ink-faint); }
.lang-strip__inner {
  max-width: 1320px; margin: 0 auto; padding: 10px 32px; display: flex;
  align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.lang-strip__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-mute); margin-right: 8px; }
.lang-btn {
  font-family: var(--headline); font-weight: 600; font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-cream); padding: 4px 10px; border: 1px solid transparent; transition: all .15s;
}
.lang-btn:hover, .lang-btn--active { color: var(--ink-bone); border-color: var(--ink-faint); }
.lang-btn--active { color: var(--red-bright); }
.lang-btn[lang="hi"], .lang-btn[lang="mr"] { font-family: var(--hindi); }
.lang-btn[lang="bn"] { font-family: var(--bengali); }

/* ============================================================
   ARCHIVE: ISSUE single (taxonomy-issue) + statements/bulletin list reuse
   ============================================================ */
.issue-masthead { max-width: 1320px; margin: 0 auto; padding: 64px 32px 0; display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.issue-masthead__cover { box-shadow: 0 0 0 1px var(--ink-faint), 10px 10px 0 rgba(0,0,0,0.4); aspect-ratio: 3/4; overflow: hidden; }
.issue-masthead__cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .issue-masthead { grid-template-columns: 1fr; gap: 28px; } .issue-masthead__cover { max-width: 220px; } }

/* ============================================================
   RESPONSIVE — WP additions
   ============================================================ */
@media (max-width: 1024px) {
  .post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-shell { padding: 40px 20px 64px; }
  .post-list, .post-list--narrow { grid-template-columns: 1fr; gap: 32px; padding: 36px 20px 64px; }
  .archive-header { padding: 44px 20px 0; }
  .post-nav { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .primary-nav ul.menu, .primary-nav > ul { display: none; flex-direction: column; width: 100%; }
  .primary-nav.is-open ul.menu, .primary-nav.is-open > ul { display: flex; }
  .primary-nav li { width: 100%; }
  .primary-nav li:not(:last-child)::after { display: none; }
  .primary-nav a { text-align: center; padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .primary-nav .sub-menu { position: static; border: none; }
}

/* ============================================================
   KISAN BULLETIN — dispatch feed (short, dated, scannable)
   ============================================================ */
.dispatch-list { max-width: 920px; margin: 0 auto; padding: 40px 32px 80px; }
.dispatch {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px dashed var(--ink-faint);
  align-items: baseline;
}
.dispatch:first-child { border-top: 1px solid var(--ink-faint); }
.dispatch__date {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); line-height: 1.4; white-space: nowrap;
}
.dispatch__date .yr { display: block; color: var(--ink-mute); font-size: 11px; }
.dispatch__kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red-bright); margin-bottom: 6px;
}
.dispatch__title {
  font-family: var(--headline); font-weight: 700; font-size: 21px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink-bone); margin-bottom: 6px;
}
.dispatch:hover .dispatch__title { color: var(--red-bright); }
.dispatch__excerpt { font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--ink-cream); max-width: 64ch; }
.dispatch__more { font-family: var(--headline); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.dispatch:hover .dispatch__more { color: var(--red-bright); }

@media (max-width: 720px) {
  .dispatch-list { padding: 28px 20px 64px; }
  .dispatch { grid-template-columns: 1fr; gap: 6px; }
  .dispatch__date { color: var(--red-bright); }
  .dispatch__date .yr { display: inline; }
}
