/* ===== V32 hero: festival banner image + dark glowing search card + diya ornament =====
   Loaded AFTER hero-festival.css; everything scoped to .hero.hero-fest (passenger home only). */

.hero.hero-fest {
  margin-top: 0;
  margin-bottom: 32px;
  padding: 0 0 6px;
  background: linear-gradient(180deg, #14092b 0%, #1b0f33 55%, #26103f 100%);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
:root:root:root .hero.hero-fest {
  --hf-card-bg: #120f2b;
  --hf-card-line: #ff8a1f;
  --hf-field-bg: #1a1840;
  --hf-field-line: rgba(255, 255, 255, 0.1);
  --hf-field-text: #ffffff;
  --hf-field-hint: #bdb4d8;
  --hf-seg-bg: #1a1840;
  --hf-seg-text: #e7e0f7;
  --hf-chip-bg: #1a1840;
}

/* banner picture (text is part of the picture) */
.hero.hero-fest .hero-banner {
  position: relative;
  width: 100%;
  line-height: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 94%, transparent 100%);
}
.hero.hero-fest .hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1999 / 786;
  object-fit: cover;
  object-position: 50% 50%;
}

/* real headline + subtext stay in the page for SEO / screen readers, hidden visually */
.hero.hero-fest .hero-content {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero.hero-fest .hero-inner {
  gap: 0;
  margin-top: 0;
  padding: 10px 32px 0;
  max-width: 1240px;
}

/* card */
.hero.hero-fest .booking-bar {
  background: var(--hf-card-bg);
  border: 3px solid var(--hf-card-line);
  border-radius: 26px;
  padding: 16px 18px 18px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    0 0 26px rgba(255, 138, 31, 0.55),
    0 0 70px rgba(255, 110, 20, 0.22),
    inset 0 0 22px rgba(255, 138, 31, 0.12);
}
.hero.hero-fest .booking-bar::before {
  display: none;
}
.hero.hero-fest .booking-bar .bus-entry {
  background: #17143a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 16px;
}
.hero.hero-fest .booking-bar .bus-entry:hover {
  border-color: #ff9d2e;
}
.hero.hero-fest .booking-bar .bus-entry-ico {
  background: #221d4a;
  color: #ffb02e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero.hero-fest .booking-bar .bus-entry-text small {
  color: #cfc7e6;
}
.hero.hero-fest .booking-type-options {
  background: transparent;
  gap: 8px;
  padding: 0;
  margin-bottom: 14px;
}
.hero.hero-fest .custom-radio span {
  background: #1a1840;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.hero.hero-fest .custom-radio input:checked + span {
  background: linear-gradient(135deg, #ffc43d, #ff9d2e);
  border-color: transparent;
  color: #2b1500;
  box-shadow: 0 0 18px rgba(255, 160, 40, 0.55);
}
.hero.hero-fest .input-with-icon input,
.hero.hero-fest .input-with-icon .dp-trigger {
  box-shadow: none;
  color-scheme: dark;
}
.hero.hero-fest .swap-btn {
  border-color: var(--hf-card-bg);
}
.hero.hero-fest .swap-btn:hover {
  border-color: var(--hf-card-bg);
}
.hero.hero-fest .booking-bar .search-btn {
  background: linear-gradient(120deg, #ff8a1f 0%, #ff5a36 55%, #f43f7e 100%);
  box-shadow: 0 10px 24px -8px rgba(255, 90, 40, 0.8);
}
.hero.hero-fest .quick-dates-arrow {
  background: #1a1840;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero.hero-fest .date-box {
  background: #1a1840;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.hero.hero-fest .date-box:hover,
.hero.hero-fest .date-box.active {
  background: linear-gradient(135deg, #ffc43d, #ff9d2e);
  color: #2b1500;
  border-color: transparent;
}

/* ornament under the card */
.hero.hero-fest .hero-ornament {
  display: block;
  width: min(1000px, calc(100% - 32px));
  height: auto;
  margin: 4px auto 0;
  mix-blend-mode: screen; /* image has a black background, so only the diya/flowers show */
  pointer-events: none;
  user-select: none;
}
.hero.hero-fest .hero-silhouette {
  display: none !important;
}

/* tablet */
@media (max-width: 1024px) {
  .hero.hero-fest {
    padding-bottom: 6px;
    margin-bottom: 24px;
  }
  .hero.hero-fest .hero-inner {
    margin-top: 0;
    padding: 10px 20px 0;
  }
  /* keep the quick-date chips on tablet / phone too (hero-festival.css hides them) */
  .hero.hero-fest .booking-bar-form .quick-dates-row {
    display: flex !important;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    padding-top: 2px;
  }
  .hero.hero-fest .booking-bar-form .quick-dates {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .hero.hero-fest .booking-bar-form .date-box {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 0 2px;
    border-radius: 12px;
  }
  .hero.hero-fest .hero-content {
    margin: 0;
    max-width: none;
  }
  .hero.hero-fest .booking-bar {
    max-width: 760px;
  }
}
/* phone: show the whole picture (both devis) */
@media (max-width: 700px) {
  .hero.hero-fest .hero-banner img {
    aspect-ratio: 1999 / 786; /* whole picture: both devis stay visible */
    height: auto;
    min-height: 0;
  }
  .hero.hero-fest .hero-inner {
    padding: 8px 12px 0;
  }
  .hero.hero-fest .quick-dates-arrow {
    width: 28px;
    height: 28px;
    flex: none;
  }
  .hero.hero-fest .quick-dates-row {
    gap: 5px;
  }
  .hero.hero-fest .date-box {
    min-height: 44px;
  }
  .hero.hero-fest .booking-bar {
    padding: 12px 12px 14px;
    border-radius: 22px;
    border-width: 2px;
  }
  .hero.hero-fest .hero-ornament {
    width: calc(100% - 12px);
  }
}
@media (max-width: 380px) {
  .hero.hero-fest .quick-dates-arrow {
    display: none;
  }
}
