/* Eventide Safaris Stage 35: photographic safari hero + complete responsive footer.
   Loaded after legacy CSS. Do not introduce Greatlink images or unknown contact info. */
.ev-content-page .ev35-safari-hero {
  position: relative; display: flex; align-items: center; isolation: isolate;
  min-height: clamp(430px, 37vw, 620px); overflow: hidden;
  background: #102A43; padding: clamp(60px, 7.5vw, 106px) 0;
  color: #fff;
}
.ev35-hero-media, .ev35-hero-scrim { position: absolute; inset: 0; }
.ev35-hero-media { z-index: -2; overflow: hidden; background: #102A43; }
.ev35-hero-media img { position: absolute; display: block; width: 100%; height: 100%; inset: 0; }
/* The large blurred backdrop fills any letterboxing; the full original image remains uncropped. */
.ev35-hero-backdrop { object-fit: cover; object-position: center; filter: blur(14px) brightness(.58); transform: scale(1.07); }
.ev35-hero-image { object-fit: contain; object-position: center; filter: brightness(.78); }
.ev35-hero-scrim { z-index: -1; background: rgba(10,30,47,.59); }
.ev35-hero-content { position: relative; z-index: 1; }
.ev-content-page .ev35-safari-hero h1 { max-width: 960px; color: #fff; text-wrap: balance; font-size: clamp(34px, 4.25vw, 66px); letter-spacing: -.025em; text-shadow: 0 2px 16px rgba(4,18,31,.35); }
.ev-content-page .ev35-safari-hero p { max-width: 800px; color: #f5f7f9; text-shadow: 0 1px 9px rgba(3,17,29,.35); }
.ev35-safari-hero .ev-breadcrumb, .ev35-safari-hero .ev-breadcrumb a { color: #fff; }
.ev35-safari-hero .ev-trip-meta>span { background: rgba(12,35,55,.73); border: 1px solid rgba(255,255,255,.36); color: #fff; backdrop-filter: blur(2px); }
.ev35-safari-hero .eventide-eyebrow { color: #f6c97e !important; }
.ev-content-page .ev-itinerary-map { margin-top: 38px; }
/* Conditional inclusions/exclusions must not leave an empty second column. */
.ev-content-page .ev-include-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
/* Footer */
.eventide-footer.ev35-footer { padding: 0; margin: 0; background: #0b2238; color: #f8fafb; }
.ev35-footer *, .ev35-footer *::before, .ev35-footer *::after { box-sizing: border-box; }
.ev35-footer-cta { background: #102A43; border-block: 1px solid rgba(200,148,62,.4); }
.ev35-footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: clamp(24px,4vw,64px); padding-block: clamp(36px,4vw,60px); }
.ev35-footer-overline { font-weight: 750; letter-spacing: .19em; font-size: 11px; color: #e7b664; }
.ev35-footer-cta h2 { font-size: clamp(28px,3vw,44px); margin: 9px 0 8px; color: #fff; font-weight: 650; line-height: 1.19; }
.ev35-footer-cta p { color: #d5e0e9; margin: 0; font-size: 14px; line-height: 1.75; max-width: 640px; }
.ev35-footer .ev35-footer-cta-button { flex: 0 0 auto; display: inline-flex; gap: 15px; align-items: center; justify-content: center; text-decoration: none; background: #C8943E; border: 1px solid #C8943E; padding: 14px 21px; color: #102A43; margin: 0; font-size: 14px; font-weight: 800; border-radius: 4px; transition: background .2s, color .2s, border-color .2s; }
.ev35-footer .ev35-footer-cta-button:hover, .ev35-footer .ev35-footer-cta-button:focus-visible { background: #fff; border-color: #fff; color: #102A43; }
.ev35-footer-main { display: grid; grid-template-columns: minmax(205px,1.45fr) repeat(4,minmax(120px,.8fr)) minmax(175px,1.15fr); gap: clamp(18px,2vw,34px); padding-block: clamp(45px,5vw,75px) 45px; align-items: start; }
.ev35-footer-main > * { min-width: 0; }
.ev35-footer-brand p { color: #c9d5de; font-size: 13px; line-height: 1.85; margin: 20px 0 16px; max-width: 320px; }
.ev35-footer .ev35-footer-logo { display: inline-block; margin: 0; }
.ev35-footer .ev35-footer-logo img { display: block; width: auto; height: auto; max-height: 80px; max-width: 200px; padding: 7px; background: #fff; border-radius: 4px; object-fit: contain; }
.ev35-footer .ev35-footer-brand-cta { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 19px; color: #f0c77f; font-size: 13px; font-weight: 750; text-decoration: none; }
.ev35-footer .ev35-footer-brand-cta:hover, .ev35-footer .ev35-footer-brand-cta:focus-visible { color: #fff; }
.ev35-footer .ev35-footer-follow-label { color: #e4af59; font-size: 10px; font-weight: 750; letter-spacing: .12em; margin: 0 0 10px; text-transform: uppercase; }
.ev35-footer .ev35-footer-col h3 { color: #fff; font: 700 14px/1.3 var(--site-heading-font,inherit); margin: 3px 0 18px; }
.ev35-footer .ev35-footer-subheading { color: #e4af59; font-size: 10px; font-weight: 750; letter-spacing: .11em; line-height: 1.4; margin: 17px 0 10px; text-transform: uppercase; }
.ev35-footer .ev35-footer-col a { display: block; margin: 0 0 12px; padding: 0; font-size: 13px; line-height: 1.6; font-weight: 450; text-decoration: none; color: #cedae4; overflow-wrap: anywhere; }
.ev35-footer .ev35-footer-col a:hover, .ev35-footer .ev35-footer-col a:focus-visible { color: #e8b76e; }
.ev35-footer .ev35-footer-contact p, .ev35-footer .ev35-footer-contact a { display: flex; gap: 10px; align-items: flex-start; color: #cedae4; margin: 0 0 12px; font-size: 13px; line-height: 1.65; }
.ev35-footer .ev35-footer-contact i { color: #e4af59; flex: 0 0 17px; font-size: 15px; margin-top: 1px; }
.ev35-footer .ev35-footer-contact-note { border-top: 1px solid rgba(255,255,255,.14); padding-top: 15px; color: #b8c9d6 !important; font-size: 12px !important; line-height: 1.7 !important; }
.ev35-footer .ev35-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.ev35-footer .ev35-socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.035); color: #e9f1f7; border-radius: 4px; }
.ev35-footer .ev35-socials a:hover, .ev35-footer .ev35-socials a:focus-visible { background: #C8943E; color: #102A43; border-color: #C8943E; }
.ev35-footer-bottom { border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-block: 18px 24px; }
.ev35-footer-bottom p { margin: 0; color: #b4c6d3; font-size: 12px; }
.ev35-footer-bottom a { display: inline-flex; align-items: center; gap: 7px; color: #d2dee7; font-size: 12px; text-decoration: none; }
.ev35-footer-bottom a:hover, .ev35-footer-bottom a:focus-visible { color: #e8b76e; }
.ev35-footer a:focus-visible { outline: 2px solid #C8943E; outline-offset: 4px; }
@media (max-width: 1060px) { .ev35-footer-main { grid-template-columns: repeat(3,minmax(0,1fr)); } .ev35-footer-main .ev35-footer-brand, .ev35-footer-main .ev35-footer-contact { grid-column: span 3; } }
@media (max-width: 720px) { .ev-content-page .ev35-safari-hero { min-height: 430px; padding: 70px 0 52px; } .ev35-hero-media .ev35-hero-image { opacity: .88; } .ev35-hero-scrim { background: rgba(10,30,47,.69); } .ev35-footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 19px; } .ev35-footer .ev35-footer-cta-button { width: 100%; } .ev35-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; } .ev35-footer-main .ev35-footer-brand { grid-column: span 2; } .ev35-footer-main .ev35-footer-contact { grid-column: span 2; } .ev35-footer-bottom { align-items: flex-start; flex-direction: column; } }
@media (max-width: 420px) { .ev-content-page .ev35-safari-hero { min-height: 380px; padding: 54px 0 45px; } .ev35-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; } .ev35-footer .ev35-footer-col h3 { font-size: 13px; } .ev35-footer .ev35-footer-col a { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .ev35-footer .ev35-footer-cta-button, .ev35-footer .ev35-socials a { transition: none; } }

/* Footer density: keep the main navigation readable at desktop widths. */
@media (min-width: 1061px) {
  .ev35-footer-cta-inner { padding-block: 30px; }
  .ev35-footer-main {
    grid-template-columns: minmax(220px,1.25fr) repeat(3,minmax(150px,1fr));
    gap: 34px 42px;
    padding-block: 42px 38px;
  }
  .ev35-footer-brand { grid-column: 1; grid-row: 1 / span 2; }
  .ev35-footer-main nav[aria-label="Safari packages"] { grid-column: 2; grid-row: 1; }
  .ev35-footer-main nav[aria-label="Popular safari destinations"] { grid-column: 3; grid-row: 1; }
  .ev35-footer-main nav[aria-label="Plan your safari"] { grid-column: 4; grid-row: 1; }
  .ev35-footer-main nav[aria-label="Travel guides and useful links"] { grid-column: 2; grid-row: 2; }
  .ev35-footer-contact {
    grid-column: 3 / span 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    column-gap: 28px;
  }
  .ev35-footer-contact h3,
  .ev35-footer-contact-note { grid-column: 1 / -1; }
  .ev35-footer-brand p { line-height: 1.7; margin-block: 15px 14px; }
  .ev35-footer .ev35-footer-col h3 { margin-bottom: 13px; }
  .ev35-footer .ev35-footer-col a { margin-bottom: 7px; line-height: 1.45; }
  .ev35-footer .ev35-footer-subheading { margin: 12px 0 7px; }
  .ev35-footer .ev35-footer-contact a,
  .ev35-footer .ev35-footer-contact p { margin-bottom: 9px; }
}

.ev35-footer .ev35-footer-col:not(.ev35-footer-contact) > a,
.ev35-footer .ev35-footer-contact > a {
  transition: color .18s ease, transform .18s ease;
}
.ev35-footer .ev35-footer-col:not(.ev35-footer-contact) > a:hover,
.ev35-footer .ev35-footer-col:not(.ev35-footer-contact) > a:focus-visible,
.ev35-footer .ev35-footer-contact > a:hover,
.ev35-footer .ev35-footer-contact > a:focus-visible {
  color: #f0c77f;
  transform: translateX(3px);
}
.ev35-footer .ev35-socials a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.ev35-footer .ev35-socials a:hover,
.ev35-footer .ev35-socials a:focus-visible {
  transform: translateY(-2px);
}
.ev35-footer .ev35-footer-cta-button {
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.ev35-footer .ev35-footer-cta-button:hover,
.ev35-footer .ev35-footer-cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.travel-floating-actions {
  position: fixed;
  z-index: 2147483000;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(var(--travel-floating-bottom, 24px) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--travel-floating-gap, 12px);
  pointer-events: none;
}
.travel-floating-actions > a,
.travel-floating-actions > button {
  width: var(--travel-whatsapp-fab-size, 54px);
  height: var(--travel-whatsapp-fab-size, 54px);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(3,17,29,.28);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.travel-floating-actions .travel-whatsapp-fab {
  background: #25D366;
  color: #fff;
}
.travel-floating-actions .travel-whatsapp-fab i { font-size: 28px; line-height: 1; }
.travel-floating-actions .travel-whatsapp-fab:hover,
.travel-floating-actions .travel-whatsapp-fab:focus-visible {
  background: #128C7E;
  color: #fff;
  transform: translateY(-2px);
}
.travel-floating-actions .travel-back-to-top {
  position: static;
  right: auto;
  bottom: auto;
  width: var(--travel-whatsapp-fab-size, 54px);
  height: var(--travel-whatsapp-fab-size, 54px);
  background: #C8943E;
  color: #102A43;
  font-size: 22px;
}
.travel-floating-actions .travel-back-to-top:not(.is-visible) {
  transform: translateY(10px);
}
.travel-floating-actions .travel-back-to-top:hover,
.travel-floating-actions .travel-back-to-top:focus-visible {
  background: #102A43;
  color: #fff;
  transform: translateY(-2px);
}
.travel-floating-actions > a:focus-visible,
.travel-floating-actions > button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  :root { --travel-floating-bottom: 16px; --travel-whatsapp-fab-size: 48px; --travel-floating-gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev35-footer .ev35-footer-col:not(.ev35-footer-contact) > a,
  .ev35-footer .ev35-footer-contact > a,
  .ev35-footer .ev35-socials a,
  .ev35-footer .ev35-footer-cta-button,
  .travel-floating-actions > a,
  .travel-floating-actions > button { transition: none; }
}

/* Stage 37: ordered day stops and responsive inline editorial images. */
.eventide-copy img{display:block;max-width:100%;height:auto;margin:15px auto;border-radius:10px}
.eventide-copy figure{margin:18px 0;text-align:center}.eventide-copy figcaption{margin-top:6px;font-size:13px;color:#687789}
.eventide-copy table{width:100%;max-width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.eventide-copy td,.eventide-copy th{padding:9px 12px;border:1px solid #d6e0e6;text-align:left}
.ev37-day-stops{background:#f9f7f2;border-left:3px solid #C8943E;margin:15px 0;padding:14px 18px}
.ev37-day-stops strong{display:block;color:#102A43;margin-bottom:7px}.ev37-day-stops ol{display:flex;flex-wrap:wrap;gap:10px 22px;padding-left:20px;margin:0}
.ev37-day-stops li{color:#3b5366}.ev37-day-stops a{color:#102A43;text-decoration:none}.ev37-day-stops a:hover{color:#865a1a}
