/* Monochrome mode: black & white only */

/* Base */
html, body {
  background: #fff !important;
  color: #000 !important;
}

/* Links */
a, a:visited {
  color: #000 !important;
}

/* Common containers (keep monochrome, but don't paint every wrapper white) */
.site-footer, .site-main,
article, .card,
.post-content, .tour-popup-panel, .tour-popup,
.review-card, .post-card, .tour-card, .period-card {
  background-color: #fff !important;
  color: #000 !important;
}

/* Wrappers should stay transparent so hero sections can show through */
.container,
header, footer, main, section, nav, aside {
  background-color: transparent !important;
}

/* Site header */
.site-header {
  background: #000 !important;
  color: #fff !important;
}

/* Solid black bar: invert black PNG so it reads light. Home hero: keep true black logo. */
.site-header .site-brand__img {
  filter: invert(1) brightness(1.12);
}
body.home .site-header .site-brand__img,
body.front-page .site-header .site-brand__img {
  filter: none !important;
}

body.home .burger,
body.front-page .burger {
  color: #000 !important;
}

.site-header .container,
.site-header nav {
  background: #000 !important;
}

/* Transparent header over the home hero only */
body.home .site-header,
body.front-page .site-header{
  background: transparent !important;
}
body.home .site-header .container,
body.home .site-header nav,
body.front-page .site-header .container,
body.front-page .site-header nav{
  background: transparent !important;
}

@media (max-width: 1280px){
  body.single-tour .site-header{
    background: transparent !important;
  }
  body.single-tour .site-header .container,
  body.single-tour .site-header nav{
    background: transparent !important;
  }
}
@media (min-width: 1281px){
  body.single-tour .site-header,
  body.single-tour .site-header .container,
  body.single-tour .site-header nav{
    background: #000 !important;
  }
}

.site-header a,
.site-header a:visited,
.site-header nav a {
  color: #fff !important;
}

/* Hotel-style hero should NOT be forced to black/white blocks */
.sf-stay-hero,
.sf-stay-hero .container,
.sf-stay-hero .sf-stay-hero__inner{
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
}
.sf-stay-hero .sf-stay-hero__copy,
.sf-stay-hero .sf-stay-hero__copy *{
  color: #fff !important;
}

/* Hotel-style DESKTOP hero: keep black background (not white/transparent) */
.sf-stay-hero-desktop,
.sf-stay-hero-desktop .container{
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
}
.sf-stay-hero-desktop a,
.sf-stay-hero-desktop a:visited{
  color: #fff !important;
}

/* Tour hero CTA: beat copy * / link color — uses --sf-btn-* from style.css parent */
.sf-stay-hero .sf-stay-hero__copy .btn,
.sf-stay-hero .sf-stay-hero__copy .btn:visited,
.sf-stay-hero-desktop__info .btn,
.sf-stay-hero-desktop__info .btn:visited{
  color: var(--sf-btn-color) !important;
  background: var(--sf-btn-bg) !important;
}
.sf-stay-hero .sf-stay-hero__copy .btn:hover,
.sf-stay-hero-desktop__info .btn:hover{
  color: var(--sf-btn-color) !important;
  background: var(--sf-btn-bg-hover) !important;
}

/* Hotel pages: don't force the whole <article> wrapper to white */
.sf-stay{
  background-color: transparent !important;
}

/* Inline-style sanitizers can still paint blocks white; re-assert hero backgrounds */
.sf-stay-hero-desktop{ background-color:#000 !important; }
.sf-stay-hero--mobile{ background-color: transparent !important; }

/* Keep hotel section menu readable in monochrome */
.sf-stay-nav{ background-color:#fff !important; border-bottom: 1px solid rgba(0,0,0,.12) !important; }
.sf-stay-nav__link{ color:#000 !important; }

/* Tour gallery slider: square edges, no drop shadow chrome, plain nav glyphs */
.sf-stay-slider,
.sf-stay-slider__track,
.sf-stay-slider__slide,
.sf-stay-slider .sf-stay-slider__slide img{
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.sf-stay-slider__btn,
.sf-stay-slider__btn::before{
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
}
.sf-stay-slider__btn::before{
  -webkit-text-stroke: 0.35px rgba(0,0,0,.5);
}

/* Hero banner (Aventuras) */
.hero--aventuras{
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero--aventuras .hero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Home hero: full screen, crop evenly */
body.home .hero--home.hero--aventuras,
body.front-page .hero--home.hero--aventuras{
  min-height: 100vh !important;
  height: 100vh !important;
  place-items: start center !important;
}
/* Keep responsive <picture> from affecting hero layout */
body.home .hero--home.hero--aventuras picture,
body.front-page .hero--home.hero--aventuras picture{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  z-index: -1 !important;
}
body.home .hero--home.hero--aventuras .hero__bg,
body.front-page .hero--home.hero--aventuras .hero__bg{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* Let the default hero wrap rules control layout */

.hero--aventuras .hero__wrap{
  position: relative;
  z-index: 1;
  width: min(1100px, 92%);
  padding: 12vh 0;
}

/* Home hero: remove overlay + set black text */
body.home .hero--home.hero--aventuras::after,
body.front-page .hero--home.hero--aventuras::after,
body.home .hero--home.hero--aventuras.hero::after,
body.front-page .hero--home.hero--aventuras.hero::after{
  background: transparent !important;
  background-color: transparent !important;
}
body.home .hero--home.hero--aventuras .hero__title,
body.front-page .hero--home.hero--aventuras .hero__title,
body.home .hero--home.hero--aventuras .hero__desc,
body.front-page .hero--home.hero--aventuras .hero__desc{
  color: #000 !important;
}

/* Home hero layout: copy a bit higher, CTA pinned near bottom */
body.home .hero--home.hero--aventuras .hero__wrap,
body.front-page .hero--home.hero--aventuras .hero__wrap{
  padding: calc(56px + 15vh) 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
body.home .hero--home.hero--aventuras .hero__desc,
body.front-page .hero--home.hero--aventuras .hero__desc{
  margin-bottom: 0 !important;
  max-width: none !important;
}
body.home .hero--home.hero--aventuras .hero__bottom,
body.front-page .hero--home.hero--aventuras .hero__bottom{
  margin-top: auto !important;
  padding: 0 0 5vh !important;
}
body.home .hero--home.hero--aventuras .hero__cta--aventuras,
body.front-page .hero--home.hero--aventuras .hero__cta--aventuras{
  margin: 0 !important;
}

/* Home hero typography */
body.home .hero--home.hero--aventuras .hero__title,
body.front-page .hero--home.hero--aventuras .hero__title{
  font-size: 60px !important;
}

@media (max-width: 640px){
  body.home .hero--home.hero--aventuras .hero__wrap,
  body.front-page .hero--home.hero--aventuras .hero__wrap{
    padding: calc(56px + 6vh) 0 0 !important;
  }

  body.home .hero--home.hero--aventuras .hero__title,
  body.front-page .hero--home.hero--aventuras .hero__title{
    font-size: 25px !important;
  }
  body.home .hero--home.hero--aventuras .hero__desc,
  body.front-page .hero--home.hero--aventuras .hero__desc{
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  body.home .hero--home.hero--aventuras .hero__bg,
  body.front-page .hero--home.hero--aventuras .hero__bg{
    object-position: center top !important;
  }
  body.home .hero--home.hero--aventuras.hero,
  body.front-page .hero--home.hero--aventuras.hero{
    height: 65vh !important;
    min-height: 65vh !important;
  }
}

.hero--aventuras .hero__title{
  margin: 0 0 18px;
  font-family: var(--font-heading, var(--sf-font-heading, inherit));
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
  letter-spacing: 1px;
  line-height: .95;
  font-size: clamp(42px, 5.8vw, 92px);
}

.hero--aventuras .hero__cta--aventuras{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: var(--sf-cta-orange, #e65f05) !important;
  color: #fff !important;
  border: 0 !important;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-weight: 700;
  border-radius: var(--sf-cta-radius, 8px);
}

.hero--aventuras .hero__cta--aventuras:hover{
  background: var(--sf-cta-orange, #e65f05) !important;
  color: #fff !important;
  filter: brightness(1.06);
}

@media (max-width: 640px){
  .hero--aventuras{ min-height: 64vh; }
  .hero--aventuras .hero__wrap{ padding: 14vh 0 12vh; }
  .hero--aventuras .hero__title{ letter-spacing: .6px; line-height: 1.0; font-size: 40px; }
}

/* Intro section (We go where maps stop) */
.home-intro{
  background: var(--paper, #f2ead8) !important;
  color: #000 !important;
  padding: 45px 0;
}

.home-intro__inner{
  width: min(1200px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.home-intro__title{
  margin: 0;
  font-family: var(--font-heading, var(--sf-font-heading, inherit));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.02;
  font-size: clamp(34px, 4.7vw, 56px);
  color: #000 !important;
}

.home-intro__text{
  margin: 0;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 16px;
  line-height: 1.75;
  max-width: 60ch;
}

.home-intro__media{
  display: flex;
  justify-content: flex-end;
}

.home-intro__media img{
  width: 100%;
  max-width: 430px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px){
  .home-intro__inner{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Mobile order: title -> image -> text */
  .home-intro__copy{ display: contents; }
  .home-intro__title{
    grid-row: 1;
    text-align: left;
  }
  .home-intro__media{ grid-row: 2; }
  .home-intro__text{ grid-row: 3; }
  .home-intro__media{
    justify-content: flex-start;
  }
  .home-intro__text{ max-width: none; }
}

/* Full-width camel trek + Tinariwen quote (text is HTML so it always shows; image stays uncropped). */
.home-camel-quote{
  margin: 0;
  padding: 0;
  background: #0b1222 !important;
  width: 100%;
  overflow: hidden;
  position: relative; /* anchor spotify drawer */
}

.home-camel-quote__inner{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.home-camel-quote__figure{
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  width: 100%;
}

.home-camel-quote__img{
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  vertical-align: middle;
}

/* Desktop: one full viewport band; image centered, full frame visible (no cropping top/bottom). */
@media (min-width: 721px){
  .home-camel-quote{
    height: 100vh;
    max-height: 100vh;
  }

  .home-camel-quote__inner,
  .home-camel-quote__figure{
    height: 100%;
    min-height: 0;
  }

  .home-camel-quote__img{
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    /* Keep the sky/quote area visible, bias slightly upward without chopping too much bottom. */
    object-position: center 38%;
  }
}

@supports (height: 100dvh){
  @media (min-width: 721px){
    .home-camel-quote{
      height: 100dvh;
      max-height: 100dvh;
    }
  }
}

/* Quote layer: readable on all widths; sits over sky area of the panorama */
.home-camel-quote__quote{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  box-sizing: border-box;
  margin: 0;
  font-weight: 700;
  padding: clamp(22px, 4.2vw, 64px) clamp(18px, 5vw, 96px) clamp(28px, 5vw, 72px);
  background: linear-gradient(
    180deg,
    rgba(8, 12, 24, 0.92) 0%,
    rgba(8, 12, 24, 0.55) 55%,
    rgba(8, 12, 24, 0) 100%
  );
  color: #fff !important;
  text-align: center;
  pointer-events: none;
}

.home-camel-quote__blockquote{
  margin: 0 auto;
  padding: 0;
  max-width: 42em;
  border: 0;
  font-family: var(--font-heading, var(--sf-font-heading, inherit));
  font-size: clamp(18px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.home-camel-quote__line{
  margin: 0 0 0.2em;
}

.home-camel-quote__line:last-of-type{
  margin-bottom: 0.35em;
}

.home-camel-quote__cite{
  display: block;
  margin: 0;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-style: normal;
  font-weight: 500;
  font-size: clamp(14px, 1.35vw, 18px);
  text-transform: none;
  opacity: 0.92;
}

/* Spotify drawer: vertical tab + sliding card */
.home-camel-quote__spotify-drawer{
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 3;
  pointer-events: none; /* panel/tab re-enable */
  /* Keep left gutter so it never covers whole screen */
  --sf-spotify-panel-w: min(520px, calc(100vw - 56px));
  --sf-spotify-slide: 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  width: var(--sf-spotify-panel-w);
  transform: translateY(-50%);
}

.home-camel-quote.is-spotify-open .home-camel-quote__spotify-drawer{
  transform: translateY(-50%);
}

/* Edge tab for Spotify — not a primary CTA (do not match .btn) */
.home-camel-quote__spotify-tab{
  pointer-events: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px 0 0 10px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 12px;
  padding: 18px 9px;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  word-break: keep-all;
  transition: transform var(--sf-spotify-slide);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.home-camel-quote.is-spotify-open .home-camel-quote__spotify-tab{
  /* Slide with the panel: attach to its left edge */
  transform: translateY(-50%) translateX(calc(-1 * var(--sf-spotify-panel-w)));
}

.home-camel-quote__spotify-tab:hover,
.home-camel-quote__spotify-tab:active{
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  filter: none !important;
}

.home-camel-quote:not(.is-spotify-open) .home-camel-quote__spotify-tab:hover,
.home-camel-quote:not(.is-spotify-open) .home-camel-quote__spotify-tab:active{
  transform: translateY(-50%) translateX(0) !important;
}

.home-camel-quote.is-spotify-open .home-camel-quote__spotify-tab:hover,
.home-camel-quote.is-spotify-open .home-camel-quote__spotify-tab:active{
  transform: translateY(-50%) translateX(calc(-1 * var(--sf-spotify-panel-w))) !important;
}

.home-camel-quote__spotify-tab:focus-visible{
  outline: 2px dashed rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}

.home-camel-quote__spotify-panel{
  pointer-events: auto;
  position: relative;
  right: 0;
  top: auto;
  transform: none;
  width: 100%;
  margin: 0;
  margin-right: -12px; /* push card past edge (tab stays flush) */
  padding: 0;
  border-radius: 14px 0 0 14px;
  background: transparent;
  box-shadow: none;
}

.home-camel-quote__spotify-panel{
  transform: translateX(110%);
  transition: transform var(--sf-spotify-slide);
}

.home-camel-quote.is-spotify-open .home-camel-quote__spotify-panel{
  transform: translateX(0);
}

.home-camel-quote__spotify-panel iframe{
  display: block;
  width: 100%;
  border: 0;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
}

@media (max-width: 720px){
  .home-camel-quote{
    height: auto;
    max-height: none;
  }

  .home-camel-quote__inner,
  .home-camel-quote__figure{
    height: auto;
  }

  .home-camel-quote__figure{
    display: block;
  }

  .home-camel-quote__img{
    flex: none;
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    object-fit: initial;
    object-position: initial;
  }

  .home-camel-quote__quote{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    font-weight: 700;
    background: linear-gradient(
      180deg,
      rgba(8, 12, 24, 0.94) 0%,
      rgba(8, 12, 24, 0.62) 62%,
      rgba(8, 12, 24, 0) 100%
    );
    padding: 18px 16px 22px;
    pointer-events: none;
  }

  .home-camel-quote__blockquote{
    font-size: clamp(12px, 5.3vw, 18px);
    letter-spacing: 0.03em;
  }

  .home-camel-quote__cite{
    font-size: 13px;
  }

  /* Mobile: keep the drawer inside the section; slide right → left (same as desktop). */
  .home-camel-quote__spotify-drawer{
    right: 0;
    top: 50%;
    --sf-spotify-panel-w: min(520px, calc(100vw - 44px));
    width: var(--sf-spotify-panel-w);
    transform: translateY(-50%);
  }

  .home-camel-quote__spotify-panel{
    width: 100%;
    margin-right: -10px;
  }
}

/* Meet your guide (Mohamed) */
.home-guide{
  background: #fff !important;
  color: #000 !important;
  padding: 45px 0 56px;
}

.home-guide__inner{
  width: min(1200px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: start;
}

.home-guide__media{
  display: flex;
  justify-content: flex-start;
}

.home-guide__media img{
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.home-guide__title{
  margin: 0 0 18px;
  text-align: center;
}

.home-guide__body{
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 16px;
  line-height: 1.65;
  max-width: 62ch;
}

.home-guide__body p{
  margin: 0 0 0.55em;
}

.home-guide__body p:last-child{
  margin-bottom: 0;
}

.home-guide__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 1.25em 0 0;
  max-width: 62ch;
}

.home-guide__cta{
  font-family: var(--font-body, var(--sf-font-body, inherit));
  text-decoration: none !important;
}

/* Primary CTA uses global .btn; keep text link styling for secondary */
.home-guide__actions a.home-guide__cta--secondary,
.home-guide__actions a.home-guide__cta--secondary:visited{
  font-size: 15px;
  color: var(--sf-cta-orange, #e65f05) !important;
  background: transparent !important;
  background-color: transparent !important;
  font-weight: 500;
  text-transform: lowercase;
}

.home-guide__actions a.home-guide__cta--secondary:hover{
  text-decoration: underline !important;
  color: #c24a04 !important;
  background: transparent !important;
}

@media (max-width: 980px){
  .home-guide__inner{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* DOM is media then copy; flatten copy so we can reorder: heading → image → description */
  .home-guide__copy{
    display: contents;
  }
  .home-guide__title{
    order: 1;
    margin-bottom: 0;
  }
  .home-guide__media{
    order: 2;
    justify-content: center;
  }
  .home-guide__media img{
    width: min(220px, 72vw);
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .home-guide__body{
    order: 3;
    max-width: none;
  }
  .home-guide__actions{
    order: 4;
    margin-top: 0.85em;
  }
}

/* Story collections (Instagram-style highlights) */
.sf-stories{
  background: #fff !important;
  color: #000 !important;
  padding: 48px 0 56px;
}

.sf-stories__inner{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 24px 32px;
  align-items: center;
}

.sf-stories__intro{
  min-width: 0;
}

/* Desktop: left-align intro copy (section-title is globally centered) */
@media (min-width: 901px){
  .sf-stories__intro{
    text-align: left;
  }
  .sf-stories__intro .section-title{
    text-align: left !important;
  }
}

.sf-stories__title{
  margin: 0 0 12px;
  color: #000 !important;
}

.sf-stories__subtitle{
  margin: 0;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 16px;
  line-height: 1.5;
  max-width: none;
}

/* Collection picker row — built in JS; layout visible only on mobile (see max-width:900px) */
.sf-stories__collections-bar{
  display: none;
}

.sf-stories__stage{
  min-width: 0;
}

.sf-stories__track{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 8px 0 12px;
  min-width: 0;
  overflow: visible;
}

.sf-stories__card{
  min-width: 0;
  width: 100%;
  transition: transform 0.2s ease;
  opacity: 1;
  transform: scale(0.96);
}

.sf-stories__card.is-active{
  transform: scale(1);
}

.sf-stories__card--prev,
.sf-stories__card--next{
  transform: scale(0.88);
}

.sf-stories__card-btn{
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.sf-stories__card-frame{
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.sf-stories__card-cover{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sf-stories__card-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
}

/* Reviews: TripAdvisor dot colors */
.review-card__stars .dot{
  background: #CFEFE3 !important;
}

.review-card__stars .dot.on{
  background: #00AA6C !important;
}

/* Reviews: remove avatar circle next to name */
.review-card__avatar-wrap{
  display: none !important;
}

.review-card__top{
  gap: 0 !important;
}

/* Reviews: photo strip */
.review-card__photo{
  border: 0 !important;
}

/* Reviews section background + card styling */
.footer-reviews.home-reviews{
  background: #D6CBB6 !important;
}

.footer-reviews.home-reviews .review-card{
  background: #fff !important;
  border: 0 !important;
}

/* No iOS image callout / “Save image” sheet on long-press; use with JS contextmenu + dragstart */
[data-sf-stories="1"] .sf-stories__card-cover,
[data-sf-stories="1"] .sf-stories__card-ring-img,
[data-sf-stories="1"] .sf-stories__card-avatar,
[data-sf-stories="1"] .sf-stories__collections-bar-img{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.sf-stories__card-shade{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.sf-stories__card.is-active .sf-stories__card-shade{
  display: none;
}

.sf-stories__card-ring{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sf-stories__card-ring-img{
  width: min(42%, 120px);
  height: min(42%, 120px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Side collections: column layout — circle, then title below; no border on thumb */
.sf-stories__card--prev .sf-stories__card-frame,
.sf-stories__card--next .sf-stories__card-frame{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px 16px;
}

.sf-stories__card--prev .sf-stories__card-ring,
.sf-stories__card--next .sf-stories__card-ring{
  position: relative;
  inset: auto;
  /* width caps in narrow columns; aspect-ratio sets height = width (avoids oval from % mismatches) */
  width: min(100%, clamp(52px, 18vmin, 108px));
  aspect-ratio: 1 / 1;
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
  align-self: center;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

.sf-stories__card--prev .sf-stories__card-ring-img,
.sf-stories__card--next .sf-stories__card-ring-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: none !important;
  box-shadow: none !important;
}

.sf-stories__card--prev .sf-stories__card-title,
.sf-stories__card--next .sf-stories__card-title{
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  padding: 0 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.sf-stories__card.is-active .sf-stories__card-ring{
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sf-stories__card.is-active .sf-stories__card-title{
  display: none;
}

.sf-stories__card.is-active .sf-stories__card-frame{
  cursor: pointer;
}

/* Active strip: cover loading layer (under chrome); hides previous image until next loads */
.sf-stories__card-loading{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.9);
  pointer-events: none;
  border-radius: 14px;
}

.sf-stories__card-loading[hidden]{
  display: none !important;
}

.sf-stories__card-loading__spinner{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  animation: sf-story-cover-spin 0.65s linear infinite;
}

@keyframes sf-story-cover-spin{
  to{
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce){
  .sf-stories__card-loading__spinner{
    animation: none;
    border-color: rgba(255, 255, 255, 0.45);
  }
}

.sf-stories__card-title{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

/* Active card: story-style top chrome (progress + avatar + title + icons) */
.sf-stories__card-chrome{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  padding: 10px 10px 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 55%, transparent 100%);
  pointer-events: auto;
  border-radius: 14px 14px 0 0;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Pointer-hold only: hide chrome like Instagram. Button pause keeps header visible. */
.sf-stories__card.sf-stories__gesture-hide-chrome .sf-stories__card-chrome{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sf-stories__card-bars{
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.sf-stories__card-bar{
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  min-width: 0;
}

.sf-stories__card-bar.is-past{
  background: rgba(255, 255, 255, 0.65) !important;
}

.sf-stories__card-bar.is-current{
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: none;
}

.sf-stories__card-bar.is-current::after{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: #fff !important;
  border-radius: 2px;
  animation: sf-story-segment-progress var(--sf-story-autoplay-ms, 6s) linear forwards;
}

/* Segment fill starts only after the cover image has loaded */
.sf-stories__card-frame--awaiting-media .sf-stories__card-bar.is-current::after{
  animation: none !important;
  transform: scaleX(0);
}

.sf-stories__autoplay-paused .sf-stories__card-bar.is-current::after{
  animation-play-state: paused;
}

/* Strip off-screen: pause segment fill (autoplay timer cleared in JS) */
.sf-stories__stage--offscreen .sf-stories__card-bar.is-current::after{
  animation-play-state: paused;
}

@keyframes sf-story-segment-progress{
  from{
    transform: scaleX(0);
  }
  to{
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce){
  .sf-stories__card-bar.is-current::after{
    animation: none !important;
    transform: scaleX(1);
  }
}

.sf-stories__card-bar.is-future{
  background: rgba(255, 255, 255, 0.22) !important;
}

.sf-stories__card-head{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sf-stories__card-avatar{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.sf-stories__card-name{
  flex: 1;
  min-width: 0;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-stories__card-actions{
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.sf-stories__card-ico{
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.sf-stories__card-ico:hover{
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.sf-stories__card-ico-svg{
  display: block;
}

/* Full screen: hide expand; show pause + close in chrome (see story-collections.js) */
body:not(.sf-stories-expanded) .sf-stories__card-ico--fs-only{
  display: none !important;
}

/* Sound icon: show whenever a video is present (we keep it visible; user can ignore on images) */
.sf-stories__card-ico--sound{
  display: none;
}

.sf-stories__has-video .sf-stories__card-ico--sound{
  display: grid;
}

body.sf-stories-expanded .sf-stories__card-ico--expand{
  display: none !important;
}

/* Expand (full-screen control): black viewport, hide intro column, same strip DOM scaled up */
html.sf-stories-expanded-html{
  background: #000 !important;
}

body.sf-stories-expanded{
  overflow: hidden !important;
  background: #000 !important;
}

#tour-stories.sf-stories--expanded{
  --sf-stories-exp-pad-y: 20px;
  --sf-stories-exp-frame-h: calc(
    100vh - (var(--sf-stories-exp-pad-y) + env(safe-area-inset-top, 0px)) -
      (var(--sf-stories-exp-pad-y) + env(safe-area-inset-bottom, 0px))
  );
  position: fixed;
  inset: 0;
  z-index: 100060;
  box-sizing: border-box;
  margin: 0;
  padding-top: calc(var(--sf-stories-exp-pad-y) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--sf-stories-exp-pad-y) + env(safe-area-inset-bottom, 0px));
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  background: #000 !important;
  color: #fff !important;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tour-stories.sf-stories--expanded .sf-stories__collections-bar{
  display: none !important;
}

@supports (height: 100dvh){
  #tour-stories.sf-stories--expanded{
    --sf-stories-exp-frame-h: calc(
      100dvh - (var(--sf-stories-exp-pad-y) + env(safe-area-inset-top, 0px)) -
        (var(--sf-stories-exp-pad-y) + env(safe-area-inset-bottom, 0px))
    );
  }
}

#tour-stories.sf-stories--expanded .sf-stories__intro{
  display: none !important;
}

#tour-stories.sf-stories--expanded .sf-stories__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(820px, 94vw);
  margin: 0 auto;
  background: transparent !important;
  flex: 0 1 auto;
}

#tour-stories.sf-stories--expanded .sf-stories__stage{
  width: 100%;
  display: flex;
  justify-content: center;
  background: transparent !important;
}

/* Equal columns + max height on frames so 9:16 cards stay balanced (narrow center was sky-tall). */
#tour-stories.sf-stories--expanded .sf-stories__track{
  width: 100%;
  max-width: 100%;
  transform: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px 12px;
  padding: 0;
  background: transparent !important;
}

/* Same visual hierarchy as inline strip: center full scale, sides smaller (transform keeps grid slots). */
#tour-stories.sf-stories--expanded .sf-stories__card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: transparent !important;
  transition: transform 0.22s ease;
  transform: scale(0.96);
}

#tour-stories.sf-stories--expanded .sf-stories__card--prev,
#tour-stories.sf-stories--expanded .sf-stories__card--next{
  transform: scale(0.88);
}

#tour-stories.sf-stories--expanded .sf-stories__card.is-active{
  transform: scale(1);
  z-index: 2;
}

#tour-stories.sf-stories--expanded .sf-stories__card-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Side slots are <button> — global monochrome forces white bg; strip gaps looked like white columns */
#tour-stories.sf-stories--expanded button.sf-stories__card-btn{
  background: transparent !important;
  color: inherit !important;
}

/* Fill each grid column width like the inline strip; height from 9:16, capped by usable viewport (no tall-skinny stretch) */
#tour-stories.sf-stories--expanded .sf-stories__card-frame{
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: var(--sf-stories-exp-frame-h);
  border: 0 !important;
  border-radius: 0 !important;
  background: #000;
  outline: none !important;
}

#tour-stories.sf-stories--expanded .sf-stories__card-chrome{
  border-radius: 0 !important;
}

#tour-stories.sf-stories--expanded .sf-stories__card-frame:focus,
#tour-stories.sf-stories--expanded .sf-stories__card-frame:focus-visible{
  outline: none !important;
}

/* Bleed cover past clip: fixes subpixel hairline (often at bottom) on rounded overflow + object-fit */
#tour-stories.sf-stories--expanded .sf-stories__card-cover{
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  width: auto;
  height: auto;
  border: 0 !important;
  outline: none !important;
}

#tour-stories.sf-stories--expanded .sf-stories__card-loading{
  border: 0 !important;
  border-radius: 0 !important;
}

#tour-stories.sf-stories--expanded .sf-stories__card--prev .sf-stories__card-ring,
#tour-stories.sf-stories--expanded .sf-stories__card--next .sf-stories__card-ring{
  width: min(100%, clamp(56px, 22vmin, 132px));
}

@media (max-width: 900px){
  .sf-stories{
    padding: 32px 0 40px;
    overflow-x: hidden;
  }

  .sf-stories__inner{
    --sf-stories-inner-pad: 18px;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: min(1200px, 100%);
    padding-inline: var(--sf-stories-inner-pad);
    box-sizing: border-box;
  }

  .sf-stories__intro{
    text-align: center;
    max-width: 520px;
    margin-inline: auto;
  }

  .sf-stories__subtitle{
    font-size: 15px;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__collections-bar{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 6px 24px 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__collections-bar::-webkit-scrollbar{
    display: none;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__collections-bar-cell{
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 100px;
    min-width: 0;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__collections-bar-cell .sf-stories__collections-bar-item{
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    margin: 0;
    padding: 2px;
    border: 3px solid #e85d04 !important;
    border-radius: 50%;
    background: #fff !important;
    color: inherit !important;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__collections-bar-label{
    width: 100%;
    font-family: var(--font-body, var(--sf-font-body, inherit));
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: #000 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__collections-bar-cell .sf-stories__collections-bar-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  /* Inline strip only (not full-screen expanded): 10% | 70% | 10%; bleed to inner edges; gutter between cards */
  #tour-stories:not(.sf-stories--expanded) .sf-stories__stage{
    position: relative;
    padding-inline: 0;
    overflow-x: clip;
    margin-inline: calc(-1 * var(--sf-stories-inner-pad, 18px));
    width: calc(100% + 2 * var(--sf-stories-inner-pad, 18px));
    max-width: none;
    box-sizing: border-box;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__track{
    display: grid;
    grid-template-columns: 10fr 70fr 10fr;
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    padding: 4px 0 8px;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__card.is-active{
    position: relative;
    z-index: 1;
    transform: none;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--prev,
  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--next{
    transform: none;
    overflow: hidden;
    min-width: 0;
  }

  /* Wider than the 10% column: clip to peek; scale down so sides read smaller than center */
  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--prev .sf-stories__card-btn{
    width: min(85vw, 560px);
    max-width: none;
    margin-left: calc(100% - min(85vw, 560px));
    transform: scale(0.82);
    transform-origin: 100% 50%;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--next .sf-stories__card-btn{
    width: min(85vw, 560px);
    max-width: none;
    margin-left: 0;
    transform: scale(0.82);
    transform-origin: 0% 50%;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__card .sf-stories__card-frame{
    border: 0 !important;
  }

  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--prev .sf-stories__card-ring,
  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--next .sf-stories__card-ring,
  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--prev .sf-stories__card-title,
  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--next .sf-stories__card-title{
    display: none !important;
  }

  /* Side shades: same dim overlay as desktop (.sf-stories__card-shade); active still hides via .is-active rule */

  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--prev .sf-stories__card-frame,
  #tour-stories:not(.sf-stories--expanded) .sf-stories__card--next .sf-stories__card-frame{
    display: block;
    padding: 0;
    gap: 0;
  }

  /* Expanded: true viewport fullscreen (safe areas only), one story, edge-to-edge */
  #tour-stories.sf-stories--expanded{
    --sf-stories-exp-pad-y: 0px;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
  }

  #tour-stories.sf-stories--expanded .sf-stories__inner{
    max-width: none;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    padding-inline: 0;
    margin: 0;
    justify-content: center;
  }

  #tour-stories.sf-stories--expanded .sf-stories__stage{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    align-self: stretch;
    width: 100%;
  }

  #tour-stories.sf-stories--expanded .sf-stories__track{
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    align-self: stretch;
  }

  #tour-stories.sf-stories--expanded .sf-stories__card.is-active{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    align-self: stretch;
  }

  #tour-stories.sf-stories--expanded .sf-stories__card-frame{
    width: 100%;
    max-width: none;
    max-height: var(--sf-stories-exp-frame-h);
    margin-inline: 0;
  }

  #tour-stories.sf-stories--expanded .sf-stories__card--prev,
  #tour-stories.sf-stories--expanded .sf-stories__card--next{
    display: none !important;
  }
}

@media (max-width: 520px){
  #tour-stories.sf-stories--expanded .sf-stories__track{
    gap: 0;
    padding: 0;
  }
  .sf-stories__track{
    gap: 6px;
  }
  .sf-stories__card-title{
    font-size: 11px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .sf-stories__card--prev .sf-stories__card-title,
  .sf-stories__card--next .sf-stories__card-title{
    left: auto;
    right: auto;
    bottom: auto;
    font-size: 13px;
  }
  .sf-stories__card--prev .sf-stories__card-frame,
  .sf-stories__card--next .sf-stories__card-frame{
    gap: 6px;
    padding: 10px 4px 12px;
  }
  .sf-stories__card--prev .sf-stories__card-ring,
  .sf-stories__card--next .sf-stories__card-ring{
    width: min(100%, clamp(48px, 16vmin, 92px));
  }
  .sf-stories__card-chrome{
    padding: 8px 8px 10px;
  }
  .sf-stories__card-avatar{
    width: 32px;
    height: 32px;
  }
  .sf-stories__card-name{
    font-size: 13px;
  }
}

/* Borders/shadows */
*,
*::before,
*::after {
  box-shadow: none !important;
}

/* Buttons — same pill chrome as checkout (colors from --sf-btn-* on :root / parents) */
.btn,
.hero__cta,
button[type="submit"].btn,
input[type="submit"].btn,
input[type="button"].btn,
button.btn,
.wp-block-button__link,
.button {
  background: var(--sf-btn-bg, var(--sf-cta-orange, #e65f05)) !important;
  color: var(--sf-btn-color, #fff) !important;
  border: 0 !important;
  border-radius: var(--sf-btn-radius, 12px) !important;
  padding: var(--sf-btn-padding, 1.05rem 1.5rem) !important;
  font-size: var(--sf-btn-font-size, 0.72rem) !important;
  font-weight: var(--sf-btn-font-weight, 600) !important;
  letter-spacing: var(--sf-btn-letter-spacing, 0.2em) !important;
  text-transform: var(--sf-btn-text-transform, uppercase) !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  font-family: var(--font-body, var(--sf-font-body, inherit)) !important;
  box-shadow: none !important;
  transition: var(--sf-btn-transition, filter 0.2s ease, transform 0.2s ease) !important;
}

.btn:hover,
.hero__cta:hover,
button[type="submit"].btn:hover,
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
button.btn:hover,
.wp-block-button__link:hover,
.button:hover {
  color: var(--sf-btn-color, #fff) !important;
  background: var(--sf-btn-bg-hover, var(--sf-cta-orange, #e65f05)) !important;
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

/* Solid variant */
.btn.btn--solid{
  background: var(--sf-btn-bg, var(--sf-cta-orange, #e65f05)) !important;
  color: var(--sf-btn-color, #fff) !important;
  box-shadow: none !important;
  padding: var(--sf-btn-padding, 1.05rem 1.5rem) !important;
  font-size: var(--sf-btn-font-size, 0.72rem) !important;
  font-weight: var(--sf-btn-font-weight, 600) !important;
  letter-spacing: var(--sf-btn-letter-spacing, 0.2em) !important;
  text-transform: var(--sf-btn-text-transform, uppercase) !important;
  border-radius: var(--sf-btn-radius, 12px) !important;
}
.btn.btn--solid:hover{
  background: var(--sf-btn-bg-hover, var(--sf-cta-orange, #e65f05)) !important;
  color: var(--sf-btn-color, #fff) !important;
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}
.btn:active,
.hero__cta:active,
button[type="submit"].btn:active,
input[type="submit"].btn:active,
input[type="button"].btn:active,
button.btn:active,
.wp-block-button__link:active,
.button:active,
.btn.btn--solid:active{
  transform: translateY(0) !important;
  filter: brightness(0.96) !important;
}

/* Story card chrome: override global monochrome button (transparent on media) */
.sf-stories__card-chrome button.sf-stories__card-ico{
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
}
.sf-stories__card-chrome button.sf-stories__card-ico:hover{
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

/* Pills/badges/chips */
.badge,
.tour-card__badge,
.tour-card__sticker,
.blog-card__chip {
  background: #fff !important;
  color: #000 !important;
  border: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Booking guest types (people)                                               */
/* -------------------------------------------------------------------------- */
.sf-field--people-types .sf-people-types{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.sf-people-type{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent !important;
}
.sf-people-type__label{
  font-weight:500;
  font-size:12px;
  line-height:1.15;
  color:#000 !important;
  min-width:0;
}
.sf-people-type .sf-stepper{ width:100%; max-width:100%; }
.sf-people-total{
  font-weight:800;
  opacity:.85;
  padding:4px 2px 0;
  display:flex;
  justify-content:flex-end;
  color:#000 !important;
  grid-column: 1 / -1;
}
@media (max-width: 520px){
  .sf-people-total{ justify-content:flex-start; }
}

/* Tours section (rebuilt from scratch to avoid old theme conflicts) */
.sa-tours{
  background:#d9d9d9 !important;
  color:#000 !important;
  padding: 74px 0;
}
.sa-tours__inner{
  width: min(1200px, 90%);
  margin: 0 auto;
}
.sa-tours__title{
  margin: 0 0 18px;
  font-family: var(--font-heading, var(--sf-font-heading, inherit));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.02;
  font-size: clamp(28px, 3.2vw, 46px);
}

.sa-tours__slider{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.sa-tours__slider::-webkit-scrollbar{ height: 8px; }
.sa-tours__slider::-webkit-scrollbar-thumb{ background: #000; }
.sa-tours__slider:focus{ outline: none; }
.sa-tours__slider:focus-visible{ outline: 2px solid #000; outline-offset: 6px; }

.sa-tourCard{
  flex: 0 0 260px;
  max-width: 260px;
  scroll-snap-align: start;
  background: transparent !important; /* prevent square white wrapper */
}

.sa-tourCard__link{
  display:flex;
  flex-direction: column;
  text-decoration:none;
  color: inherit;
  background:#fff !important;
  border-radius: 26px;
  padding: 9px;
  overflow: hidden; /* clip to rounded corners */
  border: 0 !important;
}

.sa-tourCard__media{
  position: relative;
  border-radius: 20px;
  overflow:hidden;
  background:#fff;
}
.sa-tourCard__media img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.sa-tourCard__placeholder{
  display:block;
  aspect-ratio: 4 / 5;
  background:#fff;
}

.sa-tourCard__pill{
  position:absolute;
  left: 12px;
  top: 12px;
  background:#000;
  color:#fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  display:inline-flex;
  align-items:center;
  gap: 5px;
}
.sa-tourCard__pill::before{
  content: "⏲";
  font-size: 12px;
  line-height: 1;
}

.sa-tourCard__body{
  padding: 14px 8px 2px;
  display:flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.sa-tourCard__title{
  margin: 0;
  font-family: var(--font-body, var(--sf-font-body, "Open Sans", Arial, sans-serif));
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  /* keep all cards same height */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.4em; /* 2 lines at 1.2 line-height */
}
.sa-tourCard__priceRow{
  display:flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  margin-top: auto;
  padding-top: 12px;
}
.sa-tourCard__from{
  font-size: 10px;
  letter-spacing: 0.2px;
}
.sa-tourCard__price{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
}

@media (max-width: 640px){
  .sa-tourCard{ flex-basis: 240px; max-width: 240px; }
  .sa-tourCard__title{ font-size: 17px; }
  .sa-tourCard__from{ font-size: 17px; }
  .sa-tourCard__price{ font-size: 32px; }
}

/* Legacy `.tour-card` slider overrides (remove fossil drop-shadows) */
.more-tours{
  background: var(--paper, #f2ead8) !important;
  color: #000 !important;
  padding: 22px 0 44px;
}

.more-tours .section-title{
  filter: none !important;
  color: #000 !important;
}

.more-tours__mainTitle{
  margin: 0 0 14px !important;
}

.footer-reviews.home-reviews .section-title,
.footer-reviews.home-reviews .home-reviews__mainTitle{
  color: #000 !important;
  filter: none !important;
}

.home-reviews__mainTitle{
  margin: 0 0 28px !important;
}

/* Building Bricks (CTA section) */
.build-bricks{
  background: #fff !important;
  color: #000 !important;
  padding: 64px 0;
}
.build-bricks__inner{
  width: min(1200px, 90%);
  margin: 0 auto;
}
.build-bricks__title{
  margin: 0 0 12px;
  font-family: var(--sf-font-heading, var(--font-heading, inherit));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
  font-size: var(--sf-section-title-fs, clamp(28px, 3.25vw, 44px));
  color: #000 !important;
}
.build-bricks__text{
  margin: 0 0 18px;
  font-family: var(--sf-font-body, var(--font-body, "Open Sans", Arial, sans-serif));
  font-size: 18px;
  line-height: 1.7;
  max-width: 70ch;
  color: #000 !important;
}
.build-bricks__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: var(--sf-btn-padding, 1.05rem 1.5rem) !important;
  background: var(--sf-btn-bg, var(--sf-cta-orange, #e65f05)) !important;
  color: var(--sf-btn-color, #fff) !important;
  border: 0 !important;
  border-radius: var(--sf-btn-radius, 12px) !important;
  font-size: var(--sf-btn-font-size, 0.72rem) !important;
  font-weight: var(--sf-btn-font-weight, 600) !important;
  letter-spacing: var(--sf-btn-letter-spacing, 0.2em) !important;
  text-transform: var(--sf-btn-text-transform, uppercase) !important;
  line-height: 1.3 !important;
  font-family: var(--font-body, var(--sf-font-body, inherit)) !important;
  text-decoration: none !important;
  transition: var(--sf-btn-transition, filter 0.2s ease, transform 0.2s ease) !important;
}
.build-bricks__btn:hover{
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

.more-tours__group{
  margin-top: 18px;
}

.more-tours__group + .more-tours__group{
  margin-top: 26px;
}

.more-tours__groupTitle{
  margin: 0 0 12px !important;
  color: #000 !important;
}

.more-tours__groupIntro{
  margin: 0 0 12px;
  width: 100%;
}

.more-tours__desc{
  font-family: var(--font-body, var(--sf-font-body, inherit));
  color: #000 !important;
  width: 100%;
  max-width: none;
  font-size: 16px;
  line-height: 1.65;
}

.more-tours__desc--full p{
  margin: 0;
}

.more-tours__desc--full p + p{
  margin-top: 10px;
}

.more-tours__desc--short{
  display: none;
}

.more-tours__more{
  display: none;
  color: #000;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.more-tours__more:hover{
  text-decoration-thickness: 3px;
}

.more-tours__less{
  display: none;
  margin-top: 8px;
  color: #000;
  font-family: var(--font-body, var(--sf-font-body, inherit));
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.more-tours__less:hover{
  text-decoration-thickness: 3px;
}

@media (max-width: 640px){
  .more-tours__desc--full{
    display: none;
  }
  .more-tours__desc--short{
    display: block;
  }
  .more-tours__groupIntro.is-expanded .more-tours__desc--full{
    display: block;
  }
  .more-tours__groupIntro.is-expanded .more-tours__desc--short{
    display: none;
  }
  .more-tours__groupIntro.is-expanded .more-tours__less{
    display: inline-block;
  }

  .more-tours__groupIntro.is-clampable .more-tours__more{
    display: inline-block;
  }
}
}

.tour-card__title{
  filter: none !important;
}

.tour-card,
.tour-card__link{
  border: 0 !important;
}

.tour-card__foot{
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 0px !important;
}

.tour-card.tour-card .tour-card__title{
  font-size: 18px !important;
  margin: 5px 0 !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

.tour-card__price .tour-card__amount{
  font-family: var(--sf-font-heading) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  color: #fff !important;
}
