/* =====================================================
   FILE: templates.css

   PURPOSE:
   Page, archive and template-specific styling.

   THIS FILE COVERS:
   - Homepage sections
   - Tour archive layout
   - Single tour layout
   - Destination or category archive layouts
   - About page
   - Contact page
   - Footer layout if site-specific
   - Header layout if site-specific
   - One-off page sections
   - Template-specific responsive adjustments

   NOTES:
   Use this file for styles that belong to a specific
   page, template or layout rather than a reusable component.
===================================================== */
/* ==================================================
   Homepage Hero
================================================== */

.home-hero {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;

  width: 100%;

  height: calc(100vh - 7.8rem);
  height: calc(100svh - 7.8rem);

  min-height: 38rem;

  margin: 0;
  padding: 0 !important;

  overflow: clip;

  background-color: var(--color-bg-teal-3);
  color: var(--color-text-dark-bg);
}


/* ==================================================
   Homepage Hero: Media
================================================== */

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.home-hero__video {
  position: absolute !important;
  inset: 0;

  width: 100% !important;
  height: 100% !important;

  overflow: hidden;

  border-radius: 0 !important;
}


.home-hero__video video {
  display: block;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  aspect-ratio: auto !important;

  object-fit: cover !important;
  object-position: center center;

  border-radius: 0 !important;

  pointer-events: none;
}


/* ==================================================
   Homepage Hero: Overlay
================================================== */

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:

    /* Top:
       stronger behind navigation + hero copy */

    linear-gradient(
      to bottom,
      rgb(0 0 0 / 0.60) 0%,
      rgb(0 0 0 / 0.46) 12%,
      rgb(0 0 0 / 0.28) 24%,
      rgb(0 0 0 / 0.12) 34%,
      rgb(0 0 0 / 0) 44%
    ),

    /* Bottom:
       stronger behind large brand */

    linear-gradient(
      to bottom,
      rgb(0 0 0 / 0) 54%,
      rgb(0 0 0 / 0.08) 64%,
      rgb(0 0 0 / 0.20) 75%,
      rgb(0 0 0 / 0.36) 88%,
      rgb(0 0 0 / 0.52) 100%
    );

  pointer-events: none;
}


/* ==================================================
   Homepage Hero: Content
================================================== */

.home-hero__content.brxe-container {
  position: relative;
  z-index: 2;

  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;

  width: 100%;
  max-width: none;
  min-height: 0;

  margin:
    8rem
    auto
    0;

  padding:
    0
    0
    clamp(0.75rem, 1vw, 1.25rem);
}


/* ==================================================
   Homepage Hero: Copy
================================================== */

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;

  width:
    calc(
      100% - (var(--site-gutter) * 2)
    );

  max-width: 72rem !important;

  gap: 0.8rem;

  margin: 0 auto;

  text-align: center;

  opacity: 0;
  transform: translateY(1rem);

  transition:
    opacity
    1.1s
    cubic-bezier(0.22, 1, 0.36, 1),

    transform
    1.1s
    cubic-bezier(0.22, 1, 0.36, 1);
}


.home-hero__copy .eyebrow {
  width: 100%;

  margin: 0;

  text-align: center;

  color: var(--color-text-dark-bg);
}


.home-hero__heading {
  width: 100%;
  max-width: 48rem !important;

  margin: 0 auto;

  text-align: center;

  font-size:
    clamp(1.95rem, 1.55rem + 1.35vw, 2.75rem);

  line-height: 1;

  color: var(--color-text-dark-bg);
}


/* ==================================================
   Homepage Hero: Brand
================================================== */

.home-hero__brand {
  --brand-scroll-progress: 0;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  width: 100%;
  max-width: none;

  margin-top: auto;

  padding-inline:
    clamp(
      0.75rem,
      1vw,
      1.25rem
    );

  opacity: 0;
  transform: translateY(3rem);

  transition:
    opacity
    1.65s
    cubic-bezier(0.22, 1, 0.36, 1)
    150ms,

    transform
    1.65s
    cubic-bezier(0.22, 1, 0.36, 1)
    150ms;
}


/* Bricks image element */

.home-hero__brand-img {
  display: block;

  width: 100% !important;
  max-width: none !important;

  margin: 0;

  will-change:
    opacity,
    filter;
}


/* Actual image / SVG */

.home-hero__brand-img img,
.home-hero__brand img,
.home-hero__brand svg {
  display: block;

  width: 100% !important;
  max-width: none !important;
  height: auto;

  margin: 0;
}


/* ==================================================
   Homepage Hero: Entrance
================================================== */

body.home-hero-ready .home-hero__copy,
body.home-hero-ready .home-hero__brand {
  opacity: 1;
  transform: translateY(0);
}


/* ==================================================
   Homepage Hero: Tablet
================================================== */

@media (min-width: 768px) and (max-width: 991px) {

  .home-hero__content.brxe-container {
    margin-top: 7rem;
  }


  .home-hero__copy {
    width:
      calc(
        100% - (var(--site-gutter) * 2)
      );

    max-width: 60rem !important;

    gap: 0.7rem;
  }


  .home-hero__heading {
    max-width: 60rem !important;

    font-size:
      clamp(
        2.4rem,
        1.5rem + 3vw,
        3.5rem
      );

    line-height: 1;
  }


  .home-hero__brand {
    padding-inline: 1rem;
  }

}


/* ==================================================
   Homepage Hero: Phone
================================================== */

@media (max-width: 767px) {

  .home-hero {
    min-height: 34rem;
  }


  .home-hero__content.brxe-container {
    align-items: center;

    margin-top: 5.8rem;

    padding:
      0
      0
      0.65rem;
  }


  .home-hero__copy {
    width: calc(100% - 2rem);
    max-width: 36rem !important;

    gap: 0.6rem;

    margin: 0 auto;

    text-align: center;
  }


  .home-hero__copy .eyebrow {
    text-align: center;
  }


  .home-hero__heading {
    width: 100%;
    max-width: 36rem !important;

    margin: 0 auto;

    text-align: center;

    font-size:
    clamp(
      1.65rem,
      5.8vw,
      2.1rem
    );

    line-height: 0.98;
  }


  .home-hero__brand {
    width: 100%;

    padding-inline: 0.65rem;
    padding-bottom: 2rem;

    box-sizing: border-box;
  }


  .home-hero__overlay {
    background:

      /* Top */

      linear-gradient(
        to bottom,
        rgb(0 0 0 / 0.66) 0%,
        rgb(0 0 0 / 0.50) 15%,
        rgb(0 0 0 / 0.30) 28%,
        rgb(0 0 0 / 0.12) 40%,
        rgb(0 0 0 / 0) 50%
      ),

      /* Bottom */

      linear-gradient(
        to bottom,
        rgb(0 0 0 / 0) 56%,
        rgb(0 0 0 / 0.08) 66%,
        rgb(0 0 0 / 0.22) 78%,
        rgb(0 0 0 / 0.38) 90%,
        rgb(0 0 0 / 0.54) 100%
      );
  }

}


/* ==================================================
   Homepage Hero: Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {

  .home-hero__copy,
  .home-hero__brand {
    opacity: 1;
    transform: none;
    transition: none;
  }


  .home-hero__brand-img {
    opacity: 1 !important;
    filter: none !important;

    will-change: auto;
  }

}



/* ==================================================
   Homepage Hero: Finder
================================================== */

.home-tour-finder--hero {
  width: 100%;

  margin-top: auto;
}

/* ==================================================
   Homepage Tour Finder
================================================== */

.home-tour-finder {
  position: relative;
  z-index: 3;

  flex: 0 0 auto;

  width: 100%;
  max-width: none !important;
  min-width: 0;

  margin: 0;
  padding: 0;
}

.home-tour-finder__shortcode,
.home-tour-finder__shortcode > * {
  width: 100%;
  margin: 0;
}

.home-tour-finder__form {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr))
    minmax(180px, 220px);
  align-items: stretch;
  gap: 0;

  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;

  background-color: rgba(0, 0, 0, 0.15);

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}


/* Fields */

.home-tour-finder__field {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;

  min-width: 0;
  margin: 0;
  padding:
    clamp(1rem, 1.4vw, 1.35rem)
    clamp(1rem, 1.5vw, 1.75rem);
}


/* Internal dividers */

.home-tour-finder__field:not(:first-child)::before {
  content: "";

  position: absolute;
  inset-block: 0;
  left: 0;

  width: 1px;

  background: rgba(255, 255, 255, 0.6);
}


/* Labels */

.home-tour-finder__field label {
  margin: 0;

  color: var(--color-text-dark-bg);

  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: var(--lh-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* Selects */

.home-tour-finder__field select {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 2rem 0 0;

  background-color: transparent;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      currentColor 50%
    ),
    linear-gradient(
      135deg,
      currentColor 50%,
      transparent 50%
    );

  background-position:
    calc(100% - 0.65rem) 52%,
    calc(100% - 0.3rem) 52%;

  background-repeat: no-repeat;
  background-size: 0.4rem 0.4rem;

  border: 0;
  border-radius: 0;
  box-shadow: none;

  color: var(--color-text-dark-bg);

  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.2;

  cursor: pointer;
}

.home-tour-finder__field select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 0.35rem;
}


/* Submit */

.home-tour-finder__submit {
  appearance: none;
  -webkit-appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 1rem 1.5rem;

  background-color: #e59a38;
  background-image: linear-gradient(
    to right,
    #e59a38 0 50%,
    #ebb360 50% 100%
  );
  background-position: left center;
  background-size: 200% 100%;

  border: 0;
  border-radius: 0;
  box-shadow: none;

  color: #043235;

  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-align: center;

  cursor: pointer;

  transition:
    background-position var(--motion-speed) var(--motion-ease),
    color var(--motion-speed) var(--motion-ease);
}

.home-tour-finder__submit:hover,
.home-tour-finder__submit:focus-visible {
  background-position: right center;
  color: #043235;
}


/* Tablet remains four columns */

@media (min-width: 768px) and (max-width: 991px) {
  .home-tour-finder__form {
    grid-template-columns:
      repeat(3, minmax(0, 1fr))
      minmax(145px, 175px);
  }

  .home-tour-finder__field {
    padding-inline: clamp(0.8rem, 1.8vw, 1.2rem);
  }

  .home-tour-finder__field select,
  .home-tour-finder__submit {
    font-size: var(--text-small);
  }
}

/* ==================================================
   Homepage Hero Finder: Entrance
================================================== */

@keyframes home-finder-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hidden immediately on page load */

.home-hero .home-tour-finder--hero {
  opacity: 0;
  transform: translateY(0.75rem);
  animation: none;
}


/* Reveal only after hero is ready */

body.home-hero-ready
  .home-hero
  .home-tour-finder--hero {
  animation:
    home-finder-in
    0.85s
    var(--motion-ease)
    0.75s
    both;
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  .home-hero .home-tour-finder--hero {
    opacity: 1;
    transform: none;
    animation: none;
  }

}

/* ==================================================
   Homepage Introduction
================================================== */

.home-intro {
  position: relative;

  padding-top: var(--section-space-y-large);
  padding-bottom: var(--section-space-y-large);

  background: var(--color-bg-sand);
  color: var(--color-text-light-bg);
}

.home-intro__inner.brxe-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;
  max-width: none;

  margin: 0;
  padding:
    0
    var(--site-gutter);
}


/* ==================================================
   Homepage Introduction: Heading
================================================== */

.home-intro__heading {
  width: 100%;
  max-width: 1100px;

  margin: 0;

  font-family: var(--font-martina);
	font-weight:var(--weight-light);
	font-size: clamp(2.3rem, 1.65rem + 3.28vw, 4.6rem);
  line-height: var(--lh-heading-standard);
  letter-spacing: var(--ls-heading-loose);

  text-transform: none !important;
	text-align:center;
}


/* ==================================================
   Homepage Introduction: Lower Content
================================================== */

.home-intro__lower {
  display: flex;
  justify-content: flex-end;

  width: 100%;

  margin-top: clamp(2.5rem, 4vw, 5rem);
}

.home-intro__text {
  width: 100%;
  max-width: 900px;

  margin: 0;

  text-align: right;
}

.home-intro__text > *:first-child {
  margin-top: 0;
}

.home-intro__text > *:last-child {
  margin-bottom: 0;
}


/* ==================================================
   Homepage Introduction: Entrance Sequence
================================================== */

.home-intro__heading.scroll-content-in {
  --scroll-animation-delay: 0.2s;
}

.home-intro__text.scroll-content-in {
  --scroll-animation-delay: 0.5s;
}


/* ==================================================
   Homepage Intro: Tablet
================================================== */

@media (min-width: 768px) and (max-width: 991px) {

  .home-intro > .content-inner--narrow {
    width: 85%;
    max-width: none;

    margin-inline: auto;

    align-items: center;
  }

  .home-intro > .content-inner--narrow > .home-intro__heading {
    width: 100%;

    margin-inline: auto;

    text-align: center !important;
  }
}

/* ==================================================
   Homepage Intro: Phone Alignment
================================================== */

@media (max-width: 767px) {

  .home-intro .content-inner--narrow {
    margin-inline: 0;

    text-align: left;
  }

  .home-intro__heading {
    text-align: left;
  }
}

/* Homepage intro uses dark text on sand */

.home-intro__text,
.home-intro__text p {
  color: var(--color-text-light-bg) !important;
}

.home-intro__text a {
  color: var(--color-text-light-bg) !important;
}

/* ==================================================
   Homepage Featured Tours
================================================== */

.home-featured {
  position: relative;

  width: 100%;

  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);

  overflow-x: clip;
  overflow-y: visible;

  background: var(--color-bg-dark-sand);
  color: var(--color-text-light-bg);
}


/* ==================================================
   Homepage Featured Tours: Header
================================================== */

.section__header {
  width: 100%;
}

.section__heading-group {
  width: 100%;

  margin-bottom:
    max(
      1.5rem,
      calc(clamp(3rem, 5vw, 6rem) - 45px)
    );
}

.section__heading {
  margin: 0;
	font-size: var(--text-display);
}

.section__intro {
  width: 100%;
  max-width: 700px;
}


/* ==================================================
   Homepage Featured Tours: Carousel Shell
================================================== */

.home-featured__carousel-shell {
  --home-featured-gap: clamp(2rem, 2.5vw, 3rem);
  --home-featured-per-view: 3.5;

  position: relative;

  width: 100%;
  max-width: none;

  margin: 0;
  padding-inline: var(--site-gutter);
}


/* ==================================================
   Homepage Featured Tours: Slider
================================================== */

.home-featured__slider {
  position: relative;

  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  overflow: visible;
}


/*
Clip the Splide track on every device.

This prevents the previous card from appearing at the
left edge while retaining the partial next card inside
the visible carousel width.
*/

.home-featured__slider .splide__track {
  height: auto !important;

  margin: 0;
  padding: 0;

  overflow: visible !important;
}

.home-featured__slider .splide__list {
  align-items: stretch;

  height: auto !important;

  margin:
    0
    calc(var(--home-featured-gap) * -1)
    0
    0 !important;

  padding: 0 !important;
}


/* ==================================================
   Homepage Featured Tours: Slides
================================================== */

.home-featured__slider .splide__slide,
.home-featured__slide {
  flex:
    0
    0
    calc(100% / var(--home-featured-per-view)) !important;

  width:
    calc(100% / var(--home-featured-per-view)) !important;

  max-width:
    calc(100% / var(--home-featured-per-view)) !important;

  height: auto !important;
  min-width: 0;

  margin: 0 !important;

  padding:
    0
    var(--home-featured-gap)
    0
    0;

  box-sizing: border-box;

  background: var(--color-bg-dark-sand);
}


/*
Allow each tour card component to fill the complete
height of its slide.
*/

.home-featured__slide > *,
.home-featured__slide .tour-card-simple {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

/* ==================================================
   Homepage Experience Slider
================================================== */

.home-experience .home-featured__slider .splide__slide,
.home-experience .home-featured__slide {
  background: var(--color-accent);
}


/* ==================================================
   Homepage Featured Tours: Navigation
================================================== */

.home-featured__slider .splide__arrows {
  position: absolute;
  right: 0;
  left: auto;

  bottom:
    calc(
      100%
      + var(--home-featured-gap)
    );

  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;

  width: auto;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  box-shadow: none;
}


/* ==================================================
   Homepage Featured Tours: Circular Controls
================================================== */

.home-featured__slider .splide__arrow {
  appearance: none;
  -webkit-appearance: none;

  position: static;

  display: grid;
  place-items: center;

  width: clamp(3.5rem, 4vw, 4rem);
  height: clamp(3.5rem, 4vw, 4rem);

  margin: 0;
  padding: 0;

  border: 1.5px solid var(--color-bg-teal-3);
  border-radius: 50%;

  background: var(--color-bg-teal-3);
  color: var(--color-bg-sand);

  box-shadow: none;

  opacity: 1;
  transform: none;

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  cursor: pointer;

  transition:
    color 0.3s var(--motion-ease),
    background-color 0.3s var(--motion-ease),
    border-color 0.3s var(--motion-ease),
    transform 0.3s var(--motion-ease),
    opacity 0.3s var(--motion-ease);
}


/* ==================================================
   Homepage Featured Tours: Remove Native Icons
================================================== */

.home-featured__slider .splide__arrow > *,
.home-featured__slider .splide__arrow i,
.home-featured__slider .splide__arrow svg {
  display: none !important;
}


/* ==================================================
   Homepage Featured Tours: Custom Arrow Icons
================================================== */

.home-featured__slider .splide__arrow::before {
  display: block;

  font-family: "themify";
  font-size: 1.35rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;

  color: currentColor;

  -webkit-text-stroke: 0.4px currentColor;

  speak: none;
}

.home-featured__slider
  .splide__arrow--prev::before {
  content: "\e64a";
}

.home-featured__slider
  .splide__arrow--next::before {
  content: "\e649";
}


/* ==================================================
   Homepage Featured Tours: Hover / Focus
================================================== */

.home-featured__slider .splide__arrow:hover,
.home-featured__slider .splide__arrow:focus-visible {
  background: rgba(4, 50, 53, 0.12);
  border-color: var(--color-bg-teal-3);

  color: var(--color-bg-teal-3);
}

.home-featured__slider
  .splide__arrow--prev:hover,
.home-featured__slider
  .splide__arrow--prev:focus-visible {
  transform: translateX(-0.15rem);
}

.home-featured__slider
  .splide__arrow--next:hover,
.home-featured__slider
  .splide__arrow--next:focus-visible {
  transform: translateX(0.15rem);
}


/* ==================================================
   Homepage Featured Tours: Disabled
================================================== */

.home-featured__slider .splide__arrow:disabled {
  opacity: 0.3;

  background: var(--color-bg-teal-3);
  border-color: var(--color-bg-teal-3);

  color: var(--color-bg-sand);

  cursor: default;
  transform: none;
}

.home-featured__slider .splide__arrow:disabled:hover,
.home-featured__slider .splide__arrow:disabled:focus-visible {
  background: var(--color-bg-teal-3);
  border-color: var(--color-bg-teal-3);

  color: var(--color-bg-sand);

  transform: none;
}


/* ==================================================
   Homepage Featured Tours: Desktop
================================================== */

@media (min-width: 1025px) {

  .home-featured__slider .splide__arrows {
    right: 0;
    left: auto;

    bottom:
      calc(
        100%
        + var(--home-featured-gap)
      );
  }
}


/* ==================================================
   Homepage Featured Tours: Tablet
================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

  .home-featured__slider .splide__arrows {
    right: 0;
    left: auto;

    bottom:
      calc(
        100%
        + var(--home-featured-gap)
        + 20px
      ) !important;

    justify-content: flex-end;

    gap: 1rem;
  }

  .home-featured__slider .splide__arrow {
    width: 3.75rem;
    height: 3.75rem;
  }

  .home-featured__slider
    .splide__arrow::before {
    font-size: 1.35rem;
  }
}


/* ==================================================
   Homepage Featured Tours: Phone
================================================== */

@media (max-width: 767px) {

  .home-featured__slider {
    position: relative;

    padding-top: 4.5rem;
  }

  .home-featured__slider .splide__arrows {
    position: absolute !important;

    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;

    z-index: 5;

    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    width: auto;

    margin: 0 !important;
    padding: 0 !important;

    gap: 0.85rem;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .home-featured__slider .splide__arrow {
    width: 3.5rem;
    height: 3.5rem;
  }

  .home-featured__slider
    .splide__arrow::before {
    font-size: 1.25rem;
  }
}


/* ==================================================
   Homepage Featured Tours: Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {

  .home-featured__slider .splide__arrow {
    transition: none;
  }

  .home-featured__slider
    .splide__arrow--prev:hover,
  .home-featured__slider
    .splide__arrow--prev:focus-visible,
  .home-featured__slider
    .splide__arrow--next:hover,
  .home-featured__slider
    .splide__arrow--next:focus-visible {
    transform: none;
  }
}

/* ==================================================
   Homepage Featured Tours: Pagination
================================================== */

.home-featured__slider .splide__pagination {
  position: relative !important;
  inset: auto !important;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;

  width: 100%;

  margin:
    clamp(2rem, 3vw, 3rem)
    0
    0;

  padding: 0;
}

.home-featured__slider
  .splide__pagination__page {
  width: 0.75rem;
  height: 0.75rem;

  margin: 0;

  background: var(--color-bg-teal-3);

  border: 0;
  border-radius: 999px;

  opacity: 0.35;
  transform: none;

  transition:
    opacity 250ms ease,
    transform 250ms ease;
}

.home-featured__slider
  .splide__pagination__page.is-active {
  opacity: 1;
  transform: scale(1.15);
}


/* ==================================================
   Homepage Featured Tours: Desktop
================================================== */

@media (min-width: 1025px) {
  .home-featured__slider .splide__arrows {
    right: 0;
    left: auto;

    bottom:
      calc(
        100%
        + var(--home-featured-gap)
      );
  }
}


/* ==================================================
   Homepage Featured Tours: Tablet
================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .home-featured {
    --featured-tablet-heading-shift: 30px;
  }

  .home-featured__carousel-shell {
    --home-featured-gap: clamp(1.75rem, 3vw, 2.5rem);
    --home-featured-per-view: 2.5;
  }

  .home-featured .section__heading-group {
    margin-bottom:
      calc(
        clamp(3rem, 5vw, 4.5rem)
        + var(--featured-tablet-heading-shift)
      ) !important;

    transform:
      translateY(
        var(--featured-tablet-heading-shift)
      ) !important;
  }

  /*
  Leave space beside the intro so the controls
  do not overlap the copy.
  */

  .home-featured .section__intro {
    max-width: calc(100% - 11rem);
  }

  /*
  Right aligned and slightly higher on tablet.
  */

  .home-featured__slider .splide__arrows {
    right: 0;
    left: auto;

    bottom:
      calc(
        100%
        + var(--home-featured-gap)
        + 20px
      ) !important;

    justify-content: flex-end;

    gap: 1rem;
  }

  .home-featured__slider .splide__arrow {
    width: 3.75rem;
    height: 3.75rem;
  }

  .home-featured__slider
    .splide__arrow::before {
    font-size: 1.35rem;
  }
}


/* ==================================================
   Homepage Featured Tours: Phone
================================================== */

@media (max-width: 767px) {
  .home-featured__carousel-shell {
    --home-featured-gap: 1.5rem;
    --home-featured-per-view: 1.12;
  }

  /*
  Small gap after intro copy.
  */

  .home-featured .section__heading-group {
    margin-bottom: 1.25rem;
  }

  /*
  Create a dedicated row above the carousel cards
  for the navigation controls.
  */

  .home-featured__slider {
    position: relative;

    padding-top: 4.5rem;
  }

  /*
  Pull Splide's arrow wrapper out of its DOM position
  and place it in the space above the track.
  */

  .home-featured__slider .splide__arrows {
    position: absolute !important;

    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;

    z-index: 5;

    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    width: auto;

    margin: 0 !important;
    padding: 0 !important;

    gap: 0.85rem;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .home-featured__slider .splide__arrow {
    width: 3.5rem;
    height: 3.5rem;
  }

  .home-featured__slider
    .splide__arrow::before {
    font-size: 1.25rem;
  }

  .home-featured__slider .splide__pagination {
    justify-content: flex-start;

    margin-top: 2rem;
    padding-right: var(--site-gutter);
  }
	
	.home-featured__slider.brxe-slider-nested,
  .home-featured__slider .splide__arrows {
    background-color: var(--color-bg-teal-1) !important;
  }
}

/* ==================================================
   Tour Card: Slider Rendering
================================================== */

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  /*
  Keep the image and overlaid content on separate,
  consistently ordered compositor layers.
  */

  .home-featured__slider .tour-card__media {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    transform: translate3d(0, 0, 0);
  }

  .home-featured__slider .tour-card__content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    transform: translate3d(0, 0, 1px);
  }

  /*
  Disable image hover zoom on touch and tablet widths.
  */

  .home-featured__slider .tour-card__image,
  .home-featured__slider .tour-card:hover .tour-card__image,
  .home-featured__slider .tour-card:focus-within .tour-card__image {
    transform: scale(1) !important;
    transition: none !important;
    will-change: auto;
  }
}

/* ==================================================
   Homepage: Explore By Experience
================================================== */

.home-tour-type {
  --home-tour-type-height:
    clamp(50rem, 64vw, 66rem);
}


/* ==================================================
   Inner Container
================================================== */

/*
   Bricks Container handles site width + global gutters.
   Keep this wrapper structural only.
*/

.home-tour-type__inner {
  width: 100%;
}


/* ==================================================
   Experience Accordion
================================================== */

.home-tour-type .home-tour-type__accordion {
  /* Match tour-card height */
  --info-accordion-min-height:
    var(--home-tour-type-height);

  /* Homepage image treatment */
  --info-accordion-radius:
    var(--radius-media);

  --info-accordion-overlay:
    0.35;

  --info-accordion-content-padding:
    clamp(1.5rem, 2.5vw, 2.5rem);

  width: 100%;
}


/* ==================================================
   Accordion Items
================================================== */

.home-tour-type .info-accordion__item {
  min-height:
    var(--home-tour-type-height);

  /*
     Panels reveal on hover but do not navigate,
     so don't advertise them as clickable.
  */
  cursor: default;
}


/* ==================================================
   Media
================================================== */

.home-tour-type .info-accordion__media img {
  object-position: center center;
}


/* ==================================================
   Titles
================================================== */

.home-tour-type .home-tour-type__title {
  width: 100%;

  margin: 0;

  font-size: var(--text-h4);
	font-weight:var(--weight-body);
  line-height: var(--lh-heading-tight);

  color: var(--color-text-dark-bg);
}

/* Compressed accordion range */

@media (min-width: 980px) and (max-width: 1300px) {

  .home-tour-type .home-tour-type__title {
    font-size: var(--text-h5);
  }

}


/* ==================================================
   Reveal Content
================================================== */

.home-tour-type .home-tour-type__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  gap: clamp(1.25rem, 1.8vw, 1.75rem);

  color: var(--color-text-dark-bg);
}


/* ==================================================
   Blurb
================================================== */

.home-tour-type .home-tour-type__blurb {
  width: 100%;
  max-width: none;

  margin: 0;

  color: inherit;
}

.home-tour-type .home-tour-type__blurb > *:first-child {
  margin-top: 0;
}

.home-tour-type .home-tour-type__blurb > *:last-child {
  margin-bottom: 0;
}


/* ==================================================
   CTA
================================================== */

.home-tour-type .home-tour-type__action {
  align-self: stretch !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;

  color:
    var(--color-text-light-bg) !important;

  text-align: center;

  cursor: pointer;

  pointer-events: auto;
}

/*
   Bricks can apply colour to inner button text,
   so force it to inherit the dark teal.
*/

.home-tour-type .home-tour-type__action * {
  color: inherit !important;
}

.home-tour-type .home-tour-type__action:hover,
.home-tour-type .home-tour-type__action:focus-visible {
  color: var(--color-text-dark-bg) !important;
}

.home-tour-type .home-tour-type__action:hover *,
.home-tour-type .home-tour-type__action:focus-visible * {
  color: inherit !important;
}


/* ==================================================
   Desktop
================================================== */

@media (min-width: 992px) {

  /*
     Base info accordion limits body copy to 75%.
     Homepage version uses the full available
     width between the content insets.
  */

  .home-tour-type .info-accordion__body {
    left:
      var(--info-accordion-content-padding);

    right:
      var(--info-accordion-content-padding);

    width: auto;
    max-width: none;
  }

  /*
     Keep hidden CTAs keyboard reachable.
     Opacity and pointer-events still control
     their visual/interactable state until active.
  */

  .home-tour-type .info-accordion__body {
    visibility: visible;
  }

}


/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) and (max-width: 991px) {

  .home-tour-type .home-tour-type__accordion {
    display: grid !important;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: var(--info-accordion-gap);
  }

  .home-tour-type .info-accordion__item,
  .home-tour-type .info-accordion__item.is-active {
    width: 100% !important;
    min-width: 0 !important;

    flex: none !important;

    min-height:
      var(--home-tour-type-height);
  }
	
	.home-tour-type .home-tour-type__title {
  font-size: var(--text-h3);
}

}

/* ==================================================
   Phone
================================================== */

@media (max-width: 767px) {

  .home-tour-type {
    --home-tour-type-height: 50rem;
  }
	
	.home-tour-type .home-tour-type__title {
  font-size: var(--text-h3);
}

}

/* ==================================================
   Homepage: Why Navigate
================================================== */

.home-why {
  --home-why-row-height: clamp(190px, 14vw, 250px);
  --home-why-thumb-width: clamp(130px, 10vw, 180px);
  --home-why-column-gap: clamp(40px, 5vw, 100px);

  padding-block: clamp(90px, 8vw, 150px);
}


/* ==================================================
   Heading
================================================== */

.home-why__heading {
  width: 100%;

  margin: 0;
}


/* ==================================================
   Main Layout
================================================== */

.home-why__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.42fr)
    minmax(0, 0.58fr);

  gap: var(--home-split-column-gap);

  width: 100%;
  margin-top: clamp(30px, 3vw, 48px);

  align-items: start;
}


/* ==================================================
   Why Navigate Reasons
================================================== */

.home-why__reasons {
  display: grid;
  grid-template-rows: repeat(3, var(--home-why-row-height));

  min-width: 0;
}

.home-why__reason {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    var(--home-why-thumb-width);

  gap: clamp(24px, 3vw, 48px);

  align-items: center;

  min-height: 0;

  padding:
  clamp(12px, 1.5vw, 22px)
  0
  clamp(28px, 2.5vw, 38px);

  border-bottom: 1px solid rgba(4, 50, 53, 0.2);
}

.home-why__reason:first-child {
  border-top: 1px solid rgba(4, 50, 53, 0.2);
}


/* ==================================================
   Reason Copy
================================================== */

.home-why__reason-copy {
  display: flex;
  flex-direction: column;

  gap: 0.65rem;

  min-width: 0;
}

.home-why__reason-title {
  margin: 0;

  color: var(--color-text-light-bg, #043235);
}

.home-why__reason-text {
  max-width: 34ch;

  margin: 0;
  padding-top: 6px;

  color: var(--color-text-light-bg, #043235);

  font-size: var(--text-body-small);
  line-height: var(--lh-body);
}


/* ==================================================
   Reason Images
================================================== */

.home-why__reason-media {
  width: 100%;
  min-width: 0;

  aspect-ratio: 1 / 1;
  overflow: hidden;

  border-radius: var(--radius-small);
}

.home-why__reason-media > img.home-why__reason-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: inherit;
}


/* ==================================================
   Testimonial Column
================================================== */

.home-why__testimonial {
  display: flex;
  flex-direction: column;

  min-width: 0;
}


/*
   Approx. height of 1.5 Why Navigate rows.
   This should make the large image finish around
   halfway through the second reason.
*/

.home-why__testimonial-media {
  width: 100%;

  height: calc(var(--home-why-row-height) * 2);

  overflow: hidden;

  border-radius: var(--radius-media, 30px);
}

.home-why__testimonial-image,
.home-why__testimonial-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* ==================================================
   Testimonial Slider
================================================== */

.home-why__testimonial-slider {
  width: 100%;

  padding-top: clamp(30px, 3vw, 50px);
}

.home-why__slider {
  width: 100%;
  min-width: 0;
}

.home-why__slider .splide__track {
  overflow: hidden;
}

.home-why__slider .splide__list {
  align-items: stretch;
}

.home-why__slide {
  display: flex;
  flex-direction: column;

  gap: clamp(22px, 2vw, 32px);

  width: 100%;
  min-width: 0;
  height: auto !important;
}


/* ==================================================
   Testimonial Copy
================================================== */

.home-why__quote {
  max-width: 32ch;

  margin: 0;

  font-family: var(--font-martina);
  font-size: clamp(1.7rem, 2.1vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: var(--ls-heading-loose);

  color: var(--color-text-light-bg, #043235);
}

.home-why__meta {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0;

  width: 100%;

  margin-top: auto;

  text-align: center;
}

/* ==================================================
   Homepage Why Navigate: Small Desktop
================================================== */

@media (min-width: 992px) and (max-width: 1200px) {

  .home-why {
    --home-why-row-height: 220px;
    --home-why-thumb-width: 140px;
    --home-why-column-gap: 40px;
  }

  .home-why__reason {
    gap: 28px;
    padding-block: 24px;
  }

}


/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) and (max-width: 991px) {

  .home-why {
    --home-why-row-height: clamp(165px, 20vw, 205px);
    --home-why-thumb-width: clamp(105px, 14vw, 135px);
    --home-why-column-gap: clamp(28px, 4vw, 50px);
  }

  .home-why__grid {
    grid-template-columns:
      minmax(0, 0.46fr)
      minmax(0, 0.54fr);
  }

  .home-why__reason {
    gap: 22px;

    padding-block: 20px;
  }

  .home-why__reason-text {
    font-size: var(--text-body-small);
  }

  .home-why__quote {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  }

}


/* ==================================================
   Phone
================================================== */

@media (max-width: 767px) {

  .home-why {
    --home-why-thumb-width: clamp(90px, 27vw, 120px);

    padding-block: 70px;
  }

  .home-why__heading {
    max-width: none;
  }

  .home-why__grid {
    display: flex;
    flex-direction: column;

    gap: 50px;

    margin-top: 42px;
  }


  /* Reasons */

  .home-why__reason {
    grid-template-columns:
      minmax(0, 1fr)
      var(--home-why-thumb-width);

    gap: 20px;

    min-height: 0;

    padding-block: 22px;
  }

  .home-why__reason-text {
    max-width: none;
  }

  .home-why__reason-media {
    border-radius: 10px;
  }


  /* Testimonial */

  .home-why__testimonial-media {
    height: auto;

    aspect-ratio: 4 / 3;

    border-radius: var(--radius-media, 20px);
  }

  .home-why__testimonial-slider {
    padding-top: 28px;
  }

  .home-why__quote {
    max-width: none;

    font-size: clamp(1.55rem, 7vw, 2rem);
  }

}

/* ==================================================
   Homepage Map
================================================== */

.home-map__heading {
  align-items: center;
  width: 100%;
  text-align: center;
}

.home-map__intro {
  width: 100%;
  max-width: 34rem;

  margin: 0 auto;

  font-size: var(--text-body);
  line-height: var(--lh-body);

  text-align: center;
}

/* ==================================================
   Homepage Map
================================================== */

.home-map__stage {
  position: relative;

  width: 100%;
  min-height: 80svh;
}

/* --------------------------------------------------
   Visual
-------------------------------------------------- */

.home-map__visual {
  position: relative;

  display: flex;
  justify-content: center;

  width: 100%;

  /* This was the position we liked */
  transform: translateX(-8%);
}

/* --------------------------------------------------
   Map canvas
-------------------------------------------------- */

.home-map__canvas {
  position: relative;

  flex: 0 0 auto;

  /*
   Give the canvas a REAL size rather than asking
   it to shrink-wrap an auto-sized SVG.
  */
  width: min(80svh, 100%);

  /* Map artwork is essentially square */
  aspect-ratio: 1 / 1;
}

/* --------------------------------------------------
   SVG
-------------------------------------------------- */

.home-map__image {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  max-width: none !important;
  max-height: none !important;

  object-fit: contain;

  opacity: 1 !important;
  visibility: visible !important;

  filter: none !important;
}

/* --------------------------------------------------
   Hotspot layer
-------------------------------------------------- */

.home-map__hotspots {
  position: absolute;
  inset: 0;

  z-index: 2;

  pointer-events: none;
}

.home-map__hotspot {
  position: absolute;

  width: 18px;
  height: 18px;

  padding: 0;
  margin: 0;

  border: 0;
  border-radius: 50%;

  background: #e59a38;

  transform: translate(-50%, -50%);

  cursor: pointer;
  pointer-events: auto;

  z-index: 3;

  appearance: none;
  -webkit-appearance: none;

  animation: home-map-hotspot-pulse 2s ease-out infinite;
}

/* Plus sign */

.home-map__hotspot::before,
.home-map__hotspot::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  background: #f6f5e9;

  transform: translate(-50%, -50%);

  border-radius: 999px;
}

.home-map__hotspot::before {
  width: 7px;
  height: 1.5px;
}

.home-map__hotspot::after {
  width: 1.5px;
  height: 7px;
}

/* Hover / focus */

.home-map__hotspot:hover,
.home-map__hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  outline: none;
}

.home-map__hotspot:hover {
  background: #ebb360;
}

.home-map__hotspot:focus-visible {
  box-shadow:
    0 0 0 2px rgba(229, 154, 56, 0.95),
    0 0 0 4px rgba(246, 245, 233, 0.35);
}

/* Pulse animation */

@keyframes home-map-hotspot-pulse {
  0% {
    box-shadow:
      0 0 0 2px rgba(229, 154, 56, 0.95),
      0 0 0 0 rgba(229, 154, 56, 1);
  }

  70% {
    box-shadow:
      0 0 0 2px rgba(229, 154, 56, 0.95),
      0 0 0 12px rgba(229, 154, 56, 0.4);
  }

  100% {
    box-shadow:
      0 0 0 2px rgba(229, 154, 56, 0.95),
      0 0 0 18px rgba(229, 154, 56, 0);
  }
}

.home-map__hotspot[data-location="eden"] {
  left: 51.5%;
  top: 76%;
}
.home-map__hotspot[data-location="green-cape"] {
  left: 59.5%;
  top: 87%;
}
.home-map__hotspot[data-location="pambula"] {
  left: 52%;
  top: 60%;
}
.home-map__hotspot[data-location="merimbula"] {
  left: 54%;
  top: 54%;
}
.home-map__hotspot[data-location="tathra"] {
  left: 58.5%;
  top: 36.5%;
}
.home-map__hotspot[data-location="bermagui"] {
  left: 66%;
  top: 7%;
}
.home-map__hotspot[data-location="brogo"] {
  left: 25%;
  top: 9%;
}
.home-map__hotspot[data-location="tilba"] {
  left: 42.5%;
  top: 1.5%;
}



/* Reveal area */

.home-map__reveal {
  position: absolute;

  top: 50%;
  right: 0;

  width: 30%;
  max-width: 520px;

  transform: translateY(-50%);
}

/* ==================================================
   Homepage Map: Tour Reveal List
================================================== */

.home-map__tour-list {
  width: 100%;
}


/* --------------------------------------------------
   Tour row
-------------------------------------------------- */

.home-map__tour-item {
  width: 100%;

  border-bottom:
    1px solid rgba(246, 245, 233, 0.16);
}

.home-map__tour-item:last-child {
  border-bottom: 0;
}


/* --------------------------------------------------
   Clickable row
-------------------------------------------------- */

.home-map__tour-link {
  display: grid;

  grid-template-columns:
    82px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 1.1rem;

  width: 100%;

  padding:
    0.9rem
    0;

  color:
    var(--color-text-dark-bg);

  text-decoration: none;
}


/* --------------------------------------------------
   Thumbnail
-------------------------------------------------- */

/* --------------------------------------------------
   Tour thumbnail
-------------------------------------------------- */

.home-map__tour-thumb {
  display: block;

  width: 82px;
  height: 82px;

  aspect-ratio: 1 / 1;

  object-fit: cover;
  object-position: center;

  border-radius: 8px !important;

  flex: 0 0 82px;
}

/* --------------------------------------------------
   Tour copy
-------------------------------------------------- */

.home-map__tour-copy {
  display: flex;
  flex-direction: column;

  gap: 0.25rem;

  min-width: 0;
}


/* --------------------------------------------------
   Tour title
-------------------------------------------------- */

.home-map__tour-title {
  margin: 0;

  font-family: var(--font-heading);

  font-size:
    clamp(1.2rem, 1.25vw, 1.45rem);

  font-weight:
    var(--weight-heading-small);

  line-height: 1.08;

  letter-spacing:
    var(--ls-heading);

  color:
    var(--color-text-dark-bg);

  text-transform: none;
}


/* --------------------------------------------------
   Tour summary
-------------------------------------------------- */

.home-map__tour-summary {
  margin: 0;

  color:
    var(--color-text-dark-bg);

  font-family:
    var(--font-body);

  font-size:
    var(--text-small);

  line-height:
    var(--lh-small);

  opacity: 0.68;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
}

/* --------------------------------------------------
   Arrow
-------------------------------------------------- */

.home-map__tour-link::after {
  content: "→";

  display: block;

  font-family:
    var(--font-body);

  font-size: 1.15rem;
  line-height: 1;

  color:
    var(--color-text-dark-bg);

  transition:
    transform 0.25s ease;
}

.home-map__tour-link:hover::after,
.home-map__tour-link:focus-visible::after {
  transform:
    translateX(0.3rem);
}

/* ==================================================
   Homepage Map: Concertina Base State
================================================== */

.home-map__tour-panel {
  width: 100%;

  visibility: hidden;
  pointer-events: none;
}

.home-map__tour-item {
  max-height: 0;

  opacity: 0;
  overflow: hidden;

  transform: translateY(-0.5rem);

  border-bottom-color: transparent;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    transform 0.4s ease,
    border-color 0.3s ease;
}

/* ==================================================
   Homepage Map: Phone
================================================== */

@media (max-width: 767px) {

  /* -----------------------------------------------
     Stage
  ----------------------------------------------- */

  .home-map__stage {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 0;
  }


  /* -----------------------------------------------
     Map visual
  ----------------------------------------------- */

  .home-map__visual {
    width: 100%;
overflow: hidden;
    transform: none;
  }

  .home-map__canvas {
    width: 100%;
    max-width: 560px;

    aspect-ratio: 1 / 1;

    margin-inline: auto;
  }

  /* -----------------------------------------------
     Map: slightly larger on phone
  ----------------------------------------------- */

  .home-map__canvas {
    width: 116%;
    max-width: none;

    aspect-ratio: 1 / 1;

    margin-left: -8%;
    margin-right: -8%;
  }



 /* -----------------------------------------------
     Hotspots: significantly smaller
  ----------------------------------------------- */

  .home-map__hotspot {
    width: 12px;
    height: 12px;

    touch-action: manipulation;

    animation:
      home-map-hotspot-pulse-mobile
      2s
      ease-out
      infinite;
  }


  /* Smaller plus */

  .home-map__hotspot::before {
    width: 5px;
    height: 1.25px;
  }

  .home-map__hotspot::after {
    width: 1.25px;
    height: 5px;
  }
  
   /* Slightly separate the close pair */
  .home-map__hotspot[data-location="merimbula"] {
    left: 54.5%;
    top: 53%;
  }

  .home-map__hotspot[data-location="pambula"] {
    left: 51.5%;
    top: 61%;
  }


 /* Smaller pulse too */

@keyframes home-map-hotspot-pulse-mobile {

  0% {
    box-shadow:
      0 0 0 1.5px rgba(229, 154, 56, 0.95),
      0 0 0 0 rgba(229, 154, 56, 1);
  }

  70% {
    box-shadow:
      0 0 0 1.5px rgba(229, 154, 56, 0.95),
      0 0 0 7px rgba(229, 154, 56, 0.4);
  }

  100% {
    box-shadow:
      0 0 0 1.5px rgba(229, 154, 56, 0.95),
      0 0 0 11px rgba(229, 154, 56, 0);
  }

}


  /* -----------------------------------------------
     Reveal moves BELOW map
  ----------------------------------------------- */

  .home-map__reveal {
    position: relative;

    top: auto;
    right: auto;

    width: 100%;
    max-width: none;

    margin-top: 1.5rem;

    transform: none;
  }


  /* -----------------------------------------------
     Tour rows
  ----------------------------------------------- */

  .home-map__tour-link {
    grid-template-columns:
      72px
      minmax(0, 1fr)
      auto;

    gap: 0.85rem;

    padding:
      0.8rem
      0;
  }


  /* Thumbnail */

  .home-map__tour-thumb {
    width: 72px;
    height: 72px;

    flex: 0 0 72px;

    border-radius: 5px;
  }


  /* Copy */

  .home-map__tour-copy {
    gap: 0.2rem;
  }


  /* Title */

  .home-map__tour-title {
    font-size: 1.1rem;
    line-height: 1.08;
  }


  /* Summary */

  .home-map__tour-summary {
    font-size: var(--text-small);
    line-height: var(--lh-small);

    -webkit-line-clamp: 2;
  }


  /* Arrow */

  .home-map__tour-link::after {
    font-size: 1rem;
  }

}

section.brxe-mbnpek{
  background-color: var(--color-bg-dark-sand) !important;
}

/* ==================================================
   Homepage Reviews
================================================== */

.home-reviews {
  width: 100%;
  background: var(--color-bg-teal-3);

  border-radius: var(--radius-media);
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 72px);
  
}


.home-reviews__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.42fr)
    minmax(0, 0.58fr);

  gap: var(--home-split-column-gap);

  width: 100%;

  align-items: stretch;
}


/* Left grid column */

.home-reviews__heading-col {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}


/* Override global heading-group ONLY here */

.home-reviews__heading-col > .heading-group {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.home-reviews__heading h2 {
  text-transform: none !important;
}

/* -----------------------------------------------
   Right column
------------------------------------------------ */

.home-reviews__content {
  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
}


/* -----------------------------------------------
   Platforms
------------------------------------------------ */

.home-reviews__platforms {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: clamp(30px, 4vw, 64px);

  width: 100%;
}


/* Individual platform */

.home-reviews__platform {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: flex-start;

  gap: 0;

  min-width: 0;

  text-align: center;
}


/* -----------------------------------------------
   Logos
------------------------------------------------ */

.home-reviews__logo {
  display: block;

  width: auto !important;
  max-width: 130px !important;
  height: 30px !important;
  max-height: 30px !important;

  margin: 0 auto 0.7rem;

  object-fit: contain;
}

/* Bricks SVG element */
.home-reviews__logo svg {
  display: block;

  width: auto !important;
  max-width: 130px !important;
  height: 30px !important;
  max-height: 30px !important;
}


/* -----------------------------------------------
   Review Stars
------------------------------------------------ */

.home-reviews__stars {
  display: block;
  width: 7rem;
  height: auto;

  margin: 0.5rem auto 0.6rem;
}

/* -----------------------------------------------
   Rating data
------------------------------------------------ */

.home-reviews__data {
  margin: 0;

  font-family: var(--font-body);
  font-size: var(--text-body-small);
  line-height: var(--lh-body);

  text-align: center;

  color: var(--color-text-dark-bg);
}

.home-reviews__rating {
  font-weight: 600;
}


/* -----------------------------------------------
   Footer
------------------------------------------------ */

.home-reviews__footer {
  width: 100%;

  margin-top: clamp(18px, 2vw, 26px);
  padding-top: clamp(16px, 1.6vw, 22px);

  border-top:
    1px solid
    color-mix(
      in srgb,
      var(--color-text-light-bg) 18%,
      transparent
    );
}

.home-reviews__text {
  margin: 0;

  font-size: var(--text-body-small);
  line-height: var(--lh-body);

  color: var(--color-text-dark-bg);
}

/* ==================================================
   HOMEPAGE: SPECIAL EVENTS
================================================== */

.home-events {
  --home-events-column-gap: var(
    --home-split-column-gap,
    clamp(40px, 5vw, 100px)
  );

  --home-events-row-gap: clamp(1.5rem, 2vw, 2.5rem);
  --home-events-radius: 20px;

  width: 100%;
}


/* ==================================================
   Homepage Special Events: Main Layout
================================================== */

.home-events__grid {
  --home-events-row-height: clamp(190px, 14vw, 250px);
  --home-events-thumb-width: clamp(130px, 10vw, 180px);

  display: grid;

  grid-template-columns:
    minmax(0, 0.58fr)
    minmax(0, 0.42fr);

  gap: var(--home-split-column-gap);

  align-items: stretch;

  width: 100%;
  min-width: 0;

  margin-top: clamp(30px, 3vw, 48px);
}


/* ==================================================
   FEATURED EVENT
================================================== */

.home-events__featured {
  position: relative;

  min-width: 0;
  min-height: 100%;

  overflow: hidden;

  border-radius: var(--home-events-radius);

  background: var(--color-teal-3);
  color: var(--color-text-dark-bg);
}


/* Media
-------------------------------------------------- */

.home-events__featured-media,
.home-events__featured-media figure,
.home-events__featured-media picture,
.home-events__featured-media img {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
}

.home-events__featured-media {
  position: absolute;
  inset: 0;
}

.home-events__featured-media img {
  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition:
    transform 0.9s var(--motion-ease);
}


/* Gradient
-------------------------------------------------- */

.home-events__featured::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.32) 38%,
      rgba(0, 0, 0, 0.06) 72%,
      rgba(0, 0, 0, 0) 100%
    );
}


/* Featured content
-------------------------------------------------- */

.home-events__featured-overlay {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  width: 100%;
  height: 100%;
  min-height: 0;

  padding: clamp(2rem, 3vw, 3.5rem);

  pointer-events: none;
}

.home-events__featured-title {
  max-width: 18ch;

  margin: 0;

  color: var(--color-text-dark-bg);
}

.home-events__featured-meta {
  margin-bottom: 0.8rem;

  color: var(--color-text-dark-bg);

  font-size: var(--text-small);
  font-weight: var(--weight-semi-bold);
  line-height: 1.25;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-events__featured-intro {
  max-width: 48ch;

  margin-top: 1rem;

  color: var(--color-text-dark-bg);

  font-size: var(--text-body-small);
}

.home-events__featured-action {
  margin-top: 1.25rem;

  color: var(--color-text-dark-bg);

  pointer-events: none;
}


/* Full card link
-------------------------------------------------- */

.home-events__featured-link {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: block;

  font-size: 0;
  line-height: 0;
}

.home-events__featured:hover
  .home-events__featured-media img,
.home-events__featured:focus-within
  .home-events__featured-media img {
  transform: scale(1.025);
}


/* ==================================================
   Homepage Special Events: Secondary Events
================================================== */

.home-events__secondary {
  display: grid;

  grid-template-rows:
    repeat(3, var(--home-events-row-height));

  min-width: 0;
  height: 100%;
}



/* ==================================================
   Homepage Special Events: Secondary Item
================================================== */

.home-events__secondary-item {
  position: relative;

  display: grid;

  /*
   Exact mirror of .home-why__reason:
   square image first, copy second.
  */

  grid-template-columns:
    var(--home-events-thumb-width)
    minmax(0, 1fr);

  gap: clamp(24px, 3vw, 48px);

  align-items: center;

  min-height: 0;

  padding:
    clamp(12px, 1.5vw, 22px)
    0
    clamp(28px, 2.5vw, 38px);

  border-bottom:
    1px solid rgba(4, 50, 53, 0.2);
}

.home-events__secondary-item:first-child {
  border-top:
    1px solid rgba(4, 50, 53, 0.2);
}


/* ==================================================
   Homepage Special Events: Secondary Image
================================================== */

.home-events__secondary-media {
  position: relative;

  width: 100%;
  min-width: 0;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  border-radius: var(--radius-small);
}

.home-events__secondary-media figure,
.home-events__secondary-media picture {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;

  overflow: hidden;

  border-radius: inherit;
}

.home-events__secondary-media img.brxe-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;

  transform: scale(1);

  transition:
    transform 0.9s var(--motion-ease);
}


/* ==================================================
   Homepage Special Events: Secondary Content
================================================== */

.home-events__secondary-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}

.home-events__secondary-title {
  margin: 0;

  color: var(--color-text-light-bg);
}

.home-events__secondary-meta {
  margin-top: 0.65rem;

  color: var(--color-text-light-bg);

  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: 1.3;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-events__secondary-intro {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  margin-top: 0.8rem;

  overflow: hidden;

  color: var(--color-text-light-bg);

  font-size: var(--text-body-small);
  line-height: var(--lh-body);
}




/* Whole row remains clickable */

.home-events__secondary-link {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: block;

  font-size: 0;
  line-height: 0;
}


/* Image zoom remains tied to whole linked row */

.home-events__secondary-item:hover
  .home-events__secondary-media img,
.home-events__secondary-item:focus-within
  .home-events__secondary-media img {
  transform: scale(1.025);
}

@media (min-width: 992px) {

  .home-events__featured-overlay {
    align-items: flex-start;
  }

  .home-events__featured-meta,
  .home-events__featured-title,
  .home-events__featured-intro {
    width: 75%;
    max-width: none;
  }
}

/* ==================================================
   HOMEPAGE EVENTS: TABLET
================================================== */

@media (min-width: 768px) and (max-width: 991px) {

  .home-events__grid {
    grid-template-columns:
      minmax(0, 0.52fr)
      minmax(0, 0.48fr);

    gap: clamp(28px, 4vw, 50px);
  }

  .home-events__secondary {
    grid-auto-rows: minmax(150px, auto);
  }

  .home-events__secondary-item {
    grid-template-columns:
      minmax(100px, 0.4fr)
      minmax(0, 0.6fr);

    gap: 1.25rem;
  }

  .home-events__secondary-intro {
    -webkit-line-clamp: 2;
  }
}


/* ==================================================
   HOMEPAGE EVENTS: PHONE
================================================== */

@media (max-width: 767px) {

  .home-events__grid {
    display: flex;
    flex-direction: column;

    gap: 2.5rem;
  }


  /* Featured */

  .home-events__featured {
    min-height: 0;

    aspect-ratio: 4 / 5;
  }

  .home-events__featured-overlay {
    padding: 1.75rem;
  }


  /* Secondary */

  .home-events__secondary {
    display: flex;
    flex-direction: column;

    gap: 0;
  }

  .home-events__secondary-item {
    grid-template-columns:
      minmax(100px, 0.34fr)
      minmax(0, 0.66fr);

    gap: 1.25rem;

    min-height: 150px;

    padding-block: 1.5rem;
  }

  .home-events__secondary-item:first-child {
    padding-top: 0;
  }

  .home-events__secondary-item:last-child {
    padding-bottom: 0;
  }

  .home-events__secondary-media {
    height: auto;

    aspect-ratio: 1 / 1;

    border-radius: 10px;
  }

  .home-events__secondary-intro {
    -webkit-line-clamp: 3;
  }

}


/* ==================================================
   Single Tour: Hero
================================================== */
.single-tour {
  width: 100%;
}

.single-tour .tour-hero {
  position: relative;

  height: calc(100vh - 7.8rem);
  height: calc(100svh - 7.8rem);

  overflow: hidden;
  isolation: isolate;
  color: var(--color-text-dark-bg);
}

.single-tour .tour-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Overlay gradient */
.single-tour .tour-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.36) 0%,
      rgba(0, 0, 0, 0.22) 12%,
      rgba(0, 0, 0, 0) 32%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0.3) 74%,
      rgba(0, 0, 0, 0.62) 100%
    );

  pointer-events: none;
}

/* Mobile: extend the lower hero gradient higher */

@media (max-width: 767px) {
  .single-tour .tour-hero__media::after {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.36) 0%,
        rgba(0, 0, 0, 0.22) 12%,
        rgba(0, 0, 0, 0) 32%
      ),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 28%,
        rgba(0, 0, 0, 0.18) 44%,
        rgba(0, 0, 0, 0.4) 62%,
        rgba(0, 0, 0, 0.68) 100%
      );
  }
}

/* Optional: hide the old overlay div if it still exists in Bricks */
.single-tour .tour-hero__overlay {
  display: none !important;
}

.single-tour .tour-hero__image,
.single-tour .tour-hero__video {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 !important;
}

.single-tour .tour-hero__image,
.single-tour .tour-hero__image figure,
.single-tour .tour-hero__image picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0 !important;
}

.single-tour .tour-hero__image img,
.single-tour .tour-hero__video video,
.single-tour .tour-hero__video iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center;
  border-radius: 0 !important;
}

/* Media priority: video > mobile image > desktop image */
.single-tour .tour-hero__image {
  z-index: 0;
}

.single-tour .tour-hero__image--mobile {
  display: none;
  z-index: 1;
}

.single-tour .tour-hero__video {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2;
}

/* Content */
.single-tour .tour-hero__content.brxe-container {
  position: relative;
  z-index: 4;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  width: 100%;
  max-width: none;
  height: 100%;

  margin: 0;
  padding: 0;
}

.single-tour .tour-hero__heading {
  width: 100%;
  max-width: 980px;
  margin: 0;
  padding-inline: var(--site-gutter) !important;
  padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  box-sizing: border-box;
}

.single-tour .tour-hero__subtitle{
	font-size: var(--text-med);
}

/* ==================================================
   Single Tour: At a Glance
================================================== */


.single-tour .tour-glance {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(180px, 220px);
  align-items: stretch;
  gap: 0 !important;

  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
}


.single-tour .tour-glance__item {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;

  min-width: 0;
  padding:
    clamp(0.85rem, 1.3vw, 1.25rem)
    clamp(0.75rem, 1.25vw, 1.5rem);

  background-color: rgba(0, 0, 0, 0.15);

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  border-top: 1px solid rgba(255, 255, 255, 0.6);
border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* Internal dividers only */
.single-tour .tour-glance__item:not(:first-child)::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;

  width: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.single-tour .tour-glance__label {
  font-size: var(--text-small);
  line-height: var(--lh-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-tour .tour-glance__value {
 min-width: 0;
  font-size: var(--text-body);
  line-height: 1.15;
}

.single-tour .tour-glance__book {
  align-self: stretch;
  justify-self: stretch;

  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 !important;

  box-sizing: border-box;
  white-space: nowrap;
}

/* ==================================================
   Entrance animation utilities
================================================== */

@keyframes tour-glance-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Tour at-a-glance */

.single-tour .tour-glance {
  opacity: 0;

  animation:
    tour-glance-in
    0.85s
    var(--motion-ease)
    1.15s
    forwards;
}


/* Homepage hero finder */

.home-tour-finder--hero {
  opacity: 0;

  animation:
    tour-glance-in
    0.85s
    var(--motion-ease)
    1.15s
    forwards;
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  .single-tour .tour-glance,
  .home-tour-finder--hero {
    opacity: 1;
    transform: none;
    animation: none;
  }

}

/* ==================================================
   Single Tour: Introduction
================================================== */

.single-tour .tour-intro {
  color: var(--color-bg-teal-3);
  background-color: var(--color-bg-sand);
  text-align: left;
}

.single-tour .tour-intro__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(3rem, 7vw, 9rem);
  align-items: start;
}

.single-tour .tour-intro__column {
  min-width: 0;
}

.single-tour .tour-intro__column--left {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 9rem);
  padding-top:5rem;
}

.single-tour .tour-intro__column--right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.single-tour .tour-intro__text {
  width: 100%;
  max-width: none;
  margin: 0;

  font-family: var(--font-martina);
  font-size: var(--text-h3);
  font-weight: var(--weight-light, 300);
  line-height: var(--lh-heading-standard);
  letter-spacing: var(--ls-heading-loose);

  text-align: left;
  text-wrap: balance;
}

.single-tour .tour-intro__text p {
  font: inherit;
  letter-spacing: inherit;
  margin: 0;
}

.single-tour .tour-intro__text p + p {
  margin-top: 0.8em;
}

.single-tour .tour-intro__image {
  width: 100%;
}

.single-tour .tour-intro__image--secondary {
  align-self: center;
  max-width: 50%;
}

.single-tour .tour-intro__image--primary {
  max-width: 75%;
}

/* ==================================================
   Single Tour: Anchor Navigation
================================================== */

.single-tour .tour-nav {
  --tour-nav-link-count: 6;

  display: grid;
  grid-template-columns: repeat(var(--tour-nav-link-count), minmax(0, 1fr));
  align-items: stretch;
  gap: 0;

  width: 100%;
  min-height: 60px;

  background-color: var(--color-bg-teal-3);

  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* If the itinerary link exists, expand the nav to 7 equal columns */
.single-tour .tour-nav:has(.tour-nav__link--itinerary) {
  --tour-nav-link-count: 7;
}

.single-tour .tour-nav__link {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 60px;
  padding: 0.75rem 1rem;

  color: var(--color-text-dark-bg);
  background-color: var(--color-bg-teal-3);
  background-image: none !important;

  font-size: var(--text-body);
  line-height: 1.2;

  text-align: center;
  text-decoration: none;

  transition:
    color var(--motion-speed) var(--motion-ease),
    background-color var(--motion-speed) var(--motion-ease);

  cursor: pointer;
}

/* Internal divider lines only */
.single-tour .tour-nav__link:not(:first-child)::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;

  width: 1px;
  background-color: rgba(255, 255, 255, 0.6);
}

.single-tour .tour-nav__link:hover,
.single-tour .tour-nav__link:focus-visible {
  color: var(--color-text-dark-bg);
  background-color: #074647;
  background-image: none !important;
}

/* ==================================================
   Single Tour: Overview
================================================== */

.single-tour .tour-info-accordion {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
  color: var(--color-text-light-bg);
  background-color: var(--color-bg-alt-2);
}

.single-tour .tour-overview__content {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 6rem);

  width: 100%;
}


/* Highlights repeater
-------------------------------------------------- */

.single-tour .tour-overview__highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  width: 100%;
}

.single-tour .tour-overview__highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0;

  margin: 0;
  padding: 0;

  list-style: none;
}

.single-tour .tour-overview__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;

  width: 100%;
  margin: 0;
  padding: 0;

  color: inherit;

  font-family: var(--font-martina);
  font-size: var(--text-h4);
  font-weight: var(--weight-light, 300);
  line-height: var(--lh-heading-standard);
  letter-spacing: var(--ls-heading-loose);

  text-align: left;
}

.single-tour .tour-overview__highlight p {
  margin: 0;
  padding: 0;

  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.single-tour .tour-overview__highlight::before {
  content: "";

  flex: 0 0 auto;
  width: .8em;
  height: .8em;
  margin-top: 0.22em;

  background-color: currentColor;

  -webkit-mask-image: url("/wp-content/uploads/2026/07/arrow-right.svg");
  mask-image: url("/wp-content/uploads/2026/07/arrow-right.svg");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;
}

.single-tour .tour-overview__highlight-text {
  min-width: 0;
  margin: 0;

  font: inherit;
  letter-spacing: var(--ls-heading-loose);
}

/* ==================================================
   Single Tour: Tablet
   Keep this at the END of the stylesheet
================================================== */

@media (max-width: 991px) {
  .single-tour .tour-intro__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(4rem, 8vw, 7rem);
  }

  .single-tour .tour-intro__column--left {
    gap: clamp(3rem, 7vw, 6rem);
    padding-top:0rem;
  }

  .single-tour .tour-intro__image--secondary {
    width: 75%;
    max-width: 75%;
    align-self: center;
  }

  .single-tour .tour-intro__image--primary {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
  
  .single-tour .tour-overview__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 6rem);
  }

  /* Disable desktop sticky behaviour once stacked */
  .single-tour .tour-overview__media {
    position: static !important;
    top: auto !important;

    width: 100%;
  }

  .single-tour .tour-overview__image--primary {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  /*
   * Highlights remain full width because they sit
   * outside the Content Sections repeater.
   */
  .single-tour .tour-overview__highlights {
    width: 100%;
  }

}

/* ==================================================
   Single Tour: Mobile
   Keep this at the END of the stylesheet
================================================== */

@media (max-width: 767px) {
  .single-tour .tour-hero {
    height: auto;
    min-height: calc(100svh - 7.8rem);

    overflow: visible;
  }

  body.admin-bar .single-tour .tour-hero {
    height: calc(100vh - 46px);
    height: calc(100svh - 46px);
  }

  .single-tour .tour-hero__content.brxe-container {
    height: auto;
	  min-height: calc(100svh - 7.8rem);
  }

  body.admin-bar .single-tour .tour-hero__content.brxe-container {
    height: calc(100vh - 46px);
    height: calc(100svh - 46px);
  }

  .single-tour .tour-hero__image--mobile {
    display: block !important;
  }

  .single-tour .tour-hero__video {
    display: block !important;
    z-index: 2 !important;
  }

  .single-tour .tour-hero__heading {
    flex: 0 0 auto;

    width: 100%;
    margin: 0;

    padding-inline: var(--site-gutter);
    padding-bottom: 1.25rem;
  }

  .single-tour .tour-hero__title {
    font-size: var(--text-display);
  }

  .single-tour .tour-hero__subtitle {
    max-width: 32rem;
    font-size: var(--text-body);
    line-height: var(--lh-body);
  }

  .single-tour .tour-glance {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    flex: 0 0 auto;

    width: 100%;
    margin: 0;

    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .single-tour .tour-glance__item {
    padding: 0.55rem var(--site-gutter);

    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 0;
  }

  .single-tour .tour-glance__item::before {
    display: none;
  }

  /* Hide Activity Rating */

  .single-tour .tour-glance__item:nth-of-type(5) {
    display: none !important;
  }

  /* Close the bottom of the remaining two-by-two grid */

  .single-tour .tour-glance__item:nth-of-type(3),
  .single-tour .tour-glance__item:nth-of-type(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  }

  /* Vertical divider between columns */

  .single-tour .tour-glance__item:nth-of-type(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.6);
  }

  .single-tour .tour-glance__label {
    font-size: var(--text-caption);
  }

  .single-tour .tour-glance__value {
    font-size: var(--text-body);
    line-height: var(--lh-body);
  }

  .single-tour .tour-glance__book {
    grid-column: 1 / -1;

    width: 100%;
    min-height: 3.5rem;
    margin: 0 !important;
  }
  
  .single-tour .tour-intro__inner {
    row-gap: 3rem;
  }

  .single-tour .tour-intro__column--left {
    gap: 3rem;
  }

  .single-tour .tour-intro__image--secondary,
  .single-tour .tour-intro__image--primary {
    width: 100%;
    max-width: 100%;
  }
  
 .single-tour .tour-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    min-height: 0;

    position: static !important;
    top: auto !important;
  }

  .single-tour .tour-nav__link {
    min-height: 34px;
    padding: 0.35rem var(--site-gutter);

    font-size: var(--text-small);
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    border-top: 1px solid rgba(255, 255, 255, 0.6);
  }

  /* Remove desktop divider pseudo-elements */
  .single-tour .tour-nav__link::before {
    display: none;
  }

  /* Divider between the two mobile columns */
  .single-tour .tour-nav__link:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.6);
  }

  /* If there are 7 links, make the final link full width on mobile */
  .single-tour .tour-nav:has(.tour-nav__link--itinerary) .tour-nav__link:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }
  
  .single-tour .tour-overview__inner {
    gap: 3rem;
  }

  .single-tour .tour-overview__content {
    gap: 3rem;
  }

}

/* ==================================================
   Single Tour: Details
================================================== */

.single-tour .tour-details {
  --tour-details-sticky-gap: 30px;
  --tour-details-sticky-offset: calc(
    var(--tour-nav-height, 60px) + var(--tour-details-sticky-gap)
  );
  --tour-details-map-height: 70svh;

  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);

  color: var(--color-text-dark-bg);
  background-color: var(--color-bg-teal-3);

  overflow: visible;
}

.single-tour .tour-details__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 8rem);

  width: 100%;
  overflow: visible;
}

.single-tour .tour-details__media,
.single-tour .tour-details__content {
  min-width: 0;
}


/* Sticky map column
-------------------------------------------------- */

.single-tour .tour-details__media {
  position: sticky;
  top: var(--tour-details-sticky-offset);
  align-self: start;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;

  width: 100%;
  min-height: calc(100svh - var(--tour-details-sticky-offset));

  overflow: visible;
}

.single-tour .tour-details__map {
  width: 75%;
  height: min(
    var(--tour-details-map-height),
    calc(100svh - var(--tour-details-sticky-offset) - 7rem)
  );
  max-height: 760px;
}

.single-tour .tour-details__map img,
.single-tour .tour-details__map svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.single-tour .map-btn {
  width: fit-content;
  margin-inline: auto;
}


/* Details content column
-------------------------------------------------- */

.single-tour .tour-details__content {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 4rem);

  width: 85%;
  justify-self: start;
}

.single-tour .tour-details__heading {
  margin: 0;
  color: var(--color-text-dark-bg);
}

.single-tour .tour-details__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 3vw, 3.25rem);

  width: 100%;
}

.single-tour .tour-details__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  width: 100%;
}

.single-tour .tour-details__label,
.single-tour .tour-details__value {
  margin: 0;
  color: inherit;
}

.single-tour .tour-details__value p {
  margin: 0;
}

.single-tour .tour-details__value p + p,
.single-tour .tour-details__value ul + p,
.single-tour .tour-details__value p + ul {
  margin-top: 0.85em;
}

.single-tour .tour-details__value ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

/* ==================================================
   Single Tour: Book Now CTA
================================================== */

.single-tour .tour-details {
  padding-bottom: 0;
}

.single-tour .book-now-cta {
  display: flex;

  width: 100%;
  max-width: none;

  margin-top: clamp(3rem, 6vw, 6rem);
  margin-inline: 0;

  padding-inline: 0;
}

.single-tour .book-now-cta__button,
.single-tour .book-now-cta .bricks-button,
.single-tour .book-now-cta a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: clamp(4.5rem, 7vw, 6rem);
  margin: 0 !important;

  border-radius: 0;
}


/* Tablet and mobile
-------------------------------------------------- */

@media (max-width: 991px) {
  .single-tour .tour-details__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 5rem);
  }

  .single-tour .tour-details__media {
    position: static;
    min-height: 0;
    justify-content: flex-start;
	  gap: 20px;
  }

  .single-tour .tour-details__content {
    width: 100%;
    max-width: none;
  }

  .single-tour .tour-details__map {
    height: auto;
    max-height: none;
  }

  .single-tour .tour-details__map img,
  .single-tour .tour-details__map svg {
    height: auto;
  }
}


/* Tablet only
-------------------------------------------------- */

@media (min-width: 768px) and (max-width: 991px) {
  .single-tour .tour-details__media {
    align-items: center;
    justify-content: center;
  }

  .single-tour .tour-details__map {
    width: 58vw;
    max-width: 58vw;
    margin-inline: auto;
  }

  .single-tour .tour-details__map img,
  .single-tour .tour-details__map svg {
    width: 100%;
    object-fit: contain;
  }
}


/* Mobile
-------------------------------------------------- */

@media (max-width: 767px) {
  .single-tour .tour-details__map {
    width: 100%;
    max-width: 100%;
  }

  .single-tour .tour-details__list {
    gap: 2rem;
  }
}

/* ==================================================
   Single Tour: Testimonial
================================================== */

.single-tour .tour-testimonial {
  color: var(--color-text-dark-bg);
}

.single-tour .tour-testimonial__inner {
  gap: clamp(1rem, 2vw, 1.5rem);

  width: 100%;
  max-width: 900px;

  margin-inline: auto;

  text-align: center;
}

.single-tour .tour-testimonial .testimonial-large {
  width: 100%;
}

/* ==================================================
   Single Tour: Info Sets / Essential Information
================================================== */

.single-tour .tour-info-sets {
  padding-top: var(--section-space-y-large);
  padding-bottom: var(--section-space-y-large);

  color: var(--color-text-light-bg);
  background-color: var(--color-bg-teal-1);
}

.single-tour .tour-info-sets__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 3rem);

  width: 100%;
}

.single-tour .tour-info-sets__heading {
  max-width: 60%;
  margin: 0;

  color: inherit;
}

.single-tour .tour-info-sets__list {
  width: 100%;
	margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .single-tour .tour-info-sets__heading {
    max-width: 100%;
  }
}

/* ==================================================
   Single Tour: Gallery / Visuals - slider css in components
================================================== */

.single-tour .tour-gallery .container--no-gutter {
  margin-top: clamp(1.75rem, 3vw, 3rem);
}

/* ==================================================
   SINGLE NEWS: HERO PANEL
================================================== */

.news-single__panel .page-hero__inner {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 2fr);

  grid-template-areas:
    "eyebrow eyebrow"
    "heading intro";

  align-items: start;

  column-gap: clamp(2rem, 4vw, 6rem);
  row-gap: clamp(2rem, 2.5vw, 2.5rem);
}

.news-single__eyebrow {
  grid-area: eyebrow;

  margin: 0;
}

.news-single__panel .page-hero__heading {
  grid-area: heading;

  margin: 0;
}

.news-single__panel .page-hero__intro {
  grid-area: intro;

  margin: 0;
  padding-top: 0;
}

@media (max-width: 991px) {
  .news-single__panel .page-hero__inner {
    grid-template-columns: 1fr;

    grid-template-areas:
      "eyebrow"
      "heading"
      "intro";

    row-gap: clamp(1.5rem, 3vw, 2rem);
  }

  .news-single__panel .page-hero__intro {
    margin-top: clamp(0.75rem, 2vw, 1.25rem);
  }
}

/* ==================================================
   SINGLE NEWS
================================================== */

.news-single {
  --news-row-gap: clamp(4rem, 6vw, 7rem);
  --news-media-top-gap: clamp(2rem, 3vw, 3rem);
  --news-flow-gap: 1.25em;
  --news-heading-text-gap: clamp(1.5rem, 2vw, 2rem);
  --news-media-gap: clamp(1rem, 2vw, 2rem);

  width: 100%;

  margin-top: 0;
  padding-top: 0 !important;
  padding-bottom: var(--section-space-y);

  background: var(--color-bg-main);
  color: var(--color-text-light-bg);
}

/* Match the 1/3 + 2/3 hero-panel grid exactly */

.news-single__inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 2fr);

  column-gap: clamp(2rem, 4vw, 6rem);

  width: 100%;

  padding-top: 0;
}

/* Every Flexible Content row occupies the right 2/3 */

.news-single__row {
  grid-column: 2 / -1;

  width: 100%;
}

/* Space between separate Flexible Content rows */

.news-single__row + .news-single__row {
  margin-top: var(--news-row-gap);
}

.news-layout {
  display: flex;
  flex-direction: column;

  gap: 0;

  width: 100%;

  color: var(--color-text-light-bg);
}

/* ==================================================
   SINGLE NEWS: RICH TEXT
================================================== */

.news-single__text {
  width: 100%;

  color: var(--color-text-light-bg);
}

/* Reset browser and Bricks margins */

.news-single__text > * {
  margin-block: 0;
}

/* Normal flow between paragraphs and other elements */

.news-single__text > * + * {
  margin-top: var(--news-flow-gap);
}

/* Stronger division before headings inside one content field */

.news-single__text > * + :is(h1, h2, h3, h4, h5, h6) {
  margin-top: clamp(3rem, 4vw, 4.5rem);
}

/* More breathing room directly beneath headings */

.news-single__text > :is(h1, h2, h3, h4, h5, h6) + * {
  margin-top: var(--news-heading-text-gap);
}

/* Lists */

.news-single__text :is(ul, ol) {
  padding-left: 1.25em;
}

.news-single__text li + li {
  margin-top: 0.5em;
}

/* ==================================================
   SINGLE NEWS: SINGLE MEDIA
================================================== */

.news-single__media--single {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 100%;

  margin-top: var(--news-media-top-gap);
}

/* Bricks image element */

.news-single__media--single > .brxe-image {
  width: auto;
  max-width: 100%;
}

.news-single__media--single .brxe-image,
.news-single__media--single picture,
.news-single__media--single figure {
  display: block;

  width: auto;
  max-width: 100%;

  margin: 0;
}

.news-single__media--single img {
  display: block;

  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 800px;

  margin: 0;

  object-fit: contain;
  object-position: left center;
}

/* A single YouTube video can use the complete content width */

.news-single__media--single .brxe-video,
.news-single__media--single .bricks-video-wrapper,
.news-single__media--single iframe {
  width: 100%;
}

/* ==================================================
   SINGLE NEWS: TWO MEDIA
================================================== */

.news-single__media-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

  align-items: start;

  gap: var(--news-media-gap);

  width: 100%;

  margin-top: var(--news-media-top-gap);
}

.news-single__media-grid > .news-single__media {
  min-width: 0;
  width: 100%;
}

.news-single__media--one,
.news-single__media--two {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
}

/* Images */

.news-single__media-grid .brxe-image,
.news-single__media-grid picture,
.news-single__media-grid figure {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
}

.news-single__media-grid img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* YouTube videos */

.news-single__media-grid .brxe-video,
.news-single__media-grid .bricks-video-wrapper,
.news-single__media-grid iframe {
  width: 100%;
  height: 100%;
}

.news-single__media-grid iframe {
  display: block;

  border: 0;
}

@media (max-width: 991px) {
  .news-single__inner {
    grid-template-columns: 1fr;

    column-gap: 0;
  }

  .news-single__row {
    grid-column: 1;
  }
}

@media (max-width: 767px) {
  .news-single {
    --news-row-gap: 4rem;
    --news-media-top-gap: 2rem;
    --news-media-gap: 0.75rem;
  }
  
   .news-single__media-grid {
    grid-template-columns: minmax(0, 1fr) !important;

    gap: 1.5rem;
  }
}

/* ==================================================
   SINGLE NEWS: POST NAVIGATION
================================================== */

.news-post__nav {
  grid-column: 2 / -1;

  width: 100%;
  min-width: 0;
  max-width: 100%;

  margin-top: clamp(5rem, 8vw, 9rem);
}

.news-post__nav .brxe-post-navigation {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  align-items: stretch;

  gap: clamp(2rem, 4vw, 5rem);

  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Individual previous and next links */

.news-post__nav .prev-post,
.news-post__nav .next-post {
  display: grid !important;

  align-items: center;

  gap: clamp(1rem, 1.75vw, 1.5rem);

  width: 100% !important;
  min-width: 0;
  max-width: 100%;

  margin: 0 !important;

  color: var(--color-text-light-bg);
}

/* Previous: thumbnail left, text right */

.news-post__nav .prev-post {
  grid-template-columns:
    clamp(5.5rem, 7vw, 7rem)
    minmax(0, 1fr);

  grid-template-areas:
    "image content";

  justify-content: stretch;
  text-align: left;
}

/* Next: text left, thumbnail right */

.news-post__nav .next-post {
  grid-template-columns:
    minmax(0, 1fr)
    clamp(5.5rem, 7vw, 7rem);

  grid-template-areas:
    "content image";

  justify-content: stretch;
  text-align: right;
}

/* Thumbnail */

.news-post__nav .image {
  grid-area: image;

  display: block;

  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 0.75rem;
}

/* Label and title wrapper */

.news-post__nav .content {
  grid-area: content;

  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 0.65rem;

  min-width: 0;
  max-width: 100%;
}

.news-post__nav .next-post .content {
  align-items: flex-end;
}

/* Eyebrow labels */

.news-post__nav .label {
  display: block;

  margin: 0;

  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;

  letter-spacing: 0.06em;
  text-transform: uppercase;

  color: var(--color-text-light-bg);
}

/* Post titles */

.news-post__nav .title {
  display: block;

  min-width: 0;
  max-width: 100%;

  margin: 0;

  color: var(--color-text-light-bg);

  overflow-wrap: anywhere;
}

/* Remove previous/next navigation arrows completely */

.news-post__nav .swiper-button,
.news-post__nav .bricks-swiper-button-prev,
.news-post__nav .bricks-swiper-button-next {
  font-size: 0px !important;
}

@media (max-width: 991px) {
  .news-post__nav {
    grid-column: 1;

    margin-top: clamp(4rem, 8vw, 6rem);
  }

  .news-post__nav .brxe-post-navigation {
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

@media (max-width: 767px) {
  .news-post__nav .brxe-post-navigation {
    grid-template-columns: minmax(0, 1fr);

    gap: 3.5rem;
  }

  .news-post__nav .prev-post,
  .news-post__nav .next-post {
    width: 100% !important;
  }

  .news-post__nav .prev-post {
    grid-template-columns:
      5.5rem
      minmax(0, 1fr);

    justify-self: start;
  }

  .news-post__nav .next-post {
    grid-template-columns:
      minmax(0, 1fr)
      5.5rem;

    justify-self: end;
  }
}

/* ==================================================
   SINGLE JOURNAL: COMMENTS
================================================== */

.news-post__comment {
  grid-column: 2 / -1;

  width: 100%;
  min-width: 0;

  margin-top: clamp(4rem, 7vw, 7rem);

  color: var(--color-text-light-bg);
}

.news-post__comment > * {
  width: 100%;
  min-width: 0;
}

@media (max-width: 991px) {
  .news-post__comment {
    grid-column: 1;

    margin-top: clamp(3.5rem, 7vw, 5rem);
  }
}

.team-card__bio .btn {
  align-self: flex-start;

  width: auto;
  max-width: max-content;
}

/* ==================================================
   Info cards
================================================== */

.info-card {
  height: 100%;

  padding: clamp(1.5rem, 2.5vw, 2.5rem);

  background: var(--color-accent);
}

/* Allow the text area to fill the available card height */

.info-card > .brxe-text {
  flex: 1;
}

/* Optional button sits at the bottom */

.info-card > .btn,
.info-card > .brxe-button {
  align-self: flex-start;

  width: auto;
  max-width: max-content;

  margin-top: auto;
}

/* ==================================================
   See and Do information grid
================================================== */

.see-do-info-grid {
  --layout-grid-row-gap:
    clamp(3.5rem, 5vw, 5rem);
}

@media (min-width: 992px) {

  .see-do-info-grid {
    --layout-grid-column-gap:
      clamp(3rem, 5vw, 6rem);
  }
}

/* ==================================================
   Card grids
================================================== */

/* Centre a lone final card on tablet */

@media (min-width: 768px) and (max-width: 991px) {
  .card-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;

    width: calc(
      (100% - var(--tour-card-grid-column-gap)) / 2
    );

    min-width: 0;
  }
}

/* ==================================================
   PAGE HERO: SMALL
================================================== */

.page-hero__media-sm {
  height: 40vh;
  min-height: 40vh;
}


/* ==================================================
   SEARCH RESULTS
================================================== */

.search-results {
  background: var(--color-bg-sand);
}


/* --------------------------------------------------
   Search results inner
   Override normal page-hero inner layout
-------------------------------------------------- */

.page-hero__inner.search-results__inner {
  display: flex !important;
  flex-direction: column !important;

  width: 100%;
  max-width: none;

  gap: 0;
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

.search-results__header {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: var(--space-m, 1.5rem);

  width: 100%;
  max-width: 900px;

  margin:
    0
    auto
    clamp(4rem, 7vw, 7rem);

  text-align: center;
}

.search-results__header .eyebrow {
  margin: 0;
}

.search-results__heading {
  margin: 0;

  font-family: var(--font-heading);
  font-size: var(--text-display);
  line-height: var(--lh-heading-tight);
  letter-spacing: var(--ls-heading);
}


/* --------------------------------------------------
   Search again form
-------------------------------------------------- */

.search-results__form {
  width: 100%;
  max-width: 760px;

  margin-top: var(--space-s, 1rem);
}

.search-results-form {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: end;

  gap: clamp(1.5rem, 2vw, 2.5rem);

  width: 100%;

  padding-bottom: 1rem;

  border-bottom:
    1px solid rgba(4, 50, 53, 0.4);
}

.search-results-form__input {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;

  color: var(--color-bg-teal-3);

  font-family: var(--font-heading);
  font-size: var(--text-h5);
  line-height: var(--lh-heading-tight);
  letter-spacing: var(--ls-heading);
  text-align:left;
}

.search-results-form__input::placeholder {
  color: rgba(4, 50, 53, 0.38);
  opacity: 1;
}

.search-results-form__input::-webkit-search-decoration,
.search-results-form__input::-webkit-search-cancel-button,
.search-results-form__input::-webkit-search-results-button,
.search-results-form__input::-webkit-search-results-decoration {
  display: none;
}

.search-results-form__submit {
  appearance: none;
  -webkit-appearance: none;

  margin: 0;
  padding: 0 0 0.15em;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  color: var(--color-bg-teal-3);

  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1;

  cursor: pointer;
}


/* ==================================================
   RESULTS GRID
================================================== */

.search-results__grid {
  display: grid;

  width: 100%;

  gap:
    var(
      --layout-grid-gap,
      clamp(2rem, 4vw, 4rem)
    );
}


/* ==================================================
   RESULT CARD
================================================== */

.search-result-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  background: var(--color-dark-sand);
}


/* --------------------------------------------------
   Result card image
-------------------------------------------------- */

img.search-result-card__image {
  display: block;

  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;

  object-fit: cover !important;
  object-position: center center !important;

  border-radius: var(--radius-small);

  overflow: hidden;
}

/* --------------------------------------------------
   Content panel
-------------------------------------------------- */

.search-result-card__panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;

  gap: 1rem;

  width: 100%;

  padding:
    clamp(1.25rem, 2vw, 1.75rem);
}


.search-result-card__type {
  margin: 0;

  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.search-result-card__title {
  margin: 0;

  font-family: var(--font-heading);
  font-size: var(--text-h6);
  line-height: var(--lh-heading-tight);
  letter-spacing: var(--ls-heading);
}


.search-result-card__excerpt {
  margin: 0;

  font-size: var(--text-small);
}


.search-result-card__link {
  margin-top: auto;

  font-size: var(--text-small);
}



/* ==================================================
   SEARCH RESULTS — PHONE
================================================== */

@media (max-width: 767px) {

  .page-hero__media-sm {
    height: 32vh;
    min-height: 32vh;
  }

  .search-results__header {
    margin-bottom: 3.5rem;
  }

  .search-results-form {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }

  .search-results-form__submit {
    justify-self: start;
  }
}

/* ==================================================
   Search Results: No Results
================================================== */

.search-results__no-results {
  width: 100%;
}


.search-results__no-results-inner {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(100%, 40rem);

  margin-inline: auto;

  text-align: center;
}


.search-results__no-results .eyebrow {
  margin-bottom: 0.75rem;
}


.search-results__no-results-heading {
  width: 100%;

  text-align: center;
}


.search-results__no-results-text {
  width: 100%;
  max-width: 30rem;

  margin-inline: auto;
  margin-bottom: 1rem;

  text-align: center;
}


.search-results__no-results .link-inline {
  align-self: center;
}


/* ==================================================
Page Footer
================================================== */

.page-footer.section--no-top {
  padding-top: 20px;
  padding-bottom: 20px;
}


/* ==================================================
Footer Brand
================================================== */

.footer-brand {
  width: 100%;

  padding-bottom: clamp(5rem, 7vw, 8rem);
}

.footer-brand__logo {
  display: block;

  width: 100%;
  height: auto;
}

.footer-brand__logo img,
.footer-brand__logo svg {
  display: block;

  width: 100%;
  height: auto;
}


/* ==================================================
Footer Main
================================================== */

.footer-main {
  width: 100%;
}

.footer-main__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 2fr);

  column-gap: clamp(3rem, 6vw, 8rem);
  row-gap: 3rem;

  width: 100%;

  align-items: start;
}

.footer-contact,
.footer-nav,
.footer-enquiry {
  min-width: 0;
}


/* ==================================================
Footer Headings
================================================== */

.footer-heading {
  margin: 0 0 1.25rem;

  color: var(--color-bg-dark-sand);
}


/* ==================================================
Footer Contact
================================================== */

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 0.4rem;
}

.footer-contact-text {
  display: block;

  width: fit-content;
  margin: 0;

  font-size: var(--text-small);
  color: var(--color-bg-dark-sand);

  transition: opacity 0.25s ease;
}

a.footer-contact-text:hover,
a.footer-contact-text:focus-visible {
  opacity: 0.7;
}


/* ==================================================
Footer Socials
================================================== */

.footer-socials {
  display: flex;
  align-items: center;

  gap: 0.85rem;

  margin-top: 1.25rem;
}

.footer-social {
  display: block;

  width: 20px;
  height: 20px;
  flex: 0 0 20px;

  background-color: #f7f5e9;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  transition: opacity 0.25s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  opacity: 0.7;
}


/* Individual SVG masks */

.footer-social--instagram {
  -webkit-mask-image:
    url("/wp-content/uploads/2026/07/logo-instagram.svg");
  mask-image:
    url("/wp-content/uploads/2026/07/logo-instagram.svg");
}

.footer-social--facebook {
  -webkit-mask-image:
    url("/wp-content/uploads/2026/07/facebook.svg");
  mask-image:
    url("/wp-content/uploads/2026/07/facebook.svg");
}

.footer-social--youtube {
  -webkit-mask-image:
    url("/wp-content/uploads/2026/07/logo-youtube.svg");
  mask-image:
    url("/wp-content/uploads/2026/07/logo-youtube.svg");
}


/* ==================================================
Footer Navigation
================================================== */

.footer-nav-links {
  width: 100%;
}

.footer-nav-links ul {
  display: flex;
  flex-direction: column;

  gap: 0.35rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-nav-links li {
  margin: 0;
  padding: 0;
}

.footer-nav-links a {
  display: inline-flex;
  align-items: center;

  gap: 0.45em;

  width: fit-content;

  font-size: var(--text-small);
  color: var(--color-bg-sand);
  text-decoration: none;

  transition: opacity 0.25s ease;
}

.footer-nav-links a::after {
  content: "→";

  display: inline-block;

  font-size: 0.8em;
  line-height: 1;

  transition: transform 0.25s ease;
}

.footer-nav-links a:hover,
.footer-nav-links a:focus-visible {
  opacity: 0.7;
}

.footer-nav-links a:hover::after,
.footer-nav-links a:focus-visible::after {
  transform: translateX(0.25em);
}


/* ==================================================
Footer Enquiry
================================================== */

.footer-enquiry {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.footer-enquiry__intro {
  max-width: 42ch;

  margin: 0 0 1.75rem;

  font-size: var(--text-small);
  color: var(--color-bg-dark-sand);
}


/* ==================================================
Footer Opt-in
================================================== */

.footer-optin,
.footer-optin .mailerlite-form,
.footer-optin form {
  width: 100%;
}


/* Field + button row */

.footer-optin .mailerlite-form-inputs {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  column-gap: 1rem;

  width: 100%;

  padding-bottom: 0.65rem;

  border-bottom:
    1px solid rgba(223, 229, 201, 0.4);
}


/* Remove MailerLite spacing */

.footer-optin .mailerlite-form-field,
.footer-optin .mailerlite-subscribe-button-container {
  margin: 0;
  padding: 0;
}

.footer-optin .mailerlite-form-field label {
  display: none;
}


/* Email */

.footer-optin input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 0;

  margin: 0;
  padding: 0.5rem 0;

  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;

  font: inherit;
  font-size: var(--text-small);

  color: var(--color-bg-sand);
}

.footer-optin input[type="email"]::placeholder {
  color: rgba(247, 245, 233, 0.4);
  opacity: 1;
}

.footer-optin input[type="email"]:focus {
  outline: none;
  box-shadow: none;
}


/* Subscribe wrapper */

.footer-optin .mailerlite-subscribe-button-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


/* Subscribe */

.footer-optin .mailerlite-subscribe-submit {
  display: inline-flex;
  align-items: center;

  gap: 0.45em;

  width: auto;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;

  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: inherit;
  line-height: 1;

  color: var(--color-bg-sand);

  cursor: pointer;

  transition: opacity 0.25s ease;
}

.footer-optin .mailerlite-subscribe-submit::after {
  content: "→";

  display: inline-block;

  font-size: 0.8em;
  line-height: 1;

  transition: transform 0.25s ease;
}

.footer-optin .mailerlite-subscribe-submit:hover,
.footer-optin .mailerlite-subscribe-submit:focus-visible {
  opacity: 0.7;
}

.footer-optin .mailerlite-subscribe-submit:hover::after,
.footer-optin .mailerlite-subscribe-submit:focus-visible::after {
  transform: translateX(0.25em);
}


/* Plugin loader */

.footer-optin .mailerlite-form-loader {
  grid-column: 1 / -1;

  font-size: var(--text-small);
}


/* ==================================================
Acknowledgement of Country
================================================== */

.footer-country {
  max-width: 70ch;

  margin-top: 2rem;

  font-size: var(--text-small);
  color: var(--color-bg-dark-sand);
}


/* ==================================================
Footer Partners
================================================== */

.footer-partners {
  padding-top: clamp(2.5rem, 3vw, 4rem);
}


/* ==================================================
Footer Dividers
================================================== */

.footer-divider {
  width: 100%;
}

.footer-divider .line {
  width: 100%;
  height: 1px;

  border: 0 !important;

  background:
    rgba(247, 245, 233, 0.4) !important;
}


/* ==================================================
Footer Logos
================================================== */

.footer-logos {
  display: flex;
  flex-wrap: wrap;

  align-items: center;
  justify-content: center;

  column-gap: clamp(2rem, 3vw, 4rem);
  row-gap: clamp(2.5rem, 3vw, 3.5rem);

  width: 100%;

  padding-block:
    clamp(2.5rem, 3vw, 3.5rem);
}

.footer-logo {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  flex: 0 0 clamp(13rem, 14vw, 17rem);

  gap: 0.5rem;

  text-align: center;
}

.footer-logo-img {
  display: block;

  width: auto !important;
  height: clamp(45px, 3.75vw, 68px);
  max-height: 68px;

  margin-inline: auto;

  object-fit: contain;
}

.footer-logo-note {
  margin: 0;

  font-size: var(--text-small);
  line-height: 1.3;
  text-align: center;

  color: var(--color-bg-sand);
}


/* ==================================================
Footer Bottom
================================================== */

.footer-bottom {
  width: 100%;
}

.footer-bottom__row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 2rem;

  width: 100%;

  padding-block: 1.5rem;
}


/* ==================================================
Footer Legal
================================================== */

.footer-legal {
  min-width: 0;
}

.footer-legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 0.5rem 1.5rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-legal li {
  margin: 0;
  padding: 0;
}

.footer-legal a {
  font-size: var(--text-small);

  color: var(--color-bg-sand);
  text-decoration: none;

  transition: opacity 0.25s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  opacity: 0.7;
}


/* ==================================================
Designer Credit
================================================== */

.footer-credit {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;

  gap: 0.25em;

  margin-left: auto;

  font-size: var(--text-small);
  color: var(--color-bg-sand);

  white-space: nowrap;
}

.footer-credit p {
  margin: 0;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;

  transition: opacity 0.25s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  opacity: 0.7;
}


/* ==================================================
Footer - Tablet
================================================== */

@media (min-width: 768px) and (max-width: 991px) {

  /* Main */

  .footer-main__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    column-gap: 4rem;
    row-gap: 3rem;
  }

  .footer-enquiry {
    grid-column: 1 / -1;
  }


  /* Logos - 3 per row */

  .footer-logos {
    display: grid;

    grid-template-columns:
      repeat(6, 1fr);

    column-gap: 2.5rem;
    row-gap: 2.5rem;
  }

  .footer-logo {
    grid-column: span 2;

    justify-self: center;
  }


  /* One logo on final row */

  .footer-logo:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }


  /* Two logos on final row */

  .footer-logo:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .footer-logo:nth-last-child(2):nth-child(3n + 1)
    + .footer-logo {
    grid-column: 4 / span 2;
  }

 .footer-logo-img {
  height: 55px;
  max-height: 55px;
}

}


/* ==================================================
Footer - Phone
================================================== */

@media (max-width: 767px) {

  /* Brand breaks out of site gutter */

  .footer-brand {
    position: relative;
    left: 50%;

    width: 100vw;
    max-width: none;

    transform: translateX(-50%);

    padding-inline:
      clamp(
        0.75rem,
        1vw,
        1.25rem
      );

    padding-bottom: 4rem;

    box-sizing: border-box;
  }


  /* Main */

  .footer-main__grid {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(0, 1fr);

    column-gap: 1.25rem;
    row-gap: 3rem;
  }

  .footer-enquiry {
    grid-column: 1 / -1;
  }


  /* Logos - 2 per row */

  .footer-logos {
    display: grid;

    grid-template-columns:
      repeat(4, 1fr);

    column-gap: 2rem;
    row-gap: 2.5rem;
  }

  .footer-logo {
    grid-column: span 2;

    justify-self: center;
  }


  /* Odd final logo */

  .footer-logo:last-child:nth-child(odd) {
    grid-column: 2 / span 2;
  }

  .footer-logo-img {
    height: 55px;
    max-height: 55px;
  }


  /* Bottom */

  .footer-bottom__row {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      auto;

    align-items: start;

    gap: 1.5rem;

    width: 100%;
  }

  .footer-legal ul {
    flex-direction: column;
    align-items: flex-start;

    gap: 0.5rem;
  }

  .footer-credit {
    align-items: flex-start;
    justify-content: flex-end;

    margin-left: 0;

    text-align: right;
    white-space: normal;
  }

}
