
/* BUNDLED FROM serengeti-full-image-v474.css */
/* V474 — 3 Days Serengeti cheetah hero full-image treatment.
   Scope: opened 3 Days Serengeti package only (homepage detail + dedicated SEO page).
   Keeps the existing hero frame dimensions while showing the complete source photo. */
.serengeti-full-image-v474{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#062a47;
}
.serengeti-full-image-v474::before{
  content:"";
  position:absolute;
  inset:-28px;
  z-index:0;
  background-image:url("assets/tanzania-safari-galleries/serengeti-v262/serengeti-gallery-05.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:blur(20px) brightness(.48) saturate(.9);
  transform:scale(1.08);
  pointer-events:none;
}
.serengeti-full-image-v474>img{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
#tz3serengeti .tz-package-hero.serengeti-full-image-v474::after{
  z-index:2!important;
  background:linear-gradient(0deg,rgba(2,25,43,.90),rgba(2,25,43,.10) 74%)!important;
}
#tz3serengeti .tz-package-hero.serengeti-full-image-v474 .tz-package-hero-copy{
  z-index:3!important;
}
.seo-hero.serengeti-full-image-v474::after{
  z-index:2!important;
  background:linear-gradient(90deg,rgba(3,29,48,.92),rgba(3,29,48,.58) 55%,rgba(3,29,48,.20))!important;
}
.seo-hero.serengeti-full-image-v474 .seo-hero-copy{
  z-index:3!important;
}


/* BUNDLED FROM tanzania-zanzibar-single-hero-v476.css */
/* V476 — Tanzania & Zanzibar package heroes: ONE bright background image only.
   No contained foreground duplicate. Existing hero dimensions/layout remain unchanged. */
#tzZanzibar4Tab .tzbz-photo-hero,
#tzZanzibar5Tab .tzbz-photo-hero,
#tzZanzibar6Tab .tzbz-photo-hero,
#tzZanzibar7Tab .tzbz-photo-hero,
#tzZanzibar8Tab .tzbz-photo-hero,
#tzZanzibar9Tab .tzbz-photo-hero,
#tzZanzibar10Tab .tzbz-photo-hero,
#tzZanzibar11Tab .tzbz-photo-hero{
  background-image:var(--tzbz-hero-image)!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

/* Keep the photograph itself bright. Darken only the lower text zone, not the whole hero. */
#tzZanzibar4Tab .tzbz-photo-hero::before,
#tzZanzibar5Tab .tzbz-photo-hero::before,
#tzZanzibar6Tab .tzbz-photo-hero::before,
#tzZanzibar7Tab .tzbz-photo-hero::before,
#tzZanzibar8Tab .tzbz-photo-hero::before,
#tzZanzibar9Tab .tzbz-photo-hero::before,
#tzZanzibar10Tab .tzbz-photo-hero::before,
#tzZanzibar11Tab .tzbz-photo-hero::before{
  content:""!important;
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;top:auto!important;
  height:54%!important;
  z-index:0!important;
  background:linear-gradient(0deg,rgba(2,25,43,.70) 0%,rgba(2,25,43,.38) 42%,rgba(2,25,43,.10) 74%,rgba(2,25,43,0) 100%)!important;
  pointer-events:none!important;
}
.tzbz-photo-hero>.eyebrow,.tzbz-photo-hero>h2,.tzbz-photo-hero>p{position:relative;z-index:1!important;}
.tzbz-photo-hero>h2{ text-shadow:0 2px 10px rgba(0,0,0,.42)!important; }
.tzbz-photo-hero>p{ text-shadow:0 2px 8px rgba(0,0,0,.44)!important; }

/* Dedicated Tanzania + Zanzibar package pages: same single bright image treatment. */
.seo-hero[data-tzbz-full-hero]{
  background-image:var(--tzbz-seo-hero)!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-color:#062a47!important;
}
.seo-hero[data-tzbz-full-hero]::before{content:none!important;display:none!important;}
.seo-hero[data-tzbz-full-hero]::after{
  z-index:1!important;
  background:linear-gradient(90deg,rgba(3,29,48,.72) 0%,rgba(3,29,48,.48) 36%,rgba(3,29,48,.17) 61%,rgba(3,29,48,0) 78%)!important;
}
.seo-hero[data-tzbz-full-hero]>.seo-hero-copy{z-index:2!important;}
.seo-hero[data-tzbz-full-hero] h1,
.seo-hero[data-tzbz-full-hero] p{ text-shadow:0 2px 10px rgba(0,0,0,.42); }

@media(max-width:620px){
  .seo-hero[data-tzbz-full-hero]{background-position:center!important;}
  .seo-hero[data-tzbz-full-hero]::after{
    background:linear-gradient(0deg,rgba(3,29,48,.68) 0%,rgba(3,29,48,.38) 48%,rgba(3,29,48,.08) 78%,rgba(3,29,48,0) 100%)!important;
  }
}


/* BUNDLED FROM global-back-button-v478.css */
/* V478 — Global Back Button Authority
   Canonical size restored to the original Mo Tours blue Back button proportions.
   Existing click/close/navigation handlers remain untouched. */
:root{
  --mts-back-v478-navy:#062a47;
  --mts-back-v478-orange:#f56b16;
  --mts-back-v478-white:#ffffff;
}

button.mts-back-v478,
a.mts-back-v478{
  -webkit-appearance:none!important;
  appearance:none!important;
  box-sizing:border-box!important;
  width:auto!important;
  min-width:0!important;
  max-width:max-content!important;
  height:auto!important;
  min-height:40px!important;
  padding:9px 16px!important;
  border:2px solid var(--mts-back-v478-orange)!important;
  border-radius:999px!important;
  background:var(--mts-back-v478-navy)!important;
  color:var(--mts-back-v478-white)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font:800 13px/1.2 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-shadow:0 6px 18px rgba(6,42,71,.12)!important;
  opacity:1!important;
  visibility:visible!important;
  float:none!important;
  right:auto!important;
}
button.mts-back-v478:hover,
button.mts-back-v478:focus-visible,
a.mts-back-v478:hover,
a.mts-back-v478:focus-visible{
  background:var(--mts-back-v478-orange)!important;
  color:var(--mts-back-v478-white)!important;
  outline:none!important;
}
.mts-back-v478-arrow,
.mts-back-v478-label{
  display:inline!important;
  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
}

/* Keep the approved left placement while using the original compact size. */
.booking-modal-panel > .mts-back-v478,
.content-tab-panel > .mts-back-v478,
.tour-modal-panel > .mts-back-v478,
.site-modal-panel > .mts-back-v478,
.nyerere-panel > .mts-back-v478,
.tz-package-panel > .mts-back-v478{
  position:sticky!important;
  top:12px!important;
  left:auto!important;
  margin:12px 0 -52px 14px!important;
  z-index:4900!important;
}

.v84-full-page > .booking-modal-panel > .mts-back-v478,
.v84-full-page > .content-tab-panel > .mts-back-v478,
.v84-full-page > .tour-modal-panel > .mts-back-v478,
.v84-full-page > .site-modal-panel > .mts-back-v478,
.v84-full-page > .nyerere-panel > .mts-back-v478,
.v84-full-page > .tz-package-panel > .mts-back-v478{
  top:calc(var(--v435-header-offset,78px) + 10px)!important;
}
#v385LeisureActivityDetail.v84-full-page .mts-back-v478{
  position:sticky!important;
  top:calc(var(--v437-leisure-header-height,78px) + 10px)!important;
  left:auto!important;
  margin:10px 0 -56px 14px!important;
  z-index:12195!important;
}
#v386HotelDetail.v84-full-page .mts-back-v478{
  position:sticky!important;
  top:calc(var(--v439-accommodation-header-height,78px) + 10px)!important;
  left:auto!important;
  margin:10px 0 -56px 14px!important;
  z-index:12220!important;
}

.v350-booking-top > .mts-back-v478,
.v351-transfer-top > .mts-back-v478,
.v352-leisure-top > .mts-back-v478,
.v353-day-top > .mts-back-v478,
.v356-turtle-top > .mts-back-v478,
.v357-booking-navigator-top > .mts-back-v478,
.v402-marine-top > .mts-back-v478,
.policy-topbar > .mts-back-v478{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  margin:0!important;
  align-self:center!important;
  flex:0 0 auto!important;
}

a.seo-global-back-v436.mts-back-v478,
a.seo-zanzibar-back.mts-back-v478{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  margin:0 auto 0 0!important;
  vertical-align:middle!important;
}
.seo-zanzibar-back-wrap{display:flex!important;justify-content:flex-start!important;align-items:center!important}
.seo-breadcrumb.v436-has-back{justify-content:flex-start!important}

@media(max-width:640px){
  button.mts-back-v478,
  a.mts-back-v478{
    min-height:38px!important;
    padding:8px 14px!important;
    font-size:12px!important;
  }
  .booking-modal-panel > .mts-back-v478,
  .content-tab-panel > .mts-back-v478,
  .tour-modal-panel > .mts-back-v478,
  .site-modal-panel > .mts-back-v478,
  .nyerere-panel > .mts-back-v478,
  .tz-package-panel > .mts-back-v478{
    margin:9px 0 -50px 10px!important;
  }
  .v84-full-page > .booking-modal-panel > .mts-back-v478,
  .v84-full-page > .content-tab-panel > .mts-back-v478,
  .v84-full-page > .tour-modal-panel > .mts-back-v478,
  .v84-full-page > .site-modal-panel > .mts-back-v478,
  .v84-full-page > .nyerere-panel > .mts-back-v478,
  .v84-full-page > .tz-package-panel > .mts-back-v478{
    top:calc(var(--v435-header-offset,68px) + 8px)!important;
  }
  #v385LeisureActivityDetail.v84-full-page .mts-back-v478{
    top:calc(var(--v437-leisure-header-height,68px) + 8px)!important;
    margin:8px 0 -52px 10px!important;
  }
  #v386HotelDetail.v84-full-page .mts-back-v478{
    top:calc(var(--v439-accommodation-header-height,68px) + 8px)!important;
    margin:8px 0 -52px 10px!important;
  }
}


/* BUNDLED FROM scrollbar-header-clearance-v497.css?v=513 */
/* V497 — Keep internal full-page native scrollbars fully visible below the live sticky site header.
   The live header remains the single global header; only the scroll viewport origin changes. */
.v84-full-page.v483-live-header-only{
  inset:auto 0 0 0!important;
  top:var(--v483-live-header-height,76px)!important;
  bottom:0!important;
  height:auto!important;
  max-height:none!important;
  padding-top:0!important;
}

/* Preserve a clearly grab-able native scrollbar for mouse/trackpad users. */
.v84-full-page.v483-live-header-only::-webkit-scrollbar{
  width:14px;
  height:14px;
}
.v84-full-page.v483-live-header-only::-webkit-scrollbar-track{
  background:#dfe7ec;
}
.v84-full-page.v483-live-header-only::-webkit-scrollbar-thumb{
  background:#f56b16;
  border:3px solid #dfe7ec;
  border-radius:999px;
  min-height:52px;
}
.v84-full-page.v483-live-header-only::-webkit-scrollbar-thumb:hover{
  background:#d9560c;
}
@media(max-width:760px){
  .v84-full-page.v483-live-header-only::-webkit-scrollbar{
    width:10px;
    height:10px;
  }
}

/* V513 mobile full-page chrome: keep the ONE original header pinned to the
   viewport, even when the homepage was already scrolled before opening a page.
   A sticky header inside a scroll-locked mobile body could scroll offscreen,
   leaving a viewport-high hole showing the homepage behind the detail page. */
@media(max-width:860px){
body.v84-page-open > header.site-header,
body:has(> .v84-full-page.is-open) > header.site-header{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:auto!important;
  left:0!important;
  width:100%!important;
  z-index:10050!important;
}
/* Lock the underlying document on touch devices. The .v84 view itself remains
   the only scrollable page, so its Back, price and booking sections stay usable. */
html:has(body.v84-page-open),
html:has(body > .v84-full-page.is-open){
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.v84-page-open,
body:has(> .v84-full-page.is-open){
  overflow:hidden!important;
  overscroll-behavior:none!important;
}

}
/* V513: The shared Back pill must occupy a clean, predictable toolbar row
   above hero content on narrow screens. Previous negative margins and a doubled
   sticky header offset placed it over titles in Safari/details pages. */
@media(max-width:860px){
  .v84-full-page.v483-live-header-only > .tour-modal-panel > .mts-back-v478,
  .v84-full-page.v483-live-header-only > .content-tab-panel > .mts-back-v478,
  .v84-full-page.v483-live-header-only > .booking-modal-panel > .mts-back-v478,
  .v84-full-page.v483-live-header-only > .site-modal-panel > .mts-back-v478,
  .v84-full-page.v483-live-header-only > .nyerere-panel > .mts-back-v478,
  .v84-full-page.v483-live-header-only > .selous-package-panel > .mts-back-v478,
  .v84-full-page.v483-live-header-only > .tz-package-panel > .mts-back-v478{
    position:sticky!important;
    top:10px!important;
    left:auto!important;
    float:none!important;
    display:inline-flex!important;
    margin:9px 12px 10px!important;
    z-index:4900!important;
    vertical-align:top!important;
  }
}
/* V513: outrank older ID-targeted Back-button sticky offsets; the scrollport
   already starts BELOW the live global header, so adding its height again is
   incorrect on mobile. Prevent safari/tour Back from covering hero headings. */
@media(max-width:860px){
  #tourDetailsModal.v84-full-page.v483-live-header-only > .tour-modal-panel > .tour-modal-close,
  #sunsetModal.v84-full-page.v483-live-header-only > .tour-modal-panel > .tour-modal-close,
  #mikumiModal.v84-full-page.v483-live-header-only > .tour-modal-panel > .tour-modal-close,
  #nyerereModal.v84-full-page.v483-live-header-only > .nyerere-panel > .nyerere-close,
  #tzSafarisTab.v84-full-page.v483-live-header-only > .content-tab-panel > .content-tab-close,
  .content-tab-modal.v84-full-page.v483-live-header-only > .content-tab-panel > .content-tab-close:not(.tz-safari-package-back),
  .tz-package-modal.v84-full-page.v483-live-header-only > .tz-package-panel > .content-tab-close{
    top:10px!important;
    margin:9px 12px 10px!important;
  }
}
/* V513: Terms, Privacy and Cancellation hero headings are nested <header>s.
   These must not inherit the global site's 76px sticky flex-bar styling. */
.policy-page header.policy-hero{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  height:auto!important;
  min-height:0!important;
  width:100%!important;
  z-index:auto!important;
  overflow:visible!important;
}


/* BUNDLED FROM site-translation-v515.css?v=515 */
/* Global language selector for physical SEO pages; preserve homepage selector geometry. */
.v515-lang-wrap{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:10px}
.v515-lang-select{appearance:auto;max-width:142px;min-width:94px;min-height:34px;padding:4px 8px;background:#fff;color:#082f43;border:1px solid #d4dfe4;border-radius:8px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer}
.v515-lang-select:focus-visible{outline:3px solid #f56b16;outline-offset:2px}
.v515-lang-floating{position:fixed;top:72px;right:12px;z-index:990;display:flex;background:#fff;padding:5px;border:1px solid #dbe5ea;border-radius:10px;box-shadow:0 3px 12px #092f4233}
.v515-translation-notice{position:fixed;right:12px;bottom:18px;z-index:99998;box-sizing:border-box;max-width:min(400px,calc(100vw - 24px));background:#082d42;color:#fff;border-radius:12px;padding:12px 16px;font:600 13px/1.45 Arial,sans-serif;box-shadow:0 10px 32px #092d4250;pointer-events:none}
.v515-translation-notice[data-type="error"]{background:#7e251c}
.v515-translation-notice[data-type="success"]{background:#11634a}
.v515-translation-notice[hidden]{display:none}
@media(max-width:640px){.v515-lang-wrap{margin-inline-start:5px}.seo-site-header .v515-lang-wrap{margin:8px 6px}.v515-lang-select{max-width:115px;min-width:80px;font-size:12px}.v515-lang-floating{top:62px}}


/* BUNDLED FROM payment-options-v524.css?v=532 */
/* V532 — compact payment options, preserve existing V524 semantic markup and SVG logos.
   Desktop: more balanced panel. Mobile: four brand logos in ONE row (no cropping).
   Scoped to homepage payment panel and associated social block alignment only. */
.site-footer .footer-middle{
  grid-template-columns:minmax(0,1fr) !important;
  gap:24px !important;
}
.payment-options-v524{
  width:100%; min-width:0; max-width:1040px;
  margin:0 auto !important; padding:0 !important;
  color:#fff; background:transparent !important;
  text-align:center;
}
.site-footer .footer-middle .payment-options-v524 .payment-title-v524{
  display:flex;align-items:center;justify-content:center;
  gap:clamp(10px,1.35vw,18px);
  margin:0 0 -0.48em !important;
  color:#fff !important;
  font:800 clamp(26px,3vw,44px)/1.12 Arial,Helvetica,sans-serif !important;
  letter-spacing:.2px;white-space:nowrap;
  position:relative;z-index:1;
}
.payment-options-v524 .payment-title-v524:before,
.payment-options-v524 .payment-title-v524:after{
  content:"";display:block;height:3px;min-width:9px;
  background:#fff;flex:1 1 auto;
}
.payment-options-v524 .payment-logos-v524{
  width:100%;border:3px solid #fff;border-top:0;
  display:grid;grid-template-columns:1.12fr 1.25fr .89fr 1.8fr;
  gap:clamp(10px,1.8vw,22px);
  padding:clamp(30px,3vw,44px) clamp(16px,3.1vw,42px) clamp(19px,2vw,27px);
  align-items:center;justify-items:center;
  margin:0;box-sizing:border-box;
  background:transparent !important;
}
.payment-options-v524 .payment-brand-v524{
  width:100%;max-width:100%;min-width:0;display:flex;
  align-items:center;justify-content:center;
  background:none !important;border:0 !important;
  padding:0 !important;box-shadow:none !important;
}
.payment-options-v524 .payment-brand-v524 img{
  display:block;width:100%;height:auto;
  max-width:100%;max-height:132px;
  object-fit:contain;object-position:center;
  background:transparent !important;
}
.site-footer .footer-middle .footer-social-block{justify-self:end;}
@media(max-width:800px){
  .site-footer .footer-middle .footer-social-block{justify-self:start;}
  .payment-options-v524{max-width:100%;}
  .site-footer .footer-middle .payment-options-v524 .payment-title-v524{
    font-size:clamp(21px,4.8vw,30px) !important;
    gap:9px;
    margin-bottom:-.43em !important;
  }
  /* ONE line, four columns. Use flexible fractional widths to retain logo proportions. */
  .payment-options-v524 .payment-logos-v524{
    grid-template-columns:minmax(0,1.12fr) minmax(0,1.25fr) minmax(0,.95fr) minmax(0,1.7fr);
    gap:clamp(4px,1.1vw,10px);
    padding:clamp(21px,4vw,30px) clamp(6px,1.8vw,12px) 14px;
    border-width:2px;
  }
  .payment-options-v524 .payment-brand-v524 img{max-height:70px;}
}
@media(max-width:350px){
  .site-footer .footer-middle .payment-options-v524 .payment-title-v524{
    font-size:20px !important;gap:6px;
  }
  .payment-options-v524 .payment-logos-v524{
    gap:3px;padding:20px 4px 12px;
  }
  .payment-options-v524 .payment-title-v524:before,
  .payment-options-v524 .payment-title-v524:after{height:2px;}
}


/* BUNDLED FROM header-section-navigation-v526.css?v=526 */
/* V526: keep the existing sticky header sticky on small screens.
   overflow-x:hidden creates a scroll container on html/body in Chromium;
   overflow-x:clip hides horizontal overflow without breaking sticky positioning.
   The open mobile drawer still uses the existing body lock override. */
@media (max-width:860px){
  html,body{overflow-x:clip!important}
}

