:root {
  --saffron:      #E8671A;
  --deep-saffron: #C4500D;
  --gold:         #C9922A;
  --light-gold:   #F0C96E;
  --cream:        #FAF3E0;
  --deep-cream:   #F2E4C4;
  --bark:         #3D2B1F;
  --ash:          #6B5744;
  --river:        #2C6E7A;
  --lotus:        #C25E7A;
  --leaf:         #4A7C59;
  --sky:          #5B8FA8;
}

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

html {
  overflow-x: clip;
}

body {
  background-color: var(--cream);
  color: var(--bark);
  font-family: 'Tiro Devanagari Hindi', serif;
  line-height: 1.9;
  font-size: 17px;
  overflow-x: clip;
}

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

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

.site-nav {
  background: rgba(61, 43, 31, 0.95);
  border-bottom: 1px solid rgba(242, 228, 196, 0.35);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: 'Source Serif 4', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--light-gold);
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0;
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(240, 201, 110, 0.95);
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.language-switcher-separator {
  opacity: 0.82;
}

.top-border {
  height: 6px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--light-gold), var(--gold), var(--saffron));
}

header {
  background: linear-gradient(160deg, #2A1A0E 0%, #3D2B1F 50%, #2C1F14 100%);
  padding: 70px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,103,26,0.25) 0%, transparent 70%);
}

header::after {
  content: '॥ श्रीमद्भगवद्गीता ॥';
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0px;
  color: rgba(201,146,42,0.6);
  white-space: nowrap;
}

.header-om {
  font-size: 52px;
  color: var(--light-gold);
  opacity: 0.9;
  margin-bottom: 16px;
  display: block;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 20px rgba(240,201,110,0.4); }
  50% { text-shadow: 0 0 40px rgba(240,201,110,0.8), 0 0 60px rgba(232,103,26,0.4); }
}

h1 {
  font-size: clamp(30px, 4.8vw, 44px);
  color: var(--light-gold);
  line-height: 1.1;
  margin-bottom: 14px;
}

.subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  color: rgba(240,201,110,0.75);
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 1;
}

.shloka-hero-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.chapter-hero-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-hero-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

header.shloka-hero-full .subtitle {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: clamp(22px, 4.2vw, 28px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(240, 201, 110, 0.96);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header.shloka-hero-full h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(201,146,42,0.6);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
}

header.chapter-hero-full .subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(28px, 4.8vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(240, 201, 110, 0.96);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

header.chapter-hero-full h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  letter-spacing: 0;
  color: rgba(201,146,42,0.6);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Chapter detail page specific heading split */
.chapter-detail-hero .chapter-detail-heading {
  margin-bottom: 14px;
}

.chapter-detail-hero .chapter-detail-number {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  letter-spacing: 0;
  color: rgba(201,146,42,0.6);
  font-weight: 500;
  line-height: 1.5;
}

.chapter-detail-hero .chapter-detail-title {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(28px, 4.8vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(240, 201, 110, 0.96);
  max-width: 960px;
  margin: 4px auto 0;
  padding: 0 24px;
}

.chapter-hero-meta {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,146,42,0.7);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0px 24px 60px;
}

.intro {
  background: linear-gradient(135deg, var(--deep-cream), var(--cream));
  border-left: 4px solid var(--saffron);
  padding: 32px 36px;
  margin: 40px 0 48px;
  border-radius: 0 8px 8px 0;
  font-size: 18px;
}

.chapter-intro-focus {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 248, 235, 0.38) 48%, rgba(255, 239, 210, 0.44) 100%),
    rgba(255, 248, 235, 0.58);
  border: 1px solid rgba(242, 228, 196, 0.95);
  border-left: none;
  border-radius: 16px;
  box-shadow:
    0 18px 44px rgba(59, 38, 16, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.52) inset,
    0 -10px 18px rgba(232, 103, 26, 0.08) inset;
  backdrop-filter: blur(9px) saturate(120%);
}

.chapter-intro-focus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.08) 88%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.chapter-intro-focus::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -170px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.chapter-intro-focus > * {
  position: relative;
  z-index: 1;
}

.chapter-intro-focus p {
  color: var(--deep-saffron);
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.08rem, 2.1vw, 1.26rem);
  line-height: 1.9;
  font-weight: 500;
}

.home-intro-focus h2 {
  position: relative;
  z-index: 1;
  color: var(--bark);
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.3;
  margin-bottom: 20px;
}
.home-intro-focus h3 {
  color: var(--ash);
  margin-top: 58px;
  
}

.home-intro-focus p {
  margin-bottom: 1.35rem;
}

.home-intro-focus p:last-of-type {
  margin-bottom: 0;
}

.intro-label {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 6px !important;
  opacity: 0.88;
}

.home-insight {
  position: relative;
  overflow: hidden;
  border-left: none;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 245, 228, 0.56) 100%),
    rgba(255, 248, 236, 0.62);
  border: 1px solid rgba(214, 195, 163, 0.72);
  box-shadow:
    0 14px 28px rgba(59, 38, 16, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  backdrop-filter: blur(8px) saturate(118%);
}

.home-insight-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.92);
  border: 1px solid rgba(201, 146, 42, 0.28);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.home-quote-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ec 100%);
  border: 1px solid rgba(201, 146, 42, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 30px 32px 26px;
  box-shadow:
    0 12px 28px rgba(59, 38, 16, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.home-quote-block > div:first-child {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  font-style: italic;
  color: var(--bark);
  line-height: 1.9;
}

.home-quote-block .quote-src {
  margin-top: 14px;
  color: var(--deep-saffron);
  letter-spacing: 0.05em;
  opacity: 0.92;
}

.chapter-verses-intro {
  color: var(--ash);
  margin-bottom: 24px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 26px 24px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(59, 38, 16, 0.12);
  color: #fff;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 24px;
  background: rgba(255,255,255,0.12);
}

.card h3 {
  font-size: 1.25rem;
  margin-top: 0;
}

.card-ref {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.card p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 0;
}

.card-leaf { background: linear-gradient(160deg, #3C6948 0%, #4F845F 100%); }
.card-river { background: linear-gradient(160deg, #235868 0%, #3D7A88 100%); }
.card-lotus { background: linear-gradient(160deg, #9A4963 0%, #C25E7A 100%); }
.card-gold { background: linear-gradient(160deg, #A67A24 0%, #C99F3A 100%); }

.section-intro {
  margin: 56px 0 24px;
  text-align: center;
}

.section-intro-text {
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 12px;
}

.section-intro-sub {
  font-size: 28px;
  font-weight: 500;
  color: var(--bark);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}

.insight {
  background: #fff8ef;
  border-left: 4px solid var(--saffron);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}

.insight-title {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-saffron);
  margin-bottom: 12px;
}

.quote-block {
  background: #fff;
  border: 1px solid rgba(210, 177, 126, 0.35);
  border-radius: 18px;
  padding: 30px 32px;
  margin: 20px 0 38px;
  color: var(--bark);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

.quote-src {
  margin-top: 18px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.quote-grid-item .quote-callout {
  margin: 0;
}

.quote-callout {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ec 100%);
  border: 1px solid rgba(201, 146, 42, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 28px 28px 24px 32px;
  box-shadow:
    0 8px 28px rgba(59, 38, 16, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.quote-callout::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 14px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(201, 146, 42, 0.18);
  pointer-events: none;
  z-index: 0;
  font-weight: 700;
}

.quote-callout p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.9;
  color: var(--bark);
  font-style: italic;
  font-weight: 500;
}

.padched-help {
  color: var(--ash);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.padched-glass-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62) 0%, rgba(238, 248, 240, 0.5) 54%, rgba(225, 243, 228, 0.56) 100%),
    rgba(243, 252, 246, 0.62);
  border: 1px solid rgba(191, 221, 198, 0.78);
  border-radius: 14px;
  padding: 24px;
  font-size: 1.12rem;
  line-height: 2;
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--bark);
  box-shadow:
    0 16px 34px rgba(47, 87, 61, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.74) inset;
  backdrop-filter: blur(8px) saturate(122%);
}

.padched-line {
  margin-bottom: 12px;
}

.padched-line:last-child {
  margin-bottom: 0;
}

.detail-glass-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(188, 215, 229, 0.72);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.66) 0%, rgba(233, 246, 255, 0.46) 100%),
    rgba(238, 247, 255, 0.68);
  box-shadow:
    0 10px 24px rgba(44, 86, 110, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(8px) saturate(125%);
}

.detail-glass-card:last-child {
  margin-bottom: 0;
}

.detail-glass-title {
  margin: 12px 0 10px;
  color: var(--bark);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.detail-glass-text {
  margin: 0;
  color: var(--ash);
  line-height: 1.84;
}

.detail-glass-html {
  color: var(--bark);
  line-height: 1.92;
}

.perspectives-intro {
  color: var(--ash);
  margin-bottom: 20px;
}

.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.perspective-glass-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(211, 194, 164, 0.72);
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 246, 230, 0.46) 52%, rgba(255, 236, 200, 0.54) 100%),
    rgba(255, 247, 232, 0.6);
  box-shadow:
    0 14px 32px rgba(74, 53, 28, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  backdrop-filter: blur(8px) saturate(118%);
}

.perspective-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 12px;
}

.perspective-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.perspective-chip {
  display: inline-block;
  position: relative;
  padding: 7px 22px;
  background:
    repeating-linear-gradient(165deg, rgba(126, 92, 45, 0.11) 0px, rgba(126, 92, 45, 0.11) 1px, rgba(244, 221, 176, 0.88) 1px, rgba(244, 221, 176, 0.88) 7px),
    linear-gradient(140deg, rgba(250, 233, 196, 0.98) 0%, rgba(226, 190, 126, 0.92) 100%);
  border: none;
  border-top: 1px solid rgba(154, 108, 45, 0.62);
  border-bottom: 1px solid rgba(154, 108, 45, 0.62);
  border-radius: 0;
  font-size: 0.85rem;
  color: #5a3b16;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 248, 230, 0.72);
  box-shadow:
    0 4px 8px rgba(95, 63, 25, 0.1),
    0 1px 0 rgba(255, 245, 214, 0.76) inset;
}



.faq-glass-grid {
  display: grid;
  gap: 14px;
}

.faq-glass-item {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.66) 0%, rgba(248, 240, 227, 0.5) 100%),
    rgba(255, 248, 236, 0.62);
  border: 1px solid rgba(214, 195, 163, 0.74);
  border-radius: 12px;
  box-shadow:
    0 12px 26px rgba(71, 48, 22, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(8px) saturate(118%);
}

.faq-glass-question {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--bark);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.8), rgba(255, 247, 236, 0.58));
  border-bottom: 1px solid rgba(214, 195, 163, 0.4);
}

.faq-glass-answer {
  padding: 16px 18px;
  color: var(--ash);
  line-height: 1.8;
}

.transliteration-block-wrap {
  margin-top: 24px;
}

.transliteration-block {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.62) 0%, rgba(228, 246, 250, 0.48) 46%, rgba(213, 237, 245, 0.58) 100%),
    rgba(241, 251, 255, 0.62);
  border: 1px solid rgba(176, 211, 223, 0.72);
  border-radius: 14px;
  padding: 24px 24px;
  box-shadow:
    0 16px 34px rgba(22, 67, 80, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -10px 18px rgba(91, 143, 168, 0.12) inset;
  backdrop-filter: blur(10px) saturate(125%);
}

.transliteration-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.08) 88%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.transliteration-block::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -95px;
  top: -135px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.transliteration-line {
  position: relative;
  z-index: 1;
  font-family: 'Spectral', 'Source Serif 4', serif;
  font-style: italic;
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  line-height: 1.95;
  letter-spacing: 0.015em;
  color: #1f4f62;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.transliteration-line + .transliteration-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(91, 143, 168, 0.28);
}

.word-meaning-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--deep-cream);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(59, 38, 16, 0.06);
  margin: 18px 0;
}

.word-meaning-table th,
.word-meaning-table td {
  border: 1px solid var(--deep-cream);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

.word-meaning-table th {
  background: #fff8eb;
  color: var(--deep-saffron);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.word-meaning-table td {
  color: var(--ash);
  line-height: 1.7;
}

.word-meaning-table .wm-word {
  color: var(--bark);
  font-weight: 600;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.05rem;
}

.wm-mobile-only {
  display: block;
}

.wm-desktop-only {
  display: none;
}

.detailed-meaning-content p {
  margin-bottom: 0.8rem;
}

.detailed-meaning-content p:last-child {
  margin-bottom: 0;
}

.call-to-action {
  text-align: center;
  margin-top: 24px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--saffron), var(--gold));
  color: #222;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(232, 103, 26, 0.18);
}

.cta-button-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.chapter-nav-return {
  padding: 44px 0 12px;
}

.shloka-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.shloka-nav-side {
  flex: 1;
  display: flex;
}

.shloka-nav-side:last-child {
  justify-content: flex-end;
}

.return-chapter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff5e4 100%);
  border: 1px solid rgba(201, 146, 42, 0.42);
  border-radius: 999px;
  color: var(--deep-saffron);
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow:
    0 6px 20px rgba(59, 38, 16, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

.return-chapter-btn:hover {
  background: linear-gradient(135deg, #fff8ee 0%, #ffecd0 100%);
  box-shadow:
    0 12px 28px rgba(59, 38, 16, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-2px);
  color: var(--saffron);
}

.return-chapter-arrow {
  font-size: 1.1rem;
  transition: transform 0.22s ease;
}

.return-chapter-btn:hover .return-chapter-arrow {
  transform: translateX(-4px);
}

.shloka-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid rgba(201, 146, 42, 0.32);
  border-radius: 999px;
  color: var(--ash);
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.shloka-nav-btn:hover {
  color: var(--deep-saffron);
  border-color: rgba(201, 146, 42, 0.62);
  background: rgba(255, 245, 220, 0.5);
  transform: translateY(-1px);
}

.shloka-nav-btn.is-disabled,
.shloka-nav-btn.is-disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ash);
  transform: none;
}

.shloka-nav-prev:hover {
  transform: translateX(-2px);
}

.shloka-nav-next:hover {
  transform: translateX(2px);
}

@media (max-width: 600px) {
  .shloka-nav-row {
    flex-direction: column;
    align-items: center;

  .brand-logo {
    height: 36px;
  }
  }
  .shloka-nav-side {
    justify-content: center !important;
  }
}

footer {
  background: #2A1A0E;
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 0.95rem;
}

.error-page {
  max-width: 760px;
  margin: 80px auto;
  padding: 36px;
  text-align: center;
}

.error-page h1 {
  color: var(--deep-saffron);
  font-size: clamp(32px, 5vw, 44px);
}

.error-message {
  margin: 20px 0 30px;
  color: var(--ash);
  font-size: 1.05rem;
}

.numbered-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  counter-reset: item-counter;
}

.numbered-list li {
  padding: 24px 28px 24px 60px;
  margin-bottom: 16px;
  background: #fff;
  border-left: 4px solid var(--saffron);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 12px rgba(59, 38, 16, 0.08);
  counter-increment: item-counter;
  position: relative;
}

.numbered-list li::before {
  content: counter(item-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--saffron);
}

.list-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 8px;
}

.list-desc {
  font-size: 0.95rem;
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 12px;
}

.list-ref {
  font-size: 0.85rem;
  color: var(--deep-saffron);
  letter-spacing: 0.05em;
  font-style: italic;
}

@media (max-width: 1024px) {
  .chapters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .site-nav-inner {
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
  }
  .brand {
    width: 100%;
    justify-content: center;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  .brand-logo {
    height: 48px;
  }
  .chapters-grid {
    grid-template-columns: 1fr;
  }
  .numbered-list li {
    padding: 20px 24px 20px 52px;
  }
}

@media (max-width: 640px) {
  header {
    padding: 56px 20px 48px;
  }
  .intro {
    padding: 24px 24px;
  }
  .section-intro-sub {
    font-size: 24px;
  }
  .numbered-list li {
    padding: 18px 20px 18px 48px;
    margin-bottom: 12px;
  }
  .chapter-card {
    flex-direction: column;
  }
  .chapter-number {
    width: 100%;
    padding: 16px 0;
  }
}

hr {
  margin: 40px 0;
  border: none;
  border-top: 1px dashed var(--deep-cream);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 640px) {
  .chapters-grid {
    grid-template-columns: 1fr;
  }
}

.chapter-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(59, 38, 16, 0.1);
  display: flex;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.chapter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 38, 16, 0.15);
}

.chapter-card-disabled {
  opacity: 0.75;
  pointer-events: none;
}

.chapter-card-disabled:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(59, 38, 16, 0.1);
}

.chapter-number {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: #fff;
  width: 80px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
}

.chapter-content {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chapter-content h3 {
  font-size: 1.2rem;
  color: var(--bark);
  margin: 0 0 8px 0;
  font-weight: 600;
}

.verse-count {
  font-size: 0.85rem;
  color: var(--deep-saffron);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.chapter-summary {
  flex: 1;
  font-size: 0.95rem;
  color: var(--ash);
  line-height: 1.6;
  margin-bottom: 16px;
}

.chapter-summary p {
  margin: 0;
  color: var(--ash);
}

.chapter-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 12px 22px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff5e4 100%);
  border: 1px solid rgba(201, 146, 42, 0.42);
  border-radius: 999px;
  color: var(--deep-saffron);
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow:
    0 6px 20px rgba(59, 38, 16, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.chapter-card:hover .chapter-link {
  background: linear-gradient(135deg, #fff8ee 0%, #ffecd0 100%);
  box-shadow:
    0 12px 28px rgba(59, 38, 16, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-2px);
  color: var(--saffron);
}

.chapter-link-disabled {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(107, 87, 68, 0.22);
  color: var(--ash);
  box-shadow: none;
}

.unavailable-page {
  max-width: 920px;
}

.error-support {
  margin: 0 0 24px;
  color: var(--ash);
}

.unavailable-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.unavailable-available-list {
  margin-top: 16px;
}

.unavailable-available-grid {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 0px;
  flex-wrap: wrap;
 
}

.breadcrumb-nav a {
  color: var(--saffron);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--deep-saffron);
}

.breadcrumb-sep {
  color: var(--deep-cream);
}

.breadcrumb-nav span:last-child {
  color: var(--ash);
}

.shlokas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.shloka-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 20px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 247, 230, 0.62) 100%),
    rgba(255, 248, 236, 0.62);
  border: 1px solid rgba(214, 195, 163, 0.74);
  border-top: 3px solid var(--saffron);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow:
    0 14px 28px rgba(59, 38, 16, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.74) inset;
  backdrop-filter: blur(8px) saturate(116%);
}

.shloka-item:hover {
  box-shadow:
    0 20px 38px rgba(59, 38, 16, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transform: translateY(-4px);
  border-color: rgba(201, 146, 42, 0.55);
}

.shloka-item-verse {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.92);
  border: 1px solid rgba(201, 146, 42, 0.28);
  font-size: 0.78rem;
  color: var(--deep-saffron);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.shloka-item-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shloka-title {
  color: var(--bark);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.shloka-preview {
  display: block;
  padding: 16px 18px;
  background: rgba(61, 43, 31, 0.96);
  border-radius: 12px;
  color: var(--light-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shloka-preview-line {
  display: block;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.06rem;
  line-height: 1.85;
}

.shloka-preview-line + .shloka-preview-line {
  margin-top: 6px;
}

.shloka-card-meaning {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 251, 243, 0.82);
  border: 1px solid rgba(214, 195, 163, 0.58);
  border-radius: 12px;
  color: var(--ash);
  font-family: 'Source Serif 4', serif;
  font-size: 0.98rem;
  line-height: 1.8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.shloka-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 248, 235, 0.92);
  color: var(--saffron);
  font-size: 1rem;
  border: 1px solid rgba(201, 146, 42, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shloka-item:hover .shloka-arrow {
  transform: translateX(4px);
  background: rgba(232, 103, 26, 0.12);
  color: var(--deep-saffron);
}

.verse-translation {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(59, 38, 16, 0.08);
}

.verse-translation h3 {
  color: var(--bark);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.verse-translation p {
  color: var(--ash);
  line-height: 1.8;
  font-size: 1rem;
}

/* -------------------------------------------------------
   SHLOKA MEANING � Verse + Hindi Meaning Display
   ------------------------------------------------------- */
.shlok-meaning {
  border: 1px solid var(--deep-cream);
  border-top: 3px solid var(--saffron);
  border-radius: 4px;
  margin: 28px 0;
  overflow: hidden;
}

.sm-verse {
  background: var(--bark);
  color: var(--light-gold);
  padding: 24px 32px;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 17px;
  line-height: 2.1;
  text-align: center;
}

.sm-meaning {
  background: var(--cream);
  padding: 18px 32px 14px;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--bark);
  border-top: 1px solid var(--deep-cream);
}

.sm-meaning em {
  font-style: italic;
  color: var(--ash);
}

.shlok-meaning .sm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 32px 14px;
  background: var(--cream);
}

.sm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sm-num {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--saffron);
  letter-spacing: 1px;
  font-weight: 600;
}

.sm-chapter {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--ash);
  opacity: 0.7;
  letter-spacing: 1px;
}

/* -------------------------------------------------------
   SHLOKA MEANING FOCUS � Meaning-only Reading Block
   ------------------------------------------------------- */
.shlok-meaning-focus {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 248, 235, 0.38) 48%, rgba(255, 239, 210, 0.44) 100%),
    rgba(255, 248, 235, 0.58);
  border: 1px solid rgba(242, 228, 196, 0.95);
  border-radius: 16px;
  box-shadow:
    0 18px 44px rgba(59, 38, 16, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.52) inset,
    0 -10px 18px rgba(232, 103, 26, 0.08) inset;
  padding: 28px 32px;
  backdrop-filter: blur(9px) saturate(120%);
}

.shlok-meaning-focus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.08) 88%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.shlok-meaning-focus::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -170px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.smf-meaning {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--deep-saffron);
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.2rem, 2.3vw, 1.58rem);
  line-height: 1.95;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* -------------------------------------------------------
   TERM � Sanskrit Term Definition Card
   ------------------------------------------------------- */
.term {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid var(--saffron);
  box-shadow: 0 2px 8px rgba(59, 38, 16, 0.06);
}

.term-word {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 4px;
}

.term-roman {
  font-size: 0.95rem;
  color: var(--ash);
  font-style: italic;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.term-meaning {
  color: var(--bark);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.term-ref {
  color: var(--deep-saffron);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
}

/* -------------------------------------------------------
   GUNA ROW � Trigu?a Three-Column Analysis
   ------------------------------------------------------- */
.guna-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.guna-cell {
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(59, 38, 16, 0.08);
  background: #fff;
}

.guna-label {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.guna-roman {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 16px;
  font-weight: 500;
}

.guna-content {
  color: var(--bark);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.guna-ref {
  font-size: 0.85rem;
  color: var(--deep-saffron);
  font-weight: 500;
}

.guna-cell.guna-sattva {
  border-top: 4px solid var(--leaf);
}

.guna-cell.guna-rajas {
  border-top: 4px solid var(--saffron);
}

.guna-cell.guna-tamas {
  border-top: 4px solid var(--ash);
}

.guna-label {
  border-bottom: 2px solid var(--deep-cream);
  padding-bottom: 12px;
}

/* -------------------------------------------------------
   PRACTICE � Contemplation / ?????? Box (already in sample)
   ------------------------------------------------------- */
.practice {
  background: #fffbf5;
  border-left: 4px solid var(--saffron);
  padding: 28px;
  border-radius: 8px;
  margin: 32px 0;
}

.practice-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-saffron);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.practice-question {
  padding: 16px;
  background: #fff;
  border-radius: 6px;
  border-left: 3px solid var(--river);
  color: var(--bark);
  font-weight: 500;
  font-style: italic;
  margin-top: 16px;
}

/* -------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
   ------------------------------------------------------- */
@media (max-width: 860px) {
  .sm-verse {
    font-size: 16px;
    padding: 22px 18px;
  }

  .sm-meaning {
    padding: 14px 18px 10px;
    font-size: 15px;
  }

  .shlok-meaning .sm-footer {
    padding: 8px 18px 12px;
  }

  .guna-row {
    grid-template-columns: 1fr;
  }

  .sm-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .shlok-meaning-focus {
    padding: 20px 18px;
  }

  .smf-meaning {
    font-size: clamp(1.05rem, 5vw, 1.28rem);
    line-height: 1.85;
  }

  .transliteration-block {
    padding: 18px 16px;
  }

  .transliteration-line {
    font-size: clamp(1rem, 4.5vw, 1.14rem);
    line-height: 1.86;
  }

  .padched-glass-card {
    padding: 18px 16px;
    font-size: 1.04rem;
  }

  .detail-glass-card {
    padding: 14px;
  }

  .perspective-glass-card {
    padding: 18px;
  }

  .faq-glass-question,
  .faq-glass-answer {
    padding: 14px 14px;
  }

  header.chapter-hero-full .subtitle {
    font-size: clamp(24px, 6vw, 34px);
  }

  .chapter-detail-hero .chapter-detail-title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .shlokas-list {
    grid-template-columns: 1fr;
  }

  .shloka-item {
    padding: 20px 18px 18px;
  }

  .shloka-preview {
    padding: 14px 14px;
  }

  .shloka-preview-line {
    font-size: 1rem;
    line-height: 1.78;
  }
}

@media (min-width: 861px) {
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-mobile-only {
    display: none;
  }

  .wm-desktop-only {
    display: block;
  }
}
