/* =========================================================
   INNER PAGES — loaded after style.css
   Uses the same colours / fonts set in style.css :root
   Each block below maps to one Elementor section/widget.
   ========================================================= */

/* ---------- Header on inner pages: compact bar, always ---------- */
@media (min-width: 901px) {
  body.inner-page.header-stuck .header {
    position: sticky;
    animation: none;
  }
}
@media (max-width: 900px) {
  body.inner-page { padding-top: var(--m-header-h); }
}
.nav-link.is-active { color: var(--maroon); box-shadow: inset 0 -3px 0 var(--gold); }

/* ---------- Page banner (title + breadcrumb) ---------- */
.page-banner {
  position: relative;
  isolation: isolate;
  padding: 92px var(--section-pad-x) 84px;
  background-color: #3a1a0e;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff3dc;
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(60, 22, 8, .55) 0%, rgba(40, 14, 4, .82) 70%),
    linear-gradient(0deg, rgba(40, 14, 4, .6), transparent 60%);
}
.page-banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 18px, var(--maroon) 18px 24px);
}
.page-banner .kicker { color: var(--gold-light); }
.page-banner h1 {
  margin: 10px 0 0;
  font-family: var(--font-kannada);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  font-weight: 800;
  line-height: var(--lh-heading);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.page-banner p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #f4dfbd;
  font-size: var(--fs-section-lead);
  line-height: var(--lh-text);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #ecd4a6;
  font-family: var(--font-kannada);
  font-size: var(--fs-small);
}
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .fa { font-size: .8em; opacity: .7; }

/* ---------- Generic layout ---------- */
.section.alt   { background: #f6e7c8; }
.section.light { background: #fffaf0; }
.section.dark  { background: var(--green); color: #f4e7cc; }
.section.dark .section-title h2 { color: #fff3d6; }
.section.dark .section-title p  { color: #e1d2b2; }

.container { max-width: 1180px; margin: 0 auto; }
.narrow    { max-width: 860px; margin: 0 auto; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(60, 30, 10, .18);
  border: 6px solid #fff;
  outline: 1px solid var(--line);
}
.split-media.tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }

.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

/* ---------- Text content (WordPress post / Elementor Text Editor) ---------- */
.prose {
  color: var(--ink);
  font-family: var(--font-kannada);
  font-size: var(--fs-card-text);
  line-height: var(--lh-text);
}
.prose h2, .prose h3 {
  margin: 1.6em 0 .5em;
  color: var(--ink-dark);
  font-weight: 800;
  line-height: var(--lh-heading);
}
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.prose h3 { font-size: 1.35rem; color: var(--maroon); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 22px 28px;
  border-left: 4px solid var(--gold);
  background: #fbefd4;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--maroon);
  font-size: 1.2rem;
  font-weight: 600;
}
.prose img { border-radius: var(--radius); }

/* placeholder text the client must replace — easy to spot */
.ph {
  background: #fde9b8;
  border-bottom: 1.5px dashed var(--saffron);
  padding: 0 3px;
}

.lead-quote {
  position: relative;
  margin: 0;
  padding: 8px 0 0 64px;
  font-family: var(--font-kannada);
  font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
  font-weight: 600;
  color: var(--maroon);
  line-height: 1.7;
}
.lead-quote::before {
  content: "\f10d";
  position: absolute;
  left: 0; top: 0;
  font-family: FontAwesome;
  font-size: 2.6rem;
  color: var(--gold);
}
.lead-quote cite { display: block; margin-top: 14px; font-size: 1rem; font-style: normal; color: var(--muted); }

/* ---------- Icon / info cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 26px;
}
.info-card {
  position: relative;
  padding: 34px 28px 30px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(60, 30, 10, .06);
  transition: transform .25s, box-shadow .25s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(60, 30, 10, .12); }
.info-card .ic {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  color: #fff3d6;
  font-size: 1.45rem;
  box-shadow: 0 0 0 5px #f6e2b8;
}
.info-card h3 {
  margin: 0 0 8px;
  color: var(--ink-dark);
  font-family: var(--font-kannada);
  font-size: var(--fs-card-title);
  font-weight: 800;
  line-height: var(--lh-heading);
}
.info-card p { margin: 0; color: var(--muted); font-family: var(--font-kannada); line-height: 1.75; }
.info-card .more {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 16px; color: var(--maroon);
  font-family: var(--font-kannada); font-weight: 700;
}
.info-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.dark .info-card { background: rgba(255, 255, 255, .06); border-color: rgba(229, 182, 92, .35); box-shadow: none; }
.dark .info-card h3 { color: #fff3d6; }
.dark .info-card p { color: #e1d2b2; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
}
.stat span { font-family: var(--font-kannada); color: #e9dcc0; }

/* ---------- Timeline (history) ---------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: linear-gradient(var(--gold), var(--maroon));
  transform: translateX(-50%);
}
.timeline li {
  position: relative;
  width: 50%;
  padding: 0 48px 48px 0;
  text-align: right;
}
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 48px 48px; text-align: left; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 6px; right: -11px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 5px solid var(--saffron);
  box-shadow: 0 0 0 4px #f3dcae;
}
.timeline li:nth-child(even)::before { right: auto; left: -11px; }
.timeline .tl-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  background: var(--maroon);
  color: #fff3d6;
  font-family: var(--font-kannada);
  font-size: .9rem;
  font-weight: 700;
}
.timeline h3 { margin: 10px 0 6px; font-family: var(--font-kannada); font-size: 1.35rem; color: var(--ink-dark); }
.timeline p  { margin: 0; font-family: var(--font-kannada); color: var(--muted); line-height: 1.8; }

/* ---------- Guru parampara list ---------- */
.guru-current {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(60, 30, 10, .08);
}
.guru-current img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 14px;
  background: radial-gradient(circle, #f3b24a, #7d2a14);
}
.guru-current h2 { margin: 6px 0 4px; font-family: var(--font-kannada); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); color: var(--ink-dark); line-height: 1.35; }
.guru-current .en { color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.guru-current p { font-family: var(--font-kannada); line-height: 1.85; }

.guru-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: guru;
}
.guru {
  position: relative;
  text-align: center;
  padding: 30px 18px 26px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.guru::before {
  counter-increment: guru;
  content: counter(guru);
  position: absolute;
  top: 14px; left: 14px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff3d6;
  font-family: var(--font-display);
  font-size: .85rem;
}
.guru .lineage-ring { margin: 0 auto 16px; }
.guru h3 { margin: 0 0 6px; font-family: var(--font-kannada); font-size: 1.15rem; color: var(--ink-dark); line-height: 1.45; }
.guru p  { margin: 0; color: var(--muted); font-family: var(--font-kannada); font-size: .95rem; }
.guru-ring-empty {
  display: grid; place-items: center;
  width: 130px; height: 130px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f3e0b9;
  border: 4px solid var(--gold-ring);
  color: var(--gold);
  font-size: 2.6rem;
}

/* ---------- People (trustees) ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.person {
  text-align: center;
  padding: 28px 18px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.person .avatar {
  display: grid; place-items: center;
  width: 110px; height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6deb0, #e8c88a);
  border: 3px solid var(--gold-ring);
  color: var(--maroon);
  font-size: 2.6rem;
  overflow: hidden;
}
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 0; font-family: var(--font-kannada); font-size: 1.15rem; color: var(--ink-dark); }
.person span { display: block; margin-top: 4px; color: var(--saffron); font-family: var(--font-kannada); font-weight: 700; font-size: .95rem; }

/* ---------- Values list ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 36px;
  padding: 0;
  list-style: none;
}
.values li {
  display: flex; gap: 16px; align-items: flex-start;
  font-family: var(--font-kannada);
  line-height: 1.75;
}
.values li .fa {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f6e2b8;
  color: var(--maroon);
}
.values b { display: block; color: var(--ink-dark); font-size: 1.1rem; }
.values span { color: var(--muted); }

/* ---------- Tables (seva price list) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fffaf0; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-kannada);
}
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #efdcb4; }
.table th { background: var(--maroon); color: #fff3d6; font-weight: 700; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fcf1da; }
.table td.price { color: var(--maroon); font-weight: 800; white-space: nowrap; }
.table td .btn { padding: 8px 16px; font-size: .95rem; white-space: nowrap; }

/* ---------- Timings ---------- */
.timings { margin: 0; padding: 0; list-style: none; font-family: var(--font-kannada); }
.timings li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.timings li:last-child { border-bottom: 0; }
.timings b { color: var(--maroon); white-space: nowrap; }

/* ---------- Sidebar widgets ---------- */
.sidebar { display: grid; gap: 26px; position: sticky; top: 100px; }
.widget {
  padding: 26px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.widget h4 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-kannada);
  font-size: 1.2rem;
  color: var(--ink-dark);
}
.widget ul { margin: 0; padding: 0; list-style: none; font-family: var(--font-kannada); }
.widget li + li { margin-top: 10px; }
.widget li a { display: flex; gap: 10px; align-items: center; }
.widget li a:hover { color: var(--maroon); }
.widget li a .fa { color: var(--gold); }
.widget.donate-widget {
  background: linear-gradient(150deg, var(--maroon), #4b140b);
  border: 0;
  color: #f8e6c5;
}
.widget.donate-widget h4 { color: #fff3d6; border-color: var(--gold-light); }
.widget.donate-widget p { font-family: var(--font-kannada); line-height: 1.7; margin: 0 0 18px; }
.widget.donate-widget .btn { background: linear-gradient(90deg, var(--gold-light), var(--gold)); color: #3b1a0b; }
.mini-post { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.mini-post img { width: 76px; height: 60px; object-fit: cover; border-radius: 8px; }
.mini-post small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 54px var(--section-pad-x);
  background-color: var(--maroon);
  background-position: center;
  background-size: cover;
  color: #fff3d6;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(109, 32, 22, .95), rgba(196, 82, 31, .88));
}
.cta-band h2 { margin: 0; font-family: var(--font-kannada); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.4; }
.cta-band p { margin: 8px 0 0; color: #f8dcc0; font-family: var(--font-kannada); }
.cta-band .btn { background: #fff3d6; color: var(--maroon); }
.cta-band .btn-outline { background: transparent; border-color: #fff3d6; color: #fff3d6; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Accordion ---------- */
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fffaf0; }
.acc-item + .acc-item { margin-top: 12px; }
.acc-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 0; background: none; cursor: pointer;
  color: var(--ink-dark);
  font-family: var(--font-kannada);
  font-size: 1.08rem; font-weight: 700; text-align: left;
}
.acc-q .fa { color: var(--saffron); transition: transform .25s; }
.acc-item.open .acc-q .fa { transform: rotate(45deg); }
.acc-a { display: none; padding: 0 22px 20px; color: var(--muted); font-family: var(--font-kannada); line-height: 1.8; }
.acc-item.open .acc-a { display: block; }

/* ---------- Forms ---------- */
.form-card {
  padding: clamp(24px, 4vw, 44px);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(60, 30, 10, .08);
}
.form-card h3 { margin: 0 0 6px; font-family: var(--font-kannada); font-size: 1.6rem; color: var(--ink-dark); }
.form-card > p { margin: 0 0 24px; color: var(--muted); font-family: var(--font-kannada); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 7px;
  color: var(--ink-dark);
  font-family: var(--font-kannada); font-weight: 700; font-size: .98rem;
}
.field label em { color: var(--saffron); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #e2c993;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-kannada);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(193, 138, 53, .18);
}
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .9rem; font-family: var(--font-kannada); }
.form-success {
  margin-top: 16px; padding: 14px 18px;
  border-radius: 8px; background: #e5f2e6; color: #1d5a2c;
  font-family: var(--font-kannada); font-weight: 600;
}

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.choice span {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px;
  border: 1.5px solid #e2c993; border-radius: 10px;
  background: #fff; cursor: pointer;
  font-family: var(--font-kannada); font-weight: 700;
  transition: all .2s;
}
.choice span .fa { color: var(--gold); width: 20px; text-align: center; }
.choice input:checked + span { border-color: var(--maroon); background: #fbeee0; box-shadow: 0 0 0 3px rgba(132, 41, 29, .12); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); }
.amount-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.amount-chips button {
  padding: 9px 18px;
  border: 1.5px solid #e2c993; border-radius: 30px;
  background: #fff; color: var(--maroon);
  font-weight: 700; cursor: pointer;
}
.amount-chips button.active, .amount-chips button:hover { background: var(--maroon); border-color: var(--maroon); color: #fff3d6; }

/* ---------- Donate: bank / UPI ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pay-card {
  padding: 30px;
  border-radius: 16px;
  background: #fffaf0;
  border: 1px solid var(--line);
}
.pay-card h3 { display: flex; gap: 12px; align-items: center; margin: 0 0 18px; font-family: var(--font-kannada); color: var(--ink-dark); }
.pay-card h3 .fa { color: var(--saffron); }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-family: var(--font-kannada); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; color: var(--ink-dark); word-break: break-word; }
.qr-box {
  display: grid; place-items: center; gap: 10px;
  width: 210px; aspect-ratio: 1;
  margin: 0 auto 16px;
  border: 2px dashed var(--gold);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-kannada);
  font-size: .9rem;
}
.qr-box .fa { font-size: 3.4rem; color: var(--ink-dark); }

/* ---------- Big progress (project pages) ---------- */
.fund-box {
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--green), #0a2a1f);
  color: #f4e7cc;
}
.fund-box h3 { margin: 0 0 6px; font-family: var(--font-kannada); color: #fff3d6; font-size: 1.4rem; }
.fund-box .progress-row { color: #f4e7cc; }
.fund-box .progress-row strong { color: var(--gold-light); }
.fund-box .progress-bar { background: rgba(255, 255, 255, .15); }
.fund-box .btn { margin-top: 20px; width: 100%; }
.fund-list { margin: 18px 0 0; padding: 0; list-style: none; font-family: var(--font-kannada); }
.fund-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(229, 182, 92, .35); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
  padding: 10px 22px;
  border: 1.5px solid var(--line); border-radius: 30px;
  background: #fffaf0; color: var(--ink);
  font-family: var(--font-kannada); font-weight: 700; cursor: pointer;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--maroon); border-color: var(--maroon); color: #fff3d6; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #e9d6b0;
}
.gallery a.tall { grid-row: span 2; }
.gallery a.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: "\f00e";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: FontAwesome; font-size: 1.8rem; color: #fff;
  background: rgba(70, 20, 8, .45);
  opacity: 0; transition: opacity .3s;
}
.gallery a:hover::after { opacity: 1; }
.gallery [hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 40px 70px;
  background: rgba(20, 8, 2, .92);
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 80vh; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; color: #f4e7cc; font-family: var(--font-kannada); }
.lightbox button {
  position: absolute;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
.lightbox button:hover { background: var(--maroon); }
.lb-close { top: 18px; right: 18px; }
.lb-prev  { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Videos ---------- */
.video-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #1b120a;
  box-shadow: 0 24px 50px rgba(40, 14, 4, .25);
}
.video-feature iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { background: #fffaf0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card .thumb { position: relative; aspect-ratio: 16 / 9; background: #2a1d12; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-card .thumb::after {
  content: "\f04b";
  position: absolute; left: 50%; top: 50%;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(132, 41, 29, .92);
  color: #fff;
  font-family: FontAwesome; font-size: 1.3rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(255, 243, 214, .25);
}
.video-card .vc-body { padding: 18px 20px 22px; }
.video-card h3 { margin: 0 0 6px; font-family: var(--font-kannada); font-size: 1.12rem; color: var(--ink-dark); line-height: 1.5; }
.video-card small { color: var(--muted); }

/* ---------- Events list ---------- */
.event-list { display: grid; gap: 20px; }
.event-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 22px 26px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-left: 5px solid var(--saffron);
  border-radius: var(--radius);
}
.event-row .event-date { width: 100%; }
.event-row h3 { margin: 0 0 6px; font-family: var(--font-kannada); font-size: 1.3rem; color: var(--ink-dark); }
.event-row p { margin: 0; color: var(--muted); font-family: var(--font-kannada); }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; color: var(--maroon); font-size: .95rem; font-family: var(--font-kannada); }
.event-row.past { border-left-color: #b8a27c; opacity: .8; }

/* ---------- Festival cards ---------- */
.fest-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 26px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fest-card .month {
  display: grid; place-items: center; align-content: center;
  height: 90px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  color: #fff3d6;
  font-family: var(--font-kannada);
  font-size: .9rem;
  text-align: center;
  line-height: 1.3;
}
.fest-card .month .fa { font-size: 1.6rem; margin-bottom: 4px; color: var(--gold-light); }
.fest-card h3 { margin: 0 0 6px; font-family: var(--font-kannada); font-size: 1.25rem; color: var(--ink-dark); }
.fest-card p { margin: 0; color: var(--muted); font-family: var(--font-kannada); line-height: 1.75; }

/* ---------- Article (news detail) ---------- */
.article-hero { margin: 0 0 30px; }
.article-hero img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; color: var(--muted); font-size: .95rem; }
.article-meta .fa { color: var(--gold); margin-right: 6px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-kannada); font-weight: 700; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f3e0b9; color: var(--maroon); }
.share a:hover { background: var(--maroon); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; font-family: var(--font-kannada); }
.post-nav a { color: var(--maroon); font-weight: 700; }

/* ---------- Map placeholder ---------- */
.map-box {
  position: relative;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 250, 240, .86), rgba(255, 250, 240, .86)),
    repeating-linear-gradient(45deg, #ead7b2 0 2px, transparent 2px 22px);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-kannada); color: var(--muted);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box .fa { font-size: 3rem; color: var(--maroon); display: block; margin-bottom: 10px; }

/* ---------- Legal ---------- */
.legal-updated { display: inline-block; margin-bottom: 24px; padding: 6px 14px; border-radius: 30px; background: #f3e0b9; color: var(--muted); font-size: .9rem; font-family: var(--font-kannada); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .guru-line, .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .page-banner { padding: 64px 6% 58px; }
  .split, .guru-current, .pay-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .guru-current { padding: 26px; }
  .guru-current img { max-width: 320px; margin: 0 auto; }
  .timeline::before { left: 11px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 38px 46px; text-align: left; }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
}
@media (max-width: 600px) {
  .card-grid, .video-grid, .values, .form-grid, .choice-grid, .sidebar { grid-template-columns: 1fr; }
  .guru-line, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery a.wide { grid-column: span 2; }
  .event-row { grid-template-columns: 80px 1fr; gap: 16px; padding: 18px; }
  .event-row > :last-child { grid-column: 1 / -1; }
  .fest-card { grid-template-columns: 1fr; }
  .fest-card .month { height: 64px; grid-auto-flow: column; gap: 8px; }
  .cta-band { text-align: center; justify-content: center; }
  .lightbox { padding: 20px 10px; }
  .table th, .table td { padding: 12px 14px; }
}

/* seva price tables: drop the description column on phones so "Book" stays visible */
@media (max-width: 600px) {
  #nitya .table th:nth-child(2), #nitya .table td:nth-child(2),
  #vishesha .table th:nth-child(2), #vishesha .table td:nth-child(2) { display: none; }
}
