
.lazyload{background-image:none !important;}.lazyload:before{background-image:none !important;}
/* "More journeys" / itinerary cards: the photo must fill the 4:5 frame. Theme rules (img{height:auto}) could win in
   some loads (e.g. logged-in views), leaving the photo at its natural height with a dark block underneath. */
.jk-card__media{position:relative!important;display:block!important;aspect-ratio:4/5;overflow:hidden!important}
.jk-card__media > img,.jk-card__media img.jk-revimg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;display:block!important}
/* On phones the site header was position:fixed (251px tall). The theme's JS measured it after load and pushed the page
   down (#Content padding-top), and #10686 added the same offset again as padding on the header photo — the whole page
   jumped ~117px about 2s after it appeared, and a dark gap was left above the photo. Itinerary pages on phones now keep
   the header in the normal page flow, so nothing needs to be measured and nothing moves. */
@media (max-width:767px){
  body.single-tour #Header_wrapper{position:relative!important;top:auto!important}
  body.single-tour #Content{padding-top:0!important}
}
/* Section buttons float over the bottom edge of the header photo: no black bar, soft shadows. */
body .jk-snav{background:transparent!important;border:0!important;margin:-30px 0 6px!important;position:relative;z-index:20;pointer-events:none}
body .jk-snav ul{padding:0 20px!important;gap:12px!important;pointer-events:auto}
body .jk-snav a{background:rgba(255,255,255,.96)!important;color:#2a241c!important;border:1px solid rgba(166,120,67,.35)!important;box-shadow:0 10px 28px rgba(20,16,10,.18),0 2px 6px rgba(20,16,10,.08)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .25s ease,box-shadow .25s ease,background .25s,color .25s!important}
body .jk-snav a:hover,body .jk-snav a:focus-visible{background:#fff!important;color:#A67843!important;border-color:#A67843!important;transform:translateY(-2px);box-shadow:0 16px 34px rgba(20,16,10,.22),0 3px 8px rgba(20,16,10,.1)!important}
body .jk-snav a.jk-snav__cta{background:#A67843!important;color:#fff!important;border-color:#A67843!important;box-shadow:0 12px 30px rgba(166,120,67,.42)!important}
body .jk-snav a.jk-snav__cta:hover{background:#8A6134!important;color:#fff!important;border-color:#8A6134!important}
@media(max-width:767px){
 body .jk-snav{margin:-22px 0 4px!important}
 body .jk-snav ul{padding:4px 16px 14px!important;gap:8px!important}
 body .jk-snav a{box-shadow:0 6px 16px rgba(20,16,10,.16)!important}
}
/* About Us: the story slideshow (#1544) switches the hero image box to position:relative after
   load, so the photo dropped 54px and shrank (desktop CLS 0.31). Keep it covering the hero.
   Desktop/tablet only — on phones the hero is meant to stack. Tested: 0.31 -> 0.01. */
@media (min-width: 768px) {
	.jk-abh__im[data-jkss] { position: absolute !important; inset: 0 !important; }
}

/* Contact: the hero is built by JS above #Content, then grows to its final height.
   Give it the final height from the start and keep the form area invisible (not moved)
   until the hero exists; a 4s fallback always reveals it. Tested desktop: 0.48 -> 0.003. */
@media (min-width: 768px) {
	body.page-id-360 .jk-hubhero { min-height: clamp(520px, 82vh, 880px) !important; }
}
body.page-id-360 #Wrapper:not(:has(.jk-hubhero)) > #Content { visibility: hidden; animation: jkCtReveal 0s 4s forwards; }
@keyframes jkCtReveal { to { visibility: visible; } }
/* One reading size for running text on every story and itinerary (was 17px on itineraries,
   18.5px on stories, and 15–16px wherever text had been pasted in with its own size).
   Headings keep their own title sizes — only paragraphs, list items and inline spans change. */
html body.single-post .the_content_wrapper p,
html body.single-post .the_content_wrapper li,
html body.single-tour #Content .the_content_wrapper p,
html body.single-tour #Content .the_content_wrapper li,
html body.single-tour #Content .wpb_text_column p,
html body.single-tour #Content .wpb_text_column li {
	font-size: 18px !important;
	line-height: 1.8 !important;
}
html body.single-post .the_content_wrapper :is(p, li, span, strong, em, a)[style*="font-size"],
html body.single-tour #Content .the_content_wrapper :is(p, li, span, strong, em, a)[style*="font-size"] {
	font-size: inherit !important;
}
@media (max-width: 767px) {
	html body.single-post .the_content_wrapper p, html body.single-post .the_content_wrapper li,
	html body.single-tour #Content .the_content_wrapper p, html body.single-tour #Content .the_content_wrapper li,
	html body.single-tour #Content .wpb_text_column p, html body.single-tour #Content .wpb_text_column li { font-size: 17px !important; }
}

/* Safari Quotation table — large enough for every reader (was 11–14.5px) */
html body.single-tour #Content table { max-width: 720px !important; width: 100% !important; }
html body.single-tour #Content table td {
	font-size: 18px !important; line-height: 1.5 !important; padding: 18px 22px !important; color: #2B2722 !important;
}
html body.single-tour #Content table tr:first-child td {
	font-size: 15px !important; letter-spacing: .08em !important; color: #6E5634 !important; font-weight: 700 !important;
}
html body.single-tour #Content table tr:last-child td:first-child { font-weight: 600 !important; }
html body.single-tour #Content table tr:last-child td:not(:first-child) { font-size: 28px !important; color: #1A1510 !important; }
@media (max-width: 767px) {
	html body.single-tour #Content table td { font-size: 17px !important; padding: 14px 12px !important; }
	html body.single-tour #Content table tr:first-child td { font-size: 13px !important; }
	html body.single-tour #Content table tr:last-child td:not(:first-child) { font-size: 24px !important; }
}
/* The tour enquiry box (.jk-trail) is position:sticky, but html/body had overflow-x:hidden, which
   turns <body> into a non-scrolling scroll container and silently disables sticky — so the box
   scrolled up under the glass header (the overlap) and vanished. overflow-x:clip still hides
   sideways overflow without creating a scroll container, so sticky works again. */
html:has(body.single-tour),
body.single-tour { overflow-x: clip !important; overflow-y: visible !important; }

/* Desktop two-column layout: pin below the header (86px when scrolled) with breathing room;
   never taller than the screen. Tablet/phone keep the stacked, static box. */
@media (min-width: 961px) {
	body.single-tour .jk-trail {
		position: sticky !important; top: 112px !important; align-self: start !important;
		max-height: calc(100vh - 136px); overflow-y: auto;
	}
}

/* "Day 2Transfer…" — space between the day number and its title */
.jk-itday__n { margin-right: .45em; }
/* Layout-shift fix. The header offset (#Content padding) and the US/UK page heroes are added by
   JavaScript after first paint, which pushed the page down 100–500px. Reserve the same space in
   CSS so nothing moves; the JS values still win once they run. Tested: /africa-safari-cost/ CLS
   0.42–0.75 -> 0.03; /flying-to-uganda-from-us-uk/ 0.42 -> 0.06; other pages neutral. */

/* 1. Header offset — measured header heights per breakpoint (JS sets the exact value inline) */
body:not(.home) #Content { padding-top: 141px; }
@media (max-width: 1439px) { body:not(.home) #Content { padding-top: 146px; } }
@media (max-width: 1279px) { body:not(.home) #Content { padding-top: 285px; } }
@media (max-width: 1023px) { body:not(.home) #Content { padding-top: 213px; } }
@media (max-width: 767px)  { body:not(.home) #Content { padding-top: 134px; } }

/* 2. US/UK cost + flights pages hero (.jk-pghero = 56vh), inserted as first child of #Content */
body.page-id-1736 #Content:not(:has(.jk-pghero))::before,
body.page-id-1734 #Content:not(:has(.jk-pghero))::before {
	content: ""; display: block; min-height: 56vh; background: #14130F;
}