/*
Theme Name: Vaishno Devi Devasthan
Theme URI: https://vaishnodevidevasthan.org.in/
Description: Custom Astra child theme for Vaishno Devi Devasthan — traditional temple aesthetic with maroon, saffron and gold accents.
Author: Vaishno Devi Devasthan Editorial
Template: astra
Version: 1.1.0
Text Domain: vaishno-devi-child
*/

/* =====================================================
 * 1. DESIGN TOKENS
 * ===================================================== */
:root {
  --vd-maroon: #7a0c20;
  --vd-maroon-dark: #5d0817;
  --vd-saffron: #d97706;
  --vd-saffron-light: #f59e0b;
  --vd-gold: #c19a3e;
  --vd-cream: #fff8ec;
  --vd-cream-soft: #fff3da;
  --vd-ink: #1f1a17;
  --vd-ink-soft: #3b342e;
  --vd-muted: #6b6357;
  --vd-line: #e7d8b8;
  --vd-shadow-sm: 0 4px 14px rgba(122, 12, 32, 0.06);
  --vd-shadow: 0 10px 30px rgba(122, 12, 32, 0.08);
  --vd-shadow-lg: 0 24px 50px rgba(122, 12, 32, 0.14);
  --vd-radius: 14px;
  --vd-radius-sm: 8px;
  --vd-radius-lg: 20px;
}

/* =====================================================
 * 2. GLOBALS
 * ===================================================== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  font-family:
    "Inter",
    "Mukta",
    "Noto Sans",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--vd-ink);
  background: #fffaf0;
  font-size: 17px;
  line-height: 1.7;
}
h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
  font-family: "Mukta", "Tiro Devanagari Hindi", "Noto Serif", Georgia, serif;
  color: var(--vd-maroon);
  letter-spacing: 0.2px;
  line-height: 1.25;
}
h1 {
  font-weight: 800;
}
h2 {
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
h3 {
  font-weight: 700;
  color: var(--vd-maroon-dark);
}
a {
  color: var(--vd-maroon);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--vd-saffron);
}
img {
  max-width: 100%;
  height: auto;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
::selection {
  background: var(--vd-saffron);
  color: #fff8ec;
}

/* =====================================================
 * 3. TOP NOTIFICATION BAR
 * ===================================================== */
.vd-topbar {
  background: linear-gradient(
    90deg,
    var(--vd-maroon) 0%,
    var(--vd-maroon-dark) 100%
  );
  color: #fff8ec;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.4px;
}
.vd-topbar strong {
  color: var(--vd-gold);
}
.vd-topbar a {
  color: #fff8ec;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
 * 4. HEADER + NAVIGATION
 * ===================================================== */
.site-header,
.ast-primary-header-bar,
.main-header-bar {
  background: #fff8ec !important;
  border-bottom: 3px solid var(--vd-gold) !important;
  box-shadow: 0 2px 12px rgba(122, 12, 32, 0.06) !important;
  transition: padding 0.2s;
}
.ast-primary-header-bar .ast-container,
.main-header-bar .ast-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  max-width: 1220px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: 84px;
}
.ast-site-identity {
  padding: 6px 0 !important;
  flex: 0 0 auto;
}
.site-branding,
.ast-site-branding-direction-horizontal {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 0 0 auto !important;
}

/* Logo size constraint (kills Astra default 512px) */
.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
}
.custom-logo,
.ast-logo-svg-image .custom-logo,
.transparent-custom-logo .custom-logo {
  max-width: 70px !important;
  width: 70px !important;
  max-height: 70px !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(122, 12, 32, 0.18);
}
/* Hide site title text when logo present */
.wp-custom-logo .site-title,
.wp-custom-logo .site-description,
.ast-site-title-wrap,
.ast-header-break-point .site-description {
  display: none !important;
}

/* Main menu */
.ast-builder-menu,
.main-header-menu,
.main-navigation,
.ast-builder-menu-1,
#site-navigation {
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  display: flex !important;
  align-items: center !important;
}
.main-header-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.main-header-menu > li {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative;
}
.main-header-menu > li > a {
  color: var(--vd-ink) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 12.5px !important;
  letter-spacing: 0.7px !important;
  font-family: "Mukta", sans-serif !important;
  padding: 11px 13px !important;
  white-space: nowrap !important;
  border-radius: 6px;
  transition: all 0.15s;
}
.main-header-menu > li > a:hover,
.main-header-menu > li.current-menu-item > a,
.main-header-menu > li.current-menu-ancestor > a {
  color: var(--vd-maroon) !important;
  background: var(--vd-cream-soft) !important;
}
.menu-item-has-children > a::after {
  content: "\25BE";
  margin-left: 5px;
  font-size: 10px;
  color: var(--vd-saffron);
}

/* Dropdown */
.main-header-menu .sub-menu {
  background: #fff !important;
  border: 1px solid var(--vd-line) !important;
  border-top: 3px solid var(--vd-gold) !important;
  border-radius: 0 0 12px 12px !important;
  min-width: 280px !important;
  padding: 6px 0 !important;
  box-shadow: 0 18px 36px rgba(122, 12, 32, 0.18) !important;
  margin-top: 0 !important;
}
.main-header-menu .sub-menu li {
  list-style: none !important;
  display: block !important;
}
.main-header-menu .sub-menu li a {
  color: var(--vd-ink) !important;
  font-size: 13.5px !important;
  text-transform: none !important;
  padding: 11px 18px !important;
  letter-spacing: 0.1px !important;
  white-space: normal !important;
  display: block !important;
  border-bottom: 1px dashed var(--vd-line);
  font-weight: 500 !important;
}
.main-header-menu .sub-menu li:last-child a {
  border-bottom: none !important;
}
.main-header-menu .sub-menu li a:hover {
  background: var(--vd-cream-soft) !important;
  color: var(--vd-maroon) !important;
}

/* Mobile */
@media (max-width: 921px) {
  .menu-toggle,
  .ast-mobile-menu-buttons {
    display: inline-flex !important;
  }
  .main-header-menu,
  .ast-builder-menu-mobile .main-header-menu {
    display: none !important;
  }
  .ast-mobile-header-active .main-header-menu {
    display: block !important;
    width: 100% !important;
    background: #fff8ec !important;
    border-top: 2px solid var(--vd-gold) !important;
    padding: 14px 0 !important;
  }
  .ast-mobile-header-active .main-header-menu > li {
    display: block !important;
    width: 100% !important;
  }
  .ast-mobile-header-active .main-header-menu > li > a {
    padding: 14px 22px !important;
    font-size: 14.5px !important;
  }
}
@media (min-width: 922px) {
  .menu-toggle,
  .ast-mobile-menu-buttons {
    display: none !important;
  }
}

/* Astra title bar + entry header hide */
.ast-archive-description,
.ast-single-post-banner,
.ast-blog-single-element.ast-blog-meta-container {
  display: none !important;
}
.home .entry-header,
.home .ast-archive-description {
  display: none !important;
}

/* =====================================================
 * 5. BREADCRUMBS
 * ===================================================== */
.vd-breadcrumbs-bar {
  background: var(--vd-cream-soft);
  border-bottom: 1px solid var(--vd-line);
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--vd-muted);
}
.vd-breadcrumbs-bar p {
  margin: 0;
}
.vd-breadcrumbs-bar .vd-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.vd-breadcrumbs-bar a {
  color: var(--vd-maroon);
  font-weight: 600;
}
.vd-breadcrumbs-bar a:hover {
  color: var(--vd-saffron);
}
.vd-breadcrumbs-bar .breadcrumb_last {
  color: var(--vd-ink);
  font-weight: 600;
}

/* =====================================================
 * 6. HERO (FULL-BLEED)
 * ===================================================== */
.vd-hero {
  position: relative;
  min-height: 640px;
  height: 78vh;
  max-height: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff8ec;
  overflow: hidden;
  border-bottom: 4px solid var(--vd-gold);
  /* Full bleed: break out of any constraint */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
}
.vd-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(1.1) brightness(0.94);
  transform: scale(1.02);
}
.vd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(31, 26, 23, 0.28) 0%,
    rgba(50, 4, 12, 0.38) 55%,
    rgba(122, 12, 32, 0.62) 100%
  );
}
.vd-hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px 22px;
  max-width: 920px;
  animation: vdFadeUp 0.9s ease-out;
}
@keyframes vdFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.vd-hero h1 {
  color: #fff8ec;
  font-size: clamp(34px, 5.4vw, 64px);
  margin: 0 0 0.35em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  font-weight: 800;
}
.vd-hero .vd-sanskrit {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--vd-gold);
  font-family: "Tiro Devanagari Hindi", serif;
  margin-bottom: 0.6em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.vd-hero .vd-sub {
  font-size: clamp(15px, 1.4vw, 19px);
  color: #fff8ec;
  max-width: 760px;
  margin: 0 auto 1.4em;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  opacity: 0.95;
}
.vd-hero .vd-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}
.vd-hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.6;
  animation: vdBounce 2s ease-in-out infinite;
}
.vd-hero-scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid var(--vd-gold);
  border-radius: 14px;
  position: relative;
}
.vd-hero-scroll-hint span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--vd-gold);
  border-radius: 2px;
  animation: vdScrollDot 2s ease-in-out infinite;
}
@keyframes vdScrollDot {
  0%,
  100% {
    opacity: 1;
    top: 6px;
  }
  50% {
    opacity: 0;
    top: 20px;
  }
}
@keyframes vdBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* Inner-page hero shorter */
:not(.home) .vd-hero {
  min-height: 440px;
  height: 54vh;
  max-height: 580px;
}
:not(.home) .vd-hero h1 {
  font-size: clamp(28px, 4.4vw, 48px);
}

/* =====================================================
 * 7. BUTTONS
 * ===================================================== */
.vd-btn,
.wp-block-button__link,
a.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--vd-saffron);
  color: #fff8ec !important;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.6px;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 13.5px;
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
  font-family: "Mukta", sans-serif;
  white-space: nowrap;
  text-decoration: none !important;
}
.vd-btn:hover,
.vd-btn:focus {
  text-decoration: none !important;
}
.vd-btn:hover,
.wp-block-button__link:hover {
  background: var(--vd-maroon);
  color: #fff8ec !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(122, 12, 32, 0.4);
}
.vd-btn.vd-btn-primary {
  background: var(--vd-saffron);
}
.vd-btn.vd-btn-outline {
  background: transparent;
  border-color: var(--vd-gold);
  color: var(--vd-gold) !important;
  box-shadow: 0 4px 12px rgba(193, 154, 62, 0.18);
}
.vd-btn.vd-btn-outline:hover {
  background: var(--vd-gold);
  color: var(--vd-maroon) !important;
  border-color: var(--vd-gold);
}

/* =====================================================
 * 8. INFO STRIP
 * ===================================================== */
.vd-strip {
  background: linear-gradient(180deg, var(--vd-cream-soft), #fff8ec);
  padding: 28px 16px;
  border-bottom: 1px solid var(--vd-line);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.vd-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.vd-strip-item {
  padding: 8px 4px;
  border-right: 1px dashed var(--vd-line);
}
.vd-strip-item:last-child {
  border-right: none;
}
.vd-strip-item .vd-strip-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--vd-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.vd-strip-item .vd-strip-value {
  font-weight: 700;
  color: var(--vd-maroon);
  font-size: 17px;
}
@media (max-width: 768px) {
  .vd-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .vd-strip-item {
    border-right: none;
    border-bottom: 1px dashed var(--vd-line);
    padding-bottom: 10px;
  }
  .vd-strip-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* =====================================================
 * 9. SECTIONS
 * ===================================================== */
.vd-section {
  padding: 64px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}
.vd-section > .vd-container,
.vd-section > .vd-cards,
.vd-section > p,
.vd-section > h2,
.vd-section > h3,
.vd-section > div:not(.vd-festival) {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.vd-section + .vd-section {
  margin-top: 0;
}
.vd-section:nth-of-type(odd) {
  background: #fffaf0;
}
.vd-section:nth-of-type(even) {
  background: linear-gradient(180deg, #fff8ec 0%, #fffaf0 100%);
}
.vd-section-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--vd-maroon);
  margin-bottom: 10px;
  font-weight: 800;
}
.vd-section-title::before {
  content: "\0950";
  display: block;
  color: var(--vd-saffron);
  font-size: 34px;
  font-family: "Tiro Devanagari Hindi", serif;
  line-height: 1;
  margin-bottom: 8px;
}
.vd-section-lede {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
  font-size: 17px;
  color: var(--vd-ink-soft);
  line-height: 1.7;
}

/* =====================================================
 * 10. CARDS
 * ===================================================== */
.vd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 992px) {
  .vd-cards {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (min-width: 600px) and (max-width: 991px) {
  .vd-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 599px) {
  .vd-cards {
    grid-template-columns: 1fr !important;
  }
}

.vd-card {
  background: #fff;
  border: 1px solid var(--vd-line);
  border-radius: var(--vd-radius);
  overflow: hidden;
  box-shadow: var(--vd-shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s,
    opacity 0.5s;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}
.vd-card.vd-in,
.vd-festival.vd-in,
.vd-factbox.vd-in {
  opacity: 1;
  transform: translateY(0);
}
.vd-festival,
.vd-factbox {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
/* If JS is off, reveal everything */
.no-js .vd-card,
.no-js .vd-festival,
.no-js .vd-factbox,
html:not(.js) .vd-card,
html:not(.js) .vd-festival,
html:not(.js) .vd-factbox {
  opacity: 1;
  transform: none;
}
.vd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vd-shadow-lg);
  border-color: var(--vd-gold);
}
.vd-card-imgwrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--vd-cream-soft), var(--vd-cream));
}
.vd-card-imgwrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(31, 26, 23, 0.32) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.vd-card:hover .vd-card-imgwrap::after {
  opacity: 1;
}
.vd-card-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.vd-card:hover .vd-card-imgwrap img {
  transform: scale(1.06);
}
.vd-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--vd-maroon);
  color: #fff8ec;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 2;
}

.vd-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vd-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--vd-maroon);
}
.vd-card h3 a {
  color: var(--vd-maroon);
  text-decoration: none;
}
.vd-card h3 a:hover {
  color: var(--vd-saffron);
  text-decoration: none;
}
.vd-card p {
  margin: 0 0 18px;
  color: var(--vd-ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.vd-card-link {
  color: var(--vd-saffron);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.8px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vd-card-link:hover {
  color: var(--vd-maroon);
}
.vd-card-link span {
  transition: transform 0.2s;
}
.vd-card-link:hover span {
  transform: translateX(3px);
}

/* =====================================================
 * 11. FACT BOX + FESTIVAL BANNER
 * ===================================================== */
.vd-factbox {
  background: var(--vd-cream);
  border-left: 5px solid var(--vd-saffron);
  padding: 20px 24px;
  border-radius: var(--vd-radius-sm);
  margin: 26px 0;
  font-size: 15.5px;
  line-height: 1.7;
  box-shadow: var(--vd-shadow-sm);
}
.vd-factbox strong {
  color: var(--vd-maroon);
}

.vd-festival {
  background: linear-gradient(
    120deg,
    var(--vd-maroon) 0%,
    var(--vd-saffron) 100%
  );
  color: #fff8ec;
  padding: 42px 32px;
  border-radius: var(--vd-radius-lg);
  text-align: center;
  margin: 30px auto;
  max-width: 1148px;
  box-shadow: var(--vd-shadow-lg);
  position: relative;
  overflow: hidden;
}
.vd-festival::before {
  content: "\0950";
  position: absolute;
  top: 10px;
  right: 24px;
  font-family: "Tiro Devanagari Hindi", serif;
  font-size: 64px;
  color: rgba(255, 248, 236, 0.18);
  line-height: 1;
}
.vd-festival h2 {
  color: #fff8ec;
  margin: 0 0 10px;
  border: none;
  font-size: clamp(22px, 2.6vw, 32px);
}
.vd-festival p {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 18px);
  opacity: 0.95;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.55;
}

/* =====================================================
 * 12. TABLES
 * ===================================================== */
.vd-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  box-shadow: var(--vd-shadow);
  border-radius: var(--vd-radius);
  overflow: hidden;
  background: #fff;
}
.vd-table thead {
  background: var(--vd-maroon);
  color: #fff8ec;
}
.vd-table th,
.vd-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--vd-line);
}
.vd-table th {
  font-weight: 700;
  font-family: "Mukta", sans-serif;
  letter-spacing: 0.3px;
}
.vd-table tbody tr:nth-child(even) {
  background: var(--vd-cream);
}
.vd-table tbody tr:hover {
  background: var(--vd-cream-soft);
}
.vd-table tbody tr:last-child td {
  border-bottom: none;
}

/* Scrollable on mobile */
.entry-content table,
.entry-content .vd-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .entry-content table,
  .entry-content .vd-table {
    display: table;
  }
}

/* =====================================================
 * 13. SCHEDULE LIST
 * ===================================================== */
.vd-schedule {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.vd-schedule li {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px dashed var(--vd-line);
  font-size: 15.5px;
}
.vd-schedule li:last-child {
  border: none;
}
.vd-schedule li strong {
  color: var(--vd-maroon);
}
.vd-schedule li .vd-time {
  font-weight: 700;
  color: var(--vd-saffron);
  font-family: Menlo, Consolas, monospace;
}

/* =====================================================
 * 14. ENTRY CONTENT (POSTS + PAGES)
 * ===================================================== */
.entry-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--vd-ink-soft);
}
.entry-content p {
  margin-bottom: 1.2em;
}
.entry-content ul,
.entry-content ol {
  margin: 1em 0 1.5em 1.5em;
}
.entry-content li {
  margin-bottom: 0.5em;
}
.entry-content blockquote {
  border-left: 5px solid var(--vd-saffron);
  background: var(--vd-cream);
  padding: 18px 26px;
  margin: 1.8em 0;
  font-style: italic;
  border-radius: var(--vd-radius-sm);
}
.entry-content img {
  border-radius: 12px;
  box-shadow: var(--vd-shadow);
}
.entry-content figure {
  margin: 1.4em 0;
}
.entry-content figcaption {
  text-align: center;
  font-size: 13.5px;
  color: var(--vd-muted);
  font-style: italic;
  margin-top: 8px;
}

/* Home: zero entry-content padding */
.home #primary,
.home .ast-container,
.page-template-default.home .site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.home .entry-content,
.home .ast-no-sidebar .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.home main#main,
.home .site-main {
  padding: 0 !important;
}
.home .ast-container-fluid > .ast-container,
.home .site-content > .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

/* Inner page: readable column */
body:not(.home) .entry-content > p,
body:not(.home) .entry-content > h2,
body:not(.home) .entry-content > h3,
body:not(.home) .entry-content > h4,
body:not(.home) .entry-content > ul,
body:not(.home) .entry-content > ol,
body:not(.home) .entry-content > blockquote,
body:not(.home) .entry-content > figure,
body:not(.home) .entry-content > .vd-table,
body:not(.home) .entry-content > table,
body:not(.home) .entry-content > .vd-factbox {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.entry-content > .vd-hero,
.entry-content > .vd-strip,
.entry-content > .vd-section,
.entry-content > .vd-festival {
  max-width: none;
}

/* Inner-page H2 has bottom rule */
body:not(.home) .entry-content > h2 {
  border-bottom: 2px solid var(--vd-gold);
  padding-bottom: 0.35em;
  margin-top: 2.2em;
}

/* Featured image at top of inner pages — none, vd_hero handles it */

/* =====================================================
 * 15. STICKY MOBILE CTA BAR
 * ===================================================== */
.vd-stickybar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff8ec;
  border-top: 2px solid var(--vd-gold);
  box-shadow: 0 -8px 24px rgba(122, 12, 32, 0.18);
  padding: 6px 4px;
}
.vd-stickybar a {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--vd-maroon);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.vd-stickybar a span {
  font-size: 20px;
  color: var(--vd-saffron);
}
.vd-stickybar a:hover {
  background: var(--vd-cream-soft);
  color: var(--vd-maroon);
}
@media (max-width: 720px) {
  .vd-stickybar {
    display: flex;
  }
  body {
    padding-bottom: 64px;
  }
}

/* =====================================================
 * SCROLL-PROGRESS BAR
 * ===================================================== */
.vd-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--vd-saffron), var(--vd-maroon));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =====================================================
 * STICKY HEADER ON SCROLL
 * ===================================================== */
body.vd-scrolled .site-header,
body.vd-scrolled .ast-primary-header-bar,
body.vd-scrolled .main-header-bar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  animation: vdSlideDown 0.25s ease-out;
  background: rgba(255, 248, 236, 0.97) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(122, 12, 32, 0.12) !important;
}
body.vd-scrolled .ast-primary-header-bar .ast-container,
body.vd-scrolled .main-header-bar .ast-container {
  min-height: 64px !important;
}
body.vd-scrolled .custom-logo {
  max-width: 50px !important;
  width: 50px !important;
}
body.vd-scrolled .vd-topbar {
  display: none;
}
@keyframes vdSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* =====================================================
 * META BAR (updated/reviewed/verified)
 * ===================================================== */
.vd-meta-bar {
  background: var(--vd-cream-soft);
  border-left: 4px solid var(--vd-gold);
  padding: 12px 18px;
  margin: 0 auto 32px;
  max-width: 880px;
  font-size: 13.5px;
  color: var(--vd-ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-radius: 6px;
  line-height: 1.45;
}
.vd-meta-bar .vd-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vd-meta-bar strong {
  color: var(--vd-maroon);
  font-weight: 700;
}

/* =====================================================
 * AUTHOR BIO (blog posts)
 * ===================================================== */
.vd-author-bio {
  display: flex;
  gap: 18px;
  background: linear-gradient(
    135deg,
    var(--vd-cream) 0%,
    var(--vd-cream-soft) 100%
  );
  border: 1px solid var(--vd-line);
  border-left: 5px solid var(--vd-maroon);
  border-radius: var(--vd-radius);
  padding: 22px 26px;
  margin: 48px auto 36px;
  max-width: 880px;
  box-shadow: var(--vd-shadow-sm);
}
.vd-author-bio img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 3px solid var(--vd-gold);
  background: #fff;
  object-fit: contain;
  padding: 4px;
}
.vd-author-bio h4 {
  margin: 0 0 8px;
  color: var(--vd-maroon);
  font-size: 17px;
}
.vd-author-bio p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--vd-ink-soft);
}
.vd-author-bio a {
  color: var(--vd-maroon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
 * IN-CONTENT CTA BOX
 * ===================================================== */
.vd-cta-box {
  background: linear-gradient(135deg, var(--vd-maroon), var(--vd-saffron));
  color: #fff8ec;
  padding: 28px 30px;
  border-radius: var(--vd-radius);
  margin: 32px auto;
  max-width: 880px;
  text-align: center;
  box-shadow: var(--vd-shadow);
}
.vd-cta-box h3 {
  color: #fff8ec;
  margin: 0 0 10px;
  font-size: 22px;
}
.vd-cta-box p {
  margin: 0 0 18px;
  font-size: 15.5px;
  opacity: 0.95;
}
.vd-cta-box .vd-btn {
  background: #fff8ec;
  color: var(--vd-maroon) !important;
  border-color: #fff8ec;
}
.vd-cta-box .vd-btn:hover {
  background: var(--vd-ink);
  color: #fff8ec !important;
}

/* =====================================================
 * BLOG ARCHIVE / POSTS LIST
 * ===================================================== */
.blog .ast-row,
.archive .ast-row {
  max-width: 1180px;
  margin: 0 auto;
}
.blog article.post,
.archive article.post {
  background: #fff;
  border: 1px solid var(--vd-line);
  border-radius: var(--vd-radius);
  padding: 0;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: var(--vd-shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.blog article.post:hover,
.archive article.post:hover {
  transform: translateY(-3px);
  box-shadow: var(--vd-shadow);
}
.blog .post-thumb-img-content,
.archive .post-thumb-img-content {
  margin: 0;
}
.blog .post-thumb-img-content img,
.archive .post-thumb-img-content img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog .entry-content-wrapper,
.archive .entry-content-wrapper {
  padding: 22px 26px;
}
.blog .entry-title,
.archive .entry-title {
  font-size: 23px;
  margin: 0 0 8px;
}
.blog .entry-title a,
.archive .entry-title a {
  color: var(--vd-maroon);
}
.blog .entry-title a:hover,
.archive .entry-title a:hover {
  color: var(--vd-saffron);
}

/* =====================================================
 * RELATED POSTS (YARPP)
 * ===================================================== */
.yarpp-related,
.related-posts {
  margin: 48px auto;
  max-width: 1180px;
}
.yarpp-related h3,
.related-posts h3 {
  text-align: center;
  font-size: 28px;
  color: var(--vd-maroon);
  margin-bottom: 24px;
}

/* =====================================================
 * SEARCH FORM
 * ===================================================== */
.vd-search-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.vd-search-form input[type="search"] {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--vd-line);
  border-radius: 999px;
  font-size: 14.5px;
  background: #fff;
  outline: none;
}
.vd-search-form input[type="search"]:focus {
  border-color: var(--vd-gold);
  box-shadow: 0 0 0 3px rgba(193, 154, 62, 0.25);
}
.vd-search-form button {
  padding: 10px 22px;
  background: var(--vd-maroon);
  color: #fff8ec;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.15s;
}
.vd-search-form button:hover {
  background: var(--vd-saffron);
}

/* =====================================================
 * 16. FOOTER (DARK)
 * ===================================================== */
.vd-footer {
  background: linear-gradient(180deg, #2a1f1a 0%, #1f1a17 60%, #0e0a07 100%);
  color: #cfc1a1;
  padding: 60px 16px 0;
  margin-top: 60px;
  border-top: 4px solid var(--vd-gold);
}
.vd-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .vd-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .vd-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.vd-footer-col h4 {
  color: #fff8ec;
  font-family: "Mukta", serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.vd-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--vd-gold);
  border-radius: 2px;
}
.vd-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vd-footer-col li {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}
.vd-footer-col a {
  color: #cfc1a1;
  text-decoration: none;
  transition: color 0.15s;
}
.vd-footer-col a:hover {
  color: var(--vd-gold);
  text-decoration: none;
}
.vd-footer-col p {
  color: #a59478;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.vd-footer-brand .vd-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.vd-footer-brand .vd-footer-logo-row img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--vd-gold);
}
.vd-footer-brand strong {
  color: #fff8ec;
  font-family: "Mukta", serif;
  font-size: 18px;
  display: block;
}
.vd-footer-brand span {
  color: var(--vd-gold);
  font-size: 12.5px;
  display: block;
  letter-spacing: 0.5px;
}
.vd-footer-helpline .vd-footer-phone {
  display: inline-block;
  background: var(--vd-maroon);
  color: #fff8ec !important;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  box-shadow: 0 6px 18px rgba(122, 12, 32, 0.4);
}
.vd-footer-helpline .vd-footer-phone:hover {
  background: var(--vd-saffron);
  color: #fff8ec !important;
}
.vd-footer-helpline .vd-footer-tag {
  font-size: 11.5px;
  color: var(--vd-gold);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vd-footer-bottom {
  border-top: 1px solid #3a2e26;
  margin-top: 48px;
  padding: 18px 0 22px;
  text-align: center;
  font-size: 12.5px;
  color: #7d6b54;
}
.vd-footer-bottom p {
  margin: 4px 0;
  color: #7d6b54;
}
.vd-footer-bottom a {
  color: var(--vd-gold);
  text-decoration: none;
}
.vd-footer-bottom a:hover {
  color: #fff8ec;
}

/* Kill Astra small footer if anything sneaks through */
.ast-small-footer,
.site-info,
.ast-builder-html-element {
  display: none !important;
}

/* =====================================================
 * 17. WIDGETS (SIDEBAR)
 * ===================================================== */
.widget-area .widget {
  background: #fff;
  border: 1px solid var(--vd-line);
  border-radius: var(--vd-radius);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--vd-shadow-sm);
}
.widget-title {
  color: var(--vd-maroon);
  font-size: 17px;
  border-bottom: 2px solid var(--vd-gold);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

/* =====================================================
 * 18. TOC, AUTHOR BOX, MISC
 * ===================================================== */
.ez-toc-container,
#ez-toc-container {
  background: var(--vd-cream) !important;
  border: 1px solid var(--vd-line) !important;
  border-left: 5px solid var(--vd-saffron) !important;
  border-radius: var(--vd-radius-sm) !important;
  box-shadow: none !important;
}
.ez-toc-title {
  color: var(--vd-maroon) !important;
  font-family: "Mukta", serif;
}

.simple-author-box,
.author-box {
  background: var(--vd-cream-soft);
  border-left: 5px solid var(--vd-maroon);
  border-radius: var(--vd-radius-sm);
  padding: 20px 26px;
  margin: 36px 0;
  font-size: 14.5px;
}

/* =====================================================
 * 19. ACCESSIBILITY + PRINT
 * ===================================================== */
a:focus-visible,
button:focus-visible,
.vd-btn:focus-visible {
  outline: 3px solid var(--vd-gold);
  outline-offset: 3px;
}
.skip-link {
  background: var(--vd-maroon);
  color: #fff8ec;
  font-weight: 700;
}
@media print {
  .vd-topbar,
  .site-header,
  .vd-footer,
  .vd-stickybar,
  .vd-cta,
  .widget-area {
    display: none;
  }
  body {
    background: #fff;
    padding-bottom: 0;
  }
}

/* =====================================================
 * 20. MOBILE TUNING
 * ===================================================== */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .vd-section {
    padding: 44px 0;
  }
  .vd-section-title {
    font-size: 24px;
  }
  .vd-section-title::before {
    font-size: 26px;
  }
  .vd-section-lede {
    font-size: 15.5px;
    margin-bottom: 28px;
  }
  .vd-hero {
    min-height: 520px;
    height: auto;
  }
  .vd-hero h1 {
    font-size: 30px;
  }
  .vd-hero .vd-sub {
    font-size: 14.5px;
  }
  .vd-hero-inner {
    padding: 30px 18px;
  }
  .vd-card-imgwrap {
    aspect-ratio: 16/9;
  }
  .vd-card-body {
    padding: 18px 18px 16px;
  }
  .vd-card h3 {
    font-size: 17.5px;
  }
  .vd-festival {
    padding: 30px 22px;
    margin: 24px 14px;
    border-radius: var(--vd-radius);
  }
  .vd-footer {
    padding: 48px 16px 0;
    margin-top: 40px;
  }
  .vd-footer-inner {
    gap: 28px;
  }
}
