/* Eventide Safaris Stage 11: homepage SEO hubs — isolated to the homepage. */
.ev11-homepage{min-width:0}
.ev11-homepage .ev11-muted{background:#f7f5f0}
.ev11-homepage .eventide-section{padding-top:clamp(45px,5vw,76px);padding-bottom:clamp(45px,5vw,76px)}
.ev11-homepage .eventide-heading{gap:16px;margin-bottom:16px}
.ev11-homepage .eventide-heading h2{max-width:850px}
.ev11-homepage .ev11-section-intro{color:#42566a;font-size:15px;line-height:1.85;max-width:890px;margin:0 0 30px}
.ev11-homepage .ev11-featured{padding-top:clamp(38px,4vw,64px)}
.ev11-homepage .ev11-featured .eventide-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ev11-homepage .ev11-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(13px,1.5vw,23px)}
.ev11-homepage .ev11-hub-card{display:flex;flex-direction:column;min-width:0;min-height:183px;padding:clamp(17px,1.8vw,25px);background:#fff;border:1px solid #e0e5e8;text-decoration:none;color:#102A43;transition:border-color .17s ease,transform .17s ease}
.ev11-homepage .ev11-hub-card:hover{border-color:#c8943e;transform:translateY(-2px)}
.ev11-homepage .ev11-hub-card:focus-visible,.ev11-homepage .ev11-stay-links a:focus-visible{outline:3px solid #c8943e;outline-offset:3px}
.ev11-homepage .ev11-hub-kicker{color:#91641e;letter-spacing:.12em;font-size:10px;font-weight:750;line-height:1.4}
.ev11-homepage .ev11-hub-card h3{font-family:var(--site-heading-font,Georgia,serif);font-weight:600;font-size:clamp(19px,1.6vw,24px);line-height:1.27;margin:9px 0 7px;overflow-wrap:anywhere}
.ev11-homepage .ev11-hub-card p{font-family:var(--site-body-font,Arial,sans-serif);color:#526272;line-height:1.65;font-size:13px;margin:0 0 18px;flex:1}
.ev11-homepage .ev11-hub-action{color:#95651d;font-size:12px;font-weight:750;line-height:1.5}
.ev11-homepage .ev11-hub-action i{padding-left:5px}
.ev11-homepage .ev11-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ev11-homepage .ev11-stay-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:25px}
.ev11-homepage .ev11-stay-links a{display:flex;align-items:center;justify-content:center;min-height:55px;padding:12px;text-align:center;background:#fff;border:1px solid #dfd7c7;color:#102A43;font-size:13px;line-height:1.5;font-weight:650}
.ev11-homepage .ev11-stay-links a:hover{border-color:#c8943e;color:#91641e}
.ev11-homepage .ev11-guide-lead{font-size:15px;line-height:1.85;color:#42566a;max-width:945px;margin:0 0 28px}
.ev11-homepage .ev11-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(19px,2.4vw,34px)}
.ev11-homepage .ev11-guide-grid article{border-top:2px solid #c8943e;padding:21px 0 4px;min-width:0}
.ev11-homepage .ev11-guide-grid h3{color:#102A43;font-family:var(--site-heading-font,Georgia,serif);font-size:clamp(21px,2vw,27px);line-height:1.28;font-weight:600;margin:0 0 13px}
.ev11-homepage .ev11-guide-grid p{font-size:14px;line-height:1.85;color:#42566a;margin:0 0 16px}
.ev11-homepage .ev11-guide-grid a{color:#91641e;font-weight:700;font-size:13px}
.ev11-homepage .ev11-approach{position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:none;background:#fff}
.ev11-homepage .ev11-approach-backdrop{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:var(--ev11-approach-background-image);background-position:center;background-repeat:no-repeat;background-size:cover;background-attachment:fixed;opacity:var(--ev11-approach-image-opacity,.35)}
.ev11-homepage .ev11-approach.has-background:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.94) 55%,rgba(255,255,255,.9) 72%,rgba(255,255,255,.15) 100%)}
.ev11-homepage .ev11-approach-content{position:relative;z-index:1}
.ev11-homepage .ev11-approach h2{max-width:810px;margin:10px 0 15px;font-size:clamp(30px,3vw,43px)}
.ev11-homepage .ev11-approach p{max-width:950px;font-size:15px;color:#42566a;line-height:1.9;margin:0 0 23px}
.ev11-homepage .ev-stay-home .eventide-card-grid{margin-top:12px}
.ev11-homepage .ev11-style-heading{align-items:flex-end}
.ev11-homepage .ev11-style-icon-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:stretch}
.ev11-homepage .ev11-style-icon-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:116px;padding:14px 8px;background:#fff;border:1px solid #e0d6ca;border-radius:14px;text-decoration:none;color:#102A43;text-align:center;transition:border-color .17s ease,transform .17s ease,box-shadow .17s ease}
.ev11-homepage .ev11-style-icon-card:hover{border-color:#c8943e;transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,42,67,.07)}
.ev11-homepage .ev11-style-icon-card:focus-visible{outline:3px solid #c8943e;outline-offset:3px}
.ev11-homepage .ev11-style-icon{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;background:#f5ede2;color:#c57f13;font-size:16px}
.ev11-homepage .ev11-style-icon-card strong{display:block;font-family:var(--site-body-font,Arial,sans-serif);font-size:13px;line-height:1.3;font-weight:700;color:#102A43;max-width:100%}
.ev11-homepage .ev11-style-explore{font-size:11px;line-height:1.4;color:#526272}

@media(max-width:1699px){.ev11-homepage .ev11-featured .eventide-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1330px){.ev11-homepage .ev11-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ev11-homepage .ev11-stay-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1400px){.ev11-homepage .ev11-style-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.ev11-homepage .ev11-featured .eventide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ev11-homepage .ev11-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev11-homepage .ev11-style-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ev11-homepage .ev11-featured .eventide-card-grid{grid-template-columns:1fr!important}.ev11-homepage .ev11-hub-grid,.ev11-homepage .ev11-guide-grid{grid-template-columns:1fr}.ev11-homepage .ev11-style-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev11-homepage .ev11-hub-card{min-height:0}.ev11-homepage .eventide-heading{align-items:flex-start}.ev11-homepage .eventide-heading a{display:inline-flex;align-items:center}.ev11-homepage .ev11-section-intro{font-size:14px}.ev11-homepage .ev11-stay-links{grid-template-columns:1fr 1fr}}
@media(max-width:450px){.ev11-homepage .ev11-stay-links{grid-template-columns:1fr}}
@media(max-width:900px){.ev11-homepage .ev11-style-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ev11-homepage .ev11-style-icon-grid{grid-template-columns:1fr}.ev11-homepage .ev11-style-link{width:100%;justify-content:flex-start}.ev11-homepage .ev11-style-icon-card{min-height:118px;padding:18px 14px}.ev11-homepage .ev11-style-icon-card strong{font-size:16px}}
@media(max-width:900px){.ev11-homepage .ev11-approach.has-background:after{background:rgba(255,255,255,.92)}}
@media(max-width:900px),(prefers-reduced-motion:reduce){.ev11-homepage .ev11-approach-backdrop{background-attachment:scroll}}
@media(prefers-reduced-motion:reduce){.ev11-homepage .ev11-hub-card{transition:none}.ev11-homepage .ev11-hub-card:hover{transform:none}}

/* Stage 12: departure-point tabs with real safari cards */
.ev11-homepage .ev11-departure-tabs{display:grid;grid-template-columns:minmax(195px,255px) minmax(0,1fr);gap:0;border:1px solid #dce2e4;background:#fff;min-width:0}
.ev11-homepage .ev11-departure-tablist{display:flex;flex-direction:column;min-width:0;border-right:1px solid #dce2e4;background:#f8f9fa}
.ev11-homepage .ev11-departure-tab{display:flex;align-items:center;gap:12px;width:100%;padding:20px 19px;background:transparent;border:0;border-bottom:1px solid #dce2e4;border-left:4px solid transparent;font:600 14px/1.35 var(--site-body-font,Arial,sans-serif);text-align:left;color:#102A43;cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.ev11-homepage .ev11-departure-tab:last-child{border-bottom:0}
.ev11-homepage .ev11-departure-tab:hover{background:#fff}
.ev11-homepage .ev11-departure-tab.is-active,.ev11-homepage .ev11-departure-tab[aria-selected="true"]{background:#fff;border-left-color:#c8943e;color:#102A43}
.ev11-homepage .ev11-departure-tab:focus-visible{outline:3px solid #c8943e;outline-offset:-4px;position:relative;z-index:2}
.ev11-homepage .ev11-departure-tab-number{font-size:11px;color:#977332;font-weight:700;letter-spacing:.04em}
.ev11-homepage .ev11-departure-tab-label{min-width:0;overflow-wrap:anywhere}
.ev11-homepage .ev11-departure-tab .bi{font-size:12px;margin-left:auto;color:#9dabb4}
.ev11-homepage .ev11-departure-tab[aria-selected="true"] .bi{color:#b38437}
.ev11-homepage .ev11-departure-panels,.ev11-homepage .ev11-departure-panel{min-width:0}
.ev11-homepage .ev11-departure-panel[hidden]{display:none!important}
.ev11-homepage .ev11-departure-panel:focus-visible{outline:2px solid #c8943e;outline-offset:-4px}
.ev11-homepage .ev11-departure-panel-header{padding:clamp(22px,2.6vw,35px);background:#102A43;color:#fff}
.ev11-homepage .ev11-departure-panel-header .eventide-eyebrow{color:#edc88f}
.ev11-homepage .ev11-departure-panel-header h3{margin:7px 0 12px;color:#fff;font-family:var(--site-heading-font,Georgia,serif);font-size:clamp(25px,2.4vw,34px);font-weight:600;line-height:1.25}
.ev11-homepage .ev11-departure-panel-header p{color:#e2e9ed;font-size:14px;line-height:1.7;max-width:660px;margin:0}
.ev11-homepage .ev11-departure-panel-content{padding:clamp(17px,2vw,28px)}
.ev11-homepage .ev11-departure-panel-content h4,.ev11-homepage .ev11-departure-content-label{color:#102A43;font-family:var(--site-heading-font,Georgia,serif);font-weight:600;font-size:clamp(19px,1.7vw,23px);margin:0 0 17px}
.ev11-homepage .ev11-departure-panel .eventide-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ev11-homepage .ev11-departure-panel .eventide-card{min-width:0}
.ev11-homepage .ev11-departure-panel .eventide-card-image{aspect-ratio:16/10}
.ev11-homepage .ev11-departure-panel .eventide-card-body{padding:16px}
.ev11-homepage .ev11-departure-panel .eventide-card-body h3{font-size:clamp(17px,1.5vw,20px);line-height:1.35}
.ev11-homepage .ev11-departure-panel .eventide-card-body p{font-size:13px;line-height:1.65}
.ev11-homepage .ev11-departure-empty{border:1px solid #dce2e4;background:#f8f9fa;padding:24px}
.ev11-homepage .ev11-departure-empty h4{margin-bottom:8px}
.ev11-homepage .ev11-departure-empty p{margin:0;color:#42566a;font-size:14px;line-height:1.75;max-width:700px}
.ev11-homepage .ev11-departure-panel-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:23px}
.ev11-homepage .ev11-departure-panel-actions .eventide-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;white-space:normal;text-align:center;text-decoration:none}
.ev11-homepage .ev11-departure-enquire{display:inline-flex;align-items:center;gap:8px;color:#875a15;font-size:13px;font-weight:700;text-decoration:none}
.ev11-homepage .ev11-departure-enquire:hover{text-decoration:underline}
@media(max-width:1150px){.ev11-homepage .ev11-departure-tabs{grid-template-columns:minmax(165px,215px) minmax(0,1fr)}.ev11-homepage .ev11-departure-panel .eventide-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.ev11-homepage .ev11-departure-tabs{display:block}.ev11-homepage .ev11-departure-tablist{display:flex;flex-direction:row;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;border-right:0;border-bottom:1px solid #dce2e4;scroll-snap-type:x proximity}.ev11-homepage .ev11-departure-tab{flex:0 0 auto;width:auto;min-height:61px;padding:15px 18px;border-left:0;border-bottom:3px solid transparent;border-right:1px solid #dce2e4;white-space:nowrap;scroll-snap-align:start}.ev11-homepage .ev11-departure-tab.is-active,.ev11-homepage .ev11-departure-tab[aria-selected="true"]{border-left:0;border-bottom-color:#c8943e}.ev11-homepage .ev11-departure-tab .bi{display:none}.ev11-homepage .ev11-departure-tab-label{overflow-wrap:normal}}
@media(max-width:600px){.ev11-homepage .ev11-departure-panel .eventide-card-grid{grid-template-columns:1fr}.ev11-homepage .ev11-departure-panel-header{padding:22px 18px}.ev11-homepage .ev11-departure-panel-content{padding:18px 14px}.ev11-homepage .ev11-departure-panel-actions{align-items:stretch;flex-direction:column}.ev11-homepage .ev11-departure-panel-actions .eventide-button{width:100%}.ev11-homepage .ev11-departure-tab-number{display:none}}
@media(prefers-reduced-motion:reduce){.ev11-homepage .ev11-departure-tab{transition:none}}

.ev11-homepage .ev11-departure-panel-header{display:flex;align-items:stretch;gap:clamp(16px,2vw,28px)}
.ev11-homepage .ev11-departure-panel-heading{flex:1;min-width:0;align-self:center}
.ev11-homepage .ev11-departure-panel-photo{flex:0 0 35%;max-width:290px;min-width:0;min-height:145px;display:flex;align-items:center;justify-content:center;background:#0b2034}
.ev11-homepage .ev11-departure-panel-photo img{display:block;width:100%;height:100%;max-height:190px;object-fit:contain;object-position:center}
@media(max-width:570px){.ev11-homepage .ev11-departure-panel-header{flex-direction:column}.ev11-homepage .ev11-departure-panel-photo{flex:initial;width:100%;max-width:none;min-height:160px}.ev11-homepage .ev11-departure-panel-photo img{max-height:205px}}

/* Stage 18 — Sticky departure sidebar only.
   The six departure buttons no longer stretch down to the bottom of the
   safari cards. The sidebar stays within the departure section as it scrolls.
   All safari cards, tab switching and admin selections remain untouched. */
@media (min-width:821px) and (min-height:560px){
 .ev11-homepage .ev11-departure-tablist{
  position:sticky;
  top:clamp(96px,8vw,120px);
  align-self:start;
  height:max-content;
  max-height:calc(100dvh - clamp(96px,8vw,120px) - 14px);
  overflow-y:auto;
  overscroll-behavior-y:contain;
  scrollbar-width:thin;
 }
}
/* Short desktop screens: natural-height menu without sticky overlap. */
@media (min-width:821px) and (max-height:559px){
 .ev11-homepage .ev11-departure-tablist{
  align-self:start;
  height:max-content;
 }
}
/* Tablets and phones keep the original horizontal scrolling tabs. */
@media (max-width:820px){
 .ev11-homepage .ev11-departure-tablist{
  position:static;
  top:auto;
  height:auto;
  max-height:none;
  overflow-x:auto;
  overflow-y:hidden;
 }
}

/* Stage 51: departure cover belongs to landing page (not first safari).
   Mobile/tablet screens show copy and cards without a duplicated hero image. */
@media (max-width: 820px) {
  .ev11-homepage .ev11-departure-panel-header .ev11-departure-panel-photo {
    display: none !important;
  }
}
