/**
 * Egypt Holiday Makers — shared component stylesheet
 * ---------------------------------------------------------------------
 * Auto-extracted from the 24 approved HTML templates: every rule below is
 * byte-identical (via tinycss2) across all 24 files, post-unification.
 *
 * NOT included here: header / nav / topbar / footer / search-overlay CSS.
 * Those stay inconsistent across the 24 static files on purpose — they will
 * be authored ONCE, directly, from the homepage's real markup, when the
 * header.php / footer.php partials are built. Appending their CSS here then
 * is expected, not a gap.
 *
 * See CLAUDE.md for the unification decisions this file is built on.
 */

/* ---- design tokens ---- */
:root{--shadow-2:0 1px 2px rgba(7,42,71,.05),0 8px 20px rgba(7,42,71,.07),0 20px 44px rgba(7,42,71,.08); --blue:#0075C3; --deep:#0A3D66; --night:#062338; --ink:#072A47; --cyan:#39B6E6; --gold:#FAB40A; --orange:#F68712; --orange-d:#DC6D1F; --sand:#FDF9F0; --mist:#EAF5FC; --cream:#FEF3D8; --line:#E8E0D0; --soft:#4A6B85; --wa:#1DA851; --fd:"Bricolage Grotesque",sans-serif; --fb:"Plus Jakarta Sans",sans-serif; --sunrise:linear-gradient(90deg,var(--gold),var(--orange) 55%,var(--cyan)); --shadow:0 2px 6px rgba(7,42,71,.06),0 12px 28px rgba(7,42,71,.09); --shadow-h:0 8px 18px rgba(7,42,71,.12),0 26px 52px rgba(7,42,71,.18);}

/* ---- Reset & base ---- */
*{margin:0;padding:0;box-sizing:border-box}
::selection{background:var(--gold);color:var(--deep)}
::-webkit-scrollbar{width:12px}
::-webkit-scrollbar-track{background:var(--sand)}
::-webkit-scrollbar-thumb{background:#D8CDB8;border-radius:99px;border:3px solid var(--sand)}
html{scroll-behavior:smooth}
/* .traveltour-body not bare "body": traveltour-style-custom.css's
   `.traveltour-body,...,button,select{font-family:"Poppins"}` (specificity
   0,1,0) beats a bare `body{}` (0,0,1) outright — not a tie, so source
   order can't save it. Matching the parent's own class-level scope here
   is required, not optional; ties on the rest of that rule (bg/color)
   would resolve fine either way, but keeping one selector for the whole
   declaration block is clearer than splitting it. */
.traveltour-body{font-family:var(--fb);background:var(--sand);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
/* Systemic, not per-element: `.traveltour-body button/input/select/textarea
   {font-family:"Poppins"}` matches those tags DIRECTLY, so the `.traveltour-
   body` fix above (inheritance only) never reaches them — a directly-
   matching rule always wins over an inherited value, regardless of
   specificity. Same selector depth as the parent's own rule (0,1,1 each)
   ties; we load after, so `inherit` here resolves back to .traveltour-
   body's font-family. This covers every current AND future form element
   in ehm.css — no more one-off font-family patches per button/input. */
.traveltour-body button,.traveltour-body input,.traveltour-body select,.traveltour-body textarea{font-family:inherit}
/* Neutralize the parent theme's forced heading + link styling — but ONLY
   on our own templates. traveltour-style-custom.css sets, sitewide:
     .traveltour-body h1..h6 { font-family:"Poppins"; color:#383838 }  (0,1,1)
     .traveltour-body a      { color:#f97150 }                         (0,1,1)
   Both directly target the element, so they beat inherited colors (our
   hero H1 inherits white from .hero; a tour-card title link inherits the
   title's ink) and force Poppins/orange onto our content.
   Scoping to `body.ehm-tpl` (a class we add only when one of OUR templates
   renders — see ehm_body_class() in functions.php) means old Goodlayers
   content on not-yet-rebuilt pages is untouched: verified that the
   unscoped version bled onto 40 Goodlayers headings on the live front
   page. `body.ehm-tpl h1` is (0,1,2) > the parent's (0,1,1), so it wins
   outright, no load-order tie. color:inherit restores the design's own
   inheritance; section rules that set an explicit heading color are
   (0,1,1)/(0,2,0) and still win over this. Every heading in the design
   uses var(--fd), so forcing it is safe. `body.ehm-tpl a{color:inherit}`
   restores the design's `a{color:inherit}` default for content links;
   explicitly-coloured links (.arrlink, buttons, topbar/nav/footer) keep
   their own higher-specificity colours. MUST stay ABOVE component rules. */
/* element reset — ALL at specificity (0,1,1) via `.ehm-tpl X`, placed above
   every component rule: it BEATS the parent (`.traveltour-body X`, 0,1,1,
   loaded earlier in tt-custom) purely by load order, and LOSES to our own
   components (0,1,1+, loaded later in ehm.css/home.css/tour.css) — so it only
   neutralizes parent bare-element leaks on NEW markup and never overrides a
   component. `color:inherit` MUST be here at (0,1,1), NOT at `body.ehm-tpl`
   (0,1,2): the (0,1,2) version beat `.tour-hero h1{color:#fff}` (0,1,1) and
   turned the tour hero title dark on its photo — proven, then fixed here. */
.ehm-tpl h1,.ehm-tpl h2,.ehm-tpl h3,.ehm-tpl h4,.ehm-tpl h5,.ehm-tpl h6{font-family:var(--fd);color:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;margin:0;letter-spacing:normal}
.ehm-tpl a{color:inherit}
.ehm-tpl p{margin:0;line-height:inherit}
.ehm-tpl ul,.ehm-tpl ol{list-style:none;margin:0;padding:0}
.ehm-tpl li{line-height:inherit}
.ehm-tpl blockquote{margin:0;padding:0;font-size:inherit;font-style:normal;color:inherit;background:transparent;border:0}
.ehm-tpl table{text-align:left;margin:0}
.ehm-tpl hr{margin:0}
.ehm-tpl figure,.ehm-tpl fieldset,.ehm-tpl dl{margin:0}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:15px;border:0;cursor:pointer;border-radius:999px;padding:14px 28px;transition:.2s;line-height:1}
.btn svg{width:17px;height:17px;flex:none}
/* .traveltour-body prefix on the next 3 base rules: the parent theme's
   Customizer-generated traveltour-style-custom.css carries
   `.traveltour-body a{color:#f97150}` and `.traveltour-body button{...}` —
   specificity (0,1,1), higher than a bare `.btn-primary` (0,1,0), so it was
   winning regardless of load order. Matching the parent's own scope depth
   (not !important, not a duplicated class) beats it cleanly. Verified via
   getComputedStyle on the real rendered front page, not assumed. */
.traveltour-body .btn-primary{background:linear-gradient(180deg,#FF981F,var(--orange) 55%,#EE7E0C);color:#fff;box-shadow:0 6px 16px rgba(246,135,18,.35),inset 0 1px 0 rgba(255,255,255,.35)}
.btn-primary:hover{background:linear-gradient(180deg,#F68712,var(--orange-d));transform:translateY(-2px);box-shadow:0 10px 24px rgba(220,109,31,.42),inset 0 1px 0 rgba(255,255,255,.3)}
.traveltour-body .btn-wa{background:var(--wa);color:#fff;box-shadow:0 6px 16px rgba(29,168,81,.3)}
.btn-wa:hover{background:#178A42;transform:translateY(-2px)}
.traveltour-body .arrlink{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--orange)}
.arrlink .a{transition:transform .18s}
.arrlink:hover .a{transform:translateX(4px)}

/* ---- Chips & labels ---- */
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue)}
.eyebrow::before{content:"";width:22px;height:3px;border-radius:3px;background:var(--sunrise)}
.chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:5px 10px;border-radius:8px;background:var(--mist);color:var(--deep)}
.stars{color:var(--gold);letter-spacing:2px}

/* ---- Tour card ---- */
.tour-card{background:#fff;border:1px solid rgba(7,42,71,.06);border-radius:22px;overflow:hidden;box-shadow:var(--shadow-2);transition:transform .28s cubic-bezier(.2,.7,.3,1),box-shadow .28s;display:flex;flex-direction:column;position:relative}
.tour-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-h)}
.tc-media{position:relative;aspect-ratio:3/1.9;overflow:hidden}
.tc-media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:56%;background:linear-gradient(180deg,transparent,rgba(6,35,56,.42));pointer-events:none;z-index:1}
.tc-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.tour-card:hover .tc-media img{transform:scale(1.06)}
/* .traveltour-body prefix — .tc-fav is a <button>, same
   `.traveltour-body button{...}` conflict as .search-btn below. Not yet
   rendered on any built page (tour-card markup is Phase 2), fixed now so
   the same bug doesn't have to be rediscovered later. */
/* padding:0 on the fixed-size icon-circle buttons (.tc-fav/.search-btn/
   .so-close): the parent theme's style-core.css has a bare
   `.traveltour-button,input[...],button{ padding:15px 33px }` (0,0,1) that
   leaks onto every <button>. Our circles declare no padding, so that 33px
   applied and inflated them into ovals (width forced to 66px). The design's
   own `*{padding:0}` reset loses to the parent's `button` selector in WP.
   These rules are already `.traveltour-body`-prefixed (0,2,0) so padding:0
   here wins cleanly. .btn-family buttons are unaffected — they declare their
   own padding at (0,1,0), which already beats the parent. */
.traveltour-body .tc-fav{position:absolute;top:13px;right:13px;z-index:2;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--deep);cursor:pointer;border:0;padding:0;transition:.2s}
/* flex:none — <button> flex children default to min-width:auto with
   flex-shrink:1, which collapsed .search-btn's identical-shape svg to
   0 width (confirmed live, mistaken for "search icon missing" — it was
   there, just invisible). .wa-float has no such issue since it's an <a>,
   not a <button> — this bug is specific to buttons. Preventive fix here
   since .tc-fav is the same button+flex+lone-svg shape. */
.tc-fav svg{width:17px;height:17px;flex:none}
.tc-fav:hover{color:var(--orange);transform:scale(1.1)}
/* Wishlist removed site-wide (Megz 2026-07-29) */
.traveltour-body .tc-fav{display:none}
.tc-loc{position:absolute;left:14px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:6px;background:rgba(6,35,56,.66);backdrop-filter:blur(6px);color:#fff;font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px}
.tc-loc svg{width:12px;height:12px;color:var(--gold)}
.tc-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:11px;flex:1}
.tc-meta{display:flex;gap:8px;flex-wrap:wrap}
/* .traveltour-body prefix: .tc-title is an h3 with only a single-class
   selector (0,1,0), so it loses BOTH to the parent's .traveltour-body h3
   (0,1,1 -> Poppins/#383838) and to our own heading blanket above (0,1,1
   -> inherit). Prefixed to (0,2,0) it beats both and keeps the tour-card
   title on var(--fd)/var(--deep) as designed. */
.traveltour-body .tc-title{font-family:var(--fd);font-weight:700;font-size:19px;line-height:1.28;color:var(--deep)}
.tc-title a:hover{color:var(--blue)}
.tc-perks{display:flex;flex-direction:column;gap:5px}
.tc-perk{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--soft)}
.tc-perk svg{width:13px;height:13px;color:var(--wa);flex:none}
.tc-foot{margin-top:auto;padding-top:13px;border-top:1px solid #F0EADD;display:flex;align-items:center;justify-content:space-between}
.tc-pricefoot{display:flex;flex-direction:column;line-height:1.05}
.tc-pricefoot .f{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--soft)}
.tc-pricefoot .p{font-family:var(--fd);font-weight:800;font-size:24px;color:var(--deep);letter-spacing:-.01em}

/* ---- Reviews ---- */
.rev-badges{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:40px}
.rev-badge{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:11px 22px;font-weight:700;font-size:14px;color:var(--deep);box-shadow:var(--shadow)}
.rev-badge .g{font-family:var(--fd);font-weight:800}
.rev-badge .dot{width:9px;height:9px;border-radius:50%;background:#34E0A1}
.rev-marq{overflow:hidden;position:relative;padding:6px 0 12px}
.rev-marq::before,.rev-marq::after{content:"";position:absolute;top:0;bottom:0;width:110px;z-index:2;pointer-events:none}
.rev-marq::before{left:0;background:linear-gradient(90deg,var(--sand),transparent)}
.rev-marq::after{right:0;background:linear-gradient(-90deg,var(--sand),transparent)}
.rev-track{display:flex;gap:22px;width:max-content;animation:tick 46s linear infinite}
.rev-track:hover{animation-play-state:paused}
.r-card{position:relative;width:380px;background:#fff;border:1px solid rgba(7,42,71,.05);border-radius:20px;box-shadow:var(--shadow);padding:26px 28px;display:flex;flex-direction:column;gap:12px}
.r-card::before{content:"“";position:absolute;top:8px;right:20px;font-family:var(--fd);font-size:66px;font-weight:800;color:var(--cream);line-height:1;pointer-events:none}
.r-head{display:flex;gap:12px;align-items:center}
.r-av{width:42px;height:42px;border-radius:50%;font-family:var(--fd);font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;color:#fff}
.r-name{font-weight:700;font-size:14px;color:var(--deep)}
.r-when{font-size:11.5px;color:var(--soft)}
.r-card p{font-size:13.5px;line-height:1.65}

/* ---- CTA banner ---- */
.cta-banner{position:relative;overflow:hidden;border-radius:22px;background:var(--deep);padding:52px 56px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;margin-top:92px}
.cta-banner::before{content:"";position:absolute;right:-90px;top:-90px;width:360px;height:360px;background:repeating-conic-gradient(from 0deg,rgba(250,180,10,.28) 0deg 6deg,transparent 6deg 16deg);border-radius:50%;pointer-events:none;animation:rays 70s linear infinite}
.cta-banner h3{font-family:var(--fd);font-size:30px;font-weight:800;letter-spacing:-.01em;max-width:22ch;position:relative;z-index:1}
.cta-banner h3 em{font-style:normal;color:var(--gold)}
.cta-banner p{color:#B9D6EA;font-size:14.5px;margin-top:8px;max-width:46ch;position:relative;z-index:1}

/* ---- FAQ accordion ---- */
.faq{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.faq:hover{border-color:var(--cyan)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:19px 24px;font-family:var(--fd);font-weight:700;font-size:16px;color:var(--deep)}
.faq summary::-webkit-details-marker{display:none}
.pm-ic{flex:none;width:29px;height:29px;border-radius:50%;background:var(--mist);color:var(--blue);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;transition:transform .25s,background .2s}
.faq[open] .pm-ic{transform:rotate(45deg);background:var(--orange);color:#fff}
.fa-body{padding:0 24px 20px;font-size:14px;color:var(--soft);line-height:1.7}

/* ---- WhatsApp float ---- */
/* .traveltour-body prefix — .wa-float is a bare-class <a>, same
   `.traveltour-body a{color:#f97150}` conflict as .btn-primary/.btn-wa.
   No visible text here, but the icon SVG uses fill="currentColor", so the
   wrong color rendered as an orange WhatsApp glyph on the green circle
   instead of white — confirmed via getComputedStyle, not assumed harmless
   just because there's no text. */
.traveltour-body .wa-float{position:fixed;right:24px;bottom:24px;z-index:90;width:58px;height:58px;border-radius:50%;background:var(--wa);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(29,168,81,.45);transition:transform .2s}
.wa-float svg{width:28px;height:28px}
.wa-float:hover{transform:scale(1.08)}
/* Mobile-only: sits above .mbar (the tour page's sticky booking bar,
   ~64-74px tall) instead of z-index-fighting it. Present in 23/24 source
   templates; homepage's own copy never had it (nothing to avoid there —
   no .mbar on that page). Needed sitewide once tour templates exist. */
@media(max-width:1080px){.wa-float{bottom:86px}}

/* ---- Reveal-on-scroll utility ---- */
.rv{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}

/* ---- Layout ---- */
.wrap{max-width:1350px;margin:0 auto;padding:0 28px}

/* ---- keyframes used by shared components above ---- */
@keyframes tick{to{transform:translateX(-50%)}}   /* .rev-track */
@keyframes rays{to{transform:rotate(360deg)}}     /* .cta-banner::before */

/* ---- reduced motion ---- */
/* 22/24 source templates carry this fuller form; homepage's own copy only
   disabled .rev-track and dropped the *{} + .rv{} universal reset — using
   the majority version here so .rv content doesn't stay invisible for
   users who've asked for reduced motion. */
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .rv{opacity:1;transform:none}
}

/* =======================================================================
   Header / nav / topbar / footer — authored for header.php / footer.php
   ---------------------------------------------------------------------
   NOT a blanket "take homepage" pass. Verified computed styles in a real
   render (getComputedStyle + parsed CSSOM, not text-diffing) piece by
   piece against the 23-file majority first — the same discipline as the
   .wa-float/.rev-track fixes, because homepage's chrome markup/CSS turned
   out to have its own real gaps:
     - nav.main: homepage's OWN copy is an older underline style. The pill
       style (padding 9px 13px, radius 10px, matching the 999px filter
       pills) — approved for this build — is the 23-file version, not
       homepage's. Taking "homepage" literally here would have shipped
       the wrong nav.
     - .topbar: homepage is missing `.topbar .grp.l span` (the flex+gap
       wrapper) — without it the WhatsApp/email icons sit flush against
       their text, no gap. Majority has it.
   Conversely the search overlay and .tb-pill hover states are RICHER on
   homepage (extra hover backgrounds, a slide-in animation on open) —
   those came from homepage. Footer verified functionally equivalent
   either way; used homepage's (it also adds a decorative top stripe the
   23 don't have — cosmetic, harmless either way).
   ======================================================================= */

/* ---- header + topbar shell ---- */
header.site{position:sticky;top:0;z-index:80;background:rgba(253,249,240,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);transition:box-shadow .3s}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:82px;gap:24px;transition:height .3s}

/* Found via a scope-detection gap in tools/visual-check: .topbar sits
   OUTSIDE <header> as a sibling, so `closest('header')` silently skipped
   it in every prior automated check. Was `var(--night)` (#062338) —
   source (ehm-homepage-v3.html:53) declares `var(--deep)` (#0A3D66) and
   also has `font-weight:500`, missing here. Both restored verbatim. */
.topbar{background:var(--deep);color:#B9D6EA;font-size:13px;font-weight:500}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:46px;gap:16px}
.topbar .grp{display:flex;gap:6px;align-items:center}
/* Source selector across all 24 templates is `.topbar .grp.l span` — dead
   CSS everywhere, the markup only ever has class="grp" (no .l), verified
   in a real render (computed style came back empty for that selector).
   `.grp span` achieves the same intent and actually matches: the right
   group (.grp r) has no bare <span> children (just <a class="tb-pill">),
   so nothing else picks this up. Pre-existing bug in the approved design,
   not introduced here — flagged for the client bug list. */
.topbar .grp span{display:inline-flex;align-items:center;gap:7px}
@media(max-width:760px){.topbar .grp.r{display:none}}
.topbar a{color:#fff;font-weight:600}
.topbar a:hover{color:var(--gold)}
.topbar svg{width:14px;height:14px;color:var(--gold)}

/* .traveltour-body prefix on the base + .gold rule — measured fine as-is on
   the one page tested (reason unclear), but bare-class-on-<a> is the exact
   shape that broke .btn-primary/.btn-wa, so fixed defensively rather than
   left to depend on an unexplained pass. */
.traveltour-body .tb-pill{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 14px;transition:.2s;line-height:1}
.tb-pill svg{width:13px;height:13px;color:var(--gold)}
.tb-pill:hover{background:rgba(255,255,255,.16);border-color:var(--gold);color:var(--gold)!important}
.traveltour-body .tb-pill.gold{background:var(--gold);border-color:var(--gold);color:var(--deep)!important}
.tb-pill.gold svg{color:var(--deep)}
.tb-pill.gold:hover{background:#FFC53D;color:var(--deep)!important;transform:translateY(-1px)}

.hd-right{display:flex;align-items:center;gap:12px}
.logo img{height:46px}

/* .traveltour-body prefix — .search-btn is a <button>; `.traveltour-body
   button{color:#fff;background-color:#f97150}` in the parent's Customizer
   CSS was winning (specificity 0,1,1 > our bare 0,1,0). Confirmed via
   getComputedStyle on the live render: background showed #f97150 instead
   of var(--mist), color showed #fff instead of var(--blue) — this exact
   pair is the "empty orange circle" report.
   (font-family for buttons/inputs is handled once, sitewide, by the
   `.traveltour-body button,input,select,textarea{font-family:inherit}`
   rule in the base section above — not repeated per-selector here.) */
.traveltour-body .search-btn{width:42px;height:42px;border-radius:50%;border:0;padding:0;background:var(--mist);color:var(--blue);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s}
/* flex:none — found 2026-07-16, reported as "search icon problem": the
   svg's own width:18px computed to 0px live (confirmed via
   getBoundingClientRect). Root cause: <button> flex children default to
   flex-shrink:1 + min-width:auto, which can collapse a lone svg child to
   zero width; .wa-float (an <a>, not a <button>, otherwise identical
   fixed-circle-flex shape) has no such issue — this is specific to
   buttons. Confirmed the fix empirically (width 0 -> 18 with flex:none
   added) before applying, not guessed. Design source doesn't have this
   property either — it's an addition needed only because of a real
   browser rendering difference from the static-file context, not a
   pixel-fidelity violation. */
.search-btn svg{width:18px;height:18px;flex:none}
.search-btn:hover{background:#D9EEFA;transform:translateY(-2px)}

/* ---- nav.main — UNDERLINE top-level bar (verbatim from ehm-homepage-v3.html,
   the chosen design source per Magdy 2026-07-16) + DROPDOWN sub-menus added
   2026-07-29 at Magdy's request (mega-menu structure like the legacy menu,
   restyled to our design system — not in the original HTML templates).
   Top-level anchors keep the sunrise underline; sub-menus are a card
   (shadow-2 / --line border / --mist hover) revealed on hover + focus. */
nav.main>ul.nav-menu{display:flex;gap:28px;list-style:none;margin:0;padding:0;font-weight:600;font-size:14.5px}
nav.main li{position:relative}
nav.main>ul>li>a{color:var(--deep);position:relative;padding:6px 0;display:inline-flex;align-items:center;gap:7px}
nav.main>ul>li>a::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;border-radius:3px;background:var(--sunrise);transition:width .2s}
nav.main>ul>li>a:hover::after,nav.main>ul>li>a.on::after,nav.main>ul>li:hover>a::after{width:100%}
nav.main a.on{color:var(--blue)}
nav.main .ni{display:inline-flex;width:16px;height:16px;color:var(--orange)}
nav.main .ni svg{width:16px;height:16px}
nav.main a.on .ni{color:var(--blue)}
nav.main .nav-caret{width:10px;height:10px;flex:none;transition:transform .2s;opacity:.7}
nav.main>ul>li:hover>a .nav-caret{transform:rotate(180deg)}
/* dropdown card */
nav.main .sub-menu{position:absolute;top:100%;left:0;min-width:240px;list-style:none;margin:0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-2);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:200}
nav.main .sub-menu::before{content:"";position:absolute;top:-10px;left:0;right:0;height:10px}/* hover bridge across the gap */
nav.main li:hover>.sub-menu,nav.main li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
nav.main .sub-menu a{display:block;padding:9px 12px;border-radius:9px;color:var(--ink);font-size:13.5px;font-weight:600;white-space:nowrap;transition:background .15s,color .15s}
nav.main .sub-menu a:hover{background:var(--mist);color:var(--blue)}
@media(max-width:1020px){nav.main{display:none}}

/* ---- search overlay ---- */
.search-ov{position:fixed;inset:0;z-index:200;background:rgba(6,35,56,.82);backdrop-filter:blur(10px);display:flex;align-items:flex-start;justify-content:center;padding:16vh 24px 0;opacity:0;pointer-events:none;transition:opacity .25s}
.search-ov{padding-top:12vh}
.search-ov.open{opacity:1;pointer-events:auto}
.search-ov.open .so-inner{transform:none}
.so-inner{width:100%;max-width:720px;transform:translateY(-14px);transition:transform .25s}
.so-inner .eyebrow{color:var(--gold)}
/* .traveltour-body prefix on .so-close/.so-go — both <button>, same
   `.traveltour-body button{...}` conflict. .so-close's color happened to
   already match (#fff both sides) but its background was silently wrong
   (solid #f97150 instead of the translucent white overlay); .so-go's
   background was a close-but-wrong orange shade. Neither looked as
   dramatically "broken" as the search button, which is exactly why a
   full render check mattered instead of eyeballing the obvious ones.
   .so-close also renders a visible "✕" text glyph (see header.php) — its
   font-family is covered by the sitewide button/input rule in the base
   section above, same as .search-btn. */
.traveltour-body .so-close{position:absolute;top:26px;right:30px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;font-size:17px;padding:0;cursor:pointer;transition:.2s}
.so-close:hover{background:#fff;color:var(--deep)}
.so-field{margin-top:18px;background:#fff;border-radius:999px;box-shadow:0 24px 60px rgba(0,0,0,.35);display:flex;align-items:center;gap:14px;padding:10px 12px 10px 26px}
.so-field>svg{width:20px;height:20px;color:var(--blue);flex:none}
.so-field input{flex:1;border:0;outline:0;font-family:var(--fb);font-size:16.5px;font-weight:600;color:var(--ink);background:none;min-width:0}
.so-field input::placeholder{color:#9DB3C4;font-weight:500}
.traveltour-body .so-go{border:0;cursor:pointer;background:var(--orange);color:#fff;font-family:var(--fb);font-weight:700;font-size:14.5px;border-radius:999px;padding:13px 26px;transition:.2s}
.so-go:hover{background:var(--orange-d)}
@media(max-width:640px){.traveltour-body .so-go{padding:11px 16px;font-size:13.5px}.so-field{padding:8px 8px 8px 18px}.search-ov{padding-top:11vh}.so-field input{font-size:15px}}
.so-lbl{font-size:12.5px;font-weight:700;color:#9FC4DE;letter-spacing:.06em;text-transform:uppercase}
.so-pop{margin-top:22px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.so-pop a{font-size:13px;font-weight:600;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:7px 15px;transition:.2s}
.so-pop a:hover{background:var(--gold);color:var(--deep);border-color:var(--gold)}

/* ---- footer ---- */
footer.site{margin-top:110px;background:var(--night);color:#7FA8C6;position:relative}
footer.site::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:var(--sunrise)}
.f-main{max-width:var(--wrap,1350px);margin:0 auto;padding:0 40px}

.f-cta{max-width:1350px;margin:0 auto;padding:74px 28px 0;text-align:center}
/* Missing entirely from the hand-authored footer CSS, not a specificity
   loss — the source has this rule (ehm-homepage-v3.html:395-396), it just
   never got carried over when the footer partial was built. Found via
   the sitewide font-family audit: with no font-family declared at all,
   this h2 fell through to inherit → hit .traveltour-body h2{Poppins}. */
.f-cta h2{font-family:var(--fd);font-weight:800;font-size:clamp(34px,5.4vw,60px);letter-spacing:-.02em;line-height:1.02;color:#fff;max-width:18ch;margin:16px auto 18px}
.f-cta h2 em{font-style:normal;color:var(--gold)}
.f-cta .row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.f-cta p{color:#B9D6EA;max-width:48ch;margin:0 auto 30px;font-size:15.5px}

/* Merged cascade result of the source's two overlapping .f-links rules,
   confirmed against getComputedStyle — not a guess at which one "wins". */
.f-links{max-width:1350px;margin:35px auto 0px;padding:35px 0 44px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:40px;border-top:1px solid rgba(255,255,255,.12)}
@media(max-width:1000px){.f-links{grid-template-columns:1fr 1fr;gap:34px}}
@media(max-width:600px){.f-links{grid-template-columns:1fr;gap:30px}}

.f-logo{max-width:210px;width:100%;height:auto;background:#fff;padding:11px 16px;border-radius:12px;display:block;margin-bottom:16px}

.f-col a,.f-col p{display:block;font-size:13.5px;color:#7FA8C6;margin-bottom:10px;line-height:1.4}
.f-col a:hover{color:var(--gold)}
/* font-size + font-weight corrected to match homepage-v3 source verbatim
   (was 14.5px / no weight from hand-authoring; source is 15px / 700).
   Found by the systematic home-vs-ehm CSS diff during the homepage build. */
.f-col h4{font-family:var(--fd);color:#fff;font-size:15px;font-weight:700;margin-bottom:16px}

/* .f-about p and .f-contact both moved to AFTER .f-col on purpose — same
   root cause, two separate instances. Both are nested inside .f-col (an
   ancestor of .f-about and .f-contact in the markup), so `.f-col a,.f-col
   p` (equal specificity, 0,1,1) was winning by source order and silently
   overriding their intended lighter colors (#9FC4DE, #CFE3F2) with
   .f-col's #7FA8C6. .f-contact was caught and reordered during the
   original CSS-specificity investigation; .f-about p was the same bug
   in the same file, missed at the time — found later by the automated
   cross-page/design-source comparison tool (tools/visual-check).
   Reordering — not renaming/duplicating — is the minimal fix. */
.f-about p{font-size:13.5px;line-height:1.7;color:#9FC4DE;margin-bottom:18px}

.f-contact{display:flex;flex-direction:column;gap:11px}
.f-contact span,.f-contact a{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#CFE3F2;line-height:1.4}
.f-contact svg{width:16px;height:16px;color:var(--gold);flex:none}
.f-contact a:hover{color:var(--gold)}

.f-badge{display:flex;align-items:flex-start;justify-content:flex-end}
@media(max-width:1000px){.f-badge{justify-content:flex-start}}
.ta-card{background:#fff;border-radius:18px;padding:24px 26px;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.25);max-width:240px;width:100%}
/* Footer Tripadvisor-badge internals — these were only in home.css, so the
   badge rendered unstyled (and image un-sized) on every non-home page. Moved
   here because footer.php is a sitewide partial; its CSS must load everywhere. */
.ta-img{width:130px;height:auto;display:block;margin:0 auto 10px}
.ta-sub{font-size:12.5px;font-weight:600;color:var(--soft);margin:4px 0 14px;line-height:1.4}
.ta-stats{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:12px;border-top:1px solid var(--line)}
.ta-rate{font-weight:800;font-size:13px;color:var(--night)}
.ta-rev{font-size:12px;font-weight:700;color:var(--soft)}

/* .f-bottom's computed result — the source has 3 stacked declarations for
   this selector, this is the one that actually wins for every property
   once the cascade resolves, confirmed via getComputedStyle. */
.f-bottom{max-width:var(--wrap,1350px);margin:0 auto;padding:22px 40px;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.f-bl{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:12.5px;color:#8FB0C9}
.f-legal{display:flex;gap:16px}
.f-legal a{color:#8FB0C9}
.f-legal a:hover{color:var(--gold)}
.f-br{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.f-social{display:flex;gap:10px}
.f-social a{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#CFE3F2;transition:.2s}
.f-social svg{width:16px;height:16px}
.f-social a:hover{background:var(--gold);color:var(--night)}
.f-ssl{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#8FB0C9}
.f-ssl svg{width:15px;height:15px;color:var(--wa)}

/* (Removed 2026-07-16: the TEMP `#CDSWIDEXC{display:none}` Trustindex-hide
   rule. Its removal trigger — "when the homepage template is rebuilt" — is
   now met: front-page.php replaced the old Goodlayers content that hosted
   the widget, and a live render confirmed #CDSWIDEXC no longer appears.) */


/* ===== .ehm-prose — rich text (blog body + migrated itineraries) ===== */
body.ehm-tpl .ehm-prose{font-size:16.5px;line-height:1.85;color:var(--ink)}
body.ehm-tpl .ehm-prose>p,body.ehm-tpl .ehm-prose>ul,body.ehm-tpl .ehm-prose>ol,body.ehm-tpl .ehm-prose>h2,body.ehm-tpl .ehm-prose>h3{max-width:72ch}
body.ehm-tpl .ehm-prose p{margin:0 0 22px}
body.ehm-tpl .ehm-prose .lead-p{font-size:19px;line-height:1.7;color:var(--deep);font-weight:500;margin-bottom:28px}
body.ehm-tpl .ehm-prose h1{font-family:var(--fd);font-weight:800;font-size:28px;color:var(--deep);letter-spacing:-.01em;margin:44px 0 16px}
body.ehm-tpl .ehm-prose h2{font-family:var(--fd);font-weight:800;font-size:28px;color:var(--deep);letter-spacing:-.01em;margin:44px 0 16px}
body.ehm-tpl .ehm-prose h3{font-family:var(--fd);font-weight:700;font-size:21px;color:var(--deep);margin:32px 0 12px}
body.ehm-tpl .ehm-prose h4{font-family:var(--fd);font-weight:700;font-size:18px;color:var(--deep);margin:26px 0 10px}
body.ehm-tpl .ehm-prose h5{font-family:var(--fd);font-weight:700;font-size:16.5px;color:var(--deep);margin:22px 0 8px}
body.ehm-tpl .ehm-prose h6{font-family:var(--fd);font-weight:700;font-size:15px;color:var(--soft);margin:20px 0 8px}
body.ehm-tpl .ehm-prose a{color:var(--blue);font-weight:600;border-bottom:1px solid rgba(0,117,195,.3);text-decoration:none}
body.ehm-tpl .ehm-prose a:hover{border-bottom-color:var(--blue)}
body.ehm-tpl .ehm-prose ul,body.ehm-tpl .ehm-prose ol{margin:0 0 22px 4px;padding-left:24px;display:flex;flex-direction:column;gap:10px}
body.ehm-tpl .ehm-prose ul{list-style:disc}
body.ehm-tpl .ehm-prose ol{list-style:decimal}
body.ehm-tpl .ehm-prose li{line-height:1.7}
body.ehm-tpl .ehm-prose ul li::marker{color:var(--orange)}
body.ehm-tpl .ehm-prose ol li::marker{color:var(--orange);font-weight:800}
body.ehm-tpl .ehm-prose strong{color:var(--deep);font-weight:700}
body.ehm-tpl .ehm-prose blockquote{border-left:4px solid var(--gold);padding-left:22px;font-style:italic;color:var(--soft);margin:28px 0}
body.ehm-tpl .ehm-prose figure{margin:28px 0}
body.ehm-tpl .ehm-prose figcaption{font-size:13px;color:var(--soft);text-align:center;margin-top:10px;font-weight:500}
/* table (Megz design-system extension) */
body.ehm-tpl .ehm-prose table{width:100%;border-collapse:collapse;margin:0 0 28px;font-size:15px}
body.ehm-tpl .ehm-prose th{background:var(--deep);color:#fff;font-family:var(--fd);font-weight:700;font-size:14px;text-align:left;padding:12px 14px;border:1px solid var(--deep)}
body.ehm-tpl .ehm-prose th[scope="row"]{background:var(--mist);color:var(--deep);border:1px solid var(--line);font-weight:700}
body.ehm-tpl .ehm-prose td{padding:12px 14px;border:1px solid var(--line);line-height:1.6;vertical-align:top}
body.ehm-tpl .ehm-prose tr:nth-child(even) td{background:var(--sand)}
body.ehm-tpl .ehm-prose caption{font-size:13px;color:var(--soft);margin-bottom:8px;text-align:left}

/* ============================================================
 * Post-launch mobile fixes — card grid, nav drawer, header/topbar
 * ============================================================ */

/* Tour-card grid: force ONE column on phones. Delta sheets set
   .list-grid to repeat(2,1fr) at <=1020 AFTER the <=640 1fr rule, so 2-col
   wrongly won on phones. Higher specificity (.traveltour-body) + <=640 wins. */
@media(max-width:640px){.traveltour-body .list-grid{grid-template-columns:1fr}}

/* Burger button + drawer backdrop (.traveltour-body prefix beats the per-page
   delta sheets, which carry a bare `nav.main{display:none}` and load later). */
.traveltour-body .nav-toggle{display:none;width:42px;height:42px;border:0;padding:0;background:var(--mist);color:var(--deep);border-radius:11px;align-items:center;justify-content:center;cursor:pointer;flex:none}
.traveltour-body .nav-toggle svg{width:22px;height:22px}
.nav-backdrop{position:fixed;inset:0;background:rgba(6,35,56,.5);z-index:150;opacity:0;pointer-events:none;transition:opacity .25s}
body.nav-open .nav-backdrop{opacity:1;pointer-events:auto}

@media(max-width:1020px){
  /* the off-canvas drawer sits past the right edge when closed; clip x-overflow
     at the root so it never creates a horizontal scrollbar on mobile. */
  html{overflow-x:hidden}
  .traveltour-body .nav-toggle{display:inline-flex}
  .traveltour-body nav.main{display:block;position:fixed;top:0;right:0;height:100vh;height:100dvh;width:min(86vw,360px);background:#fff;box-shadow:-14px 0 44px rgba(0,0,0,.2);z-index:160;transform:translateX(100%);transition:transform .28s ease;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:78px 14px 30px}
  .traveltour-body.nav-open nav.main{transform:translateX(0)}
  .traveltour-body nav.main>ul.nav-menu{flex-direction:column;gap:0;font-size:16px}
  .traveltour-body nav.main>ul>li{position:relative;border-bottom:1px solid var(--line)}
  .traveltour-body nav.main>ul>li>a{width:100%;padding:15px 8px;justify-content:flex-start}
  .traveltour-body nav.main>ul>li>a::after{display:none}
  .traveltour-body nav.main .nav-caret{margin-left:auto;transition:transform .2s}
  .traveltour-body nav.main>ul>li.open>a .nav-caret{transform:rotate(180deg)}
  .traveltour-body nav.main .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;background:transparent;min-width:0;padding:0 0 6px 14px;max-height:0;overflow:hidden;transition:max-height .3s ease}
  .traveltour-body nav.main>ul>li.open>.sub-menu{max-height:1400px}
  .traveltour-body nav.main .sub-menu a{white-space:normal;padding:10px 10px;font-size:14px}
  .hd-right{gap:8px}
}

/* Header row + topbar on phones */
@media(max-width:760px){
  header.site .wrap{height:64px;gap:12px}
  .logo img{height:38px}
  .search-btn,.traveltour-body .nav-toggle{width:40px;height:40px}
  .topbar .wrap{gap:10px}
  .topbar .grp{gap:12px;font-size:11px;flex:1;justify-content:space-between;flex-wrap:nowrap}
  .topbar .grp span{gap:5px;min-width:0}
  .topbar .grp span a{white-space:nowrap}
  .topbar svg{width:12px;height:12px}
}
@media(max-width:380px){
  .topbar .grp{font-size:10px;gap:8px}
}

/* ---- Mobile fixed bottom CTA bar (Plan a Trip + WhatsApp) ----
   Replaces the header "Plan a Trip" button on small screens; the floating
   WhatsApp bubble is hidden here since WhatsApp lives in the bar. */
.m-cta{display:none}
@media(max-width:900px){
  .traveltour-body .m-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:145;gap:10px;padding:9px 12px;padding-bottom:calc(9px + env(safe-area-inset-bottom));background:rgba(253,249,240,.97);backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -6px 22px rgba(0,0,0,.1)}
  .traveltour-body .m-cta a{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;border-radius:13px;font-weight:800;font-size:15px;line-height:1}
  .traveltour-body .m-cta a svg{width:19px;height:19px;flex:none}
  .traveltour-body .m-cta .mc-plan{background:var(--sunrise);color:#fff}
  .traveltour-body .m-cta .mc-wa{background:#25D366;color:#fff}
  .traveltour-body .wa-float{display:none}
  .traveltour-body .hd-plan{display:none}
  body{padding-bottom:70px}
}

/* ---- Search results page (search.php) ---- */
.ehm-tpl .search-refine{display:flex;gap:10px;max-width:520px;margin:20px auto 0;background:#fff;border-radius:999px;padding:6px 6px 6px 20px;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.ehm-tpl .search-refine input{flex:1;border:0;outline:0;background:none;font-family:var(--fb);font-size:15px;font-weight:600;color:var(--ink);min-width:0}
.ehm-tpl .search-refine button{border:0;cursor:pointer;background:var(--sunrise);color:#fff;font-family:var(--fb);font-weight:700;font-size:14px;border-radius:999px;padding:11px 22px;flex:none}
.ehm-pag{display:flex;gap:8px;justify-content:center;align-items:center;margin:44px 0 0;flex-wrap:wrap}
.ehm-pag .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--deep);font-weight:700;background:#fff;text-decoration:none}
.ehm-pag .page-numbers.current{background:var(--sunrise);color:#fff;border-color:transparent}
.ehm-pag a.page-numbers:hover{background:var(--mist);color:var(--blue)}
.search-empty{max-width:640px;margin:34px auto 0;text-align:center}
.search-empty p{font-size:16px;color:var(--ink);line-height:1.75}
.search-empty .se-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:22px 0}
.search-empty .se-pop{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--soft)}
.search-empty .se-pop a{background:var(--mist);color:var(--blue);border-radius:999px;padding:6px 14px;font-weight:600}
