.hex-excursions-page .top_panel,
.hex-excursions-page .footer_wrap,
.hex-excursions-page .sidebar,
.hex-excursions-page .related_wrap,
.hex-excursions-page .post_header_wrap_style_style-2,
.hex-excursions-page .content_wrap_fullscreen > .content > .post_header_wrap {
  display: none !important;
}

.hex-excursions-page .page_content_wrap,
.hex-excursions-page .page_wrap,
.hex-excursions-page .body_wrap,
.hex-excursions-page .content_wrap,
.hex-excursions-page .content_wrap_fullscreen,
.hex-excursions-page .content_wrap_fullscreen .content,
.hex-excursions-page .content_wrap > .content,
.hex-excursions-page .content_wrap_fullscreen .post_item_single,
.hex-excursions-page .content_wrap_fullscreen .post_content,
.hex-excursions-page .content_wrap_fullscreen .post_content_single {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hex-excursions-page [class*=content_wrap] > .content {
  float: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}

.hex-excursions-page [class*=content_wrap] > .sidebar {
  display: none !important;
}

.hex-excursions-shell {
  background: linear-gradient(180deg, #f5f9fc 0%, #edf4f8 100%);
  overflow: clip;
}

body.hex-gallery-open {
  overflow: hidden;
}

.hex-excursions-shell .hex-container,
.hex-excursions-shell .hex-footer .hex-container,
.hex-excursions-shell .hex-excursions-hero__content {
  width: min(1380px, calc(100% - 4rem));
  margin-left: auto;
  margin-right: auto;
}

.hex-excursions-shell .hex-nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem 1.5rem;
}

.hex-excursions-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  color: #fff;
  overflow: hidden;
}

.hex-excursions-hero__media,
.hex-excursions-hero__overlay {
  position: absolute;
  inset: 0;
}

.hex-excursions-hero__media {
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
}

.hex-excursions-hero__overlay {
  background:
    linear-gradient(118deg, rgba(4, 18, 31, 0.8), rgba(4, 18, 31, 0.35)),
    radial-gradient(circle at 70% 22%, rgba(41, 72, 208, 0.28), rgba(41, 72, 208, 0) 28%),
    radial-gradient(circle at 22% 78%, rgba(255, 195, 77, 0.16), rgba(255, 195, 77, 0) 32%);
}

.hex-excursions-hero__content {
  position: relative;
  z-index: 2;
  margin: 11rem auto 4rem;
  text-align: center;
}

.hex-excursions-hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hex-excursions-hero__content h1 {
  margin: 0 auto;
  max-width: 11.5ch;
  color: #fff;
  font-family: var(--theme-font-h1_font-family, "alga", serif);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
}

.hex-excursions-hero__content p {
  max-width: 52rem;
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
}

.hex-excursions-hero__cta {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.hex-excursions-hero__chips {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hex-excursions-hero__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hex-excursions-jump {
  padding: 0 0 2rem;
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.hex-excursions-jump__wrap {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hex-excursions-jump__wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #173049;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(8, 24, 39, 0.08);
}

.hex-excursions-main section {
  padding: 4.4rem 0;
}

.hex-excursions-intro {
  padding-top: 2.2rem !important;
}

.hex-excursions-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.hex-excursions-intro__grid article,
.hex-excursions-moods__grid article,
.hex-excursions-boat-card,
.hex-excursions-faq__list details {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  box-shadow: 0 22px 42px rgba(10, 28, 44, 0.08);
}

.hex-excursions-intro__grid article {
  padding: 1.4rem 1.3rem;
}

.hex-excursions-intro__grid strong,
.hex-excursions-moods__grid strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #173049;
  font-size: 1.1rem;
}

.hex-excursions-intro__grid p,
.hex-excursions-moods__grid p {
  margin: 0;
  color: #3a5b72;
  line-height: 1.7;
}

.hex-excursions-section__heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.hex-excursions-section__heading--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hex-excursions-section__heading h2,
.hex-excursion-tour__copy h2,
.hex-excursions-cta__inner h2 {
  margin: 0;
  color: #0d314a;
  font-family: var(--theme-font-h1_font-family, "alga", serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.hex-excursions-section__heading p,
.hex-excursion-tour__copy p,
.hex-excursions-cta__inner p {
  margin: 1rem 0 0;
  color: #35546c;
  font-size: 1rem;
  line-height: 1.72;
}

.hex-excursion-tour {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 2.4rem;
  align-items: center;
}

.hex-excursion-tour + .hex-excursion-tour {
  margin-top: 3.4rem;
}

.hex-excursion-tour:nth-child(even) .hex-excursion-tour__media {
  order: 2;
}

.hex-excursion-tour:nth-child(even) .hex-excursion-tour__copy {
  order: 1;
}

.hex-excursion-tour__copy {
  padding: 0.5rem 0;
}

.hex-excursion-tour__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hex-excursion-tour__meta span,
.hex-excursion-tour__stops span,
.hex-excursions-boat-card__ideal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #eef5f9;
  color: #173049;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hex-excursion-tour__stops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.hex-excursion-tour__highlights {
  display: grid;
  gap: 0.8rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.hex-excursion-tour__highlights li {
  position: relative;
  padding-left: 1.1rem;
  color: #35546c;
}

.hex-excursion-tour__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2948d0;
}

.hex-excursion-tour__note {
  margin-top: 1rem !important;
  color: #173049 !important;
  font-weight: 700;
}

.hex-excursion-tour__actions,
.hex-excursions-cta__actions,
.hex-excursions-boat-card__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hex-excursions-moods {
  background:
    radial-gradient(circle at 82% 26%, rgba(41, 72, 208, 0.08), rgba(41, 72, 208, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(233, 241, 247, 0.9));
}

.hex-excursions-moods__grid,
.hex-excursions-boats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hex-excursions-moods__grid article {
  padding: 1.55rem 1.4rem;
}

.hex-excursions-boat-card {
  overflow: hidden;
}

.hex-excursions-boat-card__media {
  min-height: 250px;
  background-size: cover;
  background-position: center;
}

.hex-excursions-boat-card__body {
  padding: 1.35rem 1.3rem 1.45rem;
}

.hex-excursions-boat-card__body h3 {
  margin: 0;
  color: #173049;
  font-size: 1.45rem;
  line-height: 1.08;
}

.hex-excursions-boat-card__body p {
  margin: 0.9rem 0 0;
  color: #3a5b72;
  line-height: 1.72;
}

.hex-excursions-boat-card__ideal {
  margin-top: 1rem;
}

.hex-excursions-boat-card__link {
  display: inline-flex;
  align-items: center;
  color: #2948d0;
  font-weight: 700;
}

.hex-excursions-faq {
  padding-top: 3.6rem !important;
}

.hex-excursions-faq__list {
  display: grid;
  gap: 1rem;
}

.hex-excursions-faq__list details {
  padding: 1.2rem 1.25rem;
}

.hex-excursions-faq__list summary {
  cursor: pointer;
  list-style: none;
  color: #173049;
  font-weight: 700;
  position: relative;
  padding-right: 1.8rem;
}

.hex-excursions-faq__list summary::-webkit-details-marker {
  display: none;
}

.hex-excursions-faq__list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #2948d0;
  font-size: 1.1rem;
}

.hex-excursions-faq__list details[open] summary::after {
  content: "-";
}

.hex-excursions-faq__list p {
  margin: 0.9rem 0 0;
  color: #3a5b72;
  line-height: 1.72;
}

.hex-excursions-cta {
  padding-top: 2rem !important;
}

.hex-excursions-cta__inner {
  padding: 3rem;
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(6, 17, 30, 0.9), rgba(10, 45, 73, 0.72)),
    url('../images/excursions/red_rocks_hvar_1.jpg') center/cover;
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 60px rgba(7, 21, 35, 0.18);
}

.hex-excursions-cta__inner h2,
.hex-excursions-cta__inner p {
  color: #fff;
}

.hex-excursions-cta__inner p {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.hex-excursions-shell .hex-btn--ghost-dark {
  background: transparent;
  border: 1px solid rgba(23, 48, 73, 0.2);
  color: #173049;
  padding: 0.9rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hex-excursions-shell .hex-btn--ghost-dark:hover,
.hex-excursions-shell .hex-btn--ghost-dark:focus {
  background: rgba(23, 48, 73, 0.06);
  color: #173049;
}

.hex-rental-gallery {
  display: grid;
  gap: 0.75rem;
}

.hex-rental-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a2234;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 22px 42px rgba(10, 28, 44, 0.12);
}

.hex-rental-gallery__main::after {
  content: "View gallery";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  background: rgba(8, 22, 35, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hex-rental-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.3s ease;
}

.hex-rental-gallery__main:hover img,
.hex-rental-gallery__main:focus img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.hex-rental-gallery__main:focus-visible,
.hex-rental-gallery__thumb:focus-visible,
.hex-gallery-modal__close:focus-visible,
.hex-gallery-modal__nav:focus-visible {
  outline: 2px solid #2948d0;
  outline-offset: 3px;
}

.hex-rental-gallery__badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  color: #173049;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hex-rental-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hex-rental-gallery__thumb {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transform: translateY(0);
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.hex-rental-gallery__thumb:hover,
.hex-rental-gallery__thumb:focus {
  opacity: 0.95;
  transform: translateY(-2px);
}

.hex-rental-gallery__thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px #2948d0, 0 18px 26px rgba(10, 28, 44, 0.14);
}

.hex-rental-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
}

.hex-gallery-modal[hidden] {
  display: none !important;
}

.hex-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.hex-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 24, 0.78);
  backdrop-filter: blur(10px);
}

.hex-gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(9, 24, 37, 0.98), rgba(7, 20, 31, 0.98));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.hex-gallery-modal__figure {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.hex-gallery-modal__figure img {
  display: block;
  width: 100%;
  max-height: min(74vh, 780px);
  object-fit: cover;
}

.hex-gallery-modal__close,
.hex-gallery-modal__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hex-gallery-modal__close:hover,
.hex-gallery-modal__close:focus,
.hex-gallery-modal__nav:hover,
.hex-gallery-modal__nav:focus {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hex-gallery-modal__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.hex-gallery-modal__nav {
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hex-gallery-modal__nav--prev {
  left: 1rem;
}

.hex-gallery-modal__nav--next {
  right: 1rem;
}

.hex-gallery-modal__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hex-gallery-modal__caption strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.hex-gallery-modal__caption span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hex-excursion-tour,
  .hex-excursions-intro__grid,
  .hex-excursions-moods__grid,
  .hex-excursions-boats__grid {
    grid-template-columns: 1fr;
  }

  .hex-excursions-shell .hex-container,
  .hex-excursions-shell .hex-footer .hex-container,
  .hex-excursions-shell .hex-excursions-hero__content {
    width: min(100%, calc(100% - 2rem));
  }

  .hex-excursions-shell .hex-nav {
    width: min(100%, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 0.85rem 0.75rem 0;
  }

  .hex-excursion-tour:nth-child(even) .hex-excursion-tour__media,
  .hex-excursion-tour:nth-child(even) .hex-excursion-tour__copy {
    order: initial;
  }
}

@media (max-width: 800px) {
  .hex-excursions-hero {
    min-height: 760px;
    min-height: max(760px, 90svh);
  }

  .hex-excursions-hero__content {
    margin: 8rem auto 3rem;
  }

  .hex-excursions-hero__content h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hex-excursions-main section {
    padding: 3.2rem 0;
  }

  .hex-excursions-cta__inner {
    padding: 2rem 1.25rem;
  }

  .hex-gallery-modal {
    padding: 0.8rem;
  }

  .hex-gallery-modal__dialog {
    padding: 1rem;
    border-radius: 24px;
  }

  .hex-gallery-modal__nav {
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
  }
}

@media (max-width: 520px) {
  .hex-excursions-shell .hex-container,
  .hex-excursions-shell .hex-footer .hex-container,
  .hex-excursions-shell .hex-excursions-hero__content {
    width: calc(100% - 1rem);
  }

  .hex-excursions-shell .hex-nav {
    width: calc(100% - 1rem);
    margin: 0 auto;
    padding: 0.65rem 0.5rem 0;
  }

  .hex-excursions-hero__chips {
    gap: 0.45rem;
  }

  .hex-excursions-hero__chips span {
    min-height: 36px;
    padding: 0.5rem 0.75rem;
    font-size: 0.68rem;
  }

  .hex-excursion-tour__actions,
  .hex-excursions-cta__actions,
  .hex-excursions-boat-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hex-rental-gallery__main {
    border-radius: 22px;
  }

  .hex-rental-gallery__thumbs {
    gap: 0.45rem;
  }

  .hex-gallery-modal__figure img {
    max-height: 62vh;
  }
}

/* Align virtual page hero treatment with the front page. */
.hex-excursions-hero {
  min-height: 100vh;
  min-height: 100svh;
}

.hex-excursions-shell .hex-excursions-hero__content {
  display: flex;
  min-height: calc(100svh - 78px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vh, 5.6rem) 0 clamp(1.15rem, 3vh, 2rem);
}

.hex-excursions-hero__content h1 {
  font-family: "HexMontserrat", "DM Sans", system-ui, -apple-system, sans-serif !important;
  font-size: clamp(3rem, 5.2vw, 5.3rem);
  font-weight: 700;
}

@media (max-width: 800px) {
  .hex-excursions-shell .hex-excursions-hero__content {
    min-height: calc(100svh - 72px);
    padding: 4.2rem 0 2.1rem;
  }

  .hex-excursions-hero__content h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }
}
