/* ===================================================================
   Site header and footer (header.php, footer.php), 2026 design.
   Painted border · logo, prayer flags, contact, menu … footer.
   =================================================================== */
.wh-sitehead,.wh-foot,.mobile-sidebar{
  --whc-maroon:#791e30;--whc-maroon-dark:#5a1523;--whc-wine:#3d0f19;--whc-gold:#eebc1d;
  --whc-ink:#221a17;--whc-muted:#6b5a52;--whc-rule:#eadfd2;--whc-cream:#f3e6d8;
  --whc-sans:'Merriweather Sans',system-ui,-apple-system,sans-serif;
  --whc-gutter:clamp(16px,5.5vw,80px);
}
.wh-sitehead *,.wh-foot *{box-sizing:border-box}
.wh-sitehead ul,.wh-foot ul{list-style:none;margin:0;padding:0}
.wh-sitehead li,.wh-foot li{margin:0}
.wh-chrome-wrap{max-width:1440px;margin:0 auto;padding-left:var(--whc-gutter);padding-right:var(--whc-gutter)}
.wh-sitehead :focus-visible,.wh-foot :focus-visible{outline:3px solid var(--whc-maroon);outline-offset:2px}
.wh-foot :focus-visible{outline-color:var(--whc-gold)}

.wh-skip{position:absolute;left:-9999px;top:8px;z-index:100000;background:#fff;color:var(--whc-maroon,#791e30);padding:10px 16px;font-weight:700}
.wh-skip:focus{left:8px}

/* painted border (the eaves); its shadow falls on the bar below */
.wh-sitehead{position:relative;z-index:50}
.wh-border{height:45px;background:url('../img/site/painted-border.png') repeat-x center/auto 100%;position:relative;z-index:3;
  box-shadow:0 5px 8px rgba(0,0,0,.45),0 2px 2px rgba(0,0,0,.35)}

/* main bar: sky to white, hills along the bottom, flags from the eaves */
.wh-mainbar{position:relative;z-index:2;height:112px;background:linear-gradient(180deg,#edf3f9 0,#f7fafc 34px,#fff 56px);border-bottom:1px solid var(--whc-rule);font-family:var(--whc-sans)}
.wh-hills{position:absolute;left:0;bottom:0;width:100%;height:58px;display:block;pointer-events:none}
.wh-mainbar__inner{position:relative;height:100%}
/* three sets of five flags; narrower screens show two, then one (whole sets only) */
.wh-flags{position:absolute;left:300px;top:0;width:740px;height:50px;overflow:hidden;pointer-events:none;opacity:.92}
.wh-flags img{display:block;width:740px;max-width:none;height:50px}
.wh-logo{position:absolute;left:var(--whc-gutter);top:12px;z-index:2;line-height:0}
.wh-logo a{display:flex;align-items:center}
.wh-logo img{height:88px;width:auto;display:block}

/* contact, top right */
.wh-contact{position:absolute;right:var(--whc-gutter);top:10px;z-index:2;display:flex;align-items:center;gap:14px;font-size:13px}
.wh-sitehead a.wh-contact__phone{display:flex;align-items:center;gap:6px;color:var(--whc-wine);font-weight:600;text-decoration:none;white-space:nowrap}
.wh-sitehead a.wh-contact__phone svg{color:var(--whc-maroon);flex-shrink:0}
.wh-sitehead a.wh-contact__phone:hover{color:var(--whc-maroon-dark);text-decoration:underline}
.wh-whatsapp{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#25d366;color:#fff!important;flex-shrink:0}
.wh-whatsapp:hover{background:#1ebe5b}
.wh-contact .wh-contact__wa{width:26px;height:26px;background:#1f9e55}
.wh-contact .wh-contact__wa:hover{background:#198a49}

/* menu and button, bottom right */
.wh-mainbar__nav{position:absolute;right:var(--whc-gutter);bottom:8px;z-index:4;display:flex;align-items:center;gap:36px}
.wh-mainnav__list{display:flex;align-items:center;gap:30px}
.wh-mainbar .wh-mainnav__list{gap:32px}
.wh-mainnav__item{position:relative}
.wh-mainnav__top{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:10px 0;margin:0;font-family:inherit;
  font-size:15px;font-weight:700;color:#140d0b!important;cursor:pointer;text-decoration:none;line-height:1.3;text-transform:none;letter-spacing:0}
.wh-mainbar .wh-mainnav__top{font-size:16px;color:var(--whc-ink)!important}
.wh-mainnav__top svg{color:var(--whc-maroon);transition:transform .2s ease}
.wh-mainnav__top:hover,.wh-mainbar .wh-mainnav__top:hover{color:var(--whc-maroon)!important;text-decoration:none}
.wh-mainnav__item.is-open .wh-mainnav__top svg{transform:rotate(180deg)}
.wh-mainnav__menu{position:absolute;top:100%;left:-20px;width:280px;background:#fff;border:1px solid var(--whc-rule);border-top:3px solid var(--whc-maroon);
  border-radius:0 0 6px 6px;box-shadow:0 12px 28px rgba(34,26,23,.14);padding:8px 0;display:none;z-index:60}
.wh-mainbar .wh-mainnav__item:last-child .wh-mainnav__menu{left:auto;right:-20px}
.wh-mainnav__item.is-open .wh-mainnav__menu{display:block}
@media (hover:hover){
  .wh-mainnav__item.has-menu:hover .wh-mainnav__menu{display:block}
}
.wh-mainnav__menu a{display:flex;flex-direction:column;gap:2px;padding:12px 20px;color:var(--whc-ink);text-decoration:none}
.wh-mainnav__menu a:hover,.wh-mainnav__menu a:focus-visible{background:#faf6ef;color:var(--whc-ink)}
.wh-mainnav__name{font-size:15px;font-weight:700}
.wh-mainnav__line{font-size:12px;font-weight:400;color:var(--whc-muted);line-height:1.4}
a.wh-plan{background:var(--whc-maroon);color:#fff;padding:12px 20px;border-radius:4px;font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
a.wh-plan:hover{background:var(--whc-maroon-dark);color:#fff;text-decoration:none}
a.wh-plan--pill{gap:8px;padding:13px 22px;border-radius:999px;box-shadow:0 4px 12px rgba(121,30,48,.28)}
.wh-burger{display:none;width:44px;height:44px;border:0;border-radius:8px;background:transparent;cursor:pointer;padding:14px 9px;flex-direction:column;justify-content:space-between}
.wh-burger span{display:block;height:2px;background:var(--whc-ink);border-radius:2px}

/* slim bar once the page's opening section has scrolled away (site-chrome.js) */
.wh-stickybar{position:fixed;left:0;right:0;top:0;z-index:999;padding-top:env(safe-area-inset-top,0px);background:#fff;border-bottom:3px solid var(--whc-maroon);
  box-shadow:0 6px 18px rgba(34,26,23,.16);transform:translateY(-110%);transition:transform .28s ease;font-family:var(--whc-sans);
  --whc-maroon:#791e30;--whc-maroon-dark:#5a1523;--whc-ink:#221a17;--whc-muted:#6b5a52;--whc-rule:#eadfd2;--whc-gutter:clamp(16px,5.5vw,80px)}
.wh-stickybar.is-shown{transform:none}
/* trip pages on phones and tablets: tucked away while scrolling down (site-chrome.js) */
.wh-stickybar.is-shown.is-tucked{transform:translateY(-110%);box-shadow:none}
.admin-bar .wh-stickybar{top:0}
.wh-stickybar *{box-sizing:border-box}
.wh-stickybar ul{list-style:none;margin:0;padding:0}
.wh-stickybar__inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.wh-stickybar__logo{line-height:0;flex-shrink:0}
.wh-stickybar__logo img{height:50px;width:auto;display:block}
.wh-stickybar__actions{display:flex;align-items:center;gap:12px}
.wh-stickybar .wh-whatsapp{width:36px;height:36px}
.wh-stickybar .wh-burger{background:transparent}
.wh-floatcta{display:none}
/* Page background of every page: the home page's cream (home.css --hp-cream).
   Each page design's own stylesheet reads it for its page wrapper; cards stay white. */
:root{--wh-page-bg:#faf6ef}
body{background:var(--wh-page-bg)}

/* While the slim bar shows, page parts that stick to the top sit below it
   (site-chrome.js sets --wh-head-offset to the bar's height, else 0). */
html .subnav{top:var(--wh-head-offset,0px)}
html .rail{top:calc(15px + var(--wh-head-offset,0px))}
html .sidebar{top:calc(24px + var(--wh-head-offset,0px))}
html .whp-hero > div:nth-child(2),html .whp-mapbox,html .whp-factbox,html .whs-glance,html .whs-directory .side{top:calc(16px + var(--wh-head-offset,0px))}
html .whfp-sticky{top:calc(20px + var(--wh-head-offset,0px))}
html{--wh-faq-sticky-top:var(--wh-head-offset,0px)}
.subnav,.rail,.sidebar,.whp-mapbox,.whp-factbox,.whs-glance,.whfp-sticky,.wh-faq__tabs{transition:top .28s ease}

/* footer */
/* The site's heading font, every weight, for every page (headings: Miller Display Bold; text: Merriweather Sans). */
@font-face{font-family:"Miller Display";src:url('../fonts/MillerDisplay-Roman.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Miller Display";src:url('../fonts/MillerDisplay-Semibold.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Miller Display";src:url('../fonts/MillerDisplay-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Miller Display";src:url('../fonts/MillerDisplay-SemiboldItal.woff') format('woff');font-weight:600;font-style:italic;font-display:swap}
.wh-foot{font-family:var(--whc-sans);margin-top:0;--whc-serif:"Miller Display",Georgia,"Times New Roman",serif}
.wh-border--foot{height:20px;background:url('../img/site/painted-border-foot.svg') no-repeat center/100% 100%}
.wh-foot__body{background:var(--whc-ink);color:#d9ccbd}

/* brand line */
.wh-foot__brandrow{border-bottom:1px solid #3d332f}
.wh-foot__brand{padding-top:44px;padding-bottom:36px;display:flex;align-items:center;gap:36px}
.wh-foot__logo{width:112px;height:112px;flex-shrink:0;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 0 0 5px var(--whc-wine),0 0 0 6px #6b4a3a}
.wh-foot__logo img{width:100px;height:auto;display:block}
.wh-foot__intro{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.wh-foot__kicker{display:flex;align-items:center;gap:20px}
.wh-foot__kicker span{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--whc-gold);font-weight:700}
.wh-foot__flags{display:block;width:250px;height:50px;max-width:none;margin-top:-14px;margin-bottom:-2px;opacity:.95}
.wh-foot .wh-foot__title{font-family:var(--whc-serif);font-weight:400;margin:0;font-size:30px;line-height:1.2;color:#fff;letter-spacing:0;text-transform:none}
.wh-foot__intro p{font-size:14px;line-height:1.6;margin:0;color:#d9ccbd}
.wh-foot__intro strong{color:#fff}
.wh-foot__talk{width:388px;flex-shrink:0;display:flex;flex-direction:column;gap:12px}
.wh-foot__talkrow{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.wh-foot__phone{display:flex;flex-direction:column;gap:2px}
.wh-foot__phone a{display:flex;align-items:center;gap:8px;color:#fff;font-weight:700;font-size:17px;text-decoration:none;white-space:nowrap}
.wh-foot__phone a svg{color:var(--whc-gold)}
.wh-foot__phone a:hover{color:#fff;text-decoration:underline}
.wh-foot__phone span{font-size:12px;color:#9c8d7f;padding-left:28px}
a.wh-foot__wa{display:inline-flex;align-items:center;gap:8px;background:#1f9e55;color:#fff;padding:11px 18px;border-radius:999px;font-weight:700;font-size:14px;text-decoration:none;min-height:44px}
a.wh-foot__wa:hover{background:#198a49;color:#fff;text-decoration:none}

/* links and offices */
.wh-foot__grid{padding:36px 0 14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.5fr);gap:40px}
.wh-foot .wh-foot__h{display:block;font-family:var(--whc-sans);font-size:12px;font-weight:700;color:var(--whc-gold);margin:0 0 14px;letter-spacing:2px;text-transform:uppercase;line-height:1.4}
.wh-foot__talk .wh-foot__h{margin:0}
.wh-foot .wh-foot__col{display:block;min-width:0}
.wh-foot__col ul{display:flex;flex-direction:column;gap:10px}
.wh-foot__col li{font-size:14px;line-height:1.5}
.wh-foot__col a{font-size:14px;line-height:1.5;color:#d9ccbd;text-decoration:none}
.wh-foot__col a:hover{color:#fff;text-decoration:underline}
.wh-foot__city{color:#fff}
.wh-foot__country{color:#9c8d7f}

/* bottom bar */
.wh-foot__base{border-top:1px solid #3d332f;padding:16px 0 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:13px;color:#9c8d7f}
.wh-foot__base a{color:#9c8d7f;text-decoration:none}
.wh-foot__base a:hover{color:#fff;text-decoration:underline}
.wh-foot__social{display:flex;align-items:center;gap:10px}
.wh-foot .wh-foot__social a{width:40px;height:40px;border-radius:50%;border:1px solid #8a7a6c;background:#2e2421;display:flex;align-items:center;justify-content:center;color:#fff}
.wh-foot .wh-foot__social a:hover{border-color:var(--whc-gold);color:var(--whc-gold)}

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width:1399px){
  .wh-flags{width:494px}
}
@media (max-width:1280px){
  .wh-mainbar .wh-mainnav__list{gap:24px}
  .wh-mainbar__nav{gap:24px}
  .wh-mainbar .wh-mainnav__top{font-size:15px}
  .wh-foot__talk{width:320px}
}
@media (max-width:1180px){
  .wh-mainbar .wh-mainnav__list{gap:18px}
  .wh-mainbar__nav{gap:18px}
  a.wh-plan--pill{padding:12px 18px}
  .wh-logo img{height:80px}
  .wh-logo{top:16px}
  .wh-flags{left:260px}
  .wh-foot__brand{flex-wrap:wrap}
  .wh-foot__intro{flex:1 1 calc(100% - 148px)}
  .wh-foot__talk{width:auto;flex:1 1 100%;padding-left:148px}
  .wh-foot__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 40px}
  .wh-foot__offices{grid-column:1/-1}
  .wh-foot__offices ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 40px}
}
@media (max-width:1140px){
  .wh-flags{width:247px}
}
@media (max-width:991px){
  .wh-mainbar__nav,.wh-stickybar .wh-mainnav{display:none}
  .wh-burger{display:flex}
  .wh-mainbar{height:84px}
  .wh-hills{height:44px}
  .wh-logo{top:50%;transform:translateY(-50%)}
  .wh-logo img{height:62px}
  .wh-contact{top:50%;transform:translateY(-50%);gap:8px}
  .wh-contact .wh-contact__wa{width:36px;height:36px}
  .wh-contact .wh-contact__wa svg{width:18px;height:18px}
  .wh-border{height:30px}
  .wh-flags{left:calc(var(--whc-gutter) + 136px)}
  .wh-stickybar .wh-plan{display:none}
  .wh-stickybar__inner{height:60px}
  .wh-stickybar__logo img{height:44px}
  .wh-floatcta{display:flex;position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));height:52px;border-radius:6px;
    background:#791e30;color:#fff!important;align-items:center;justify-content:center;font-family:'Merriweather Sans',system-ui,sans-serif;font-weight:700;font-size:16px;
    text-decoration:none;box-shadow:0 6px 16px rgba(34,26,23,.25);z-index:998;transform:translateY(160%);transition:transform .28s ease}
  .wh-floatcta.is-shown{transform:none}
  /* sit above the fixed "Trip(s) on shortlist" bar (footer.php), 44px tall on phones */
  body:has(.shortlist-btn) .wh-floatcta{bottom:calc(56px + env(safe-area-inset-bottom,0px))}
  .wh-foot__brand{padding-top:40px;padding-bottom:32px;gap:24px 28px}
  .wh-foot__intro{flex-basis:calc(100% - 140px)}
  .wh-foot__talk{padding-left:140px}
  .wh-foot .wh-foot__title{font-size:26px}
  .wh-foot__offices ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  /* the number becomes a call button; WhatsApp and the menu button stay */
  .wh-contact__phone span{display:none}
  .wh-sitehead a.wh-contact__phone{width:36px;height:36px;justify-content:center;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px var(--whc-rule)}
  .wh-sitehead a.wh-contact__phone svg{width:17px;height:17px}
}
@media (max-width:767px){
  .wh-foot__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
}
@media (max-width:640px){
  .wh-mainbar{height:76px}
  .wh-logo img{height:54px}
  .wh-flags{left:calc(var(--whc-gutter) + 112px)}
  .wh-foot__brand{flex-direction:column;align-items:flex-start;gap:20px;padding-top:36px;padding-bottom:28px}
  .wh-foot__logo{width:96px;height:96px}
  .wh-foot__logo img{width:86px}
  .wh-foot__intro,.wh-foot__talk{flex-basis:auto;width:100%;padding-left:0}
  .wh-foot .wh-foot__title{font-size:24px}
  .wh-foot__kicker{gap:14px}
  .wh-foot__flags{width:200px;height:40px;margin-top:-10px}
  .wh-foot__grid{padding-top:32px}
  .wh-foot__offices ul{grid-template-columns:1fr}
  .wh-foot__base{flex-direction:column-reverse;align-items:flex-start;padding-bottom:28px}
  .wh-foot .wh-foot__social a{width:44px;height:44px}
}
@media (max-width:560px){
  .wh-flags{display:none}
}
@media (max-width:782px){
  .admin-bar .wh-stickybar{top:0}
}
@media (prefers-reduced-motion:reduce){
  .wh-stickybar,.wh-floatcta{transition:none}
}
@media print{
  .wh-border,.wh-flags,.wh-hills,.wh-contact,.wh-mainbar__nav,.wh-foot,.wh-stickybar,.wh-floatcta{display:none}
}

/* ---------------------------------------------------------------------
   Older page templates on small screens: nothing wider than the screen
   (the page must never scroll sideways). The dist/ CSS is generated, so
   these overrides live here, where every page loads them.
   --------------------------------------------------------------------- */
@media (max-width:1050px){
  /* page banner title (Small Group Journeys…): no 100px side padding or 75px first line */
  .banner-contents>div>h1{font-size:40px;padding:0 20px 14px;max-width:100%;overflow-wrap:anywhere}
  .banner-contents div::first-line{font-size:inherit}
}
@media (max-width:600px){
  /* TripAdvisor rating widget (reviews pages) is a fixed 468px */
  .widSSP,.widSSP .widSSPClickWrap,.widSSP .widSSPData,.widSSP .widSSPBranding{max-width:100%!important;box-sizing:border-box}
  /* departure dates pop-out on trip cards: out of the layout until opened
     (hidden, it still widened the page) */
  .quick-dates{display:none}
  .packageDates:hover .quick-dates,.packageDates:focus-within .quick-dates{display:block}
  /* sitemap: nested page lists in one column with a small indent */
  .site-map__list--item ul{grid-template-columns:minmax(0,1fr)}
  .site-map__list--item ul ul{padding-left:14px}
  .site-map__list--item ul li a{overflow-wrap:anywhere}
}

/* ---------------------------------------------------------------------
   "N Trip(s) on shortlist" button (footer.php), on every page. Its old
   styles live in dist/style.css, which some templates don't load and
   which hides it on single posts; these stand on their own.
   Desktop: a vertical tab on the left edge. Phones: a bar along the bottom.
--------------------------------------------------------------------- */
.shortlist-btn{display:block!important;position:fixed;left:0;top:50%;bottom:auto;width:auto;z-index:999;
  transform:translateY(-50%) rotate(180deg);writing-mode:vertical-lr;margin:0}
.shortlist-btn>a,.shortlist-btn>a.wh-btn{display:block;width:auto;margin:0;padding:15px 12px;background:#791e30;border:0;border-radius:4px 0 0 4px;
  color:#f1f1f1!important;font-family:'Open Sans','Merriweather Sans',system-ui,sans-serif;font-size:14px;font-weight:700;line-height:1;
  letter-spacing:.02em;text-transform:uppercase;text-decoration:none!important;text-align:center;box-shadow:0 2px 8px rgba(34,26,23,.18)}
.shortlist-btn>a:hover{background:#712822;color:#fff!important}
.shortlist-btn>a:focus-visible{outline:3px solid #eebc1d;outline-offset:2px}
.shortlist-btn .shortlist-num{color:inherit}
@media (max-width:768px){
  .shortlist-btn{top:auto;bottom:0;left:0;right:0;width:100%;transform:none;writing-mode:horizontal-tb}
  .shortlist-btn>a,.shortlist-btn>a.wh-btn{width:100%;border-radius:0;padding:15px 16px calc(15px + env(safe-area-inset-bottom,0px))}
  /* trip pages: their price/booking bar sits on top of this 44px bar */
  body:has(.shortlist-btn) .mobile-bar{bottom:calc(44px + env(safe-area-inset-bottom,0px));padding-bottom:10px}
}
@media print{.shortlist-btn{display:none!important}}
