/* Wild Gaze – shared destination / page hero header */
@import url('wg-page-hero-premium.css');

.wg-page-header {
  position: relative;
  width: 100%;
  height: clamp(280px, 42vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h, 64px);
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wg-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--wg-hero-overlay);
}

.wg-ph-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  image-rendering: auto;
  transform: translateZ(0);
  will-change: transform;
  transform-style: preserve-3d;
}

.wg-ph-bg::after {
  content: none;
  background: none;
}

.wg-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold, #b8941a) 30%, var(--gold-lt, #e8b020) 50%, var(--gold, #b8941a) 70%, transparent 100%);
  z-index: 3;
}

.wg-ph-inner {
  position: relative;
  z-index: 2;
  isolation: isolate;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  margin-top: auto;
  flex-shrink: 0;
  padding: clamp(16px, 2.5vw, 24px) clamp(20px, 4vw, 40px) clamp(32px, 5vw, 48px);
}

.wg-ph-inner::before {
  display: none;
}

.wg-ph-breadcrumb,
.wg-ph-title,
.wg-ph-rule,
.wg-ph-sub,
.wg-ph-cta-row {
  max-width: 700px;
}

.wg-ph-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 14px;
}
.wg-ph-breadcrumb a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .2s;
}
.wg-ph-breadcrumb a:hover { color: var(--gold-lt, #e8b020); }
.wg-ph-breadcrumb .sep { color: rgba(184, 148, 26, .55); font-size: .5rem; }
.wg-ph-breadcrumb .current { color: var(--gold-lt, #e8b020); }

.wg-ph-eyebrow {
  display: none;
}

.wg-ph-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0 0 10px;
}
.wg-ph-title .gold-word { color: var(--gold-lt, #e8b020); }

.wg-ph-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold, #b8941a), var(--gold-pale, #f5d060), transparent);
  margin: 14px 0 16px;
}

.wg-ph-sub {
  font-size: .8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .02em;
  line-height: 1.55;
  max-width: 700px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1024px) {
  /* Itinerary / content-rich heroes need more height than 1920×300 strips */
  .wg-page-header.wg-ph--strip:has(.wg-ph-sub),
  .wg-page-header.wg-ph--strip:has(.wg-ph-cta) {
    height: clamp(360px, 44vh, 480px) !important;
    max-height: 480px !important;
    aspect-ratio: auto !important;
  }
}

.wg-ph-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.wg-ph-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: linear-gradient(135deg, var(--orange, #d45a00), var(--rust, #c0390a));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: filter .2s, gap .2s;
}
.wg-ph-cta-row .wg-ph-cta { margin-top: 0; }
.wg-ph-cta:hover { filter: brightness(1.1); gap: 12px; color: #fff; }
.wg-ph-cta--ghost {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
}

/* Hero badge (top-right chip) – hidden site-wide; car rental keeps it */
.wg-page-header .wg-ph-badge {
  display: none !important;
}

#wgCarRentalHero .wg-ph-badge {
  display: block !important;
}

@media (max-width: 768px) {
  .wg-page-header { height: clamp(240px, 38vh, 340px); }
  .wg-ph-breadcrumb { margin-bottom: 10px; }
  .wg-ph-cta { margin-top: 12px; padding: 10px 20px; }
}
