/* ═══════════════════════════════════════════
   VARANASI YATRA PAGE — Banaras Culture Biennale
   Sidebar accordion + detail panel layout
   ═══════════════════════════════════════════ */

.vy-page { padding-top: 0; }

/* ══════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════ */
.vy-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0a0602;
}

.vy-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 62% at 12% 78%, rgba(196, 98, 45, 0.65) 0%, transparent 58%),
    radial-gradient(ellipse 50% 44% at 78% 22%, rgba(212, 175, 55, 0.38) 0%, transparent 54%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(90, 25, 5, 0.8) 0%, transparent 65%);
}

.vy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(10,6,2,0.5) 0%, rgba(10,6,2,0.04) 42%, rgba(10,6,2,0.65) 100%);
}

.vy-hero-deco {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5vw;
  pointer-events: none;
  z-index: 1;
}

.vy-hero-deco-text {
  font-family: var(--f-hi, 'Tiro Devanagari Hindi', serif);
  font-size: clamp(10rem, 28vw, 22rem);
  color: rgba(245, 166, 35, 0.04);
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

.vy-hero-inner {
  position: relative;
  z-index: 2;
  padding: 115px 5vw 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vy-breadcrumb a              { color: rgba(245,166,35,0.62); text-decoration: none; transition: color 0.2s; }
.vy-breadcrumb a:hover        { color: var(--saffron, #f5a623); }
.vy-breadcrumb-sep            { color: rgba(255,255,255,0.28); }
.vy-breadcrumb span:last-child{ color: rgba(255,255,255,0.5); }

.vy-hero-top    { display: flex; flex-direction: column; gap: 0.5rem; }
.vy-hero-bottom { display: flex; flex-direction: column; gap: 0.55rem; }

.vy-hero-top .section-label {
  font-family: var(--f-lbl);
  color: var(--saffron, #f5a623);
  font-size: 0.72rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  display: block;
}

.vy-hero-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 180px;
}

.vy-hero-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(245,166,35,0.32);
}

.vy-hero-gem { color: var(--saffron,#f5a623); font-size: 0.8rem; opacity: 0.85; }

.vy-hero-title {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin: 0;
  text-shadow: 0 4px 60px rgba(0,0,0,0.5);
  animation: hero-in 2s cubic-bezier(0.16,1,0.3,1) both;
}

.vy-hero-title em { font-style: italic; color: var(--saffron,#f5a623); }

.vy-hero-sub {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: clamp(0.54rem, 1.1vw, 0.68rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0;
}

.vy-hero-scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.vy-hero-scroll span {
  font-family: var(--f-lbl);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #9a7a60;
}

.vy-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(245,166,35,0.55), transparent);
  animation: vy-scroll-fade 2.2s ease-in-out infinite;
}

@keyframes vy-scroll-fade {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

/* ══════════════════════════════════════════
   SHARED UTILITIES
   ══════════════════════════════════════════ */
.vy-gem { color: var(--gold, #d4af37); font-size: 0.8rem; }

/* ══════════════════════════════════════════
   2. MAIN SECTION
   ══════════════════════════════════════════ */
.vy-main {
  background: var(--bg2, #f4ece0);
  min-height: 80vh;
}

.vy-main-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  min-height: 80vh;
  align-items: flex-start;
}

/* ══════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════ */
.vy-sidebar {
  width: 330px;
  flex-shrink: 0;
  background: var(--bg, #faf5ed);
  border-right: 1px solid rgba(196,98,45,0.15);
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.vy-sidebar::-webkit-scrollbar       { width: 3px; }
.vy-sidebar::-webkit-scrollbar-track { background: transparent; }
.vy-sidebar::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.3); border-radius: 2px; }

/* Sidebar header */
.vy-sidebar-head {
  padding: 2rem 1.8rem 1.4rem;
  border-bottom: 1px solid rgba(196,98,45,0.12);
  flex-shrink: 0;
}

.vy-sidebar-hindi {
  font-family: var(--f-hi, 'Tiro Devanagari Hindi', serif);
  font-size: 0.88rem;
  color: var(--saffron, #f5a623);
  opacity: 0.72;
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: 0.06em;
}

.vy-sidebar-title {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text, #1a0a03);
  line-height: 1.1;
  margin: 0;
}

.vy-sidebar-title em { font-style: italic; color: var(--ember, #c4622d); }

.vy-sidebar-rule {
  width: 36px;
  height: 2px;
  background: linear-gradient(to right, var(--gold,#d4af37), transparent);
  margin-top: 0.75rem;
}

/* ── Nav ── */
.vy-nav { padding: 0.6rem 0 2rem; }

/* Group */
.vy-nav-group { border-bottom: 1px solid rgba(196,98,45,0.1); }

/* Category button */
.vy-nav-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 0.6rem;
  transition: background 0.2s;
}

.vy-nav-cat:hover { background: rgba(196,98,45,0.05); }

.vy-nav-cat-label {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text, #1a0a03);
  line-height: 1.4;
  flex: 1;
  transition: color 0.2s;
}

.vy-nav-group.is-open .vy-nav-cat-label { color: var(--ember, #c4622d); }

.vy-nav-cat-icon {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(196,98,45,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--ember, #c4622d);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.vy-nav-group.is-open .vy-nav-cat-icon {
  background: var(--ember, #c4622d);
  border-color: var(--ember, #c4622d);
  color: #fff;
}

.vy-icon-plus  { display: block; }
.vy-icon-minus { display: none; }
.vy-nav-group.is-open .vy-icon-plus  { display: none; }
.vy-nav-group.is-open .vy-icon-minus { display: block; }

/* Sub-list */
.vy-nav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
}

.vy-nav-group.is-open .vy-nav-sub { max-height: 600px; }

/* Nav item */
.vy-nav-item {
  padding: 0.65rem 1.8rem 0.65rem 2.6rem;
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 0.97rem;
  color: var(--body, #6a4a2a);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  border-left: 2px solid transparent;
  line-height: 1.35;
  position: relative;
}

.vy-nav-item::before {
  content: '–';
  position: absolute;
  left: 1.6rem;
  color: rgba(196,98,45,0.3);
  font-size: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.vy-nav-item:hover {
  color: var(--ember, #c4622d);
  background: rgba(196,98,45,0.04);
  padding-left: 2.8rem;
}

.vy-nav-item.is-active {
  color: var(--ember, #c4622d);
  background: rgba(196,98,45,0.07);
  border-left-color: var(--saffron, #f5a623);
  font-weight: 600;
  padding-left: 2.8rem;
}

/* Standalone items */
.vy-nav-standalones {
  padding-top: 0.4rem;
}

.vy-nav-item--standalone {
  padding: 0.85rem 1.8rem;
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text, #1a0a03);
  cursor: pointer;
  border-left: 2px solid transparent;
  border-bottom: 1px solid rgba(196,98,45,0.1);
  transition: color 0.2s, background 0.2s, border-left-color 0.2s;
  list-style: none;
}

.vy-nav-item--standalone::before { display: none; }

.vy-nav-item--standalone:hover {
  color: var(--ember, #c4622d);
  background: rgba(196,98,45,0.04);
}

.vy-nav-item--standalone.is-active {
  color: var(--ember, #c4622d);
  background: rgba(196,98,45,0.07);
  border-left-color: var(--saffron, #f5a623);
}

/* ══════════════════════════════════════════
   CONTENT / DETAIL PANEL
   ══════════════════════════════════════════ */
.vy-content {
  flex: 1;
  min-width: 0;
  padding: 3.5rem 4rem 5rem;
}

.vy-detail {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.vy-detail.is-switching { opacity: 0; }

/* Category badge */
.vy-detail-meta { margin-bottom: 0.6rem; }

.vy-detail-cat {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ember, #c4622d);
  padding: 0.25rem 0.75rem;
  display: inline-block;
}

/* Title */
.vy-detail-title {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--text, #1a0a03);
  line-height: 1.12;
  margin: 0.5rem 0 0;
}

/* Rule */
.vy-detail-rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 1.8rem;
}

.vy-detail-rule-line {
  width: 44px;
  height: 1px;
  background: var(--gold, #d4af37);
  opacity: 0.45;
}

/* Image */
.vy-detail-img-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(212,175,55,0.2);
}

.vy-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.88);
  transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}

.vy-detail-img-wrap:hover img { transform: scale(1.04); }

.vy-detail-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,6,2,0.5) 0%, transparent 45%),
    linear-gradient(to top, rgba(13,6,2,0.55) 0%, transparent 40%);
  pointer-events: none;
}

.vy-detail-img-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.5rem;
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  z-index: 1;
}

/* Description */
.vy-detail-body { max-width: 780px; }

.vy-detail-desc {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--body, #6a4a2a);
  margin: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .vy-sidebar  { width: 290px; }
  .vy-content  { padding: 3rem 2.5rem 4rem; }
}

@media (max-width: 900px) {
  .vy-hero-inner      { padding: 80px 1.8rem 2rem; }
  .vy-hero-deco-text  { font-size: clamp(6rem, 22vw, 12rem); }

  .vy-main-inner { flex-direction: column; }

  .vy-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    overflow-y: visible;
    border-right: none;
    border-bottom: 1px solid rgba(196,98,45,0.15);
  }

  .vy-content { padding: 2.5rem 1.8rem 4rem; }

  .vy-detail-img-wrap { height: 240px; }
}

@media (max-width: 520px) {
  .vy-detail-title    { font-size: clamp(1.5rem, 6vw, 2rem); }
  .vy-detail-img-wrap { height: 200px; }
}
