/* v161 — full-bleed hero video with a decoder-safe compositing layer. */
.v161-hero,
.v154-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
  background: #11362f url('/assets/hero-camping-summer-v164.webp') center / cover no-repeat;
  color: #fff;
}

.v161-hero-video-layer,
.v154-hero-video-layer,
.v161-hero-overlay,
.v154-hero-overlay {
  position: absolute;
  inset: 0;
}

.v161-hero-video-layer,
.v154-hero-video-layer {
  z-index: 0;
  overflow: hidden;
  background: #11362f url('/assets/hero-camping-summer-v164.webp') center / cover no-repeat;
}

.v161-hero-video-layer video,
.v154-hero-video-layer video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: opacity .35s ease;
  will-change: opacity, transform;
}

.v161-hero-video-layer video.is-ready,
.v154-hero-video-layer video.is-ready {
  opacity: 1;
}

.v161-hero-overlay,
.v154-hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(8,28,24,.76) 0%, rgba(8,28,24,.56) 38%, rgba(8,28,24,.48) 58%, rgba(8,28,24,.62) 100%);
  pointer-events: none;
}

.v161-hero .v74-hero-grid,
.v154-hero .v74-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-content: center;
  min-height: 640px;
  padding: 86px 0 96px;
}

.v161-hero .v74-hero-copy,
.v154-hero .v74-hero-copy {
  max-width: 760px;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.v161-hero .v74-hero-copy .eyebrow,
.v154-hero .v74-hero-copy .eyebrow { color: #d7efe8; }
.v161-hero h1,
.v154-hero h1 { max-width: 760px; color: #fff; text-shadow: 0 8px 28px rgba(0,0,0,.18); }
.v161-hero .v74-hero-copy > p,
.v154-hero .v74-hero-copy > p { max-width: 720px; color: rgba(255,255,255,.92); font-size: 19px; }
.v161-hero .v74-main-search,
.v154-hero .v74-main-search { max-width: 760px; margin-top: 24px; }
.v161-hero .v74-hero-copy .smart-search-wrap > label,
.v154-hero .v74-hero-copy .smart-search-wrap > label { color: rgba(255,255,255,.94); }
.v161-hero .v74-search-control,
.v154-hero .v74-search-control { background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.2); box-shadow: 0 20px 50px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.v161-hero .v74-quick-links,
.v161-hero .v74-assurances,
.v154-hero .v74-quick-links,
.v154-hero .v74-assurances { color: rgba(255,255,255,.92); }
.v161-hero .v74-quick-links span,
.v161-hero .v74-assurances span,
.v154-hero .v74-quick-links span,
.v154-hero .v74-assurances span { color: rgba(255,255,255,.92); }
.v161-hero .v74-quick-links a,
.v154-hero .v74-quick-links a { background: rgba(255,255,255,.95); border-color: rgba(255,255,255,.2); }

.v161-video-replay,
.v154-video-replay {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(8,36,27,.72);
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.v161-video-replay:hover,
.v154-video-replay:hover { background: rgba(8,36,27,.92); }

@media (max-width: 1000px) {
  .v161-hero,
  .v154-hero { min-height: auto; }
  .v161-hero .v74-hero-grid,
  .v154-hero .v74-hero-grid { min-height: 560px; padding: 74px 0 86px; }
  .v161-hero-overlay,
  .v154-hero-overlay { background: linear-gradient(180deg, rgba(8,28,24,.72) 0%, rgba(8,28,24,.54) 44%, rgba(8,28,24,.7) 100%); }
}

@media (max-width: 760px) {
  .v161-hero .v74-hero-grid,
  .v154-hero .v74-hero-grid { width: min(100% - 28px, 1180px); min-height: 520px; padding: 62px 0 78px; }
  .v161-hero .v74-hero-copy > p,
  .v154-hero .v74-hero-copy > p { font-size: 17px; }
  .v161-video-replay,
  .v154-video-replay { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .v161-hero-video-layer video,
  .v154-hero-video-layer video { display: none; }
}
