/**
 * Layout: hero alignment, headers, section spacing — all pages via shared classes.
 */

/* Hero: less empty vertical space, content sits higher */
.hero {
  min-height: clamp(380px, 52vh, 520px) !important;
  align-items: flex-start !important;
  padding-top: 0 !important;
}

.hero-content {
  padding-top: clamp(1.25rem, 3vw, 2rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2rem) !important;
  gap: clamp(1rem, 2.5vw, 1.5rem) !important;
  justify-content: flex-start;
}

.hero-text {
  margin-bottom: 0;
}

.search-form {
  margin-top: 0;
  padding: clamp(0.85rem, 2vw, 1.15rem) !important;
}

/* Listing pages */
.packages-section {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.packages-header {
  text-align: right;
  margin-bottom: clamp(1.25rem, 3vw, 2rem) !important;
  padding-top: 0.25rem;
}

.main-content-wrapper {
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* Detail page: tighter top spacing under sticky header */
.package-details-section {
  margin-top: 0.5rem !important;
}

.package-details-section .content-card {
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 1.75rem) !important;
}

.title-divider {
  margin-bottom: 0.75rem !important;
  width: min(280px, 70%) !important;
}

.package-info-wrapper {
  margin-top: 0.75rem !important;
  padding: clamp(0.85rem, 2vw, 1rem) !important;
}

/* Header: reduce double spacing with hero */
.header + .hero,
header + section.hero {
  margin-top: 0;
}

.simple-header {
  margin-bottom: 0;
}

/* Services / sections below hero */
.services,
.destinations,
.features {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

@media (max-width: 768px) {
  .hero {
    min-height: clamp(340px, 58vh, 440px) !important;
  }

  .hero-content {
    padding-top: 1rem !important;
  }
}
