/* ==========================================================================
   Bali Expedition — Redesign Overrides
   Loaded after tbs-frontend.css and child-theme style.css.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --tbs-primary:       #0F3B3A;
  --tbs-primary-dark:  #0a2b2a;
  --tbs-primary-soft:  #EAF3F1;
  --be-teal:           #0F3B3A;
  --be-amber:          #F2A33A;
  --be-amber-dark:     #d98e2e;
  --be-sand:           #F7F4EE;
  --be-sand-light:     #FBF8F2;
  --be-mint:           #EAF3F1;
  --be-border:         #ECE7DC;
  --be-ink:            #1E293B;
  --be-muted:          #475569;
  --be-muted-light:    #64748B;

  --tbs-accent:        #F2A33A;
  --tbs-accent-dark:   #d98e2e;
  --tbs-ink:           #1E293B;
  --tbs-body:          #475569;
  --tbs-muted:         #64748B;
  --tbs-soft:          #FBF8F2;
  --tbs-line:          #ECE7DC;

  --tbs-ring: 0 0 0 3px rgba(15, 59, 58, .18);

  --tbs-radius:    16px;
  --tbs-radius-sm: 12px;
  --tbs-radius-xs:  8px;
  --be-radius-lg:  20px;

  --tbs-shadow-xs: 0 1px 2px rgba(15, 59, 58, .04);
  --tbs-shadow:    0 2px 8px rgba(15, 59, 58, .07);
  --tbs-shadow-lg: 0 8px 24px rgba(15, 59, 58, .10);

  --be-section-gap: 80px;
}

@media (max-width: 782px) {
  :root {
    --be-section-gap: 56px;
  }
}

/* ------------------------------------------------------------------ logo */
.be-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--be-teal);
}

.be-logo:hover {
  color: var(--be-teal);
  text-decoration: none;
}

.be-logo__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: block;
}

.be-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.be-logo__name {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.be-logo__tag {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--be-muted);
  margin-top: 3px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .be-logo__icon { width: 36px; height: 36px; }
  .be-logo__name { font-size: 21px; }
  .be-logo__tag { display: none; }
}

.is-scrolled .be-logo__tag { display: none; }
.is-scrolled .be-logo__icon { width: 36px; height: 36px; }

.ast-site-identity .site-title,
.ast-site-identity .site-description,
.ast-site-identity .custom-logo-link {
  display: none;
}

/* -------------------------------------------------------- global overrides */

/* CTA buttons — amber bg, teal text (4.6:1 contrast) */
.tbs-btn--primary,
button.tbs-btn--primary,
a.tbs-btn--primary {
  background: var(--be-amber);
  color: var(--be-teal);
  border-color: var(--be-amber);
  font-weight: 600;
  border-radius: var(--tbs-radius-sm);
}

.tbs-searchbar .tbs-btn {
  border-radius: 999px;
  padding-inline: 24px;
}

.tbs-btn--primary:hover,
.tbs-btn--primary:focus-visible {
  background: var(--be-amber-dark);
  color: var(--be-teal);
  border-color: var(--be-amber-dark);
}

/* Outline buttons — teal */
.tbs-btn--outline {
  border-color: var(--be-teal);
  color: var(--be-teal);
}

.tbs-btn--outline:hover,
.tbs-btn--outline:focus-visible {
  background: var(--be-teal);
  color: #fff;
}

/* Links */
a { color: var(--be-teal); }
a:hover { color: var(--be-amber-dark); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--be-teal);
  outline-offset: 2px;
}

/* Sand / mint background sections */
.tbs-section--sand,
.tbs-reviews-block--soft {
  background: var(--be-sand);
}

/* Badges — teal */
.tbs-card__badge--best-seller,
.tbs-card__badge--featured {
  background: var(--be-teal);
}

/* Section spacing */
.tbs-inspiration,
.tbs-reviews-block,
.tbs-tours-block,
.tbs-categories-block {
  padding-block: var(--be-section-gap);
}

/* ------------------------------------------------------------ topbar */
/* Topbar: subtle cream bar, merge into header on desktop */
.bx-topbar {
  background: var(--be-sand-light);
  font-size: .8125rem;
  padding-block: 5px;
  border-bottom: 1px solid var(--be-border);
  color: var(--be-muted);
}

.bx-topbar a {
  color: var(--be-muted);
}

.bx-topbar a:hover {
  color: var(--be-teal);
}

/* Currency pill — cream background */
.tbs-currency-toggle {
  background: var(--be-sand);
  border-radius: 999px;
  padding: 2px;
}

.tbs-currency-toggle .is-active {
  background: var(--be-amber);
  color: var(--be-teal);
  font-weight: 600;
}

/* ------------------------------------------------------------ header */
#masthead {
  background: #fff;
  transition: min-height .25s ease, box-shadow .25s ease, padding .25s ease;
}

#masthead.is-scrolled {
  box-shadow: var(--tbs-shadow);
}

#masthead.is-scrolled #ast-desktop-header .ast-builder-grid-row {
  min-height: 64px;
}

/* --- desktop header container --- */
#ast-desktop-header .site-primary-header-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* --- grid-row: override Astra's display:grid with flex (single row) --- */
#ast-desktop-header .ast-builder-grid-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  gap: 24px;
  min-height: 80px;
  grid-template-columns: none;
}

/* --- section wrappers: override .ast-flex flex-wrap:wrap --- */
#ast-desktop-header .site-header-section {
  flex-wrap: nowrap !important;
}

#ast-desktop-header .ast-builder-menu-1 {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap !important;
}

/* --- nav wrapper chain: every div between menu-1 and <ul> --- */
#ast-desktop-header .ast-main-header-bar-alignment {
  width: 100%;
}

#ast-desktop-header .main-header-bar-navigation {
  line-height: normal;
}

#ast-desktop-header .main-navigation {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
}

/* --- desktop nav list — override Astra's flex-wrap:wrap --- */
#ast-desktop-header ul.main-header-menu {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}

#ast-desktop-header .main-header-menu > .menu-item {
  flex: none;
  width: auto !important;
  line-height: normal;
}

#ast-desktop-header .main-header-menu .menu-link {
  white-space: nowrap;
  line-height: 80px;
}

#masthead.is-scrolled #ast-desktop-header .main-header-menu .menu-link {
  line-height: 64px;
}

/* --- header actions (Wishlist / Cart / My Account) --- */
#ast-desktop-header .baliexpedition-menu-actions {
  display: flex;
  align-items: center;
}

#ast-desktop-header .tbs-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- hide drawer extras (currency/lang/2nd My Account) on desktop --- */
#ast-desktop-header li.be-drawer-extras {
  display: none !important;
}

/* --- icon-only header buttons (Wishlist / Cart / Account) --- */
#ast-desktop-header .tbs-header-btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--be-border);
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--be-teal);
  transition: border-color .15s ease, color .15s ease;
}

#ast-desktop-header .tbs-header-btn--icon:hover {
  border-color: var(--be-teal);
  color: var(--be-amber-dark);
}

#ast-desktop-header .tbs-header-btn--icon:focus-visible {
  outline: 2px solid var(--be-teal);
  outline-offset: 2px;
}

/* screen-reader-text — WordPress standard clip pattern */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* badge on icon buttons */
#ast-desktop-header .tbs-header-btn--icon .tbs-count {
  position: absolute;
  top: -4px;
  right: -4px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--be-teal);
}

/* ------- homepage: unconstrain the content column so full-bleed sections
   can reach the viewport edge without 100vw / negative-margin hacks.

   DOM chain (from header.php / footer.php):
     #content.site-content
       .ast-container            ← Astra inline CSS: max-width:1240px
         #primary.content-area
           article.ast-article-single
             .entry-content
               .tbs-hero / .be-trust-strip / .tbs-tours-block / …
   ------------------------------------------------------------------- */

.baliexpedition-home {
  overflow-x: clip;
}

/* 1) Unconstrain the Astra wrapper that sits ABOVE #primary */
.baliexpedition-home #content > .ast-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.baliexpedition-home.ast-plain-container.ast-no-sidebar #primary {
  margin: 0;
  max-width: none;
}

.baliexpedition-home .ast-article-single {
  padding: 0;
  margin: 0;
  max-width: none;
}

.baliexpedition-home .entry-content {
  margin: 0;
  max-width: none;
}

/* 2) Full-bleed sections: undo plugin's 100vw / calc(-50vw+50%) breakout */
.baliexpedition-home .tbs-hero,
.baliexpedition-home .tbs-reviews-block,
.baliexpedition-home .tbs-reviews-block--soft,
.baliexpedition-home .be-trust-strip,
.baliexpedition-home .be-cta-bar {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Footer lives inside entry-content (shortcode), so the unconstrained
   parent already makes it full-width; just kill the 100vw breakout. */
.baliexpedition-home .tbs-site-footer {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 3) Contained sections: re-apply 1200px since parent is now unconstrained */
.baliexpedition-home .entry-content > .tbs-tours-block,
.baliexpedition-home .entry-content > .tbs-inspiration,
.baliexpedition-home .entry-content > .tbs-categories-block,
.baliexpedition-home .entry-content > .be-destinations-section {
  max-width: var(--tbs-container);
  margin-inline: auto;
  padding-inline: var(--tbs-gutter);
}

/* ---------------------------------------------------------------- hero */
.tbs-hero {
  background: linear-gradient(180deg, #FBF8F2 0%, #F5F7FB 100%);
  padding: 64px 20px 48px;
}

.tbs-hero__inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--tbs-container);
  margin-inline: auto;
  grid-template-columns: none !important;
}

/* --- left column --- */
.tbs-hero__copy {
  flex: 1 1 520px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--be-ink);
}

.tbs-hero__eyebrow-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  background: #EAF3F1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--be-teal);
}

.tbs-hero__eyebrow-chip .tbs-icon { display: none; }

.tbs-hero__title {
  font-size: 64px !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #0F3B3A;
  margin: 0 !important;
}

.tbs-hero__accent {
  position: relative;
  display: inline-block !important;
  white-space: nowrap;
  color: #0F3B3A;
  text-decoration: none !important;
  border-bottom: none !important;
  background: none !important;
}

.tbs-hero__swoosh {
  position: absolute;
  left: -2%;
  bottom: -13px;
  width: 104%;
  height: 16px;
  overflow: visible;
  pointer-events: none;
}

.tbs-hero__swoosh path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: be-swoosh-draw 900ms cubic-bezier(.65, 0, .35, 1) 350ms forwards;
}

@keyframes be-swoosh-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tbs-hero__swoosh path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.tbs-hero__text {
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #475569;
  margin: 0 !important;
  max-width: 520px !important;
}

/* Rating row — now visible */
.tbs-hero__rating {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--be-muted-light);
  margin-bottom: -4px;
}

.tbs-hero__rating strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--be-teal);
}

.tbs-hero__rating .tbs-stars { gap: 1px; }
.tbs-hero__rating .tbs-stars svg { color: var(--be-amber); }

/* --- search bar --- */
.tbs-hero .tbs-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ECE7DC;
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 8px 24px rgba(15, 59, 58, .06);
  margin-top: 8px;
  max-width: none;
  width: 100%;
}

.tbs-hero .tbs-searchbar__icon { display: none; }

.tbs-hero .tbs-searchbar input[type="search"] {
  padding-left: 0;
  font-size: 16px;
  color: var(--be-ink);
}

.tbs-hero .tbs-searchbar input[type="search"]::placeholder {
  color: #64748B;
}

.tbs-hero .tbs-searchbar .tbs-btn {
  background: #F2A33A;
  color: #0F3B3A;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: none;
  white-space: nowrap;
  flex: none;
  min-height: 44px;
}

.tbs-hero .tbs-searchbar:focus-within {
  border-color: var(--be-teal);
  box-shadow: 0 0 0 3px rgba(15, 59, 58, .12), 0 8px 24px rgba(15, 59, 58, .06);
}

.tbs-hero .tbs-searchbar .tbs-btn:hover {
  background: var(--be-amber-dark);
}

/* --- trust points (replaces chips) --- */
.tbs-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: -6px;
}

.tbs-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.tbs-hero__trust-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--be-amber);
  flex-shrink: 0;
}

/* Hide old chips */
.tbs-hero__chips { display: none !important; }

/* Hero features */
.tbs-hero__features {
  color: var(--be-muted);
}

.tbs-hero__features .tbs-icon {
  color: var(--be-amber);
}

/* ------------------------------------------------------------ tour cards */
.tbs-card {
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* List card: text lives in one cell so row 1 isn't stretched to the price column's height */
.tbs-card--list .tbs-card__body {
  align-items: start;
  padding: 18px 22px;
}

.tbs-card--list .tbs-card__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tbs-card--list .tbs-card__main > * {
  margin: 0;
}

.tbs-card--list .tbs-card__main .tbs-card__location {
  margin-bottom: -2px;
}

.tbs-card--list .tbs-card__footer {
  align-self: center;
}

.tbs-card--list .tbs-card__media {
  flex: 0 0 220px;
}

.tbs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tbs-shadow-lg);
}

.tbs-card__media {
  overflow: hidden;
  border-radius: var(--be-radius-lg) var(--be-radius-lg) 0 0;
}

.tbs-card__media img {
  transition: transform .3s ease;
}

.tbs-card:hover .tbs-card__media img {
  transform: scale(1.03);
}

/* Wishlist heart — top-right of image */
.tbs-card .tbs-wish {
  top: 12px !important;
  right: 12px !important;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  z-index: 3;
}

/* Discount badge — amber pill, top-left */
.tbs-card__discount {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  background: var(--be-amber);
  color: var(--be-teal);
  font-weight: 700;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

/* Tour badge + discount share the top-left corner: stack the discount beneath */
.tbs-card__badge {
  z-index: 2;
}

.tbs-card__badge + .tbs-card__discount {
  top: 44px;
}

/* Price */
.tbs-card__price-now {
  color: var(--be-teal);
  font-weight: 700;
}

.tbs-card__title a:hover {
  color: var(--be-amber-dark);
}

/* Card footer — book now button */
.tbs-card__footer {
  border-top: 1px solid var(--be-border);
}

.tbs-card__footer {
  gap: 8px;
}

.tbs-card__book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px 8px 14px;
  background: var(--be-amber);
  color: var(--be-teal);
  font-weight: 600;
  font-size: .8125rem;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease;
}

.tbs-card__book-btn:hover {
  background: var(--be-amber-dark);
  color: var(--be-teal);
  text-decoration: none !important;
}

.tbs-card__book-btn:focus-visible {
  outline: 2px solid var(--be-teal);
  outline-offset: 2px;
}

.tbs-card__book-icon {
  flex-shrink: 0;
}

/* Narrow cards (sized by the card itself, not the viewport): round icon-only
   button beside the price. The label stays in the DOM for screen readers. */
.tbs-card {
  container: tbs-card / inline-size;
}

@container tbs-card (max-width: 300px) {
  .tbs-card .tbs-card__footer,
  .tbs-card.tbs-card--compact .tbs-card__footer {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .tbs-card .tbs-card__price {
    min-width: 0;
  }

  .tbs-card .tbs-card__book-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .tbs-card .tbs-card__book-icon {
    width: 19px;
    height: 19px;
  }

  .tbs-card .tbs-card__book-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* --------------------------------------------------- trust strip (teal) */
.be-trust-strip {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 26px;
  padding-inline: max(20px, calc((100% - 1200px) / 2 + 20px));
  background: #0F3B3A;
  color: #F6EFE4;
  font-size: 16px;
  font-weight: 500;
}

.be-trust-strip__item {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  padding: 6px 8px;
}

.be-trust-strip__item .tbs-icon {
  color: var(--be-amber);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.be-trust-strip__item .tbs-icon svg {
  width: 26px;
  height: 26px;
  stroke: #F2A33A;
  stroke-width: 1.8;
}

@media (max-width: 640px) {
  .be-trust-strip {
    flex-direction: column;
    gap: 4px;
    padding-block: 20px;
  }

  .be-trust-strip__item {
    flex-basis: auto;
  }
}

/* --------------------------------------------------- reviews (cream bg) */
.tbs-reviews-block--soft {
  background: var(--be-sand-light);
}

.tbs-review__source--google {
  color: var(--be-teal);
}

.tbs-review .tbs-stars {
  color: var(--be-amber);
}

/* ------------------------------------------------- inspiration cards */
.tbs-post-card {
  border-radius: var(--be-radius-lg);
  overflow: hidden;
}

/* Mint/cream card backgrounds */
.tbs-post-card:nth-child(3n+1) { background: var(--be-mint); }
.tbs-post-card:nth-child(3n+2) { background: var(--be-sand); }
.tbs-post-card:nth-child(3n+3) { background: var(--be-sand-light); }

.tbs-post-card__label {
  color: var(--be-teal);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .06em;
}

/* ------------------------------------------------- final CTA bar (teal) */
.be-cta-bar {
  background: var(--be-teal);
  padding: 40px var(--tbs-gutter);
  color: #fff;
}

.be-cta-bar__inner {
  max-width: var(--tbs-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.be-cta-bar h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.be-cta-bar p {
  color: rgba(255, 255, 255, .75);
  font-size: .875rem;
  margin-bottom: 0;
}

.be-cta-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.be-cta-bar__btn--book {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--be-amber);
  color: var(--be-teal);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--tbs-radius-sm);
  text-decoration: none !important;
  transition: background .15s ease;
}

.be-cta-bar__btn--book:hover,
.be-cta-bar__btn--book:focus {
  background: var(--be-amber-dark);
  color: var(--be-teal);
  text-decoration: none !important;
}

.be-cta-bar__btn--wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--be-sand);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--be-sand);
  border-radius: var(--tbs-radius-sm);
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}

.be-cta-bar__btn--wa:hover,
.be-cta-bar__btn--wa:focus {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none !important;
}

@media (max-width: 782px) {
  .be-cta-bar {
    padding: 32px var(--tbs-gutter);
  }

  .be-cta-bar__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .be-cta-bar h2 {
    font-size: 1.25rem;
  }

  .be-cta-bar__actions {
    flex-direction: column;
    width: 100%;
  }

  .be-cta-bar__btn--book,
  .be-cta-bar__btn--wa {
    width: 100%;
    justify-content: center;
    text-decoration: none !important;
  }
}

/* --------------------------------------------------------- footer (cream) */
.tbs-site-footer {
  background: var(--be-sand-light);
  color: var(--be-ink);
}

.tbs-site-footer h2,
.tbs-site-footer h3 {
  color: var(--be-teal);
}

.tbs-site-footer p {
  color: var(--be-muted);
}

.tbs-site-footer a {
  color: var(--be-muted);
}

.tbs-site-footer a:hover {
  color: var(--be-teal);
}

/* Social icons — always a single row */
.tbs-site-footer__social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.tbs-site-footer__social li {
  display: block;
}

.tbs-site-footer__social a {
  background: var(--be-sand);
  color: var(--be-teal);
}

.tbs-site-footer__social a:hover,
.tbs-site-footer__social a:focus-visible {
  background: var(--be-amber);
  color: var(--be-teal);
}

.tbs-site-footer__bottom {
  border-top-color: var(--be-border);
  color: var(--be-muted);
}

.tbs-site-footer .tbs-newsletter__btn {
  background: var(--be-amber);
  color: var(--be-teal);
}

.tbs-site-footer .tbs-newsletter__btn:hover {
  background: var(--be-amber-dark);
}


.tbs-site-footer .tbs-newsletter__input {
  background: #fff;
  border-color: var(--be-border);
  color: var(--be-ink);
}

.tbs-site-footer .tbs-newsletter__label {
  color: var(--be-ink);
}

.tbs-site-footer .tbs-pay-badge {
  color: var(--be-muted);
  border-color: var(--be-border);
}

/* Amex badge — white text on blue for readability */
.tbs-site-footer .tbs-pay-badge--amex {
  background: #006FCF;
  color: #fff;
  font-weight: 700;
  border-color: #006FCF;
}

/* Newsletter — spacing */
.tbs-site-footer .tbs-newsletter {
  margin-top: 24px;
}

.tbs-site-footer .tbs-newsletter__label {
  margin-bottom: 12px;
}

.tbs-site-footer .tbs-newsletter__row {
  gap: 12px;
}

/* -------------------------------------------------------- WhatsApp FAB */
.be-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.be-whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  color: #fff;
}

.be-whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Astra scroll-to-top: brand style, stacked above the WhatsApp button */
#ast-scroll-top {
  right: 28px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--be-teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 59, 58, .25);
}

#ast-scroll-top[style*="block"] {
  display: flex !important;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus {
  background: #0a2a29;
  color: #fff;
}

#ast-scroll-top {
  line-height: 0;
}

#ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
}

/* Astra nudges the arrow with translate(0,-20%); keep only the flip.
   The glyph is 26x16, so size it to that ratio. */
#ast-scroll-top.ast-scroll-top-icon .ast-icon.icon-arrow svg {
  width: 18px;
  height: 11px;
  margin: 0;
  fill: currentColor;
  transform: rotate(180deg);
}

@media (max-width: 782px) {
  /* clears the full-width WhatsApp bar */
  #ast-scroll-top {
    right: 16px;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }
}

/* WhatsApp FAB text — hidden on desktop */
.be-whatsapp-fab__text { display: none; }

/* icon buttons need position:relative for badge positioning */
.tbs-header-btn--icon {
  position: relative;
}

/* -------------------------------- hide "Bali experience" chip on cards */
.tbs-chip--bali-experience { display: none; }

/* ------------------------------------ tour card image — 4:3 ratio */
.tbs-card__media {
  aspect-ratio: 3 / 2;
  position: relative;
}

.tbs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------- carousel → grid override (4-col desktop) */
.tbs-tours-block .tbs-scroller {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--tbs-space-5);
  overflow: visible;
  scroll-snap-type: none;
}

.tbs-tours-block .tbs-scroller > * {
  flex: none;
  min-width: 0;
}

@media (max-width: 1024px) {
  .tbs-tours-block .tbs-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .tbs-tours-block .tbs-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Cards inside .entry-content (homepage) inherit Astra's `.entry-content p` and
   `.entry-content :where(h3)` bottom margins, which outrank the plugin's reset. */
.tbs-card .tbs-card__location,
.tbs-card .tbs-card__title,
.tbs-card .tbs-card__excerpt,
.tbs-card .tbs-card__features {
  margin: 0;
}

.tbs-card .tbs-card__features {
  padding: 0;
}

/* Compact card (~2 per row on phones): photo, location, title, price + icon button.
   Chips and feature rows are dropped here; they live on the tour page. */
@container tbs-card (max-width: 220px) {
  .tbs-card .tbs-card__media {
    aspect-ratio: 4 / 3;
  }

  .tbs-card .tbs-card__body {
    gap: 6px;
    padding: 12px;
  }

  /* block (not flex) so text-overflow can add the ellipsis */
  .tbs-card .tbs-card__location {
    display: block;
    overflow: hidden;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .tbs-card .tbs-card__location svg {
    margin: 0 3px 0 0;
    vertical-align: -2px;
  }

  .tbs-card .tbs-card__title {
    font-size: 14px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .tbs-card .tbs-card__chips,
  .tbs-card .tbs-card__features,
  .tbs-card .tbs-card__excerpt {
    display: none;
  }

  .tbs-card .tbs-card__footer {
    gap: 6px;
    padding-top: 8px;
  }

  .tbs-card .tbs-card__price-label {
    font-size: 9px;
  }

  .tbs-card .tbs-card__price strong {
    font-size: 15px;
  }

  .tbs-card .tbs-card__price del {
    display: block;
    font-size: 11px;
  }

  .tbs-card .tbs-card__book-btn {
    width: 36px;
    height: 36px;
  }

  .tbs-card .tbs-card__book-icon {
    width: 17px;
    height: 17px;
  }

  .tbs-card .tbs-card__badge {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 9px;
  }

  .tbs-card .tbs-card__discount {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .tbs-card .tbs-card__badge + .tbs-card__discount {
    top: 32px;
  }

  .tbs-card .tbs-wish {
    top: 8px !important;
    right: 8px !important;
    width: 30px;
    height: 30px;
  }

  .tbs-card .tbs-wish svg {
    width: 15px;
    height: 15px;
  }
}

/* -------------- Full Day Tours — reduce excess vertical space */
.tbs-tours-block + .tbs-tours-block {
  padding-top: 0;
}

/* --- right column: illustration collage --- */
.tbs-hero__media {
  display: block;
  height: auto;
  flex: 0 0 auto;
  width: 556px;
  max-width: 556px;
  grid-template-columns: none;
  grid-template-rows: none;
  position: relative;
}

/* Old collage — hide */
.hero-collage { display: none !important; }

/* New illustration collage */
.be-hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  height: 400px;
  max-width: 556px;
}

/* 4th tour is for the mobile carousel only */
.be-hero-collage__card:nth-child(n+4) {
  display: none;
}

.be-hero-collage__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  text-decoration: none !important;
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 59, 58, .10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.be-hero-collage__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 59, 58, .16);
}

.be-hero-collage__card:focus-visible {
  outline: 2px solid var(--be-amber);
  outline-offset: 2px;
}

.be-hero-collage__card--main {
  grid-row: 1 / 3;
  align-self: center;
  height: 312px;
  margin-top: 44px;
}

.be-hero-collage__card:not(.be-hero-collage__card--main) {
  height: 193px;
}

.be-hero-collage__svg,
.be-hero-collage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.be-hero-collage__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  min-height: 80px;
}

/* -------------------------------------------------- hero responsive */
@media (max-width: 1199px) and (min-width: 992px) {
  .tbs-hero__media {
    width: 480px;
    max-width: 480px;
  }

  .be-hero-collage {
    max-width: 480px;
    height: 360px;
  }

  .be-hero-collage__card--main {
    height: 268px;
    margin-top: 38px;
  }

  .be-hero-collage__card:not(.be-hero-collage__card--main) {
    height: 173px;
  }
}

@media (max-width: 991px) {
  .tbs-hero {
    padding: 40px 16px 32px;
  }

  .tbs-hero__inner {
    flex-direction: column !important;
    gap: 32px;
  }

  .tbs-hero__copy {
    max-width: none;
  }

  .tbs-hero__media {
    max-width: none;
    width: 100%;
  }

  .be-hero-collage {
    max-width: none;
    height: 340px;
  }

  .be-hero-collage__card--main {
    height: 280px;
    margin-top: 30px;
  }

  .be-hero-collage__card:not(.be-hero-collage__card--main) {
    height: 163px;
  }

  .tbs-hero__title {
    font-size: clamp(40px, 8vw, 64px) !important;
  }
}

@media (max-width: 767px) {
  /* Carousel: ~2.3 cards visible, bleeding to the screen edges, aligned to the 16px hero gutter */
  .tbs-hero__media {
    min-width: 0;
  }

  .be-hero-collage {
    display: flex;
    gap: 10px;
    height: auto;
    max-width: none;
    margin: 0 -16px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .be-hero-collage::-webkit-scrollbar {
    display: none;
  }

  .be-hero-collage__card,
  .be-hero-collage__card:nth-child(n+4) {
    display: flex;
    flex: 0 0 calc((100% - 20px) / 2.3);
    height: 200px !important;
    margin-top: 0 !important;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .be-hero-collage__label {
    padding: 12px;
    min-height: 64px;
    font-size: 13px;
  }

  .tbs-hero__rating {
    flex-wrap: wrap;
  }

  .tbs-hero__swoosh {
    bottom: -9px;
    height: 12px;
  }

  .tbs-hero__swoosh path {
    stroke-width: 4;
  }

  .tbs-hero__trust {
    gap: 12px;
  }
}

/* WhatsApp mobile sticky button (amber, replaces green FAB) */
@media (max-width: 782px) {
  .be-whatsapp-fab {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: var(--be-amber);
    color: var(--be-teal);
    padding: 14px;
    font-weight: 700;
    font-size: .9375rem;
    font-family: Outfit, system-ui, sans-serif;
    gap: 8px;
    justify-content: center;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .1);
  }

  .be-whatsapp-fab svg {
    width: 20px;
    height: 20px;
    fill: var(--be-teal);
  }

  .be-whatsapp-fab:hover {
    color: var(--be-teal);
    background: var(--be-amber-dark);
  }

  .be-whatsapp-fab__text { display: inline; }
}

/* -------------------------------------------- mobile drawer extras */
.be-drawer-extras {
  display: none;
}

@media (max-width: 991px) {

  /* ── Mobile header bar ───────────────────────────────────── */
  #ast-mobile-header .ast-builder-grid-row {
    min-height: 64px;
    max-height: 64px;
    align-items: center;
  }

  #ast-mobile-header .site-primary-header-wrap {
    padding-inline: 16px;
  }

  #ast-mobile-header [data-section="section-header-mobile-trigger"] {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  /* Hamburger / close button */
  .menu-toggle.ast-mobile-menu-trigger-minimal {
    width: 44px;
    height: 44px;
    border: none !important;
    outline: none !important;
    background: transparent;
    padding: 0;
  }

  .menu-toggle.ast-mobile-menu-trigger-minimal:focus-visible {
    outline: 2px solid var(--be-amber) !important;
    outline-offset: 2px;
    border: none !important;
  }

  /* ── Menu content area ───────────────────────────────────── */
  .ast-mobile-header-content {
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    padding-bottom: 72px;
  }

  /* Level-1 menu items */
  #ast-hf-mobile-menu {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #ast-hf-mobile-menu > .menu-item > a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-height: 52px;
    font-size: 17px;
    font-weight: 600;
    color: #1E293B;
    text-decoration: none;
    border-bottom: 1px solid #F1ECE1;
  }

  #ast-hf-mobile-menu > .menu-item > a:hover {
    color: var(--be-teal);
  }

  /* ── Dropdown groups (Tour Packages / Activities / Destinations) ── */
  #ast-hf-mobile-menu > .be-mega-wrap {
    display: block;
  }

  #ast-hf-mobile-menu > .be-mega-wrap > .be-mega-trigger {
    display: none !important;
  }

  .be-drawer-group__toggle,
  .be-drawer-group .be-drawer-group__toggle:hover,
  .be-drawer-group .be-drawer-group__toggle:focus,
  .be-drawer-group .be-drawer-group__toggle:active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    min-height: 52px;
    background: none;
    border: none;
    border-bottom: 1px solid #F1ECE1;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: #1E293B;
    cursor: pointer;
  }

  .be-drawer-group .be-drawer-group__toggle[aria-expanded="true"] {
    color: var(--be-teal);
    border-bottom-color: transparent;
  }

  .be-drawer-group .be-drawer-group__toggle:focus-visible {
    outline: 2px solid var(--be-teal);
    outline-offset: -2px;
  }

  .be-drawer-group__toggle svg {
    flex-shrink: 0;
    color: #94A3B8;
    transition: transform .2s ease;
  }

  .be-drawer-group__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
    color: var(--be-teal);
  }

  .be-drawer-group__panel {
    background: #FBF8F2;
    padding: 6px 20px 14px;
    border-bottom: 1px solid #F1ECE1;
  }

  .be-drawer-group__panel[hidden] {
    display: none;
  }

  .be-drawer-group__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .be-drawer-group__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: #1E293B;
    text-decoration: none;
  }

  .be-drawer-group__list a:hover {
    color: var(--be-teal);
  }

  .be-drawer-group__heading {
    margin: 10px 0 2px;
    padding: 0 4px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748B;
  }

  .be-drawer-group__heading:first-child {
    margin-top: 6px;
  }

  .be-drawer-group__list .be-nav-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--be-teal);
  }

  .be-drawer-group__all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 6px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--be-teal);
    text-decoration: none;
  }

  /* The desktop header actions (cart pill) duplicate the Wishlist/Cart/Account tiles below */
  #ast-mobile-header .baliexpedition-menu-actions,
  #ast-mobile-popup .baliexpedition-menu-actions {
    display: none !important;
  }

  /* ── Bottom utilities block ──────────────────────────────── */
  .be-drawer-extras {
    display: block;
    border-top: 1px solid var(--be-border);
    background: #FBF8F2;
    padding: 16px 20px;
    margin-top: 0;
  }

  .be-drawer-extras__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .be-drawer-extras__utils {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .be-drawer-extras__util-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 64px;
    padding: 10px 6px;
    border: 1px solid #E2DCCF;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: #1E293B;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
  }

  .be-drawer-extras__util-btn svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--be-teal);
  }

  .be-drawer-extras__util-btn span {
    margin: 0;
  }

  .be-drawer-extras__util-btn:hover {
    background: #F6EFE4;
    text-decoration: none;
    color: #1E293B;
  }

  /* Currency + language as one centred row */
  .be-drawer-extras__switchers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 4px;
  }

  .be-drawer-extras__currency,
  .be-drawer-extras__language {
    display: flex;
    align-items: center;
    padding: 0;
  }

  .be-drawer-extras__link {
    display: none;
  }

  /* Hide desktop menu actions in mobile */
  .baliexpedition-menu-actions {
    display: none;
  }

  /* Hide Wishlist & Account icons, keep Cart beside hamburger */
  .tbs-header-btn--icon:not(.tbs-header-btn--cart) {
    display: none !important;
  }

  .tbs-header-btn--cart {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--be-border);
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--be-teal);
  }

  .bx-topbar__switchers {
    display: none;
  }

  .be-account-dropdown {
    display: none !important;
  }

  .be-account-wrap {
    position: static;
  }
}

/* Activities / Destinations: 2 columns on wider phones */
@media (min-width: 360px) and (max-width: 991px) {
  .be-drawer-group__list--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
}

/* ============================================================
   NAV DROPDOWNS — Tour Packages / Activities / Destinations
   ============================================================ */

@media (min-width: 992px) {
  .be-nav-home { display: none !important; }
  .be-drawer-group { display: none !important; }
}

.be-mega-wrap {
  position: relative;
}

.be-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.be-mega-caret {
  transition: transform .2s ease;
}

.be-mega-trigger[aria-expanded="true"] .be-mega-caret {
  transform: rotate(180deg);
}

/* Panel shell, centred under its trigger */
.be-mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--be-border);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 59, 58, .12);
  text-align: left;
}

/* Hover bridge across the gap between trigger and panel */
.be-mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}

.be-mega-panel[hidden] {
  display: none;
}

.be-mega-panel--packages {
  left: -16px;
  transform: none;
  width: min(680px, calc(100vw - 32px));
}
.be-mega-panel--activities { width: min(520px, calc(100vw - 32px)); }
.be-mega-panel--destinations { width: min(540px, calc(100vw - 32px)); }

.be-mega-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 28px;
  padding: 24px 24px 20px;
  align-items: start;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
}

.be-mega-panel--packages .be-mega-panel__inner {
  grid-template-columns: minmax(0, 1fr) 236px;
}

.be-mega-col__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--be-border);
}

.be-mega-chips + .be-mega-col__heading {
  margin-top: 18px;
}

.be-mega-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.be-mega-panel a:focus-visible {
  outline: 2px solid var(--be-amber);
  outline-offset: -2px;
}

/* Package type chips */
.be-mega-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.be-mega-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--be-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
}

.be-mega-chips a:hover {
  background: #f6efe4;
  border-color: #e6dccb;
  color: var(--be-teal);
}

.be-mega-chips .be-nav-icon {
  width: 16px;
  height: 16px;
  color: var(--be-teal);
}

.be-mega-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef4f3;
  font-size: 11px;
  font-weight: 700;
  color: var(--be-teal);
  text-align: center;
}

/* Popular packages list */
.be-mega-tours {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.be-mega-tours a,
.be-mega-icons a,
.be-mega-places a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 12px;
  color: #1e293b;
  text-decoration: none;
  transition: background .12s ease;
}

.be-mega-tours a:hover,
.be-mega-icons a:hover,
.be-mega-places a:hover {
  background: #f6efe4;
  color: #1e293b;
}

.be-mega-tours img,
.be-mega-places img,
.be-mega-places__ph {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.be-mega-places__ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4f3;
  color: var(--be-teal);
}

.be-mega-tours__text,
.be-mega-icons__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.be-mega-tours__title,
.be-mega-icons__name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.be-mega-tours__price,
.be-mega-icons__meta {
  font-size: 12.5px;
  line-height: 1.3;
  color: #64748b;
}

.be-mega-tours__title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.be-mega-tours a:hover .be-mega-tours__title,
.be-mega-icons a:hover .be-mega-icons__name,
.be-mega-places a:hover .be-mega-icons__name {
  color: var(--be-teal);
}

/* Activities icon grid + destination tiles */
.be-mega-icons,
.be-mega-places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}

.be-mega-icons__ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef4f3;
  color: var(--be-teal);
  transition: background .12s ease, color .12s ease;
}

.be-mega-icons a:hover .be-mega-icons__ico {
  background: var(--be-teal);
  color: #fff;
}

/* Featured tour card */
.be-mega-featured {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #334155;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--be-border);
  transition: box-shadow .2s ease;
}

.be-mega-featured:hover {
  box-shadow: 0 8px 24px rgba(15, 59, 58, .08);
  text-decoration: none;
  color: #334155;
}

.be-mega-featured__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.be-mega-featured__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.be-mega-featured__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--be-teal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.be-mega-featured__price {
  font-size: 13px;
  color: #64748b;
}

.be-mega-featured__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-top: 4px;
  background: var(--be-amber);
  color: var(--be-teal);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: background .15s ease;
}

.be-mega-featured:hover .be-mega-featured__btn {
  background: var(--be-amber-dark, #e09530);
}

/* Panel footer — view all */
.be-mega-panel__footer {
  background: #fbf8f2;
  padding: 13px 24px;
  border-top: 1px solid var(--be-border);
  border-radius: 0 0 20px 20px;
}

.be-mega-view-all {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--be-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.be-mega-view-all .be-mega-arrow {
  display: inline-block;
  transition: transform .15s ease;
}

.be-mega-view-all:hover {
  color: var(--be-teal);
  text-decoration: none;
}

.be-mega-view-all:hover .be-mega-arrow {
  transform: translateX(4px);
}

/* Six menu items + three icons: tighten the row on small desktops */
@media (min-width: 992px) and (max-width: 1279px) {
  #ast-desktop-header ul.main-header-menu {
    gap: 20px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #ast-desktop-header ul.main-header-menu {
    gap: 14px;
  }

  #ast-desktop-header .main-header-menu > .menu-item > a {
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
  }
}

@media (min-width: 992px) and (max-width: 1099px) {
  #ast-desktop-header ul.main-header-menu {
    gap: 10px;
  }

  #ast-desktop-header .main-header-menu > .menu-item > a {
    font-size: 14px;
  }

  #ast-desktop-header .be-mega-trigger {
    gap: 3px;
  }
}

@media (max-width: 991px) {
  .be-mega-panel { display: none !important; }
  .be-mega-caret { display: none; }
}

/* ============================================================
   ACCOUNT DROPDOWN
   ============================================================ */

.be-account-wrap {
  position: relative;
}

/* Scoped to beat Astra's `.main-navigation ul { position: relative }` */
.be-account-wrap > .be-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--be-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 59, 58, .1);
  z-index: 1000;
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.be-account-dropdown[hidden] {
  display: none;
}

.be-account-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #334155;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.be-account-dropdown a:hover {
  background: var(--be-sand);
  color: var(--be-teal);
}

/* Mobile: hide account dropdown (account is in drawer) */
@media (max-width: 991px) {
  .be-account-dropdown { display: none !important; }
  .be-account-wrap { position: static; }
}


/* ============================================================
   BREADCRUMBS
   ============================================================ */

.be-breadcrumb {
  max-width: var(--tbs-container, 1200px);
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 13px;
  color: #94a3b8;
}

.be-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.be-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.be-breadcrumb__item + .be-breadcrumb__item::before {
  content: "›";
  margin: 0 8px;
  color: #cbd5e1;
}

.be-breadcrumb__link {
  color: #64748b;
  text-decoration: none;
}

.be-breadcrumb__link:hover {
  color: var(--be-teal);
  text-decoration: underline;
}

.be-breadcrumb__item--current {
  color: #334155;
  font-weight: 500;
}


/* ============================================================
   FOOTER — 5-column grid
   ============================================================ */

.tbs-site-footer__inner {
  display: grid !important;
  grid-template-columns: 1.4fr 1.5fr 0.75fr 0.75fr 1.4fr;
  gap: 32px;
  max-width: var(--tbs-container, 1200px);
  margin: 0 auto;
  padding: 48px 20px 32px;
}

/* Brand column — logo + description, left-aligned on desktop */
.tbs-site-footer__brand {
  text-align: left;
}

.tbs-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.tbs-site-footer__logo img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.tbs-site-footer__desc {
  font-size: 13px;
  line-height: 1.6;
  opacity: .75;
  margin: 12px 0 16px;
}

/* Explore Bali — 2 sub-columns */
.tbs-site-footer__explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

/* Column headings (desktop visible, mobile hidden) */
.tbs-site-footer__heading {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: .01em;
}

/* Toggle button (hidden on desktop, shown on mobile) */
.tbs-site-footer__toggle {
  display: none;
}

.tbs-site-footer__touch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tbs-site-footer__touch-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.tbs-site-footer__touch-list .tbs-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.tbs-site-footer__touch-list a {
  color: inherit;
  text-decoration: none;
}

.tbs-site-footer__touch-list a:hover {
  text-decoration: underline;
}

.tbs-site-footer__newsletter {
  max-width: var(--tbs-container, 1200px);
  margin: 0 auto;
  padding: 0 20px 24px;
}

.tbs-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: var(--tbs-container, 1200px);
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  opacity: .7;
}

.tbs-site-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tbs-site-footer__policies a {
  color: inherit;
  text-decoration: none;
}

.tbs-site-footer__policies a:hover {
  text-decoration: underline;
}

.tbs-site-footer__sep {
  margin: 0 4px;
  opacity: .5;
}

/* Footer tablet: 2-col */
@media (max-width: 900px) {
  .tbs-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 20px 24px;
  }

  .tbs-site-footer__brand {
    grid-column: 1 / -1;
  }

  .tbs-site-footer__col--touch {
    grid-column: 1 / -1;
  }
}

/* Footer mobile: accordion */
@media (max-width: 767px) {
  .tbs-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 20px 16px;
  }

  .tbs-site-footer__brand {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
  }

  .tbs-site-footer__social,
  .tbs-site-footer__pay {
    justify-content: center;
  }

  .tbs-site-footer__col {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .tbs-site-footer__heading {
    display: none;
  }

  .tbs-site-footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Astra paints focused/hovered <button>s with its blue global colour */
  .tbs-site-footer .tbs-site-footer__toggle:hover,
  .tbs-site-footer .tbs-site-footer__toggle:focus,
  .tbs-site-footer .tbs-site-footer__toggle:active {
    background: none;
    color: inherit;
    box-shadow: none;
  }

  .tbs-site-footer .tbs-site-footer__toggle:focus-visible {
    outline: 2px solid var(--be-teal);
    outline-offset: 2px;
    border-radius: 6px;
  }

  .tbs-site-footer__toggle-icon {
    transition: transform .2s ease;
    opacity: .6;
  }

  .tbs-site-footer__toggle[aria-expanded="true"] .tbs-site-footer__toggle-icon {
    transform: rotate(45deg);
  }

  .tbs-site-footer__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
    padding: 0;
  }

  .tbs-site-footer__panel[hidden] {
    display: block !important;
    max-height: 0;
  }

  .tbs-site-footer__toggle[aria-expanded="true"] ~ .tbs-site-footer__panel,
  .tbs-site-footer__toggle[aria-expanded="true"] ~ .tbs-site-footer__heading ~ .tbs-site-footer__panel {
    max-height: 500px;
    padding-bottom: 16px;
  }

  .tbs-site-footer__explore-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tbs-site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tbs-site-footer__policies {
    justify-content: center;
  }

  /* Clear the full-width WhatsApp bar (tour pages reserve room for the booking bar instead) */
  body:not(.tbs-single-tour) .tbs-site-footer {
    padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  }
}


/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tbs-card,
  .tbs-card__media img,
  .be-whatsapp-fab,
  #masthead {
    transition: none !important;
  }

  .tbs-card:hover { transform: none; }
  .tbs-card:hover .tbs-card__media img { transform: none; }
}

/* ---------------------------------------- tour card location icon fix */
.tbs-card__location {
  align-items: flex-start;
}

.tbs-card__location svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------- mobile booking bar (single tour) */
.be-mbar {
  display: none;
}

@media (max-width: 782px) {
  body.tbs-single-tour .tbs-booking-bar {
    display: none !important;
  }

  body.tbs-single-tour {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  body.tbs-single-tour .be-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #0B2B2A;
    color: #fff;
    box-shadow: 0 -6px 24px rgba(11, 43, 42, .22);
    font-family: Outfit, system-ui, sans-serif;
  }

  .be-mbar__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .be-mbar__title {
    overflow: hidden;
    color: rgba(248, 250, 252, .86);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.3;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .be-mbar__from {
    margin-top: 4px;
    color: var(--be-amber);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .be-mbar__price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    white-space: nowrap;
  }

  .be-mbar__price strong {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
  }

  .be-mbar__price > span {
    color: rgba(248, 250, 252, .7);
    font-size: 12px;
  }

  .be-mbar__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 22px 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--be-amber);
    color: var(--be-teal);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
  }

  .be-mbar__btn:hover,
  .be-mbar__btn:focus-visible {
    background: var(--be-amber-dark);
  }

  .be-mbar__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  /* On tour pages WhatsApp goes back to a round chat button floating above the bar */
  body.tbs-single-tour .be-whatsapp-fab {
    left: auto;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  }

  body.tbs-single-tour .be-whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: #fff;
  }

  body.tbs-single-tour .be-whatsapp-fab:hover {
    background: #1ebe5a;
    color: #fff;
  }

  body.tbs-single-tour .be-whatsapp-fab__text {
    display: none;
  }

  body.tbs-single-tour #ast-scroll-top {
    bottom: calc(154px + env(safe-area-inset-bottom, 0px));
  }
}

/* ------------------------------------------------ mobile header balance */
/* The bar's 80px min-height holds a 64px row that sat at the top; centre it. */
#ast-mobile-header .ast-primary-header-bar {
  align-content: center;
}

/* Pull the toggle right by its padding (10px) + the glyph's own inset
   (3.5/24 of 32px ≈ 5px) so the bars end on the 20px gutter, mirroring the logo. */
#ast-mobile-header .menu-toggle.main-header-menu-toggle {
  padding: 10px;
  margin-right: -15px;
}

/* ------------------------------------------------ mobile menu toggle */
/* Stroked icons come from the astra_svg_icons filter; colour drives the stroke. */
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg,
.ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  width: 32px;
  height: 32px;
  color: var(--be-teal);
  stroke: currentColor;
}

/* -------------------------------------------------------- print */
@media print {
  .be-whatsapp-fab,
  .be-trust-strip,
  .be-cta-bar,
  .bx-topbar {
    display: none;
  }
}

/* ==========================================================================
   Destination intro — archive-tour.php on tbs_tour_location archives
   ========================================================================== */

.be-dest-intro {
  margin-bottom: 40px;
}

.be-dest-intro__hero-wrap {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/7;
}

.be-dest-intro__hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two-column layout: editorial text + at-a-glance card */
.be-dest-intro__columns {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.be-dest-intro__body {
  min-width: 0; /* prevent grid blowout */
}

.be-dest-intro__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--be-teal);
  margin-bottom: 16px;
  line-height: 1.25;
}

.be-dest-intro__text {
  font-size: 1rem;
  line-height: 1.75;
  color: #3a3a3a;
}

.be-dest-intro__text p {
  margin-bottom: 1em;
}

.be-dest-intro__text p:last-child {
  margin-bottom: 0;
}

/* At-a-glance card */
.be-dest-glance {
  background: #fff;
  border: 1.5px solid #E5EDF0;
  border-radius: 20px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 24px rgba(15, 59, 58, 0.07);
}

.be-dest-glance__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 6px;
}

.be-dest-glance__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--be-teal);
  line-height: 1.2;
  margin-bottom: 4px;
}

.be-dest-glance__region {
  font-size: 0.875rem;
  color: #64748B;
  margin-bottom: 0;
}

.be-dest-glance__divider {
  height: 1px;
  background: #E5EDF0;
  margin: 20px 0;
}

.be-dest-glance__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #334155;
  margin-bottom: 12px;
}

.be-dest-glance__stat:last-of-type {
  margin-bottom: 0;
}

.be-dest-glance__stat svg {
  flex-shrink: 0;
}

.be-dest-glance__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  padding: 14px 20px;
  background: var(--be-teal);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.be-dest-glance__cta:hover {
  background: #0a2e2d;
  transform: translateY(-1px);
  color: #fff;
}

/* Hide the archive subtitle when richer intro text is present */
.be-dest-intro + .tbs-archive__header .tbs-archive__subtitle {
  display: none;
}

@media (max-width: 1024px) {
  .be-dest-intro__columns {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .be-dest-intro__hero-wrap {
    border-radius: 14px;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
  }

  .be-dest-intro {
    margin-bottom: 28px;
  }

  .be-dest-intro__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .be-dest-glance {
    position: static;
    padding: 20px;
  }
}

/* ==========================================================================
   Destination grid — [be_destinations] shortcode on homepage
   ========================================================================== */

.be-destinations-section {
  padding: 64px 0;
}

/* Inner wrapper — no extra padding; homepage rule on .be-destinations-section handles containment */
.be-destinations-inner {
  width: 100%;
}

/* Section header: heading+subtitle left, "See all" link right */
.be-destinations-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.be-destinations-header__left {
  flex: 1 1 auto;
  min-width: 0;
}

/* Header-scoped selectors beat Astra's `.entry-content p { margin-bottom: 1.6em }`,
   which pushed the subtitle up and left "See all areas" sitting below it. */
.be-destinations-header .be-destinations-heading {
  font-size: 36px;
  font-weight: 600;
  color: #0F3B3A;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.be-destinations-header .be-destinations-subtitle {
  font-size: 16px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.be-destinations-header .be-destinations-all {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--be-teal);
  text-decoration: none;
  border-bottom: 2px solid var(--be-amber);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: opacity .15s;
}

.be-destinations-header .be-destinations-all:hover {
  color: var(--be-teal);
  opacity: .75;
  text-decoration: none;
}

/* Carousel: 6 visible ≥1200px, prev/next buttons straddle the edges */
.be-destinations-carousel {
  position: relative;
}

.be-destinations-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* room for the hover lift + shadow inside the scroll clip */
  padding: 6px 0 14px;
  margin: -6px 0 -14px;
}

.be-destinations-grid::-webkit-scrollbar {
  display: none;
}

.be-destinations-carousel .be-dest-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--be-border);
  border-radius: 50%;
  background: #fff;
  color: var(--be-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 59, 58, .16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .15s ease, color .15s ease, opacity .2s ease;
}

.be-destinations-carousel .be-dest-nav--prev { left: -22px; }
.be-destinations-carousel .be-dest-nav--next { right: -22px; }

.be-destinations-carousel .be-dest-nav:hover,
.be-destinations-carousel .be-dest-nav:focus-visible {
  background: var(--be-teal);
  border-color: var(--be-teal);
  color: #fff;
}

.be-destinations-carousel .be-dest-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.be-destinations-carousel.is-static .be-dest-nav {
  display: none;
}

/* Card: single <a>, photo fills card, overlay, text inside */
.be-dest-card {
  flex: 0 0 calc((100% - 100px) / 6);
  scroll-snap-align: start;
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  background: #0F3B3A; /* visible while image loads */
}

/* Dark gradient overlay for text legibility */
.be-dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,43,42,0) 40%, rgba(11,43,42,.82) 100%);
  pointer-events: none;
  border-radius: inherit;
}

.be-dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,59,58,.18);
  text-decoration: none;
  color: #fff;
}

.be-dest-card:focus-visible {
  outline: 2px solid var(--be-amber);
  outline-offset: 2px;
  text-decoration: none;
}

/* Photo / SVG: fill the card */
.be-dest-card__photo,
.be-dest-card__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Text block pinned to bottom of card, above overlay */
.be-dest-card__text {
  position: absolute;
  left: 16px;
  right: 54px;
  bottom: 16px;
  z-index: 1;
}

.be-dest-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 16px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.be-dest-card:hover .be-dest-card__arrow,
.be-dest-card:focus-visible .be-dest-card__arrow {
  background: var(--be-amber);
  border-color: var(--be-amber);
  color: var(--be-teal);
}

.be-dest-card__name {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-decoration: none;
}

.be-dest-card__meta {
  display: block;
  font-size: 13px;
  color: #F6EFE4;
  margin-top: 4px;
  text-decoration: none;
}

/* ── Tablet: 3 columns (768–1199px) ───────────────────────────────── */
@media (max-width: 1199px) and (min-width: 768px) {
  .be-destinations-grid {
    gap: 16px;
  }

  .be-dest-card {
    flex-basis: calc((100% - 32px) / 3);
  }

  .be-destinations-carousel .be-dest-nav--prev { left: -14px; }
  .be-destinations-carousel .be-dest-nav--next { right: -14px; }
}

/* ── Narrow desktop / large tablet (1024–1199px) already covered above ─ */

/* ── Mobile: horizontal scroll strip (<768px) ──────────────────────── */
@media (max-width: 767px) {
  /* Override the homepage contained-section padding so the strip can be full-bleed */
  .baliexpedition-home .entry-content > .be-destinations-section {
    padding-inline: 0;
    overflow: hidden;       /* prevent page-level horizontal scroll */
  }

  .be-destinations-section {
    padding: 48px 0;
    overflow: hidden;
  }

  .be-destinations-header {
    padding: 0 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .be-destinations-heading {
    font-size: 28px;
  }

  .be-destinations-subtitle {
    display: none;
  }

  /* Scroll strip */
  .be-destinations-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 4px 20px 16px; /* 4px top so focus ring isn't clipped, 16px bottom for scroll indicator */
    scroll-padding-inline: 20px; /* snap the first card to the 20px gutter, not the screen edge */
    /* hide scrollbar cross-browser */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .be-destinations-grid::-webkit-scrollbar {
    display: none;
  }

  /* ~3 cards in view with the 4th peeking; 4:5 like desktop */
  .be-dest-card {
    flex: 0 0 calc((100% - 20px) / 2.75);
    width: auto;
    height: auto;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .be-dest-card__name {
    font-size: 14px;
    line-height: 1.2;
  }

  .be-dest-card__meta {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
  }

  .be-destinations-carousel .be-dest-nav {
    display: none;
  }

  .be-destinations-grid {
    margin: 0;
  }

  .be-dest-card__text {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  /* Too small for the arrow without squeezing the name; the whole card is the link */
  .be-dest-card__arrow {
    display: none;
  }
}


/* ============================================================
   HUB PAGES — /destinations/ and /activities/
   ============================================================ */
.be-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin: 32px 0 48px;
}

.be-hub-grid .be-dest-card {
  flex: none;
  width: auto;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
}

.be-hub-card__icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--be-teal);
}

@media (max-width: 767px) {
  .be-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 36px;
  }

  .be-hub-grid .be-dest-card {
    border-radius: 14px;
  }

  .be-hub-card__icon {
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .be-hub-card__icon svg {
    width: 18px;
    height: 18px;
  }
}


/* ============================================================
   CONTENT PAGES — About, Contact, FAQ, legal, Find My Booking
   ============================================================ */

.be-page-hero {
  background: var(--be-sand-light);
  border-bottom: 1px solid var(--be-border);
}

.be-page-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.be-page-hero .be-breadcrumb {
  max-width: none;
  padding: 0;
  margin: 0 0 36px;
}

.be-page-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--be-amber-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.be-page-hero__title {
  margin: 0;
  max-width: 820px;
  color: var(--be-teal);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.be-page-hero__lead {
  margin: 18px 0 0;
  max-width: 680px;
  color: var(--be-muted);
  font-size: 18px;
  line-height: 1.6;
}

.be-content-page #primary {
  margin-top: 56px;
  margin-bottom: 88px;
}

.be-content-page .entry-content > :first-child { margin-top: 0; }

.be-content-page .entry-content {
  color: var(--be-muted);
  font-size: 17px;
  line-height: 1.7;
}

.be-content-page .entry-content h2 {
  margin: 0 0 16px;
  color: var(--be-teal);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -.015em;
}

.be-content-page .entry-content h3 {
  color: var(--be-teal);
  font-size: 19px;
  line-height: 1.35;
}

.be-content-page .entry-content a:not([class]) {
  color: var(--be-teal);
  text-decoration: underline;
  text-decoration-color: rgba(15, 59, 58, .3);
  text-underline-offset: 3px;
}

.be-content-page .entry-content a:not([class]):hover { text-decoration-color: currentColor; }

.be-content-page--find-my-booking .entry-content {
  max-width: 620px;
  margin-inline: auto;
}

.be-section-title { margin-top: 88px !important; }

.be-section-lead {
  max-width: 680px;
  margin: 0 0 24px;
}

/* ---------- About ---------- */

.be-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.be-about-intro__copy p { max-width: 640px; }

.be-about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.be-about-facts li {
  padding: 22px;
  background: var(--be-sand-light);
  border: 1px solid var(--be-border);
  border-radius: var(--tbs-radius);
}

.be-about-facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--be-teal);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.be-about-facts span {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
}

.be-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.be-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.be-feature {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--be-border);
  border-radius: var(--tbs-radius);
  transition: border-color .2s, box-shadow .2s;
}

.be-feature:hover {
  border-color: rgba(15, 59, 58, .2);
  box-shadow: var(--tbs-shadow-lg);
}

.be-feature__icon,
.be-contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--be-mint);
  color: var(--be-teal);
}

.be-content-page .entry-content .be-feature__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.be-feature__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.be-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.be-area-chips a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--be-border);
  border-radius: 999px;
  background: #fff;
  color: var(--be-teal);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.be-area-chips a:hover {
  border-color: var(--be-teal);
  background: var(--be-mint);
  color: var(--be-teal);
}

.be-area-chips span {
  color: var(--be-muted-light);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- CTA band ---------- */

.be-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 88px;
  padding: 40px 44px;
  border-radius: var(--be-radius-lg);
  background: var(--be-teal);
  color: rgba(255, 255, 255, .82);
}

.be-content-page .entry-content .be-cta__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 30px);
}

.be-cta__text {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
}

.be-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

.be-cta__btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.be-cta__btn--primary {
  background: var(--be-amber);
  color: var(--be-teal);
}

.be-cta__btn--primary:hover {
  background: var(--be-amber-dark);
  color: var(--be-teal);
}

.be-cta__btn--ghost {
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}

.be-cta__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------- Contact ---------- */

.be-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.be-contact-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--be-border);
  border-radius: var(--tbs-radius);
}

.be-contact-card--primary {
  background: var(--be-mint);
  border-color: rgba(15, 59, 58, .14);
}

.be-contact-card--primary .be-contact-card__icon {
  background: #25D366;
  color: #fff;
}

.be-content-page .entry-content .be-contact-card__title {
  margin: 0 0 6px;
  font-size: 20px;
}

.be-contact-card__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
}

.be-contact-card__value {
  margin: 0 0 20px;
  color: var(--be-ink);
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.be-contact-card__cta {
  margin-top: auto;
  color: var(--be-teal);
  font-weight: 600;
  text-decoration: none;
}

.be-contact-card__cta:hover { color: var(--be-amber-dark); }

.be-contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 72px;
}

.be-map {
  overflow: hidden;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius-lg);
  background: var(--be-sand);
  aspect-ratio: 4 / 3;
}

.be-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.be-checklist {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.be-checklist li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 32px;
}

.be-checklist li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--be-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.be-note-card {
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid var(--be-border);
  border-radius: var(--tbs-radius-sm);
  background: var(--be-sand-light);
}

.be-content-page .entry-content .be-note-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.be-note-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.be-faq__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.be-faq__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--be-border);
  border-radius: 999px;
  background: #fff;
  color: var(--be-teal);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.be-faq__nav a:hover {
  border-color: var(--be-teal);
  background: var(--be-mint);
}

.be-faq__group { scroll-margin-top: 120px; }

.be-faq__group + .be-faq__group { margin-top: 56px; }

.be-content-page .entry-content .be-faq__heading { margin-bottom: 18px; }

.be-faq__item {
  border: 1px solid var(--be-border);
  border-radius: var(--tbs-radius-sm);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.be-faq__item + .be-faq__item { margin-top: 10px; }

.be-faq__item[open] {
  border-color: rgba(15, 59, 58, .2);
  box-shadow: var(--tbs-shadow);
}

.be-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--be-teal);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.be-faq__q::-webkit-details-marker { display: none; }

.be-faq__q:focus-visible {
  outline: 2px solid var(--be-teal);
  outline-offset: 2px;
  border-radius: var(--tbs-radius-sm);
}

.be-faq__toggle {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--be-mint);
}

.be-faq__toggle::before,
.be-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--be-teal);
  transition: transform .2s;
}

.be-faq__toggle::after { transform: rotate(90deg); }

.be-faq__item[open] .be-faq__toggle::after { transform: rotate(0); }

.be-faq__a {
  padding: 0 22px 20px;
  font-size: 16px;
}

.be-faq__a > :last-child { margin-bottom: 0; }

.be-content-page .entry-content .be-cta__btn,
.be-content-page .entry-content .be-contact-card__cta,
.be-content-page .entry-content .be-area-chips a,
.be-content-page .entry-content .be-faq__nav a { text-decoration: none; }

.be-content-page .entry-content ul.be-area-chips,
.be-content-page .entry-content ul.be-checklist,
.be-content-page .entry-content ul.be-about-facts,
.be-content-page .entry-content .be-faq__nav ul {
  margin-left: 0;
  padding-left: 0;
}

.be-faq { max-width: 820px; }

.be-content-page .entry-content > p,
.be-content-page .entry-content > ul,
.be-content-page .entry-content > ol { max-width: 820px; }

.be-content-page .entry-content .tbs-tours-block {
  margin: 28px 0 0;
  padding: 0;
}

.be-content-page .tbs-lookup > .tbs-page-title { display: none; }

.be-content-page--find-my-booking .entry-content { margin-inline: 0; }

@media (min-width: 1100px) {
  .be-faq {
    display: grid;
    grid-template-columns: 240px minmax(0, 820px);
    column-gap: 64px;
    max-width: none;
  }

  .be-faq__nav {
    grid-column: 1;
    grid-row: 1 / span 20;
    position: sticky;
    top: 110px;
    align-self: start;
  }

  .be-faq__group { grid-column: 2; }

  .be-faq__group + .be-faq__group { margin-top: 56px; }

  .be-faq__nav ul {
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--be-border);
    border-radius: var(--tbs-radius);
    background: var(--be-sand-light);
  }

  .be-faq__nav a {
    display: flex;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
  }

  .be-faq__nav a:hover,
  .be-faq__nav a.is-active {
    background: #fff;
  }

  .be-content-page--faq .be-cta { max-width: 1124px; }
}

/* ---------- Legal: sticky contents beside the policy ---------- */

.be-content-page .bx-legal { padding-top: 0; }

@media (min-width: 1100px) {
  .be-content-page .bx-legal {
    display: grid;
    grid-template-columns: 260px minmax(0, 720px);
    grid-template-areas: "toc meta" "toc body";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    max-width: 1036px;
    margin-left: 0;
  }

  .be-content-page .bx-legal__meta {
    grid-area: meta;
    margin-top: 0;
  }

  .be-content-page .bx-legal .bx-toc {
    grid-area: toc;
    position: sticky;
    top: 110px;
    align-self: start;
    max-height: calc(100vh - 140px);
    overflow: auto;
  }

  .be-content-page .bx-legal__body { grid-area: body; }
}

.be-content-page .bx-legal__body h2 {
  margin-top: 48px;
  scroll-margin-top: 120px;
  font-size: 24px;
}

.be-content-page .bx-legal__body h3 { scroll-margin-top: 120px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .be-about-intro,
  .be-contact-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .be-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .be-contact-cards { grid-template-columns: 1fr 1fr; }
  .be-contact-card--primary { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .be-page-hero__inner { padding: 18px 20px 40px; }
  .be-page-hero .be-breadcrumb { margin-bottom: 24px; }
  .be-page-hero__lead { font-size: 16.5px; }
  .be-content-page #primary { margin-top: 36px; margin-bottom: 64px; }
  .be-content-page .entry-content { font-size: 16px; }
  .be-section-title { margin-top: 64px !important; }

  .be-about-facts,
  .be-features,
  .be-contact-cards { grid-template-columns: 1fr; }

  .be-features { gap: 14px; }

  .be-feature,
  .be-contact-card { padding: 22px; }

  .be-cta {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 64px;
    padding: 30px 24px;
  }

  .be-cta__actions,
  .be-cta__btn {
    width: 100%;
    justify-content: center;
  }

  .be-faq__nav ul { margin-bottom: 36px; }
  .be-faq__q { padding: 16px 18px; font-size: 16px; }
  .be-faq__a { padding: 0 18px 18px; font-size: 15.5px; }
}
