:root {
  --rose: #b84a5b;
  --rose-deep: #8e3444;
  --teal: #0e4a52;
  --teal-soft: #1a6a74;
  --brass: #c9a66b;
  --ink: #1a1614;
  --ink-soft: #3d3530;
  --mist: #f3ebe4;
  --sand: #e4d2c3;
  --paper: #faf6f1;
  --line: rgba(26, 22, 20, 0.12);
  --white: #fffdfb;
  --shadow-soft: 0 18px 50px rgba(26, 22, 20, 0.14);
  --font-display: "Literata", "Noto Serif Devanagari", Georgia, serif;
  --font-hi: "Noto Sans Devanagari", "Sora", sans-serif;
  --font-ui: "Sora", "Noto Sans Devanagari", sans-serif;
  --max: 1400px;
  --radius: 2px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-hi);
  font-size: 1rem; /* ≥16px */
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(184, 74, 91, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(14, 74, 82, 0.1), transparent 50%),
    linear-gradient(180deg, #f7efe7 0%, var(--paper) 35%, #f2e8df 100%);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

/* ========== Compact masthead: logo | nav | search+lang ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  min-height: var(--header-h);
  max-height: 80px;
  padding: 0.35rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: 1;
  gap: 0.4rem;
  flex: 0 0 auto;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.brand__mark {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(220px, 52vw);
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  object-fit: contain;
}

/* Kill WP custom-logo white plate if ever re-enabled */
.custom-logo-link,
.brand .custom-logo-link {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

.custom-logo-link img,
.brand .custom-logo img {
  height: 40px;
  width: auto;
  max-width: 220px;
  background: transparent !important;
}

.brand__word {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.brand__fallback {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  place-items: center;
  gap: 4px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

.nav-primary {
  justify-self: center;
  grid-column: 2;
  max-width: 100%;
  overflow: hidden;
}

.nav-primary .menu,
.nav-primary ul,
.nav-primary {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a,
.nav-primary .menu a,
.nav-primary li a {
  white-space: nowrap;
  padding: 0.4rem 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.nav-primary a:hover,
.nav-primary a.is-current,
.nav-primary .current-menu-item > a {
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
}

.masthead__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  grid-column: 3;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.search {
  display: flex;
  width: min(200px, 28vw);
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 2.15rem;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.35rem 0.55rem;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
}

.search button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--teal);
  color: var(--white);
  padding: 0 0.65rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: inline-flex;
  gap: 0.2rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
}

.lang.is-active {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: rgba(184, 74, 91, 0.08);
}

.js-missing-translation {
  font-style: italic;
  color: var(--ink-soft);
}

/* ========== Breaking / localities ========== */
.ticker {
  background: var(--ink);
  color: var(--white);
}

.ticker__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  min-height: 2.4rem;
  overflow: hidden;
}

.ticker__label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.ticker__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track p {
  display: flex;
  gap: 2.5rem;
  margin: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.9rem;
}

.localities {
  background: linear-gradient(90deg, rgba(14, 74, 82, 0.06), rgba(184, 74, 91, 0.06));
  border-bottom: 1px solid var(--line);
}

.localities__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.7rem 0;
  scrollbar-width: none;
  font-size: 0.9rem;
}

.localities__label {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  flex: 0 0 auto;
}

.localities a {
  white-space: nowrap;
  color: var(--ink-soft);
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
}

.localities a:hover {
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
}

/* ========== Hero video slider ========== */
.hero-slider {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-slider__track {
  position: relative;
  min-height: min(48svh, 440px);
  max-height: 520px;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  min-height: min(48svh, 440px);
}

.hero-slider__media,
.hero-slider__veil {
  position: absolute;
  inset: 0;
}

.hero-slider__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__veil {
  background:
    linear-gradient(180deg, rgba(26, 22, 20, 0.2) 0%, rgba(26, 22, 20, 0.35) 45%, rgba(26, 22, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(142, 52, 68, 0.28), transparent 55%);
  pointer-events: none;
}

.hero-slider__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 2rem 0 3.4rem;
}

.hero-slider__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-slider__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  max-width: 36ch;
  line-height: 1.35;
  color: rgba(255, 253, 251, 0.95);
}

.hero-slider__dek {
  margin: 0.65rem 0 0;
  max-width: 48ch;
  font-size: 0.98rem;
  color: rgba(255, 253, 251, 0.88);
}

.hero-slider__cta {
  margin-top: 1.1rem;
}

.hero-slider__controls {
  position: absolute;
  right: 0;
  bottom: 0.85rem;
  left: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  pointer-events: none;
}

.hero-slider__controls > * {
  pointer-events: auto;
}

.hero-slider__btn {
  min-height: 2.1rem;
  min-width: 2.1rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(26, 22, 20, 0.55);
  border: 1px solid rgba(255, 253, 251, 0.35);
  cursor: pointer;
}

.hero-slider__btn:hover {
  background: rgba(26, 22, 20, 0.75);
}

.hero-slider__dots {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.35rem;
}

.hero-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 251, 0.55);
  background: transparent;
  cursor: pointer;
}

.hero-slider__dot.is-active {
  background: var(--white);
}

/* Legacy lead (kept for non-home templates if reused) */
.lead {
  position: relative;
  min-height: min(56vh, 520px);
  max-height: 620px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

body.home .lead {
  min-height: min(52svh, 480px);
  max-height: 560px;
}

.lead--poster-only .lead__poster {
  display: block;
}

.lead--poster-only .lead__video {
  display: none;
}

.lead__media,
.lead__veil {
  position: absolute;
  inset: 0;
}

.lead__media video,
.lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead__video {
  display: block;
  z-index: 0;
}

.lead__poster {
  display: none;
}

.lead__toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  min-height: 2.2rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(26, 22, 20, 0.55);
  border: 1px solid rgba(255, 253, 251, 0.35);
  cursor: pointer;
}

.lead__toggle:hover {
  background: rgba(26, 22, 20, 0.75);
}

.lead__stock-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  max-width: min(42ch, 70vw);
  margin: 0;
  padding: 0.35rem 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 253, 251, 0.82);
  background: rgba(26, 22, 20, 0.45);
}

.lead__veil {
  background:
    linear-gradient(180deg, rgba(26, 22, 20, 0.18) 0%, rgba(26, 22, 20, 0.28) 42%, rgba(26, 22, 20, 0.9) 100%),
    linear-gradient(90deg, rgba(142, 52, 68, 0.32), transparent 55%);
  pointer-events: none;
}

.lead__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 2.2rem 0 1.8rem;
  max-width: none;
  animation: rise 1s 0.15s ease both;
}

.lead h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.lead h1 a {
  color: inherit;
}

.lead__dek {
  margin: 1rem 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  color: rgba(255, 253, 251, 0.9);
}

.lead__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1.2rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--rose);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--rose-deep);
}

.btn--ghost {
  border-color: rgba(255, 253, 251, 0.45);
  color: var(--white);
  background: rgba(255, 253, 251, 0.06);
}

.breaking-rail {
  position: relative;
  z-index: 2;
}

/* ========== Sections / editorial grids ========== */
.section {
  padding: 3.25rem 0;
}

.section--compact {
  padding: 1.75rem 0;
}

.section--slim {
  padding: 1.25rem 0 1.75rem;
}

.section__head {
  margin-bottom: 1.5rem;
  max-width: none;
}

.section--compact .section__head {
  margin-bottom: 1rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.2;
}

.section__head p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  max-width: 48rem;
}

/* Latest + tabs: balanced 3-col editorial grid (full wrap width) */
.story-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
}

.story-rail--latest,
.story-rail--tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tabs__tab {
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 253, 251, 0.65);
  border: 1px solid var(--line);
  cursor: pointer;
}

.tabs__tab.is-active,
.tabs__tab:hover {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.tabs__panel[hidden] {
  display: none !important;
}

.tabs__more {
  margin: 1rem 0 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
}

.tabs__more a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sources__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem 2rem;
  align-items: start;
}

.sources__row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.sources__row p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.source-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list--inline li {
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  background: rgba(255, 253, 251, 0.7);
  border: 1px solid var(--line);
}

/* Legacy category blocks (archives / older markup) */
.category-block .story-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

.category-block .story {
  display: grid;
  grid-template-columns: minmax(200px, 32%) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
  width: 100%;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.category-block .story:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.category-block .story__media {
  aspect-ratio: 4 / 3;
}

.story {
  display: grid;
  gap: 0.85rem;
  animation: rise 0.7s ease both;
  min-width: 0;
}

.story:nth-child(2) {
  animation-delay: 0.08s;
}

.story:nth-child(3) {
  animation-delay: 0.16s;
}

.story__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sand);
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story:hover .story__media img {
  transform: scale(1.04);
}

.story__cat {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.story h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.story h3 a:hover {
  color: var(--rose-deep);
}

.story__sum {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.story__meta {
  margin: 0.55rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--teal);
}

.ad-slot {
  padding-bottom: 1rem;
}

.ad-slot__box {
  border: 1px dashed rgba(14, 74, 82, 0.28);
  background: rgba(255, 253, 251, 0.65);
  min-height: 90px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.ad-slot__box span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Photo / video: full container split */
.split__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  width: 100%;
}

.photo-feature {
  display: grid;
  gap: 0.85rem;
}

.photo-feature img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.photo-feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.photo-feature p,
.video-card p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.video-card__frame {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(14, 74, 82, 0.92), rgba(142, 52, 68, 0.85)),
    var(--teal);
  color: var(--white);
  font-size: 2rem;
}

.video-card h3 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.sources {
  padding-top: 1rem;
}

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.source-list li {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 253, 251, 0.8);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0;
  background: var(--ink);
  color: rgba(255, 253, 251, 0.86);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 253, 251, 0.78);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--white);
}

/* Archive / search grids */
.archive-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Tablet / mobile ========== */
@media (max-width: 900px) {
  .masthead {
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    min-height: 56px;
    max-height: none;
  }

  .brand {
    grid-column: 1;
  }

  .masthead__tools {
    grid-column: 2;
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
  }

  .nav-primary {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    padding: 0.35rem 0 0.65rem;
    border-top: 1px solid var(--line);
  }

  .nav-primary.is-open {
    display: block;
  }

  .nav-primary .menu,
  .nav-primary ul,
  .nav-primary.is-open {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-primary a {
    display: block;
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .search {
    width: min(140px, 36vw);
  }

  .search button {
    font-size: 0;
    padding: 0 0.55rem;
  }

  .search button::before {
    content: "⌕";
    font-size: 0.95rem;
  }

  .story-rail,
  .story-rail--latest,
  .story-rail--tabs,
  .split__grid,
  .site-footer__grid,
  .sources__row {
    grid-template-columns: 1fr;
  }

  .category-block .story {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .hero-slider__track,
  .hero-slider__slide.is-active {
    min-height: min(58svh, 480px);
  }

  .hero-slider__content {
    width: min(var(--max), calc(100% - 2rem));
    padding-bottom: 3.8rem;
  }

  .hero-slider__brand {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .hero-slider__title {
    font-size: 1.05rem;
  }

  .hero-slider__dek {
    font-size: 1rem;
  }

  .lead {
    min-height: 70vh;
  }

  body.home .lead {
    min-height: calc(100svh - 8rem);
  }

  .lead__content {
    width: min(var(--max), calc(100% - 2rem));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .story-rail--latest,
  .story-rail--tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .masthead__tools .search {
    display: none;
  }

  .category-block .story {
    grid-template-columns: 1fr;
  }

  .category-block .story__media {
    aspect-ratio: 16 / 10;
  }
}

/* Article pages */
.article-page {
  padding: 2.5rem 0 4rem;
}

.article__header {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.article__header h1 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.article__dek {
  margin: 0.9rem 0 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.article__hero {
  margin: 0 0 2rem;
}

.article__hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.article__body {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 68ch;
}

.article__body p {
  margin: 0 0 1.15rem;
}

.article__source {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.article__source a {
  color: var(--rose-deep);
  text-decoration: underline;
}

.related-posts {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.related-posts h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.story__cat a {
  color: inherit;
  text-decoration: none;
}

.story__cat a:hover {
  text-decoration: underline;
}

.pagination {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .article__layout {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead__video,
  .hero-slider__video {
    display: none;
  }

  .lead__poster {
    display: block;
  }

  .hero-slider__media {
    background:
      center / cover no-repeat url("../video/hero-jaipur.jpg"),
      var(--ink);
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
