/* ---------- 2. GALLERY ---------- */
.evt-gallery{display:grid;grid-template-columns:1.55fr 1fr;grid-template-rows:repeat(2,1fr);gap:10px;
  height:clamp(300px,44vw,460px);border-radius:var(--r-xl);overflow:hidden;position:relative}
.evt-gallery figure{position:relative;overflow:hidden;background:var(--surface-sunken);margin:0}
.evt-gallery figure:first-child{grid-row:span 2}
.evt-gallery img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-slow) var(--ease)}
.evt-gallery figure:hover img{transform:scale(1.04)}
.evt-allphotos{position:absolute;right:16px;bottom:16px;z-index:2;display:inline-flex;align-items:center;gap:9px;
  height:var(--btn-h-sm);padding:0 18px;border-radius:var(--r-pill);background:var(--surface);
  color:var(--text-heading);font-size:var(--fs-xs);font-weight:var(--fw-bold);box-shadow:var(--shadow-2);
  transition:transform var(--dur-fast) var(--ease)}
.evt-allphotos:hover{transform:translateY(-2px)}
.evt-allphotos svg{width:16px;height:16px}
.evt-count{position:absolute;left:16px;bottom:16px;z-index:2;padding:6px 13px;border-radius:var(--r-pill);
  background:rgba(17,72,115,.82);color:var(--ev-white);font-size:var(--fs-xs);font-weight:var(--fw-semi)}
@media(max-width:760px){
  .evt-gallery{grid-template-columns:1fr;grid-template-rows:1fr;height:56vw;min-height:230px}
  .evt-gallery figure:not(:first-child){display:none}
  .evt-gallery figure:first-child{grid-row:auto}
}

/* ---------- 3. TITLE + META (above the gallery) ---------- */
.evt-head{padding:var(--sp-7) 0 var(--sp-6)}
/* the gallery now follows the head: give it room before the sticky sub-nav */
.evt-head + .evt-container{margin-bottom:var(--sp-7)}
.evt-titlerow{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-6)}

.evt h1{font-size:clamp(1.7rem,3.2vw,2.6rem);font-weight:var(--fw-bold)}
.evt-rating{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:var(--fs-sm);
  font-weight:var(--fw-semi);color:var(--text-heading)}
.evt-rating .stars{display:flex;gap:2px}
.evt-rating svg{width:15px;height:15px;color:var(--accent);fill:currentColor}
.evt-rating small{font-weight:var(--fw-regular);color:var(--text-muted)}
.evt-lead{margin-top:14px;font-size:clamp(1rem,1.1vw,1.1rem);line-height:1.6;color:var(--text-secondary)}


.evt-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;margin-top:var(--sp-6);
  border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;background:var(--border-soft)}
.evt-meta > div{display:flex;align-items:center;gap:14px;padding:18px 20px;background:var(--surface)}
.evt-meta .txt{min-width:0}
.evt-meta .ic{width:42px;height:42px;flex:none;border-radius:var(--r-md);background:var(--action);
  display:grid;place-items:center;color:var(--ev-white)}
.evt-meta .ic svg{width:19px;height:19px}
.evt-meta dt{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:0;color:var(--text-muted)}
.evt-meta dd{font-size:var(--fs-sm);font-weight:var(--fw-semi);color:var(--text-heading);margin-top:2px}
@media(max-width:900px){.evt-meta{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.evt-meta{grid-template-columns:1fr}.evt-titlerow{flex-direction:column}}

/* ---------- 5. STICKY PRICE RAIL ---------- */
.evt-rail{position:sticky;top:calc(var(--ev-header-h,76px) + 72px)}
.evt-pricecard{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-xl);
  padding:var(--sp-6);box-shadow:var(--shadow-2)}
.evt-pricecard .from{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:0;color:var(--text-muted)}
.evt-pricecard .amount{display:flex;align-items:baseline;gap:8px;margin-top:4px}
.evt-pricecard .amount b{font-size:2.3rem;font-weight:var(--fw-black);color:var(--text-heading);
  letter-spacing:var(--ls-display);line-height:1}
.evt-pricecard .amount span{font-size:var(--fs-sm);color:var(--text-muted)}
.evt-pricecard .season{margin-top:10px;font-size:var(--fs-xs);color:var(--text-secondary)}
.evt-railactions{display:flex;flex-direction:column;gap:10px;margin:var(--sp-5) 0}
.evt-reassure{display:flex;flex-direction:column;gap:0;padding-top:var(--sp-5);border-top:1px solid var(--border-soft)}
.evt-reassure li{display:flex;gap:10px;font-size:var(--fs-xs);color:var(--text-secondary)}
.evt-reassure svg{width:16px;height:16px;flex:none;color:var(--ev-ocean);margin-top:1px}
.evt-consultant{display:flex;align-items:center;gap:12px;margin-top:var(--sp-5);padding-top:var(--sp-5);
  border-top:1px solid var(--border-soft)}
.evt-consultant img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
.evt-consultant b{display:block;font-size:var(--fs-xs);color:var(--text-heading)}
.evt-consultant span{font-size:.75rem;color:var(--text-muted)}

/* ---------- 6. HIGHLIGHTS ---------- */
.evt-highlights{display:grid;grid-template-columns:repeat(2,1fr);gap:14px var(--sp-7);margin-top:var(--sp-6)}
.evt-highlights li{display:flex;gap:13px;font-size:var(--fs-sm);color:var(--text-secondary)}
.evt-highlights .n{width:26px;height:26px;flex:none;border-radius:50%;background:var(--surface-sunken);
  display:grid;place-items:center;font-size:.75rem;font-weight:var(--fw-bold);color:var(--text-heading)}
.evt-highlights b{color:var(--text-heading);font-weight:var(--fw-semi)}
@media(max-width:700px){.evt-highlights{grid-template-columns:1fr}}

/* ---------- 7. PRICING ---------- */
.evt-switch{display:inline-flex;gap:4px;padding:4px;border-radius:var(--r-pill);background:var(--surface-sunken);
  margin-top:var(--sp-5)}
.evt-switch button{padding:9px 18px;border-radius:var(--r-pill);font-size:var(--fs-xs);
  font-weight:var(--fw-semi);color:var(--text-secondary);transition:all var(--dur-fast) var(--ease)}
.evt-switch button[aria-selected="true"]{background:var(--surface);color:var(--text-heading);box-shadow:var(--shadow-1)}
.evt-seasonnote{margin-top:12px;font-size:var(--fs-xs);color:var(--text-muted)}

.evt-tiers{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-5);margin-top:var(--sp-6)}
.evt-tier{border:1.5px solid var(--border-soft);border-radius:var(--r-lg);padding:var(--sp-6);
  background:var(--surface);transition:border-color var(--dur-fast) var(--ease)}
.evt-tier--best{border-color:var(--accent);position:relative}
.evt-tier--best::after{content:"Our pick";position:absolute;top:-11px;left:var(--sp-6);padding:3px 12px;
  border-radius:var(--r-pill);background:var(--accent);color:var(--on-accent);font-size:var(--fs-micro);
  font-weight:var(--fw-bold);letter-spacing:0}
.evt-tier h3{font-size:1.05rem;font-weight:var(--fw-bold)}
.evt-tier .stars{display:flex;gap:2px;margin-bottom:8px}
.evt-tier .stars svg{width:14px;height:14px;color:var(--accent);fill:currentColor}
.evt-rates{margin-top:var(--sp-5);border-top:1px solid var(--border-soft)}
.evt-rates div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:13px 0;
  border-bottom:1px solid var(--border-soft)}
.evt-rates span{font-size:var(--fs-sm);color:var(--text-secondary)}
.evt-rates b{font-size:1.25rem;font-weight:var(--fw-black);color:var(--text-heading);letter-spacing:var(--ls-heading)}
.evt-rates b em{font-style:normal;font-size:var(--fs-micro);font-weight:var(--fw-regular);color:var(--text-muted)}
.evt-tier dl{margin-top:var(--sp-5);display:flex;flex-direction:column;gap:12px}
.evt-tier .txt{display:flex;gap:11px;align-items:flex-start}
.evt-tier .evt-ico{flex:none;width:32px;height:32px;border-radius:var(--r-sm);display:grid;place-items:center;
  background:var(--surface-sunken);color:var(--ev-ocean)}
.evt-tier .evt-ico svg{width:17px;height:17px}
.evt-tier dt{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:0;color:var(--text-muted);margin-bottom:3px}
.evt-tier dd{font-size:var(--fs-xs);color:var(--text-secondary);line-height:1.55}
@media(max-width:760px){.evt-tiers{grid-template-columns:1fr}}

/* ---------- 8. INCLUDED / EXCLUDED ---------- */
/* included / excluded — two coloured cards, a count badge and a contextual icon per line */
.evt-inex{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-6);margin-top:var(--sp-6)}
.evt-in,.evt-ex{border:1px solid var(--border-soft);border-radius:var(--r-md);overflow:hidden;background:var(--surface-raised)}
.evt-ix-head{display:flex;align-items:center;gap:10px;padding:12px var(--sp-5)}
.evt-ix-head b{font-size:var(--fs-body);font-weight:var(--fw-bold)}
.evt-ix-head em{margin-inline-start:auto;font-style:normal;font-size:12px;font-weight:600;padding:3px 10px;border-radius:var(--r-pill);background:rgba(255,255,255,.62)}
.evt-ix-badge{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex:none}
.evt-ix-badge svg{width:17px;height:17px;color:var(--ev-white)}
.evt-in .evt-ix-head{background:var(--ok-wash);color:var(--ok-ink)}
.evt-in .evt-ix-badge{background:var(--ok)}
.evt-ex .evt-ix-head{background:var(--danger-wash);color:var(--danger)}
.evt-ex .evt-ix-badge{background:var(--danger)}
.evt-inex ul{display:flex;flex-direction:column;gap:12px;padding:var(--sp-5)}
.evt-inex li{display:flex;gap:11px;align-items:flex-start;font-size:var(--fs-sm);color:var(--text-secondary)}
.evt-ix-ic{flex:none;width:30px;height:30px;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--surface-sunken)}
.evt-ix-ic svg{width:17px;height:17px}
.evt-in .evt-ix-ic{color:var(--ok-ink)}
.evt-ex .evt-ix-ic{color:var(--danger)}
.evt-inex li>span:last-child{margin-top:5px}
.evt-ex li{color:var(--text-muted)}
@media(max-width:700px){.evt-inex{grid-template-columns:1fr;gap:var(--sp-5)}}

/* ---------- 9. ITINERARY ---------- */
.evt-itin{margin-top:var(--sp-6);position:relative}
/* Itinerary as a vertical timeline (keeps the <details> accordion). The day
   number is a node on a rail to the left of each card; the rail connects
   consecutive nodes, and a move (flight/sail) shows as a chip above the node. */
.evt-day{position:relative;margin:0 0 16px 62px;background:var(--surface);
  border:1px solid var(--border-soft);border-radius:var(--r-lg);
  transition:box-shadow var(--dur-base) var(--ease),border-color var(--dur-base) var(--ease)}
.evt-day::before{content:"";position:absolute;left:-40px;top:34px;bottom:-54px;width:2px;
  background:var(--border);z-index:0}
.evt-day:last-child::before{display:none}
.evt-day[open]{box-shadow:var(--shadow-2)}
.evt-day[data-move]{margin-top:34px}
.evt-day[data-move]::after{content:attr(data-move);position:absolute;left:-62px;top:-28px;
  display:inline-flex;align-items:center;height:22px;padding:0 11px;border-radius:var(--r-pill);
  background:var(--surface-sunken);border:1px solid var(--border-soft);white-space:nowrap;z-index:2;
  font-size:10px;font-weight:var(--fw-bold);letter-spacing:.03em;color:var(--text-muted)}
.evt-day summary{list-style:none;display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer}
.evt-day summary::-webkit-details-marker{display:none}
.evt-day .num{position:absolute;left:-62px;top:11px;width:44px;height:44px;flex:none;
  border-radius:50%;background:var(--surface);border:2px solid var(--border);z-index:2;
  display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;
  transition:background var(--dur-base) var(--ease),border-color var(--dur-base) var(--ease)}
.evt-day .num small{font-size:12px;font-weight:var(--fw-bold);letter-spacing:.03em;color:var(--text-muted)}
.evt-day .num b{font-size:1rem;font-weight:var(--fw-black);color:var(--text-heading);margin-top:1px}
.evt-day[open] .num{background:var(--action);border-color:var(--action)}
.evt-day[open] .num small{color:rgba(255,255,255,.72)}
.evt-day[open] .num b{color:var(--ev-white)}
.evt-day .ttl{flex:0 1 auto;min-width:0;font-size:1rem;font-weight:var(--fw-semi);color:var(--text-heading)}
/* title + the stay / meals chips under it */
.evt-day__main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.evt-chips{display:flex;flex-wrap:wrap;gap:6px 8px}
.evt-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 10px;border-radius:var(--r-pill);
  background:var(--surface-sunken);font-size:var(--fs-xs);font-weight:var(--fw-semi);color:var(--text-secondary);line-height:1.4}
.evt-chip svg{width:14px;height:14px;flex:none;color:var(--ev-ocean)}
.evt-day .chev{width:34px;height:34px;flex:none;border-radius:50%;background:var(--surface-sunken);
  display:grid;place-items:center}
.evt-day .chev svg{width:15px;height:15px;color:var(--text-heading);
  transition:transform var(--dur-base) var(--ease)}
.evt-day[open] .chev svg{transform:rotate(180deg)}
.evt-daybody{padding:0 18px 20px 18px}
.evt-daybody p{font-size:var(--fs-sm);color:var(--text-secondary);font-weight:var(--fw-light)}
.evt-daybody p + p{margin-top:12px}
/* the sites visited that day — one photo per stop */
.evt-sites{display:flex;gap:12px;margin-top:18px;overflow-x:auto;padding-bottom:6px;
  scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.evt-sites::-webkit-scrollbar{height:6px}
.evt-sites::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}
.evt-sites figure{flex:0 0 152px;margin:0;scroll-snap-align:start}
.evt-sites img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-md);
  background:var(--surface-sunken);transition:transform var(--dur-base) var(--ease)}
.evt-sites figure:hover img{transform:scale(1.03)}
.evt-sites figcaption{margin-top:9px;font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:0;color:var(--text-secondary);line-height:1.4}
.evt-sites figcaption em{display:block;font-style:normal;font-weight:var(--fw-regular);
  letter-spacing:0;text-transform:none;color:var(--text-muted);margin-top:2px}
@media(max-width:560px){.evt-sites figure{flex:0 0 132px}}

.evt-dayfoot{display:flex;flex-wrap:wrap;gap:20px;margin-top:16px;padding-top:14px;
  border-top:1px solid var(--border-soft)}
.evt-dayfoot div{display:flex;align-items:center;gap:8px;font-size:var(--fs-xs);color:var(--text-muted)}
.evt-dayfoot b{color:var(--text-secondary);font-weight:var(--fw-semi)}
.evt-dayfoot svg{width:15px;height:15px;color:var(--ev-ocean);flex:none}
/* open day: "Stay" and "Meals" bars (reference style) */
.evt-dbars{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.evt-dbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;padding:10px 14px;border-radius:var(--r-md);
  border:1px solid var(--border-soft);font-size:var(--fs-sm)}
.evt-dbar--stay{background:var(--surface-sunken)}
.evt-dbar__l{display:inline-flex;align-items:center;gap:8px;min-width:78px;font-weight:var(--fw-bold);color:var(--text-heading)}
.evt-dbar__l svg{width:17px;height:17px;flex:none;color:var(--ev-ocean)}
.evt-dbar__v{color:var(--text-secondary)}
.evt-meals{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none}
.evt-meals li{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:var(--r-pill);
  font-size:var(--fs-xs);font-weight:var(--fw-semi)}
.evt-meals svg{width:13px;height:13px;flex:none}
.evt-meals .is-on{background:var(--ok-wash);color:var(--ok-ink)}
.evt-meals .is-off{background:var(--surface-sunken);color:var(--text-muted);text-decoration:line-through}
/* photo bar under the day text: up to 3 in a row, more than 3 slide */
.evt-dgal{position:relative;margin-top:16px}
.evt-dgal__track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.evt-dgal[data-n="1"] .evt-dgal__track{grid-template-columns:minmax(0,1fr);max-width:340px}
.evt-dgal[data-n="2"] .evt-dgal__track{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}
.evt-dgal figure{margin:0;border-radius:var(--r-md);overflow:hidden;aspect-ratio:4/3;background:var(--surface-sunken)}
.evt-dgal img{width:100%;height:100%;object-fit:cover;display:block}
.evt-dgal.is-slider .evt-dgal__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  -webkit-overflow-scrolling:touch}
.evt-dgal.is-slider .evt-dgal__track::-webkit-scrollbar{display:none}
.evt-dgal.is-slider figure{flex:0 0 calc((100% - 20px) / 3);scroll-snap-align:start}
.evt-dgal__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;border:0;border-radius:50%;
  background:var(--surface);color:var(--text-heading);box-shadow:var(--shadow-2);cursor:pointer;display:grid;place-items:center}
.evt-dgal__nav[hidden]{display:none}
.evt-dgal__nav:disabled{opacity:.35;cursor:default}
.evt-dgal__nav svg{width:20px;height:20px}
.evt-dgal__nav--prev{left:8px}
.evt-dgal__nav--next{right:8px}
@media(max-width:700px){
  .evt-dgal__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .evt-dgal__track::-webkit-scrollbar{display:none}
  .evt-dgal figure,.evt-dgal.is-slider figure{flex:0 0 78%;scroll-snap-align:start}
  .evt-dgal[data-n="1"] .evt-dgal__track,.evt-dgal[data-n="2"] .evt-dgal__track{max-width:none}
}
/* season switch (Winter / Summer): shown by script only when every rate has a summer price */
.evt-seg{display:inline-flex;gap:4px;margin-top:var(--sp-5);padding:4px;border-radius:var(--r-lg);
  background:var(--surface-sunken);border:1px solid var(--border-soft)}
.evt-seg[hidden]{display:none}
.evt-seg button{display:flex;flex-direction:column;align-items:center;gap:1px;min-height:46px;padding:6px 22px;border:0;
  border-radius:var(--r-md);background:none;cursor:pointer;font:inherit;color:var(--text-secondary)}
.evt-seg button b{font-size:var(--fs-sm);font-weight:var(--fw-bold)}
.evt-seg button small{font-size:12px;opacity:.78}
.evt-seg button[aria-selected="true"]{background:var(--action);color:var(--ev-white)}
.is-seasonal-on .evt-h2__per{display:none}
/* an option without a name (a single price list) starts with its first rate */
.evt-tier .evt-rates:first-child{margin-top:0;border-top:0}
@media(max-width:560px){
  .evt-day{margin-left:48px}
  .evt-day::before{left:-30px}
  .evt-day .num{left:-48px;width:38px;height:38px}
  .evt-day[data-move]::after{left:-48px;font-size:9px}
  .evt-daybody{padding:0 16px 18px 16px}
}


/* ==========================================================================
   THE ROUTE, STOP BY STOP
   Generated by make.py from the itinerary days (see build_routes there), so
   it can never disagree with the programme underneath it. A horizontal track
   of places with the travel leg drawn between them.
   ========================================================================== */
/* NOT .evt-route — components.css already owns that for the tour card's
   route line, and this block silently inherited its uppercase. */
.evt-routemap{min-width:0;margin:0 0 var(--sp-7);padding:var(--sp-6);border-radius:var(--r-xl);
  background:var(--surface-sunken);border:1px solid var(--border-soft)}
.evt-routemap__head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-5);
  margin-bottom:var(--sp-5)}
.evt-routemap__head h3{font-size:1.15rem;font-weight:var(--fw-bold);color:var(--text-heading)}
.evt-routemap__nav{display:flex;gap:8px;flex:none}
.evt-routemap__btn{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;
  background:var(--surface);border:1px solid var(--border);color:var(--text-heading);
  transition:background var(--dur-fast) var(--ease),border-color var(--dur-fast) var(--ease),
             opacity var(--dur-fast) var(--ease)}
.evt-routemap__btn svg{width:16px;height:16px}
.evt-routemap__btn:hover{border-color:var(--action);background:var(--ev-navy-05)}
.evt-routemap__btn[disabled]{opacity:.34;pointer-events:none}
/* without script the track is simply scrollable, so the arrows would lie */
html:not(.ev-js) .evt-routemap__nav{display:none}

.evt-routemap__track{min-width:0;display:flex;align-items:stretch;gap:0;list-style:none;
  overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;
  padding-bottom:4px;-webkit-overflow-scrolling:touch}
.evt-routemap__track::-webkit-scrollbar{height:6px}
.evt-routemap__track::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}
.evt-routemap__track:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:var(--r-md)}

.evt-routemap__stop{flex:0 0 190px;scroll-snap-align:start;min-width:0;
  display:flex;flex-direction:column;gap:5px;padding:16px 18px;
  background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--r-lg)}
.evt-routemap__n{font-size:var(--fs-micro);font-weight:var(--fw-black);letter-spacing:.14em;
  color:var(--accent-ink)}
.evt-routemap__stop b{font-size:1.02rem;font-weight:var(--fw-bold);color:var(--text-heading);
  line-height:1.25}
.evt-routemap__days{font-size:var(--fs-xs);color:var(--text-muted)}
.evt-routemap__badge{align-self:flex-start;margin-top:8px;padding:4px 11px;border-radius:var(--r-pill);
  background:var(--surface-sunken);font-size:var(--fs-micro);font-weight:var(--fw-bold);
  color:var(--text-secondary);white-space:nowrap}

/* the leg between two stops */
.evt-routemap__move{flex:0 0 104px;min-width:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;padding:0 6px;text-align:center;
  position:relative}
.evt-routemap__move::before{content:"";position:absolute;left:0;right:0;top:50%;
  border-top:1.5px dashed var(--border);z-index:0}
.evt-routemap__ic{position:relative;z-index:1;width:34px;height:34px;display:grid;place-items:center;
  border-radius:50%;background:var(--surface);border:1.5px solid var(--ev-ocean);
  color:var(--ev-ocean)}
.evt-routemap__ic svg{width:16px;height:16px}
.evt-routemap__move b{position:relative;z-index:1;font-size:var(--fs-micro);font-weight:var(--fw-bold);
  color:var(--text-secondary);line-height:1.3;background:var(--surface-sunken);padding:0 4px}
.evt-routemap__move span{position:relative;z-index:1;font-size:var(--fs-micro);color:var(--text-muted);
  background:var(--surface-sunken);padding:0 4px}

@media(max-width:520px){
  .evt-routemap{padding:var(--sp-5)}
  .evt-routemap__stop{flex-basis:160px;padding:14px 15px}
  .evt-routemap__move{flex-basis:88px}
}


/* ---------- a day's photographs ----------
   Four or more and make.py wraps the strip in arrows (build_shots). The
   track is clipped by .evt-shots, which is what stopped the row running out
   past the day panel on a narrow screen. */
.evt-shots{position:relative;margin-top:18px;min-width:0}
.evt-shots .evt-sites{margin-top:0}
.evt-shots__btn{position:absolute;top:calc(50% - 22px);z-index:3;width:44px;height:44px;
  display:grid;place-items:center;border-radius:50%;background:var(--surface);
  border:1px solid var(--border);color:var(--text-heading);box-shadow:var(--shadow-2);
  transition:opacity var(--dur-fast) var(--ease),border-color var(--dur-fast) var(--ease)}
.evt-shots__btn svg{width:16px;height:16px}
.evt-shots__btn:hover{border-color:var(--action)}
.evt-shots__btn[disabled]{opacity:0;pointer-events:none}
.evt-shots__btn--prev{left:-14px}
.evt-shots__btn--next{right:-14px}
html:not(.ev-js) .evt-shots__btn{display:none}
.evt-sites:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:var(--r-md)}
@media(max-width:620px){
  .evt-shots__btn--prev{left:-6px}
  .evt-shots__btn--next{right:-6px}
}


/* ==========================================================================
   THE RAIL AS A FORM
   The sidebar used to be a price and a button that scrolled you to a form at
   the bottom of the page. It is the form now. Because it is taller than the
   viewport it scrolls inside itself rather than unsticking halfway down.
   ========================================================================== */
.evt-rail{max-height:calc(100dvh - var(--ev-header-h,76px) - 92px);overflow-y:auto;overscroll-behavior:contain}
.evt-rail::-webkit-scrollbar{width:6px}
.evt-rail::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}
@media(max-width:1080px){
  .evt-rail{position:static;max-height:none;overflow:visible}
}

.evt-railform{margin-top:var(--sp-5);padding-top:var(--sp-5);
  border-top:1px solid var(--border-soft)}
.evt-railform h3{font-size:1.02rem;font-weight:var(--fw-bold);color:var(--text-heading);
  margin-bottom:var(--sp-5)}
.evt-railform .evt-field{margin-bottom:12px}
.evt-railform__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.evt-railform__row > *{min-width:0}
.evt-railform .ev-btn{margin-top:6px}
.evt-railform__note{margin-top:11px;font-size:var(--fs-micro);line-height:1.5;color:var(--text-muted)}
/* the honeypot is off-screen, not display:none — a bot reads the CSS too */
.evt-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.evt-railactions{margin-top:12px}


/* ==========================================================================
   THE ENQUIRY SHEET (phones and tablets)
   On narrow screens the rail sits far down the page, so the dock's
   "Request this itinerary" opens the same price card as a bottom sheet
   instead of scrolling to it. Same form, same fields — one component.
   ========================================================================== */
.evt-railform__picked{margin:-8px 0 var(--sp-4);padding:10px 12px;border-radius:var(--r-md);
  background:var(--surface-sunken);font-size:var(--fs-xs);font-weight:var(--fw-semi);color:var(--text-heading)}
.evt-railform__picked[hidden]{display:none}
/* the season / tier the visitor picked travels in the hidden selection field; the note above the form is not shown */
.evt-railform__picked[data-picked]{display:none}
select.evt-input{appearance:none;cursor:pointer;padding-right:40px;
  background:var(--surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323272A' stroke-opacity='.66' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/16px}
.evt-sheet-close,.evt-sheet-backdrop{display:none}
@media(max-width:1080px){
  html.ev-sheet-open{overflow:hidden}
  .evt-pricecard.is-sheet{position:fixed;left:0;right:0;bottom:0;z-index:130;margin:0;
    max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;
    border-radius:var(--r-xl) var(--r-xl) 0 0;border-bottom:0;
    padding-bottom:calc(var(--sp-6) + env(safe-area-inset-bottom));
    box-shadow:0 -18px 48px rgba(12,51,82,.28);animation:evt-sheet-in var(--dur-base) var(--ease)}
  .evt-pricecard.is-sheet .evt-sheet-close{display:grid;position:sticky;top:0;margin:-6px -6px -38px auto;z-index:2;
    width:44px;height:44px;place-items:center;border-radius:50%;border:1px solid var(--border);
    background:var(--surface);color:var(--text-heading);cursor:pointer}
  .evt-sheet-close svg{width:18px;height:18px}
  .evt-sheet-backdrop.is-on{display:block;position:fixed;inset:0;z-index:129;background:rgba(12,51,82,.5);
    animation:evt-fade-in var(--dur-base) var(--ease)}
}
@keyframes evt-sheet-in{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
@keyframes evt-fade-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .evt-pricecard.is-sheet,.evt-sheet-backdrop.is-on{animation:none}
}


/* ==========================================================================
   ON THIS PAGE — the sticky sub-navigation every serious trip page carries.
   Sits under the sticky header (its height is measured into --ev-header-h by
   sections.js), marks the section in view, and brings the primary action
   along once the price card has scrolled away.
   ========================================================================== */
.evt-subnav{position:sticky;top:var(--ev-header-h,76px);z-index:40;margin-top:0;
  background:var(--surface);
  border-block:1px solid var(--border-soft)}
.evt-subnav .evt-container{display:flex;align-items:center;gap:var(--sp-5)}
.evt-subnav ul{display:flex;gap:2px;margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}
.evt-subnav ul::-webkit-scrollbar{display:none}
.evt-subnav a:not(.ev-btn){position:relative;display:inline-flex;align-items:center;min-height:52px;padding:0 14px;
  white-space:nowrap;font-size:var(--fs-sm);font-weight:var(--fw-semi);color:var(--text-secondary);
  transition:color var(--dur-fast) var(--ease)}
.evt-subnav a:not(.ev-btn):hover{color:var(--text-heading)}
.evt-subnav a[aria-current="true"]{color:var(--text-heading)}
.evt-subnav a[aria-current="true"]::after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:3px;
  border-radius:3px 3px 0 0;background:var(--accent)}
.evt-subnav__cta{flex:none;opacity:0;visibility:hidden;transition:opacity var(--dur-base) var(--ease),visibility var(--dur-base) step-end}
.evt-subnav.is-stuck .evt-subnav__cta{opacity:1;visibility:visible;transition:opacity var(--dur-base) var(--ease),visibility 0s}
.evt-block[id],#reviews2-title{scroll-margin-top:calc(var(--ev-header-h,76px) + 64px)}
@media(max-width:1080px){.evt-subnav__cta{display:none}}   /* the price bar owns the action here */
@media(max-width:700px){
  .evt-subnav{-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent)}
  .evt-subnav a:not(.ev-btn){min-height:48px;padding:0 12px}
}


/* ==========================================================================
   KEY FACTS — big, quiet numerals (the A&K / Audley pattern) instead of four
   icon tiles. Same markup: the icons step back, the facts step forward.
   ========================================================================== */
.evt-meta{display:flex;flex-wrap:wrap;align-items:stretch;gap:0;
  border:1px solid var(--border-soft);border-radius:var(--r-lg);background:var(--surface-sunken);overflow:hidden}
.evt-meta > div{flex:0 1 auto;display:flex;align-items:center;gap:12px;padding:13px 20px;
  background:none;border-left:1px solid var(--border-soft)}
.evt-meta > div:first-child{border-left:0}
.evt-meta .ic{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:var(--r-md);
  background:var(--surface);color:var(--ev-ocean)}
.evt-meta .ic svg{width:18px;height:18px}
.evt-meta .txt{min-width:0}
/* valid <dl>: each group is div > dt + dd; the icon sits inside dt, which is laid out through its children (display:contents) */
.evt-meta > div{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
.evt-meta dt{display:contents}
.evt-meta .ic{grid-row:1 / span 2}
.evt-meta .lbl{grid-column:2;align-self:end;font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:0;color:var(--text-muted)}
.evt-meta dt,.evt-meta dd{margin-left:0}
.evt-meta dd{grid-column:2;align-self:start;margin-top:2px;font-size:var(--fs-sm);font-weight:var(--fw-semi);color:var(--text-heading);
  letter-spacing:0;line-height:1.3}
/* "where you stay" cell: grows to fill the bar and holds the nights-by-city chips */
.evt-meta__stay{flex:1 1 260px;min-width:0}
.evt-legs{display:flex;flex-wrap:wrap;gap:6px 7px}
.evt-leg{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:var(--r-pill);
  background:var(--surface);font-size:var(--fs-xs);font-weight:var(--fw-semi);color:var(--text-heading)}
.evt-leg b{font-weight:var(--fw-bold);color:var(--ev-ocean)}
@media(max-width:760px){
  .evt-meta{flex-direction:column}
  .evt-meta > div,.evt-meta__stay{flex:1 1 auto;border-left:0;border-top:1px solid var(--border-soft)}
  .evt-meta > div:first-child{border-top:0}
}

.evt-check{display:flex;align-items:center;gap:10px;min-height:44px;margin:-4px 0 8px;font-size:var(--fs-sm);
  color:var(--text-secondary);cursor:pointer}
.evt-check input{width:18px;height:18px;accent-color:var(--ev-ocean);flex:none}
.evt-railperson{display:flex;align-items:center;gap:12px;margin-top:var(--sp-5);padding-top:var(--sp-5);
  border-top:1px solid var(--border-soft)}
.evt-railperson img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--surface-sunken);flex:none}
.evt-railperson span{font-size:var(--fs-sm);color:var(--text-secondary);line-height:1.4}
.evt-railperson b{color:var(--text-heading)}
.evt-railperson small{display:block;font-size:var(--fs-xs);color:var(--text-muted)}

.evt-day[open],.evt-qa[open],.ev-accordion__item[open]{border-color:color-mix(in srgb,var(--ev-ocean) 35%,var(--border-soft))}
.evt-expandall{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;padding:0 4px;border:0;background:none;
  font:inherit;font-size:var(--fs-sm);font-weight:var(--fw-semi);color:var(--text-link);cursor:pointer;
  text-decoration:underline;text-underline-offset:3px}
.evt-daytools{display:flex;margin:-8px 0 8px}


/* finish-review fixes: flat route strip, no nested scroll */
.evt-routemap{background:none;border:0;padding:0;box-shadow:none}
.evt-tier--best{border-color:var(--ev-ocean)}
.evt-tier--best::after{background:var(--ev-navy);color:var(--ev-white)}
/* The rail no longer scrolls inside itself: it is a normal column, so the
   whole form and its button are reachable. The action follows the reader
   in the "On this page" bar once the price card scrolls away. */
.evt-rail{position:static;max-height:none;overflow:visible}
/* phones: the price bar replaces the app bar on trip pages — one fixed bar */
@media(max-width:900px){
  body:has(.evt-bar) .ev-appbar{display:none!important}
  body:has(.evt-bar) .evt-bar{bottom:0}
  body:has(.evt-bar) .ev-whatsapp{display:none}
  body:has(.evt-bar) .ev-footer__bar{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
}

/* key facts: compact — small icon tile, muted label, normal value (reference style) */
.evt-meta dd .n{font-weight:var(--fw-bold);margin-right:3px}
@media(min-width:1081px){
  /* reference layout: the enquiry form is inline in the sticky rail (no dialog trigger) */
  .evt-rail{position:sticky;top:calc(var(--ev-header-h,76px) + 68px);align-self:start;
    max-height:calc(100dvh - var(--ev-header-h,76px) - 92px);overflow-y:auto;overscroll-behavior:contain}
  .evt-pricecard .evt-railcta{display:none}
  .evt-subnav__cta{display:none}
}
.evt-railcta{display:none;flex-direction:column;gap:10px;margin-top:var(--sp-5)}

/* the enquiry dialog on desktop — the same card, centred */
@media(min-width:1081px){
  html.ev-sheet-open{overflow:hidden}
  .evt-pricecard.is-sheet{position:fixed;z-index:130;left:50%;top:50%;transform:translate(-50%,-50%);
    width:min(560px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;
    box-shadow:var(--shadow-3);animation:none}
  .evt-pricecard.is-sheet .evt-railform{display:block}
  .evt-pricecard.is-sheet .evt-railcta,.evt-pricecard.is-sheet .evt-railactions,.evt-pricecard.is-sheet .evt-reassure{display:none}
  .evt-pricecard.is-sheet .evt-sheet-close{display:grid;position:sticky;top:0;margin:-6px -6px -38px auto;z-index:2;
    width:44px;height:44px;place-items:center;border-radius:50%;border:1px solid var(--border);
    background:var(--surface);color:var(--text-heading);cursor:pointer}
  .evt-sheet-backdrop.is-on{display:block;position:fixed;inset:0;z-index:129;background:rgba(12,51,82,.5)}
}
html.ev-sheet-open .evt-rail{z-index:131;position:relative}
@media(min-width:1081px){html.ev-sheet-open .evt-rail{position:sticky}}
html.ev-sheet-open .ev-whatsapp{display:none}

/* DESIGN.md conformance */
.evt-subnav a[aria-current="true"]::after{background:var(--ev-ocean)}
.evt-routemap__n{color:var(--text-link)}
.evt-routemap__ic{border-color:var(--ev-ocean);color:var(--ev-ocean)}
.evt-highlights .n{font-size:var(--fs-micro)}

/* ==========================================================================
   Design standard: highlight cards with icons, a photo per itinerary day, selectable plan cards.
   ========================================================================== */
.evt-highlights--cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:12px;list-style:none;padding:0}
.evt-highlights--cards li{display:flex;gap:13px;align-items:flex-start;padding:18px;border:1px solid var(--border-soft);
  border-radius:var(--r-md);background:var(--surface-sunken)}
.evt-highlights--cards .ic{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:var(--r-md);
  background:var(--surface);color:var(--ev-ocean)}
.evt-highlights--cards .ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.evt-highlights--cards .evt-hl-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.evt-highlights--cards .evt-hl-t{color:var(--text-heading);font-weight:var(--fw-bold);line-height:1.3}
.evt-highlights--cards .evt-hl-body span{font-size:var(--fs-sm);color:var(--text-secondary);line-height:1.5}
.evt-day__media{margin:0 0 14px;border-radius:var(--r-md);overflow:hidden;aspect-ratio:5/3;max-width:420px;background:var(--surface-sunken)}
.evt-day__media img{width:100%;height:100%;object-fit:cover}
.evt-tier__pick{margin-top:14px;width:100%;min-height:44px;border:1.5px solid var(--border);border-radius:var(--r-pill);
  background:var(--surface);color:var(--text-heading);font:inherit;font-weight:var(--fw-semi);cursor:pointer}
.evt-tier__pick:hover{border-color:var(--btn-cta-bg)}
.evt-tier.is-picked{border-color:var(--btn-cta-bg);box-shadow:0 0 0 2px var(--btn-cta-bg)}
.evt-tier.is-picked .evt-tier__pick{background:var(--btn-cta-bg);border-color:var(--btn-cta-bg);color:var(--btn-cta-fg)}

/* Day tours: the itinerary as a timeline of stops (Start, Stop 1, Stop 2 ..., Lunch, End), no clock times.
   Markup: egy_ev_stops_html() in inc/modules/ev/trip-render.php; the look of the design's day tour (templates/day.css). */
.evd-stops{position:relative;list-style:none;margin:var(--sp-5) 0 0;padding:0 0 0 132px}
.evd-stops::before{content:"";position:absolute;left:95px;top:14px;bottom:36px;width:2px;background:var(--border-soft)}
.evd-stop{position:relative;padding-bottom:var(--sp-5)}
.evd-stop:last-child{padding-bottom:0}
.evd-stop__time{position:absolute;left:-132px;top:2px;width:76px;text-align:right}
.evd-stop__time b{display:block;font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--text-heading);line-height:1.2}
.evd-stop__dot{position:absolute;left:-44px;top:3px;width:16px;height:16px;border-radius:50%;
  background:var(--surface);border:3px solid var(--action);z-index:1}
.evd-stop--optional .evd-stop__dot{border-color:var(--ev-ocean);border-style:dashed}
.evd-stop--end .evd-stop__dot{background:var(--action)}
.evd-stop__card{display:grid;grid-template-columns:200px 1fr;border:1px solid var(--border-soft);border-radius:var(--r-lg);
  overflow:hidden;background:var(--surface);transition:box-shadow var(--dur-base) var(--ease)}
.evd-stop__card:hover{box-shadow:var(--shadow-2)}
.evd-stop__card--plain{grid-template-columns:1fr}
.evd-stop__media{position:relative;overflow:hidden;background:var(--surface-sunken);min-height:150px}
.evd-stop__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform var(--dur-slow) var(--ease)}
.evd-stop__card:hover .evd-stop__media img{transform:scale(1.04)}
.evd-stop__body{padding:18px 20px}
.evd-stop__body h3{font-size:1.05rem;font-weight:var(--fw-bold);line-height:var(--lh-tight);color:var(--text-heading)}
.evd-stop__body p,.evd-stop__body li{font-size:var(--fs-sm);color:var(--text-secondary)}
.evd-stop__body p{margin-top:8px}
.evd-stop__body > p:first-child{margin-top:0}
.evd-stop__body ul,.evd-stop__body ol{margin:8px 0 0 1.1em}
.evd-stops + .evt-dbars{margin-top:var(--sp-5)}
.evd-notes{margin-top:var(--sp-5);padding:16px 20px;border-radius:var(--r-lg);background:var(--surface-sunken);font-size:var(--fs-sm)}
@media(max-width:760px){
  .evd-stops{padding-left:0}
  .evd-stops::before{display:none}
  .evd-stop__time{position:static;width:auto;text-align:left;margin-bottom:8px}
  .evd-stop__dot{display:none}
}
@media(max-width:560px){.evd-stop__card{grid-template-columns:1fr}.evd-stop__media{aspect-ratio:16/9;min-height:0}}

/* Policies (Megz, 2026-10-26: a different design from the pill tabs): a vertical list of policies with an icon tile each, the chosen
   policy's text in a panel beside it; on phones a row of icon buttons that scrolls sideways, the text under it. Same markup as before
   (.evt-notetabs buttons with data-note, .evt-notepanel with data-panel), so the tab script and every trip kind keep working. */
#policies{display:grid;grid-template-columns:250px minmax(0,1fr);column-gap:var(--sp-5);align-items:start}
#policies > .evt-h2{grid-column:1/-1}
#policies .evt-notetabs{grid-column:1;grid-row:2;flex-direction:column;flex-wrap:nowrap;gap:8px;margin-top:var(--sp-5)}
#policies .evt-notetabs button{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 14px;text-align:left;
  border:1px solid var(--border-soft);border-radius:var(--r-md);background:var(--surface);color:var(--text-heading);
  font-size:var(--fs-sm);font-weight:var(--fw-semi);cursor:pointer}
#policies .evt-notetabs button::before{content:"";flex:0 0 34px;height:34px;border-radius:10px;
  background-color:var(--surface-sunken);background-image:var(--pol-ic);background-repeat:no-repeat;background-position:center;background-size:18px}
#policies .evt-notetabs button::after{content:"";margin-left:auto;width:8px;height:8px;border-top:2px solid currentColor;
  border-right:2px solid currentColor;transform:rotate(45deg);opacity:.35}
#policies .evt-notetabs button:hover{border-color:var(--ev-sky)}
#policies .evt-notetabs button[aria-selected="true"]{background:var(--action);border-color:var(--action);color:var(--ev-white)}
#policies .evt-notetabs button[aria-selected="true"]::before{background-color:rgba(255,255,255,.14);filter:brightness(0) invert(1)}
#policies .evt-notetabs button[aria-selected="true"]::after{opacity:.9}
#policies .evt-notepanel{grid-column:2;grid-row:2;margin-top:var(--sp-5);min-height:100%;padding:var(--sp-6);
  border:1px solid var(--border-soft);background:var(--surface);border-radius:var(--r-lg)}
#policies .evt-notepanel > p:first-child{margin-top:0}
#policies .evt-notepanel p + p{margin-top:10px}
#policies .evt-notetabs button{--pol-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4M10 9H8M16 13H8M16 17H8'/%3E%3C/svg%3E")}
#policies .evt-notetabs button[data-note="price"]{--pol-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E")}
#policies .evt-notetabs button[data-note="confirm"]{--pol-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
#policies .evt-notetabs button[data-note="cancel"]{--pol-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M10 14l4 4M14 14l-4 4'/%3E%3C/svg%3E")}
#policies .evt-notetabs button[data-note="children"]{--pol-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}
#policies .evt-notetabs button[data-note="tipping"]{--pol-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18M7 6h1v4M16.71 13.88l.7.71-2.82 2.82'/%3E%3C/svg%3E")}
@media(max-width:760px){
  #policies{display:block}
  #policies .evt-notetabs{flex-direction:row;overflow-x:auto;scrollbar-width:none;margin:var(--sp-4) -16px 0;padding:0 16px 4px;scroll-snap-type:x proximity}
  #policies .evt-notetabs::-webkit-scrollbar{display:none}
  #policies .evt-notetabs button{flex:0 0 auto;width:auto;min-height:48px;white-space:nowrap;padding:7px 14px 7px 8px;scroll-snap-align:start;font-size:var(--fs-xs)}
  #policies .evt-notetabs button::before{flex-basis:30px;height:30px;background-size:16px}
  #policies .evt-notetabs button::after{display:none}
  #policies .evt-notepanel{margin-top:var(--sp-4);padding:var(--sp-5)}
}

/* Day tours: stop tags, "Timing, pickup and what to bring", prices by group size and optional add-ons
   (design: egyvacations-templates-v2 templates/day.css; markup: trip-render.php egy_ev_logistics_html / egy_ev_groupprice_html). */
.evd-h3{margin-top:var(--sp-7);font-size:var(--fs-body);font-weight:var(--fw-bold);color:var(--text-heading)}
.evd-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.evd-tags span{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:var(--r-sm);
  background:var(--surface-sunken);font-size:var(--fs-micro);font-weight:var(--fw-semi);color:var(--text-secondary)}
.evd-tags svg{width:12px;height:12px;color:var(--ev-ocean)}
.evd-tags .opt{background:color-mix(in srgb,var(--ev-ocean) 10%,var(--surface));color:var(--ev-navy)}
.evd-logistics{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin-top:var(--sp-6);
  border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;background:var(--border-soft)}
.evd-logistics > div{display:flex;gap:14px;padding:20px;background:var(--surface)}
.evd-logistics .ic{width:42px;height:42px;flex:none;border-radius:var(--r-md);background:var(--action);display:grid;place-items:center;color:var(--ev-white)}
.evd-logistics .ic svg{width:20px;height:20px}
.evd-logistics dt{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:var(--ls-micro);text-transform:uppercase;color:var(--text-muted)}
.evd-logistics dd{font-size:var(--fs-sm);font-weight:var(--fw-semi);color:var(--text-heading);margin-top:4px}
.evd-logistics dd small{display:block;font-size:var(--fs-xs);font-weight:var(--fw-regular);color:var(--text-secondary);margin-top:4px;line-height:1.55}
.evd-bring{display:grid;grid-template-columns:repeat(2,1fr);gap:12px var(--sp-7);margin-top:var(--sp-5);list-style:none;padding:0}
.evd-bring li{display:flex;gap:12px;font-size:var(--fs-sm);color:var(--text-secondary)}
.evd-bring svg{width:18px;height:18px;flex:none;color:var(--ev-ocean);margin-top:2px}
.evd-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:var(--sp-6)}
.evd-tier{position:relative;padding:var(--sp-5);border:1.5px solid var(--border-soft);border-radius:var(--r-lg);background:var(--surface);
  text-align:center;transition:border-color var(--dur-fast) var(--ease)}
.evd-tier:hover{border-color:var(--ev-sky)}
.evd-tier--best{border-color:var(--accent)}
.evd-tiers .evd-tier--best::after{content:attr(data-badge);position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:3px 12px;
  border-radius:var(--r-pill);background:var(--accent);color:var(--on-accent);font-size:var(--fs-micro);font-weight:var(--fw-bold);
  letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.evd-tier .who{font-size:var(--fs-micro);font-weight:var(--fw-bold);letter-spacing:var(--ls-micro);text-transform:uppercase;color:var(--text-muted)}
.evd-tier b{display:block;font-size:1.75rem;font-weight:var(--fw-black);color:var(--text-heading);letter-spacing:var(--ls-heading);line-height:1;margin-top:10px}
.evd-tier .per{display:block;font-size:var(--fs-micro);color:var(--text-muted);margin-top:6px}
.evd-addons{display:flex;flex-direction:column;gap:10px;margin-top:var(--sp-5)}
.evd-addon{display:flex;align-items:center;gap:16px;padding:16px 20px;border:1px solid var(--border-soft);border-radius:var(--r-lg);background:var(--surface)}
.evd-addon .ic{width:38px;height:38px;flex:none;border-radius:var(--r-md);background:var(--accent-wash);display:grid;place-items:center;color:var(--accent)}
.evd-addon .ic svg{width:18px;height:18px}
.evd-addon .t{flex:1;min-width:0}
.evd-addon b{display:block;font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--text-heading)}
.evd-addon .t span{display:block;font-size:var(--fs-xs);color:var(--text-secondary);margin-top:3px}
.evd-addon .p{font-size:1.05rem;font-weight:var(--fw-black);color:var(--text-heading);letter-spacing:var(--ls-heading);white-space:nowrap}
.evd-addon .p em{font-style:normal;font-size:var(--fs-micro);font-weight:var(--fw-regular);color:var(--text-muted)}
@media(max-width:640px){.evd-logistics,.evd-bring{grid-template-columns:1fr}}
@media(max-width:560px){.evd-addon{flex-wrap:wrap}.evd-addon .t{flex:1 1 100%;order:3}}

/* Related trips under a trip page: the cards fill the whole row (3 cards = a third each), whatever their number (Megz, 2026-10-27). */
@media(min-width:1081px){.evt-related .evt-cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}

/* photo lightbox (assets/js/ev-trip.js): one photo, arrows, count, thumbnails */
.evt-lb{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:rgba(6,22,38,.94);color:#fff;
  grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.evt-lb[open]{display:grid}
.evt-lb::backdrop{background:rgba(6,22,38,.6)}
.evt-lb__top{display:flex;align-items:center;justify-content:space-between;padding:14px 18px}
.evt-lb__count{font-size:var(--fs-sm);font-weight:var(--fw-semi);font-variant-numeric:tabular-nums;color:rgba(255,255,255,.82)}
.evt-lb__close{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}
.evt-lb__close:hover{background:rgba(255,255,255,.18)}
.evt-lb__stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:0 80px}
.evt-lb__fig{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;max-height:100%;margin:0;min-height:0}
.evt-lb__img{display:block;max-width:100%;max-height:calc(100dvh - 210px);width:auto;height:auto;object-fit:contain;border-radius:10px;user-select:none}
.evt-lb__cap{margin-top:10px;max-width:70ch;text-align:center;font-size:var(--fs-sm);color:rgba(255,255,255,.75)}
.evt-lb__cap:empty{display:none}
.evt-lb__nav{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:52px;height:52px;border:0;border-radius:50%;
  background:#fff;color:var(--ev-navy);box-shadow:0 6px 20px rgba(0,0,0,.3);cursor:pointer;transition:transform var(--dur-fast) var(--ease)}
.evt-lb__nav:hover{transform:translateY(-50%) scale(1.06)}
.evt-lb__nav--prev{left:16px}
.evt-lb__nav--next{right:16px}
.evt-lb__thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 18px 16px;scrollbar-width:thin;justify-content:safe center}
.evt-lb__thumbs button{flex:none;width:76px;height:52px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:none;opacity:.55;cursor:pointer;transition:opacity var(--dur-fast) var(--ease)}
.evt-lb__thumbs button:hover{opacity:.85}
.evt-lb__thumbs button[aria-current="true"]{opacity:1;border-color:var(--accent)}
.evt-lb__thumbs img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:640px){
  .evt-lb__stage{padding:0 8px}
  .evt-lb__nav{width:42px;height:42px;background:rgba(255,255,255,.88)}
  .evt-lb__nav--prev{left:6px}
  .evt-lb__nav--next{right:6px}
  .evt-lb__img{max-height:calc(100dvh - 190px)}
  .evt-lb__thumbs button{width:60px;height:42px}
}
