/* ==========================================================================
   SGO DMC inbound site: inner pages (every page linked from the menu).
   Loaded after main.css and built on the same tokens (Design-System-Guide-SGO-Inbound.md):
   radius 8 / 12 / 16, section padding capped at 50px, teal primary,
   saffron only for "Plan my trip", form submits, progress and focus.
   Each block below is one shared component rendered by assets/js/ui.js.
   ========================================================================== */

/* ---------- Layout helpers ---------- */
.page-plain main { padding-top: calc(var(--header-h) + var(--ref-h)); }
.page-tour.page-plain main { padding-top: 0; }   /* tour pages pad the body already (main.css) */
.tours__foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.section--white { background: var(--surface); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5) var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-7); }
.head-row .section-head { margin-bottom: 0; }
a.tour__img { display: block; }
.tour__route { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Header: current page marker ---------- */
.nav-trigger { position: relative; }
.nav-trigger::after {
  content: ""; position: absolute; left: 12px; right: 30px; bottom: 4px; height: 2px;
  background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav-trigger.is-current::after, .nav-trigger:hover::after { transform: scaleX(1); }
.nav .dropdown a[aria-current="page"] { background: var(--teal-50); }
.nav .dropdown a[aria-current="page"] strong { color: var(--teal-700); }
.mobile-menu { overflow-y: auto; }
.mobile-menu nav a { font-size: clamp(22px, 6.4vw, 28px); }
.mobile-menu nav a[aria-current="page"] { color: var(--saffron); }
.mobile-menu .btn { margin-top: auto; flex: none; }

/* ---------- Language switcher: flag in the header, named list in the dropdown ---------- */
.flag { width: 24px; height: 18px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(19 35 38 / .14); }
.lang-switch .lang-switch__btn { gap: 6px; padding: 8px; }
.lang-switch .lang-switch__btn::after { display: none; }
.dropdown--lang { left: auto; right: 0; min-width: 210px; translate: 0 8px; }
.lang-switch.is-open .dropdown--lang { translate: 0 0; }
.dropdown--lang a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; }
.dropdown--lang a:hover { background: var(--teal-50); }
.dropdown--lang a[aria-current] { font-weight: 600; color: var(--teal-700); }
.lang-switch__check { width: 16px; height: 16px; margin-left: auto; color: var(--teal-600); }
.mobile-menu__langs { display: flex; gap: var(--s-2); }
.lang-switch__label { font-size: 15px; font-weight: 600; white-space: nowrap; }
.mobile-menu__langs { flex-wrap: wrap; }
.mobile-menu__langs a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; height: 44px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid rgb(255 255 255 / .18); font-size: 14px; font-weight: 600; }
.mobile-menu__langs a[aria-current] { border-color: var(--saffron); box-shadow: inset 0 0 0 1px var(--saffron); }
.mobile-menu__langs .flag { width: 28px; height: 21px; }

/* ---------- Footer additions ---------- */
.footer__contact { display: grid; gap: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / .86); }
.footer__contact a:hover { color: #fff; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--saffron); }
.footer__col a[aria-current="page"] { color: #fff; }

/* ==========================================================================
   TITLES
   ========================================================================== */
/* ---------- Page hero (photo band; header stays transparent over it) ---------- */
.page-hero {
  position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate;
  min-height: clamp(460px, 68vh, 640px); color: #fff; background: var(--teal-950);
}
.page-hero--md { min-height: clamp(400px, 56vh, 540px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 45%; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(11 38 41 / .55) 0%, rgb(11 38 41 / 0) 26%),
    linear-gradient(0deg, rgb(11 38 41 / .9) 0%, rgb(11 38 41 / .38) 46%, rgb(11 38 41 / 0) 74%),
    linear-gradient(90deg, rgb(11 38 41 / .5) 0%, rgb(11 38 41 / 0) 62%);
}
.page-hero__inner { padding-top: calc(var(--header-h) + var(--ref-h) + 32px); padding-bottom: var(--s-8); }
.page-hero__content { max-width: 760px; display: grid; gap: var(--s-4); }
.page-hero__title { font-size: clamp(36px, 4.8vw, 64px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.page-hero__lead { font-size: var(--fs-md); line-height: 1.6; color: rgb(255 255 255 / .86); max-width: 52ch; }
.page-hero__extra { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.breadcrumb--light { padding-top: 0; color: rgb(255 255 255 / .78); }
.breadcrumb--light a:hover { color: #fff; }
.js:not(.is-ready) [data-page-hero] .page-hero__content { opacity: 0; }

/* ---------- Page head (plain pages: plan, legal) ---------- */
.page-head { display: grid; gap: var(--s-3); justify-items: start; padding-block: var(--s-5) var(--s-7); }
.page-head .breadcrumb { padding-top: 0; }
.page-head__title { font-size: clamp(34px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; max-width: 20ch; }
.page-head__extra { margin-top: var(--s-2); }

/* ==========================================================================
   LISTING (day tours, multi-day tours, experiences)
   ========================================================================== */
/* ---------- "Where are you staying?" quick picks ---------- */
.start-picks { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.start-picks__inner { display: grid; gap: var(--s-3); padding-block: var(--s-5); }
.start-picks__label { font-size: 15px; font-weight: 600; }
.start-picks__row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.start-picks__row::-webkit-scrollbar { display: none; }
.start-pick {
  flex: none; display: flex; align-items: center; gap: var(--s-3); padding: 6px 16px 6px 6px; text-align: left;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.start-pick:hover { border-color: var(--teal-200); }
.start-pick[aria-pressed="true"] { border-color: var(--teal-600); background: var(--teal-50); }
.start-pick__img { width: 48px; height: 48px; border-radius: var(--r-sm); overflow: hidden; flex: none; background: var(--teal-100); }
.start-pick__img img { width: 100%; height: 100%; object-fit: cover; }
.start-pick strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.start-pick small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- Filter bar (sticky under the header on desktop) ---------- */
.listing { padding-bottom: var(--section-y); }
.filterbar {
  position: sticky; top: calc(var(--header-h) + var(--ref-h)); z-index: 30;
  background: rgb(245 248 247 / .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); transition: top .5s var(--ease);
}
body:has(.site-header.is-hidden) .filterbar { top: var(--ref-h); }
.filterbar__inner { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-5); padding-block: var(--s-3); }
.filterbar .tabs { padding: 4px; }
.filterbar .tab { height: 32px; padding: 0 12px; }
.filterbar__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-chip {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; gap: 0;
  font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.choice-chip:hover { border-color: var(--teal-200); color: var(--teal-700); }
.choice-chip .icon { width: 0; height: 16px; opacity: 0; transition: width .3s var(--ease), opacity .3s var(--ease); }
.choice-chip[aria-pressed="true"] { gap: 6px; background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.choice-chip[aria-pressed="true"] .icon { width: 16px; opacity: 1; }
.choice-chip:active { transform: scale(.97); }
.filterbar__selects { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-left: auto; }
.mini-select { display: inline-flex; }
.mini-select .select { min-width: 150px; }
.mini-select .select select { height: 40px; font-size: 14px; font-weight: 500; padding: 0 34px 0 36px; }
.mini-select .select .icon { right: 12px; }
.mini-select .select .select__lead { left: 12px; right: auto; color: var(--teal-600); }
.nowrap { white-space: nowrap; }

.listing__status { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding-block: var(--s-5) var(--s-4); }
.listing__count { font-size: 14px; color: var(--muted); }
.listing__clear { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--teal-700); }
.listing__clear:hover { background: var(--teal-50); }
.listing__clear .icon { width: 16px; height: 16px; }
.listing .empty-state { margin-top: var(--s-2); }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

/* ---------- Experience card (no box: photo, then text) ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.exp-card { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.exp-card[hidden] { display: none; }
.exp-card__img { display: block; height: clamp(280px, 27vw, 380px); border-radius: var(--r-md); overflow: hidden; background: var(--teal-100); }
.exp-card.is-featured { grid-column: span 2; }
@media (min-width: 992px) { .exp-card.is-wide { grid-column: span 2; } }
.exp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.exp-card:hover .exp-card__img img { scale: 1.05; }
.exp-card__body { flex: 1; display: flex; flex-direction: column; gap: var(--s-2); }
.exp-card__host { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.exp-card__host .icon { margin-top: 1px; }
.exp-card__host .icon { width: 16px; height: 16px; color: var(--teal-600); }
.exp-card__host.is-partner { color: var(--teal-700); }
.exp-card__host a { text-decoration: underline; text-decoration-color: var(--teal-200); text-underline-offset: 3px; }
.exp-card__host a:hover { text-decoration-color: currentColor; }
.exp-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.exp-card h3 a { transition: color .3s var(--ease); }
.exp-card h3 a:hover { color: var(--teal-700); }
.exp-card__text { font-size: 14px; line-height: 1.55; color: var(--muted); }
.exp-card .tour__foot { margin-top: auto; }

/* ---------- Media + icon list (listing interludes, About) ---------- */
.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-9); align-items: center; }
.feature-split__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--teal-100); }
.feature-split__img img { width: 100%; height: 116%; object-fit: cover; }
.feature-split__body { display: grid; gap: var(--s-5); }
.feature-split__body .section-head { margin-bottom: 0; }
.icon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.icon-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.icon-list__icon { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.icon-list__icon .icon { width: 22px; height: 22px; }
.icon-list h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.icon-list p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.feature-split .incl { gap: var(--s-5); }

/* ==========================================================================
   CALL TO ACTION BAND (last section before the footer)
   ========================================================================== */
.cta-band { background: var(--teal-900); color: #fff; }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-9); align-items: center; }
.cta-band__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--teal-800); }
.cta-band__img img { width: 100%; height: 116%; object-fit: cover; }
.cta-band__body { display: grid; gap: var(--s-4); justify-items: start; }
.cta-band .eyebrow { color: var(--saffron); }
.cta-band .lead { color: rgb(255 255 255 / .8); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-2); }
.cta-band__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .9); }
.cta-band__link .icon { width: 20px; height: 20px; color: var(--saffron); }
.cta-band__link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   DESTINATIONS
   ========================================================================== */
/* ---------- Region switcher hero (Destinations hub) ---------- */
.region-hero { padding-bottom: var(--section-y); }
.region-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-9); align-items: stretch; padding-top: var(--s-5); }
.region-hero__text { display: grid; gap: var(--s-4); align-content: start; }
.region-hero__text .breadcrumb { padding-top: 0; }
.region-list { margin-top: var(--s-3); border-top: 1px solid var(--line); }
.region-link { display: grid; grid-template-columns: 1fr 26px; gap: var(--s-4); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.region-link__thumb { display: none; width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; background: var(--teal-100); }
.region-link__thumb img { width: 100%; height: 100%; object-fit: cover; }
.region-link strong { display: block; font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; transition: color .3s var(--ease); }
.region-link small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.region-link > .icon { width: 26px; height: 26px; color: var(--teal-600); transition: transform .45s var(--ease); }
.region-link.is-active strong, .region-link:hover strong { color: var(--teal-700); }
.region-link.is-active > .icon, .region-link:hover > .icon { transform: translate(3px, -3px); }
.region-hero__media { position: relative; min-height: 540px; border-radius: var(--r-lg); overflow: hidden; background: var(--teal-800); }
.region-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity .9s var(--ease), scale 1.6s var(--ease); }
.region-hero__media img.is-active { opacity: 1; scale: 1; }

/* ---------- Places: scroll row (region pages) and grid (hub) ---------- */
.places { --card-h: clamp(260px, 40vh, 400px); overflow: hidden; }
.row-scroll {
  display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .dest-card { scroll-snap-align: start; }
.row-scroll .dest-card__img img { width: 100%; margin-left: 0; }
.place-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.place-grid .dest-card { width: auto; }
.place-grid .dest-card__img { height: auto; aspect-ratio: .78; }
.place-grid .dest-card__img img { width: 100%; margin-left: 0; }
.place-grid .dest-card[hidden] { display: none; }

/* ---------- Region page: intro + facts ---------- */
.region-intro__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-9); align-items: start; }
.region-intro__text { display: grid; gap: var(--s-4); justify-items: start; }
.region-intro__text p { color: var(--ink-2); max-width: 60ch; }
.facts--grid { margin: 0; padding: var(--s-6); gap: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.facts--grid .fact dd { font-size: 16px; line-height: 1.45; }

/* ---------- Tours in a region: type tabs ---------- */
.trips { background: var(--surface); }
.tab__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 6px; background: var(--teal-100); color: var(--teal-700); font-size: 12px; font-weight: 700; }
.tab[aria-selected="true"] .tab__count { background: var(--teal-600); color: #fff; }
.type-panel__more { margin-top: var(--s-6); }
.trips .tour { border-color: var(--line); }

/* ---------- Climate: typical weather by month ---------- */
.climate-wrap { overflow-x: auto; scrollbar-width: thin; padding: 6px 4px 8px; margin: -6px -4px 0; }
.climate { display: grid; gap: 6px; min-width: 680px; }
.climate__row { display: grid; grid-template-columns: 92px repeat(12, minmax(0, 1fr)); gap: 6px; align-items: center; }
.climate__row--head span { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.climate__row--head .is-now { color: var(--ink); }
.climate__row > a { font-size: 15px; font-weight: 600; }
.climate__row > a:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.cl { height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; transform-origin: 50% 100%; }
.cl .icon { width: 18px; height: 18px; }
.cl--1 { background: var(--teal-600); color: #fff; }
.cl--2 { background: var(--teal-200); color: var(--teal-800); }
.cl--3 { background: repeating-linear-gradient(135deg, var(--surface) 0 6px, var(--line-soft) 6px 12px); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.cl.is-now { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--ink); }
.climate-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); font-size: 14px; color: var(--ink-2); }
.climate-legend li { display: inline-flex; align-items: center; gap: 8px; }
.climate-legend .cl { width: 28px; height: 28px; }
.climate-legend .cl .icon { width: 14px; height: 14px; }
.climate-legend__note { margin-left: auto; font-size: 13px; color: var(--muted); }

/* ---------- When to go: month picker with photo ---------- */
.months-sec__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-9); align-items: stretch; }
.months-sec__media { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--teal-800); }
.months-sec__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.month-panel h3:empty::before { content: "\00a0"; }

/* ---------- Seasons: sticky title + timeline ---------- */
.seasons-sec__grid, .story-long__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-9); align-items: start; }
.seasons-sec .section-head, .story-long__head { position: sticky; top: calc(var(--header-h) + var(--ref-h) + 24px); }
.seasons, .timeline--wide { --tl-col: 152px; }
.seasons::before, .timeline--wide::before { left: calc(var(--tl-col) + 9px); }
.seasons .tl__item, .timeline--wide .tl__item { grid-template-columns: var(--tl-col) minmax(0, 1fr); gap: var(--s-6); }
.seasons .tl__item::before, .timeline--wide .tl__item::before { left: calc(var(--tl-col) + 4px); }
.seasons .tl__time, .timeline--wide .tl__time { font-size: 14px; line-height: 1.35; }
.seasons .tl__body, .timeline--wide .tl__body { padding: 8px 0 var(--s-4) var(--s-2); }
.seasons .tl__body > p:not(.stop), .timeline--wide .tl__body > p { color: var(--ink-2); }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partner-strip__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s-3); }
.partner-mini {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; gap: var(--s-3); align-items: center;
  padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-mini:hover { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.partner-mini__img { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; background: var(--teal-100); }
.partner-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.partner-mini strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.partner-mini small { display: block; font-size: 13px; color: var(--muted); }
.partner-mini > .icon { width: 18px; height: 18px; color: var(--teal-600); transition: transform .4s var(--ease); }
.partner-mini:hover > .icon { transform: translate(2px, -2px); }

.partner-filter { margin-bottom: var(--s-6); }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.partner-card {
  display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  transition: box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.partner-card[hidden] { display: none; }
.partner-card:target { border-color: var(--teal-600); box-shadow: 0 0 0 1px var(--teal-600); }
.partner-card__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--teal-100); }
.partner-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.partner-card:hover .partner-card__img img { scale: 1.04; }
.partner-card__body { display: grid; gap: var(--s-3); align-content: start; justify-items: start; padding: var(--s-6); }
.partner-card h3 { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.partner-card__intro { color: var(--ink-2); }
.partner-card__trips { width: 100%; display: grid; gap: var(--s-2); margin-top: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line-soft); }
.partner-card__trips > p { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--teal-700); }
.partner-card__trips > p .icon { width: 16px; height: 16px; }
.partner-card__trips ul { display: grid; gap: 8px; }
.partner-card__trips li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s-3); font-size: 14px; }
.partner-card__trips a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--teal-200); text-underline-offset: 3px; }
.partner-card__trips a:hover { color: var(--teal-700); text-decoration-color: currentColor; }
.partner-card__trips span { color: var(--muted); }
@media (min-width: 992px) {
  .partner-card.is-featured { grid-column: span 2; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: none; }
  .partner-card.is-featured .partner-card__img { aspect-ratio: auto; height: 100%; }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.stars .icon.is-off { color: var(--line); }
.review__who a { color: var(--teal-700); font-weight: 600; }
.review__who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.reviews__more { margin-top: var(--s-6); }
.review-wall { columns: 3 300px; column-gap: var(--s-5); margin-top: var(--s-6); }
.review-wall .review { width: auto; display: inline-flex; margin-bottom: var(--s-5); break-inside: avoid; box-shadow: none; border: 1px solid var(--line-soft); }
.review-wall .review[hidden] { display: none; }
.review-wall .review blockquote { display: block; -webkit-line-clamp: unset; }

/* ---------- One large quote ---------- */
.big-quote { background: var(--teal-50); }
.big-quote__inner { display: grid; gap: var(--s-5); justify-items: start; }
.big-quote__mark { width: 44px; height: 44px; color: var(--teal-600); }
.big-quote blockquote { max-width: 40ch; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.32; color: var(--ink); }
.big-quote figcaption { display: flex; align-items: center; gap: var(--s-3); font-size: 15px; color: var(--muted); }
.big-quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.big-quote figcaption a { color: var(--teal-700); font-weight: 600; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.story-long__head { display: grid; gap: var(--s-4); }
.story-long__body { display: grid; gap: var(--s-5); }
.story-long__body > p { color: var(--ink-2); max-width: 62ch; }
.story-long__body .story__media { margin-top: var(--s-3); }
.facts--company { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); margin-top: 0; }
.facts--company dd { font-size: 16px; line-height: 1.45; }

/* ==========================================================================
   PLAN MY TRIP
   ========================================================================== */
.plan-page { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: var(--s-9); align-items: start; padding-block: var(--s-2) var(--section-y); }
.plan-page__aside { position: sticky; top: calc(var(--header-h) + var(--ref-h) + 24px); display: grid; gap: var(--s-5); transition: top .5s var(--ease); }
body:has(.site-header.is-hidden) .plan-page__aside { top: calc(var(--ref-h) + 24px); }
.plan-page__aside .page-head { width: auto; margin: 0; padding: 0; }
.form-grid .field { align-content: start; }
.plan-page .plan__steps { margin-top: 0; }
.plan-page .plan__rail span { transform: scaleY(0); }
.plan-page .step { opacity: 1; cursor: default; padding: var(--s-3) 0; grid-template-columns: 44px 1fr; }
.plan-page .step__icon { width: 44px; height: 44px; }
.plan-page .step h3 { font-size: 17px; }
.plan-page .step p { font-size: 15px; margin-top: 2px; }
.contact-list--light a, .contact-list--light p { color: var(--ink-2); }
.contact-list--light .icon { color: var(--teal-600); }
.contact-list--light a:hover { color: var(--teal-700); }
.plan-form { padding: var(--s-7); border: 1px solid var(--line-soft); box-shadow: var(--shadow-md); }
.form-card__title { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; }
.form-card__title:not(:first-of-type) { margin-top: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line-soft); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__label { display: block; margin-bottom: 6px; }
.choice-set { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.choice-set legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.choice-set__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface);
  border: 1px solid #c9d6d4; border-radius: var(--r-sm); pointer-events: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.choice span .icon { width: 18px; height: 18px; color: var(--teal-600); }
.choice input:hover + span { border-color: #a9bcba; }
.choice input:checked + span { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-800); box-shadow: inset 0 0 0 1px var(--teal-600); }
.choice input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.choice input:active + span { transform: scale(.98); }
.choice-set.is-invalid .choice span { border-color: var(--danger); }
.steppers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); padding: 4px 14px; border: 1px solid #c9d6d4; border-radius: var(--r-sm); background: var(--surface); }
.steppers .stepper + .stepper { border-top: 0; }
.form-actions small a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.form-success .link-arrow { margin-top: var(--s-2); }
.faq-sec .faqs { max-width: 860px; }

/* ==========================================================================
   LEGAL (booking conditions, privacy policy)
   ========================================================================== */
.notice { display: flex; align-items: flex-start; gap: var(--s-3); max-width: 72ch; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--saffron-50); border: 1px solid #fbe0b5; font-size: 15px; color: var(--ink); }
.notice .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--saffron-600); }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--s-9); align-items: start; padding-bottom: var(--section-y); }
.toc { position: sticky; top: calc(var(--header-h) + var(--ref-h) + 24px); transition: top .5s var(--ease); }
body:has(.site-header.is-hidden) .toc { top: calc(var(--ref-h) + 24px); }
.toc__title { margin-bottom: var(--s-3); font-size: 13px; font-weight: 600; color: var(--muted); }
.toc ol { display: grid; border-left: 2px solid var(--line); }
.toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink-2); transition: color .3s var(--ease), border-color .3s var(--ease); }
.toc a:hover { color: var(--teal-700); }
.toc a.is-active { border-left-color: var(--teal-600); color: var(--teal-700); font-weight: 600; }
.prose { max-width: 70ch; display: grid; gap: var(--s-4); }
.prose h2 { margin-top: var(--s-6); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-2); font-size: 17px; font-weight: 600; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 8px; padding-left: 1.25em; list-style: disc; }
.prose li::marker { color: var(--teal-600); }
.prose a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.tbc { padding: 0 4px; border-radius: 4px; background: var(--saffron-50); color: inherit; box-shadow: inset 0 -1px 0 #fbe0b5; }

/* ==========================================================================
   CHECKOUT (WooCommerce form-checkout.php) and BOOKING CONFIRMED (thankyou.php)
   ========================================================================== */
.checkout { padding-bottom: var(--section-y); }
.checkout .breadcrumb { padding-top: var(--s-4); }
.checkout__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); padding-block: var(--s-3) var(--s-7); }
.checkout__title, .confirm__title { font-size: clamp(30px, 3.4vw, 46px); max-width: none; }
.checkout-steps { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps li + li::before { content: ""; width: 28px; height: 2px; margin-right: 4px; border-radius: 2px; background: var(--line); }
.checkout-steps__dot { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.checkout-steps__dot .icon { width: 12px; height: 12px; }
.checkout-steps .is-done { color: var(--teal-700); }
.checkout-steps .is-done .checkout-steps__dot { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.checkout-steps .is-done + li::before { background: var(--teal-600); }
.checkout-steps .is-current { color: var(--ink); }
.checkout-steps .is-current .checkout-steps__dot { border-color: var(--teal-600); background: var(--teal-600); box-shadow: inset 0 0 0 4px var(--surface); }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s-8); align-items: start; }
.checkout__form { display: grid; gap: var(--s-5); min-width: 0; }
.co-sec { min-width: 0; margin: 0; padding: var(--s-6); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.co-sec > legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s-2); }
.co-sec > legend + * { clear: both; }
.co-sec > * + * { margin-top: var(--s-4); }
.co-sec__title { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.co-sec__note { font-size: 14px; color: var(--muted); }
.co-sec .form-grid { gap: var(--s-4); }
.co-sec--final { display: grid; gap: var(--s-3); }
.co-sec--final > * + * { margin-top: 0; }
.pay-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s-3); }
.pay-opt { position: relative; display: flex; }
.pay-opt[hidden] { display: none; }
.pay-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pay-opt__box { flex: 1; display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-4); background: var(--surface); border: 1px solid #c9d6d4; border-radius: var(--r-md); pointer-events: none; transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.pay-opt__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--teal-50); color: var(--teal-600); }
.pay-opt__icon .icon { width: 22px; height: 22px; }
.pay-opt strong { display: block; font-size: 15px; font-weight: 600; }
.pay-opt small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.pay-opt input:hover + .pay-opt__box { border-color: #a9bcba; }
.pay-opt input:checked + .pay-opt__box { border-color: var(--teal-600); background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal-600); }
.pay-opt input:checked + .pay-opt__box .pay-opt__icon { background: var(--teal-600); color: #fff; }
.pay-opt input:focus-visible + .pay-opt__box { outline: 2px solid var(--saffron); outline-offset: 2px; }
.pay-panel { display: grid; gap: var(--s-3); }
.card-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.card-fields .field--full { grid-column: 1 / -1; }
.card-fields .field { align-content: start; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pay-note { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pay-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal-600); }
.pay-demo { padding: 8px 12px; font-size: 13px; color: var(--muted); background: var(--canvas); border: 1px dashed var(--line); border-radius: var(--r-sm); }
.pay-error { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: #fbebe7; border: 1px solid #f0c4b9; color: var(--danger); }
.pay-error .icon { width: 20px; height: 20px; margin-top: 2px; }
.pay-error p { color: var(--ink-2); font-size: 14px; }
.pay-error:focus { outline: none; box-shadow: 0 0 0 3px rgb(180 54 31 / .18); }
.check { display: flex; align-items: flex-start; gap: var(--s-3); font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal-600); cursor: pointer; }
.check a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.check__error:empty { display: none; }
.btn--pay { height: 56px; font-size: 16px; }
.btn--pay .icon { width: 18px; height: 18px; }
.btn--pay:hover .icon { transform: none; }
.checkout__aside { position: sticky; top: calc(var(--header-h) + var(--ref-h) + 20px); display: grid; gap: var(--s-4); transition: top .5s var(--ease); }
body:has(.site-header.is-hidden) .checkout__aside { top: calc(var(--ref-h) + 20px); }
.order-card { display: grid; gap: var(--s-4); padding: var(--s-6); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.order-card__tour { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.order-card__img { width: 88px; height: 88px; border-radius: var(--r-md); overflow: hidden; background: var(--teal-100); }
.order-card__img img { width: 100%; height: 100%; object-fit: cover; }
.order-card__kind { font-size: 13px; font-weight: 600; color: var(--teal-700); }
.order-card__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.order-card__change { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.order-card__facts { display: grid; gap: 10px; padding-block: var(--s-4); border-block: 1px solid var(--line-soft); }
.order-card__facts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: var(--s-3); font-size: 14px; }
.order-card__facts dt { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.order-card__facts dt .icon { width: 16px; height: 16px; color: var(--teal-600); }
.order-card__facts dd { margin: 0; font-weight: 500; }
.order-card .summary { padding-top: 0; border-top: 0; }
.order-card__due { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.order-card__due--one { grid-template-columns: 1fr; }
.order-card__due > div { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--teal-50); }
.order-card__due span { display: block; font-size: 13px; color: var(--ink-2); }
.order-card__due strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.order-card__due small { display: block; font-size: 12px; color: var(--muted); }
.order-card__policy, .order-card__credit { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--success); }
.order-card__policy .icon, .order-card__credit .icon { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.order-card__policy.is-late { color: var(--ink-2); }
.order-card__policy a { text-decoration: underline; }
.order-card__credit { color: var(--teal-700); }
.promo-toggle summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--teal-700); list-style: none; }
.promo-toggle summary::-webkit-details-marker { display: none; }
.promo-toggle .promo { margin-top: var(--s-2); }
.promo-toggle .field__error:empty { display: none; }
.help-card { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5); font-size: 14px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); transition: border-color .3s var(--ease); }
.help-card:hover { border-color: var(--teal-200); }
.help-card > .icon { width: 26px; height: 26px; color: var(--teal-600); }
.help-card strong { display: block; color: var(--ink); font-weight: 600; }

.confirm { padding-block: var(--s-6) var(--section-y); }
.confirm .checkout-steps { margin-bottom: var(--s-7); }
.confirm__head { display: grid; gap: var(--s-3); justify-items: start; max-width: 760px; margin-bottom: var(--s-8); }
.confirm__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #e3f3ea; color: var(--success); }
.confirm__icon .icon { width: 34px; height: 34px; }
.confirm__head .lead strong { color: var(--ink); font-weight: 600; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.confirm__actions .icon { width: 18px; height: 18px; }
.confirm__actions .btn:hover .icon { transform: none; }
.confirm__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: var(--s-9); align-items: start; }
.confirm__next .h3 { margin-bottom: var(--s-5); font-size: var(--fs-xl); }

@media print {
  .site-header, .site-footer, .float-chat, .mobile-menu, .ref-bar, .skip-link, [data-upsell], .confirm__actions, .checkout-steps { display: none !important; }
  .page-plain main { padding-top: 0; }
  .confirm__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .order-card { box-shadow: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (pointer: coarse) {
  .filterbar .tab { height: 40px; }
  .choice-chip, .mini-select .select select { height: 44px; }
}
@media (max-width: 1199px) {
  .place-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts--company { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .filterbar { position: static; background: var(--canvas); }
  .filterbar__inner { gap: var(--s-3); }
  .filterbar__group, .filterbar__chips { width: 100%; }
  .filterbar__group .tabs { width: 100%; }
  .filterbar__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filterbar__chips .choice-chip { flex: none; }
  .filterbar__selects { width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filterbar__selects .mini-select:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Plan my trip: the form comes right after the title, steps and contact follow */
  .plan-page__aside { display: contents; }
  .plan-page__aside .page-head { order: 0; }
  .plan-page > .plan-form { order: 1; }
  .plan-page__aside .plan__steps { order: 2; }
  .plan-page__aside .contact-list { order: 3; }
  .mini-select .select { min-width: 0; width: 100%; }
  .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-split, .cta-band__grid, .region-intro__grid, .months-sec__grid, .seasons-sec__grid, .story-long__grid, .plan-page, .legal { grid-template-columns: 1fr; gap: var(--s-7); }
  .seasons-sec .section-head, .story-long__head, .plan-page__aside, .toc, .checkout__aside { position: static; }
  .checkout__grid, .confirm__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .checkout__aside { order: -1; }
  .region-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .region-hero__media { display: none; }
  .region-link { grid-template-columns: 72px 1fr 26px; }
  .region-link__thumb { display: block; }
  .months-sec__media { min-height: 0; aspect-ratio: 16 / 9; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 0 var(--s-5); }
  .toc a { margin-left: 0; border-left: 0; padding-left: 0; }
}
@media (max-width: 767px) {
  .page-hero { min-height: clamp(420px, 70svh, 560px); }
  .start-picks__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .start-picks__row::-webkit-scrollbar { display: none; }
  .start-pick { flex: none; }
  .icon-list { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .exp-card.is-featured { grid-column: auto; }
  .exp-card__img { height: auto; aspect-ratio: 4 / 3; }
  .partner-grid { grid-template-columns: 1fr; }
  .place-grid { gap: var(--s-6) var(--s-4); }
  .facts--grid { padding: var(--s-5); }
  .facts--company { grid-template-columns: 1fr; }
  .climate-legend__note { margin-left: 0; width: 100%; }
  .steppers { grid-template-columns: 1fr; }
  .co-sec { padding: var(--s-5); }
  .order-card { padding: var(--s-5); }
  .order-card__facts > div { grid-template-columns: 92px minmax(0, 1fr); }
  .checkout-steps li + li::before { width: 12px; }
  body[data-page="checkout"] .float-chat { display: none; }   /* the help card covers WhatsApp on checkout */
  .steppers .stepper + .stepper { border-top: 1px solid var(--line-soft); }
  .plan-form { padding: var(--s-6) var(--s-5); }
  .seasons, .timeline--wide { --tl-col: 92px; }
  .seasons .tl__item, .timeline--wide .tl__item { gap: var(--s-4); }
  .toc ol { grid-template-columns: 1fr; }
  .big-quote blockquote { font-size: 22px; }
}
@media (max-width: 575px) {
  .place-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-3); }
  .place-grid .dest-card p { display: none; }
}

/* ==========================================================================
   Blog (2026-10-20): posts page, topic archives, single article
   ========================================================================== */
.blog { display: grid; gap: var(--s-8); padding-bottom: var(--section-y); }
.blog-topics ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.blog-topic {
  display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s-4); border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.blog-topic:hover { border-color: var(--teal-600); color: var(--teal-700); }
.blog-topic.is-current { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.blog-empty { color: var(--muted); }
.blog-empty a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); }
.post-card { display: grid; gap: var(--s-4); align-content: start; }
.post-card__img { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--teal-100); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.post-card:hover .post-card__img img { scale: 1.04; }
.post-card__body { display: grid; gap: var(--s-2); justify-items: start; }
.post-card__cat { font-size: 13px; font-weight: 600; color: var(--teal-700); }
.post-card__cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card__title { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.post-card__title a { transition: color .3s var(--ease); }
.post-card__title a:hover { color: var(--teal-700); }
.post-card__excerpt { font-size: 15px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.post-meta > * + *::before { content: "·"; margin-right: 14px; }
/* newest article on the first page: wide split card */
.post-card--featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: center; }
.post-card--featured .post-card__img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.post-card--featured .post-card__title { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.022em; line-height: 1.15; }
.post-card--featured .post-card__excerpt { font-size: var(--fs-md); -webkit-line-clamp: 4; }
.blog-pager { display: flex; justify-content: space-between; gap: var(--s-4); }
.blog-pager .btn[aria-disabled="true"] { visibility: hidden; }

/* single article */
.article-head { display: grid; gap: var(--s-4); justify-items: start; padding-block: var(--s-5) var(--s-7); }
.article-head .breadcrumb { padding-top: 0; }
.article-head__title { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; max-width: 22ch; }
.article-head .lead { max-width: 62ch; }
.article-head .post-meta { font-size: 14px; }
.article-hero { aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--teal-100); margin-bottom: var(--s-9); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose--article { font-size: 17px; line-height: 1.7; }
.prose--article h3 { margin-top: var(--s-4); font-size: 19px; }
.prose ol { display: grid; gap: 8px; padding-left: 1.4em; list-style: decimal; }
.prose ol li::marker { color: var(--teal-700); font-weight: 600; }
.prose figure { display: grid; gap: var(--s-2); margin: var(--s-4) 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--r-md); }
.prose figcaption { font-size: 14px; color: var(--muted); }
.prose blockquote, .prose .tip {
  margin: var(--s-2) 0; padding: var(--s-4) var(--s-5); border-left: 3px solid var(--saffron);
  border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--saffron-50); color: var(--ink);
}
.prose blockquote p { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); background: var(--teal-50); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.share__label { font-size: 14px; font-weight: 600; color: var(--ink); margin-right: var(--s-2); }
.share a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); transition: background .3s var(--ease), color .3s var(--ease); }
.share a:hover { background: var(--teal-700); color: #fff; }
.share .icon { width: 20px; height: 20px; }
.article-tours { padding-block: var(--section-y) 0; border-top: 1px solid var(--line); }
.blog-more__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-7); }
.blog-more__head .section-head { margin-bottom: 0; }

@media (max-width: 991px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--featured { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .article-hero { aspect-ratio: 16 / 9; margin-bottom: var(--s-7); }
}
@media (max-width: 767px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .prose--article { font-size: 16px; }
  .article-hero { border-radius: var(--r-md); }
}
.post-meta__by { font-weight: 500; color: var(--ink-2); }

/* Home "From the blog" (option B, chosen by the owner 2026-10-22): two large 16:10 articles on top, four square
   articles below. Six photos, mirrored; text below every photo, no boxes, no overlays. */
.bgrid { display: grid; gap: var(--s-8); }
.bgrid__big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.bgrid__small { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.bgrid__small--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bgrid__small--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bgrid__small--1 { grid-template-columns: minmax(0, 1fr); }
.bgrid-card { display: grid; gap: var(--s-3); align-content: start; }
.bgrid-card__img { display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--teal-100); }
.bgrid-card--big .bgrid-card__img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.bgrid-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.bgrid-card:hover .bgrid-card__img img { scale: 1.05; }
.bgrid-card__body { display: grid; gap: 6px; align-content: start; }
.bgrid-card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.bgrid-card__meta span { font-weight: 600; color: var(--teal-700); }
.bgrid-card__meta time::before { content: "·"; margin-right: 10px; }
.bgrid-card__title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.bgrid-card--big .bgrid-card__title { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.bgrid-card__title a { transition: color .3s var(--ease); }
.bgrid-card:hover .bgrid-card__title a { color: var(--teal-700); }
.bgrid-card__title a:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.bgrid-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .bgrid-card__img img { transition: none; } }
@media (max-width: 991px) {
  .bgrid__small, .bgrid__small--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bgrid { gap: var(--s-7); }
  .bgrid__big { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .bgrid__small { gap: var(--s-6) var(--s-4); }
  .bgrid-card__title { font-size: 15px; }
  .bgrid-card__meta { font-size: 12px; }
}
