/* Flights-first homepage layout overrides */

.home-flights-page {
  background: #f4f3f0;
}

.home-flights-page #home-top-section.home-flights-hero {
  width: 100%;
  min-height: 520px;
  padding: 100px 0 40px;
  margin-top: -80px;
  background-color: #1a3a5c;
  background-size: cover !important;
  background-position: center 40% !important;
}

.home-flights-page .home-section-wrapper {
  padding-left: 16px;
  padding-right: 16px;
}

.home-flights-page .home-title {
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}

.home-flights-page .home-subtitle {
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin-bottom: 24px;
}

.home-flights-page .home-search-form-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.home-flights-content {
  padding-top: 24px;
  padding-bottom: 24px;
}

.home-flights-section {
  margin-bottom: 48px;
}

.home-flights-results {
  min-height: 0;
}

.popular-route-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.popular-route-card:hover,
.popular-route-card:focus {
  border-color: var(--primary_color, #0d6efd);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.popular-route-card__route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
}

.popular-route-card__icon {
  color: var(--primary_color, #0d6efd);
  font-size: 0.9rem;
  transform: rotate(90deg);
}

.popular-route-card__codes {
  font-size: 0.85rem;
  margin-top: 6px;
}

.popular-route-card__hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--primary_color, #0d6efd);
  font-weight: 600;
}

.popular-route-card--destination {
  overflow: hidden;
  position: relative;
}

.popular-route-card--destination .va-middle {
  padding: 24px;
}

.home-flights-step {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}

.home-flights-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary_color, #0d6efd);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.home-flights-trust-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.home-flights-hotels-secondary .cateimg {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

#header.custom-navbar.shift-with-hiw {
  background: transparent;
}

.home-flights-page #flights-welcome-section {
  background: transparent;
}

.home-flights-welcome-icon {
  color: var(--primary_color, #037fe5);
  margin: 0 auto 16px;
  font-size: 3rem;
  line-height: 1;
}

@media screen and (max-width: 991px) {
  .home-flights-page #home-top-section.home-flights-hero {
    min-height: auto;
    padding: 88px 0 28px;
    margin-top: 0;
  }

  .home-flights-page .home-title {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 767px) {
  .popular-route-card__route {
    flex-wrap: wrap;
  }
}
