/* The blog: gonglogic.com/blog and /blog/<slug> (BlogPageController). Loaded by the controller with
   Requirements::css, which stamps it, so there is no ?v= to bump. Colours, type and space are the
   family's tokens (family/tokens.css), which carry light and dark; nothing here names a colour.

   Two widths: --blog-text (the words, a comfortable measure) and --blog-wide (landscape photos and the
   list's grid). Every link is at least 24px each way, the tap-target floor (WCAG 2.2 AA). */

.blog { --blog-text: 40rem; --blog-wide: 72rem;
  /* The rhythm (2026-11-24, "the layout feels a bit off": the gaps were 24, 32, 40 and 48px at random).
     Two spaces only: --blog-gap between one block and the next (hero, map, words, photos, reading), and
     --blog-bind between words and the photos they introduce, so the words read as theirs. */
  --blog-gap: var(--s-12); --blog-bind: var(--s-6);
  width: 100%; max-width: calc(var(--blog-wide) + 2 * var(--gutter)); box-sizing: border-box; margin: 0 auto;
  padding: var(--s-8) var(--gutter) var(--s-16); overflow-wrap: break-word; color: var(--ink); }
.blog .blog__h1 { margin: 0 0 var(--s-2); font-family: var(--font-text); font-size: clamp(var(--fs-6), 5vw, var(--fs-7));
  font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.blog__crumbs { margin: 0 0 var(--s-4); font-size: var(--fs-1); }
.blog__crumbs a, .blog__back a { display: inline-flex; align-items: center; min-width: 24px; min-height: 24px;
  padding-block: 4px; color: var(--accent-ink); text-decoration: none; font-weight: 500; }
.blog__crumbs a:hover, .blog__back a:hover { text-decoration: underline; }
.blog a:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; border-radius: var(--radius-s); }
.blog__empty { color: var(--muted); }

/* The date · photo-count line, on the cards and under a post's title. */
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0;
  font-family: var(--font-ui); font-size: var(--fs-1); color: var(--muted); letter-spacing: 0.01em; }
.blog-meta__sep { opacity: 0.7; }

/* ---------- The list ---------- */
.blog-index__head { margin: 0 0 var(--s-10); }
.blog-index__head .blog-index__lede { max-width: var(--blog-text); }
.blog-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 0; }
.blog-index__more { margin: var(--s-3) 0 0; font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-index__lede { margin: 0; font-family: var(--font-text); font-size: var(--fs-3); line-height: 1.55; color: var(--ink-2); }

/* One column on a phone, then six tracks: cards span 3 (two a row) or 2 (three a row). A last row
   that would hold one card instead shares out the cards before it, so no row is part-empty
   (check:blog's "card row N holds 1 of 3"). The lead's position counted from the end is the post
   count, which is how a selector knows the remainder. */
.blog-index { container-type: inline-size; }
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-10) var(--s-6);
  grid-template-columns: minmax(0, 1fr); }
.blog-list__item { margin: 0; display: flex; min-width: 0; }
.blog-list__item--lead { grid-column: 1 / -1; }
@container (min-width: 35.5rem) {
  .blog-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .blog-list__item { grid-column: span 3; }
  .blog-list__item--lead { grid-column: 1 / -1; }
}
@container (35.5rem <= width < 54rem) {
  /* odd card count: the last three share a row */
  .blog-list__item--lead:nth-last-child(even):not(:nth-last-child(2)) ~ .blog-list__item:nth-last-child(-n+3) { grid-column: span 2; }
}
@container (min-width: 54rem) {
  .blog-list__item { grid-column: span 2; }
  .blog-list__item--lead { grid-column: 1 / -1; }
  /* one left over: the last four go two a row; two left over: those two go two a row */
  .blog-list__item--lead:nth-last-child(3n+2):not(:nth-last-child(2)) ~ .blog-list__item:nth-last-child(-n+4),
  .blog-list__item--lead:nth-last-child(3n) ~ .blog-list__item:nth-last-child(-n+2) { grid-column: span 3; }
}

.blog-card { display: flex; flex-direction: column; width: 100%; color: var(--ink); text-decoration: none;
  border-radius: var(--radius-m); }
.blog-card:hover { color: var(--ink); text-decoration: none; }
.blog-card__media { display: block; overflow: hidden; border-radius: var(--radius-m); background: var(--surface-2);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); }
.blog-card__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.blog-card:hover .blog-card__img { transform: scale(1.03); }
.blog-card__text { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3) var(--s-1) 0; min-width: 0; }
.blog-card__title { font-family: var(--font-text); font-size: var(--fs-5); font-weight: 600; line-height: 1.15; }
.blog-card:hover .blog-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.blog-card__summary { color: var(--ink-2); font-size: var(--fs-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__more { font-family: var(--font-ui); font-size: var(--fs-1); font-weight: 600; color: var(--accent-ink); }

/* The newest post: its cover wide, the words beside it on a big screen. */
.blog-card--lead .blog-card__media { aspect-ratio: 16 / 10; }
@media (min-width: 56rem) {
  .blog-card--lead { display: grid; grid-template-columns: 3fr 2fr; gap: var(--s-8); align-items: center; }
  .blog-card--lead .blog-card__media { aspect-ratio: 4 / 3; }
  .blog-card--lead .blog-card__text { padding: 0; }
  .blog-card--lead .blog-card__title { font-size: var(--fs-7); line-height: 1.05; }
  .blog-card--lead .blog-card__summary { font-family: var(--font-text); font-size: var(--fs-3); -webkit-line-clamp: 5; }
}

/* ---------- A post ---------- */
.blog-post__body, .blog-pager, .blog__back { max-width: var(--blog-text); margin-inline: auto; }
.blog-post__body { margin-bottom: var(--blog-gap); }
.blog-post__body img { max-width: 100%; height: auto; }

/* The hero: title and facts, then the cover across the gallery's width. A portrait cover stands beside
   the title on a big screen instead, so it is never a screen and a half tall. */
.blog-hero { max-width: var(--blog-wide); margin: 0 auto var(--blog-gap); display: grid; gap: var(--s-6); }
/* The title stands in the text column, so it starts where the words below it do (it sat at the gallery's
   edge, 256px left of the words on a desktop). Beside a portrait cover it heads its own column. */
.blog-hero .blog-post__head { width: 100%; max-width: var(--blog-text); margin-inline: auto; box-sizing: border-box; }
.blog-hero--portrait .blog-post__head { margin-inline: 0; }
.blog-cover { margin: 0; }
.blog-cover .blog-photo__img { width: 100%; max-height: 80vh; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 56rem) {
  .blog-hero--portrait { grid-template-columns: 1fr minmax(0, 26rem); align-items: center; gap: var(--s-10); }
  .blog-hero--portrait .blog-post__head { align-self: center; }
  /* A tall cover is shown whole, never trimmed: it shrinks to fit the screen's height instead. */
  .blog-hero--portrait .blog-cover { justify-self: end; }
  .blog-hero--portrait .blog-cover .blog-photo__img { width: auto; max-width: 100%; max-height: 78vh; object-fit: contain; }
}

/* The photos: groups of justified rows, every row the gallery's width. Each photo's share of its row
   is its aspect ratio (--ar, flex-grow), so a row's photos come out one height with no cropping. */
.blog-photos { max-width: var(--blog-wide); margin: 0 auto; }
.blog-group { margin: 0 0 var(--blog-gap); display: grid; gap: var(--s-3); }
.blog-photos > .blog-prose { margin-bottom: var(--blog-gap); }
.blog-photos > .blog-prose:has(+ .blog-group), .blog-group:has(+ .blog-prose--after) { margin-bottom: var(--blog-bind); }
.blog-row { display: flex; gap: var(--s-3); align-items: flex-start; }
.blog-photo { flex: var(--ar, 1.5) 1 0; min-width: 0; margin: 0; }
/* A row of one landscape: the gallery's full width, so no row stops short of the others (it was 91% wide
   at 1440px); a photo taller than most of the window is trimmed top and bottom, and the viewer shows it
   whole. A lone portrait (only when nothing can pair it, BlogFiles::galleryRows) stands centred. */
.blog-row--single .blog-photo { flex: 1 1 auto; width: 100%; }
.blog-row--single .blog-photo__img { max-height: 80vh; }
.blog-row--portrait .blog-photo { flex: 0 1 auto; width: min(100%, calc(78vh * var(--ar, 0.75))); margin-inline: auto; }
/* A spread: two or three photos side by side, each with its own words right above it (BlogPost::
   PhotoGroups). Columns are sized by aspect ratio, so the photos come out one height; the words sit at
   the foot of their row (subgrid), so each paragraph hugs its own photo whatever its length. */
.blog-spread { display: grid; grid-template-rows: auto auto; column-gap: var(--s-6); margin: 0 0 var(--blog-gap); }
.blog-spread__unit { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--blog-bind); min-width: 0; }
.blog-spread .blog-spread__text { align-self: end; max-width: none; margin: 0; }
/* A side: one portrait beside its words, alternating sides down the post. */
.blog-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: var(--s-10); align-items: center;
  margin: 0 0 var(--blog-gap); }
.blog-side--flip { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
.blog-side--flip .blog-photo { order: -1; }
.blog-side .blog-side__text { max-width: none; margin: 0; }
.blog-photo, .blog-cover { scroll-margin-top: calc(var(--head-h, 64px) + var(--s-6)); }

/* The link holds the photo's 24px copy, blown up and blurred by the browser, until the photo arrives. */
.blog-photo__link { display: block; position: relative; overflow: hidden; border-radius: var(--radius-s);
  background-color: var(--surface-2); background-size: cover; background-position: center; cursor: zoom-in; }
.blog-photo__img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 1.5); object-fit: cover;
  border-radius: inherit; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.2s; }
.blog-photo__link:hover .blog-photo__img { transform: scale(1.015); }
.blog-photo__link:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; }
.blog-photo__caption { margin: var(--s-2) 0 0; font-family: var(--font-ui); font-size: var(--fs-1); line-height: 1.5;
  color: var(--ink-2); text-wrap: pretty; }
.blog-cover .blog-photo__caption { max-width: var(--blog-text); }

@media (max-width: 42rem) {
  /* A phone: one column, edge to edge, each caption tight under its photo. */
  .blog { --blog-gap: var(--s-10); }
  .blog-hero { gap: var(--s-4); }
  .blog-cover, .blog-group, .blog-spread, .blog-side { margin-inline: calc(-1 * var(--gutter)); }
  .blog-spread, .blog-side, .blog-spread__unit { display: block; }
  .blog-spread__unit + .blog-spread__unit { margin-top: var(--blog-gap); }
  .blog-spread .blog-spread__text, .blog-side .blog-side__text { padding-inline: var(--gutter); margin-bottom: var(--blog-bind); }
  .blog-row { flex-direction: column; gap: var(--s-4); }
  .blog-group { gap: var(--s-4); }
  .blog-row--single .blog-photo, .blog-row--portrait .blog-photo, .blog-photo { width: 100%; flex: none; }
  .blog-row--single .blog-photo__img { max-height: none; }
  .blog-photo__link { border-radius: 0; }
  .blog-photo__caption { margin: var(--s-2) var(--gutter) 0; }
  .blog-cover .blog-photo__img { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .blog-photo__img { transition: none; } .blog-photo__link:hover .blog-photo__img { transform: none; } }

/* Newer / older at the foot of a post. */
.blog-pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--blog-gap);
  padding-top: var(--s-8); border-top: 1px solid var(--line); }
.blog-pager:not(:has(a)) { display: none; }
.blog-pager__link { display: flex; flex-direction: column; gap: var(--s-1); min-height: 24px; padding: var(--s-4);
  border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); color: var(--ink);
  text-decoration: none; }
.blog-pager__link:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; }
.blog-pager__link--older { grid-column: 2; text-align: right; }
.blog-pager__dir { font-family: var(--font-ui); font-size: var(--fs-1); color: var(--muted); }
.blog-pager__title { font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; line-height: 1.2; }
.blog__back { margin-top: var(--s-8); margin-bottom: 0; font-size: var(--fs-2); }

/* The words: before the photos, between them (a photo's text) and after them (the outro). */
.blog-prose { max-width: var(--blog-text); margin: 0 auto var(--blog-gap); font-family: var(--font-text); font-size: var(--fs-3);
  line-height: 1.7; color: var(--ink); }
.blog-prose p { margin: 0 0 var(--s-4); }
.blog-prose p:last-child { margin-bottom: 0; }
.blog-prose--lead > p:first-child { font-size: var(--fs-4); line-height: 1.5; }
.blog-post__outro { margin-top: 0; }

.blog .visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* An outside link, visibly so: the ↗ after it. */
.blog-ext { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.blog-ext:hover { text-decoration-thickness: 2px; }
.blog-ext__mark { display: inline-block; margin-left: 0.15em; font-size: 0.85em; text-decoration: none; }

/* Where and when: a strip of facts under the title. */
.blog-strip { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin: var(--s-4) 0 0; padding: 0;
  font-family: var(--font-ui); font-size: var(--fs-2); color: var(--ink); }
.blog-strip__item { display: flex; flex-direction: column; gap: 2px; }
.blog-strip__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* The map and the stops beside it (under it on a phone). */
.blog-where { max-width: var(--blog-wide); margin: 0 auto var(--blog-gap); display: grid; gap: var(--s-4) var(--s-6); }
.blog-where__h { margin: 0; font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); }
@media (min-width: 56rem) {
  .blog-where:has(.blog-stops) { grid-template-columns: 3fr 2fr; grid-template-rows: auto 1fr; }
  .blog-where:has(.blog-stops) .blog-where__h { grid-column: 1 / -1; }
  /* The map grows with the list beside it, so every stop shows without a scrollbar. */
  .blog-where:has(.blog-stops) .blog-map { height: auto; min-height: 22rem; }
}
.blog-map { height: 22rem; border-radius: var(--radius-m); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line); z-index: 0; }
.blog-map--index { height: 20rem; }
@media (max-width: 42rem) { .blog-map { height: 17rem; } }
/* One place: a compact card — a small map beside the name, no numbered pin, no route. */
.blog-where--one { max-width: var(--blog-text, 44rem); }
.blog-where--one .blog-map { height: 13rem; }
.blog-where--one .blog-stops__n { display: none; }
.blog-where--one .blog-stops__item { grid-template-columns: 1fr; border-bottom: 0; padding-top: 0; }
.blog-where--one .blog-stops__name, .blog-where--one .blog-stops__text > a.blog-ext { font-size: var(--fs-3, 1.15rem); font-weight: 600; }
@media (min-width: 56rem) {
  .blog-where--one:has(.blog-stops) { grid-template-columns: 2fr 3fr; }
  .blog-where--one:has(.blog-stops) .blog-map { min-height: 13rem; }
  .blog-where--one .blog-stops { align-content: center; }
}
.blog-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); align-content: start; }
.blog-stops__item { display: grid; grid-template-columns: 1.75rem 1fr; gap: var(--s-3); align-items: start; padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: var(--fs-2); line-height: 1.4; }
.blog-stops__n, .blog-pin { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--brand-gold); color: #18171c; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700; }
.blog-stops__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s-3); min-width: 0; padding-top: 2px; }
.blog-stops__text a { min-height: 24px; display: inline-flex; align-items: center; }
.blog-stops__name { font-weight: 500; }
.blog-stops__note { flex-basis: 100%; font-size: var(--fs-1); color: var(--ink-2); }
.blog-stops__jump { font-size: var(--fs-1); color: var(--muted); text-decoration: none; }
.blog-stops__jump:hover { color: var(--accent-ink); text-decoration: underline; }
.blog-photo:target .blog-photo__link, .blog-cover:target .blog-photo__link { outline: 3px solid var(--brand-gold); outline-offset: 3px; }

/* Leaflet, in the family's colours. */
.blog-map .leaflet-container, .blog-map.leaflet-container { font-family: var(--font-ui); background: var(--surface-2); }
.blog-pin { border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.blog-pin-icon { background: none; border: 0; }
.blog-map .leaflet-popup-content { margin: 10px 14px; font-size: 0.9rem; line-height: 1.45; }
.blog-map .leaflet-popup-content a { color: #835a0c; }
.blog-map .leaflet-popup-content strong { display: block; font-size: 0.95rem; }
/* The map credit sits on its own light panel in both themes, so its links keep their contrast (dark mode
   gave them the page's light link colour on that panel: 3.3:1, site-basics 2026-11-23). */
.blog-map .leaflet-control-attribution { background: rgba(255, 255, 255, 0.92); color: #333; }
.blog-map .leaflet-control-attribution a { color: #0b4f8a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .blog-map .leaflet-tile-pane { filter: brightness(0.78) contrast(1.08) saturate(0.85); } }
:root[data-theme="dark"] .blog-map .leaflet-tile-pane { filter: brightness(0.78) contrast(1.08) saturate(0.85); }

/* What it cost (BlogCosts.ss): after the closing words, before Further reading, on the text's measure.
   Each item's words on the left, its price on the right with a muted ≈ NZ$ under it; on a phone the price
   drops under the words. Grouped by category, each with a small icon in the text's colour. */
.blog-costs { max-width: var(--blog-text); margin: var(--blog-gap) auto 0; padding: var(--s-6); box-sizing: border-box;
  border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.blog-costs__h { margin: 0 0 var(--s-2); font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.blog-costs__note { margin: 0 0 var(--s-4); font-family: var(--font-ui); font-size: var(--fs-1); color: var(--ink-2); }
.blog-costs__group + .blog-costs__group { margin-top: var(--s-4); }
.blog-costs__cat { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-2); font-family: var(--font-ui);
  font-size: var(--fs-2); font-weight: 600; color: var(--ink); }
.blog-costs__icon { flex: none; color: var(--accent-ink); }
.blog-costs__list { list-style: none; margin: 0; padding: 0; }
.blog-costs__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-6);
  padding: var(--s-2) 0; border-top: 1px solid var(--line); font-family: var(--font-ui); font-size: var(--fs-2); line-height: 1.45; }
.blog-costs__what { min-width: 0; color: var(--ink); }
.blog-costs__inote { display: block; font-size: var(--fs-1); color: var(--ink-2); }
.blog-costs__price { flex: none; display: block; text-align: right; }
.blog-costs__amt { display: block; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.blog-costs__price .blog-costs__nzd { margin-left: var(--s-2); }
.blog-costs__per { font-size: var(--fs-1); color: var(--ink-2); white-space: nowrap; }
.blog-costs__nzd { font-size: var(--fs-1); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.blog-costs__foot { margin: var(--s-4) 0 0; font-family: var(--font-ui); font-size: var(--fs-1); line-height: 1.5; color: var(--muted); }
.blog-costs__foot a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; }
@media (max-width: 42rem) {
  .blog-costs { padding: var(--s-4); }
  .blog-costs__row { flex-direction: column; gap: 2px; }
  .blog-costs__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); text-align: left; }
  .blog-costs__price .blog-costs__nzd { margin-left: 0; }
}
.blog-index__more { margin: var(--s-3) 0 0; font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-index__more a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; text-decoration: none; }
.blog-index__more a:hover { text-decoration: underline; }

/* /blog/costs: one table per trip, each post a group of rows. On a phone a row stacks: the words, then
   the price and ≈ NZ$ on one line. */
.blog-costs-page .blog-index__head { margin-bottom: var(--s-8); }
.blog-costs-trip { max-width: 48rem; margin: 0 0 var(--blog-gap); }
.blog-costs-trip__h { margin: 0 0 var(--s-3); font-family: var(--font-text); font-size: var(--fs-5); font-weight: 600; line-height: 1.2; }

/* ── Costs woven into the posts (2026-11-24) ───────────────────────────────────────────────────── */
/* A price tag on the caption of the photo it was paid at (BlogFigure.ss): under the words, not a block. */
.blog-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: var(--s-1);
  color: var(--ink-2); font-variant-numeric: tabular-nums; }
.blog-tag .blog-costs__icon { width: 15px; height: 15px; flex: none; }
.blog-tag__what { color: var(--ink-2); }
.blog-tag__price { white-space: nowrap; }
.blog-tag__amt { font-weight: 600; color: var(--ink); white-space: nowrap; }
.blog-tag__per, .blog-tag__usd { color: var(--muted); white-space: nowrap; }
/* The price beside a stop on the map's list. */
.blog-stops__price { margin-left: var(--s-2); font-family: var(--font-ui); font-size: var(--fs-1); font-weight: 600;
  color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* A post card's one line of prices. */
.blog-card__costs { font-family: var(--font-ui); font-size: var(--fs-1); color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* The box after a post, now short. */
.blog-costs__sum { margin: 0 0 var(--s-4); font-family: var(--font-ui); font-size: var(--fs-2); line-height: 1.5; color: var(--ink); }
.blog-costs__sub { margin: 0 0 var(--s-3); font-family: var(--font-ui); font-size: var(--fs-2); font-weight: 600; color: var(--ink); }

/* Posts | What it cost (BlogViewToggle.ss): two links drawn as one switch. */
.blog-views { display: inline-flex; gap: 2px; margin-top: var(--s-4); padding: 3px; border-radius: var(--radius-pill);
  background: var(--surface-2); font-family: var(--font-ui); }
.blog-views__opt { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s-4); border-radius: var(--radius-pill);
  color: var(--ink-2); font-size: var(--fs-2); font-weight: 500; text-decoration: none; }
.blog-views__opt:hover { color: var(--ink); text-decoration: none; }
.blog-views__opt[aria-current] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-1); }
.blog-views__opt:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* A trip in short: when, a typical night, meal and ride, and flights. */
.blog-trip-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-8);
  padding: var(--s-4); border-radius: var(--radius-m); background: var(--surface-2); font-family: var(--font-ui); }
.blog-trip-sum__item { margin: 0; }
.blog-trip-sum dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.blog-trip-sum dd { margin: 2px 0 0; font-size: var(--fs-2); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Each post's prices under its title and photo; each price goes to where it was paid. */
.blog-cost-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); }
.blog-cost-post__head { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; color: var(--ink); text-decoration: none; }
.blog-cost-post__head:hover .blog-cost-post__title { text-decoration: underline; }
.blog-cost-post__thumb { flex: none; width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-s); background: var(--surface-2); }
.blog-cost-post__title { font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; line-height: 1.2; }
.blog-cost-post__date { margin-left: auto; flex: none; font-family: var(--font-ui); font-size: var(--fs-1); color: var(--muted); }
.blog-cost-post__note { margin: var(--s-2) 0 0; font-family: var(--font-ui); font-size: var(--fs-1); color: var(--ink-2); }
.blog-cost-rows { list-style: none; margin: var(--s-2) 0 0; padding: 0; font-family: var(--font-ui); }
.blog-cost-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-1) var(--s-6);
  padding: var(--s-2) 0; border-top: 1px solid var(--line); }
.blog-cost-row__what { display: inline-flex; align-items: baseline; gap: var(--s-2); min-height: 24px; min-width: 0; color: var(--ink); text-decoration: none; }
.blog-cost-row__what:hover { color: var(--accent-ink); text-decoration: underline; }
.blog-cost-row__text { display: block; min-width: 0; }
.blog-cost-row__what .blog-costs__icon { width: 15px; height: 15px; flex: none; align-self: center; }
.blog-cost-row__price { flex: none; text-align: right; }
.blog-cost-row__price .blog-costs__amt { display: inline; }
.blog-cost-row__price .blog-costs__nzd { margin-left: var(--s-2); }
@media (max-width: 42rem) {
  .blog-cost-row { flex-direction: column; gap: 2px; }
  .blog-cost-row__price { text-align: left; padding-left: calc(15px + var(--s-2)); }
  .blog-cost-post__date { display: none; }
}

/* Further reading. */
.blog-reading { max-width: var(--blog-text); margin: var(--blog-gap) auto 0; box-sizing: border-box; padding: var(--s-6); border-radius: var(--radius-m);
  background: var(--surface-2); }
.blog-reading__h { margin: 0 0 var(--s-3); font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.blog-reading__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-reading__list a { display: inline-flex; align-items: center; min-height: 24px; }
.blog-reading__src { font-size: var(--fs-1); color: var(--muted); }

/* Reading progress, a thin gold line along the top of the window (blog.js). */
.blog-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; }
.blog-progress__bar { display: block; height: 100%; width: 100%; background: var(--brand-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- The full-size viewer (blog.js) ---------- */
.blog-viewer { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0;
  padding: 0; border: 0; background: rgba(8, 8, 10, 0.94); color: #f4f2ee; overscroll-behavior: contain; }
.blog-viewer::backdrop { background: rgba(8, 8, 10, 0.94); }
.blog-viewer[open] { display: grid; grid-template-rows: 1fr auto; }
.blog-viewer__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: var(--s-4);
  touch-action: pan-y pinch-zoom; }
.blog-viewer__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-s); user-select: none; -webkit-user-drag: none; }
.blog-viewer__bar { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom)); }
.blog-viewer__caption { flex: 1; margin: 0; font-family: var(--font-ui); font-size: var(--fs-1); line-height: 1.5; color: #d9d6d0; }
.blog-viewer__count { font-family: var(--font-ui); font-size: var(--fs-1); color: #a9a5ad; white-space: nowrap; }
.blog-viewer__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer; }
.blog-viewer__btn:hover { background: rgba(255, 255, 255, 0.22); }
.blog-viewer__btn:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 2px; }
.blog-viewer__btn[disabled] { opacity: 0.3; cursor: default; }
.blog-viewer__close { position: absolute; top: max(var(--s-3), env(safe-area-inset-top)); right: var(--s-3); z-index: 1; }
.blog-viewer__prev, .blog-viewer__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.blog-viewer__prev { left: var(--s-3); }
.blog-viewer__next { right: var(--s-3); }
@media (hover: none) { .blog-viewer__prev, .blog-viewer__next { display: none; } }
@media (prefers-reduced-motion: reduce) { .blog-card__img { transition: none; } .blog-card:hover .blog-card__img { transform: none; } }

/* ── Trips (2026-11-24, the owner: "posts are grouped up into trips") ─────────────────────────────── */
/* A section's heading on /blog and a trip's page: the small caps the map's heading wears. */
.blog-section__h { margin: 0 0 var(--s-4); font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* /blog: the latest three posts, a small photo beside each title, three across on a big screen. */
.blog-latest { margin: 0 0 var(--blog-gap); }
.blog-latest__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4) var(--s-6); }
@container (min-width: 54rem) { .blog-latest__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-latest__item { margin: 0; min-width: 0; }
.blog-latest__link { display: flex; align-items: center; gap: var(--s-4); min-height: 44px; color: var(--ink); text-decoration: none; }
.blog-latest__link:hover { color: var(--ink); text-decoration: none; }
.blog-latest__link:hover .blog-latest__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.blog-latest__thumb { flex: none; width: 120px; height: 90px; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius-s); background: var(--surface-2); }
.blog-latest__text { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.blog-latest__title { font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; line-height: 1.2; }

/* A post's place in its trip, over its title. */
.blog-partof { color: var(--ink-2); font-family: var(--font-ui); }
.blog-partof a { padding-inline: 0; }
.blog-partof__day { color: var(--muted); }
.blog__back-sep { color: var(--muted); }

/* A trip's page: the hero's summary, route and the jumps down the page. */
.blog-trip__summary { margin: var(--s-4) 0 0; font-family: var(--font-text); font-size: var(--fs-3); line-height: 1.55; color: var(--ink-2); }
.blog-trip__route { display: flex; flex-direction: column; gap: 2px; margin: var(--s-4) 0 0; font-family: var(--font-ui);
  font-size: var(--fs-2); line-height: 1.45; color: var(--ink); }
.blog-trip__jump { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-6); margin-top: var(--s-4); font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-trip__jump a { display: inline-flex; align-items: center; min-height: 24px; padding-block: 4px; color: var(--accent-ink);
  font-weight: 500; text-decoration: none; }
.blog-trip__jump a:hover { text-decoration: underline; }
.blog-trip__from { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); }
/* The map alone, the gallery's width: the timeline under it is its list. */
.blog-where--trip .blog-map { height: 26rem; }
@media (max-width: 42rem) { .blog-where--trip .blog-map { height: 20rem; } }
.blog-where__key { margin: 0; font-family: var(--font-ui); font-size: var(--fs-1); color: var(--muted); }

/* The posts, day by day: a day's label where a new day starts, then each post with the number its pins
   carry, its photo, title, summary and prices. On the costs' measure, so the page reads down one column. */
.blog-timeline { max-width: 48rem; margin: 0 auto var(--blog-gap); scroll-margin-top: var(--s-8); }
.blog-timeline__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.blog-timeline__item { margin: 0; }
.blog-timeline__item--day:not(:first-child) { margin-top: var(--s-4); }
.blog-timeline__day { margin: 0 0 var(--s-2); font-family: var(--font-ui); font-size: var(--fs-1); color: var(--muted); }
.blog-timeline__dayn { margin-right: var(--s-2); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.blog-timeline__card { display: grid; grid-template-columns: 1.75rem 160px minmax(0, 1fr); gap: var(--s-4); align-items: start;
  padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface);
  color: var(--ink); text-decoration: none; }
.blog-timeline__card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; }
.blog-timeline__card:hover .blog-timeline__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.blog-timeline__n { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--brand-gold); color: #18171c; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700; }
.blog-timeline__thumb { display: block; width: 160px; height: 120px; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius-s); background: var(--surface-2); }
.blog-timeline__text { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; }
.blog-timeline__title { font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; line-height: 1.2; }
.blog-timeline__summary { color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 42rem) {
  .blog-timeline__card { grid-template-columns: 1.75rem 96px minmax(0, 1fr); gap: var(--s-3); }
  .blog-timeline__thumb { width: 96px; height: 72px; }
  .blog-timeline__summary { -webkit-line-clamp: 2; }
}

/* What the trip cost: the post's box, a little wider, its parts under small headings. */
.blog-trip-costs { max-width: 48rem; margin-top: 0; scroll-margin-top: var(--s-8); }
.blog-trip-costs .blog-costs__sub { margin: var(--s-8) 0 var(--s-3); }
.blog-trip-costs .blog-costs__h + .blog-costs__sub { margin-top: var(--s-4); }
.blog-trip-costs .blog-cost-posts { gap: var(--s-6); }
.blog-trip-costs .blog-trip-sum { margin-bottom: 0; }
.blog-trip .blog__back { max-width: 48rem; }
.blog-costs-trip__h a { color: var(--ink); text-decoration: none; }
.blog-costs-trip__h a:hover { text-decoration: underline; }
.blog-costs-trip__more { margin: calc(-1 * var(--s-4)) 0 0; font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-costs-trip__more a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; text-decoration: none; }
.blog-costs-trip__more a:hover { text-decoration: underline; }

/* ── Places (2026-11-24: holiday → country → city → post, "the blog page shown by city") ────────────── */
/* A country's name over its cities, light: the city is what people click. */
.blog-place { margin: 0 0 var(--blog-gap); }
.blog-place__h { margin: 0 0 var(--s-4); font-family: var(--font-text); font-size: var(--fs-5); font-weight: 600; line-height: 1.2; }
.blog-place__h a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.blog-place__h a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
/* City cards wrap and share each row out: three a row on a big screen, a lone city the full width (its photo
   capped), so no row is part-empty whatever the count. */
.blog-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-6); }
.blog-cities__item { flex: 1 1 18rem; min-width: 0; display: flex; margin: 0; }
@media (min-width: 64rem) { .blog-cities__item { flex-basis: 20rem; } }
.blog-card--city .blog-card__media { aspect-ratio: 3 / 2; max-height: 26rem; }
.blog-card--city .blog-card__img { object-position: 50% 30%; }

/* Learn the language: the crash courses and a story, on the text's measure. */
.blog-learn { max-width: 48rem; margin: 0 auto var(--blog-gap); padding: var(--s-4) var(--s-6); box-sizing: border-box;
  border: 1px solid var(--line); border-left: 4px solid var(--brand-gold); border-radius: var(--radius-m); background: var(--surface); }
.blog-learn .blog-section__h { margin-bottom: var(--s-2); }
.blog-learn__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-8); }
.blog-learn__link { display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center; color: var(--accent-ink);
  font-family: var(--font-text); font-size: var(--fs-3); font-weight: 600; text-decoration: none; }
.blog-learn__link:hover { text-decoration: underline; }
.blog-learn__kind { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* A stop (a city's visit, a holiday's country): its heading, the holiday or cities line, then its posts. */
.blog-stop__h { margin: 0; font-family: var(--font-text); font-size: var(--fs-5); font-weight: 600; line-height: 1.2; }
.blog-stop__h a { color: var(--ink); text-decoration: none; }
.blog-stop__h a:hover { text-decoration: underline; }
.blog-stop__holiday { margin: var(--s-2) 0 var(--s-4); font-family: var(--font-ui); font-size: var(--fs-2); color: var(--ink-2); }
.blog-stop__holiday a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); }
.blog-stop__none { margin: 0; color: var(--muted); font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-strip__link { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; }
.blog-country .blog-place, .blog-country .blog-trip-costs { max-width: 48rem; margin-inline: auto; }

/* ── Plan your visit and Useful words on a post (2026-11-24) ─────────────────────────────────────── */
.blog-visit, .blog-words { max-width: var(--blog-text); margin: 0 auto var(--blog-gap); padding: var(--s-4) var(--s-6); box-sizing: border-box;
  border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); font-family: var(--font-ui); }
.blog-visit .blog-section__h, .blog-words .blog-section__h { margin-bottom: var(--s-3); }
.blog-visit__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s-3) var(--s-6); margin: 0; }
.blog-visit__fact { margin: 0; }
.blog-visit__fact dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.blog-visit__fact dd { margin: 2px 0 0; font-size: var(--fs-2); line-height: 1.45; color: var(--ink); }
.blog-visit__check { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3); margin: var(--s-3) 0 0; font-size: var(--fs-1); }
.blog-visit__check .blog-ext { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; }
.blog-visit__when { color: var(--muted); }
.blog-visit__tips { margin: var(--s-4) 0 0; padding-left: 1.2em; font-size: var(--fs-2); line-height: 1.5; color: var(--ink); }
.blog-visit__tips li + li { margin-top: var(--s-1); }
.blog-visit__sub { margin: var(--s-4) 0 var(--s-2); font-size: var(--fs-1); font-weight: 600; color: var(--ink-2); }
.blog-visit__near { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.blog-visit__card { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: var(--s-1) var(--s-3) var(--s-1) var(--s-1);
  border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-weight: 500; }
.blog-visit__card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; }
.blog-visit__card img { width: 80px; height: 60px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-s); background: var(--surface-2); }
.blog-words__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.blog-words__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s-3); padding: var(--s-2) 0; border-top: 1px solid var(--line); }
.blog-words__item:first-child { border-top: 0; }
.blog-words__word { font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; color: var(--ink); }
.blog-words__word a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); }
.blog-words__roman { font-size: var(--fs-2); color: var(--ink-2); font-style: italic; }
.blog-words__meaning { font-size: var(--fs-2); color: var(--ink); }
.blog-words__say { flex-basis: 100%; font-size: var(--fs-1); color: var(--muted); }
.blog-words__foot { margin: var(--s-3) 0 0; font-size: var(--fs-2); }
.blog-words__foot a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; }

/* A city's words as flashcards (2026-11-24): each a <details>, so it turns over with no script; open shows
   the meaning in place of the word. */
.blog-flash { max-width: 48rem; margin: 0 auto var(--blog-gap); font-family: var(--font-ui); }
.blog-flash__how { margin: calc(-1 * var(--s-2)) 0 var(--s-3); font-size: var(--fs-1); color: var(--muted); }
.blog-flash__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: var(--s-3); }
.blog-flash__card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.blog-flash__card[open] { background: var(--accent-wash); border-color: var(--line-2); }
.blog-flash__front { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 6rem; padding: var(--s-3) var(--s-4);
  cursor: pointer; list-style: none; text-align: center; }
.blog-flash__front::-webkit-details-marker { display: none; }
.blog-flash__front::marker { content: ''; }
.blog-flash__front:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: var(--radius-m); }
.blog-flash__word { font-family: var(--font-text); font-size: var(--fs-4); font-weight: 600; color: var(--ink); }
.blog-flash__roman { font-size: var(--fs-1); color: var(--ink-2); font-style: italic; }
.blog-flash__card[open] .blog-flash__front { min-height: 0; padding-bottom: 0; }
.blog-flash__card[open] .blog-flash__word { font-size: var(--fs-2); color: var(--ink-2); }
.blog-flash__back { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s-2) var(--s-4) var(--s-4); text-align: center; }
.blog-flash__meaning { font-size: var(--fs-3); font-weight: 600; color: var(--ink); }
.blog-flash__say { font-size: var(--fs-1); color: var(--muted); }
.blog-flash__take { margin: var(--s-3) 0 0; font-size: var(--fs-2); color: var(--ink-2); }
.blog-flash__take a { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; }

/* A city's guide (2026-11-27): its intro on the text's measure, a day's posts with each place's time and tickets, what is
   good to know; the slim "City guides" row over /blog's pages; the words page. */
.blog-guide__intro { max-width: 48rem; margin: 0 auto var(--blog-gap); font-family: var(--font-text); font-size: var(--fs-3); line-height: 1.6; color: var(--ink); }
.blog-guide__intro p { margin: 0 0 var(--s-4); }
.blog-guide__intro p:last-child { margin-bottom: 0; }
.blog-guide__plan { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: var(--s-2); font-family: var(--font-ui); font-size: var(--fs-1); color: var(--ink-2); }
.blog-guide__k { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; color: var(--muted); margin-right: 0.35em; }
.blog-guide__practical { max-width: 48rem; margin: 0 auto var(--blog-gap); }
.blog-guide__practical ul { margin: var(--s-2) 0 0; padding-left: 1.2em; font-family: var(--font-text); font-size: var(--fs-2); line-height: 1.6; }
.blog-guide__practical li { margin: 0 0 var(--s-2); }
.blog-guides { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-12) 0 0; }
.blog-guides__h { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-right: var(--s-2); }
.blog-guides + .gl-pages { margin-top: var(--s-10); }
/* a guide's title is a sentence, not a word: on a phone it wraps inside its chip instead of running past the gutter */
.blog-guides .gl-chip.gl-chip { white-space: normal; max-width: 100%; padding-block: 6px; line-height: 1.3; }
.blog-wordspage .blog-flash { margin-top: var(--s-8); }

/* ── Trip logs and articles (2026-12-04): two tabs, the article cards, and an article's headings,
   citations, sources and its trip logs. ─────────────────────────────────────────────────────────── */
.blog-tabs { display: flex; gap: var(--s-1); margin: var(--s-5) 0 0; border-bottom: 1px solid var(--line); font-family: var(--font-ui); }
.blog-tabs__tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); margin-bottom: -1px;
  border-bottom: 2px solid transparent; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.blog-tabs__tab:hover { color: var(--ink); text-decoration: none; }
.blog-tabs__tab[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent-ink); }
.blog-latest { margin: 0 0 var(--s-8); }
.blog-latest__h { margin: 0 0 var(--s-4); font-family: var(--font-ui); font-size: var(--fs-3); font-weight: 700; color: var(--ink); }
.blog-latest__all { margin: var(--s-3) 0 0; font-family: var(--font-ui); font-size: var(--fs-2); }
.blog-latest__all a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-ink); font-weight: 500; }
.blog-alist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); max-width: 48rem; }
.blog-alist--row { max-width: none; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.blog-acard { display: flex; gap: var(--s-4); height: 100%; padding: var(--s-3); box-sizing: border-box; border: 1px solid var(--line);
  border-radius: var(--radius-m); background: var(--surface); color: var(--ink); text-decoration: none; }
.blog-acard:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; }
.blog-acard__img { flex: 0 0 auto; width: 120px; height: 80px; object-fit: cover; border-radius: var(--radius-s); background: var(--surface-2); }
.blog-acard__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.blog-acard__title { font-family: var(--font-text); font-size: var(--fs-3); font-weight: 600; line-height: 1.3; }
.blog-acard__summary { font-size: var(--fs-2); line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-acard__meta { font-family: var(--font-ui); font-size: var(--fs-1); color: var(--muted); }
@media (max-width: 30rem) { .blog-acard__img { width: 88px; height: 66px; } }
.blog-article__body h2 { margin: var(--s-8) 0 var(--s-3); font-family: var(--font-text); font-size: var(--fs-5, 1.5rem); line-height: 1.25; color: var(--ink); scroll-margin-top: var(--s-8); }
.blog-cite { font-size: 0.7em; line-height: 0; margin-left: 1px; }
.blog-cite a { display: inline-block; min-width: 1.4em; padding: 0 2px; text-align: center; color: var(--accent-ink); font-family: var(--font-ui); font-weight: 600; text-decoration: none; }
.blog-cite a:hover { text-decoration: underline; }
.blog-sources__list { padding-left: 1.6em; }
.blog-sources__list li { scroll-margin-top: var(--s-8); }
.blog-sources__list li:target { background: var(--accent-wash); border-radius: var(--radius-s); }
/* Where we saw it: a section like any other, one --blog-gap from the Sources box above (it sat flush against it)
   and from the pager below (margins collapse with the pager's). */
.blog-xref { max-width: var(--blog-text); margin: var(--blog-gap) auto; font-family: var(--font-ui); }
.blog-xref .blog-section__h { margin-bottom: var(--s-3); }
.blog-xref .blog-visit__card > span { display: flex; flex-direction: column; }
.blog-xref__where { font-size: var(--fs-1); font-weight: 400; color: var(--muted); }

/* ---------- Less text, more picture (2026-12-04, the owner: "a bit text-y, and the element spacing,
   padding, sizes etc could be improved") ---------- */
/* A section's heading and its "all" link share one row. */
.blog-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin: 0 0 var(--s-5); }
.blog-sechead .blog-latest__h { margin: 0; }
.blog-sechead__more { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-ui); font-size: var(--fs-2);
  font-weight: 500; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.blog-sechead__more:hover { text-decoration: underline; }
.blog-latest { margin: 0 0 var(--s-12); }
/* The country chips: one row that scrolls sideways on a phone, instead of two rows of pills. */
@media (max-width: 40rem) {
  .blog-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); }
  .blog-chips::-webkit-scrollbar { display: none; }
  .blog-chips .gl-chip { flex: none; }
}
/* An article card: its picture on top, 3:2, the words under it. */
.blog-alist--row { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--s-6); }
/* On a phone the articles are one row to swipe (each card most of the screen wide), so the trip logs
   start in the first two screens instead of after three tall cards. */
@media (max-width: 40rem) {
  .blog-alist--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--s-4);
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) var(--s-2); scroll-padding-inline: var(--gutter); }
  .blog-alist--row::-webkit-scrollbar { display: none; }
  .blog-alist--row > .blog-alist__item { flex: 0 0 80%; scroll-snap-align: start; }
}
.blog-alist--row .blog-acard { flex-direction: column; gap: 0; padding: 0; overflow: hidden; border-radius: var(--radius-m);
  background: var(--surface); }
.blog-alist--row .blog-acard__img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 0; object-fit: cover; object-position: 50% 35%;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.blog-alist--row .blog-acard:hover .blog-acard__img { transform: scale(1.03); }
.blog-alist--row .blog-acard__text { gap: var(--s-2); padding: var(--s-4) var(--s-4) var(--s-5); }
.blog-alist--row .blog-acard__title { font-size: var(--fs-4); line-height: 1.25; }
.blog-alist--row .blog-acard__summary { -webkit-line-clamp: 2; }
@media (max-width: 30rem) { .blog-alist--row .blog-acard__img { width: 100%; height: auto; } }
/* Plan your visit: more room inside, a long answer across the row, the nearby posts as photo cards. */
.blog-visit { padding: var(--s-6) var(--s-6) var(--s-8); border-radius: var(--radius-m); }
.blog-visit__facts { gap: var(--s-5) var(--s-6); }
.blog-visit__fact--wide { grid-column: 1 / -1; }
.blog-visit__fact dd { font-size: var(--fs-3); }
.blog-visit__sub { margin: var(--s-6) 0 var(--s-3); }
.blog-visit__near { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: var(--s-4); }
.blog-visit__near li { margin: 0; min-width: 0; }
.blog-visit__card { flex-direction: column; align-items: stretch; gap: 0; height: 100%; padding: 0; overflow: hidden; }
.blog-visit__card img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 0; }
.blog-visit__card-t { padding: var(--s-3) var(--s-3) var(--s-4); font-size: var(--fs-2); font-weight: 500; line-height: 1.35; }
@media (max-width: 40rem) { .blog-visit { padding: var(--s-5) var(--s-4) var(--s-6); } }

/* Before you go (BlogBefore.ss, 2026-12-04): five short groups in a grid, under the language box. */
.blog-before { margin: 0 0 var(--blog-gap); }
.blog-before__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s-4); }
.blog-before__sec { padding: var(--s-5) var(--s-5) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.blog-before__h { margin: 0 0 var(--s-2); font-family: var(--font-ui); font-size: var(--fs-2); font-weight: 600; color: var(--ink); }
.blog-before__list { margin: 0; padding-left: 1.1em; font-size: var(--fs-2); line-height: 1.5; color: var(--ink-2); }
.blog-before__list li + li { margin-top: var(--s-2); }
.blog-before__list .blog-ext { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-ink); font-weight: 500; }
.blog-before__checked { margin: var(--s-3) 0 0; font-size: var(--fs-1); color: var(--muted); }
/* Plugs is one line: a strip across the grid, not a fifth box alone on its row. */
.blog-before__sec--plugs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-3); padding: var(--s-3) var(--s-5); }
.blog-before__sec--plugs .blog-before__h { margin: 0; }
.blog-before__sec--plugs .blog-before__list { padding: 0; list-style: none; }
