/*
 * Shared non-homepage hero contract.
 *
 * Pink Beach is the visual reference: one full-bleed image, a quiet dark
 * overlay, centered editorial type, and one clear pill action. The homepage
 * keeps its approved proof carousel and is intentionally outside this scope.
 */

[data-oceidon-nonhome-hero] {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  height: 760px !important;
  min-height: 760px !important;
  margin-top: 0 !important;
  padding: 100px 32px 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  isolation: isolate;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
  text-align: center;
}

[data-oceidon-nonhome-hero] > .oceidon-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  pointer-events: none;
}

/* The eager image element is the paint source for the first viewport. Keep
   inline background declarations as authoring fallbacks, but do not make the
   browser discover two competing LCP candidates. */
.oceidon-trip-hero.oceidon-nonhome-hero,
.oceidon-about-hero.oceidon-nonhome-hero,
.oceidon-ship-detail-hero.oceidon-nonhome-hero,
.oceidon-guide-hero.oceidon-nonhome-hero,
.oceidon-destination-index-hero.oceidon-nonhome-hero {
  background-image: none !important;
}

.oceidon-destination-index-hero.oceidon-nonhome-hero .oceidon-hero-slide-layout {
  background-image: none !important;
}

.oceidon-blog-editorial-hero.oceidon-nonhome-hero,
.oceidon-guide-faq-editorial-hero.oceidon-nonhome-hero,
.oceidon-guide-comparison-editorial-hero.oceidon-nonhome-hero,
.oceidon-destination-editorial-hero.oceidon-nonhome-hero {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, .26) 0%, rgba(4, 30, 37, .48) 48%, rgba(4, 30, 37, .82) 100%),
    linear-gradient(90deg, rgba(4, 30, 37, .32), rgba(4, 30, 37, .1) 55%, rgba(4, 30, 37, .3)) !important;
}

/* Keep the generic hero image layer and give every hero the same calm read. */
.hero.oceidon-nonhome-hero {
  background: transparent !important;
}

.hero.oceidon-nonhome-hero::before {
  /* The eager <img> is the single hero image source. Keeping the legacy
     background pseudo-element here creates a second LCP candidate and can
     delay mobile paint even when the image itself is already cached. */
  display: none;
}

.hero.oceidon-nonhome-hero::after,
.oceidon-trip-hero.oceidon-nonhome-hero::before,
.oceidon-about-hero.oceidon-nonhome-hero::before,
.oceidon-ship-detail-hero.oceidon-nonhome-hero .oceidon-ship-detail-hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  content: "";
  background:
    linear-gradient(180deg, rgba(4, 30, 37, .26) 0%, rgba(4, 30, 37, .46) 46%, rgba(4, 30, 37, .8) 100%),
    linear-gradient(90deg, rgba(4, 30, 37, .32), rgba(4, 30, 37, .1) 55%, rgba(4, 30, 37, .3));
}

.oceidon-ship-detail-hero.oceidon-nonhome-hero::before {
  display: none;
}

/* Editorial heroes carry their own custom-property image instead of the
   generic --hero-image variable. */
.oceidon-blog-editorial-hero.oceidon-nonhome-hero,
.oceidon-guide-faq-editorial-hero.oceidon-nonhome-hero,
.oceidon-guide-comparison-editorial-hero.oceidon-nonhome-hero,
.oceidon-destination-editorial-hero.oceidon-nonhome-hero {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, .26) 0%, rgba(4, 30, 37, .48) 48%, rgba(4, 30, 37, .82) 100%),
    linear-gradient(90deg, rgba(4, 30, 37, .32), rgba(4, 30, 37, .1) 55%, rgba(4, 30, 37, .3)) !important;
}

.oceidon-guide-faq-editorial-hero.oceidon-nonhome-hero,
.oceidon-guide-comparison-editorial-hero.oceidon-nonhome-hero,
.oceidon-destination-editorial-hero.oceidon-nonhome-hero {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, .26) 0%, rgba(4, 30, 37, .48) 48%, rgba(4, 30, 37, .82) 100%),
    linear-gradient(90deg, rgba(4, 30, 37, .32), rgba(4, 30, 37, .1) 55%, rgba(4, 30, 37, .3)) !important;
}

.oceidon-guide-comparison-editorial-hero.oceidon-nonhome-hero {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, .26) 0%, rgba(4, 30, 37, .48) 48%, rgba(4, 30, 37, .82) 100%),
    linear-gradient(90deg, rgba(4, 30, 37, .32), rgba(4, 30, 37, .1) 55%, rgba(4, 30, 37, .3)) !important;
}

.oceidon-destination-editorial-hero.oceidon-nonhome-hero {
  background:
    linear-gradient(180deg, rgba(4, 30, 37, .26) 0%, rgba(4, 30, 37, .48) 48%, rgba(4, 30, 37, .82) 100%),
    linear-gradient(90deg, rgba(4, 30, 37, .32), rgba(4, 30, 37, .1) 55%, rgba(4, 30, 37, .3)) !important;
}

/* The existing component shells become a single centered content column. */
[data-oceidon-nonhome-hero] > .container,
[data-oceidon-nonhome-hero] > .oceidon-layout-container,
[data-oceidon-nonhome-hero] > .oceidon-about-container,
[data-oceidon-nonhome-hero] > .oceidon-ship-detail-container,
.oceidon-destination-index-hero[data-oceidon-nonhome-hero] .oceidon-home-hero-carousel,
.oceidon-destination-index-hero[data-oceidon-nonhome-hero] .oceidon-hero-slide-layout {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-width: 1040px;
  margin-inline: auto;
}

[data-oceidon-nonhome-hero] .hero-grid {
  width: 100%;
  min-height: 0 !important;
  display: block !important;
}

[data-oceidon-nonhome-hero] .hero-copy,
[data-oceidon-nonhome-hero] .oceidon-trip-hero-content,
[data-oceidon-nonhome-hero] .oceidon-ship-detail-hero-content,
[data-oceidon-nonhome-hero] .oceidon-blog-editorial-hero-inner,
[data-oceidon-nonhome-hero] .oceidon-guide-faq-editorial-hero-inner,
[data-oceidon-nonhome-hero] .oceidon-guide-comparison-editorial-hero-inner,
[data-oceidon-nonhome-hero] .oceidon-destination-editorial-hero-inner,
[data-oceidon-nonhome-hero] .oceidon-about-hero-content {
  width: min(1040px, 100%) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  transform: none !important;
}

[data-oceidon-nonhome-hero] .hero-copy .breadcrumbs,
[data-oceidon-nonhome-hero] .oceidon-breadcrumbs {
  display: none;
}

[data-oceidon-nonhome-hero] .hero-copy > .eyebrow,
[data-oceidon-nonhome-hero] .oceidon-trip-hero-content > span,
[data-oceidon-nonhome-hero] .oceidon-ship-detail-hero-content > span,
[data-oceidon-nonhome-hero] .oceidon-blog-editorial-eyebrow,
[data-oceidon-nonhome-hero] .oceidon-guide-faq-editorial-eyebrow,
[data-oceidon-nonhome-hero] .oceidon-guide-comparison-editorial-eyebrow,
[data-oceidon-nonhome-hero] .oceidon-destination-editorial-eyebrow,
[data-oceidon-nonhome-hero] .oceidon-about-hero-content > span {
  display: inline-block;
  margin: 0 0 18px !important;
  color: #79e0dc !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}

[data-oceidon-nonhome-hero] h1 {
  width: min(1040px, 100%) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-family: Platypi, Georgia, serif !important;
  font-size: clamp(3.2rem, 4.2vw, 4.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: normal !important;
  text-align: center !important;
  text-transform: none !important;
  text-wrap: balance;
}

[data-oceidon-nonhome-hero] .hero-copy > .lead,
[data-oceidon-nonhome-hero] .oceidon-trip-hero-content > p,
[data-oceidon-nonhome-hero] .oceidon-ship-detail-hero-content > p,
[data-oceidon-nonhome-hero] .oceidon-blog-editorial-hero-lead,
[data-oceidon-nonhome-hero] .oceidon-guide-faq-editorial-hero-lead,
[data-oceidon-nonhome-hero] .oceidon-guide-comparison-editorial-hero-lead,
[data-oceidon-nonhome-hero] .oceidon-about-hero-content > p {
  width: min(680px, 100%) !important;
  max-width: 680px !important;
  margin: 22px auto 0 !important;
  color: rgba(255, 255, 255, .84) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

[data-oceidon-nonhome-hero] .oceidon-package-concept-note {
  display: block;
  width: min(680px, 100%);
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .7);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

[data-oceidon-nonhome-hero] .hero-actions,
[data-oceidon-nonhome-hero] .oceidon-ship-detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 12px;
  margin-top: 34px !important;
}

[data-oceidon-nonhome-hero] .hero-actions .btn,
[data-oceidon-nonhome-hero] .oceidon-ship-detail-button,
[data-oceidon-nonhome-hero] .oceidon-destination-hero-link,
[data-oceidon-nonhome-hero] .oceidon-nonhome-hero-link {
  min-height: 50px;
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .52) !important;
  border-radius: 999px !important;
  background: rgba(7, 40, 48, .3) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .11em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

[data-oceidon-nonhome-hero] .oceidon-destination-hero-link,
[data-oceidon-nonhome-hero] .oceidon-nonhome-hero-link {
  margin: 34px auto 0 !important;
}

[data-oceidon-nonhome-hero] .hero-actions .btn:hover,
[data-oceidon-nonhome-hero] .oceidon-ship-detail-button:hover,
[data-oceidon-nonhome-hero] .oceidon-destination-hero-link:hover,
[data-oceidon-nonhome-hero] .oceidon-nonhome-hero-link:hover {
  border-color: #79e0dc !important;
  background: rgba(16, 166, 173, .75) !important;
  transform: translateY(-2px);
}

/* About keeps its verified entity strip, but participates in the same frame. */
.oceidon-about-hero.oceidon-nonhome-hero > .oceidon-about-container {
  max-width: 1040px;
  padding-inline: 0;
  height: 100%;
  position: relative;
  display: block;
}

.oceidon-about-hero.oceidon-nonhome-hero {
  align-items: stretch !important;
  padding-bottom: 0 !important;
}

.oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-hero-content {
  padding-top: 50px !important;
}

.oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-entity-strip {
  position: absolute;
  right: 0;
  bottom: 68px;
  left: 0;
  width: 100%;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, .84);
  text-align: left;
}

.oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-breadcrumbs {
  justify-content: center;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

/* The legacy destination index wrapper is not the current generated hub, but
   these rules keep it within the same contract if it is enabled later. */
.oceidon-destination-index-hero.oceidon-nonhome-hero .oceidon-home-hero-carousel,
.oceidon-destination-index-hero.oceidon-nonhome-hero .oceidon-hero-slide-layout {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
}

.oceidon-destination-index-hero.oceidon-nonhome-hero .oceidon-hero-slide-layout::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 30, 37, .26), rgba(4, 30, 37, .82));
}

.oceidon-destination-index-hero.oceidon-nonhome-hero .oceidon-layout-container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  [data-oceidon-nonhome-hero] {
    height: 660px !important;
    min-height: 660px !important;
    padding: 104px 20px 54px !important;
  }

  [data-oceidon-nonhome-hero] > .container,
  [data-oceidon-nonhome-hero] > .oceidon-layout-container,
  [data-oceidon-nonhome-hero] > .oceidon-about-container,
  [data-oceidon-nonhome-hero] > .oceidon-ship-detail-container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0 !important;
  }

  [data-oceidon-nonhome-hero] h1 {
    font-size: clamp(2.6rem, 10.8vw, 4.1rem) !important;
    line-height: 1.07 !important;
  }

  [data-oceidon-nonhome-hero] .hero-copy > .lead,
  [data-oceidon-nonhome-hero] .oceidon-trip-hero-content > p,
  [data-oceidon-nonhome-hero] .oceidon-ship-detail-hero-content > p,
  [data-oceidon-nonhome-hero] .oceidon-blog-editorial-hero-lead,
  [data-oceidon-nonhome-hero] .oceidon-guide-faq-editorial-hero-lead,
  [data-oceidon-nonhome-hero] .oceidon-guide-comparison-editorial-hero-lead,
  [data-oceidon-nonhome-hero] .oceidon-about-hero-content > p {
    margin-top: 18px !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  [data-oceidon-nonhome-hero] .hero-actions,
  [data-oceidon-nonhome-hero] .oceidon-ship-detail-hero-actions {
    margin-top: 26px !important;
  }

  [data-oceidon-nonhome-hero] .hero-actions .btn,
  [data-oceidon-nonhome-hero] .oceidon-ship-detail-button,
  [data-oceidon-nonhome-hero] .oceidon-destination-hero-link,
  [data-oceidon-nonhome-hero] .oceidon-nonhome-hero-link {
    min-height: 50px;
    padding-inline: 22px;
    font-size: 11px !important;
  }

  [data-oceidon-nonhome-hero] .oceidon-destination-hero-link,
  [data-oceidon-nonhome-hero] .oceidon-nonhome-hero-link {
    margin-top: 26px !important;
  }

  [data-oceidon-nonhome-hero] .oceidon-package-concept-note {
    margin-top: 12px;
    font-size: 11px;
  }

  .oceidon-about-hero.oceidon-nonhome-hero > .oceidon-about-container {
    width: 100%;
  }

  .oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-hero-content {
    padding-top: 20px !important;
  }

  .oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-breadcrumbs {
    display: none;
  }

  .oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-entity-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    right: 0;
    bottom: 12px;
    left: 0;
    gap: 0 12px;
    margin-top: 0 !important;
    font-size: 11px;
  }

  .oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-entity-strip > div {
    padding: 10px 12px !important;
  }

  .oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-entity-strip dt {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  .oceidon-about-hero.oceidon-nonhome-hero .oceidon-about-entity-strip dd {
    font-size: 12px;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-oceidon-nonhome-hero] * {
    transition-duration: .01ms !important;
  }
}
