/* ─── SECTION 12: HOSTELS ───────────────────────── */
.hostels-section {
  background: #fff;
  padding-bottom: 0;
}

.hostels-hero {
  background: var(--gd);
  padding: 72px 64px 56px;
  position: relative;
  overflow: hidden;
}

.hostels-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 75% 50%,
      rgba(139, 203, 183, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 115, 103, 0.18) 0%,
      transparent 45%
    );
  pointer-events: none;
}

.hostels-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hostels-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gl);
  margin-bottom: 14px;
}

.hostels-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}

.hostels-title-sub {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  font-style: italic;
  color: var(--gl);
  letter-spacing: -1.5px;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}

.hostels-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(244, 228, 201, 0.7);
  line-height: 1.75;
}

/* Tab bar */
.hostels-tabs {
  display: flex;
  align-items: stretch;
  background: var(--gd);
  padding: 0 64px;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 60px;
  z-index: 50;
}

/* Campus panels */
.hostels-panels {
  background: #fafaf8;
}
.hostels-panels .ht-panel .campus-tour-video {
  position: relative;
  background-color: #08090d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#ht-panel-blr .campus-tour-video {
  background-image:
    linear-gradient(135deg, rgba(8, 9, 13, 0.4), rgba(8, 9, 13, 0.76)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80");
}

#ht-panel-hyd .campus-tour-video {
  background-image:
    linear-gradient(135deg, rgba(8, 9, 13, 0.4), rgba(8, 9, 13, 0.76)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1200&q=80");
}

#ht-panel-vizag .campus-tour-video {
  background-image:
    linear-gradient(135deg, rgba(8, 9, 13, 0.4), rgba(8, 9, 13, 0.76)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1200&q=80");
}

.hostels-panels .ht-panel .campus-tour-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 1;
  pointer-events: none;
}

.hostels-panels .ht-panel .campus-tour-video .video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(70px, 8vw, 30px);
  height: clamp(50px, 8vw, 30px);
  transform: translate(-50%, -50%);
  border-radius: 20%;
  background: rgba(255, 0, 0, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  z-index: 3;
  pointer-events: none;
}

.hostels-panels .ht-panel .campus-tour-video .video-play-btn::before {
  content: "";
  position: absolute;
  left: calc(50% + 3px);
  top: 50%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
  transform: translate(-50%, -50%);
}

.hostels-panels .ht-panel .campus-tour-video iframe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  border: 0;
  background: #000;
}

.hostels-panels .ht-panel .campus-tour-video.is-playing iframe {
  opacity: 1;
  visibility: visible;
}

.hostels-panels .ht-panel .campus-tour-video.is-playing::before,
.hostels-panels .ht-panel .campus-tour-video.is-playing .video-play-btn {
  display: none;
}
