/* Sand Tours — functional transfers extension. Keeps client-approved green / gold / cream palette. */
:root{--stx-ink:#25382f;--stx-green:#182c26;--stx-gold:#bf8c45;--stx-cream:#f8f5ee;--stx-line:#e8dfd0;--stx-text:#33483d}
body.st-theme{overflow-x:hidden}body.st-theme .st-site-header{z-index:100;isolation:isolate}body.st-theme .st-site-main{min-height:40vh}body.st-theme .st-simple-page{padding-top:60px!important;padding-inline:clamp(18px,3.5vw,44px)!important;max-width:1200px!important}body.st-theme .st-simple-page>h1{color:var(--stx-ink)!important;position:relative!important;z-index:1!important;opacity:1!important;line-height:1.2!important;margin:0 auto 26px!important;padding:0!important;max-width:100%!important}body.st-theme .st-simple-page .wp-block-group{max-width:100%}
body.st-theme.stx-landing-page .st-simple-page{max-width:none!important;padding:0!important;margin:0!important}body.st-theme.stx-landing-page .st-simple-page>h1{display:none!important}body.st-theme.stx-landing-page .st-simple-page>article,body.st-theme.stx-landing-page .st-simple-page>article>*{width:100%;max-width:none;margin:0}body.st-theme.stx-landing-page .st-simple-page article>p{margin:0!important}
.stx{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--stx-text);font-size:14px;line-height:1.7;overflow:hidden;background:#fffdf9}.stx *{box-sizing:border-box}.stx :is(h1,h2,h3,p){margin:0}.stx img{display:block;width:100%;height:auto}.stx .stx-inner{max-width:1220px;margin:auto;padding:0 30px}.stx h1,.stx h2{font-family:'Playfair Display',Georgia,serif;letter-spacing:-.034em;line-height:1.15}.stx h2{font-size:clamp(30px,3.4vw,47px);color:var(--stx-ink)}.stx h3{color:var(--stx-ink)}.stx em{color:#dbad68;font-style:italic;font-weight:400}.stx .stx-eyebrow{text-transform:uppercase;letter-spacing:2.5px;font-size:11px;font-weight:850;color:#c08f49;display:block;margin-bottom:18px}.stx a{text-decoration:none!important}.stx a:focus-visible,.stx button:focus-visible,.stx input:focus-visible,.stx select:focus-visible{outline:3px solid #b28b4f;outline-offset:2px}
.stx-hero{background:linear-gradient(110deg,rgba(17,42,35,.97),rgba(21,41,33,.93)),url('fleet.webp') center/cover;color:white;padding:clamp(47px,5vw,88px) 0}.stx-hub-hero{background-position:center 44%}.stx-hero-inner{width:100%;max-width:1230px;margin:auto;padding:0 30px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.78fr);gap:clamp(32px,5vw,75px);align-items:center}.stx-hero-copy h1{font-size:clamp(38px,4.8vw,65px);font-weight:700;margin:0 0 26px!important;color:#fff!important}.stx-hero-copy>p{font-size:15px;max-width:610px;color:#d4ded6;line-height:1.95;margin:0 0 26px!important}.stx-outline{border:1px solid #baa481;padding:13px 19px;border-radius:8px;font-size:12px;font-weight:800;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;background:#203d32}.stx-outline:hover{background:#345749}.stx-gold{background:#bc8b45!important;color:#fff!important;border:0;border-radius:8px;padding:14px 22px;font-weight:800;font-size:13px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;line-height:1.35}.stx-gold:hover{background:#a87638!important}.stx-booking{background:#fff;color:var(--stx-ink);border-radius:18px;padding:23px 25px;box-shadow:0 26px 52px #0004;border-top:4px solid #c89c5e;min-width:0}.stx-booking>h2{font:800 20px/1.2 Inter,Arial,sans-serif;letter-spacing:-.025em;margin:0 0 5px!important;color:#293b31}.stx-booking>p{font-size:11px;color:#879088;margin:0 0 17px!important}.stx-mode{display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px;padding:4px;background:#f4f2ed;border-radius:9px;margin-bottom:14px}.stx-mode button{background:transparent;color:#637064;font-size:11px;font-weight:800;cursor:pointer;border:0;padding:8px 3px;border-radius:7px}.stx-mode button.is-on{background:#29473b;color:white;box-shadow:0 2px 8px #0001}.stx-redirect-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.stx-redirect-form>label{grid-column:1/-1}.stx-redirect-form label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#516052;min-width:0}.stx-redirect-form :is(input,select){min-width:0;width:100%;border:1px solid #dddcd6;background:#fff;border-radius:8px;padding:11px 11px;font:500 12px Inter,Arial,sans-serif;color:#2a3b31;min-height:43px}.stx-form-row{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.stx-redirect-form details{grid-column:1/-1;font-size:11px;color:#6b562f}.stx-redirect-form details summary{cursor:pointer;padding:5px 0;font-weight:800}.stx-redirect-form details label{margin-top:8px}.stx-redirect-form .stx-gold{grid-column:1/-1;width:100%;margin-top:2px}.stx-secure{text-align:center;grid-column:1/-1;font-size:10px;color:#859087}.stx-return{grid-column:1/-1}.stx-return[hidden]{display:none!important}
.stx-trust{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:15px 32px;padding:18px 20px;background:#f8f1e7;border:1px solid #eadfcf;border-radius:0 0 16px 16px;color:#385548;font-size:11px;font-weight:800}.stx-section{padding:72px 0}.stx-section-head{text-align:center;max-width:760px;margin:0 auto 37px}.stx-section-head .stx-eyebrow{margin-bottom:7px}.stx-section-head p{max-width:650px;margin:15px auto 0!important;color:#738178}.stx-directory-tools{display:flex;flex-direction:column;gap:16px;margin-bottom:23px}.stx-directory-tools input{max-width:560px;width:100%;margin:auto;display:block;padding:15px 18px;border:1px solid var(--stx-line);border-radius:11px;font-size:14px;color:#2e4438}.stx-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.stx-tabs button{border-radius:22px;border:1px solid #e3dacb;background:white;color:#6a665c;padding:9px 16px;font-size:12px;font-weight:800;cursor:pointer}.stx-tabs button.is-on{background:#243a2e;color:white;border-color:#243a2e}.stx-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stx-route-card,.stx-fes-route{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--stx-line);border-radius:13px;background:white;padding:22px 24px;transition:box-shadow .16s}.stx-route-card:hover,.stx-fes-route:hover{box-shadow:0 10px 27px #24382c11}.stx-route-card[hidden]{display:none}.stx-route-card h3,.stx-fes-route h3{font-size:15px;font-weight:800;line-height:1.4;margin:0 0 6px!important}.stx-route-tag{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;font-weight:800;color:#aa7c3e}.stx-route-info small,.stx-fes-route small{font-size:11px;color:#859087}.stx-route-action,.stx-fes-route>div:last-child{display:flex;align-items:flex-end;flex-direction:column;white-space:nowrap}.stx-route-action strong,.stx-fes-route strong{font-size:19px;color:#263b30}.stx-route-action a,.stx-fes-route a{color:#af782e!important;font-size:12px;font-weight:850}.stx-count{text-align:center;margin-top:14px;font-size:12px;color:#627269}.stx-note{font-size:12px;text-align:center;margin:21px 0 0!important;color:#67776e}.stx-city-teaser{margin:30px 0;background:#f6f1e7;border-radius:17px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr}.stx-city-teaser img{height:100%;min-height:330px;object-fit:cover}.stx-city-teaser>div{padding:38px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.stx-city-teaser h2{font-size:34px}.stx-city-teaser p{color:#697b70;margin:16px 0!important}.stx-city-teaser small{display:block;color:#8a887c;font-size:10px;margin-top:15px}.stx-steps,.stx-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.stx-steps>div,.stx-guide-grid article{background:#fff;border:1px solid var(--stx-line);border-radius:14px;padding:25px}.stx-step-num{font:700 25px Georgia,serif;color:#c39250}.stx-steps h3,.stx-guide-grid h3{font-size:16px;margin:12px 0!important;font-weight:800}.stx-steps p,.stx-guide-grid p{font-size:13px;line-height:1.8;color:#75837a}.stx-faq{max-width:870px;margin:auto}.stx-faq h2{font-size:34px;text-align:center;margin-bottom:23px!important}.stx-faq details{border:1px solid #e9e1d7;border-radius:11px;margin-bottom:9px;background:#fff;padding:16px 22px}.stx-faq summary{font-size:14px;cursor:pointer;font-weight:800}.stx-faq details p{margin:12px 0 0!important;color:#6c796f;font-size:13px}.stx-end{text-align:center;background:#1c352b;border-radius:16px;color:white;padding:45px 35px;margin:15px auto 70px}.stx-end h2{color:white;font-size:35px}.stx-end p{color:#cbd8ce;font-size:13px;margin:15px auto 22px!important;max-width:620px}.stx-end .stx-outline{margin-left:11px}
.stx-fes-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid #607165;margin-top:35px;padding-top:27px}.stx-fes-stats b{display:block;color:white;font-size:15px}.stx-fes-stats small{display:block;color:#b0c1b8;font-size:10px;line-height:1.5;margin-top:5px}.stx-image-feature{display:grid;grid-template-columns:1.15fr .85fr;gap:15px;margin-top:34px}.stx-image-feature img{height:320px;object-fit:cover;border-radius:13px}.stx-image-feature img:last-child{object-position:center 51%}.stx-visual-note{text-align:right;font-style:italic;color:#888b7e;font-size:11px;margin-top:8px!important}.stx-fes-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stx-local-guide{background:#faf7ef;border-radius:14px;padding:45px 27px;margin:35px 0}.stx-guide-grid{grid-template-columns:repeat(2,1fr)}
/* Shared WP preview fixes: don't alter approved homepage structure or colors. */
body.st-theme .st-section>.wp-block-group__inner-container{max-width:1210px;width:100%;margin-inline:auto}body.st-theme .st-section-head{text-align:center;max-width:790px;width:100%;margin-inline:auto!important}body.st-theme .st-section .st-center{text-align:center;margin-inline:auto!important}body.st-theme .st-card-grid>.wp-block-group__inner-container{justify-content:center}body.st-theme .st-fleet .st-card>.wp-block-group__inner-container>.wp-block-image{height:210px!important}body.st-theme .st-fleet .st-card img{height:210px!important;object-fit:cover!important}
.stx-lang-select{border:1px solid #e3dacc!important;border-radius:24px!important;background:white!important;color:#273b31!important;font:700 12px Inter,Arial,sans-serif!important;padding:9px 12px!important;max-width:135px;cursor:pointer;min-width:0}.stx-header-lang{display:flex;align-items:center;gap:7px}.stx-header-lang label{font-size:11px;color:#5b695e}.stx-lang-select:focus-visible{outline:3px solid #c18e47}.stx-language-note{font-size:10px;color:#607b6e}
@media(max-width:1100px){.stx-hero-inner{grid-template-columns:minmax(0,1fr) minmax(315px,.75fr);gap:30px}.stx-hero-copy h1{font-size:43px}.stx-header-lang label{display:none}.stx-lang-select{max-width:115px}}
@media(max-width:900px){.stx-hero-inner{grid-template-columns:1fr;max-width:630px}.stx-fes-stats{max-width:100%}.stx-route-grid{grid-template-columns:1fr}.stx-steps{grid-template-columns:1fr 1fr}.stx-city-teaser{grid-template-columns:1fr}.stx-city-teaser img{height:330px}.stx-header-lang{order:0}}
@media(max-width:650px){.stx .stx-inner{padding-inline:16px}.stx-hero{padding:39px 0}.stx-hero-inner{padding:0 16px}.stx-hero-copy h1{font-size:39px}.stx-hero-copy>p{font-size:13px}.stx-booking{padding:22px 17px}.stx-trust{border-radius:0;gap:8px 14px;padding:15px}.stx-section{padding:48px 0}.stx-route-card,.stx-fes-route{padding:16px}.stx-route-card h3,.stx-fes-route h3{font-size:13px}.stx-section-head{padding:0 3px}.stx-steps,.stx-guide-grid,.stx-fes-routes{grid-template-columns:1fr}.stx-fes-stats{gap:7px}.stx-fes-stats b{font-size:12px}.stx-fes-stats small{font-size:9px}.stx-image-feature{grid-template-columns:1fr 1fr;gap:8px}.stx-image-feature img{height:175px}.stx-city-teaser>div{padding:27px}.stx-city-teaser img{height:235px;min-height:0}.stx-end{padding:35px 17px}.stx-end .stx-outline{margin-left:0;margin-top:10px}body.st-theme .st-simple-page{padding-top:38px!important}body.st-theme .st-site-header .st-header-inner{min-height:75px}body.st-theme .st-site-header .st-site-logo{max-width:180px}}
@media(min-width:951px) and (max-width:1390px){body.st-theme .st-site-header .st-nav{gap:11px}body.st-theme .st-site-header .st-phone{display:none}}
[dir="rtl"].stx .stx-eyebrow,[dir="rtl"].stx .stx-route-info{text-align:right}


/* v1.1: Fès detail layout QA. Scoped to STX to preserve approved Sand Tours homepage. */
body.st-theme.stx-landing-page .stx{isolation:isolate}
body.st-theme.stx-landing-page .stx .stx-inner{width:100%;max-width:1180px;margin:0 auto!important;padding-left:clamp(18px,3vw,35px)!important;padding-right:clamp(18px,3vw,35px)!important}
body.st-theme.stx-landing-page .stx .stx-hero-inner{width:100%;max-width:1210px;margin:0 auto!important}
body.st-theme.stx-landing-page .stx .stx-hero-copy{max-width:580px}
body.st-theme.stx-landing-page .stx .stx-booking{width:100%;max-width:475px;justify-self:end}
body.st-theme.stx-landing-page .stx .stx-booking>h2{font-size:20px;line-height:1.35}
body.st-theme.stx-landing-page .stx .stx-section{padding-top:48px!important;padding-bottom:48px!important}
body.st-theme.stx-landing-page .stx .stx-section-head{margin-bottom:26px!important}
body.st-theme.stx-landing-page .stx .stx-section-head p{font-size:14px;line-height:1.75}
body.st-theme.stx-landing-page .stx .stx-gallery-heading{text-align:left;margin:0 0 17px}
body.st-theme.stx-landing-page .stx .stx-gallery-heading .stx-eyebrow{margin-bottom:5px;font-size:10px}
body.st-theme.stx-landing-page .stx .stx-gallery-heading h2{font-size:clamp(23px,2.4vw,32px);margin:0;color:#24382e}
body.st-theme.stx-landing-page .stx .stx-vehicle-gallery{padding-top:44px;padding-bottom:18px}
body.st-theme.stx-landing-page .stx .stx-gallery-grid{width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;align-items:stretch!important;max-width:none!important}
body.st-theme.stx-landing-page .stx .stx-gallery-grid figure{min-width:0;max-width:100%;width:100%;margin:0!important;display:flex;flex-direction:column;background:#fff;border:1px solid #e7e0d3;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(22,40,33,.04)}
body.st-theme.stx-landing-page .stx .stx-gallery-grid figure img{display:block!important;width:100%!important;height:215px!important;max-width:none!important;max-height:215px!important;min-height:215px!important;aspect-ratio:16/10!important;object-fit:cover!important;object-position:center 54%;margin:0!important;flex:none!important;border-radius:0!important}
body.st-theme.stx-landing-page .stx .stx-gallery-grid figure figcaption{font-size:12px!important;line-height:1.5;padding:13px 15px!important;min-height:55px;color:#556a5c;font-weight:650;background:#fff}
body.st-theme.stx-landing-page .stx .stx-visual-note{margin:10px 0 0!important;text-align:left;font-size:11px;color:#777d74}
body.st-theme.stx-landing-page .stx .stx-fes-routes{gap:14px!important}
body.st-theme.stx-landing-page .stx .stx-fes-route{min-height:105px;padding:19px 20px;gap:18px}
body.st-theme.stx-landing-page .stx .stx-fes-route h3{font-size:16px;line-height:1.4}
body.st-theme.stx-landing-page .stx .stx-fes-route strong{font-size:19px}
body.st-theme.stx-landing-page .stx .stx-fes-route small{font-size:12px;line-height:1.5}
body.st-theme.stx-landing-page .stx .stx-fes-route a{font-size:12px;line-height:1.5}
body.st-theme.stx-landing-page .stx .stx-guide-grid article{padding:22px;min-height:155px}
body.st-theme.stx-landing-page .stx .stx-guide-grid article h3{font-size:17px}
body.st-theme.stx-landing-page .stx .stx-guide-grid article p{font-size:13px;line-height:1.7}
body.st-theme.stx-landing-page .stx .stx-local-guide{padding:35px 28px!important;margin:10px 0 25px!important}
body.st-theme.stx-landing-page .stx .stx-faq h2{margin-bottom:17px!important}
body.st-theme.stx-landing-page .stx .stx-end{margin-top:5px!important;margin-bottom:55px!important;padding-top:37px!important;padding-bottom:37px!important}
@media(max-width:1050px){body.st-theme.stx-landing-page .stx .stx-hero-inner{grid-template-columns:minmax(0,1fr) minmax(315px,.84fr)}body.st-theme.stx-landing-page .stx .stx-hero-copy h1{font-size:clamp(35px,4.2vw,50px)}}
@media(max-width:900px){body.st-theme.stx-landing-page .stx .stx-hero-inner{grid-template-columns:1fr;max-width:650px}body.st-theme.stx-landing-page .stx .stx-booking{max-width:100%;justify-self:stretch}body.st-theme.stx-landing-page .stx .stx-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.st-theme.stx-landing-page .stx .stx-gallery-grid figure:last-child{grid-column:1/-1}body.st-theme.stx-landing-page .stx .stx-gallery-grid figure img{height:220px!important;max-height:220px!important;min-height:220px!important}}
@media(max-width:600px){body.st-theme.stx-landing-page .stx .stx-gallery-grid{grid-template-columns:1fr!important}body.st-theme.stx-landing-page .stx .stx-gallery-grid figure:last-child{grid-column:auto}body.st-theme.stx-landing-page .stx .stx-gallery-grid figure img{height:210px!important;min-height:210px!important;max-height:210px!important}body.st-theme.stx-landing-page .stx .stx-section{padding-top:32px!important;padding-bottom:32px!important}body.st-theme.stx-landing-page .stx .stx-vehicle-gallery{padding-top:25px}body.st-theme.stx-landing-page .stx .stx-fes-routes{grid-template-columns:1fr!important}body.st-theme.stx-landing-page .stx .stx-fes-route{min-height:90px}body.st-theme.stx-landing-page .stx .stx-local-guide{padding:27px 18px!important}}

/* Compact shared header on small screens while retaining approved design */
@media(max-width:550px){body.st-theme .st-site-header .st-header-inner{gap:7px!important;padding-left:12px!important;padding-right:12px!important}body.st-theme .st-site-header .st-site-logo{min-width:0!important;max-width:128px!important;flex:0 1 128px!important}body.st-theme .st-site-header .st-site-logo img{max-width:128px!important}body.st-theme .stx-header-lang{flex:0 0 auto!important;min-width:0!important}body.st-theme .stx-lang-select{max-width:103px!important;padding:8px 5px!important;font-size:11px!important}body.st-theme .st-site-header .st-header-right{gap:5px!important}}
