/* Indian Currents News — editorial theme, red accents */
:root {
  --red: #C1121F;
  --red-hover: #A50F1A;
  --red-deep: #7F0B14;
  --red-tint: #FCEBED;
  --ink: #17120F;
  --ink-soft: #3B332D;
  --muted: #7A6F66;
  --paper: #FBF8F4;
  --card: #FFFFFF;
  --wash: #F3EDE4;
  --line: #E8DFD4;
  --display: "Playfair Display", "Noto Serif Devanagari", "Noto Serif Gurmukhi", Georgia, serif;
  --reading: "Noto Serif", "Noto Serif Devanagari", "Noto Serif Gurmukhi", Georgia, serif;
  --sans: "Inter", "Noto Sans Devanagari", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --maxw: 1200px;
  --shadow: 0 1px 2px rgba(23, 18, 15, .05), 0 10px 30px rgba(23, 18, 15, .07);
  --tlh: 1.3;
  --lh: 1.85;
}

/*
@media (prefers-color-scheme:dark){
  :root{--ink:#F3ECE4;--ink-soft:#D9CFC5;--muted:#A0958B;--paper:#120F0E;--card:#1B1716;--wash:#221D1B;--line:#332C29;--red:#E5373F;--red-hover:#F0555B;--red-tint:#2E1517;--shadow:0 1px 2px rgba(0,0,0,.4),0 10px 30px rgba(0,0,0,.35)}
}
  */
* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased
}

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

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

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0
}

ul {
  padding: 0;
  list-style: none
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100
}

.skip-link:focus {
  left: 12px
}

/* ---------- Header ---------- */
.topbar {
  background: var(--wash);
  color: var(--ink-soft);
  font-size: .8rem;
  border-bottom: 1px solid var(--line)
}

.topbar__in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 12px
}

.topbar__date {
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.lang-switch {
  display: inline-flex;
  background: var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-left: auto
}

.lang-switch a {
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.4;
  transition: background .2s, color .2s
}

.lang-switch a:hover {
  background: rgba(0, 0, 0, .06)
}

.lang-switch a[aria-current="true"] {
  background: var(--red);
  color: #fff
}

.masthead {
  text-align: center;
  padding: 26px 0 16px;
  background: var(--paper)
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink)
}

.brand__mark {
  color: var(--red);
  flex: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(193, 18, 31, .28)
}

.brand__name {
  font: 800 clamp(1.9rem, 5.2vw, 3.3rem)/1.05 var(--display);
  letter-spacing: -.015em;
  font-variant-numeric: lining-nums
}

.brand__name em {
  font-style: italic;
  font-weight: 700;
  color: var(--red)
}

.brand__tag {
  margin-top: 10px;
  font-size: .82rem;
  letter-spacing: .14em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px
}

.brand__tag::before,
.brand__tag::after {
  content: "";
  height: 1px;
  width: clamp(24px, 10vw, 110px);
  background: linear-gradient(90deg, transparent, var(--red))
}

.brand__tag::after {
  transform: scaleX(-1)
}

html[lang^="hi"] .brand__tag,
html[lang^="pa"] .brand__tag {
  letter-spacing: .04em;
  font-size: .9rem
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line)
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 8px
}

.nav__list {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  margin-inline: -6px
}

.nav__list::-webkit-scrollbar {
  display: none
}

.nav__list a {
  display: block;
  padding: 14px 12px;
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  position: relative;
  color: var(--ink-soft);
  transition: color .2s
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s
}

.nav__list a:hover {
  color: var(--red)
}

.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after {
  transform: scaleX(1)
}

.nav__list a[aria-current="page"] {
  color: var(--red)
}

.nav__search {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink-soft)
}

.nav__search:hover,
.nav__search[aria-current="page"] {
  color: var(--red);
  background: var(--red-tint)
}

/* ---------- Shared ---------- */
.section {
  padding-block: 44px
}

.section--tight {
  padding-top: 8px
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  background: var(--red)
}

.section-head__title {
  font: 700 1.55rem/var(--tlh) var(--display);
  font-variant-numeric: lining-nums
}

.section-head__link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap
}

.section-head__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px
}

.kicker {
  display: inline-block;
  font: 700 .74rem/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  padding: 5px 0
}

html[lang^="hi"] .kicker,
html[lang^="pa"] .kicker {
  letter-spacing: .02em;
  font-size: .85rem
}

.kicker:hover {
  color: var(--red-hover);
  text-decoration: underline;
  text-underline-offset: 4px
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--muted)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--red);
  transition: background .2s, transform .2s, color .2s
}

.btn:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px)
}

.btn--outline {
  background: transparent;
  color: var(--red)
}

.btn--outline:hover {
  background: var(--red);
  color: #fff
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.chips--center {
  justify-content: center;
  margin-top: 28px
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s
}

.chip:hover {
  border-color: var(--red);
  color: var(--red)
}

.chip--on {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

.chip--on:hover {
  color: #fff
}

.empty {
  color: var(--muted);
  padding: 40px 0;
  text-align: center
}

.page-head {
  padding-block: 48px 24px
}

.page-head__eyebrow {
  font: 700 .78rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px
}

.page-head__title {
  font: 800 clamp(2rem, 5vw, 3.2rem)/var(--tlh) var(--display);
  letter-spacing: -.01em
}

.page-head__lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch
}

/* Generative art fallback (no image) */
.art {
  background-color: #2A0C10;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60' viewBox='0 0 160 60'%3E%3Cpath d='M0 30c20-24 40-24 60 0s40 24 60 0 30-18 40-6' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E"),
    radial-gradient(120% 100% at 15% 10%, #D6202E 0, transparent 55%),
    linear-gradient(135deg, #1A0A0C, #44101A)
}

.art--1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60' viewBox='0 0 160 60'%3E%3Cpath d='M0 30c20-24 40-24 60 0s40 24 60 0 30-18 40-6' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E"), radial-gradient(110% 100% at 90% 0, #C1121F 0, transparent 55%), linear-gradient(160deg, #17120F, #3A0D14)
}

.art--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60' viewBox='0 0 160 60'%3E%3Cpath d='M0 30c20-24 40-24 60 0s40 24 60 0 30-18 40-6' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E"), radial-gradient(100% 90% at 50% 120%, #E23B45 0, transparent 60%), linear-gradient(120deg, #220B0E, #5A1520)
}

.art--3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60' viewBox='0 0 160 60'%3E%3Cpath d='M0 30c20-24 40-24 60 0s40 24 60 0 30-18 40-6' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E"), radial-gradient(120% 100% at 0 100%, #9E101B 0, transparent 55%), linear-gradient(200deg, #2B1214, #12090A)
}

/* ---------- Hero slider ---------- */
.hero-wrap {
  padding-top: 28px
}

.hero {
  border-radius: 20px;
  overflow: hidden;
  background: #140909;
  color: #fff;
  box-shadow: var(--shadow)
}

.hero__viewport {
  position: relative;
  height: clamp(440px, 58vw, 600px)
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s
}

.slide.is-active {
  opacity: 1;
  visibility: visible
}

.slide__media,
.slide__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.slide__media img {
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s ease-out
}

.slide.is-active .slide__media img {
  transform: scale(1)
}

.slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 4, 5, 0) 25%, rgba(10, 4, 5, .55) 62%, rgba(10, 4, 5, .92) 100%)
}

.slide__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 4.5vw, 60px);
  max-width: 900px
}

.slide .kicker {
  background: var(--red);
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  margin-bottom: 16px
}

.slide .kicker:hover {
  color: #fff;
  background: var(--red-hover);
  text-decoration: none
}

.slide__title {
  font: 800 clamp(1.55rem, 3.8vw, 2.9rem)/var(--tlh) var(--display);
  letter-spacing: -.005em;
  text-wrap: balance;
  font-variant-numeric: lining-nums
}

.slide__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--red)
}

.slide__summary {
  margin-top: 14px;
  font: 400 clamp(.95rem, 1.5vw, 1.1rem)/1.7 var(--reading);
  color: #EDE3DA;
  max-width: 68ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.slide__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 20px
}

.slide .meta {
  color: #D8CCC2
}

.hero__arrows {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  gap: 8px;
  z-index: 3
}

.hero__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(20, 9, 9, .45);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .2s
}

.hero__arrow:hover {
  background: var(--red);
  border-color: var(--red)
}

.hero__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--wash);
  border-top: 1px solid var(--line)
}

.hero__tab {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: start;
  background: none;
  border: 0;
  border-inline-end: 1px solid var(--line);
  padding: 18px 20px 20px;
  color: var(--muted);
  transition: color .2s, background .2s
}

.hero__tab:last-child {
  border-inline-end: 0
}

.hero__tab:hover {
  color: var(--ink);
  background: var(--card)
}

.hero__tab.is-active {
  color: var(--ink)
}

.hero__tab-num {
  font: 700 .95rem/1.5 var(--display);
  color: var(--red);
  flex: none
}

.hero__tab.is-active .hero__tab-num {
  color: var(--red-hover)
}

.hero__tab-title {
  font: 600 .9rem/1.45 var(--reading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.hero__tab::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--line)
}

.hero__tab::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left
}

.hero__tab.is-active::after {
  animation: ic-progress var(--dur, 6500ms) linear forwards
}

.hero:hover .hero__tab.is-active::after,
.hero:focus-within .hero__tab.is-active::after,
.hero.is-paused .hero__tab.is-active::after {
  animation-play-state: paused
}

@keyframes ic-progress {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero__tab.is-active::after {
    animation: none;
    transform: scaleX(1)
  }

  .slide,
  .slide__media img {
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

/* no-JS fallback: show all slides stacked */
.no-js .hero__viewport {
  height: auto
}

.no-js .slide {
  position: relative;
  opacity: 1;
  visibility: visible;
  min-height: 420px
}

.no-js .hero__arrows,
.no-js .hero__tabs {
  display: none
}

.hero--single .hero__tabs {
  display: none
}

@media (max-width:760px) {
  .hero {
    border-radius: 16px
  }

  .hero__viewport {
    height: min(540px, 128vw)
  }

  .hero__tab {
    padding: 12px 10px 14px;
    justify-content: center
  }

  .hero__tab-title {
    display: none
  }

  .hero__arrows {
    top: auto;
    bottom: calc(100% - 100% + 16px);
    right: 16px;
    display: none
  }
}

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

.grid-latest--n2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-latest--n1 {
  grid-template-columns: minmax(0, 560px)
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}

.card__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.card:hover .card__media img {
  transform: scale(1.04)
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1
}

.card__title {
  font: 700 1.22rem/var(--tlh) var(--display);
  font-variant-numeric: lining-nums
}

.card__title a {
  background: linear-gradient(var(--red), var(--red)) 0 100%/0 2px no-repeat;
  transition: background-size .3s
}

.card__title a:hover {
  background-size: 100% 2px
}

.card__summary {
  font: 400 .95rem/1.75 var(--reading);
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.card .meta {
  margin-top: auto;
  padding-top: 6px
}

@media (min-width:900px) {
  .card--lead {
    grid-column: span 2;
    flex-direction: row
  }

  .card--lead .card__media {
    aspect-ratio: auto;
    flex: 1.15;
    min-height: 320px
  }

  .card--lead .card__body {
    flex: 1;
    justify-content: center;
    padding: 28px
  }

  .card--lead .card__title {
    font-size: 1.75rem
  }
}

.strips {
  display: grid;
  gap: 40px 48px;
  grid-template-columns: repeat(2, 1fr)
}

.strip__list {
  display: flex;
  flex-direction: column
}

.compact {
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.compact:last-child {
  border-bottom: 0
}

.compact__title {
  font: 600 1.05rem/var(--tlh) var(--reading);
  margin-bottom: 4px
}

.compact__title a:hover {
  color: var(--red)
}

@media (max-width:980px) {

  .grid-latest,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .card--lead {
    grid-column: span 2
  }
}

@media (max-width:640px) {

  .grid-latest,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .card--lead {
    grid-column: auto;
    flex-direction: column
  }

  .strips {
    grid-template-columns: 1fr
  }

  .section {
    padding-block: 32px
  }
}

/* ---------- Article ---------- */
.article {
  padding-top: 44px
}

.article__head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center
}

.article__title {
  font: 800 clamp(1.9rem, 4.6vw, 3.1rem)/var(--tlh) var(--display);
  letter-spacing: -.01em;
  margin: 8px 0 16px;
  text-wrap: balance;
  font-variant-numeric: lining-nums
}

.article__dek {
  font: 400 clamp(1.05rem, 1.8vw, 1.25rem)/1.75 var(--reading);
  color: var(--ink-soft)
}

.article__meta {
  display: flex;
  justify-content: center;
  margin-top: 18px
}

.article__figure,
.article__art {
  max-width: 1000px;
  margin: 34px auto 0;
  border-radius: var(--radius);
  overflow: hidden
}

.article__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover
}

.article__figure figcaption {
  padding: 10px 4px;
  font-size: .78rem;
  color: var(--muted)
}

.article__art {
  aspect-ratio: 21/8
}

.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  max-width: 1040px;
  margin: 44px auto 0;
  align-items: start
}

.prose {
  font: 400 1.12rem/var(--lh) var(--reading);
  color: var(--ink)
}

.prose p {
  margin: 0 0 1.4em
}

.prose h2,
.prose h3 {
  font: 700 1.5rem/var(--tlh) var(--display);
  margin: 1.8em 0 .6em
}

.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px
}

.prose blockquote {
  margin: 1.8em 0;
  padding: .2em 0 .2em 1.4em;
  border-inline-start: 4px solid var(--red);
  font-style: italic;
  color: var(--ink-soft)
}

.prose img {
  border-radius: 10px;
  margin: 1.6em 0
}

.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
  margin: 0 0 1.4em
}

.prose ul {
  list-style: disc
}

.prose li {
  margin-bottom: .4em
}

.article__side {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 26px
}

.source-card {
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--red);
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px
}

.source-card__label {
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px
}

html[lang^="hi"] .source-card__label,
html[lang^="pa"] .source-card__label {
  letter-spacing: .02em;
  font-size: .85rem
}

.source-card__title {
  font: 700 1.1rem/1.4 var(--display)
}

.source-card__domain {
  font-size: .82rem;
  color: var(--muted);
  margin: 2px 0 16px;
  word-break: break-all
}

.source-card__note {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6
}

.side-block__h {
  font: 700 .8rem/1 var(--sans);
  color: var(--muted);
  margin-bottom: 10px
}

@media (max-width:900px) {
  .article__layout {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .article__side {
    position: static;
    order: -1
  }

  .article__art {
    aspect-ratio: 16/7
  }
}

/* ---------- Archive / Search / About / 404 ---------- */
.archive__group {
  margin-bottom: 36px
}

.archive__month {
  font: 700 1.3rem/1.3 var(--display);
  color: var(--red);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px
}

.archive__list li {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline
}

.archive__list time {
  font-size: .82rem;
  color: var(--muted)
}

.archive__list a:not(.archive__cat) {
  font: 600 1.08rem/1.5 var(--reading)
}

.archive__list a:not(.archive__cat):hover {
  color: var(--red)
}

.archive__cat {
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
  background: var(--red-tint);
  padding: 4px 10px;
  border-radius: 999px
}

@media (max-width:640px) {
  .archive__list li {
    grid-template-columns: 1fr;
    gap: 4px
  }

  .archive__cat {
    justify-self: start
  }
}

.search__input {
  width: 100%;
  font: 500 1.2rem/1.4 var(--reading);
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink)
}

.search__input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-tint)
}

.search__status {
  margin: 16px 4px;
  color: var(--muted);
  font-size: .9rem;
  min-height: 1.4em
}

.search__results li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.search__results a {
  font: 700 1.2rem/1.4 var(--display)
}

.search__results a:hover {
  color: var(--red)
}

.search__results p {
  font: 400 .95rem/1.7 var(--reading);
  color: var(--ink-soft);
  margin-top: 4px
}

.search__results .meta {
  margin-top: 6px
}

.about__text {
  max-width: 720px
}

.about__text p {
  font: 400 1.1rem/1.9 var(--reading);
  margin-bottom: 1.2em;
  color: var(--ink-soft)
}

.about__text .about__lead {
  font-size: 1.35rem;
  color: var(--ink)
}

.about__h {
  font: 700 1.6rem/var(--tlh) var(--display);
  margin: 40px 0 20px
}

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

.about__point {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px
}

.about__num {
  font: 800 1.8rem/1 var(--display);
  color: var(--red)
}

.about__point h3 {
  font: 700 1.2rem/var(--tlh) var(--display);
  margin: 12px 0 8px
}

.about__point p {
  font: 400 .95rem/1.75 var(--reading);
  color: var(--ink-soft)
}

@media (max-width:760px) {
  .about__points {
    grid-template-columns: 1fr
  }
}

.notfound {
  text-align: center;
  padding-block: 80px
}

.notfound__code {
  font: 800 clamp(5rem, 18vw, 9rem)/1 var(--display);
  color: var(--red);
  opacity: .9
}

/* ---------- Disclaimer banner (article sidebar) ---------- */
.disclaimer-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #E8C97A;
  background: #FFFBEB;
  border-radius: var(--radius);
  padding: 14px 16px;
}

.disclaimer-banner__icon {
  flex: none;
  color: #B45309;
  margin-top: 2px
}

.disclaimer-banner__label {
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #92400E;
  margin-bottom: 6px
}

html[lang^="hi"] .disclaimer-banner__label,
html[lang^="pa"] .disclaimer-banner__label {
  letter-spacing: .02em;
  font-size: .82rem
}

.disclaimer-banner__text {
  font: 400 .85rem/1.65 var(--reading);
  color: #78350F
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  background: var(--wash);
  color: var(--ink-soft);
  border-top: 2px solid var(--line)
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 40px;
  padding-block: 52px 36px
}

.brand--footer {
  color: var(--ink)
}

.brand--footer .brand__name {
  font-size: 1.5rem
}

.footer__brand p {
  margin-top: 16px;
  font-size: .9rem;
  line-height: 1.8;
  max-width: 42ch;
  color: var(--muted)
}

.footer__h {
  font: 700 .78rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block
}

html[lang^="hi"] .footer__h,
html[lang^="pa"] .footer__h {
  letter-spacing: .02em;
  font-size: .9rem
}

.footer__h--spaced {
  margin-top: 28px
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: .92rem
}

.footer__list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.footer__list a:hover {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px
}

.footer__disclaimer {
  border-top: 1px solid var(--line);
  padding-block: 14px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.7
}

.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  font-size: .8rem;
  color: var(--muted)
}

@media (max-width:820px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

@media print {

  .topbar,
  .nav,
  .site-footer,
  .article__side,
  .hero__arrows {
    display: none
  }

  .prose {
    font-size: 12pt
  }
}