@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --archive-width: 190px;
  --ink: #332216;
  --deep-ink: #25170f;
  --brown: #6e321f;
  --brick: #7e321e;
  --gold: #a87535;
  --paper: #dfc796;
  --paper-light: #ead6a8;
  --paper-dark: #c8a66b;
  --line: rgba(92, 57, 25, 0.4);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Cinzel', Georgia, serif;
  --body: 'Libre Baskerville', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: #25180f;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(137, 88, 36, 0.22), transparent 34%),
    repeating-linear-gradient(88deg, rgba(255, 229, 157, 0.035) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(3deg, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 9px);
  font-family: var(--serif);
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 0.7px, transparent 1px),
    radial-gradient(circle at 80% 70%, #000 0 0.7px, transparent 1px);
  background-size: 17px 19px, 23px 27px;
  mix-blend-mode: overlay;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background: #2d1e13;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.45);
}

.carved-band {
  position: relative;
  z-index: 5;
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #d0a15b;
  border-top: 1px solid #71502b;
  border-bottom: 3px solid #160e09;
  background-color: #2a1b11;
  background-image:
    radial-gradient(ellipse at center, rgba(164, 113, 46, 0.33), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(166, 114, 48, 0.18) 23px 25px, transparent 26px 48px),
    repeating-linear-gradient(178deg, rgba(0, 0, 0, 0.2) 0 2px, transparent 2px 6px);
  box-shadow: inset 0 -7px 7px rgba(0, 0, 0, 0.35), inset 0 3px 3px rgba(204, 151, 71, 0.1);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-shadow: 0 1px #0f0906;
}

.band-ornament {
  color: #a87535;
  font-size: 10px;
}

.layout {
  display: grid;
  grid-template-columns: var(--archive-width) minmax(0, 1fr);
  align-items: start;
  background: #2b1c11;
}

.main-column {
  position: relative;
  min-width: 0;
  overflow: visible;
  border-right: 7px solid #5a3a20;
  box-shadow: inset 0 0 28px rgba(83, 48, 18, 0.13);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 13% 16%, rgba(255, 244, 201, 0.48), transparent 26%),
    radial-gradient(ellipse at 87% 75%, rgba(131, 83, 35, 0.13), transparent 30%),
    repeating-linear-gradient(0deg, rgba(104, 68, 31, 0.038) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(91deg, rgba(255, 243, 195, 0.045) 0 2px, transparent 2px 13px);
}

.main-column::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.15;
  background-image:
    radial-gradient(circle at 30% 10%, transparent 0 2%, rgba(101, 63, 25, 0.3) 2.1% 2.25%, transparent 2.4%),
    radial-gradient(ellipse at 80% 40%, transparent 0 22%, rgba(122, 79, 33, 0.12) 22.2% 22.4%, transparent 22.6%);
  mix-blend-mode: multiply;
}

.site-header,
main,
.main-column > * {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(103, 67, 29, 0.35);
  background: rgba(226, 201, 153, 0.86);
  position: relative;
  z-index: 30;
}

.primary-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  flex: 1;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  position: relative;
  padding: 20px 0 17px;
  transition: color 160ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 11px;
  left: 0;
  height: 1px;
  content: '';
  transform: scaleX(0);
  background: var(--brown);
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--brown);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.primary-nav small {
  position: relative;
  top: -1px;
  font-size: 9px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  width: 110px;
  height: 28px;
  align-items: center;
  border: 1px solid rgba(100, 66, 31, 0.42);
  border-radius: 5px;
  background: rgba(244, 224, 178, 0.38);
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 7px 1px 10px;
  color: var(--ink);
  outline: none;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 11px;
}

.search-form input::placeholder {
  color: rgba(59, 39, 23, 0.68);
}

.search-form button {
  width: 26px;
  height: 100%;
  padding: 0 5px 4px 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a,
.footer-social a {
  display: grid;
  width: 15px;
  height: 18px;
  place-items: center;
}

.social-links svg,
.footer-social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links .fill-icon,
.footer-social .fill-icon {
  fill: currentColor;
  stroke: none;
}

.mobile-brand,
.menu-toggle {
  display: none;
}

/* The hanging archive is deliberately heavier than the content so it reads as a physical object. */
.archive-rail {
  position: sticky;
  z-index: 5;
  top: 11px;
  min-height: 545px;
  margin: 0 4px 0 12px;
  padding: 9px 10px 18px;
  overflow: hidden;
  border: 1px solid #77512b;
  background-color: #d7b979;
  background-image:
    radial-gradient(ellipse at 50% 11%, rgba(255, 232, 166, 0.56), transparent 30%),
    repeating-linear-gradient(1deg, rgba(91, 53, 21, 0.055) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(87deg, rgba(255, 232, 166, 0.06) 0 2px, transparent 2px 11px);
  box-shadow: 3px 5px 5px rgba(26, 13, 7, 0.6), -2px 4px 3px rgba(44, 24, 11, 0.35), inset 0 0 18px rgba(89, 52, 20, 0.22);
}

.archive-rail::before {
  position: absolute;
  inset: 7px 6px;
  pointer-events: none;
  content: '';
  border: 1px solid rgba(91, 53, 21, 0.34);
}

.archive-rail::after {
  position: absolute;
  z-index: -1;
  top: -5px;
  right: -5px;
  left: -5px;
  height: 10px;
  content: '';
  border: 2px solid #593719;
  border-radius: 50%;
  background: #3a2414;
  box-shadow: 0 536px 0 #3a2414, 0 541px 0 #5c3b1d;
}

.rail-top-mark {
  position: relative;
  z-index: 1;
  color: rgba(83, 46, 19, 0.78);
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-align: center;
}

.rail-temple {
  position: relative;
  z-index: 1;
  width: 75px;
  height: 65px;
  margin: 10px auto -1px;
  color: #5b3a1d;
}

.rail-temple svg,
.timeline-temple svg,
.visit-temple svg,
.footer-line-temple svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-name {
  position: relative;
  z-index: 1;
  color: #332013;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}

.rail-tagline {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.rail-trident {
  position: relative;
  z-index: 1;
  width: 31px;
  margin: 6px auto 1px;
  color: var(--brick);
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 24px;
  text-align: center;
}

.rail-mantra {
  position: relative;
  z-index: 1;
  color: #4c2a17;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.rail-rule {
  position: relative;
  z-index: 1;
  display: flex;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin: 1px 4px 2px;
}

.rail-rule::before,
.rail-rule::after {
  width: 36px;
  height: 1px;
  content: '';
  background: rgba(94, 55, 21, 0.48);
}

.rail-rule span {
  margin: 0 5px;
  color: var(--brown);
  font-size: 10px;
}

.rail-nav {
  position: relative;
  z-index: 1;
}

.rail-nav a {
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 8px;
  padding: 3px 2px;
  border-bottom: 1px solid rgba(92, 55, 22, 0.28);
  color: #392317;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  transition: padding-left 160ms ease, color 160ms ease;
}

.rail-nav a:first-child {
  border-top: 1px solid rgba(92, 55, 22, 0.28);
}

.rail-nav a:hover {
  padding-left: 6px;
  color: var(--brick);
}

.rail-nav svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-bottom-mark {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  color: #704523;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-align: center;
}

.hero {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-bottom: 1px solid rgba(91, 54, 22, 0.46);
  background-color: #dfc796;
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(255, 244, 204, 0.58), transparent 38%),
    repeating-linear-gradient(2deg, rgba(111, 74, 31, 0.035) 0 1px, transparent 1px 5px);
}

.hero-photo {
  position: absolute;
  top: 17px;
  right: -2%;
  bottom: 4px;
  width: 69%;
  opacity: 0.9;
  background-image:
    linear-gradient(90deg, #dfc796 0%, rgba(223, 199, 150, 0.82) 7%, rgba(223, 199, 150, 0) 33%),
    linear-gradient(0deg, rgba(73, 40, 16, 0.5), rgba(255, 234, 183, 0.04) 50%, rgba(64, 37, 16, 0.12)),
     var(--hero-photo-url, url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Varanasi_Munshi_Ghat3.jpg/960px-Varanasi_Munshi_Ghat3.jpg'));
  background-position: center, center, center;
  background-size: cover;
  filter: sepia(0.64) saturate(0.8) contrast(1.14) brightness(0.94);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 17%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 17%, #000 91%, transparent 100%);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: '';
  opacity: 0.28;
  background-image: repeating-linear-gradient(0deg, rgba(44, 25, 12, 0.18) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    radial-gradient(circle at 12% 75%, rgba(91, 52, 19, 0.5) 0 1px, transparent 1.4px),
    radial-gradient(circle at 35% 20%, rgba(255, 244, 203, 0.75) 0 1px, transparent 1.4px);
  background-size: 23px 19px, 31px 27px;
  mix-blend-mode: multiply;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 45%;
  padding: 14px 0 0 43px;
}

.eyebrow-rule {
  display: flex;
  width: 172px;
  height: 21px;
  align-items: center;
  justify-content: center;
  color: #7a4825;
}

.eyebrow-rule::before,
.eyebrow-rule::after {
  width: 67px;
  height: 1px;
  content: '';
  background: rgba(108, 67, 28, 0.52);
}

.eyebrow-rule span {
  margin: 0 9px;
  font-size: 10px;
}

.hero h1 {
  margin: 17px 0 14px;
  color: #302014;
  font-family: var(--display);
  font-size: clamp(50px, 5.85vw, 68px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-shadow: 0 1px rgba(255, 235, 178, 0.4);
}

.hero-subtitle {
  margin: 0;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.hero-verse {
  margin: 26px 0 7px;
  color: #3d2616;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.hero-copy > .ink-button {
  margin-top: 12px;
  margin-left: 38px;
  padding-right: 11px;
  padding-left: 11px;
  font-size: 10px;
}

.ornament-divider {
  display: flex;
  width: 184px;
  height: 21px;
  align-items: center;
  justify-content: center;
  color: #754321;
}

.ornament-divider i {
  display: block;
  width: 71px;
  height: 1px;
  background: rgba(101, 59, 22, 0.48);
}

.ornament-divider span {
  margin: 0 9px;
  font-size: 11px;
}

.ink-button,
.paper-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 14px 6px;
  color: #f2dfb0;
  border: 1px solid rgba(55, 25, 13, 0.72);
  border-radius: 3px;
  background: #682617;
  box-shadow: inset 0 1px rgba(225, 164, 82, 0.15), 0 2px 2px rgba(63, 31, 15, 0.2);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.ink-button:hover,
.paper-button:hover {
  background: #4d1b12;
  transform: translateY(-1px);
}

.hero-stamp {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 53px;
  place-content: center;
  color: var(--brick);
  border: 1px solid rgba(128, 54, 29, 0.45);
  border-radius: 3px;
  transform: rotate(-2deg);
  font-size: 23px;
  line-height: 18px;
  text-align: center;
}

.hero-stamp small {
  font-size: 8px;
}

.category-ribbon {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 98px;
  margin: 0 29px 10px 21px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(99, 60, 24, 0.55);
  background-color: #e2c997;
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(255, 239, 190, 0.45), transparent 60%),
    repeating-linear-gradient(88deg, rgba(90, 54, 22, 0.035) 0 1px, transparent 1px 7px);
  box-shadow: 0 3px 4px rgba(55, 30, 13, 0.37), inset 0 0 0 4px rgba(159, 112, 51, 0.12), inset 0 0 16px rgba(101, 58, 22, 0.16);
}

.category-ribbon::before,
.category-ribbon::after {
  position: absolute;
  right: 7px;
  left: 7px;
  height: 1px;
  content: '';
  border-top: 1px dashed rgba(100, 59, 23, 0.25);
}

.category-ribbon::before {
  top: 7px;
}

.category-ribbon::after {
  bottom: 7px;
}

.category-item {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 4px 8px;
  border-right: 1px dashed rgba(101, 61, 25, 0.35);
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.category-item:last-child {
  border-right: 0;
}

.category-item:hover {
  color: var(--brick);
  background: rgba(126, 77, 27, 0.08);
}

.category-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-item .om-mark {
  height: 28px;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 27px;
}

.category-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.category-item small {
  display: block;
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.1;
}

/* Below the hanging rail the manuscript opens out across the whole page. */
main > .manuscript-section,
main > .newsletter {
  width: calc(100% + var(--archive-width));
  margin-left: calc(-1 * var(--archive-width));
}

.manuscript-section {
  position: relative;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 22% 45%, rgba(255, 239, 188, 0.22), transparent 32%),
    repeating-linear-gradient(0deg, rgba(103, 65, 28, 0.034) 0 1px, transparent 1px 5px);
}

.intro-grid {
  display: grid;
  min-height: 309px;
  grid-template-columns: minmax(0, 2.03fr) minmax(250px, 1fr);
  border-top: 1px solid rgba(98, 60, 23, 0.42);
  border-bottom: 1px solid rgba(98, 60, 23, 0.42);
}

.eternal-panel,
.featured-panel,
.ghats-panel,
.aarti-panel,
.stories-panel,
.timeline-panel,
.visit-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.eternal-panel {
  border-right: 1px solid rgba(98, 60, 23, 0.4);
}

.featured-panel {
  padding: 12px 39px 10px 29px;
}

.section-heading {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brown);
  text-align: center;
}

.section-heading h2 {
  flex: 0 1 auto;
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.heading-line {
  position: relative;
  display: block;
  width: 23px;
  height: 1px;
  background: rgba(111, 62, 26, 0.52);
}

.heading-line::after {
  position: absolute;
  top: -2px;
  width: 4px;
  height: 4px;
  content: '';
  border: 1px solid rgba(111, 62, 26, 0.6);
  transform: rotate(45deg);
}

.heading-line:first-child::after {
  right: -2px;
}

.heading-line:last-child::after {
  left: -2px;
}

.eternal-panel > .section-heading {
  padding-top: 15px;
  justify-content: flex-start;
  padding-left: 21%;
}

.eternal-art {
  position: absolute;
  z-index: 0;
  bottom: 7px;
  left: 9px;
  width: 54%;
  height: 186px;
  overflow: hidden;
  opacity: 0.63;
  -webkit-mask-image: linear-gradient(90deg, #000 0 79%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 79%, transparent 100%);
}

.eternal-art::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(215, 184, 122, 0.36);
  mix-blend-mode: screen;
}

.eternal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 37% 50%;
  filter: sepia(0.72) grayscale(0.48) contrast(1.22);
}

.eternal-copy {
  position: relative;
  z-index: 1;
  width: 50%;
  margin: 44px 0 0 22%;
  color: #382318;
  font-family: var(--body);
  font-size: 10px;
  line-height: 1.85;
  text-align: left;
}

.eternal-copy p {
  margin: 0;
}

.small-button {
  min-height: 27px;
  margin: 25px 0 0 23%;
  padding: 4px 9px 5px;
  font-size: 9px;
}

.quote-sheet {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 0;
  width: 35%;
  min-height: 246px;
  padding: 12px 13px 13px;
  overflow: hidden;
  color: #4a2818;
  border: 1px solid rgba(119, 76, 33, 0.6);
  background-color: #d7b878;
  background-image:
    radial-gradient(ellipse at 35% 20%, rgba(255, 229, 162, 0.58), transparent 52%),
    repeating-linear-gradient(2deg, rgba(104, 61, 22, 0.045) 0 1px, transparent 1px 4px);
  box-shadow: 2px 4px 5px rgba(73, 39, 15, 0.25), inset 0 0 15px rgba(111, 63, 20, 0.18);
  clip-path: polygon(4% 1%, 93% 2%, 98% 8%, 96% 91%, 88% 98%, 17% 96%, 3% 100%, 1% 11%);
  text-align: center;
}

.quote-sheet::before {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  content: '';
  border: 1px solid rgba(112, 68, 25, 0.25);
}

.quote-flourish {
  position: relative;
  z-index: 1;
  margin-bottom: 2px;
  font-size: 11px;
}

.quote-sheet h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.quote-deva,
.quote-translation {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
}

.quote-deva {
  font-size: 12px;
}

.quote-translation {
  margin-top: 8px;
  font-size: 9px;
  line-height: 1.42;
}

.paper-button {
  position: relative;
  z-index: 1;
  min-height: 22px;
  margin-top: 7px;
  padding: 3px 9px 4px;
  color: #643719;
  border: 1px solid rgba(99, 60, 24, 0.5);
  background: rgba(234, 205, 151, 0.45);
  box-shadow: none;
  font-size: 8px;
}

.feather {
  position: absolute;
  right: -2px;
  bottom: -8px;
  color: #5b341b;
  font-size: 44px;
  transform: rotate(-25deg);
  opacity: 0.85;
}

.featured-panel .section-heading {
  margin-bottom: 9px;
}

.featured-story {
  position: relative;
  display: block;
  width: 100%;
  height: 135px;
  overflow: hidden;
  border: 1px solid rgba(66, 38, 17, 0.58);
  background: #54351f;
}

.featured-story::after,
.story-lead::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, rgba(29, 15, 8, 0.77), transparent 70%);
}

.featured-story img,
.story-lead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.45) saturate(0.75) contrast(1.08);
}

.featured-story span,
.story-lead span,
.story-lead small {
  position: absolute;
  z-index: 1;
  left: 11px;
  color: #f3deaa;
  font-family: var(--serif);
  font-weight: 600;
}

.featured-story span {
  bottom: 10px;
  font-size: 15px;
  line-height: 1.02;
}

.featured-list {
  display: grid;
  gap: 0;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.featured-list li {
  border-bottom: 1px solid rgba(98, 58, 23, 0.24);
}

.featured-list a {
  display: block;
  padding: 5px 0 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
}

.featured-list a:hover,
.text-link:hover {
  color: var(--brick);
}

.dual-feature-row {
  display: grid;
  min-height: 195px;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 1fr);
  border-bottom: 1px solid rgba(98, 60, 23, 0.42);
}

.ghats-panel {
  padding: 10px 28px 8px 32px;
  border-right: 1px solid rgba(98, 60, 23, 0.4);
}

.aarti-panel {
  padding: 10px 14px 8px;
}

.dual-feature-row .section-heading {
  margin-bottom: 8px;
}

.dual-feature-row .section-heading h2 {
  font-size: 16px;
}

.ghat-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.ghat-card {
  display: block;
  min-width: 0;
  padding: 3px 3px 5px;
  border: 1px solid rgba(111, 68, 25, 0.2);
  background: rgba(239, 214, 165, 0.46);
  text-align: center;
}

.ghat-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  filter: sepia(0.62) saturate(0.74) contrast(1.08);
  clip-path: polygon(7% 2%, 91% 0, 98% 9%, 94% 91%, 79% 97%, 15% 93%, 2% 84%, 3% 15%);
}

.ghat-card strong {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.02;
}

.text-link {
  display: block;
  margin-top: 6px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.text-link span {
  padding-left: 4px;
  font-size: 13px;
}

.aarti-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.aarti-list::before {
  position: absolute;
  top: 25px;
  right: 23px;
  left: 23px;
  height: 1px;
  content: '';
  background: rgba(100, 59, 23, 0.4);
}

.aarti-list::after {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 5px;
  height: 5px;
  content: '';
  border: 1px solid rgba(100, 59, 23, 0.52);
  transform: translateX(-50%) rotate(45deg);
  background: var(--paper);
}

.aarti-item {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.aarti-orb {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  color: #c99643;
  border: 1px solid #8e5b21;
  border-radius: 50%;
  background: #3b2412;
  box-shadow: 0 0 0 3px rgba(161, 107, 39, 0.12);
}

.aarti-orb svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aarti-item strong {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
}

.aarti-item small {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.aarti-panel .text-link {
  margin-top: 6px;
}

.lower-grid {
  display: grid;
  min-height: 207px;
  grid-template-columns: minmax(0, 1.36fr) minmax(220px, 0.98fr) minmax(250px, 1.2fr);
  border-bottom: 1px solid rgba(98, 60, 23, 0.42);
}

.stories-panel,
.timeline-panel {
  border-right: 1px solid rgba(98, 60, 23, 0.4);
}

.stories-panel {
  padding-left: 30px !important;
}

.lower-grid > article {
  padding: 10px 12px 9px;
}

.lower-grid .section-heading {
  margin-bottom: 10px;
}

.lower-grid .section-heading h2 {
  font-size: 15px;
}

.story-layout {
  display: grid;
  height: 154px;
  min-height: 154px;
  grid-template-columns: minmax(0, 1.12fr) minmax(100px, 0.88fr);
  gap: 9px;
}

.story-lead {
  position: relative;
  display: block;
  height: 137px;
  min-height: 137px;
  overflow: hidden;
  border: 1px solid rgba(67, 38, 17, 0.6);
  background: #53331d;
}

.story-lead span {
  bottom: 27px;
  font-size: 16px;
  line-height: 1.03;
}

.story-lead small {
  bottom: 9px;
  color: #dcaa4c;
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-list {
  display: grid;
  gap: 7px;
}

.story-list a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.story-list img {
  width: 38px;
  height: 32px;
  flex: 0 0 38px;
  object-fit: cover;
  filter: sepia(0.62) saturate(0.74);
}

.story-list span {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.02;
}

.timeline-content {
  position: relative;
  display: flex;
  min-height: 154px;
}

.timeline {
  position: relative;
  z-index: 1;
  width: 57%;
  margin: 0;
  padding: 1px 0 0 19px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 5px;
  bottom: 7px;
  left: 7px;
  width: 1px;
  content: '';
  background: rgba(83, 47, 18, 0.72);
}

.timeline li {
  position: relative;
  min-height: 28px;
  padding-bottom: 4px;
  font-family: var(--serif);
  line-height: 1;
}

.timeline li::before {
  position: absolute;
  top: 1px;
  left: -16px;
  width: 10px;
  height: 10px;
  content: '';
  border: 1px solid #5f371b;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(132, 82, 29, 0.13);
}

.timeline b {
  display: block;
  font-size: 10px;
  font-weight: 700;
}

.timeline small {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 600;
}

.timeline-temple {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 54%;
  height: 123px;
  color: rgba(76, 47, 25, 0.62);
  opacity: 0.7;
}

.visit-content {
  position: relative;
  min-height: 154px;
}

.visit-list {
  position: relative;
  z-index: 1;
  display: grid;
  width: 57%;
  gap: 7px;
  margin: 0;
  padding: 3px 0 0 2px;
  list-style: none;
}

.visit-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.visit-list svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visit-temple {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 48%;
  height: 153px;
  color: rgba(76, 47, 25, 0.58);
  opacity: 0.72;
}

.newsletter {
  display: grid;
  min-height: 92px;
  align-items: center;
  grid-template-columns: minmax(170px, 0.9fr) minmax(190px, 1fr) minmax(245px, 1.25fr) 66px;
  gap: 10px;
  padding: 7px 23px 7px 16px;
  border-bottom: 1px solid rgba(91, 54, 22, 0.52);
  background-color: #d7b777;
  background-image:
    radial-gradient(ellipse at 68% 40%, rgba(255, 227, 158, 0.5), transparent 35%),
    repeating-linear-gradient(2deg, rgba(102, 60, 23, 0.05) 0 1px, transparent 1px 5px);
}

.newsletter-etching {
  width: 100%;
  height: 75px;
  color: rgba(75, 49, 26, 0.56);
}

.newsletter-etching svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.newsletter-copy h2 {
  margin: 0 0 3px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.newsletter-copy {
  padding-left: 30px;
}

.newsletter-copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
}

.newsletter-form {
  display: flex;
  height: 29px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding: 0 9px;
  outline: none;
  border: 1px solid rgba(93, 56, 21, 0.37);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  color: var(--ink);
  background: rgba(244, 225, 181, 0.78);
  font-family: var(--serif);
  font-size: 10px;
}

.newsletter-form button {
  width: 91px;
  cursor: pointer;
  border: 1px solid #5a2215;
  border-radius: 0 3px 3px 0;
  color: #ebcf91;
  background: #672718;
  font-family: var(--serif);
  font-size: 10px;
  text-transform: uppercase;
}

.newsletter-form button:hover {
  background: #4c1c12;
}

.wax-seal {
  display: grid;
  width: 52px;
  height: 52px;
  place-content: center;
  margin-left: auto;
  color: #dda957;
  border: 3px double #5a2115;
  border-radius: 47% 53% 48% 52%;
  transform: rotate(9deg);
  background: #752b1b;
  box-shadow: 1px 3px 4px rgba(66, 28, 12, 0.3);
  text-align: center;
}

.wax-seal span {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 17px;
}

.wax-seal small {
  font-family: var(--serif);
  font-size: 8px;
}

.site-footer {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  color: #d7ad61;
  border-top: 5px solid #16100a;
  background-color: #2b1b10;
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(121, 77, 27, 0.17), transparent 29%),
    repeating-linear-gradient(2deg, rgba(219, 169, 82, 0.05) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(91deg, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 8px);
}

.site-footer::before {
  position: absolute;
  top: 5px;
  right: 13px;
  left: 13px;
  height: 1px;
  content: '';
  border-top: 1px solid rgba(184, 128, 47, 0.58);
}

.footer-inner {
  display: grid;
  min-height: 111px;
  grid-template-columns: 1.42fr 0.85fr 0.86fr 1fr 1.55fr;
  gap: 15px;
  padding: 11px 6.7% 21px;
}

.footer-brand h2 {
  margin: 0;
  color: #e1b75f;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.footer-brand p {
  margin: 2px 0 5px;
  color: #d2a85d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.footer-copy,
.footer-column a {
  color: #cda65d;
  font-family: var(--serif);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.15;
}

.footer-social {
  display: flex;
  gap: 7px;
  margin-top: 5px;
}

.footer-social a {
  width: 16px;
  height: 16px;
  color: #e1b75f;
  border: 1px solid rgba(225, 183, 95, 0.64);
  border-radius: 50%;
}

.footer-social svg {
  width: 10px;
  height: 10px;
  stroke-width: 1.5;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}

.footer-column h3 {
  margin: 0 0 3px;
  color: #e1b75f;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-column a:hover {
  color: #f0d18b;
}

.footer-mantra {
  position: relative;
  min-width: 0;
  padding-top: 5px;
  text-align: center;
}

.footer-mantra strong {
  display: block;
  color: #e2b65c;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.footer-mantra > span {
  display: block;
  margin-top: 4px;
  color: #d19f4c;
  font-family: var(--serif);
  font-size: 10px;
}

.footer-line-temple {
  position: absolute;
  right: -7px;
  bottom: -21px;
  width: 100px;
  height: 73px;
  color: rgba(205, 157, 78, 0.42);
}

.copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  padding-top: 3px;
  color: #cb994a;
  border-top: 1px solid rgba(181, 125, 43, 0.38);
  font-family: var(--serif);
  font-size: 9px;
  text-align: center;
}

@media (min-width: 1200px) {
  :root {
    --archive-width: 236px;
  }

  .layout {
    grid-template-columns: var(--archive-width) minmax(0, 1fr);
  }

  .archive-rail {
    margin-right: 12px;
    margin-left: 12px;
  }

  .rail-name {
    font-size: 27px;
  }

  .rail-nav a {
    min-height: 30px;
    font-size: 14px;
  }

  .site-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .primary-nav {
    gap: 14px;
    font-size: 11px;
  }

  .header-actions {
    gap: 12px;
  }

  .search-form {
    width: 140px;
  }

  .hero-copy {
    padding-left: 53px;
  }

  .eternal-copy {
    font-size: 11px;
  }
}

@media (max-width: 930px) and (min-width: 701px) {
  :root {
    --archive-width: 163px;
  }

  .layout {
    grid-template-columns: var(--archive-width) minmax(0, 1fr);
  }

  .archive-rail {
    margin-left: 6px;
    margin-right: 5px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .rail-name {
    font-size: 19px;
  }

  .rail-nav a {
    gap: 6px;
    font-size: 11px;
  }

  .primary-nav {
    gap: 8px;
    font-size: 8.5px;
  }

  .header-actions {
    gap: 7px;
  }

  .search-form {
    width: 105px;
  }

  .hero-copy {
    padding-left: 31px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .quote-sheet {
    right: 8px;
    width: 42%;
    padding-right: 9px;
    padding-left: 9px;
  }

  .dual-feature-row {
    grid-template-columns: minmax(0, 1.13fr) minmax(310px, 1fr);
  }

  .lower-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(190px, 0.93fr) minmax(205px, 1.08fr);
  }
}

@media (max-width: 700px) {
  :root {
    --archive-width: 0px;
  }

  body {
    background: var(--paper);
  }

  .page-shell {
    overflow: visible;
    box-shadow: none;
  }

  .carved-band {
    height: 31px;
    font-size: 9px;
  }

  .layout {
    display: block;
  }

  .archive-rail {
    display: none;
  }

  .main-column {
    border-right: 0;
  }

  .site-header {
    height: 57px;
    justify-content: space-between;
    padding: 0 12px;
    gap: 8px;
  }

  .mobile-brand {
    display: block;
    color: var(--brown);
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .menu-toggle {
    display: flex;
    width: 33px;
    height: 33px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    order: 3;
    cursor: pointer;
    border: 1px solid rgba(96, 55, 22, 0.45);
    border-radius: 3px;
    background: rgba(227, 201, 151, 0.45);
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 15px;
    height: 1px;
    background: var(--ink);
  }

  .primary-nav {
    position: absolute;
    top: 56px;
    right: 10px;
    left: 10px;
    z-index: 20;
    display: none;
    padding: 8px 14px;
    border: 1px solid rgba(91, 55, 21, 0.5);
    background: #e4cc9b;
    box-shadow: 0 4px 8px rgba(54, 28, 12, 0.25);
  }

  .primary-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 18px;
  }

  .primary-nav a {
    padding: 9px 0;
    border-bottom: 1px solid rgba(100, 60, 24, 0.2);
    font-size: 10px;
  }

  .primary-nav a::after {
    bottom: 5px;
  }

  .header-actions {
    margin-left: auto;
    margin-right: 7px;
  }

  .social-links {
    display: none;
  }

  .search-form {
    width: min(42vw, 142px);
    height: 29px;
  }

  .hero {
    height: 505px;
  }

  .hero-photo {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 56%;
    background-image:
      linear-gradient(180deg, #dfc796 0%, rgba(223, 199, 150, 0.1) 40%),
      linear-gradient(0deg, rgba(100, 59, 23, 0.38), rgba(255, 234, 183, 0.05)),
      url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Varanasi_Munshi_Ghat3.jpg/960px-Varanasi_Munshi_Ghat3.jpg');
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 19%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 19%, #000 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 25px 26px 0;
  }

  .eyebrow-rule,
  .ornament-divider {
    width: 170px;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-verse {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-stamp {
    right: 17px;
    bottom: 16px;
  }

  .hero-copy > .ink-button {
    margin-top: 7px;
    margin-left: 0;
  }

  .category-ribbon {
    display: flex;
    min-height: 100px;
    margin: 0 10px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .category-item {
    width: 151px;
    min-width: 151px;
  }

  .intro-grid,
  .dual-feature-row,
  .lower-grid {
    display: block;
  }

  .intro-grid {
    min-height: 0;
  }

  .eternal-panel {
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid rgba(98, 60, 23, 0.4);
  }

  .eternal-panel > .section-heading {
    justify-content: center;
    padding-top: 17px;
    padding-left: 0;
  }

  .eternal-copy {
    width: 58%;
    margin: 40px 0 0 8%;
    font-size: 11px;
    line-height: 1.7;
  }

  .small-button {
    margin-top: 21px;
    margin-left: 20%;
  }

  .eternal-art {
    bottom: 19px;
    width: 69%;
    height: 183px;
  }

  .quote-sheet {
    top: auto;
    right: 5%;
    bottom: 20px;
    width: 39%;
    min-height: 255px;
  }

  .featured-panel {
    min-height: 365px;
    padding: 15px 17px 17px;
  }

  .featured-story {
    height: 180px;
  }

  .featured-story span {
    font-size: 20px;
  }

  .featured-list a {
    padding: 7px 0 6px;
    font-size: 11px;
  }

  .ghats-panel,
  .aarti-panel,
  .stories-panel,
  .timeline-panel,
  .visit-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(98, 60, 23, 0.4);
  }

  .ghats-panel {
    min-height: 227px;
    padding: 14px 12px 11px;
  }

  .stories-panel {
    padding-left: 15px !important;
  }

  .ghat-cards {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    grid-template-columns: repeat(5, 104px);
  }

  .ghat-card img {
    height: 91px;
  }

  .ghat-card strong {
    font-size: 11px;
  }

  .aarti-panel {
    min-height: 250px;
    padding: 14px 12px 11px;
  }

  .aarti-list {
    gap: 13px;
    padding: 2px 4px 0;
  }

  .aarti-list::before {
    right: 38px;
    left: 38px;
  }

  .aarti-item strong {
    font-size: 11px;
  }

  .aarti-item small {
    font-size: 9px;
  }

  .lower-grid > article {
    min-height: 280px;
    padding: 15px 15px 13px;
  }

  .story-layout {
    height: auto;
    min-height: 218px;
    grid-template-columns: minmax(0, 1.15fr) minmax(125px, 0.85fr);
    gap: 11px;
  }

  .story-lead {
    min-height: 205px;
  }

  .story-lead span {
    font-size: 20px;
  }

  .story-list {
    gap: 11px;
  }

  .story-list img {
    width: 47px;
    height: 39px;
    flex-basis: 47px;
  }

  .story-list span {
    font-size: 11px;
  }

  .timeline-panel {
    min-height: 310px !important;
  }

  .timeline-content {
    min-height: 240px;
  }

  .timeline {
    width: 51%;
    padding-left: 25px;
  }

  .timeline-temple {
    right: 4%;
    width: 51%;
    height: 190px;
  }

  .visit-panel {
    min-height: 325px !important;
  }

  .visit-content {
    min-height: 255px;
  }

  .visit-list {
    width: 52%;
    gap: 11px;
    padding-top: 8px;
  }

  .visit-list li {
    font-size: 11px;
  }

  .visit-temple {
    right: 5%;
    width: 46%;
    height: 235px;
  }

  .newsletter {
    display: grid;
    min-height: 248px;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    padding: 13px 18px;
  }

  .newsletter-etching {
    order: 2;
    height: 90px;
  }

  .newsletter-copy {
    order: 1;
    padding-left: 0;
  }

  .newsletter-copy h2 {
    font-size: 22px;
  }

  .newsletter-copy p {
    font-size: 11px;
  }

  .newsletter-form {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    margin-top: 3px;
  }

  .wax-seal {
    order: 4;
    align-self: end;
    justify-self: end;
  }

  .site-footer {
    min-height: 470px;
  }

  .footer-inner {
    min-height: 436px;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
    padding: 21px 25px 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand h2 {
    font-size: 23px;
  }

  .footer-copy,
  .footer-column a {
    font-size: 10px;
  }

  .footer-column h3 {
    font-size: 12px;
  }

  .footer-mantra {
    grid-column: 1 / -1;
    min-height: 87px;
  }

  .footer-mantra strong {
    font-size: 25px;
  }

  .footer-line-temple {
    right: 8px;
    bottom: -20px;
    width: 130px;
    height: 96px;
  }

  .copyright {
    height: 27px;
    padding-top: 6px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Readability pass: the archive should feel spacious on screen, not miniature. */
:root {
  --section-gap: 32px;
  --content-radius: 6px;
}

body {
  font-size: 17px;
}

.carved-band {
  height: 48px;
  gap: 19px;
  font-size: 14px;
}

.band-ornament {
  font-size: 13px;
}

.archive-rail {
  min-height: 675px;
  padding: 16px 13px 23px;
}

.archive-rail::after {
  box-shadow: 0 666px 0 #3a2414, 0 671px 0 #5c3b1d;
}

.rail-top-mark {
  font-size: 11px;
}

.rail-temple {
  width: 88px;
  height: 76px;
  margin-top: 17px;
}

.rail-name {
  font-size: clamp(24px, 2vw, 31px);
}

.rail-tagline {
  margin-top: 8px;
  font-size: 15px;
}

.rail-trident {
  width: 38px;
  margin-top: 11px;
  margin-bottom: 5px;
  font-size: 31px;
  line-height: 29px;
}

.rail-mantra {
  font-size: 16px;
}

.rail-rule {
  height: 25px;
  margin-top: 7px;
  margin-bottom: 6px;
}

.rail-rule::before,
.rail-rule::after {
  width: 43px;
}

.rail-rule span {
  font-size: 13px;
}

.rail-nav a {
  min-height: 42px;
  gap: 10px;
  padding: 7px 3px;
  font-size: 15px;
  line-height: 1.15;
}

.rail-nav svg {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
}

.rail-bottom-mark {
  bottom: 14px;
  font-size: 12px;
}

.site-header {
  height: 74px;
  gap: 22px;
  padding-right: 31px;
  padding-left: 31px;
}

.primary-nav {
  gap: 19px;
  font-size: 13px;
}

.primary-nav a {
  padding-top: 26px;
  padding-bottom: 23px;
}

.primary-nav a::after {
  bottom: 14px;
}

.primary-nav small {
  font-size: 11px;
}

.header-actions {
  gap: 27px;
}

.search-form {
  width: 168px;
  height: 40px;
  border-radius: var(--content-radius);
}

.search-form input {
  padding-right: 9px;
  padding-left: 13px;
  font-size: 14px;
}

.search-form button {
  width: 35px;
  padding-right: 7px;
  font-size: 25px;
}

.social-links {
  gap: 13px;
}

.social-links a,
.footer-social a {
  width: 23px;
  height: 24px;
}

.social-links svg {
  width: 19px;
  height: 19px;
}

.hero {
  height: 505px;
}

.hero-copy {
  width: 48%;
  padding-top: 24px;
  padding-left: 58px;
}

.eyebrow-rule {
  width: 225px;
  height: 29px;
}

.eyebrow-rule::before,
.eyebrow-rule::after {
  width: 88px;
}

.eyebrow-rule span {
  margin: 0 12px;
  font-size: 13px;
}

.hero h1 {
  margin-top: 24px;
  margin-bottom: 20px;
  font-size: clamp(68px, 7.2vw, 96px);
}

.hero-subtitle {
  font-size: 25px;
}

.hero-verse {
  margin-top: 34px;
  margin-bottom: 11px;
  font-size: 18px;
  line-height: 1.7;
}

.ornament-divider {
  width: 235px;
  height: 29px;
}

.ornament-divider i {
  width: 91px;
}

.ornament-divider span {
  margin: 0 12px;
  font-size: 14px;
}

.ink-button,
.paper-button {
  min-height: 42px;
  padding: 8px 18px 9px;
  border-radius: var(--content-radius);
  font-size: 14px;
}

.hero-copy > .ink-button {
  margin-top: 19px;
  margin-left: 50px;
  padding-right: 17px;
  padding-left: 17px;
  font-size: 14px;
}

.hero-stamp {
  right: 27px;
  bottom: 28px;
  width: 64px;
  height: 72px;
  font-size: 31px;
}

.hero-stamp small {
  font-size: 11px;
}

.category-ribbon {
  min-height: 137px;
  margin-right: 34px;
  margin-bottom: 0;
  margin-left: 31px;
}

.category-item {
  gap: 4px;
  padding: 17px 8px 14px;
}

.category-item svg {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}

.category-item .om-mark {
  height: 38px;
  margin-bottom: 5px;
  font-size: 41px;
  line-height: 37px;
}

.category-item strong {
  font-size: 16px;
  line-height: 1.15;
}

.category-item small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.2;
}

main > .manuscript-section,
main > .newsletter {
  margin-top: var(--section-gap);
}

.intro-grid {
  min-height: 435px;
}

.eternal-panel {
  min-height: 435px;
}

.featured-panel {
  padding: 24px 46px 22px 34px;
}

.section-heading {
  min-height: 38px;
  gap: 14px;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(22px, 2.25vw, 29px);
  line-height: 1.1;
  white-space: normal;
}

.heading-line {
  width: auto;
  min-width: 27px;
  flex: 1 1 30px;
}

.eternal-panel > .section-heading {
  padding-top: 26px;
}

.eternal-art {
  bottom: 18px;
  height: 245px;
}

.eternal-copy {
  margin-top: 63px;
  font-size: 14px;
  line-height: 1.85;
}

.small-button {
  min-height: 38px;
  margin-top: 28px;
  padding: 7px 13px 8px;
  font-size: 12px;
}

.quote-sheet {
  top: 48px;
  width: clamp(215px, 36%, 350px);
  min-height: 330px;
  padding: 20px 19px 21px;
}

.quote-flourish {
  margin-bottom: 6px;
  font-size: 14px;
}

.quote-sheet h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.quote-deva {
  font-size: 16px;
  line-height: 1.45;
}

.quote-translation {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.paper-button {
  min-height: 34px;
  margin-top: 13px;
  padding: 6px 11px 7px;
  font-size: 11px;
}

.featured-panel .section-heading {
  margin-bottom: 16px;
}

.featured-story {
  height: 195px;
  border-radius: var(--content-radius);
}

.featured-story span {
  bottom: 15px;
  left: 15px;
  font-size: 23px;
  line-height: 1.08;
}

.featured-list {
  gap: 2px;
  margin-top: 15px;
}

.featured-list a {
  padding: 9px 0 8px;
  font-size: 14px;
  line-height: 1.25;
}

.dual-feature-row {
  min-height: 305px;
}

.ghats-panel {
  padding: 20px 35px 17px 39px;
}

.aarti-panel {
  padding: 20px 20px 17px;
}

.dual-feature-row .section-heading {
  margin-bottom: 16px;
}

.dual-feature-row .section-heading h2 {
  font-size: clamp(21px, 2vw, 27px);
}

.ghat-cards {
  gap: 11px;
}

.ghat-card {
  padding: 5px 5px 8px;
  border-radius: 4px;
}

.ghat-card img {
  height: 118px;
}

.ghat-card strong {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.08;
}

.text-link {
  margin-top: 13px;
  font-size: 13px;
}

.text-link span {
  padding-left: 6px;
  font-size: 17px;
}

.aarti-list {
  gap: 13px;
  margin-top: 5px;
}

.aarti-list::before {
  top: 31px;
}

.aarti-list::after {
  top: 28px;
}

.aarti-orb {
  width: 65px;
  height: 65px;
}

.aarti-orb svg {
  width: 35px;
  height: 35px;
}

.aarti-item strong {
  margin-top: 12px;
  font-size: 14px;
}

.aarti-item small {
  margin-top: 4px;
  font-size: 12px;
}

.aarti-panel .text-link {
  margin-top: 13px;
}

.lower-grid {
  min-height: 340px;
}

.lower-grid > article {
  padding: 20px 17px 17px;
}

.stories-panel {
  padding-left: 38px !important;
}

.lower-grid .section-heading {
  margin-bottom: 16px;
}

.lower-grid .section-heading h2 {
  font-size: clamp(20px, 1.85vw, 25px);
}

.story-layout {
  height: 224px;
  min-height: 224px;
  gap: 13px;
}

.story-lead {
  height: 198px;
  min-height: 198px;
  border-radius: var(--content-radius);
}

.story-lead span {
  bottom: 39px;
  left: 15px;
  font-size: 22px;
}

.story-lead small {
  bottom: 13px;
  left: 15px;
  font-size: 12px;
}

.story-list {
  gap: 12px;
}

.story-list a {
  gap: 10px;
}

.story-list img {
  width: 54px;
  height: 45px;
  flex-basis: 54px;
}

.story-list span {
  font-size: 13px;
  line-height: 1.15;
}

.timeline-content,
.visit-content {
  min-height: 220px;
}

.timeline {
  width: 60%;
  padding-top: 3px;
  padding-left: 25px;
}

.timeline li {
  min-height: 39px;
  padding-bottom: 7px;
}

.timeline li::before {
  top: 4px;
  left: -19px;
  width: 12px;
  height: 12px;
}

.timeline b {
  font-size: 13px;
}

.timeline small {
  margin-top: 4px;
  font-size: 11px;
}

.timeline-entry {
  display: block;
  padding: 2px 4px 4px;
  border-radius: 3px;
}

.timeline-entry:hover,
.timeline-entry:focus-visible {
  color: var(--brick);
  background: rgba(126, 77, 27, 0.1);
}

.timeline-temple {
  height: 172px;
}

.visit-list {
  width: 62%;
  gap: 12px;
  padding-top: 8px;
}

.visit-list li {
  gap: 10px;
  font-size: 13px;
  line-height: 1.15;
}

.visit-list svg {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.visit-list a:hover,
.visit-list a:focus-visible {
  color: var(--brick);
}

.visit-temple {
  height: 205px;
}

.research-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.5fr);
  gap: 26px;
  padding: 31px 5.5% 34px;
  border-top: 1px solid rgba(98, 60, 23, 0.42);
  border-bottom: 1px solid rgba(98, 60, 23, 0.42);
}

.research-intro {
  align-self: center;
  padding: 4px 12px 4px 0;
}

.research-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--brown);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-kicker svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.research-intro h2 {
  max-width: 450px;
  margin: 18px 0 13px;
  color: #392217;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.99;
}

.research-intro p {
  max-width: 480px;
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.75;
}

.research-source-note {
  display: block;
  max-width: 470px;
  margin-top: 16px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.research-card {
  display: grid;
  min-height: 160px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 19px;
  border: 1px solid rgba(111, 68, 25, 0.35);
  border-radius: var(--content-radius);
  background: rgba(239, 214, 165, 0.46);
  box-shadow: 0 3px 8px rgba(77, 42, 17, 0.08);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.research-card:hover,
.research-card:focus-visible {
  background: rgba(239, 214, 165, 0.85);
  box-shadow: 0 8px 16px rgba(77, 42, 17, 0.15);
  transform: translateY(-3px);
}

.research-card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(111, 68, 25, 0.55);
  border-radius: 50%;
  background: #3b2412;
}

.research-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.research-card small,
.research-card strong,
.research-card em {
  display: block;
}

.research-card small {
  color: var(--brown);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-card strong {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
}

.research-card em {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.research-card em svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.newsletter {
  min-height: 150px;
  grid-template-columns: minmax(210px, 0.9fr) minmax(250px, 1fr) minmax(310px, 1.25fr) 78px;
  gap: 19px;
  padding: 14px 31px 14px 22px;
}

.newsletter-etching {
  height: 105px;
}

.newsletter-copy {
  padding-left: 35px;
}

.newsletter-copy h2 {
  margin-bottom: 7px;
  font-size: 27px;
}

.newsletter-copy p {
  font-size: 14px;
  line-height: 1.3;
}

.newsletter-form {
  height: 45px;
}

.newsletter-form input {
  padding-right: 13px;
  padding-left: 13px;
  font-size: 14px;
}

.newsletter-form button {
  width: 122px;
  font-size: 13px;
}

.wax-seal {
  width: 70px;
  height: 70px;
}

.wax-seal span {
  font-size: 25px;
  line-height: 23px;
}

.wax-seal small {
  font-size: 11px;
}

.site-footer {
  min-height: 255px;
}

.footer-inner {
  min-height: 220px;
  gap: 25px;
  padding: 25px 7% 37px;
}

.footer-brand h2 {
  font-size: 27px;
}

.footer-brand p {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-copy,
.footer-column a {
  font-size: 13px;
  line-height: 1.35;
}

.footer-social {
  gap: 9px;
  margin-top: 11px;
}

.footer-social a {
  width: 25px;
  height: 25px;
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-column {
  gap: 6px;
  padding-top: 2px;
}

.footer-column h3 {
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-mantra {
  padding-top: 8px;
}

.footer-mantra strong {
  font-size: 29px;
}

.footer-mantra > span {
  margin-top: 7px;
  font-size: 13px;
}

.footer-line-temple {
  bottom: -27px;
  width: 130px;
  height: 96px;
}

.copyright {
  height: 29px;
  padding-top: 5px;
  font-size: 12px;
}

[data-detail] {
  cursor: pointer;
}

[data-detail]:focus-visible,
.menu-toggle:focus-visible,
.search-form button:focus-visible,
.newsletter-form button:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid rgba(168, 117, 53, 0.7);
  outline-offset: 3px;
}

.detail-dialog {
  width: min(800px, calc(100% - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(119, 76, 33, 0.7);
  border-radius: 8px;
  background: var(--paper-light);
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(255, 244, 201, 0.56), transparent 32%),
    repeating-linear-gradient(0deg, rgba(104, 68, 31, 0.038) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(91deg, rgba(255, 243, 195, 0.045) 0 2px, transparent 2px 13px);
  box-shadow: 0 22px 70px rgba(28, 13, 6, 0.55);
}

.detail-dialog::backdrop {
  background: rgba(28, 15, 8, 0.72);
  backdrop-filter: blur(3px);
}

.detail-dialog-shell {
  position: relative;
  max-height: calc(100vh - 34px);
  padding: 39px clamp(23px, 5vw, 58px) 45px;
  overflow-y: auto;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 19px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  cursor: pointer;
  color: var(--brown);
  border: 1px solid rgba(95, 55, 21, 0.48);
  border-radius: 50%;
  background: rgba(234, 205, 151, 0.5);
}

.dialog-close:hover {
  color: #f2dfb0;
  background: var(--brick);
}

.dialog-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.detail-dialog-topline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--brown);
}

.detail-dialog-topline span {
  display: block;
  width: 100px;
  height: 1px;
  background: rgba(111, 62, 26, 0.48);
}

.detail-dialog-topline svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-icon {
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  place-items: center;
  color: #d4a250;
  border: 1px solid #8e5b21;
  border-radius: 50%;
  background: #3b2412;
  box-shadow: 0 0 0 5px rgba(161, 107, 39, 0.12);
}

.detail-icon svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.detail-eyebrow {
  margin: 0 0 5px;
  color: var(--brick);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-heading h2 {
  margin: 0;
  color: #352014;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
}

.detail-lead {
  max-width: 680px;
  margin: 27px 0 24px;
  color: #432819;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 29px;
}

.detail-facts > div {
  min-height: 78px;
  padding: 12px 13px;
  border: 1px solid rgba(111, 68, 25, 0.3);
  border-radius: 4px;
  background: rgba(215, 184, 122, 0.28);
}

.detail-facts span,
.detail-facts strong {
  display: block;
}

.detail-facts span {
  color: var(--brown);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-facts strong {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.2;
}

.detail-body {
  display: grid;
  gap: 24px;
}

.detail-body section {
  padding-top: 21px;
  border-top: 1px solid rgba(98, 60, 23, 0.3);
}

.detail-body h3 {
  margin: 0 0 8px;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.05;
}

.detail-body p {
  max-width: 700px;
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.85;
}

.detail-source {
  margin-top: 32px;
  padding-top: 17px;
  color: var(--brown);
  border-top: 1px dashed rgba(98, 60, 23, 0.42);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.detail-source > span {
  display: block;
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-source > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
}

.detail-source a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brick);
  text-decoration: underline;
  text-decoration-color: rgba(126, 50, 30, 0.42);
  text-underline-offset: 3px;
}

.detail-source a:hover {
  color: #3f1c12;
}

.detail-source svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.dialog-results {
  display: grid;
  gap: 9px;
}

.dialog-results a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 8px 15px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(111, 68, 25, 0.3);
  border-radius: 4px;
  background: rgba(239, 214, 165, 0.46);
}

.dialog-results a:hover,
.dialog-results a:focus-visible {
  color: var(--brick);
  background: rgba(239, 214, 165, 0.84);
}

.dialog-results a span,
.dialog-results a strong {
  grid-column: 1;
}

.dialog-results a span {
  color: var(--brown);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dialog-results a strong {
  margin-top: -4px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.05;
}

.dialog-results a > svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .primary-nav {
    gap: 6px;
    font-size: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .search-form {
    width: 100px;
  }

  .social-links {
    display: none;
  }

  .hero-copy {
    padding-left: 34px;
  }

  .hero h1 {
    font-size: 65px;
  }

  .quote-sheet {
    width: 42%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .quote-deva {
    font-size: 13px;
  }

  .quote-translation {
    font-size: 10px;
  }

  .research-section {
    display: block;
  }

  .research-intro {
    max-width: 620px;
    margin-bottom: 24px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .carved-band {
    height: 39px;
    gap: 13px;
    font-size: 12px;
  }

  .archive-rail {
    min-height: 0;
  }

  .site-header {
    height: 70px;
    gap: 8px;
    padding: 0 12px;
  }

  .mobile-brand {
    font-size: 22px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 20px;
    height: 2px;
  }

  .primary-nav {
    top: 69px;
    right: 12px;
    left: 12px;
    padding: 13px 17px;
  }

  .primary-nav.is-open {
    gap: 0 22px;
  }

  .primary-nav a {
    padding: 13px 0;
    font-size: 13px;
  }

  .header-actions {
    gap: 5px;
    margin-right: 5px;
  }

  .search-form {
    width: min(45vw, 168px);
    height: 37px;
  }

  .search-form input {
    padding-left: 11px;
    font-size: 13px;
  }

  .hero {
    height: 620px;
  }

  .hero-copy {
    width: 100%;
    padding: 32px 27px 0;
  }

  .eyebrow-rule,
  .ornament-divider {
    width: 205px;
  }

  .hero h1 {
    margin-top: 18px;
    margin-bottom: 17px;
    font-size: clamp(64px, 18vw, 88px);
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-verse {
    margin-top: 28px;
    font-size: 17px;
  }

  .hero-copy > .ink-button {
    margin-top: 15px;
    margin-left: 0;
    font-size: 14px;
  }

  .hero-stamp {
    right: 18px;
    bottom: 19px;
    width: 58px;
    height: 66px;
  }

  .category-ribbon {
    min-height: 136px;
    margin: 0 12px;
  }

  .category-item {
    width: 181px;
    min-width: 181px;
    padding: 16px 10px 14px;
  }

  .category-item strong {
    font-size: 16px;
  }

  .category-item small {
    font-size: 12px;
  }

  main > .manuscript-section,
  main > .newsletter {
    margin-top: 24px;
  }

  .section-heading {
    min-height: 42px;
    gap: 10px;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 7vw, 31px);
  }

  .eternal-panel {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding-bottom: 25px;
  }

  .eternal-panel > .section-heading {
    flex: 0 0 auto;
    padding-top: 23px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .eternal-art {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 210px;
    margin-top: 3px;
    opacity: 0.66;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }

  .eternal-copy {
    width: auto;
    margin: 22px 24px 0;
    font-size: 15px;
    line-height: 1.8;
  }

  .small-button {
    margin-top: 22px;
    margin-left: 0;
    font-size: 13px;
  }

  .quote-sheet {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    min-height: 0;
    margin: 27px 18px 0;
    padding: 24px 22px 27px;
    clip-path: polygon(3% 1%, 96% 2%, 99% 7%, 97% 93%, 88% 99%, 15% 97%, 2% 100%, 1% 10%);
  }

  .quote-sheet h3 {
    font-size: 28px;
  }

  .quote-deva {
    font-size: 16px;
  }

  .quote-translation {
    font-size: 13px;
  }

  .paper-button {
    font-size: 12px;
  }

  .featured-panel {
    min-height: 0;
    padding: 22px 18px 25px;
  }

  .featured-story {
    height: 235px;
  }

  .featured-story span {
    left: 17px;
    bottom: 17px;
    font-size: 26px;
  }

  .featured-list {
    margin-top: 17px;
  }

  .featured-list a {
    padding: 11px 0 10px;
    font-size: 15px;
  }

  .ghats-panel,
  .aarti-panel,
  .stories-panel,
  .timeline-panel,
  .visit-panel {
    min-height: 0;
  }

  .ghats-panel {
    padding: 22px 15px 20px;
  }

  .aarti-panel {
    padding: 22px 15px 22px;
  }

  .dual-feature-row .section-heading {
    margin-bottom: 18px;
  }

  .ghat-cards {
    gap: 11px;
    padding-bottom: 8px;
    grid-template-columns: repeat(5, 137px);
  }

  .ghat-card img {
    height: 118px;
  }

  .ghat-card strong {
    font-size: 14px;
  }

  .text-link {
    margin-top: 15px;
    font-size: 14px;
  }

  .aarti-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 15px;
    padding: 2px 3px 0;
  }

  .aarti-list::before,
  .aarti-list::after {
    display: none;
  }

  .aarti-orb {
    width: 71px;
    height: 71px;
  }

  .aarti-orb svg {
    width: 39px;
    height: 39px;
  }

  .aarti-item strong {
    margin-top: 12px;
    font-size: 15px;
  }

  .aarti-item small {
    font-size: 12px;
  }

  .aarti-panel .text-link {
    margin-top: 22px;
  }

  .lower-grid > article {
    padding: 22px 18px 21px;
  }

  .stories-panel {
    padding-left: 18px !important;
  }

  .story-layout {
    height: auto;
    min-height: 275px;
    gap: 13px;
  }

  .story-lead {
    height: 260px;
    min-height: 260px;
  }

  .story-lead span {
    left: 14px;
    bottom: 44px;
    font-size: 24px;
  }

  .story-lead small {
    left: 14px;
    bottom: 15px;
    font-size: 11px;
  }

  .story-list {
    gap: 16px;
  }

  .story-list a {
    align-items: flex-start;
    gap: 8px;
  }

  .story-list img {
    width: 55px;
    height: 47px;
    flex-basis: 55px;
  }

  .story-list span {
    font-size: 13px;
    line-height: 1.12;
  }

  .timeline-panel {
    min-height: 370px !important;
  }

  .timeline-content {
    min-height: 290px;
  }

  .timeline {
    width: 57%;
    padding-left: 28px;
  }

  .timeline li {
    min-height: 49px;
    padding-bottom: 9px;
  }

  .timeline b {
    font-size: 14px;
  }

  .timeline small {
    font-size: 12px;
  }

  .timeline-temple {
    right: 1%;
    width: 50%;
    height: 220px;
  }

  .visit-panel {
    min-height: 385px !important;
  }

  .visit-content {
    min-height: 305px;
  }

  .visit-list {
    width: 57%;
    gap: 16px;
    padding-top: 10px;
  }

  .visit-list li {
    gap: 9px;
    font-size: 14px;
  }

  .visit-list svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .visit-temple {
    right: 2%;
    width: 48%;
    height: 275px;
  }

  .research-section {
    display: block;
    padding: 27px 18px 29px;
  }

  .research-intro {
    padding: 0;
    margin-bottom: 24px;
  }

  .research-kicker {
    font-size: 11px;
  }

  .research-intro h2 {
    margin-top: 15px;
    font-size: 34px;
  }

  .research-intro p {
    font-size: 14px;
    line-height: 1.75;
  }

  .research-source-note {
    font-size: 12px;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .research-card {
    min-height: 145px;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 17px;
  }

  .research-card strong {
    font-size: 21px;
  }

  .newsletter {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 25px 20px 29px;
  }

  .newsletter-etching {
    order: 3;
    height: 105px;
  }

  .newsletter-copy {
    order: 1;
    padding-left: 0;
  }

  .newsletter-copy h2 {
    font-size: 29px;
    line-height: 1.05;
  }

  .newsletter-copy p {
    font-size: 14px;
  }

  .newsletter-form {
    order: 2;
    width: 100%;
    height: 48px;
    margin-top: 0;
  }

  .newsletter-form input,
  .newsletter-form button {
    font-size: 14px;
  }

  .newsletter-form button {
    width: 112px;
  }

  .wax-seal {
    order: 4;
    width: 75px;
    height: 75px;
    margin-top: -4px;
  }

  .site-footer {
    min-height: 0;
  }

  .footer-inner {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 31px 22px;
    padding: 31px 25px 46px;
  }

  .footer-brand h2 {
    font-size: 28px;
  }

  .footer-brand p {
    font-size: 15px;
  }

  .footer-copy,
  .footer-column a {
    font-size: 13px;
    line-height: 1.4;
  }

  .footer-column {
    gap: 8px;
  }

  .footer-column h3 {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .footer-mantra {
    min-height: 110px;
  }

  .footer-mantra strong {
    font-size: 29px;
  }

  .footer-mantra > span {
    font-size: 13px;
  }

  .copyright {
    position: relative;
    height: auto;
    min-height: 37px;
    padding: 9px 15px;
    font-size: 11px;
    line-height: 1.35;
  }

  .detail-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .detail-dialog-shell {
    max-height: calc(100vh - 20px);
    padding: 34px 20px 30px;
  }

  .dialog-close {
    top: 13px;
    right: 13px;
    width: 36px;
    height: 36px;
  }

  .detail-dialog-topline {
    margin-bottom: 21px;
  }

  .detail-dialog-topline span {
    width: 55px;
  }

  .detail-heading {
    gap: 14px;
    align-items: flex-start;
  }

  .detail-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .detail-icon svg {
    width: 30px;
    height: 30px;
  }

  .detail-eyebrow {
    font-size: 10px;
    line-height: 1.25;
  }

  .detail-heading h2 {
    font-size: 31px;
  }

  .detail-lead {
    margin-top: 23px;
    font-size: 14px;
    line-height: 1.7;
  }

  .detail-facts {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 23px;
  }

  .detail-facts > div {
    min-height: 0;
    padding: 11px 12px;
  }

  .detail-facts strong {
    font-size: 15px;
  }

  .detail-body {
    gap: 20px;
  }

  .detail-body section {
    padding-top: 17px;
  }

  .detail-body h3 {
    font-size: 22px;
  }

  .detail-body p {
    font-size: 14px;
    line-height: 1.75;
  }

  .detail-source {
    margin-top: 26px;
    font-size: 13px;
  }

  .detail-source > div {
    display: grid;
    gap: 9px;
  }
}

/* Stabilise the enlarged compositions and keep every illustrated element inside its panel. */
.archive-rail,
.archive-rail .rail-nav,
.archive-rail .rail-nav a {
  min-width: 0;
}

.archive-rail .rail-nav a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.archive-rail .rail-nav svg {
  flex-shrink: 0;
}

.timeline::before {
  top: 10px;
  bottom: 12px;
  left: 12px;
}

.timeline li::before {
  left: -19px;
  width: 12px;
  height: 12px;
}

.footer-sketch {
  position: absolute;
  z-index: 0;
  right: 3%;
  bottom: 20px;
  left: 3%;
  height: 155px;
  color: rgba(205, 157, 78, 0.56);
  opacity: 0.7;
  pointer-events: none;
}

.footer-sketch svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.footer-sketch circle {
  fill: currentColor;
  stroke: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  min-height: 320px;
  padding-top: 32px;
  padding-bottom: 56px;
}

.footer-mantra {
  min-height: 245px;
  padding-top: 10px;
}

.footer-mantra strong,
.footer-mantra > span {
  position: relative;
  z-index: 1;
}

.footer-shivling {
  position: relative;
  z-index: 1;
  width: 125px;
  height: 125px;
  margin: 18px auto 0;
  color: rgba(225, 183, 95, 0.9);
}

.footer-shivling svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.footer-line-temple {
  z-index: 1;
}

.copyright {
  z-index: 2;
}

@media (min-width: 701px) {
  .eternal-panel,
  .intro-grid {
    min-height: 560px;
  }

  .eternal-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 36%);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 19px;
  }

  .eternal-panel > .section-heading {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-top: 27px;
    padding-right: 27px;
    padding-left: 20%;
  }

  .eternal-art {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 100%;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin: 0;
    opacity: 0.63;
  }

  .eternal-copy {
    width: 73%;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin: 76px 0 0 17%;
    font-size: 15px;
    line-height: 1.8;
  }

  .small-button {
    margin-top: 29px;
    margin-left: 0;
    font-size: 12px;
  }

  .quote-sheet {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    min-height: 0;
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    margin: 24px 17px 25px 0;
    padding: 22px 19px 23px;
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .rail-name {
    font-size: 22px;
  }

  .rail-tagline {
    font-size: 13px;
  }

  .rail-nav a {
    min-height: 37px;
    gap: 7px;
    padding: 6px 2px;
    font-size: 12px;
  }

  .rail-nav svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .eternal-panel,
  .intro-grid {
    min-height: 520px;
  }

  .eternal-copy {
    width: 78%;
    margin-top: 68px;
    margin-left: 11%;
    font-size: 13px;
  }

  .quote-sheet {
    margin-right: 8px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .timeline::before {
    left: 12px;
  }
}

@media (max-width: 700px) {
  .timeline::before {
    left: 15px;
  }

  .site-footer {
    min-height: 520px;
  }

  .footer-sketch {
    right: 2%;
    bottom: 24px;
    left: 2%;
    height: 175px;
    opacity: 0.45;
  }

  .footer-inner {
    min-height: 470px;
    padding-top: 35px;
    padding-bottom: 58px;
  }

  .footer-mantra {
    min-height: 190px;
  }

  .footer-shivling {
    width: 108px;
    height: 108px;
    margin-top: 15px;
  }

  .footer-line-temple {
    bottom: -25px;
  }
}

/* Keep the original river photograph crop while letting the enlarged copy breathe. */
@media (min-width: 701px) {
  .eternal-art {
    position: absolute;
    z-index: 0;
    right: auto;
    bottom: 20px;
    left: 9px;
    width: 54%;
    height: 186px;
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .eternal-copy {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 2;
  }

  .archive-rail {
    height: auto;
    min-height: 0;
  }

  .archive-rail::after {
    box-shadow: none;
  }

  .rail-bottom-mark {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 21px;
  }
}

.rail-temple {
  flex: 0 0 auto;
  overflow: hidden;
}

.rail-temple svg {
  max-width: 100%;
  max-height: 100%;
}

.site-footer {
  min-height: 385px;
}

.footer-sketch {
  right: 2%;
  bottom: 25px;
  left: 2%;
  height: 184px;
  color: rgba(205, 157, 78, 0.68);
  opacity: 0.72;
}

.footer-sketch svg {
  stroke-width: 1.25;
}

.footer-inner {
  min-height: 345px;
  padding-top: 36px;
  padding-bottom: 63px;
}

.footer-mantra {
  min-height: 270px;
}

.footer-shivling {
  width: 145px;
  height: 133px;
  margin-top: 19px;
}

.footer-shivling .shivling-body-fill {
  fill: rgba(118, 70, 25, 0.26);
  stroke: none;
}

.footer-shivling .shivling-body {
  color: #e4b869;
  stroke-width: 1.7;
}

.footer-shivling .shivling-yoni {
  color: #d9a955;
  stroke-width: 1.55;
}

.footer-shivling .shivling-base {
  color: rgba(225, 183, 95, 0.82);
  stroke-width: 1.4;
}

.footer-shivling .shivling-mark {
  color: #eecc78;
  stroke-width: 1.75;
}

.footer-shivling .shivling-aura {
  color: rgba(225, 183, 95, 0.72);
  stroke-width: 1.25;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .eternal-art {
    height: 186px;
  }

  .footer-mantra {
    min-height: 245px;
  }

  .footer-shivling {
    width: 120px;
    height: 110px;
  }
}

@media (max-width: 700px) {
  .eternal-art {
    height: 183px;
  }

  .site-footer {
    min-height: 540px;
  }

  .footer-sketch {
    bottom: 26px;
    height: 190px;
  }

  .footer-inner {
    min-height: 490px;
    padding-top: 38px;
    padding-bottom: 65px;
  }

  .footer-mantra {
    min-height: 205px;
  }

  .footer-shivling {
    width: 116px;
    height: 106px;
    margin-top: 16px;
  }
}

/* Give the hero CTA a clear landing area before the next section begins. */
.hero-copy > .ink-button {
  margin-top: 11px;
}

.category-ribbon {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .hero-copy > .ink-button {
    margin-top: 13px;
  }

  .category-ribbon {
    margin-top: 18px;
  }
}

/* ===== LANGUAGE CONVERTER ===== */
.lang-converter {
  position: relative;
  z-index: 50;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  cursor: pointer;
  color: var(--ink);
  border: 1px solid rgba(100, 66, 31, 0.42);
  border-radius: 5px;
  background: rgba(244, 224, 178, 0.38);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease;
}

.lang-toggle:hover {
  background: rgba(244, 224, 178, 0.65);
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  z-index: 200;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px 0;
  color: var(--ink);
  border: 1px solid rgba(100, 66, 31, 0.45);
  border-radius: 6px;
  background: #ead6a8;
  box-shadow: 0 8px 24px rgba(50, 25, 10, 0.3);
  scrollbar-width: thin;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: background 120ms ease, color 120ms ease;
}

.lang-option:hover {
  background: rgba(126, 77, 27, 0.12);
  color: var(--brick);
}

.lang-option.is-active {
  color: var(--brick);
  background: rgba(126, 77, 27, 0.18);
  font-weight: 700;
}

.lang-converter.translating .lang-toggle {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== SANSKRIT PROTECTION ===== */
[data-sanskrit="true"] {
  user-select: all;
}

/* ===== BLOG SECTION (Retro Historical Look) ===== */
.blog-section {
  padding: 30px 5.5% 34px;
  border-top: 1px solid rgba(98, 60, 23, 0.42);
  border-bottom: 1px solid rgba(98, 60, 23, 0.42);
}

.blog-header {
  text-align: center;
  margin-bottom: 24px;
}

.blog-subtitle {
  max-width: 500px;
  margin: 8px auto 0;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  border: 1px solid rgba(111, 68, 25, 0.35);
  border-radius: var(--content-radius);
  background: rgba(239, 214, 165, 0.46);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(77, 42, 17, 0.18);
}

.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.blog-card-image {
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: sepia(0.5) saturate(0.75) contrast(1.08);
  transition: transform 300ms ease;
}

.blog-card-featured .blog-card-image img {
  height: 100%;
  min-height: 280px;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  color: #f2dfb0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  background: rgba(104, 38, 23, 0.85);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 16px 18px 18px;
}

.blog-card-date {
  display: block;
  margin-bottom: 6px;
  color: var(--brown);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-body h3 {
  margin: 0 0 8px;
  color: #352014;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.blog-card-featured .blog-card-body h3 {
  font-size: clamp(22px, 2.5vw, 30px);
}

.blog-card-body p {
  margin: 0;
  color: #4a2a18;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.7;
}

.blog-card-featured .blog-card-body p {
  font-size: 14px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 160ms ease;
}

.blog-card-link:hover {
  color: #3f1c12;
}

.blog-card-link span {
  font-size: 15px;
  transition: transform 160ms ease;
}

.blog-card-link:hover span {
  transform: translateX(3px);
}

/* Blog responsive */
@media (max-width: 930px) and (min-width: 701px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card-featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .blog-section {
    padding: 24px 18px 28px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-card-featured {
    grid-template-columns: 1fr;
  }

  .blog-card-featured .blog-card-image img {
    min-height: 190px;
  }

  .blog-card-body h3 {
    font-size: 17px;
  }

  .blog-card-featured .blog-card-body h3 {
    font-size: 22px;
  }

  .blog-card-body p {
    font-size: 13px;
  }

  .lang-toggle {
    padding: 5px 8px;
    font-size: 11px;
  }

  #lang-label {
    display: none;
  }

  .lang-dropdown {
    right: -8px;
    min-width: 150px;
  }
}

/* ===== SANSKRIT VERSE BLOCKS ===== */
.sanskrit-verse-mount {
  position: relative;
  z-index: 1;
  width: 100%;
}

.sanskrit-verse-block {
  position: relative;
  margin: 10px 0;
  padding: 14px 16px 12px;
  overflow: hidden;
  color: #4a2818;
  border: 1px solid rgba(119, 76, 33, 0.5);
  background-color: #d7b878;
  background-image:
    radial-gradient(ellipse at 35% 20%, rgba(255, 229, 162, 0.45), transparent 52%),
    repeating-linear-gradient(2deg, rgba(104, 61, 22, 0.04) 0 1px, transparent 1px 4px);
  box-shadow: 2px 3px 5px rgba(73, 39, 15, 0.2), inset 0 0 12px rgba(111, 63, 20, 0.12);
}

.sanskrit-verse-block::before {
  position: absolute;
  inset: 6px;
  pointer-events: none;
  content: '';
  border: 1px solid rgba(112, 68, 25, 0.18);
}

.sanskrit-verse-block::after {
  content: '(HWND)';
  position: absolute;
  top: 6px;
  right: 10px;
  color: rgba(112, 68, 25, 0.12);
  font-size: 8px;
  font-family: var(--serif);
  letter-spacing: 0.05em;
}

.sanskrit-original {
  text-align: center;
  margin-bottom: 6px;
}

.sanskrit-line {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: #3d2214;
}

.sanskrit-transliteration {
  text-align: center;
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  color: rgba(74, 40, 24, 0.65);
  margin-bottom: 4px;
}

.sanskrit-source {
  text-align: center;
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  color: rgba(74, 40, 24, 0.5);
  margin-bottom: 8px;
}

.sanskrit-btn-container {
  text-align: center;
  margin-bottom: 4px;
}

.sanskrit-translate-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 3px 10px 4px;
  color: #643719;
  border: 1px solid rgba(99, 60, 24, 0.45);
  border-radius: 3px;
  background: rgba(234, 205, 151, 0.35);
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.sanskrit-translate-btn:hover:not(:disabled) {
  color: #3d2214;
  background: rgba(234, 205, 151, 0.55);
}

.sanskrit-translate-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.sanskrit-translation {
  position: relative;
  margin-top: 8px;
  padding: 10px 12px 8px;
  border-top: 1px dashed rgba(112, 68, 25, 0.3);
  animation: sanskrit-reveal 160ms ease;
}

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

.sanskrit-translation-text {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: #4a2818;
}

.sanskrit-explanation-text {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(74, 40, 24, 0.7);
}

/* Sanskrit verse inside the quote-sheet */
.quote-sheet .sanskrit-verse-block {
  background-color: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
  padding: 6px 0 0;
  margin: 6px 0 0;
}

.quote-sheet .sanskrit-verse-block::before,
.quote-sheet .sanskrit-verse-block::after {
  display: none;
}

.quote-sheet .sanskrit-original {
  text-align: center;
}

.quote-sheet .sanskrit-line {
  font-size: 13px;
}

.quote-sheet .sanskrit-translation {
  border-top-color: rgba(112, 68, 25, 0.2);
}

.quote-sheet .sanskrit-translation-text {
  font-size: 10px;
  text-align: center;
}

.quote-sheet .sanskrit-explanation-text {
  font-size: 8.5px;
  text-align: center;
}

.quote-sheet .sanskrit-translate-btn {
  color: #643719;
  background: rgba(234, 205, 151, 0.25);
  border-color: rgba(99, 60, 24, 0.35);
  font-size: 8px;
}

/* Sanskrit verse in article body / detail dialog */
.detail-body .sanskrit-verse-block,
.article-body .sanskrit-verse-block {
  margin: 16px 0;
}

/* ===== MOBILE SANSKRIT ===== */
@media (max-width: 700px) {
  .sanskrit-verse-block {
    padding: 12px 10px 10px;
    margin: 8px 0;
  }

  .sanskrit-line {
    font-size: 14px;
  }

  .sanskrit-transliteration {
    font-size: 9px;
  }

  .sanskrit-translation-text {
    font-size: 10px;
  }

  .sanskrit-explanation-text {
    font-size: 9px;
  }
}
