/* ═══════════════════════════════════════════
   GHATS PAGE — Banaras Culture Biennale
   Palette: saffron/ember/gold on dark #0d0602
   ═══════════════════════════════════════════ */

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

/* ══════════════════════════════════════════
   HERO  (mirrors sarnath hero exactly)
   ══════════════════════════════════════════ */
.gh-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  background: #0d0602;
}

.gh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 18% 72%, rgba(196, 98, 45, 0.68) 0%, transparent 58%),
    radial-gradient(ellipse 58% 50% at 82% 28%, rgba(212, 175, 55, 0.44) 0%, transparent 56%),
    radial-gradient(ellipse 88% 44% at 50% 100%, rgba(100, 30, 5, 0.82) 0%, transparent 68%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4622d' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.gh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 6, 2, 0.55) 0%,
    rgba(13, 6, 2, 0.08) 45%,
    rgba(13, 6, 2, 0.62) 100%
  );
}

.gh-hero-deco {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

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

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

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

.gh-breadcrumb a {
  color: rgba(245, 166, 35, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.gh-breadcrumb a:hover { color: var(--saffron, #f5a623); }

.gh-breadcrumb-sep { color: rgba(255, 255, 255, 0.3); font-size: 0.8rem; }
.gh-breadcrumb span:last-child { color: rgba(255, 255, 255, 0.55); }

.gh-hero-top {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.gh-hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gh-hero-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  margin: 0;
  max-width: 200px;
}

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

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

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

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

.gh-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;
}

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

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

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

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

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.gh-about {
  background: var(--bg, #faf5ed);
  padding: 5rem 4rem 6rem;
}

.gh-about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

/* Image gallery — unique split-frame style */
.gh-about-images {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 0.8rem;
  height: 100%;
}

/* Large primary frame */
.gh-img-main {
  height: 100%;
}

.gh-img-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
}

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

.gh-img-frame:hover img { transform: scale(1.04); }

/* Gold corner brackets — top-left and bottom-right */
.gh-img-frame::before,
.gh-img-frame::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(212, 175, 55, 0.75);
  border-style: solid;
  z-index: 3;
  pointer-events: none;
}
.gh-img-frame::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}
.gh-img-frame::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

/* Additional 2 corners (top-right, bottom-left) via inner deco div */
.gh-img-frame-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.gh-img-frame-deco::before,
.gh-img-frame-deco::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(212, 175, 55, 0.75);
  border-style: solid;
}
.gh-img-frame-deco::before {
  top: 10px;
  right: 10px;
  border-width: 2px 2px 0 0;
}
.gh-img-frame-deco::after {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 2px 2px;
}

/* Caption bar at bottom of primary image */
.gh-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.1rem 0.85rem;
  background: linear-gradient(to top, rgba(13, 6, 2, 0.78) 0%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gh-img-caption-label {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.9);
}

.gh-img-caption-sub {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

/* Right side column */
.gh-img-side {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
}

.gh-img-thumb {
  position: relative;
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.gh-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78) saturate(0.85);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
}

.gh-img-thumb:hover img {
  transform: scale(1.09);
  filter: brightness(0.9) saturate(1);
}

.gh-img-thumb-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 0.7rem 0.5rem;
  background: linear-gradient(to top, rgba(13, 6, 2, 0.68) 0%, transparent 100%);
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.78);
}

/* Dark info box */
.gh-img-info-box {
  background: #0d0602;
  border: 1px solid rgba(245, 166, 35, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1rem 0.5rem;
  flex-shrink: 0;
  min-height: 86px;
}

.gh-info-num {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--saffron, #f5a623);
  line-height: 1;
}

.gh-info-unit {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--ember, #c4622d);
  text-transform: uppercase;
}

.gh-info-label {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.45);
  text-align: center;
  line-height: 1.5;
  margin-top: 0.1rem;
}

.gh-about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1rem;
}

.gh-rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  /* margin: 1rem 0 1.6rem; */
}

.gh-rule::before,
.gh-rule::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold, #d4af37);
  opacity: 0.4;
}

/* Stats row */
.gh-about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.gh-stat { display: flex; flex-direction: column; gap: 0.3rem; }

.gh-stat-num {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ember, #c4622d);
  line-height: 1;
}

.gh-stat-lbl {
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body, #6a4a2a);
}

.gh-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(212, 175, 55, 0.3);
}

/* ══════════════════════════════════════════
   GHATS GRID SECTION
   ══════════════════════════════════════════ */
.gh-grid-section {
  background: var(--bg2, #f4ece0);
  padding: 1rem 4rem 7rem;
}

.gh-grid-inner {
  max-width: 1500px;
  margin: 0 auto;
}

/* Section header */
.gh-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gh-section-hindi {
  font-family: var(--f-hi, 'Tiro Devanagari Hindi', serif);
  font-size: 1.1rem;
  color: var(--saffron, #f5a623);
  opacity: 0.75;
  display: block;
  margin-bottom: 0.6rem;
  letter-spacing: 0.06em;
}

.gh-section-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0.8rem 0 1rem;
}

.gh-section-rule::before,
.gh-section-rule::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold, #d4af37);
  opacity: 0.45;
}

.gh-section-sub {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--body, #6a4a2a);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards grid */
.gh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Individual card */
.gh-card {
  background: var(--bg, #faf5ed);
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Card image */
.gh-card-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.gh-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78) saturate(0.85);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
}

.gh-card:hover .gh-card-img img {
  transform: scale(1.08);
  filter: brightness(0.88) saturate(1);
}

/* Ghost number on image */
.gh-card-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(13, 6, 2, 0.55);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  line-height: 1.4;
  z-index: 1;
}

/* Card body */
.gh-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem 1.5rem;
  border-top: 2px solid rgba(245, 166, 35, 0.35);
}

.gh-card-name {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text, #1a0a03);
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.gh-card-excerpt {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--body, #6a4a2a);
  flex: 1;
  margin: 0 0 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gh-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 1px solid rgba(196, 98, 45, 0.35);
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember, #c4622d);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.gh-card-btn:hover {
  background: var(--ember, #c4622d);
  border-color: var(--ember, #c4622d);
  color: #fff;
}

.gh-btn-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s;
}

.gh-card-btn:hover .gh-btn-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════
   MODAL / POPUP
   ══════════════════════════════════════════ */
.gh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 6, 2, 0.82);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(4px);
}

.gh-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.gh-modal {
  background: var(--bg, #faf5ed);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(13, 6, 2, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gh-modal-overlay.is-open .gh-modal {
  transform: translateY(0) scale(1);
}

/* Scrollbar styling for modal */
.gh-modal::-webkit-scrollbar { width: 4px; }
.gh-modal::-webkit-scrollbar-track { background: transparent; }
.gh-modal::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.3); border-radius: 2px; }

/* Close button */
.gh-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(13, 6, 2, 0.65);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: rgba(255, 255, 255, 0.8);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}

.gh-modal-close:hover {
  background: var(--ember, #c4622d);
  border-color: var(--ember, #c4622d);
  color: #fff;
}

/* Modal image */
.gh-modal-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.gh-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) saturate(0.88);
}

.gh-modal-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,6,2,0.6) 0%, transparent 55%);
}

.gh-modal-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.5rem;
  font-family: var(--f-lbl, 'Cinzel', serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(245, 166, 35, 0.22);
  line-height: 1;
}

/* Modal content */
.gh-modal-content {
  padding: 2rem 2.4rem 2.8rem;
  border-top: 3px solid var(--saffron, #f5a623);
}

.gh-modal-name {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--text, #1a0a03);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.gh-modal-rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
}

.gh-modal-rule::before,
.gh-modal-rule::after {
  content: '';
  flex: 1;
  max-width: 50px;
  height: 1px;
  background: var(--gold, #d4af37);
  opacity: 0.4;
}

.gh-modal-desc {
  font-family: var(--f-disp, 'Cormorant Garamond', serif);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--body, #6a4a2a);
  margin: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .gh-about-inner { gap: 3rem; }
  .gh-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .gh-hero-inner  { padding: 80px 1.8rem 2rem; }
  .gh-hero-title  { font-size: clamp(1.6rem, 7vw, 3rem); white-space: normal; }
  .gh-hero-deco-text { font-size: clamp(8rem, 25vw, 16rem); }

  .gh-about,
  .gh-grid-section { padding-left: 1.8rem; padding-right: 1.8rem; }

  .gh-about-inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .gh-about-images     { grid-template-columns: 1fr; height: 380px; }
  .gh-img-side         { flex-direction: row; }
  .gh-img-info-box     { min-width: 90px; min-height: auto; }

  .gh-about-stats { flex-wrap: wrap; gap: 1.2rem; }
  .gh-stat-div    { display: none; }

  .gh-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gh-card-img  { height: 150px; }

  .gh-modal { max-height: 92vh; }
  .gh-modal-img-wrap { height: 200px; }
  .gh-modal-content  { padding: 1.5rem 1.5rem 2rem; }
}

@media (max-width: 520px) {
  .gh-grid { grid-template-columns: 1fr; }
  .gh-card-img { height: 190px; }
  .gh-about-images { height: 320px; }
  .gh-img-side     { flex-direction: column; }
}
