/*
Theme Name: Sahara Fossils
Theme URI: https://example.com/
Author: Sahara Fossils
Author URI: https://example.com/
Description: Custom theme for Sahara Fossils website and Tours CPT.
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sahara-fossils
*/

/* Fonts */
@font-face {
  font-family: "New Amsterdam";
  src:
    url("assets/fonts/New_Amsterdam/NewAmsterdam-Regular.ttf") format("truetype"),
    local("New Amsterdam"),
    local("NewAmsterdam");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("assets/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf") format("truetype"),
    local("Open Sans"),
    local("OpenSans");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src:
    url("assets/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf") format("truetype"),
    local("Open Sans Italic"),
    local("OpenSans-Italic");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --sf-yellow-light-pastel: #F3E89D;
  --sf-yellow-darker-pastel: #FFF468;
  --sf-yellow: #FFD52D;
  --sf-brown-effect: #7F4C07;
  --sf-brown-dark: #8E4E21;
  --sf-brown-light: #A85126;
  --sf-orange-light-bg: #FFF3E7;
  --sf-header-green: #413C28;

  --sf-text: #2b2b2b;
  --sf-container: min(1200px, 92%);

  /* Typography */
  --sf-font-heading: "New Amsterdam", "Open Sans", ui-serif, Georgia, "Times New Roman", serif;
  --sf-font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base resets */
html, body { margin: 0; padding: 0; }
html {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
body { font-family: var(--sf-font-body); color: var(--sf-text); background:#fff; }
a { color: inherit; }
a, button, .btn, input[type="button"], input[type="submit"], .menu-toggle, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }

/* Touch: avoid sticky hover and blue tap – only apply hover when device supports it */
@media (hover: none) {
  a:hover, button:hover, .btn:hover, .hero__cta:hover, .menu-toggle:hover,
  .sf-sticky-cta__btn:hover, .sf-scarcity-bar__close:hover, .sf-stay-nav__link:hover,
  .review-card__more:hover, .slider-nav__btn:hover, .sf-stepper__btn:hover,
  .tour-itinerary__toggle:hover, .nav-close:hover,
  .blog-card:hover, .period-card:hover, .tour-stay__option:hover,
  .sf-field--addons .sf-addon:hover, .expert-cta__link:hover {
    transform: none;
    filter: none;
    box-shadow: inherit;
    background: inherit;
    opacity: inherit;
    text-decoration: inherit;
  }
  nav.primary-nav .menu a:hover { background: transparent; }
  nav.primary-nav .menu .sub-menu a:hover { background: transparent; }
}

/* Make tour pages full-bleed cream (avoid white gutters outside the container) */
body.single-tour{ background: var(--sf-orange-light-bg); }

/* Helpers */
.container { width: var(--sf-container); margin-left: auto; margin-right: auto; }
.section-title { font-family: var(--sf-font-heading); font-weight: 400; margin: 0 0 0px; font-size: clamp(26px, 4vw, 44px); text-align: center; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sf-yellow-light-pastel); font-size: 12px; margin-right: 6px; }
.price { font-weight: 900; font-family: var(--sf-font-heading); }

/* Header */
header.site-header { padding: 12px 0; background: var(--sf-header-green); color: #fff; position: sticky; top: 0; z-index: 1000; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-title { font-weight: 700; font-size: 20px; margin: 0; color:#fff; text-decoration:none; }
.site-brand img { max-height: 44px; width: auto; display: block; }
.menu-toggle { display:none; background:none; color:#fff; border:0; font-size:28px; line-height:1; }
nav.primary-nav a { color:#fff; text-decoration: none; }
nav.primary-nav ul { list-style:none; margin:0; padding:0; display:flex; gap:16px; align-items:center; }
nav.primary-nav{ display:block; }
@media (max-width: 1280px){ nav.primary-nav{ display:none; } }

/* Primary nav styling */
nav.primary-nav .menu a{ color:#fff; text-decoration:none; font-weight:600; font-family: var(--sf-font-body); }
nav.primary-nav .menu li{ list-style:none; }
@media (min-width: 1281px){
  nav.primary-nav .menu{ display:flex; gap:16px; align-items:center; margin:0; padding:0; }
  nav.primary-nav .menu .menu-item-has-children{ position:relative; }
  nav.primary-nav .menu .menu-item-has-children > a{
    position: relative;
    padding-right:20px;
  }
  nav.primary-nav .menu .menu-item-has-children > a::after{
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -3px;
    border: 5px solid transparent;
    border-top-color: currentColor;
    border-bottom: none;
  }
  nav.primary-nav .menu .sub-menu{
    position:absolute; top:100%; left:0; min-width:220px;
    padding:6px 0; margin-top:6px;
    background: #1a1a1a; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.35);
    display:none; flex-direction:column; gap:0;
    list-style:none; margin:0;
  }
  nav.primary-nav .menu .menu-item-has-children:hover .sub-menu{ display:flex; }
  nav.primary-nav .menu .sub-menu li{ margin:0; list-style:none; border:none; }
  nav.primary-nav .menu .sub-menu a{
    display:block; padding:12px 18px; white-space:nowrap;
    color:#fff; text-decoration:none; font-weight:600;
    line-height:1.3; font-family: var(--sf-font-body);
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
    border:none; background:transparent;
  }
  nav.primary-nav .menu .sub-menu a:hover{ background:rgba(255,255,255,.1); }
}

/* Mobile nav enhanced styles (burger menu) */
@media (max-width: 1280px){
  nav.primary-nav{ border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
  nav.primary-nav .menu{ margin:0; padding:0; }
  nav.primary-nav .menu li + li a{ border-top:1px solid rgba(255,255,255,.08); }
  nav.primary-nav .menu a{ font-family: var(--sf-font-body); letter-spacing:.3px; }
  .nav-close{ position:absolute; top:14px; right:14px; background:transparent; border:0; color:#fff; font-size:28px; line-height:1; cursor:pointer; padding:6px; border-radius:8px; }
  .nav-close:focus-visible{ outline:2px dashed var(--sf-yellow); outline-offset:2px; }
}

/* Burger menu */
.burger{ display:none; width:30px; height:22px; position:relative; cursor:pointer; }
.burger span{ position:absolute; left:0; right:0; height:3px; background:#fff; border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:9px; }
.burger span:nth-child(3){ top:18px; }
.burger.is-open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* Mobile nav panel and backdrop */
@media (max-width: 1280px){
  .burger{ display:block; }
  nav.primary-nav{ position:fixed; top:0; right:0; bottom:0; width:70%; max-width:360px; background: var(--sf-header-green); padding:80px 24px 24px; display:none; box-shadow: -8px 0 24px rgba(0,0,0,.3); }
  nav.primary-nav.is-open{ display:block; }
  nav.primary-nav ul{ display:block; }
  nav.primary-nav a{ display:block; padding:14px 0; font-size:18px; }
  .nav-backdrop{ position:fixed; inset:0; background: rgba(0,0,0,.35); display:block; }
  .nav-backdrop[hidden]{ display:none; }
}

/* Buttons */
.btn, .hero__cta, button, input[type="button"], input[type="submit"], .wp-block-button__link, .button { display: inline-block; background: var(--sf-brown-dark); color: var(--sf-yellow); text-decoration: none; padding: 15px 19px; border-radius: 10px; border: 0; font-family: var(--sf-font-heading); font-size: 19px; line-height: 1; box-shadow: inset 0 -5px 0 var(--sf-brown-light); transition: transform 0.12s ease, box-shadow .12s ease, filter .12s ease; position: relative; z-index: 1; cursor: pointer; }
.btn:hover, .hero__cta:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .button:hover { transform: translateY(-1px); filter: brightness(1.02); }
.btn:active, .hero__cta:active, button:active, input[type="button"]:active, input[type="submit"]:active, .wp-block-button__link:active, .button:active { transform: translateY(1px); box-shadow: inset 0 -3px 0 var(--sf-brown-light); }
.btn:focus-visible, .hero__cta:focus-visible, button:focus-visible, input[type="button"]:focus-visible, input[type="submit"]:focus-visible, .wp-block-button__link:focus-visible, .button:focus-visible { outline: 2px dashed var(--sf-yellow); outline-offset: 3px; }

/* Solid button variant (requested) */
.btn.btn--solid{
  background: #fff !important;
  color: #000 !important;
  border-color: #000000 !important;
  box-shadow: none !important;
  padding: 10px 28px;
  font-size: 22px;
}
.btn.btn--solid:active{ box-shadow: none !important; }

/* Hero */
.hero { position: relative; min-height: 70vh; display: grid; place-items: center; text-align:center; isolation: isolate; }
.hero::after{ content:""; position:absolute; inset:0; background: rgba(0,0,0,.2); z-index:0; }
.hero .hero__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.hero__wrap { width: var(--sf-container); margin: 0 auto; padding: 14vh 0 14vh; position: relative; z-index: 1; }
.hero__title { margin: 0; }

/* Aventuras hero overrides (match screenshot: black title + black button) */
.hero--aventuras::after{ background: #0000006b; }
.hero--aventuras .hero__wrap{ padding: 12vh 0 12vh; }
.hero--aventuras .hero__title {
    margin: 0 0 18px;
    font-family: var(--font-heading, var(--sf-font-heading, inherit));
    font-weight: 400;
    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 32px;
  font-size: 22px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .6px;
  border-radius: 0;
  box-shadow: none;
  transition: transform .12s ease, filter .12s ease;
}
.hero--aventuras .hero__cta--aventuras:hover{ color: #fff; transform: translateY(-1px); filter: brightness(1.1); }
.hero--aventuras .hero__cta--aventuras:active{ transform: translateY(0px); filter: brightness(.98); }
.hero--aventuras .hero__cta--aventuras:focus-visible{ outline: 2px solid #111; outline-offset: 4px; }
.hero--aventuras .hero__desc{ margin-bottom: 1.25em; }
.hero__eyebrow { font-family: var(--sf-font-heading); font-size: clamp(18px, 2.2vw, 26px); color:#fff; margin:0 0 8px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
/* Separate hero titles */
.hero-title-sahara{ font-family: var(--sf-font-heading); color: var(--sf-yellow-light-pastel); margin:0; line-height:.52; letter-spacing:1px; font-size: 71px; filter: drop-shadow(4px 4px 0 var(--sf-brown-effect)); white-space: nowrap; }
.hero-title-fossil{ font-family: var(--sf-font-heading); color: var(--sf-yellow-darker-pastel); margin:0; line-height:.82; letter-spacing:1px; font-size: 100px; filter: drop-shadow(4px 4px 0 var(--sf-brown-effect)); white-space: nowrap; }
.hero-title-hunting{ font-family: var(--sf-font-heading); color: var(--sf-yellow); margin:0; line-height:.82; letter-spacing:1px; font-size: 75px; filter: drop-shadow(4px 4px 0 var(--sf-brown-effect)); white-space: nowrap; }

.hero__subtitle { font-family: var(--sf-font-heading); color: #FFF; font-size: 43px; margin: -2px 0 12px; filter: drop-shadow(2px 2px 0 var(--sf-brown-effect)); }
.hero__desc {
  font-weight: 500;
  color: #fff;
  max-width: 780px;
  font-size: 19px;
  /* text-shadow: 0 1px 8px rgba(0, 0, 0, .45); */
  margin-left: auto;
  margin-right: auto;
  /* filter: drop-shadow(1px 1px 0 #a6a6a6); */
  font-family: var(--sf-font-body);
}

/* Explore section */
.explore{ padding: 28px 0 20px; background:#fff; }
.explore__grid{ display:grid; grid-template-columns: 1.2fr .8fr; grid-template-areas: 'title media' 'text media'; gap: 24px; align-items: center; }
.explore__title{ grid-area:title; }
.explore__text{ grid-area:text; }
.explore__media{ grid-area:media; display:flex; justify-content:flex-end; }
.explore__text p{ margin: 0 0 12px; font-size: 16px; line-height: 1.7; }
.explore__media img{ width:100%; max-width:520px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: rotate(180deg); transform-origin: center; }
@media (max-width: 960px){ .explore__grid{ grid-template-columns: 1fr; grid-template-areas: 'title' 'media' 'text'; } .explore__media{ justify-content:center; } .explore__media img{ transform:none; max-width: 100%;transform: rotate(180deg); } }

/* Cards for archive */
.tour-card { border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.tour-card .tour-card__content { padding: 12px 14px; }
.tour-card .tour-card__title { font-size: 18px; margin: 8px 0; line-height: 1.3; }
.tour-card .tour-card__meta { font-size: 13px; color: #6b6b6b; }

/* Single */
.single-tour__header { padding: 28px 0; border-bottom: 1px solid #eee; }
.single-tour__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.single-tour__meta { color: #6b6b6b; font-size: 14px; margin: 8px 0 16px; }
.booking-embed { margin-top: 24px; }

/* Responsive tweaks */
@media (max-width: 640px){
  .hero { min-height: 72vh; }
  .hero__wrap{ padding-top: 18vh; }
  .hero-title-sahara{ font-size: 48px; line-height:1.10; filter: drop-shadow(1px 3px 0 var(--sf-brown-effect));}
  .hero-title-fossil{ font-size: 70px; filter: drop-shadow(3px 4px 0 var(--sf-brown-effect)); }
  .hero-title-hunting{ font-size: 52px; line-height:.9; filter: drop-shadow(3px 4px 0 var(--sf-brown-effect)); }
  .hero__subtitle{ font-size: 30px;margin: -6px 0 12px; }
  .hero__desc{ margin-left: 20px; margin-right: 20px; font-size: 16px; }
  .btn, .hero__cta, button, input[type="button"], input[type="submit"], .wp-block-button__link, .button{ font-size: 18px; padding: 12px 18px; }
  .section-title{ font-size: 38px; }
  .hero--aventuras .hero__wrap{ padding: 14vh 0 12vh; }
  .hero--aventuras .hero__title{ letter-spacing: .6px; line-height: 1.0; font-size: 40px; }
}

/* About section */
.about{ padding: 32px 0; background:#fff; }
.about__grid{ display:grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: 'title media' 'text media'; gap: 24px; align-items: center; }
.about__title{ grid-area:title; }
.about__text{ grid-area:text; }
.about__media{ grid-area:media; display:flex; justify-content:flex-end; }
.about__text p{ margin: 0 0 12px; font-size: 16px; line-height: 1.7; }
.about__media img{ width:100%; max-width:460px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: rotate(2.5deg); transform-origin: center; }
@media (max-width: 960px){ .about__grid{ grid-template-columns: 1fr; grid-template-areas: 'title' 'media' 'text'; } .about__media{ justify-content:center; } .about__media img{ transform:none; max-width: 100%; } }

/* Contact your desert expert (before footer) */
.expert-cta{
  padding: 56px 20px 64px;
  background: #fff;
  text-align: center;
}
.expert-cta__inner{
  max-width: 420px;
  margin: 0 auto;
  background: #d9d9d9;
  border-radius: 16px;
  padding: 36px 28px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.expert-cta__photo-wrap{
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,0,0,.08);
}
.expert-cta__photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.expert-cta__body{ padding: 0; }
.expert-cta__title{
  margin: 0 0 10px;
  font-family: var(--sf-font-heading);
  font-size: 26px;
  font-weight: 400;
  color: #3a3528;
  letter-spacing: .4px;
  line-height: 1.2;
}
.expert-cta__text{
  margin: 0 0 20px;
  font-family: var(--sf-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: #3a3528;
}
.expert-cta__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.expert-cta__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sf-font-body);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: #3a3528;
  transition: filter .15s ease;
}
.expert-cta__link:hover{
  filter: brightness(1.15);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 769px){
  .expert-cta{ text-align: left; }
  .expert-cta__inner{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 960px;
    padding: 36px 36px 36px 36px;
    overflow: visible;
  }
  .expert-cta__body{
    order: 1;
    flex: 1;
    min-width: 0;
    padding: 24px 32px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  .expert-cta__photo-wrap{
    order: 2;
    flex: 0 0 auto;
    width: 260px;
    height: 260px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    align-self: center;
  }
  .expert-cta__photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .expert-cta__actions{ justify-content: flex-start; }
}
@media (max-width: 640px){
  .expert-cta{ padding: 40px 16px 48px; }
  .expert-cta__inner{ padding: 28px 20px 26px; }
  .expert-cta__photo-wrap{ width: 120px; height: 120px; margin-bottom: 16px; }
  .expert-cta__title{ font-size: 22px; }
  .expert-cta__text{ font-size: 15px; margin-bottom: 18px; }
  .expert-cta__actions{ flex-direction: column; }
  .expert-cta__link{ width: 100%; max-width: 200px; }
}

/* Footer reviews (before site footer) */
.footer-reviews{ padding: 56px 20px 64px; background: #fff; }
.footer-reviews__inner{ max-width: 1200px; margin: 0 auto; }
.footer-reviews__title{ margin: 0 0 20px; font-family: var(--sf-font-heading); font-size: 26px; font-weight: 400; color: #3a3528; letter-spacing: .4px; line-height: 1.2; text-align: center; }
@media (max-width: 640px){ .footer-reviews{ padding: 40px 16px 48px; } .footer-reviews__title{ font-size: 22px; margin-bottom: 16px; } }

/* Tour cards */
.tour-archive{ display:grid; grid-template-columns:repeat(12, 1fr); gap:18px; }
.tour-card{ position:relative; border-radius:14px; overflow:hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); grid-column: span 4; aspect-ratio: 2 / 2.5; }
.tour-card.is-wide{ grid-column: span 8; aspect-ratio: 2.5 / 2; }
.tour-card.is-tall{ grid-column: span 4; aspect-ratio: 2 / 2.5; }
@media (max-width: 860px){ .tour-archive{ grid-template-columns:repeat(6,1fr);} .tour-card, .tour-card.is-wide, .tour-card.is-tall{ grid-column: span 6; } }
@media (max-width: 640px){ .tour-archive{ grid-template-columns:repeat(2,1fr);} .tour-card, .tour-card.is-wide, .tour-card.is-tall{ grid-column: span 2; aspect-ratio: 2 / 2.5; } }

.tour-card a{ color:inherit; text-decoration:none; display:block; height:100%; position:relative; }
.tour-card__image{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Overlay starts around the middle to avoid darkening the whole image */
.tour-card__overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.00) 45%, rgba(0,0,0,0.45) 80%, rgba(0,0,0,0.85) 100%); }
.tour-card__content{ position:absolute; left:0; right:0; bottom:0; padding:14px 14px 12px; color:#fff; }
.tour-card__badges{ display:flex; flex-wrap:wrap; margin:0 0 6px; gap:6px; }
.tour-card__badge{ background:#6e5a3b; color:#fff; padding:4px 10px; border-radius:999px; font-size:13px; font-weight:700; line-height:1; display:inline-flex; align-items:center; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.tour-card__badge--type{ background: var(--sf-yellow); color:#231c09; box-shadow: 0 2px 0 var(--sf-brown-effect); }
.tour-card__badge--type.is-private{ background: var(--sf-brown-dark); color:#fff; box-shadow: 0 2px 0 var(--sf-brown-light); }
.tour-card__badge--type.is-shared{ background: var(--sf-yellow); color:#231c09; box-shadow: 0 2px 0 var(--sf-brown-effect); }
.tour-card__badge--type::before{ content:"\1F3F7"; margin-right:6px; }
.tour-card__badge--duration{ background: var(--sf-header-green); color:#fff; font-weight:800; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.tour-card__badge--duration::before{ content:"\23F1"; margin-right:6px; }

/* Duration on top-left of tour card */
.tour-card__duration-top{
  position:absolute;
  left:10px;
  top:10px;
  z-index:2;
  pointer-events:none;
  background: #000;
  color:#fff;
  font-weight:800;
  padding:6px 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0,0,0,.3);
}
.tour-card__duration-top::before{ content:"\23F3"; margin-right:6px; }

/* Hide empty badge row so title sits higher */
.tour-card__badges:empty{ display:none; }
.tour-card__badges:empty + .tour-card__title{ margin-top:0; }
.tour-card__title{ font-family: var(--sf-font-heading); letter-spacing: .5px; font-size:14px; margin:8px 0; line-height:1.3; color:#fff; }
.tour-card__foot{ display:flex; align-items:flex-end; justify-content:flex-end; margin-top:8px; }
.tour-card__price{ display:flex; align-items:flex-end; gap:2px; color:#fff; }
.tour-card__price .tour-card__from{ font-size:13px; opacity:.95; font-family: var(--sf-font-body); }
.tour-card__price .tour-card__amount{ font-family: var(--sf-font-heading); font-size:24px; line-height:1; color:#fff; }
@media (max-width:640px){ .tour-card__title{ font-size:12px; margin:8px 0; line-height:1.3; } }

/* Title size overrides to ensure mobile rules win over older styles */
.tour-card.tour-card .tour-card__title{ font-size:14px; margin:8px 0; line-height:1.3; }
@media (max-width:640px){
  .tour-card.tour-card .tour-card__title{ font-size:12px; margin:8px 0; line-height:1.3; }
}

/* Tour slider */
.tour-slider{ display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory; margin-top: 8px; }
.tour-slider::-webkit-scrollbar{ height:8px; }
.tour-slider::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.2); border-radius:99px; }
.tour-slider .tour-card{ flex: 0 0 220px; aspect-ratio: 2 / 2.5; scroll-snap-align:start; }
@media (min-width:641px){ .tour-slider .tour-card{ flex-basis: 260px; } }

/* Period badge colors */
.tour-card__badge[data-term="Devonian"]{ background: #89933C; color:#fff; }
.tour-card__badge[data-term="Cretaceous"]{ background: #77542C; color:#fff; }

/* Highlight cards (under hero) */
.feature-cards{ margin-top: -28px; margin-bottom: 10px; }
.highlight-cards{ display:flex; justify-content:center; align-items:flex-start; gap:0px; flex-wrap:nowrap; }
.highlight-card{ position:relative; border-radius:18px; width:150px; height:100px; padding:0; color: var(--sf-yellow); background: var(--main); box-shadow: inset 0 -5px 0 var(--accent); overflow:visible; transform: rotate(var(--rot)) translateY(var(--ty, 0)); }
/* tighten spacing between cards */
.highlight-card + .highlight-card{ margin-left: -8px; }
.highlight-card__inner{ height:100%; width:100%; display:grid; place-items:center; text-align:center; }
.highlight-card__title{ margin:0; font-family: var(--sf-font-heading); font-size:24px; line-height:1.1; }
.highlight-amount{ font-family: var(--sf-font-heading); font-size:45px; color:#fff; }
/* Color pairs via CSS variables + rotation per card + vertical offsets for staggered look */
.highlight-card.is-1{ --main:#635F00; --accent:#8E8A16; --rot:4deg; --ty:0px; }
.highlight-card.is-2{ --main:#8E4E21; --accent:#A85126; --rot:-3deg; --ty:0px; }
.highlight-card.is-3{ --main:#646728; --accent:#89933C; --rot:3deg; --ty:6px; }
.highlight-card.is-4{ --main:#484726; --accent:#706C32; --rot:-3deg; --ty:0px; }
@media (max-width:960px){ .highlight-cards{ flex-wrap:wrap; } .highlight-card{ width:180px; height:122px; } }
@media (max-width:640px){ .highlight-cards{ flex-wrap:nowrap; justify-content:center; gap:0; } .highlight-card{  height: 75px; transform: rotate(var(--rot)); } .highlight-card + .highlight-card{ margin-left:-6px; } .highlight-card__title{ font-size:17px; } .highlight-amount{ font-size:35px; } }

/* Reviews */
.sf-tour-reviews{ margin-top: 22px; }
.sf-stay-section{
  scroll-margin-top: calc(var(--sticky-offset, 0px) + var(--sf-stay-nav-h, 56px) + 12px);
}

/* Hotel page section menu */
.sf-stay-nav{
  position: sticky;
  top: var(--sticky-offset, 0px);
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}
.sf-stay-nav.is-stuck{ box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.sf-stay-nav.is-hidden{ transform: translateY(-110%); }
.sf-stay-nav__inner{
  display:flex;
  gap:18px;
  align-items:center;
  overflow-x:auto;
  padding: 0px 70px 3px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sf-stay-nav__inner::-webkit-scrollbar{ display:none; }

/* Right hint when there are more tabs */
.sf-stay-nav.has-overflow::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  width: 56px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 58%);
  box-shadow: -18px 0 22px rgba(0,0,0,.12);
  pointer-events:none;
}
.sf-stay-nav.has-overflow::after{
  content:"❯";
  position:absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sf-font-heading);
  font-weight: 900;
  font-size: 18px;
  color: #000;
  opacity: 1;
  pointer-events:none;
}
.sf-stay-nav.has-overflow.is-end::before,
.sf-stay-nav.has-overflow.is-end::after{ display:none; }
.sf-stay-nav__link{
  display:inline-flex;
  align-items:center;
  padding: 10px 2px;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--sf-brown-dark, #111);
  text-decoration:none;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  opacity: .72;
  position: relative;
}
.sf-stay-nav__link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}
.sf-stay-nav__link:hover{ opacity: 1; }
.sf-stay-nav__link.is-active{ opacity: 1; }
.sf-stay-nav__link.is-active::after{ background: currentColor; }
.sf-stay-nav__link:focus-visible{ outline: 2px solid var(--sf-yellow); outline-offset: 2px; }

@media (max-width: 980px){
  .sf-stay-nav__inner{ padding-left: 10px; padding-right: 10px; }
}
.reviews-slider{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
  margin-top: 8px;
  min-width:0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-slider::-webkit-scrollbar{ display:none; }
.reviews-slider .review-card{
  flex: 0 0 260px;
  scroll-snap-align:start;
}
@media (min-width: 900px){
  .reviews-slider .review-card{ flex-basis: 320px; }
}
.reviews-header{ background:#fff; border:1px solid #f0eae3; border-radius:16px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.reviews-header__left{ display:flex; align-items:center; gap:1px; }
.reviews-header__logo{ height:55px; width:auto; display:block; }
.reviews-header__title{ font-weight:800; font-size:18px; margin-right:8px; }
.reviews-header__score{ font-weight:800; font-size:18px; margin-left:6px; }
/* single green dot indicator */
.reviews-header__dot{ display:inline-block; width:13px; height:13px; border-radius:50%; background:#259729; margin-left:6px; }

/* grid kept for any other pages, but hotel uses .reviews-slider */
.reviews-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:16px; }
.review-card{ background:#fff; border:1px solid #f0eae3; border-radius:16px; padding:14px; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.review-card__top{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.review-card__avatar-wrap{ width:42px; height:42px; border-radius:50%; overflow:hidden; display:grid; place-items:center; }
.review-card__avatar{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.review-card__avatar.placeholder{ width:24px; height:24px; border-radius:50%; display:inline-block; }
/* Unique avatar placeholder colors per card */
.review-card--c1 .review-card__avatar-wrap{ background:#f3d0c9; }
.review-card--c2 .review-card__avatar-wrap{ background:#cfe7f3; }
.review-card--c3 .review-card__avatar-wrap{ background:#d9f3cf; }
.review-card--c4 .review-card__avatar-wrap{ background:#efe0f8; }

.review-card__author{ font-weight:800; font-size:14px; }
.review-card__subtitle{ font-size:12px; color:#6f6f6f; }
/* remove bullet */
.review-card__subtitle:before{ display:none; }
.review-card__dots{ margin:6px 0; }
/* requested dot sizes/colors */
.review-card__stars .dot.on{ background:#259729; }
.review-card__stars .dot{ display:inline-block; width:13px; height:13px; border-radius:50%; background:#d6e7c7; margin-right:2px; }

.review-card__title{ margin:6px 0; font-size:16px; font-weight:800; }
.review-card__text{ margin:0; font-size:14px; line-height:1.6; color:#3d3d3d; }
.review-card__more{
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 8px;
  font: inherit;
  font-weight: 900;
  color: var(--sf-brown-dark);
  text-decoration: none;
  cursor: pointer;
}
.review-card__more:hover{ filter: brightness(1.05); }
.review-card__more:focus-visible{ outline: none; }
.review-card__text--full[hidden]{ display:none; }
.reviews-cta{ text-align:center; margin-top:16px; }
.home-reviews .reviews-cta .btn{
  background: #1a1a1a !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 22px;
  padding: 12px 32px;
}
.home-reviews .reviews-cta .btn:hover{ color: #fff !important; filter: brightness(1.1); }
@media (max-width:960px){ .reviews-header{ flex-direction:column; align-items:flex-start; gap:8px; } }
@media (max-width:640px){ .reviews-grid{ grid-template-columns: 1fr; } }
@media (max-width:640px){
  .reviews-header{ flex-direction:row; align-items:center; gap:6px; padding:8px 10px; }
  .reviews-header__logo{ height:38px; }
  .reviews-header__title{ font-size:16px; margin-right:6px; }
  .reviews-header__score{ font-size:16px; }
  .reviews-header__right .btn{ padding:8px 12px; font-size:16px; }
  .reviews-grid{ grid-template-columns: 1fr; }
}

/* Mobile tweaks for reviews header button */
@media (max-width: 640px) {
  .reviews-header__right .btn { padding: 8px 12px; font-size: 13px; }
}

/* Mobile tweaks for title */
@media (max-width: 640px) {
  .reviews-header__title { font-size: 14px; margin-left: 2px; margin-right: 0px; }
}

/* Mobile logo height */
@media (max-width: 640px) {
  .reviews-header__logo { height: 40px; }
}

/* Single dot in header */
.reviews-header__dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #259729; margin-left: 2px; }

/* Rating dots margin */
.review-card__dots { margin: 12px 0px; }

/* Top block spacing */
.review-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }

/* Tour filter bar */
.tour-filterbar{ display:flex; gap:8px; margin:8px 0 12px; }
.filter-btn{ background:#eee6d7; border:1px solid #e1d7c1; color:#413C28; padding:8px 12px; border-radius:999px; cursor:pointer; font-family: var(--sf-font-heading); font-size:16px; box-shadow: inset 0 -2px 0 var(--sf-brown-light);}
.filter-btn.is-active{ background: var(--sf-brown-dark); color: var(--sf-yellow); box-shadow: inset 0 -4px 0 var(--sf-brown-light); }

/* Tours section: small group headings (not "section-title") */
.tours-group-title{
  font-family: var(--sf-font-heading);
  letter-spacing:.3px;
  font-size: 22px;
  line-height: 1.2;
  margin: 18px 0 10px;
  color: var(--sf-header-green);
  text-align: left;
}
@media (max-width: 640px){
  .tours-group-title{ font-size: 20px; margin: 16px 0 10px; }
}

/* Tours slider header + scroll buttons */
.tours-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.tours-group-head .tours-group-title{ margin: 0; }
.slider-nav{ display:flex; gap:8px; }
.slider-nav__btn{
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: #eee6d7;
  border:1px solid #e1d7c1;
  color:#413C28;
  font-family: var(--sf-font-heading);
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 -2px 0 var(--sf-brown-light);
  cursor:pointer;
}
.slider-nav__btn:hover{ filter: brightness(1.02); transform: translateY(-1px); }
.slider-nav__btn:active{ transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--sf-brown-light); }
.slider-nav__btn[disabled]{ opacity:.45; cursor:not-allowed; transform:none; }

/* Hide cards when filtered */
.tour-card[hidden]{ display:none !important; }

/* Balanced section spacings */
.feature-cards{ margin-top: -28px; margin-bottom: 10px; }
.explore{ padding: 28px 0 20px; background:#fff; }
.explore__grid{ gap: 24px; }
.home-tours{ padding: 24px 0 28px; background: var(--sf-orange-light-bg);}
.about{ padding: 32px 0; background:#fff; }
.about__grid{ gap: 24px; }
.home-testimonials{ padding: 28px 0 32px !important; }
.home-periods{ padding: 0; }
.home-periods__slider{ display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; margin-top: 10px; }
.home-periods__slider::-webkit-scrollbar{ height:8px; }
.home-periods__slider::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius:999px; }
.home-periods__slider .period-card{ flex:0 0 auto; width: 420px; scroll-snap-align:start; }
.home-periods__slider:focus{ outline:none; }
.home-periods__slider:focus-visible{ outline:2px dashed var(--sf-brown-light); outline-offset:6px; border-radius:12px; }
@media (max-width: 860px){ .home-periods__slider .period-card{ width: 360px; } }
@media (max-width: 640px){ .home-periods__slider .period-card{ width: 300px; } }
.home-blog{ padding: 0; background:#fff; }
.blog-grid{ display:grid; grid-template-columns:repeat(12, 1fr); gap:16px; margin-top: 10px; }
.blog-slider{ display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; margin-top: 10px; }
.blog-slider::-webkit-scrollbar{ height:8px; }
.blog-slider::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius:999px; }
.blog-slider .blog-card{ flex: 0 0 auto; width: 340px; scroll-snap-align:start; }
.blog-slider:focus{ outline:none; }
.blog-slider:focus-visible{ outline:2px dashed var(--sf-brown-light); outline-offset:6px; border-radius:12px; }
.blog-card{ grid-column: span 4; border-radius:14px; overflow:hidden; background:#fff; box-shadow: 0 8px 24px rgba(0,0,0,.08); position:relative; }
.blog-card__link{ display:block; text-decoration:none; color:inherit; height:100%; position:relative; }
.blog-card__media{ position:relative; height:240px; }
.blog-card__image{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.blog-card__image--placeholder{ background: linear-gradient(135deg, rgba(255,213,45,.25), rgba(142,78,33,.10)); }
.blog-card__overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.10) 40%, rgba(0,0,0,0.55) 78%, rgba(0,0,0,0.85) 100%); }
.blog-card__chip{ position:absolute; left:12px; top:12px; background: rgba(255,255,255,.92); color:#2b2b2b; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:800; box-shadow: 0 2px 0 rgba(0,0,0,.10); }
.blog-card__body{ position:absolute; left:0; right:0; bottom:0; padding:14px 14px 12px; color:#fff; }
.blog-card__title{
  font-family: var(--sf-font-heading);
  letter-spacing:.3px;
  font-size:16px;
  margin:0 0 8px;
  color:#fff;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35));
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
}
.blog-card__excerpt{
  margin:0 0 10px;
  opacity:.92;
  line-height:1.55;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  line-clamp:1;
}
.blog-card__more{ margin-left:8px; font-size:13px; font-weight:900; letter-spacing:.2px; opacity:.95; white-space:nowrap; }
.blog-card:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.blog-card{ transition: transform .14s ease, box-shadow .14s ease; }
@media (max-width: 860px){ .blog-card{ grid-column: span 6; } .blog-card__image{ height:200px; } }
@media (max-width: 860px){ .blog-card__media{ height:220px; } }
@media (max-width: 640px){ .blog-card{ grid-column: span 12; } .blog-card__media{ height:210px; } }

@media (max-width: 860px){
  .blog-slider .blog-card{ width: 320px; }
}
@media (max-width: 640px){
  .blog-slider .blog-card{ width: 280px; }
}

/* Blog single post */
.post-hero{ position:relative; overflow:hidden; background: var(--sf-header-green); color:#fff; padding: 22px 0 18px; }
.post-hero__media{ position:absolute; inset:0; }
.post-hero__img{ width:100%; height:100%; object-fit:cover; filter: saturate(1.05) contrast(1.02); }
.post-hero::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.65) 100%); }
.post-hero__inner{ position:relative; z-index:1; }
.post-breadcrumbs{ font-size:13px; opacity:.9; display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom: 8px; }
.post-breadcrumbs a{ color:#fff; text-decoration:none; font-weight:700; }
.post-title{ font-family: var(--sf-font-heading); letter-spacing:.4px; font-size: clamp(28px, 4vw, 50px); margin: 0 0 10px; color:#fff; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35)); }
/* (Post meta removed from template; keep styles if re-enabled later) */

.post-layout{ display:grid; grid-template-columns: minmax(0, 1fr) 340px; gap:18px; padding: 20px 0 38px; }
.post-main{ min-width:0; }
.post-sidebar{ position:relative; }
.post-sidebar > * + *{ margin-top: 14px; }
.post-card{ background:#fff; border-radius:16px; padding:14px 14px 16px; box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.post-card--cta{ background: var(--sf-orange-light-bg); }
.post-card__title{ font-family: var(--sf-font-heading); letter-spacing:.3px; font-size:18px; margin:0 0 8px; }
.post-card__text{ margin:0 0 12px; opacity:.9; }
.post-card__actions{ display:flex; flex-wrap:wrap; gap:10px; }

.post-content{ background:#fff; border-radius:16px; padding:18px 18px 22px; box-shadow: 0 10px 26px rgba(0,0,0,.08); line-height:1.85; font-size:16px; overflow-wrap:break-word; word-break:normal; hyphens:auto; }
.post-content h2{ font-family: var(--sf-font-heading); letter-spacing:.3px; font-size:24px; margin: 22px 0 10px; }
.post-content h3{ font-family: var(--sf-font-heading); letter-spacing:.2px; font-size:18px; margin: 18px 0 8px; }
.post-content p{ margin: 0 0 14px; }
.post-content ul, .post-content ol{ margin: 0 0 14px 18px; }
.post-content img{ border-radius:12px; }
.post-content a{ text-decoration: underline; text-underline-offset: 3px; }
.post-content a.btn{ text-decoration: none; }

.post-related-list{ display:flex; flex-direction:column; gap:10px; }
.post-related-item{ display:flex; gap:10px; align-items:center; text-decoration:none; color:inherit; }
.post-related-item__thumb{ width:54px; height:54px; object-fit:cover; border-radius:10px; flex: 0 0 auto; }
.post-related-item__thumb--ph{ width:54px; height:54px; border-radius:10px; background: linear-gradient(135deg, rgba(255,213,45,.25), rgba(142,78,33,.10)); flex: 0 0 auto; }
.post-related-item__text{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.post-related-item__title{
  font-weight:800;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  white-space:normal;
}
/* (Related post meta removed from template; keep styles if re-enabled later) */

@media (max-width: 980px){
  .post-layout{ grid-template-columns: 1fr; }
  .post-sidebar{ order: 2; }
  /* On mobile, the promo CTA is injected inside the post content */
  .post-sidebar .post-card--cta{ display:none; }
}

.sf-inline-cta{ margin: 18px 0; }
.sf-inline-cta .post-card{ box-shadow: 0 10px 26px rgba(0,0,0,.08); }

/* Period pages */
.period-content h2{ font-family: var(--sf-font-heading); letter-spacing:.2px; font-size:22px; margin:16px 0 8px; }
.period-content ul{ margin: 0 0 14px 18px; }
.period-media{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin: 14px 0 14px; }
.period-media__item{ margin:0; background:#fff; border-radius:0; overflow:visible; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.period-media__item img{ width:100%; height:auto; display:block; border-radius:0; }
.period-media__item figcaption{ font-size:12px; font-weight:800; opacity:.75; padding:10px 12px; }
@media (max-width: 760px){ .period-media{ grid-template-columns: 1fr; } }
.period-empty{
  max-width: 980px;
  margin: 10px auto 0;
  background:#fff;
  border: 1px solid #f0eae3;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  text-align:center;
}
.period-empty__title{ font-weight: 900; font-size: 16px; margin-bottom: 6px; }
.period-empty__text{ opacity: .9; }
.period-empty a{ color: var(--sf-brown-dark); font-weight: 900; text-decoration: none; }
.period-empty a:hover{ text-decoration: underline; }

/* Periods index page (By Period) */
.periods-grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.period-card{ grid-column: span 6; border-radius:14px; background:#fff; box-shadow: 0 10px 26px rgba(0,0,0,.08); overflow:hidden; }
.period-card__link{ display:block; color:inherit; text-decoration:none; }
.period-card__media{ position:relative; height:320px; }
.period-card__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.period-card__overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.85) 100%); }
.period-card__body{ position:absolute; left:0; right:0; bottom:0; padding:14px 14px 12px; color:#fff; }
.period-card__title{ display:block; font-family: var(--sf-font-heading); letter-spacing:.3px; font-size:28px; color:#fff; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35)); margin-bottom:6px; }
.period-card__title-time{ font-family: var(--sf-font-body); font-weight:800; font-size:14px; letter-spacing:0; opacity:.95; margin-left:8px; }
.period-card__desc{ display:block; opacity:.92; line-height:1.55; font-weight:700; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; }
.period-card:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.period-card{ transition: transform .14s ease, box-shadow .14s ease; }
@media (max-width: 860px){ .period-card{ grid-column: span 12; } .period-card__media{ height:280px; } }
@media (max-width: 640px){
  /* Put the time range on its own line and keep it from splitting */
  .period-card__title{ line-height:1.05; }
  .period-card__title-time{
    display:block;
    margin-left:0;
    margin-top:2px;
    white-space:nowrap;
    font-size:13px;
    line-height:1.05;
  }
}

/* Author card (blog posts) */
.author-card{
  max-width: 860px;
  margin: 16px auto 0;
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px 14px 16px;
  border-radius:16px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.author-card__avatar{ flex:0 0 auto; }
.author-card__avatar img{ width:72px; height:72px; border-radius:50%; display:block; object-fit:cover; }
.author-card__kicker{ font-size:12px; font-weight:900; opacity:.7; margin-bottom:4px; }
.author-card__name{ font-family: var(--sf-font-heading); letter-spacing:.2px; font-size:18px; margin:0 0 6px; }
.author-card__bio{ opacity:.92; line-height:1.65; }
.author-card__links{ margin-top:8px; }
.author-card__links a{ font-weight:900; text-decoration:none; color: var(--sf-brown-dark); }
.author-card__links a:hover{ text-decoration:underline; }
@media (max-width: 640px){
  .author-card{ flex-direction:column; align-items:flex-start; }
}
/* (Removed home embed styles) */
/* FAQ */
.home-faq{ padding: 28px 0 60px; background: var(--sf-orange-light-bg); }
.faq-list{ max-width: 900px; margin: 20px auto 0; }
.faq-item{ border-bottom: 1px solid #eee2d3; padding: 10px 0; }
.faq-item:first-child{ border-top: 1px solid #eee2d3; }
.faq-q{ list-style: none; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.faq-q::-webkit-details-marker{ display:none; }
.faq-q::after{ content: "+"; font-weight: 900; font-family: var(--sf-font-heading); color:#3a3528; }
.faq-item[open] .faq-q::after{ content: "−"; }
.faq-a{ margin-top: 6px; color:#3e3b32; line-height: 1.6; }

/* Add slight margin under section headings without changing global title rule */
.explore .section-title, .home-tours .section-title, .about .section-title, .home-testimonials .section-title{ margin-bottom: 10px; }

/* Slight top spacing before sliders/grids */
.tour-slider{ margin-top: 8px; }

/* Full-card clickable link */
.tour-card{ position:relative; border-radius:14px; overflow:hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); grid-column: span 4; aspect-ratio: 2 / 2.5; }
.tour-card__link{ position:absolute; inset:0; z-index:3; text-indent:-9999px; }

/* Minimal close button overrides */
.nav-close{ display:inline; background:transparent; border:0; border-radius:0; padding:0; margin:0; box-shadow:none; color:#fff; font-size:22px; line-height:1; }
.nav-close:hover{ opacity:.9; }
@media (min-width: 1281px){ .nav-close{ display:none; } }

/* Desktop primary menu styling */
@media (min-width: 1281px){
  nav.primary-nav .menu a{ padding:10px 12px; border-radius:10px; font-family: var(--sf-font-body); color:#fff; }
  nav.primary-nav .menu a:hover{ background: rgba(255,255,255,.08); }
  nav.primary-nav .menu a:focus-visible{ outline:2px dashed var(--sf-yellow); outline-offset:3px; }
}

/* Native smooth scrolling fallback and sticky offset */
html{ scroll-behavior: smooth; scroll-padding-top: var(--sticky-offset, 72px); }
/* Ensure sections account for sticky header when using #hash navigation */
#explore, #tours, #about, #reviews, #faq, #adventures, #contact, .more-tours__group[id^="adventure-"]{ scroll-margin-top: var(--sticky-offset, 72px); }

/* Lock body when menu is open */
body.menu-open{ overflow:hidden; }

/* Stronger stacking and click-through prevention for mobile drawer */
@media (max-width: 1280px){
  nav.primary-nav{ z-index:9999; }
  .nav-backdrop{ z-index:9998; }
  body.menu-open .site-header,
  body.menu-open .site-main,
  body.menu-open .site-footer{ pointer-events: none; }
  body.menu-open nav.primary-nav,
  body.menu-open .nav-backdrop{ pointer-events: auto; }
}

/* Prevent jump-to-top when opening drawer: do not fix body position */
body.menu-open{ position: static !important; top: auto !important; width: auto !important; }

/* Tour fullscreen popup */
.tour-popup-overlay{ position:fixed; inset:0; background:rgba(55,47,28,.55); display:none; align-items:center; justify-content:center; z-index:10000; padding:24px; }
.tour-popup-overlay.is-open{ display:flex; }
.tour-popup-panel{ background:#fff; width:100%; max-width: 1100px; max-height: calc(100vh - 48px); overflow:auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); position:relative; border-radius:16px; }
/* Prevent rare horizontal overflow on mobile (long words/URLs in content) */
.tour-popup-panel{ overflow-x:hidden; }
.tour-popup__close{ position:absolute; top:12px; right:12px; border:0; background:transparent; width:36px; height:36px; display:grid; place-items:center; cursor:pointer; z-index:20; padding:0; box-shadow:none; }
.tour-popup__close::before,.tour-popup__close::after{ content:none !important; }
.tour-popup__close svg{ width:22px; height:22px; stroke:#3b3b3b; stroke-width:2.2; stroke-linecap:round; fill:none; }
.tour-popup{ background:#FFF3E7; padding:70px; }

/* Ensure image never covers the close button */
.tour-popup__media{ position:relative; z-index:0; }

@media (max-width:960px){ .tour-popup{ padding:24px; } .tour-popup__close{ top:8px; right:8px; width:34px; height:34px; } }

/* Popup refined layout */
.tour-popup-overlay{ background: rgba(55,47,28,.55); }
.tour-popup-panel{ max-width: 1100px; }
.tour-popup{ background:#FFF3E7; }
.tour-popup__head{ border:0; padding-bottom:0; display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:start; }
.tour-popup__badges{ display:flex; gap:6px; margin-bottom:6px; }
.tour-popup__subtitle{ color:#6b665a; margin:4px 0 10px; }
.tour-popup__facts{ list-style:none; padding:0; margin:8px 0 0; color:#2b2b2b; font-size:14px; }
.tour-popup__facts li{ margin:3px 0; }
.tour-popup__price{ font-family: var(--sf-font-heading); font-size:28px; margin:8px 0; }
.tour-popup__cta .btn{ margin-top:0; }
.tour-popup__cta{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.tour-popup__cta .popup__paypal{ display:inline-flex; align-items:center; line-height:0; }
.tour-popup__cta .popup__paypal img{ height:40px; width:auto; display:block; }
.tour-popup__media{ grid-column:1 / 2; }
.tour-popup__media img{ border-radius:14px; }
.tour-popup__body{ background:#fff; border-radius:14px; padding:18px; margin-top:18px; }
.tour-popup__booking{ background:transparent; border-radius:0; padding:0; margin-top:22px; box-shadow:none; }
@media (max-width:860px){ .tour-popup__head{ grid-template-columns: 1fr; } }

/* Strict two-column hero for popup */
.tour-popup__head{ display:grid; grid-template-columns: 380px 1fr; gap:22px; align-items:start; }
.tour-popup__media{ grid-column:1; }
.tour-popup__media img{ display:block; width:100%; height:auto; border-radius:18px; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.tour-popup__info{ grid-column:2; }
.tour-popup__title{ font-size:26px; margin:6px 0; }
.tour-popup__desc{ color:#3e3b32; font-size:14px; margin:6px 0 10px; }
.tour-popup__facts{ display:block; margin:10px 0 12px; }
.tour-popup__price{ font-size:32px; margin:10px 0; }
@media (max-width:960px){ .tour-popup__head{ grid-template-columns: 1fr; } .tour-popup__media{ grid-column:auto; } .tour-popup__info{ grid-column:auto; } }

/* Popup spacing + image ratio like tour cards */
.tour-popup{ background:#FFF3E7; padding:70px; }
.tour-popup__head{ grid-template-columns: 380px 1fr; gap:26px; }
.tour-popup__media{ aspect-ratio: 2 / 2.5; overflow:hidden; border-radius:18px; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.tour-popup__media img{ width:100%; height:100%; object-fit:cover; border-radius:18px; box-shadow:none; }

/* Details/facts vertical list with icons */
.tour-popup__facts{ list-style:none; padding:0; margin:16px 0 12px; border:0; background:transparent; display:block; }
.tour-popup__facts li{ display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid #eadfce; }
.tour-popup__facts li:last-child{ border-bottom:0; }
.tour-popup__facts li::before{ content:""; display:inline-block; width:18px; height:18px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)); }
.tour-popup__facts li.fact--duration::before{ content:"\23F1"; }
.tour-popup__facts li.fact--departure::before{ content:"\1F4CD"; }
.tour-popup__facts li.fact--type::before{ content:"\1F3F7"; }
.tour-popup__facts li.fact--max::before{ content:"\1F465"; }
.tour-popup__facts .fact-label{ font-weight:800; color:#3a3528; min-width:120px; }
.tour-popup__facts .fact-value{ font-weight:700; color:#3a3528; }

/* Price and CTA spacing */
.tour-popup__price{ font-size:34px; margin:14px 0 8px; }
.tour-popup__cta{ margin-top:8px; }

/* Section cards: remove white backgrounds */
.tour-popup__body, .tour-popup__booking{ background:transparent; border:0; padding:0; margin-top:22px; }
.tour-popup__body{
  /* Keep words intact; only break very long strings */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.tour-popup__body p,
.tour-popup__body li,
.tour-popup__body a{
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.tour-popup__body ul,
.tour-popup__body ol{
  max-width:100%;
}
@media (max-width:960px){ .tour-popup{ padding:24px; } .tour-popup__head{ grid-template-columns:1fr; gap:18px; } }
/* Ensure embedded iframe fits */
.tour-popup__booking iframe{ width:100%; max-width:100%; border:0; background:transparent; height: 1500px; }
.tour-popup__booking a{ pointer-events:auto !important; }
/* Solo notice box */
.solo-notice{ margin-top:12px; background:#fff7ee; border:1px solid #eadfce; border-radius:10px; padding:10px 12px; color:#3a3528; box-shadow: 0 2px 0 #eadfce; }
.solo-notice a{ color: var(--sf-brown-dark); font-weight:800; }
/* Ensure Bokun overlays are clickable above our layout */
#home-booking-test, .tour-popup__booking{ position: relative; z-index: 1; }
@media (max-width:960px){ .tour-popup__booking iframe{ height: 1200px; } }

/* Hide runtime-inserted <noscript> fallbacks inside booking block */
.tour-popup__booking noscript{ display:none !important; }

/* Includes and FAQs */
.tour-popup__includes{ margin:8px 0 0; padding-left:18px; }
.tour-popup__includes li{ margin:4px 0; }
.tour-prices{ width:100%; border-collapse:collapse; margin-top:8px; background:#fff; color:#3a3528; border-radius:10px; overflow:hidden; box-shadow: 0 2px 0 #eadfce; }
.tour-prices th, .tour-prices td{ border-bottom:1px solid #eadfce; padding:12px 14px; font-size:16px; color:#3a3528; }
.tour-prices thead th{ background:#fff7ee; font-weight:800; }
.tour-prices tr:last-child td{ border-bottom:0; }
.tour-prices .right{ text-align:right; }

/* Prevent mobile horizontal overflow (tables / long strings) */
.tour-prices-wrap{ max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tour-prices{
  width: 100%;
  table-layout: fixed; /* allows table to shrink on mobile */
}
.tour-prices th, .tour-prices td{
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.tour-prices .right{ white-space: nowrap; }
@media (max-width: 720px){
  .tour-prices-wrap{ margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
  .tour-prices th, .tour-prices td{ padding: 10px 10px; font-size: 14px; }
}
.tour-prices__amount{ font-weight:900; font-family: var(--sf-font-heading); font-size:22px; color: var(--sf-brown-dark); }

/* Tour itinerary (multi-day) */
.tour-itinerary{ margin-top:10px; display:grid; gap:10px; }
.tour-itinerary__item{ border:1px solid #eadfce; border-radius:14px; background:#fff; box-shadow: 0 2px 0 #eadfce; overflow:hidden; }
.tour-itinerary__toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  background: linear-gradient(180deg, #fff7ee 0%, #fff 80%);
  border:0;
  cursor:pointer;
  text-align:left;
  box-shadow:none;
}
.tour-itinerary__toggle:hover{ filter: brightness(1.01); transform:none; }
.tour-itinerary__toggle:active{ transform:none; box-shadow:none; }
.tour-itinerary__toggleText{
  font-family: var(--sf-font-heading);
  letter-spacing:.3px;
  font-size:15px;
  color:#3a3528;
}
.tour-itinerary__chev{
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  position:relative;
}
.tour-itinerary__chev::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid var(--sf-brown-dark);
  border-bottom:2px solid var(--sf-brown-dark);
  transform: translate(-50%,-60%) rotate(45deg);
  transition: transform .16s ease;
}
.tour-itinerary__toggle[aria-expanded="true"] .tour-itinerary__chev::before{
  transform: translate(-50%,-40%) rotate(-135deg);
}
.tour-itinerary__panel{ padding:0 14px 14px; }
.tour-itinerary__text{ color:#3a3528; }
.tour-itinerary__text p{ margin:0 0 8px; line-height:1.7; }
.tour-itinerary__text p:last-child{ margin-bottom:0; }
.tour-itinerary__text ul, .tour-itinerary__text ol{ margin:8px 0 0 18px; }
.tour-itinerary__text li{ margin:4px 0; }

/* Stay option selector (Standard / Premium) */
.tour-stay{ margin:18px 0 10px; }
.tour-stay__label{ font-weight:800; letter-spacing:.2px; margin:0 0 6px; color:#3a3528; }
.tour-stay__options{ display:flex; flex-wrap:wrap; gap:12px; }
.tour-stay__option{ display:block; cursor:pointer; }
.tour-stay__input{ position:absolute; opacity:0; pointer-events:none; }
.tour-stay__pill{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid #eadfce;
  background: linear-gradient(180deg, #fff7ee 0%, #fff 80%);
  box-shadow: 0 2px 0 #eadfce;
  transition: transform .12s ease, filter .12s ease;
}
.tour-stay__option{
  /* 3 per row on desktop */
  flex: 0 0 calc((100% - 24px) / 3);
  max-width: calc((100% - 24px) / 3);
}
.tour-stay__name{ font-size:15px; }
.tour-stay__desc{ font-size:12.5px; }
.tour-stay--body{ margin: 35px 0 10px; }
.tour-stay__input:checked + .tour-stay__pill{
  border-color: rgba(255,213,45,.9);
  box-shadow: 0 2px 0 var(--sf-brown-effect), 0 0 0 2px rgba(255,213,45,.28) inset;
}

@media (max-width: 980px){
  .tour-stay__option{
    flex: 0 0 calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
}
@media (max-width: 560px){
  .tour-stay{ margin:14px 0 8px; }
  .tour-stay__option{ flex: 1 1 100%; max-width: 100%; }
}

/* Important notes (tour page + popup) */
.tour-notes{
  margin-top: 14px;
  padding: 14px 14px 14px 54px;
  border: 1px solid rgba(65,60,40,.22);
  border-left: 8px solid var(--sf-brown-dark);
  border-radius: 16px;
  background: rgba(255,213,45,.18);
  box-shadow: none;
  position: relative;
}
.tour-notes::before{
  content: "!";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--sf-yellow);
  color: #231c09;
  font-family: var(--sf-font-heading);
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 2px 0 var(--sf-brown-effect);
}
.tour-notes .tour-popup__h3{
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  color: #3a3528;
}
.tour-notes__list{
  margin: 8px 0 0 18px;
  padding: 0;
  color:#3a3528;
}
.tour-notes__list li{ margin: 6px 0; line-height: 1.6; }

/* Booking form */
.sf-booking{
  margin-top:18px;
  background: #d9d9d9;
  border: 0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}
.sf-booking, .sf-booking *{ box-sizing:border-box; }
.sf-booking .tour-popup__h3{
  margin:0 0 14px !important;
  font-family: var(--sf-font-heading);
  letter-spacing: .4px;
  font-size: 26px;
  color:#3a3528;
}
.sf-booking-form{ margin:0; }
.sf-booking-form[data-step="details"] .sf-step-contact{ display:none; }
.sf-booking-form[data-step="contact"] .sf-step-details{ display:none; }
.sf-booking-form[data-step="details"] .sf-booking-back,
.sf-booking-form[data-step="details"] .sf-booking-submit{ display:none; }
.sf-booking-form[data-step="contact"] .sf-booking-next{ display:none; }
.sf-booking-bar__actions{ display:flex; gap:10px; align-items:center; }
.sf-booking-back{ background: transparent !important; color:#fff !important; border:0 !important; box-shadow:none !important; padding: 14px 14px; }
.sf-booking-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
.sf-field{ margin:0; min-width:0; }
.sf-field label{
  display:block;
  /* font-family: var(--sf-font-body); */
  font-weight: 700;
  margin:0 0 7px;
  color: #000000;
  /* text-transform: uppercase; */
  /* letter-spacing: .6px; */
  font-size: 15px;
}
.sf-field input, .sf-field textarea{
  width:100%;
  max-width:100%;
  border:1px solid rgba(0,0,0,.14);
  border-radius:14px;
  padding:14px 14px;
  font-size:16px;
  background:#fff;
}
.sf-field select{
  width:100%;
  max-width:100%;
  border:1px solid rgba(0,0,0,.14);
  border-radius:14px;
  padding:14px 14px;
  font-size:16px;
  background:#fff;
}
.sf-field input:focus, .sf-field textarea:focus, .sf-field select:focus{
  outline: none;
  border-color: rgba(255,213,45,.95);
  box-shadow: 0 0 0 3px rgba(255,213,45,.25);
}
.sf-field textarea{ resize: vertical; }
.sf-field--full, .sf-field--phone, .sf-field--notes{ grid-column: 1 / -1; }
.sf-help.sf-availability{ margin-top:6px; font-size:13px; opacity:.85; }

/* Add-ons (booking form) */
.sf-field--addons .sf-addons{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* 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;
}
.sf-people-type__label{
  font-weight: 500;
  font-size: 12px;
  line-height:1.15;
  color: #000 !important;
  min-width: 0;
  margin: 0;
}
.sf-people-type .sf-stepper{
  width: 100%;
  max-width: 100%;
}
.sf-people-total{
  font-weight:900;
  opacity:.85;
  padding:4px 2px 0;
  display:flex;
  justify-content:flex-end;
  grid-column: 1 / -1;
}
@media (min-width: 720px){
  .sf-people-type{ gap:8px; }
  .sf-people-type__label{ font-size: 12px; }
  .sf-people-type .sf-stepper{ width: 100%; }
}
@media (max-width: 520px){
  .sf-people-type{
    grid-template-columns: 1fr;
    align-items:flex-start;
  }
  .sf-people-type .sf-stepper{
    width:100%;
  }
  .sf-people-total{ justify-content:flex-start; }
}
.sf-field--addons .sf-addon{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap:12px;
  padding:12px 12px;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  user-select:none;
}
.sf-field--addons .sf-addon:hover{
  border-color: rgba(255,213,45,.75);
  box-shadow: 0 0 0 3px rgba(255,213,45,.14);
}
.sf-field--addons .sf-addon__check{
  display:grid;
  grid-template-columns: 22px 1fr;
  grid-template-rows: auto auto;
  column-gap:10px;
  row-gap: 2px;
  align-items:start;
}
.sf-field--addons .sf-addon input[type="checkbox"]{
  width:20px;
  height:20px;
  margin:2px 0 0;
  flex:0 0 auto;
  accent-color: #111;
  border-radius: 6px;
  grid-column: 1;
  grid-row: 1 / span 2;
}
.sf-field--addons .sf-addon__label{
  flex:1;
  min-width:0;
  font-weight:800;
  color:#3a3528;
  display:block;
  grid-column: 2;
  grid-row: 1;
}
.sf-field--addons .sf-addon__price{
  display:block;
  white-space: normal;
  font-weight: 700;
  font-size: 16px;
  opacity: .72;
  color: #111;
  margin-top: 0;
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 520px){
  .sf-field--addons .sf-addon{
    grid-template-columns: 1fr;
    align-items:stretch;
  }
  .sf-addon__qty{ justify-self:start; }
}
.sf-quote{
  margin:12px 0 12px;
  padding:10px 12px;
  border-radius:12px;
  background: var(--sf-orange-light-bg);
  border:1px solid #eadfce;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
}
.sf-quote__pp, .sf-quote__total{ font-size:16px; }
.sf-quote__total{ color: var(--sf-brown-dark); }
.sf-booking-result{ margin-top:10px; font-weight:700; }

/* Date + people controls */
.sf-control{ width:100%; }
.sf-field--people .sf-control,
.sf-field--rooms .sf-control,
.sf-field--nights .sf-control,
.sf-addon__qty .sf-control{
  display:flex;
}
.sf-field--people .sf-stepper,
.sf-field--rooms .sf-stepper,
.sf-field--nights .sf-stepper,
.sf-addon__qty .sf-stepper{
  flex: 0 0 auto;
  width: 100%;
  max-width: 360px; /* compact like guest-type controls */
}
@media (max-width: 720px){
  .sf-field--people .sf-stepper,
  .sf-field--rooms .sf-stepper,
  .sf-field--nights .sf-stepper,
  .sf-addon__qty .sf-stepper{
    max-width: 100%;
  }
}
.sf-date{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
}
.sf-date__display{
  flex:1;
  cursor:pointer;
}
.sf-cal{
  position:absolute;
  left:0;
  right:0;
  top: calc(100% + 8px);
  background:#fff;
  border:1px solid rgba(0,0,0,.14);
  border-radius:14px;
  padding:12px;
  box-shadow:none;
  z-index: 50;
}
.sf-cal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.sf-cal__month{ font-weight:900; color:#3a3528; }
.sf-cal__nav{
  width:34px;
  height:34px;
  padding:0 !important;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.14);
  background:#fff !important;
  font-weight:900;
  cursor:pointer;
  box-shadow:none !important;
  color:#000 !important;
  transform:none !important;
  transition:none !important;
}
.sf-cal__nav:focus-visible{ outline:2px dashed #000; outline-offset:3px; }
.sf-cal__dow{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:6px;
  margin-bottom:6px;
}
.sf-cal__dowCell{ text-align:center; font-size:12px; font-weight:900; opacity:.7; }
.sf-cal__days{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:6px;
}
.sf-cal__day{
  height:34px;
  padding:0 !important;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff !important;
  font-weight:800;
  cursor:pointer;
  box-shadow:none !important;
  color:#000 !important;
  transform:none !important;
  transition:none !important;
}
.sf-cal__day:focus-visible{ outline:2px dashed #000; outline-offset:3px; }
.sf-cal__day.is-disabled{ opacity:.35; cursor:not-allowed; }
.sf-cal__day:not(.is-disabled):hover{ background: rgba(255,213,45,.14) !important; }

.sf-stepper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:14px;
  padding:6px;
  background:#fff;
}
.sf-stepper__btn{
  width:32px;
  height:32px;
  padding:0 !important;
  border-radius:12px;
  border:0 !important;
  background:#111 !important;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
  box-shadow:none !important;
  color:#fff !important;
  transform:none !important;
  transition:none !important;
}
.sf-stepper__btn:focus-visible{ outline:2px dashed #000; outline-offset:3px; }
.sf-stepper__btn:hover{ filter: brightness(1.05); }
.sf-stepper__value{
  flex:1;
  text-align:center;
  font-weight:900;
  font-size:14px;
}

/* Sticky bottom bar: total + breakdown left, button right */
.sf-booking-bar{
  position: sticky;
  bottom: 10px;
  margin-top: 12px;
  padding: 12px;
  background:#0b0b0b;
  border:0;
  border-radius:16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  z-index: 5;
}
.sf-booking-bar__left{ min-width:0; }
.sf-booking-bar__total{
  font-weight:900;
  font-size:18px;
  color: #fff;
}
.sf-booking-bar__details{
  margin-top:2px;
  font-size:13px;
  color: rgba(255,255,255,.82);
  opacity:1;
}

/* Booking bar buttons should NOT inherit giant global sizes */
.sf-booking-bar .btn{
  font-size: 16px;
  padding: 12px 16px;
  line-height: 1;
}
.sf-booking-bar .btn.btn--solid{
  font-size: 16px;
  padding: 12px 16px;
}
.sf-booking-bar__actions{ flex-wrap: wrap; justify-content:flex-end; }

/* Sidebar/mobile typography tuning */
@media (max-width: 720px){
  .sf-booking{ padding: 14px; border-radius: 16px; }
  .sf-booking .tour-popup__h3{
    font-size: 22px;
    letter-spacing: .6px;
    margin-bottom: 12px !important;
  }
  .sf-field label{ font-size: 16px;  }
  .sf-field input, .sf-field textarea, .sf-field select{
    font-size: 15px;
    padding: 12px 12px;
    border-radius: 12px;
  }
  .sf-stepper{ border-radius: 14px; }
  .sf-stepper__value{ font-size: 15px; }
  .sf-booking-bar{
    padding: 10px;
    border-radius: 14px;
    gap: 10px;
  }
  .sf-booking-bar__total{ font-size: 16px; }
  .sf-booking-bar__details{ font-size: 12px; }
  .sf-booking-bar__actions{ width:100%; }
  .sf-booking-bar__actions .btn{ flex: 1 1 0; text-align:center; justify-content:center; }
}
.sf-booking-submit{ margin:0; white-space:nowrap; }
@media (max-width: 720px){
  .sf-booking-grid{ grid-template-columns: 1fr; }
  .sf-quote{ flex-direction:column; align-items:flex-start; }
  .sf-booking-bar{ flex-direction:column; align-items:stretch; }
  .sf-booking-submit{ width:100%; text-align:center; }
}
.tour-stay__option:hover .tour-stay__pill{ transform: translateY(-1px); filter: brightness(1.01); }
.tour-stay__name{ font-family: var(--sf-font-heading); letter-spacing:.3px; color:#3a3528; }
.tour-stay__desc{ font-size:13px; opacity:.85; line-height:1.35; color:#3a3528; }
.tour-stay__input:checked + .tour-stay__pill{
  border-color: rgba(255,213,45,.9);
  box-shadow: 0 2px 0 var(--sf-brown-effect), 0 0 0 2px rgba(255,213,45,.35) inset;
}
.tour-popup__faqs{ margin-top:6px; }
.tour-popup__faqs details{ border-top:1px solid #eadfce; padding:8px 0; }
.tour-popup__faqs details:first-child{ border-top:0; }
.tour-popup__faqs summary{ cursor:pointer; font-weight:800; list-style:none; }
.tour-popup__faqs .faq-body{ margin-top:6px; color:#3e3b32; }

/* Align badges and title area */
.tour-popup__badges{ display:flex; gap:6px; flex-wrap:nowrap; overflow:auto; padding-bottom:4px; }
.tour-popup__title{ margin-top:4px; }

/* Close button tweaks */
.tour-popup__close{ position:absolute; top:12px; right:12px; border:0; background:transparent; width:36px; height:36px; display:grid; place-items:center; cursor:pointer; z-index:20; padding:0; box-shadow:none; }
.tour-popup__close::before,.tour-popup__close::after{ content:none !important; }
.tour-popup__close svg{ width:22px; height:22px; stroke:#3b3b3b; stroke-width:2.2; stroke-linecap:round; fill:none; }
@media (max-width:640px){ .tour-popup__close{ top:10px; right:10px; width:34px; height:34px; } }

/* Prevent image/close collision on mobile by adding a little top gap */
@media (max-width:640px){ .tour-popup__head{ margin-top:26px; } }

/* Footer */
.site-footer{ padding: 20px 0px 0 0px; border-top:1px solid #eee2d3; background:#fff; color:#3a3528; }
.site-footer a{ color:#3a3528; text-decoration:none; }
.site-footer a:hover{ text-decoration:underline; }
.site-footer .footer__left{ display:flex; flex-direction:column; gap:6px; }
.site-footer .footer__paypal{ display:flex; align-items:center; justify-content:flex-start; width:100%; margin-top:8px; line-height:0; }
.site-footer .footer__paypal img{ height:70px; width:auto; display:block; }
@media (max-width:640px){
  .site-footer .footer__inner{ flex-direction: column-reverse !important; align-items:center !important; text-align:center; gap:10px; }
  .site-footer .footer-legal{ width:100%; display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:8px; }
  .site-footer .footer-legal a{ display:inline-block; color: var(--sf-brown-dark) !important; font-weight:700;  letter-spacing:.2px; }
  .site-footer .footer-legal a:hover{ filter:none; }
  .site-footer .footer-legal span{ display:none; }
}

/* Footer image banner */
.footer-image{ height: 300px; overflow:hidden; }
.footer-image img{ width:100%; height: 460px; display:block; object-fit:cover; object-position: top center; }

/* Performance: avoid delaying the above-the-fold hero */
/* Removed content-visibility on hero to improve LCP */
/* Note: image lazy-loading is handled via HTML attributes where needed */

/* -------------------------------------------------------------------------- */
/* Hotel / Camp Landing Page                                                   */
/* -------------------------------------------------------------------------- */
.sf-hotel-landing{ background:#fff; }
.sf-hotel-hero{
  position:relative;
  padding: 54px 0 44px;
  background:
    linear-gradient(180deg, rgba(20,16,12,.70), rgba(20,16,12,.25) 55%, rgba(255,255,255,1) 100%),
    var(--hero),
    radial-gradient(1200px 500px at 30% 10%, rgba(255,213,45,.18), transparent 60%),
    linear-gradient(180deg, #2b241c, #f6efe3 70%, #ffffff);
  background-size: cover;
  background-position: center;
  color:#fff;
  overflow:hidden;
}
.sf-hotel-hero__inner{ max-width: 980px; }
.sf-hotel-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-weight:800;
  letter-spacing:.3px;
  font-size: 12px;
}
.sf-hotel-hero__title{
  margin: 10px 0 6px;
  font-family: var(--sf-font-heading);
  font-size: 46px;
  line-height: 1.02;
  letter-spacing:.6px;
}
.sf-hotel-hero__subtitle{
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.45;
  opacity: .95;
}
.sf-hotel-hero__actions{ margin-top: 16px; display:flex; gap:10px; flex-wrap:wrap; }
.sf-hotel-section{ padding: 28px 0; }
.sf-hotel-section--intro{ padding-top: 18px; }
.sf-hotel-h2{
  margin: 0 0 8px;
  font-family: var(--sf-font-heading);
  letter-spacing: .4px;
  font-size: 34px;
  color: #3a3528;
}
.sf-hotel-muted{ margin: 0 0 14px; opacity:.85; color:#3a3528; }
.sf-hotel-grid3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sf-hotel-card{
  border:1px solid #eadfce;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.sf-hotel-card__title{ font-weight:900; margin: 0 0 6px; color:#2f2a21; }
.sf-hotel-card__text{ margin:0; color:#3a3528; opacity:.9; line-height:1.45; }
.sf-hotel-steps{
  margin: 10px 0 0;
  padding-left: 18px;
  color:#3a3528;
}
.sf-hotel-steps li{ margin: 8px 0; line-height: 1.45; }
.sf-hotel-stays{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sf-hotel-section--cta{ padding-bottom: 44px; }
.sf-hotel-cta{
  border-radius: 16px;
  padding: 18px;
  border:1px solid #eadfce;
  background:
    radial-gradient(900px 360px at 20% 0%, rgba(255,213,45,.16), transparent 55%),
    linear-gradient(180deg, #fff, #fbf6ec);
}
.sf-hotel-cta__title{ font-weight: 900; font-size: 18px; color:#2f2a21; }
.sf-hotel-cta__text{ margin-top: 6px; color:#3a3528; opacity:.9; max-width: 70ch; }
.sf-hotel-cta__actions{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 980px){
  .sf-hotel-stays{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-hotel-grid3{ grid-template-columns: 1fr; }
  .sf-hotel-hero__title{ font-size: 38px; }
}
@media (max-width: 640px){
  .sf-hotel-hero{ padding: 44px 0 34px; }
  .sf-hotel-hero__title{ font-size: 34px; }
  .sf-hotel-stays{ grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* Hotel-style single tour (per-night)                                         */
/* -------------------------------------------------------------------------- */

/* Scarcity bar: floating notification — hidden until JS shows it (first time, after delay) */
.sf-scarcity-bar{
  position: fixed;
  top: calc(var(--sticky-offset, 72px) + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 998;
  box-sizing: border-box;
  width: calc(100vw - 80px);
  max-width: 400px;
  background: var(--sf-yellow);
  color: #1a1a1a;
  padding: 14px 32px 14px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
  border-radius: 14px;
  transition: transform .3s ease, opacity .3s ease;
  opacity: 0;
  pointer-events: none;
}
.sf-scarcity-bar.is-visible{
  opacity: 1;
  pointer-events: auto;
}
.sf-scarcity-bar.is-dismissed{
  transform: translateX(-50%) translateY(-100%);
  pointer-events: none;
  opacity: 0;
}
.sf-scarcity-bar__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sf-scarcity-bar__text{
  font-family: var(--sf-font-body);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}
.sf-scarcity-bar__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease;
  flex-shrink: 0;
}
.sf-scarcity-bar__close:hover{ opacity: .7; }
.sf-scarcity-bar__close:focus-visible{ outline: 2px solid #1a1a1a; outline-offset: 2px; }
.sf-scarcity-bar__close svg{ display: block; }
@media (min-width: 768px){
  .sf-scarcity-bar{ top: calc(var(--sticky-offset, 72px) + 24px); width: calc(100vw - 96px); max-width: 420px; padding: 16px 52px 16px 20px; }
  .sf-scarcity-bar__text{ font-size: 15px; }
}

/* Sticky bottom CTA: visible until booking form is in view */
.sf-sticky-cta{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: #1a1a1a;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(0);
  transition: transform .25s ease, opacity .25s ease;
}
.sf-sticky-cta.is-hidden{
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
}
.sf-sticky-cta__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: min(1200px, 96%);
  margin: 0 auto;
}
.sf-sticky-cta__price{
  font-family: var(--sf-font-heading);
  font-size: 18px;
  color: #fff;
}
.sf-sticky-cta__from{ font-family: var(--sf-font-body); font-size: 12px; text-transform: lowercase; opacity: .9; margin-right: 6px; font-weight: 500; }
.sf-sticky-cta__amount{ font-size: 32px; font-weight: 800; }
.sf-sticky-cta__unit{ font-size: 14px; opacity: .85; margin-left: 2px; }
.sf-sticky-cta__btn{
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 17px;
  white-space: nowrap;
  text-decoration: none;
  background: #fff !important;
  color: #1a1a1a !important;
}
.sf-sticky-cta__btn:hover{ filter: brightness(1.1); }
.sf-sticky-cta__btn:focus-visible{ outline-color: #fff; }
@media (min-width: 981px){
  .sf-sticky-cta{ padding: 14px 24px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .sf-sticky-cta__price{ font-size: 20px; }
  .sf-sticky-cta__from{ font-size: 13px; }
  .sf-sticky-cta__amount{ font-size: 26px; }
  .sf-sticky-cta__btn{ padding: 14px 24px; font-size: 18px; }
}

.sf-stay-hero-desktop{ display:none; }
.sf-stay{ background:#fff; border-radius: 16px; overflow:hidden; }
.sf-stay.sf-stay--hotel{ overflow: visible; }
.sf-stay.sf-stay--tour{ overflow: visible; }

/* Extra safety: never let long words create page overflow */
.sf-stay.sf-stay--tour,
.sf-stay.sf-stay--hotel{
  overflow-x: clip;
}
.sf-stay.sf-stay--tour .sf-stay-main,
.sf-stay.sf-stay--hotel .sf-stay-main{
  /* Keep words intact; only break very long strings */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.sf-stay-hero{
  position:relative;
  min-height: 800px;
  background:
    radial-gradient(1200px 520px at 18% 10%, rgba(255,213,45,.18), transparent 60%),
    var(--hero, none),
    linear-gradient(180deg, #0f0c08, #2b241c 55%, #f6efe3);
  background-size: cover;
  background-position: center;
  color:#fff;
  display:block;
  padding: 0;
  overflow:hidden;
}
.sf-stay-hero__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  opacity:0; /* only used on mobile */
}
.sf-stay-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0%), rgba(0, 0, 0, .82));
  z-index: 1;
}
.sf-stay-hero__inner{
  position:relative;
  padding: 0;
  min-height: 800px;
  display:flex;
  align-items:flex-start;
  padding-top: clamp(240px, 18vh, 340px);
  padding-bottom: 30px;
  z-index: 2;
}
.sf-stay-hero__grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 18px;
  align-items:start;
  width:100%;
}
.sf-stay-hero__copy{ min-width:0; }
.sf-stay-hero__copy,
.sf-stay-hero__copy *{ color:#fff; }
.sf-stay-hero__subtitle{ color: rgba(255,255,255,.92); }
.sf-stay-hero__price{ color:#fff; }
.sf-stay-hero__price{
  margin-top: 12px;
  letter-spacing: .2px;
  font-family: var(--sf-font-heading);
}
.sf-stay-price__from{
  font-family: var(--sf-font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: lowercase;
  opacity: .9;
  margin-right: 6px;
}
.sf-stay-price__amount{
  font-family: var(--sf-font-heading);
  font-size: 32px;
  font-weight: 800;
}
.sf-stay-price__unit{
  font-family: var(--sf-font-body);
  font-size: 16px;
  font-weight: 500;
  opacity: .9;
  margin-left: 6px;
}

.sf-stay-slider{
  margin: 0 0 16px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  background: #000;
  outline: none;
}
.sf-stay-slider:focus-visible{ box-shadow: 0 0 0 3px rgba(255,213,45,.55), 0 10px 24px rgba(0,0,0,.12); }
.sf-stay-slider__track{
  display: flex;
  transition: none; /* no animation */
  will-change: transform;
  position: relative;
  z-index: 1;
}
.sf-stay-slider__slide{
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  background:#000;
}
.sf-stay-slider__img,
.sf-stay-slider__slide img{
  display:block;
  width:100%;
  height:100%;
}
.sf-stay-slider__slide img{ object-fit: cover; }

.sf-stay-slider__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  /* Hard reset (avoid inheriting global button styles) */
  -webkit-appearance: none;
  appearance: none;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;            /* no border */
  border-radius: 0 !important;
  background: none !important;     /* no background */
  box-shadow: none !important;
  color: #fff;                     /* buttons only white */
  transition: none !important;     /* no animation */
  cursor: pointer;
  z-index: 5;                  /* ensure above slide links */
  pointer-events: auto !important;
}
.sf-stay-slider__btn:hover{
  opacity: 1;
  transform: translateY(-50%) !important; /* prevent hover/active movement */
}
.sf-stay-slider__btn:hover::before{
  background: #000;
}
.sf-stay-slider__btn:active{
  transform: translateY(-50%) !important; /* prevent click movement */
}
.sf-stay-slider__btn--prev{ left: 12px; }
.sf-stay-slider__btn--next{ right: 12px; }
.sf-stay-slider__btn::before{
  position: absolute;
  background: #00000052;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sf-font-heading);
  font-size: 21px;
  line-height: 1;
  color: #fff;
  content: "⬅";
  margin: 6px;
  border-radius: 5px;
  pointer-events: none;         /* click always hits the button */
}
.sf-stay-slider__btn--next::before{ content: "➞"; }

.sf-stay-slider__dots{
  position:absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display:flex;
  gap: 8px;
  z-index: 2;
}
.sf-stay-slider__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;                 /* no border */
  background: #fff;          /* one color */
  opacity: .35;              /* inactive state */
  cursor: pointer;
  padding: 0;
}
.sf-stay-slider__dot.is-active{
  opacity: 1;
}

.sf-stay-slider.is-single .sf-stay-slider__btn,
.sf-stay-slider.is-single .sf-stay-slider__dots{ display:none; }

@media (max-width: 640px){
  .sf-stay-slider__slide{ aspect-ratio: 4 / 3; }
  .sf-stay-slider__btn{ width: 40px; height: 40px; }
  .sf-stay-slider__btn--prev{ left: 10px; }
  .sf-stay-slider__btn--next{ right: 10px; }
}
.sf-stay-hero__media{ justify-self:end; }
.sf-stay-hero__media img{
  width: 100%;
  height: 800px;
  display:block;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.sf-stay-hero__badges{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.sf-stay-badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-weight:800;
  font-size: 12px;
  letter-spacing:.2px;
}
.sf-stay-hero__title{
  margin: 0 0 6px;
  font-family: var(--sf-font-heading);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing:.6px;
  font-weight: 500;

}
.sf-stay-hero__subtitle{ max-width: 65ch; opacity:.95; }
.sf-hero-cta-wrap{ margin-top: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sf-hero-cta-wrap .sf-stay-hero__cta{ margin-top: 0; }
.sf-hero-social-proof{
  font-family: var(--sf-font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em;
}
a.sf-hero-social-proof{
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s ease;
}
a.sf-hero-social-proof:hover{ opacity: 1; color: #fff; }
a.sf-hero-social-proof:focus-visible{ outline: 2px solid rgba(255,255,255,.8); outline-offset: 4px; }
.sf-stay-hero__cta{ margin-top: 14px; display:inline-flex; }
.sf-stay-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    "main aside"
    "reviews reviews";
  gap: 18px;
  /* Match single-tour "panel" feel (tour-popup padding) */
  padding: 18px 70px 24px;
  box-sizing: border-box;
}
.sf-stay-main{ min-width:0; grid-area: main; }
.sf-tour-reviews{ grid-area: reviews; min-width:0; }
.sf-stay-aside{ position: sticky; top: 16px; align-self:start; }
.sf-stay-aside{ grid-area: aside; }
.sf-booking--aside{ border:1px solid #eadfce; border-radius: 14px; padding: 14px; background:#fff; box-shadow: 0 10px 34px rgba(0,0,0,.06); }
.sf-booking--aside{
  border: 0;
  background: #d9d9d9;
}
.sf-booking--aside{ overflow: visible; }
.sf-booking--aside .sf-booking-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-booking--aside .sf-field--full,
.sf-booking--aside .sf-field--phone,
.sf-booking--aside .sf-field--notes,
.sf-booking--aside .sf-field--date{ grid-column: 1 / -1; }
.sf-booking--aside .sf-date{ width:100%; }
.sf-booking--aside .sf-cal{ max-width: 100%; }

@media (max-width: 720px){
  .sf-booking--aside .sf-booking-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Below 1250px: move booking form under content */
@media (max-width: 1250px){
  .sf-stay-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "reviews"
      "aside";
  }
  .sf-stay-aside{ position: static; }
}

.sf-stay{ border-radius: 0; }

.sf-stay-h2{
  margin: 14px 0 10px;
  font-family: var(--sf-font-heading);
  letter-spacing: .4px;
  font-size: 30px;
  color: #3a3528;
}
@media (max-width: 980px){
  .sf-stay-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "reviews"
      "aside";
    padding-left: 10px;
    padding-right: 10px;
  }
  .sf-stay-aside{ position: static; }
  .sf-stay-hero__title{ font-size: 36px; }
  .sf-stay-hero__grid{ grid-template-columns: 1fr; align-items:start; }
  .sf-stay-hero{ min-height: 460px; padding: 44px 0 0px }
  .sf-stay-hero__inner{ min-height: 0; display:block; }
  /* Tablet: keep the image as a normal block (not background). */
  .sf-stay-hero__media{ justify-self:start; }
  .sf-stay-hero__media img{ height: 320px; border-radius: 16px; }
  .sf-stay-hero__overlay{
    background: linear-gradient(180deg, rgb(0 0 0 / 0%), rgba(0, 0, 0, .82));
  }
}

/* Desktop hero (separate, like old single tour) */
@media (min-width: 981px){
  .sf-stay-hero-desktop{ display:block; padding: 22px 0 10px; background:#000; }
  .sf-stay-hero--mobile{ display:none; }
  .sf-stay-hero-desktop__wrap{
    display:grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
    align-items:start;
    padding-left: 70px;
    padding-right: 70px;
    box-sizing: border-box;
  }
  .sf-stay-hero-desktop__media{
    aspect-ratio: 2 / 2.5;
    border-radius: 18px;
    overflow:hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    background:#fff;
  }
  .sf-stay-hero-desktop__media img{ width:100%; height:100%; object-fit:cover; display:block; }
  .sf-stay-hero-desktop__badges{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
  .sf-stay-hero-desktop__title{
    margin: 0 0 6px;
    font-family: var(--sf-font-heading);
    font-size: 44px;
    line-height: 1.02;
    letter-spacing:.6px;
    color:#fff;
  }
  .sf-stay-hero-desktop__subtitle{ max-width: 70ch; color: rgba(255,255,255,.90); opacity:1; }
  .sf-stay-hero-desktop__price{
    margin-top: 14px;
    letter-spacing: .2px;
    font-family: var(--sf-font-heading);
    color: #fff;
  }
  .sf-stay-hero-desktop__price .sf-stay-price__from{ font-size: 13px; }
  .sf-stay-hero-desktop__price .sf-stay-price__amount{ font-size: 56px; font-weight: 800; }
  .sf-stay-hero-desktop__price .sf-stay-price__unit{ font-size: 20px; }
  .sf-hero-cta-wrap{ margin-top: 14px; }
  .sf-hero-cta-wrap .sf-stay-hero-desktop__cta{ margin-top: 0; }
  .sf-hero-social-proof{ font-size: 15px; color: rgba(255,255,255,.92); }
  .sf-stay-hero-desktop__cta{ margin-top: 14px; display:inline-flex; }
}

/* Mobile-ish: use the hero image as background (no image card). */
@media (max-width: 840px){
  .sf-stay-hero__media{ display:none !important; }
  .sf-stay-hero__bg{ opacity:1; }
  .sf-stay-hero{
    background: linear-gradient(180deg, #0f0c08, #2b241c 55%, #f6efe3);
  }
  .sf-stay-hero__overlay{
      background: linear-gradient(180deg, rgb(0 0 0 / 0%), #000);
  
  }
}

