/**
 * The 2026 design refresh — foundation and base components.
 *
 * Everything here is scoped under `.ra`, which is how this stylesheet and `app.css` coexist while
 * the refresh moves through the templates one at a time. `app.css` is entirely class-scoped
 * (`.ra-card__img` and friends) with no bare element selectors, so the two never meet: a template
 * is "refreshed" by gaining the `.ra` wrapper and the new class names, and `app.css` goes away with
 * the last template that still needs it.
 *
 * Token names are the design system's own (`--mint`, `--ink`, `--space-5`), not the `--ra-*` prefix
 * app.css uses. That is deliberate: it means CSS can be lifted out of
 * `design-system/components/bundle.css` without rewriting every `var()`, which is the single
 * biggest source of transcription errors in a job this size. The names are safe unprefixed because
 * they are declared on `.ra` and custom properties do not leak upward.
 *
 * Source of truth: `New Design/_unpacked/reykjavik-attractions-handover/`. Prefer
 * `design-system/components/bundle.css` over `design/css/*.css` — the bundle is the deduplicated
 * one, and the seven page files were written in rounds and have never been loaded together.
 *
 * Deliberate departures from the design files are marked DEPARTURE and explained where they occur.
 */

/* ==========================================================================
   1. Fonts
   ========================================================================== */

/*
 * Self-hosted rather than fetched from Google. Both families are variable fonts, so one file
 * carries every weight: four files, 83 KB, for what used to be a third-party connection on the
 * critical path. This closes the "trim the font weights" item that has been open since the July
 * CWV audit, because there are no longer separate weights to trim.
 *
 * Subsets are latin and latin-ext, matching what Google serves. Between them they cover the eight
 * Latin-script languages the site runs in — Icelandic sits inside latin (Þ U+00DE, ð U+00F0), and
 * Polish needs latin-ext. Japanese and Simplified Chinese have no coverage in either family and
 * fall back to the system stack, exactly as they do today.
 */

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/figtree-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/hankengrotesk-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/hankengrotesk-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */

/*
 * Generated from `design-system/tokens.json` v1. The design files declare these piecemeal across
 * the seven stylesheets (`--coral` in one, `--err` in another); this is the whole set in one place,
 * including the category tints and road colours that Phases 1 and 5 need, so the block is written
 * once and never revisited.
 *
 * No raw hex below this block — the theme rule from app.css still holds, with these names.
 */

.ra {
	/* Ground and ink */
	--surface: #fff;
	--tint: #f2f8f5;
	--ink: #111;
	--ink2: #3a3a3a;
	--muted: #5d6166;
	--line: rgb(0 0 0 / 9%);

	/* Brand. Unchanged from the live site — this is a refresh, not a rebrand. */
	--mint: #30ce91;
	--mint-d: #25b57e;
	--blue: #024873;
	--coral: #ff5962;

	/* Form error, and nothing else. */
	--err: #b3261e;

	/* Weather warning band */
	--warn-bg: #f7ecc8;
	--warn-ink: #231a02;

	/* Road conditions. Told apart by lightness as well as hue; every map carries a legend. */
	--road-ok: #1f9c6e;
	--road-ice: #e0a100;
	--road-slippery: #e06a00;
	--road-storm: #7a3fb5;
	--road-closed: #d0342c;
	--road-impassable: #4a4f55;
	--road-unknown: #aab3bb;

	/* Space */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 56px;
	--space-8: 72px;
	--space-9: 112px;
	--gutter: 28px;
	--rail: 1376px;

	/* Shape */
	--radius-sm: 10px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 999px;

	/* One shadow family, tinted blue. `shadow` at rest, `shadow-2` on hover and when floating. */
	--shadow: 0 1px 2px rgb(2 72 115 / 5%), 0 6px 16px rgb(2 72 115 / 6%), 0 18px 40px rgb(2 72 115 / 6%);
	--shadow-2: 0 2px 4px rgb(2 72 115 / 6%), 0 12px 28px rgb(2 72 115 / 10%), 0 32px 64px rgb(2 72 115 / 10%);

	/* Type */
	--font-display: "Hanken Grotesk", "Figtree", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;

	/* The one easing in the system. */
	--e: cubic-bezier(.16, 1, .3, 1);
}

/*
 * The 23 category tints. Each pairs a soft ground with a dark ink; they carry the category label on
 * a tour page and stand in for a product photo in the shop. Kept as a separate block because it is
 * a lookup table, not a palette.
 */
.ra {
	--tint-sky: #d9ecf5;          --tint-sky-ink: #2c5a74;
	--tint-lavender: #e4def3;     --tint-lavender-ink: #4b3f7a;
	--tint-butter: #f7ecc8;       --tint-butter-ink: #7a5a18;
	--tint-sand: #f0e6d8;         --tint-sand-ink: #6b5338;
	--tint-moss: #ddebd3;         --tint-moss-ink: #3d5a2a;
	--tint-petal: #f7dcde;        --tint-petal-ink: #8c3b44;
	--tint-steam: #e7edee;        --tint-steam-ink: #3e5558;
	--tint-lava: #f2d7c4;         --tint-lava-ink: #8a4721;
	--tint-ember: #f8d9d1;        --tint-ember-ink: #8e3f2f;
	--tint-blush: #f7dce2;        --tint-blush-ink: #8c3c54;
	--tint-mallow: #f0daec;       --tint-mallow-ink: #75396b;
	--tint-iris: #e6dbf0;         --tint-iris-ink: #543a77;
	--tint-periwinkle: #dddff4;   --tint-periwinkle-ink: #3d4583;
	--tint-cornflower: #d6e2f3;   --tint-cornflower-ink: #2d4e7b;
	--tint-glacier: #d3ebee;      --tint-glacier-ink: #265a61;
	--tint-lagoon: #d1e9e3;       --tint-lagoon-ink: #295b51;
	--tint-aurora: #d3ecdb;       --tint-aurora-ink: #2b5c44;
	--tint-highland: #d6ebd2;     --tint-highland-ink: #33592e;
	--tint-sage: #e2e8d6;         --tint-sage-ink: #505a3c;
	--tint-tundra: #e7edc7;       --tint-tundra-ink: #5b631f;
	--tint-honey: #f6e6b7;        --tint-honey-ink: #6e540f;
	--tint-slate: #e0e6ec;        --tint-slate-ink: #3d4e5c;
	--tint-stone: #ece8e0;        --tint-stone-ink: #5c5247;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

/*
 * DEPARTURE: the design files set `overflow: hidden` here. That makes `.ra` a scroll container, and
 * a scroll container is what `position: sticky` resolves against — so every sticky element in the
 * system (article contents, events day headings, the map column, the mobile filter bar, the account
 * nav) would stick to a box that never scrolls, i.e. not stick at all. The design was only ever
 * checked as full-height screenshots in a headless browser, which is the one way you would never
 * see it. `overflow-x: clip` clips the same overhang without creating a scroll container.
 *
 * DEPARTURE: the design files also set `container-type: inline-size` here and ask their layout
 * questions with `@container`. That cannot work where `.ra` is the `body`, which is what it is on
 * this site: `container-type` applies layout containment, and layout containment makes the element
 * a containing block for fixed-position descendants — so the mobile menu's `position: fixed` would
 * resolve against the document rather than the viewport, and a menu opened half way down the page
 * would open off-screen above it. The handover anticipates this ("in the theme this can become
 * ordinary media queries if that is simpler"), and here it is also more correct. `.ra` is always
 * the full viewport width, so every `@container` in the design is an identical `@media`.
 */
.ra {
	position: relative;
	overflow-x: clip;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink2);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-synthesis: none;
}

.ra *,
.ra *::before,
.ra *::after { box-sizing: border-box; }

.ra h1, .ra h2, .ra h3, .ra h4, .ra p { margin: 0; }
.ra h1, .ra h2, .ra h3, .ra h4 { text-wrap: balance; }
.ra p { text-wrap: pretty; }
.ra img { display: block; max-width: 100%; }
.ra a { color: inherit; text-decoration: none; }
.ra button { font: inherit; color: inherit; cursor: pointer; }

.ra a:focus-visible,
.ra button:focus-visible,
.ra [tabindex]:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Visually hidden, still read aloud and still focusable. */
.ra .vh {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Prices are always tabular, so a column of them lines up. */
.ra .price { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   4. Type scale
   ========================================================================== */

/* Display group — Hanken Grotesk, weight 600, tight tracking, line height near 1. */
.ra h1, .ra h2, .ra h3, .ra h4 {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 600;
}

.ra .display-xl, .ra h1 { font-size: 58px; line-height: 1.02; letter-spacing: -.03em; }
.ra .display-l,  .ra h2 { font-size: 44px; line-height: 1.08; letter-spacing: -.025em; }
.ra .display-m,  .ra h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.ra .title,      .ra h4 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }

.ra .lede {
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: -.01em;
	color: var(--ink);
}

/* Text group — Figtree. Nothing in the system is smaller than 15px. */
.ra .body-l { font-size: 18px; line-height: 1.65; }
.ra .label  { font-size: 16px; line-height: 1.3; font-weight: 600; }
.ra .small  { font-size: 15px; line-height: 1.45; }

/* Long-form reading caps the measure rather than the container. */
.ra .prose { max-width: 65ch; }
.ra .prose p + p { margin-top: var(--space-4); }

@media (max-width: 640px) {
	.ra .display-xl, .ra h1 { font-size: 40px; }
	.ra .display-l,  .ra h2 { font-size: 32px; }
	.ra .lede { font-size: 20px; }
}

/* ==========================================================================
   5. Layout
   ========================================================================== */

.ra .wrap {
	max-width: var(--rail);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ra .sec { padding-top: var(--space-9); }

.ra .sec-h {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-5);
	margin-bottom: 36px;
}

/* Card grids: four across, then three, two, one. */
.ra .grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-5);
}

@media (max-width: 1180px) {
	.ra .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
	.ra .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.ra .wrap { padding-inline: 20px; }
	.ra .sec { padding-top: var(--space-8); }
	.ra .sec-h { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
	.ra .grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ==========================================================================
   6. Components
   ========================================================================== */

/* --- Button ------------------------------------------------------------- */

/*
 * Mint fill, ink text — never white on mint. `.btn-2` is the quiet one: white with a hairline,
 * for the second action in a pair.
 *
 * DEPARTURE: the design files carry a bare `.ra .btn { width: 100% }`. In the bundle that rule
 * lives inside `@media (max-width: 640px)`, which is correct; it is only loose in the page
 * files. Buttons here are intrinsic width and the full-width case is opt-in via `.btn-block`.
 */
.ra .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	height: 56px;
	padding: 0 26px;
	border: 0;
	border-radius: var(--radius-md);
	background: var(--mint);
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
}

.ra .btn:hover { background: var(--mint-d); }
.ra .btn:active { transform: scale(.98); }
.ra .btn[disabled],
.ra .btn[aria-disabled="true"] {
	background: var(--tint);
	color: var(--muted);
	cursor: not-allowed;
	transform: none;
}

.ra .btn-2 {
	background: var(--surface);
	box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / 16%);
}
.ra .btn-2:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }

.ra .btn-block { width: 100%; }

/* --- Text link ---------------------------------------------------------- */

/* Black and underlined. The coral links of the old site are gone. */
.ra .tlink {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	text-decoration-color: rgb(0 0 0 / 30%);
}

.ra .tlink:hover { text-decoration-color: currentColor; }
.ra .tlink:hover svg { transform: translateX(4px); }

/* On the blue information bands the link inverts. */
.ra .on-blue .tlink { color: var(--surface); text-decoration-color: rgb(255 255 255 / 50%); }
.ra .on-blue .tlink:hover { text-decoration-color: var(--surface); }

/* --- Field -------------------------------------------------------------- */

/*
 * DEPARTURE: the design files start `.fld` with `grid-column: span 6`, which belongs to the
 * checkout form's twelve-column grid rather than to the field itself. A field here is a plain
 * block; the checkout grid will place its own in Phase 6.
 */
.ra .fld {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ra .fld label { font-size: 15px; font-weight: 600; color: var(--ink); }
.ra .fld label span { font-weight: 400; color: var(--muted); }

.ra .fld input,
.ra .fld select,
.ra .fld textarea,
.ra .fld .sel {
	width: 100%;
	height: 56px;
	padding: 0 var(--space-4);
	border: 1.5px solid rgb(0 0 0 / 20%);
	border-radius: var(--radius-md);
	background: var(--surface);
	font: inherit;
	font-size: 17px;
	color: var(--ink);
	outline: 0;
}

.ra .fld textarea { height: auto; padding: var(--space-3) var(--space-4); }
.ra .fld .sel { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.ra .fld input::placeholder { color: var(--muted); }

.ra .fld input:hover,
.ra .fld select:hover,
.ra .fld textarea:hover,
.ra .fld .sel:hover { border-color: rgb(0 0 0 / 45%); }

.ra .fld input:focus-visible,
.ra .fld select:focus-visible,
.ra .fld textarea:focus-visible,
.ra .fld .sel:focus-visible {
	border-color: var(--ink);
	box-shadow: 0 0 0 4px rgb(48 206 145 / 35%);
	outline: 0;
}

.ra .fld.bad input { border-color: var(--err); }
.ra .fld.bad input:focus-visible { box-shadow: 0 0 0 4px rgb(179 38 30 / 18%); }

.ra .fld .msg {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	color: var(--err);
	animation: ra-in .25s var(--e);
}

.ra .fld .hint { font-size: 15px; color: var(--muted); }

/* --- Chip --------------------------------------------------------------- */

/* A chip always filters or switches something. There are no decorative badges in this system. */
.ra .chip {
	height: 44px;
	padding: 0 18px;
	border: 1.5px solid rgb(0 0 0 / 14%);
	border-radius: var(--radius-pill);
	background: var(--surface);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.ra .chip:hover { border-color: var(--ink); }
.ra .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.ra .chip span { margin-left: 6px; font-weight: 500; opacity: .7; font-variant-numeric: tabular-nums; }

.ra .chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }

@media (max-width: 640px) {
	/* Chips scroll sideways rather than wrapping, so the row stays one line. */
	.ra .chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: -20px;
		padding-inline: 20px;
		scrollbar-width: none;
	}
	.ra .chips::-webkit-scrollbar { display: none; }
}

/* --- Card: the shared shell --------------------------------------------- */

/*
 * One shell for the tour card and the place card. White, radius-xl, layered blue shadow, no
 * border, and an 8px frame around a 3:2 photo. Every extra is optional: a card with no rating and
 * no departure place still looks finished.
 */
.ra .card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--space-2) var(--space-2) 22px;
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow);
}

/*
 * DEPARTURE: in the design files the only clickable thing on a card is the title text. On the most
 * repeated element on this site that is a real loss — the card it replaces is clickable edge to
 * edge, and the replacement would be a two-line heading on a 320px card, most of it thumb-missable.
 * The title's own link is stretched over the whole card instead. Nothing moves and the markup is
 * exactly what the designs specify; the two controls that sit on top of it are raised above it.
 *
 * The cost is that card text can no longer be selected with the mouse, which is the accepted
 * trade for this pattern and the reason the heading still carries the full name in `title=`.
 */
.ra .card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius-xl);
}

.ra .card .sv,
.ra .card .save {
	z-index: 1;
}

.ra .card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }

.ra .card-ph { position: relative; border-radius: var(--radius-lg); overflow: hidden; }

.ra .card-img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ra .card:hover .card-img { transform: scale(1.04); }

/* A card whose record has no photo keeps the same footprint. */
.ra .card-noimg { aspect-ratio: 3 / 2; background: var(--tint-steam); }

.ra .card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--space-4) 14px 0;
}

.ra .card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	min-height: 24px;
}

.ra .card-cat {
	/* Above the title's stretched link, or it would not be clickable at all. */
	position: relative;
	z-index: 1;
	min-width: 0;
	font-size: 15px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ra .card-cat:hover { color: var(--ink); }

.ra .card-title {
	font-family: var(--font-display);
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -.01em;
	font-weight: 600;
	color: var(--ink);
	min-height: 2.5em;
}

/*
 * Supplier titles are long and messy and are shown as given. Two lines, then truncate — never
 * rewritten in the template.
 */
.ra .card-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}
.ra .card-title a:hover { text-decoration-color: currentColor; }

/*
 * Two lines are reserved above so cards sharing a grid row line up. In one column there is no row
 * to line up with and the reservation is just dead space under every short title, so the design
 * releases it — and this block has to sit *here*, after the rule it overrides. In the layout
 * section, where the rest of the one-column breakpoint lives, it has the same specificity as
 * `.ra .card-title` and loses on source order, silently: the media query matches, the declaration
 * applies, and the later rule still wins. Measured at 375px before moving it — min-height was
 * still 52.5px.
 */
@media (max-width: 640px) {
	.ra .card-title { min-height: 0; }
}

/* The facts row holds whatever the record has: departure place, town, price level. */
.ra .card-facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px var(--space-4);
	margin-top: 2px;
	min-height: 24px;
	font-size: 15px;
	color: var(--muted);
}

/* The row above the hairline: price left, duration right, as on the live site. */
.ra .card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 15px;
	color: var(--muted);
}

.ra .card-meta .price { font-size: 17px; font-weight: 600; color: var(--ink); }
.ra .card-body > :nth-last-child(2) { margin-bottom: var(--space-3); }

.ra .dur { display: inline-flex; align-items: center; gap: 6px; }

/* --- Card: rating ------------------------------------------------------- */

/* Only rendered when real review data exists — and only then does the schema carry stars. */
.ra .rate {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: none;
	font-size: 15px;
	color: var(--muted);
	white-space: nowrap;
}
.ra .rate b { font-weight: 600; color: var(--ink); }
.ra .rate .star { color: var(--ink); margin-top: -1px; }

/* --- Card: save --------------------------------------------------------- */

/* The one place coral appears in the interface. */
.ra .save {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	background: rgb(255 255 255 / 92%);
	color: var(--ink);
	cursor: pointer;
}

.ra .save:hover { background: var(--surface); transform: scale(1.06); }
.ra .save:active { transform: scale(.94); }

/*
 * The save control on a page head (`.th-act`) is a label styled as a button rather than the card's
 * heart, so the checked state has to reach that too. Both are behind `ra_feature( 'saved' )`, which
 * is off until Phase 6 gives a saved item somewhere to live.
 */
.ra .sv:checked + .fb { border-color: var(--ink); background: var(--tint); }

.ra .sv:checked + .save svg,
.ra .sv:checked + .fb svg,
.ra .save.is-saved svg {
	fill: var(--coral);
	color: var(--coral);
	animation: ra-pop .36s var(--e);
}

.ra .sv:focus-visible + .save { outline: 2px solid var(--ink); outline-offset: 2px; }

/* --- Place card --------------------------------------------------------- */

/* The tour card without a price row: a short description does the work instead. */
.ra .plc .card-body { padding-bottom: 22px; }
.ra .plc .card-title { min-height: 0; }
.ra .plc .card-body > :nth-last-child(2) { margin-bottom: 0; }

.ra .card-loc { flex: none; font-size: 15px; color: var(--muted); white-space: nowrap; }

.ra .card-sd {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--muted);
}

/* ==========================================================================
   7. Motion
   ========================================================================== */

/* Small, fast, and caused by the visitor. Nothing animates on scroll. */
.ra .btn,
.ra .btn-2,
.ra .chip,
.ra .save,
.ra .icon-b { transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .15s ease-out, box-shadow .15s ease-out; }

.ra .tlink,
.ra .card-title a,
.ra .card-cat { transition: text-decoration-color .15s ease-out, color .15s ease-out; }

.ra .tlink svg { transition: transform .22s var(--e); }

.ra .fld input,
.ra .fld select,
.ra .fld textarea,
.ra .fld .sel { transition: border-color .15s ease-out, box-shadow .15s ease-out; }

.ra .card { transition: box-shadow .3s var(--e), transform .3s var(--e); }
.ra .card-img { transition: transform .6s var(--e); }
.ra .save svg { transition: fill .15s ease-out, color .15s ease-out; }

@keyframes ra-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ra-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

/*
 * DEPARTURE: the design files have one `prefers-reduced-motion` rule in 1,417. Movement is a
 * preference the operating system already carries, and the system's own motion table is all
 * transform and opacity — exactly what a visitor who asks for less motion is asking not to see.
 * Colour still changes, so every control keeps its hover and focus feedback.
 */
@media (prefers-reduced-motion: reduce) {
	.ra *,
	.ra *::before,
	.ra *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.ra .card:hover { transform: none; }
	.ra .card:hover .card-img { transform: none; }
	.ra .save:hover,
	.ra .btn:active,
	.ra .chip:active { transform: none; }
	.ra .tlink:hover svg { transform: none; }
}

/* ==========================================================================
   8. Header
   ========================================================================== */

/*
 * Two states of one bar. On the front page it floats over the hero photograph, translucent with a
 * blur. On every inner page it sits in normal flow, solid white with the shadow. `body.inner`
 * carries the difference, set in inc/setup.php.
 */
.ra .hd {
	position: absolute;
	z-index: 4;
	top: var(--gutter);
	left: var(--gutter);
	right: var(--gutter);
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 10px var(--space-3) 10px 22px;
	border-radius: var(--radius-lg);
	background: rgb(255 255 255 / 82%);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: var(--ink);
}

.ra.inner .hd {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	margin: 20px var(--gutter) 0;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.ra .hd-logo img { height: 38px; width: auto; }
.ra .hd .nav { margin-left: var(--space-3); }
.ra .hd-r { margin-left: auto; display: flex; align-items: center; gap: 2px; }

/* --- Main nav and the mega menus ---------------------------------------- */

.ra .nav { display: flex; align-items: center; gap: 4px; }

/* Static, so the mega panel resolves against the header and spans its full width. */
.ra .nav-item { position: static; }

.ra .nav-b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--radius-sm);
	background: none;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.ra .nav-b:hover,
.ra .icon-b:hover { background: rgb(0 0 0 / 6%); }

.ra .icon-b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--radius-sm);
	background: none;
}

.ra .mega {
	display: grid;
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + var(--space-3));
	z-index: 5;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-2) var(--space-6);
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity .2s var(--e), transform .2s var(--e), visibility 0s .2s;
}

/* Bridges the gap between button and panel so the pointer does not cross dead ground. */
.ra .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }

/*
 * DEPARTURE: the design files open the mega on `:hover` and `:focus-within` alone. The theme it
 * replaces deliberately opened on click, and the reason in its own comment still stands — a hover
 * menu is a trap on a touchscreen and a hazard for anyone whose pointer is not steady. So click is
 * the mechanism (`.is-open`, driven by the script, which is what carries aria-expanded), and hover
 * is added back only where there is a real pointer that can hover.
 */
.ra .nav-item.is-open > .mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
	.ra .has-mega:hover > .mega {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		transition-delay: 0s;
	}
	.ra .has-mega:hover > .nav-b { background: rgb(0 0 0 / 6%); }
	.ra .has-mega:hover > .nav-b svg { transform: rotate(180deg); }
}

.ra .nav-b svg,
.ra .dd-b svg:last-child { transition: transform .22s var(--e); }
.ra .nav-item.is-open > .nav-b { background: rgb(0 0 0 / 6%); }
.ra .nav-item.is-open > .nav-b svg,
.ra .dd.is-open .dd-b svg:last-child { transform: rotate(180deg); }

.ra .mega-col { display: flex; flex-direction: column; gap: 2px; }

.ra .mega-h {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	padding: 0 var(--space-3) 10px;
}

.ra .mega-a { display: flex; flex-direction: column; gap: 2px; padding: 10px var(--space-3); border-radius: var(--radius-sm); }
.ra .mega-a:hover { background: var(--tint); }
.ra .mega-n { font-size: 17px; font-weight: 600; color: var(--ink); }

.ra .mega-d {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
	color: var(--muted);
}

/* --- The small dropdowns: language, currency, account -------------------- */

.ra .dd { position: relative; }

.ra .dd-b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 var(--space-3);
	border: 0;
	border-radius: var(--radius-sm);
	background: none;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.ra .dd-b:hover,
.ra .dd.is-open .dd-b { background: rgb(0 0 0 / 6%); }

.ra .dd-p {
	position: absolute;
	right: 0;
	top: calc(100% + 22px);
	z-index: 6;
	padding: 10px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-2);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px) scale(.98);
	transform-origin: top right;
	transition: opacity .18s var(--e), transform .18s var(--e), visibility 0s .18s;
}

.ra .dd.is-open .dd-p {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}

.ra .dd-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.ra .dd-lang .dd-p { width: 380px; }
.ra .dd-cur .dd-p { width: 500px; }

.ra .dd-o {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	height: 44px;
	padding: 0 var(--space-3);
	border-radius: var(--radius-sm);
	font-size: 16px;
	color: var(--ink2);
	white-space: nowrap;
}

.ra .dd-o b { display: inline-block; width: 48px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ra .dd-o:hover { background: var(--tint); color: var(--ink); }
.ra .dd-o[aria-current] { color: var(--ink); font-weight: 600; }

.ra .dd-note {
	margin-top: 10px;
	padding: 14px var(--space-3) 6px;
	border-top: 1px solid var(--line);
	font-size: 15px;
	line-height: 1.45;
	color: var(--muted);
}

.ra .dd-acct .dd-b { width: 44px; padding: 0; justify-content: center; }
.ra .dd-acct .dd-b svg { transform: none !important; }
.ra .dd-acct .dd-p { width: 320px; padding: 20px; }
.ra .acct { display: flex; flex-direction: column; gap: var(--space-2); }
.ra .acct .btn { width: 100%; height: 52px; }
.ra .acct-note { margin: 6px 0 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.ra .acct-links { display: flex; flex-direction: column; margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--line); }
.ra .acct-links .dd-o { margin: 0 -8px; }

/* --- Saved and cart ------------------------------------------------------ */

.ra .hd-saved {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 var(--space-3);
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
}

.ra .hd-saved:hover { background: rgb(0 0 0 / 6%); }
.ra .hd-saved:active { transform: scale(.96); }

/* The count is hidden until there is one, so an empty heart is just a heart. */
.ra .hd-saved [data-ra-saved-count]:empty { display: none; }

.ra .only-m { display: none; }

@media (max-width: 1020px) {
	/* Below this the nav, the dropdowns and the saved count collapse into the mobile menu. */
	.ra .nav,
	.ra .dd,
	.ra .hd-saved { display: none; }
	.ra .only-m { display: inline-flex; }
}

@media (max-width: 640px) {
	.ra .hd { top: 20px; left: 20px; right: 20px; padding: 6px 6px 6px 14px; border-radius: 14px; gap: var(--space-2); }
	.ra.inner .hd { margin: var(--space-3) var(--space-3) 0; }
	.ra .hd-logo img { height: 32px; }
}

/* ==========================================================================
   9. Mobile menu
   ========================================================================== */

/*
 * DEPARTURE: in the design files the mobile menu is its own page (`M-Menu.html`, `.ra.mm` with a
 * fixed 844px height). On a real site it is a panel over the page, so it is `position: fixed` and a
 * dialog, and the script moves focus into it and puts it back on close.
 */
.ra .mm {
	position: fixed;
	inset: 0;
	z-index: 30;
	display: none;
	flex-direction: column;
	background: var(--surface);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ra .mm[open],
.ra .mm.is-open { display: flex; animation: ra-in .2s var(--e); }

.ra .mm-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--space-3) 14px 20px; }
.ra .mm-top img { height: 34px; width: auto; }
.ra .mm-b { flex: 1; display: flex; flex-direction: column; padding: var(--space-2) 20px 28px; }
.ra .mm-l { display: flex; flex-direction: column; margin-top: var(--space-3); }

.ra .mm-a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	min-height: 60px;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -.015em;
	color: var(--ink);
}

.ra .mm-a svg { color: var(--muted); }

.ra .mm-a span {
	margin-left: auto;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--muted);
}

.ra .mm-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2); margin-top: 20px; }
.ra .mm-2 .btn { height: 52px; padding: 0 10px; }

.ra .mm-sel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	height: 52px;
	padding: 0 14px;
	border: 1.5px solid rgb(0 0 0 / 14%);
	border-radius: var(--radius-md);
	background: var(--surface);
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
}

.ra .mm-sel > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.ra .mm-foot { margin-top: auto; padding-top: 28px; }

/* The second level: one menu's links, with a way back. */
.ra .mm-back { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px 0 2px; border: 0; background: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.ra .mm h2 { font-size: 36px; margin: var(--space-2) 0 4px; }
.ra .mm-g { margin: 28px 0 4px; font-size: 15px; color: var(--muted); }
.ra .mm-s { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; color: var(--ink); }

/* Nothing below 1020px opens the desktop nav, and nothing above it opens this. */
@media (min-width: 1021px) {
	.ra .mm { display: none !important; }
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.ra .ft { padding-top: 88px; padding-bottom: 40px; }
.ra .ft-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-bottom: 48px; }
.ra .ft-top img { height: 52px; width: auto; }
.ra .socs { display: flex; gap: 4px; color: var(--ink); }
.ra .soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); }
.ra .soc:hover { background: rgb(0 0 0 / 6%); }

.ra .f-cols {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 40px var(--space-5);
	padding: 48px 0;
	border-top: 1px solid var(--line);
}

.ra .f-col { display: flex; flex-direction: column; gap: var(--space-3); font-size: 16px; }
.ra .f-h { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.ra .f-col a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.ra .f-col a:hover { color: var(--ink); text-decoration-color: currentColor; }

.ra .ft-b {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-3);
	padding-top: 28px;
	border-top: 1px solid var(--line);
	font-size: 15px;
	color: var(--muted);
}

@media (max-width: 1180px) {
	.ra .f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.ra .ft { padding-top: 64px; }
	.ra .ft-top { flex-direction: column; align-items: flex-start; }
	.ra .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
}

/* Header and footer motion, with the same reduced-motion exemption as everything else. */
.ra .nav-b,
.ra .dd-b,
.ra .mega-a,
.ra .dd-o,
.ra .soc,
.ra .hd-saved { transition: background-color .15s ease-out, color .15s ease-out, transform .15s ease-out; }

.ra .nav-b:active,
.ra .dd-b:active,
.ra .soc:active { transform: scale(.96); }

.ra .f-col a { transition: text-decoration-color .15s ease-out, color .15s ease-out; }

@media (prefers-reduced-motion: reduce) {
	.ra .nav-b:active,
	.ra .dd-b:active,
	.ra .soc:active,
	.ra .hd-saved:active { transform: none; }
	.ra .nav-item.is-open > .nav-b svg,
	.ra .dd.is-open .dd-b svg:last-child { transition: none; }
}

/* The mobile menu's language list: a <details>, so it works with no script at all. */
.ra .mm-lang { grid-column: 1 / -1; }
.ra .mm-lang > summary { list-style: none; cursor: pointer; }
.ra .mm-lang > summary::-webkit-details-marker { display: none; }
.ra .mm-lang[open] > summary svg:last-child { transform: rotate(180deg); }
.ra .mm-lang > summary svg:last-child { transition: transform .2s var(--e); }
.ra .mm-s[aria-current] { font-weight: 600; }

/* ==========================================================================
   11. Listings
   ========================================================================== */

/*
 * `design/pages/L-Tours.html`, `L-Filters.html`, `L-Mobile.html`, `X-FilterSheet.html`.
 *
 * The filter bar and the mobile filter sheet are the same element. Above the mobile breakpoint it
 * is a row of pills with dropdown panels; below it, `refresh.js` adds `.is-sheet` and it becomes a
 * full-screen panel behind a "Filters" button. With no JavaScript that button never appears, no
 * `.is-sheet` is ever added, and the filters render as an ordinary stacked form on the page —
 * which is why every control in it is a link rather than a checkbox.
 */

/* --- Breadcrumb --------------------------------------------------------- */

.ra .crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 44px 0 14px;
	font-size: 15px;
	color: var(--muted);
}

.ra .crumb a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgb(0 0 0 / 25%);
}

.ra .crumb a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* --- Listing head ------------------------------------------------------- */

.ra .lh h1 { font-size: 58px; }

.ra .lh-p {
	margin-top: 12px;
	max-width: 60ch;
	font-size: 18px;
	color: var(--ink2);
}

/* --- The filter bar ----------------------------------------------------- */

.ra .fbar {
	position: relative;
	z-index: 3;
	margin-top: 36px;
}

/*
 * `.fs-body` holds both columns so that the sheet has one scrolling region rather than two. Without
 * it the sheet's grid put the filters and the sort in the same row and therefore side by side, and
 * everything inside wrapped to two characters a line.
 */
.ra .fs-body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-4);
}

.ra .fbar-l,
.ra .fbar-r {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	flex-wrap: wrap;
}

/*
 * The pill is a <summary>, not the <button> the designs use. A <details> opens and closes with no
 * script, which is the whole point here — refresh.js only adds closing the others, closing on an
 * outside click, and Escape. The marker has to be removed in two ways because Safari still uses
 * the WebKit pseudo-element.
 */
.ra .fb {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	height: 48px;
	padding: 0 16px;
	border: 1.5px solid rgb(0 0 0 / 14%);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	cursor: pointer;
	list-style: none;
}

.ra .fb::-webkit-details-marker { display: none; }
.ra .fb:hover { border-color: var(--ink); }
.ra .fb:active { transform: scale(.97); }
.ra .fb.on { border-color: var(--ink); background: var(--tint); }
.ra .fb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.ra .fwrap[open] > .fb svg:last-child { transform: rotate(180deg); }

/* The count in the pill. */
.ra .fb-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: var(--radius-pill);
	background: var(--ink);
	color: var(--surface);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.ra .fwrap { position: relative; }

.ra .fpanel {
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	z-index: 4;
	width: 340px;
	max-height: 60vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: var(--space-4);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-2);
}

/* The sort menu hangs off the right edge, or it would run off the page. */
.ra .fpanel-r { left: auto; right: 0; }

/* --- One option inside a panel ------------------------------------------ */

.ra .fo {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 10px;
	font-size: 16px;
	color: var(--ink);
}

.ra .fo:hover { background: var(--tint); }
.ra .fo:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.ra .fo i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 22px;
	height: 22px;
	border: 1.5px solid rgb(0 0 0 / 22%);
	border-radius: 7px;
	background: var(--surface);
	color: var(--surface);
}

.ra .fo.on i { border-color: var(--ink); background: var(--ink); }

.ra .fo small {
	margin-left: auto;
	font-size: 14px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

/* --- The duration chips and the price pair ------------------------------ */

.ra .fs-c { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ra .chip.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }

.ra .fs-p { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.ra .fs-p label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: var(--muted);
}

.ra .fs-p input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid rgb(0 0 0 / 14%);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.ra .fs-p input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }

.ra .fs-p-a {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.ra .fs-p-s { font-size: 15px; color: var(--muted); }
.ra .btn-s { height: 44px; padding: 0 18px; font-size: 16px; }

/* --- The sheet's own furniture, hidden until it is a sheet --------------- */

.ra .fs-head,
.ra .fs-foot { display: none; }

.ra .fs-t { font-size: 24px; }

/* --- The mobile opener -------------------------------------------------- */

/* `hidden` in the markup; refresh.js reveals it, so with no script there is no button to press. */
.ra .fbar-m { margin-top: 24px; }
.ra .fbar-m .fb { width: 100%; justify-content: center; }

/* --- Result count and the active-filter chips --------------------------- */

.ra .lmeta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 22px 0 24px;
	min-height: 44px;
}

.ra .lcount { margin-right: 8px; font-size: 17px; font-weight: 600; color: var(--ink); }

.ra .achip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 12px;
	border-radius: var(--radius-pill);
	background: var(--tint);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.ra .achip:hover { background: var(--ink); color: var(--surface); }
.ra .achip svg { opacity: .6; }
.ra .achip:hover svg { opacity: 1; }
.ra .lmeta-clear { margin-left: 4px; }

/* --- Nothing found ------------------------------------------------------ */

.ra .lnone {
	padding: var(--space-8) var(--space-5);
	border-radius: var(--radius-xl);
	background: var(--tint);
	text-align: center;
}

.ra .lnone h2 { font-size: 28px; }
.ra .lnone p { margin: 10px 0 24px; color: var(--ink2); }

/* --- Pagination --------------------------------------------------------- */

.ra .pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 56px;
}

.ra .pager a,
.ra .pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	padding: 0 10px;
	border-radius: var(--radius-sm);
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.ra .pager a:hover { background: var(--tint); }
.ra .pager a[aria-current] { background: var(--ink); color: var(--surface); }
.ra .pager span { color: var(--muted); }

/* --- The shortcode blocks the builder placed around the grid ------------- */

.ra .lblock { margin: var(--space-7) 0; }
.ra .lad { margin-top: var(--space-8); text-align: center; }

/* --- Motion ------------------------------------------------------------- */

.ra .fb,
.ra .fo,
.ra .achip,
.ra .pager a { transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .15s ease-out; }
.ra .fb svg:last-child { transition: transform .22s var(--e); }

@media (prefers-reduced-motion: reduce) {
	.ra .fb:active { transform: none; }
}

/* --- The sheet ---------------------------------------------------------- */

@media (max-width: 1020px) {

	/*
	 * Below this width the bar becomes a sheet — but only once refresh.js has said so. Until then
	 * `.fbar` is an ordinary stacked column, which is what a visitor with no JavaScript gets and
	 * why nothing here is unreachable without it.
	 */
	.ra .fs-body {
		flex-direction: column;
		align-items: stretch;
		gap: var(--space-3);
	}

	.ra .fbar-l,
	.ra .fbar-r { flex-direction: column; align-items: stretch; }

	.ra .fwrap { width: 100%; }
	.ra .fb { width: 100%; justify-content: space-between; }

	/* In a column the panel is in flow: a dropdown floating over a stack has nothing to float over. */
	.ra .fpanel {
		position: static;
		width: auto;
		max-height: none;
		margin-top: var(--space-2);
		box-shadow: none;
		padding: var(--space-2) 0 var(--space-3);
	}

	.ra .fpanel-r { right: auto; }

	.ra .fbar.is-sheet {
		position: fixed;
		inset: 0;
		z-index: 60;
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 0;
		background: var(--surface);
		overflow: hidden;
		visibility: hidden;
		opacity: 0;
		transform: translateY(12px);
		transition: opacity .2s var(--e), transform .2s var(--e), visibility 0s linear .2s;
	}

	.ra .fbar.is-sheet.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}

	.ra .fbar.is-sheet .fs-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		padding: 18px var(--gutter);
		border-bottom: 1px solid var(--line);
	}

	/* Sort belongs in the sheet with everything else, once there is no bar to put it at the end of. */
	.ra .fbar.is-sheet .fs-body {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: var(--space-4) var(--gutter);
		gap: var(--space-5);
	}

	.ra .fbar.is-sheet .fs-foot {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-4);
		padding: 16px var(--gutter);
		border-top: 1px solid var(--line);
		background: var(--surface);
	}

	.ra .fbar.is-sheet .fs-foot .btn { flex: 1; }
}

@media (max-width: 640px) {
	.ra .crumb { margin-top: 28px; }
	.ra .crumb > span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.ra .lh h1 { font-size: 38px; }
	.ra .lmeta { margin: 16px 0 18px; }

	.ra .pager { gap: 2px; margin-top: 40px; }
	.ra .pager a,
	.ra .pager span { min-width: 44px; height: 44px; padding: 0 6px; }
}

/* ==========================================================================
   12. Tour page
   ========================================================================== */

/*
 * `design/pages/T-Tour.html`, `T-Mobile.html`, `T-Thin.html`. 2,535 pages, and the ones that earn
 * money — so everything in this section is around the Bókun widget rather than through it. The
 * booking panel is deliberately **not** sticky, which is what the design files say and which is
 * also why the `overflow: hidden` defect fixed in section 3 never touched a revenue element.
 */

/* --- Head --------------------------------------------------------------- */

.ra .th {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-6);
	margin-bottom: 28px;
}

.ra .th h1 { max-width: 20ch; font-size: 52px; line-height: 1.04; }

.ra .th-top {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-bottom: 12px;
	font-size: 16px;
}

.ra .th-act { display: flex; flex: none; gap: var(--space-2); }

.ra .op { margin-top: 10px; font-size: 16px; color: var(--muted); }
.ra .op a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(0 0 0 / 25%); }
.ra .op a:hover { text-decoration-color: currentColor; }

/* The category pill carries its category's tint. The pair comes from the lookup table in §2. */
.ra .cat-tag {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
	background: var(--tint-g, var(--tint));
	color: var(--tint-i, var(--ink));
	font-size: 15px;
	font-weight: 600;
}

.ra .cat-tag:hover { filter: brightness(.95); }

/* --- The two columns ---------------------------------------------------- */

.ra .tg {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 56px;
	align-items: start;
}

/* --- Gallery ------------------------------------------------------------ */

.ra .gal {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	height: 440px;
	border-radius: var(--radius-xl);
	overflow: hidden;
}

.ra .gal a { display: block; overflow: hidden; }
.ra .gal a:first-child { grid-row: span 2; }
.ra .gal img { width: 100%; height: 100%; object-fit: cover; }
.ra .gal a:hover img { transform: scale(1.03); }

/* A tour with one photograph, and one with two. 25 of 2,535 have none at all. */
.ra .gal.one { display: block; }
.ra .gal.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr; }
.ra .gal.two a:first-child { grid-row: auto; }

.ra .gal-all {
	position: absolute;
	right: 16px;
	bottom: 16px;
	height: 44px;
	border-color: transparent;
	box-shadow: 0 1px 2px rgb(0 0 0 / 20%), 0 4px 12px rgb(0 0 0 / 16%);
}

/* The rest of the photographs, where "All N photos" lands. */
.ra .tgal {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--space-3);
}

.ra .tgal-i { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }

/* --- The four facts ----------------------------------------------------- */

.ra .facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-5);
	margin: 36px 0 0;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ra .fact { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); }
.ra .fact svg { flex: none; margin-top: 2px; color: var(--muted); }
.ra .fact dt { font-size: 15px; color: var(--muted); }

.ra .fact dd {
	margin: 2px 0 0;
	font-size: 19px;
	font-weight: 600;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

/* --- The words ---------------------------------------------------------- */

.ra .lede {
	margin: 40px 0 18px;
	max-width: 34em;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -.01em;
	color: var(--ink);
}

.ra .prose { max-width: 65ch; font-size: 18px; line-height: 1.65; }
.ra .prose > * + * { margin-top: 16px; }
.ra .prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ra .prose ul, .ra .prose ol { padding-left: 22px; }
.ra .prose li + li { margin-top: 8px; }

/* --- Accordion ---------------------------------------------------------- */

.ra .accs { margin-top: 48px; border-bottom: 1px solid var(--line); }

.ra .acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: 24px 0;
	border-radius: 8px;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -.015em;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.ra .acc summary::-webkit-details-marker { display: none; }
.ra .acc summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ra .acc summary svg { flex: none; color: var(--muted); }
.ra .acc summary:hover svg { color: var(--ink); }
.ra .acc[open] summary svg { transform: rotate(180deg); }
.ra .acc-b { padding: 0 0 32px; }

.ra .meet-map {
	position: relative;
	margin-top: 18px;
	height: 300px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.ra .meet-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Good to know ------------------------------------------------------- */

.ra .notes {
	margin-top: 40px;
	padding: 32px 36px;
	border-radius: 20px;
	background: var(--tint);
}

.ra .notes h3 { margin-bottom: 16px; font-size: 24px; }
.ra .notes .prose { font-size: 17px; }

/* --- The booking panel -------------------------------------------------- */

.ra .book {
	padding: 28px 24px 20px;
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-2);
}

.ra .book-p {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 16px;
	color: var(--muted);
}

.ra .book-p b {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

/*
 * The Bokun widget lands here and styles itself. The only thing said about it is that it may use
 * the full width of the panel — anything more would be reaching into someone else's markup, and
 * this block is the page's revenue.
 */
.ra .book-w { width: 100%; }

/* --- Motion ------------------------------------------------------------- */

.ra .gal img { transition: transform .6s var(--e); }
.ra .cat-tag { transition: filter .15s ease-out; }
.ra .acc summary svg { transition: transform .25s var(--e), color .15s ease-out; }
.ra .op a, .ra .prose a { transition: text-decoration-color .15s ease-out; }

@media (prefers-reduced-motion: reduce) {
	.ra .gal a:hover img { transform: none; }
}

/* --- Narrower ----------------------------------------------------------- */

@media (max-width: 1020px) {
	.ra .tg { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
	.ra .book { max-width: 420px; }
}

@media (max-width: 640px) {
	.ra .th { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
	.ra .th h1 { font-size: 36px; }

	/*
	 * One photograph on a phone: five in 240px of height would be five thumbnails.
	 *
	 * `.gal-all` has to be exempted. It is a link here rather than the designs' button — it goes to
	 * the full gallery further down the page instead of opening a lightbox — so `a:not(:first-child)`
	 * swallowed it, and a seven-photograph tour showed one photograph on a phone with no way at all
	 * to reach the other six.
	 */
	.ra .gal { display: block; height: 240px; border-radius: 18px; }
	.ra .gal.two { display: block; }
	.ra .gal a:not(:first-child):not(.gal-all) { display: none; }
	.ra .gal a:first-child { height: 100%; }

	.ra .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin-top: 24px; padding: 22px 0; }
	.ra .fact dd { font-size: 17px; }
	.ra .lede { margin-top: 28px; font-size: 21px; }
	.ra .acc summary { padding: 20px 0; font-size: 22px; }
	.ra .notes { padding: 24px 20px; }
	.ra .book { max-width: none; margin-top: 8px; }
}

/* The 23 category tints as classes, generated from the lookup table in section 2. */
.ra .tint-sky { --tint-g: var(--tint-sky); --tint-i: var(--tint-sky-ink); }
.ra .tint-lavender { --tint-g: var(--tint-lavender); --tint-i: var(--tint-lavender-ink); }
.ra .tint-butter { --tint-g: var(--tint-butter); --tint-i: var(--tint-butter-ink); }
.ra .tint-sand { --tint-g: var(--tint-sand); --tint-i: var(--tint-sand-ink); }
.ra .tint-moss { --tint-g: var(--tint-moss); --tint-i: var(--tint-moss-ink); }
.ra .tint-petal { --tint-g: var(--tint-petal); --tint-i: var(--tint-petal-ink); }
.ra .tint-steam { --tint-g: var(--tint-steam); --tint-i: var(--tint-steam-ink); }
.ra .tint-lava { --tint-g: var(--tint-lava); --tint-i: var(--tint-lava-ink); }
.ra .tint-ember { --tint-g: var(--tint-ember); --tint-i: var(--tint-ember-ink); }
.ra .tint-blush { --tint-g: var(--tint-blush); --tint-i: var(--tint-blush-ink); }
.ra .tint-mallow { --tint-g: var(--tint-mallow); --tint-i: var(--tint-mallow-ink); }
.ra .tint-iris { --tint-g: var(--tint-iris); --tint-i: var(--tint-iris-ink); }
.ra .tint-periwinkle { --tint-g: var(--tint-periwinkle); --tint-i: var(--tint-periwinkle-ink); }
.ra .tint-cornflower { --tint-g: var(--tint-cornflower); --tint-i: var(--tint-cornflower-ink); }
.ra .tint-glacier { --tint-g: var(--tint-glacier); --tint-i: var(--tint-glacier-ink); }
.ra .tint-lagoon { --tint-g: var(--tint-lagoon); --tint-i: var(--tint-lagoon-ink); }
.ra .tint-aurora { --tint-g: var(--tint-aurora); --tint-i: var(--tint-aurora-ink); }
.ra .tint-highland { --tint-g: var(--tint-highland); --tint-i: var(--tint-highland-ink); }
.ra .tint-sage { --tint-g: var(--tint-sage); --tint-i: var(--tint-sage-ink); }
.ra .tint-tundra { --tint-g: var(--tint-tundra); --tint-i: var(--tint-tundra-ink); }
.ra .tint-honey { --tint-g: var(--tint-honey); --tint-i: var(--tint-honey-ink); }
.ra .tint-slate { --tint-g: var(--tint-slate); --tint-i: var(--tint-slate-ink); }
.ra .tint-stone { --tint-g: var(--tint-stone); --tint-i: var(--tint-stone-ink); }

/* ==========================================================================
   13. Tour operator
   ========================================================================== */

/*
 * `design/pages/PT-Partner.html` and `PT-Thin.html` — 404 vendor archives, and `PT-Thin` is the
 * one that matters, because most of them are thin: of 404 operators, 270 have an intro and the
 * rest have a name, a tour count and nothing else. Every row below is optional for that reason.
 */

.ra .pt {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin-bottom: 8px;
}

/* No vendor logo exists anywhere in the data, so the designs' own fallback is the whole of it. */
.ra .pt-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border-radius: var(--radius-xl);
	background: var(--tint);
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--ink);
}

.ra .pt .reg { margin-bottom: 8px; font-size: 16px; color: var(--muted); }
.ra .pt h1 { font-size: 58px; line-height: 1.02; }

.ra .pt-r {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 17px;
	color: var(--muted);
}

.ra .pt-r b { color: var(--ink); font-weight: 600; }
.ra .pt-r svg { color: var(--ink); }
.ra .pt-r a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(0 0 0 / 25%); }
.ra .pt-r a:hover { text-decoration-color: currentColor; }

.ra .pt-d { margin-top: 20px; max-width: 62ch; font-size: 19px; line-height: 1.55; }
.ra .pt-d > * + * { margin-top: 14px; }

.ra .pt-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	margin-top: 44px;
}

.ra .evc { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.ra .pt-n { margin: 28px 0 24px; font-size: 17px; font-weight: 600; color: var(--ink); }

.ra .pt-r a { transition: text-decoration-color .15s ease-out; }

@media (max-width: 640px) {
	.ra .pt { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.ra .pt-logo { width: 72px; height: 72px; border-radius: 18px; font-size: 28px; }
	.ra .pt h1 { font-size: 38px; }
	.ra .pt-d { font-size: 18px; }
	.ra .pt-bar { flex-direction: column; align-items: stretch; margin-top: 32px; }

	/* The chips become a scroller rather than wrapping to four rows of one. */
	.ra .evc {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: -20px;
		padding-inline: 20px;
		scrollbar-width: none;
	}

	.ra .evc::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   14. Places — attraction, food & drinks, accommodation
   ========================================================================== */

/*
 * `design/pages/P-Attraction.html`, `P-Food.html`, `P-Stay.html`.
 *
 * These three pages are the tour page's layout with the booking panel replaced by a panel of
 * practical rows, so almost everything here is the `.side` block and what goes in it. `.th`, `.tg`,
 * `.gal`, `.facts`, `.prose` and `.accs` are already section 12's and are not repeated.
 */

/* The short description above the body — the designs' `.sub`, the same type as `.lede`. */
.ra .sub {
	margin: 40px 0 18px;
	max-width: 34em;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -.01em;
	color: var(--ink);
}

/* "More like this:" — the categories again, as links, under the body. */
.ra .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-top: 28px;
	font-size: 16px;
	color: var(--muted);
}

.ra .tags a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgb(0 0 0 / 25%);
}

.ra .tags a:hover { text-decoration-color: currentColor; }

/* A titled block inside the reading column: "Known for", "What to do", "Where you'll be". */
.ra .blk { margin-top: 36px; border-top: 1px solid var(--line); }

.ra .blk h2 {
	margin: 32px 0 14px;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -.015em;
}

.ra .blk .meet-map { height: 340px; margin-top: 0; }

/* A list with a tick against each line — "Known for", "What this place offers". */
.ra .known,
.ra .incl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 32px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	font-size: 17px;
}

.ra .known li,
.ra .incl li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); }
.ra .known svg,
.ra .incl svg { flex: none; margin-top: 4px; color: var(--mint-d); }

/* --- The side panel ------------------------------------------------------ */

.ra .side {
	padding: 28px 24px 24px;
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-2);
}

.ra .side h2 {
	margin-bottom: 8px;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -.015em;
}

.ra .side dl { margin: 0; }

.ra .sd-r {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.ra .sd-r:last-child { border-bottom: 0; }
.ra .sd-r > svg { flex: none; margin-top: 2px; color: var(--ink); }
.ra .sd-r dt { font-size: 15px; color: var(--muted); }

.ra .sd-r dd {
	margin: 1px 0 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink);
}

.ra .sd-r dd small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); }

.ra .sd-r dd a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgb(0 0 0 / 25%);
}

.ra .sd-r dd a:hover { text-decoration-color: currentColor; }

.ra .side .meet-map { height: 200px; margin: 8px 0 16px; }
.ra .side .btn,
.ra .side .btn-2 { width: 100%; margin-top: 8px; }
.ra .side .btn + .btn,
.ra .side .btn + .btn-2,
.ra .side .btn-2 + .btn { margin-top: 10px; }

/* The small print under an affiliate button, and anywhere else it is needed. */
.ra .fine { font-size: 15px; line-height: 1.45; color: var(--muted); }
.ra .side .fine { margin-top: 14px; }

/* The stay's own star classification. Never a review score — see single-accommodations-refresh. */
.ra .stars { display: inline-flex; gap: 2px; color: var(--ink); vertical-align: -2px; }

/*
 * "Open now", kept for the day a place to eat has structured opening hours. Nothing renders it
 * today: all 113 carry `opening_hours` as free prose and none of it can be read by a computer.
 */
.ra .open { display: inline-flex; align-items: center; gap: 8px; }
.ra .open i { width: 8px; height: 8px; border-radius: 999px; background: var(--mint); }

/* A town page has five facts rather than four. */
.ra .facts.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1180px) {
	.ra .side { max-width: 480px; }
	.ra .facts.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.ra .sub { margin-top: 28px; font-size: 20px; }
	.ra .side { max-width: none; padding: 24px 20px 20px; }
	.ra .facts.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ra .known,
	.ra .incl { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   15. Towns — the listing and the page
   ========================================================================== */

/*
 * `design/pages/LA-Towns.html`, `P-Town.html`.
 *
 * The listing is 47 names in nine region groups, not a grid of cards, and the town page is the
 * widest thing on the site: a 76px name, five facts, the reading column, the forecast and four
 * rows of what is in the town.
 */

.ra .towns {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 4px 24px;
}

.ra .towns a {
	display: flex;
	align-items: center;
	height: 44px;
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}

.ra .towns a:hover { text-decoration-color: currentColor; }

.ra .reg-g {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: var(--space-6);
	align-items: start;
	padding: 32px 0;
	border-top: 1px solid var(--line);
}

.ra .lh + .reg-g { margin-top: var(--space-6); }
.ra .reg-g h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; }

.ra .reg-g h2 small {
	display: block;
	margin-top: 4px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--muted);
}

.ra .reg-g .towns { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- The town page ------------------------------------------------------- */

.ra .tw-h {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-5);
	margin-bottom: 28px;
}

.ra .tw-h h1 { font-size: 76px; line-height: 1; letter-spacing: -.035em; }
.ra .tw-h .reg { margin: 0 0 12px; font-size: 16px; color: var(--muted); }

.ra .tw-h p {
	margin-top: 16px;
	max-width: 44ch;
	font-size: 20px;
	line-height: 1.45;
	color: var(--ink2);
}

.ra .tw {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 56px;
	align-items: start;
	margin-top: 48px;
}

.ra .tw .lede { margin-top: 0; }

/* The forecast, from [ra_town_weather]. The snippet owns what is inside it. */
.ra .wx {
	margin-top: 20px;
	padding: 26px 28px 22px;
	border-radius: var(--radius-xl);
	background: var(--blue);
	color: var(--surface);
}

.ra .wx small { display: block; margin-top: 12px; font-size: 15px; color: rgb(255 255 255 / 70%); }

.ra .wx-h {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-3);
	margin-bottom: 14px;
}

.ra .wx-h h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; color: var(--surface); }

.ra .wx-h a {
	font-size: 15px;
	font-weight: 600;
	color: var(--surface);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgb(255 255 255 / 50%);
}

.ra .wx-h a:hover { text-decoration-color: var(--surface); }

.ra .wx-d {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 14px;
	align-items: baseline;
	padding: 9px 0;
	border-top: 1px solid rgb(255 255 255 / 18%);
	font-size: 16px;
}

.ra .wx-d span { color: rgb(255 255 255 / 82%); }
.ra .wx-d b { font-weight: 600; font-variant-numeric: tabular-nums; }

.ra .wx-d em {
	min-width: 38px;
	font-style: normal;
	text-align: right;
	color: rgb(255 255 255 / 70%);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
	.ra .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ra .reg-g { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ra .tw { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
	.ra .towns,
	.ra .reg-g .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ra .tw-h { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
	.ra .tw-h h1 { font-size: 48px; }
	.ra .tw-h p { font-size: 18px; }
	.ra .tw { margin-top: 32px; gap: 32px; }
}

/* ==========================================================================
   16. The blog — the listing and an article
   ========================================================================== */

/*
 * `design/pages/LA-Blog.html`, `P-Article.html`.
 *
 * Three up rather than four, one article drawn large above the rest, and a reading column with a
 * contents nav beside it built from the article's own headings.
 */

.ra .grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px var(--space-5);
}

.ra .feat {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	margin-top: 36px;
}

.ra .feat-ph {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-xl);
	overflow: hidden;
}

.ra .feat-ph img { width: 100%; height: 100%; object-fit: cover; }
.ra .feat:hover .feat-ph img { transform: scale(1.03); }
.ra .feat h2 { margin: 16px 0 14px; font-size: 44px; line-height: 1.05; }

.ra .feat h2 a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

.ra .feat:hover h2 a { text-decoration-color: currentColor; }
.ra .feat p { max-width: 44ch; font-size: 18px; line-height: 1.55; }
.ra .feat small { display: block; margin-top: 16px; font-size: 15px; color: var(--muted); }

.ra .bl-h { margin: 72px 0 var(--space-5); font-size: 28px; letter-spacing: -.015em; }

/* --- An article ---------------------------------------------------------- */

.ra .ar-h { max-width: 860px; margin: 0 auto; padding-top: 8px; }
.ra .ar-h h1 { margin-top: 18px; font-size: 60px; line-height: 1.04; }

.ra .ar-m {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-top: 20px;
	font-size: 16px;
	color: var(--muted);
}

.ra .ar-m b { font-weight: 600; color: var(--ink); }

.ra .ar-hero {
	margin: 40px auto 0;
	max-width: 1200px;
	aspect-ratio: 2 / 1;
	border-radius: var(--radius-xl);
	overflow: hidden;
}

.ra .ar-hero img { width: 100%; height: 100%; object-fit: cover; }

.ra .ar {
	display: grid;
	grid-template-columns: 240px minmax(0, 720px);
	gap: 72px;
	justify-content: center;
	align-items: start;
	margin-top: 56px;
}

/*
 * An article with fewer than two headings has no contents nav, so there is no first column to
 * leave room for. 73 of the 101 posts are in that state.
 */
.ra .ar-wide { grid-template-columns: minmax(0, 720px); }

.ra .toc { position: sticky; top: 24px; font-size: 15px; }
.ra .toc p { margin-bottom: 10px; font-weight: 600; color: var(--ink); }

.ra .toc a {
	display: block;
	padding: 7px 0 7px 14px;
	border-left: 2px solid var(--line);
	line-height: 1.35;
	color: var(--muted);
}

.ra .toc a:hover { color: var(--ink); border-color: rgb(0 0 0 / 35%); }
.ra .toc a.on { font-weight: 600; color: var(--ink); border-color: var(--ink); }

.ra .ab { font-size: 19px; line-height: 1.7; color: var(--ink2); }
.ra .ab > p + p { margin-top: 20px; }

/* The first paragraph is the standfirst, without an editor having to mark it as one. */
.ra .ab > p:first-child {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -.01em;
	color: var(--ink);
}

/*
 * `> h2` on purpose. The article's own section headings are direct children of `.ab`; the headings
 * inside a `.blk` — the FAQ, anything else titled — are section 14's 26px, and a bare `.ab h2`
 * would reach into those and win on source order alone.
 */
.ra .ab > h2 { margin: 52px 0 var(--space-3); font-size: 34px; line-height: 1.12; letter-spacing: -.02em; }
.ra .ab p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ra .ab .accs { margin-top: 8px; }
.ra .ab .acc summary { padding: 20px 0; font-size: 21px; }
.ra .ab .acc-b { padding-bottom: var(--space-5); font-size: 18px; }

/* The recommended tour, inside the body rather than after it. */
.ra .rt {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: var(--space-5);
	align-items: center;
	margin: 40px 0;
	padding: 12px;
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-2);
}

.ra .rt:hover { transform: translateY(-3px); }
.ra .rt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.ra .rt small { font-size: 15px; color: var(--muted); }

.ra .rt b {
	display: block;
	margin: 2px 0 8px;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--ink);
}

.ra .rt p { display: flex; gap: 18px; align-items: center; font-size: 16px; color: var(--muted); }
.ra .rt p .price { font-weight: 600; color: var(--ink); }
.ra .rt p .dur { display: inline-flex; align-items: center; gap: 6px; }

.ra .ar-news {
	margin-top: 56px;
	padding: 36px;
	border-radius: var(--radius-xl);
	background: var(--tint);
}

.ra .ar-news h2 { margin: 0 0 6px; font-size: 28px; }
.ra .ar-news p { margin-bottom: 18px; font-size: 17px; }

.ra .ar-next {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	margin-top: 40px;
	padding: 26px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ra .ar-next + .ar-next { margin-top: 0; border-top: 0; }
.ra .ar-next small { display: block; font-size: 15px; color: var(--muted); }

.ra .ar-next b {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}

.ra .ar-next:hover b { text-decoration-color: currentColor; }
.ra .ar-next svg { flex: none; }
.ra .ar-next:hover svg { transform: translateX(4px); }

@media (max-width: 1180px) {
	.ra .feat { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
	.ra .ar { grid-template-columns: minmax(0, 720px); }
	.ra .toc { position: static; }
}

@media (max-width: 640px) {
	.ra .grid3 { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
	.ra .feat h2 { font-size: 30px; }
	.ra .bl-h { margin-top: 56px; }
	.ra .ar-h h1 { font-size: 36px; }
	.ra .ar-hero { margin-top: 28px; aspect-ratio: 3 / 2; border-radius: 18px; }
	.ra .ar { margin-top: 32px; gap: 28px; }
	.ra .toc { padding: 18px 20px; border-radius: var(--radius-md); background: var(--tint); }
	.ra .ab { font-size: 18px; }
	.ra .ab > p:first-child { font-size: 21px; }
	.ra .ab > h2 { margin-top: 40px; font-size: 27px; }
	.ra .rt { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
	.ra .rt b { font-size: 18px; }
	.ra .rt p { flex-wrap: wrap; gap: 4px 14px; }
	.ra .ar-news { padding: var(--space-5) 20px; }
}

/* ==========================================================================
   17. Events — the calendar and one event
   ========================================================================== */

/*
 * `design/pages/E-Events.html`, `E-Event.html`.
 *
 * The calendar is days down the page with the date sticky beside its events, and every event is one
 * row that is entirely a link: on a page of times and venues, asking the reader to hit four words
 * of title is asking them to aim.
 */

.ra .evh {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-5);
	margin-bottom: var(--space-5);
}

.ra .evh h1 { font-size: 58px; }
.ra .evh p { margin-top: 12px; font-size: 18px; color: var(--ink2); }

.ra .evf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
}

.ra .when { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--tint); }

.ra .when a {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--muted);
}

.ra .when a:hover { color: var(--ink); }

.ra .when a[aria-current] {
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 1px 2px rgb(2 72 115 / 16%), 0 2px 6px rgb(2 72 115 / 8%);
}

.ra .evn { margin: 36px 0 0; font-size: 17px; font-weight: 600; color: var(--ink); }

.ra .day {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: var(--space-6);
	align-items: start;
	margin-top: var(--space-6);
	padding-top: var(--space-6);
	border-top: 1px solid var(--line);
}

.ra .day:first-of-type { margin-top: 20px; }
.ra .day h2 { position: sticky; top: 24px; font-size: 28px; line-height: 1.15; letter-spacing: -.015em; }

.ra .day h2 small {
	display: block;
	margin-top: 6px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--muted);
}

.ra .evs { display: flex; flex-direction: column; }

.ra .ev {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 160px 100px 20px;
	gap: 20px;
	align-items: center;
	margin: 0 -16px;
	padding: 18px 16px;
	border-radius: 14px;
}

/*
 * The rule between two rows is drawn by the second of them, as an overlay rather than a border, so
 * that a hover can take it away without the rows below moving by a pixel.
 */
.ra .ev + .ev::before {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	top: -1px;
	border-top: 1px solid var(--line);
}

.ra .ev:hover { background: var(--tint); }
.ra .ev:hover::before,
.ra .ev:hover + .ev::before { opacity: 0; }
.ra .ev:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.ra .ev-t { font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ra .ev-t i { font-style: normal; color: var(--muted); }

.ra .ev-m b {
	display: block;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--ink);
}

.ra .ev-m small { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); }
.ra .ev-c { font-size: 15px; color: var(--muted); }

.ra .ev-p {
	font-size: 16px;
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.ra .ev > svg { color: var(--muted); }
.ra .ev:hover > svg { transform: translateX(4px); color: var(--ink); }

/* The in-list advertising row, which renders nothing at all while the slot is unsold. */
.ra .ev-ad { padding: 18px 0; }

.ra .credit { margin-top: var(--space-6); font-size: 15px; color: var(--muted); }

/* --- One event ----------------------------------------------------------- */

.ra .e1 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 72px;
	align-items: start;
}

.ra .e1 h1 { margin-top: var(--space-3); max-width: 18ch; font-size: 52px; line-height: 1.04; }
.ra .e1 .lede { margin-top: 32px; }
.ra .e1-a { display: flex; gap: var(--space-2); margin-top: 28px; }
.ra .also { margin-top: 56px; max-width: 900px; }

.ra .when-b {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 4px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.ra .cal {
	flex: none;
	width: 76px;
	border-radius: var(--radius-md);
	overflow: hidden;
	text-align: center;
	box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / 12%);
}

.ra .cal span {
	display: block;
	padding: 4px 0;
	background: var(--ink);
	color: var(--surface);
	font-size: 15px;
	font-weight: 600;
}

.ra .cal b {
	display: block;
	padding: 4px 0 8px;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--ink);
}

.ra .when-b p {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--ink);
}

.ra .when-b small {
	display: block;
	margin-top: 3px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--muted);
}

/* --- Motion, and the two narrower widths --------------------------------- */

.ra .feat-ph img,
.ra .rt,
.ra .ar-next svg,
.ra .ev > svg { transition: transform .3s var(--e); }

.ra .feat-ph img { transition-duration: .6s; }

.ra .towns a,
.ra .tags a,
.ra .sd-r dd a,
.ra .feat h2 a,
.ra .ar-next b,
.ra .wx-h a { transition: text-decoration-color .15s ease-out; }

.ra .toc a { transition: color .15s ease-out, border-color .15s ease-out; }
.ra .when a { transition: color .15s ease-out, background-color .2s var(--e); }
.ra .ev { transition: background-color .15s ease-out; }
.ra .ev + .ev::before { transition: opacity .15s ease-out; }

@media (prefers-reduced-motion: reduce) {
	.ra .feat-ph img,
	.ra .rt,
	.ra .ar-next svg,
	.ra .ev > svg { transition: none; }

	.ra .feat:hover .feat-ph img,
	.ra .rt:hover,
	.ra .ar-next:hover svg,
	.ra .ev:hover > svg { transform: none; }
}

@media (max-width: 1180px) {
	.ra .day { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ra .day h2 { position: static; }
	.ra .e1 { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}

@media (max-width: 640px) {
	.ra .evh h1 { font-size: 40px; }

	/* The four windows become a scroller rather than wrapping. */
	.ra .when {
		display: flex;
		gap: var(--space-2);
		margin-inline: -20px;
		padding-inline: 20px;
		overflow-x: auto;
		background: none;
		scrollbar-width: none;
	}

	.ra .when::-webkit-scrollbar { display: none; }
	.ra .when a { flex: none; border-radius: 999px; background: var(--tint); }
	.ra .when a[aria-current] { background: var(--ink); color: var(--surface); box-shadow: none; }
	.ra .evf .fb { width: 100%; justify-content: space-between; }

	.ra .day { margin-top: 28px; padding-top: 28px; }
	.ra .day h2 { font-size: 24px; }

	/*
	 * Three columns instead of five: the time runs down the left for two rows, and the category and
	 * the price stack under the title. A price that is not set collapses rather than leaving a gap.
	 */
	.ra .ev {
		grid-template-columns: 56px minmax(0, 1fr) 20px;
		gap: 4px 12px;
		margin: 0 -12px;
		padding: var(--space-3) 12px;
	}

	.ra .ev + .ev::before { left: 12px; right: 12px; }
	.ra .ev-t { grid-row: span 2; align-self: start; padding-top: 2px; }
	.ra .ev-m b { font-size: 18px; }
	.ra .ev-c { grid-column: 2; grid-row: 2; }
	.ra .ev-p { grid-column: 2; grid-row: 3; text-align: left; }
	.ra .ev-p:empty { display: none; }
	.ra .ev > svg { grid-column: 3; grid-row: 1; }

	.ra .e1 h1 { font-size: 34px; }
	.ra .e1-a { flex-wrap: wrap; }
}

/*
 * A place card carries up to two categories inside one `.card-cat`, each its own link, so the box
 * ellipsises as one and the town stays where the designs put it. `.card-cat` itself is a span here
 * rather than a link, which is why the hover colour has to move to what is inside it.
 */
.ra .card-cat a:hover { color: var(--ink); }
.ra .card-cat i { font-style: normal; margin: 0 2px; opacity: .5; }

/* ==========================================================================
   18. The front page
   ========================================================================== */

/*
 * `design/pages/V3-Desktop.html`, `V3-Mobile.html`.
 *
 * The hero with the search panel over it, the conditions band, the season tiles, the three tour
 * lengths, the popular rail, the four content rows and the newsletter.
 *
 * Two departures from the design files, both because the markup behind them is the site's own and
 * not the mock-up's:
 *
 * - the search box is `[ra_quick_search]`, the live Algolia widget, so `.ra-quick` is dressed to
 *   sit in the panel rather than `.sf` being drawn around an input that would do nothing;
 * - the newsletter form is `[ra_signup]`, which brings its own markup, so the band styles what it
 *   emits rather than assuming the designs' `<form>`.
 */

.ra .hero { position: relative; padding: 12px; }

.ra .hero-img {
	width: 100%;
	height: 700px;
	object-fit: cover;
	object-position: 50% 62%;
	border-radius: var(--radius-xl);
}

.ra .panel {
	position: absolute;
	left: 44px;
	bottom: 44px;
	width: 600px;
	max-width: calc(100% - 88px);
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	border-radius: 20px;
	background: var(--surface);
}

.ra .sf-label { margin-bottom: -14px; font-size: 15px; font-weight: 600; color: var(--ink); }

.ra .pop { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.ra .pop span { color: var(--muted); }

/* The Algolia box, dressed as the designs' search field. */
.ra .panel .ra-quick__form {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1.5px solid rgb(0 0 0 / 20%);
	background: var(--surface);
	color: var(--muted);
	transition: border-color .15s ease-out, box-shadow .15s ease-out;
}

.ra .panel .ra-quick__form:hover { border-color: rgb(0 0 0 / 45%); }
.ra .panel .ra-quick__form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgb(48 206 145 / 30%); }

.ra .panel .ra-quick__input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: none;
	font: inherit;
	font-size: 17px;
	color: var(--ink);
}

.ra .panel .ra-quick__input::placeholder { color: var(--muted); }

/* --- Today in Iceland ---------------------------------------------------- */

.ra .today {
	margin-top: var(--space-5);
	padding: 48px 56px 44px;
	border-radius: var(--radius-xl);
	background: var(--blue);
	color: var(--surface);
}

.ra .today-h {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-5);
	margin-bottom: 36px;
}

.ra .today h2 { font-size: 36px; color: var(--surface); }
.ra .today .tlink { color: var(--surface); text-decoration-color: rgb(255 255 255 / 50%); }
.ra .today .tlink:hover { text-decoration-color: var(--surface); }

.ra .today-g {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

.ra .aur { display: flex; flex-direction: column; gap: 14px; }
.ra .aur h3 { font-size: 44px; line-height: 1.05; letter-spacing: -.03em; color: var(--surface); }
.ra .aur p { max-width: 48ch; color: rgb(255 255 255 / 86%); }

.ra .kp {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 8px 0 10px;
	font-size: 15px;
	color: rgb(255 255 255 / 80%);
}

.ra .kp-bar { display: grid; grid-template-columns: repeat(9, 28px); gap: 4px; }
.ra .kp-bar i { height: 8px; border-radius: 4px; background: rgb(255 255 255 / 22%); }
.ra .kp-bar i.on { background: var(--mint); animation: ra-kp .5s var(--e) backwards; }
.ra .kp-bar i.on:nth-child(2) { animation-delay: .07s; }
.ra .kp-bar i.on:nth-child(3) { animation-delay: .14s; }
.ra .kp-bar i.on:nth-child(4) { animation-delay: .21s; }
.ra .kp-bar i.on:nth-child(5) { animation-delay: .28s; }

@keyframes ra-kp { from { opacity: 0; transform: scaleX(.2); } to { opacity: 1; transform: none; } }

.ra .aur-a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 6px; }

.ra .cond-k,
.ra .cond-d,
.ra .stamp { font-size: 15px; color: rgb(255 255 255 / 80%); }

.ra .cond-v {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-decoration-color: transparent;
	transition: text-decoration-color .15s ease-out;
}

.ra .cond-d { white-space: nowrap; }
.ra .stamp { margin-top: 32px; }

.ra .cond2 { display: flex; flex-direction: column; }

/*
 * `> *` rather than `a`, because one of these cells is not a link: daylight is a fact with nowhere
 * to go until the conditions hub exists, and a cell that looked clickable and was not would be
 * worse than one that plainly is not.
 */
.ra .cond2 > * {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: var(--space-3);
	align-items: baseline;
	padding: 18px 0;
	border-top: 1px solid rgb(255 255 255 / 25%);
}

.ra .cond2 > :last-child { border-bottom: 1px solid rgb(255 255 255 / 25%); }
.ra .cond2 .cond-v { display: block; font-size: 24px; }
.ra .cond2 a:hover .cond-v { text-decoration-color: var(--surface); }

/* --- In season now ------------------------------------------------------- */

.ra .season { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--space-5); }
.ra .season-r { display: flex; flex-direction: column; gap: var(--space-5); }

.ra .tile { display: flex; flex-direction: column; gap: var(--space-3); }
.ra .tile img { width: 100%; object-fit: cover; border-radius: 20px; }
.ra .tile-big img { height: 504px; }
.ra .season-r .tile img { height: 216px; }
.ra .tile h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; }
.ra .tile p { font-size: 15px; color: var(--muted); }

.ra .tile-t {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-3);
	height: 32px;
}

.ra .tile-ph { overflow: hidden; border-radius: 20px; }
.ra .tile img { transition: transform .6s var(--e); }
.ra .tile:hover img { transform: scale(1.03); }

/* --- How long do you have? ----------------------------------------------- */

.ra .seg {
	position: relative;
	display: inline-grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 28px;
	padding: 4px;
	border-radius: 14px;
	background: var(--tint);
}

.ra .seg label {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 22px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--muted);
	cursor: pointer;
	transition: color .15s ease-out;
}

.ra .seg label:hover { color: var(--ink); }

/*
 * The selected segment is shown by weight and colour, not by the designs' sliding white pill.
 *
 * UNRESOLVED, and deliberately left at the safe end. The designs animate a `.seg-thumb` across the
 * control; three ways of telling it which segment is chosen (`:has()` on the section,
 * `nth-of-type`, an explicit `data-i`) each put it under the wrong one on production. Drawing the
 * pill on the label instead failed differently and worse: measured on the live page with the
 * second radio checked, `input:checked + label` matched the second label — and the *third* one was
 * painted white. The selector picks the right element and the paint lands on another, which I
 * cannot account for, so nothing is painted.
 *
 * What is here is verified: the chosen segment's label goes dark and bold, and the right set of
 * tours shows. Worth half an hour with fresh eyes — see the handover note.
 */
.ra .seg input:checked + label { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ra .seg label { transition: color .15s ease-out; }

/*
 * All three sets of tours are in the HTML and CSS shows one — so a crawler sees twelve tours here,
 * not four, and the control works with no script. `:has()` is in every browser this site supports;
 * where it is not, every panel shows, which is verbose but never broken.
 */
.ra .len-p { display: none; }
.ra .len:has( #ra-len0:checked ) .len-p1,
.ra .len:has( #ra-len1:checked ) .len-p2,
.ra .len:has( #ra-len2:checked ) .len-p3 { display: grid; animation: ra-in .36s var(--e); }

@supports not selector(:has(*)) {
	.ra .len-p { display: grid; }
}

/* --- Between the tours, and the newsletter ------------------------------- */

.ra .more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.ra .more img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-xl); }
.ra .more h2 { margin-bottom: 28px; }

.ra .rows { display: flex; flex-direction: column; }

.ra .row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: 22px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
}

.ra .row:last-child { border-bottom: 1px solid var(--line); }
.ra .row-n { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.015em; }

.ra .row-c {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 17px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.ra .row:hover .row-n { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.ra .news {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	margin-top: 112px;
	padding: 64px;
	border-radius: var(--radius-xl);
	background: var(--tint);
}

.ra .news p { margin-top: 14px; max-width: 44ch; }
.ra .news label { font-size: 15px; font-weight: 600; color: var(--ink); }
.ra .news small { font-size: 15px; color: var(--muted); }

/* --- Narrower ------------------------------------------------------------ */

@media (max-width: 1180px) {
	.ra .today-g { gap: var(--space-6); }
	.ra .more { gap: var(--space-6); }
}

@media (max-width: 1020px) {
	.ra .today-g { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
	.ra .season,
	.ra .more,
	.ra .news { grid-template-columns: minmax(0, 1fr); }
	.ra .more img { height: 360px; }
	.ra .news { gap: var(--space-6); padding: 48px; }
}

@media (max-width: 640px) {
	.ra .hero { padding: 8px 8px 0; }
	.ra .hero-img { height: 320px; border-radius: 18px; }

	/*
	 * The panel comes out of the photograph and sits under it. Absolute positioning over a 320px
	 * hero would cover the whole picture, which is the one thing the band is for.
	 */
	.ra .panel {
		position: static;
		width: auto;
		max-width: none;
		padding: 28px 12px 0;
		border-radius: 0;
		gap: 20px;
	}

	.ra .today { margin-top: var(--space-5); padding: 32px 20px 28px; }
	.ra .today h2 { font-size: 28px; }
	.ra .aur h3 { font-size: 30px; }
	.ra .kp-bar { grid-template-columns: repeat(9, minmax(0, 1fr)); }
	.ra .kp { flex-direction: column; align-items: flex-start; gap: 8px; }
	.ra .cond2 > * { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.ra .cond-v,
	.ra .cond-d { white-space: normal; }

	.ra .season { gap: var(--space-3); }
	.ra .tile-big img { height: 260px; }
	.ra .season-r .tile img { height: 200px; }
	.ra .tile h3 { font-size: 22px; }
	.ra .tile-t { flex-direction: column; align-items: flex-start; gap: 2px; height: auto; }
	.ra .tile { gap: 12px; }

	/* Three segments do not fit a phone line at this padding. */
	.ra .seg { display: flex; overflow-x: auto; scrollbar-width: none; }
	.ra .seg::-webkit-scrollbar { display: none; }
	.ra .seg label { padding: 0 16px; }

	.ra .more img { height: 240px; }
	.ra .row-n { font-size: 22px; }
	.ra .news { margin-top: 72px; padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.ra .kp-bar i.on { animation: none; }
	.ra .tile img { transition: none; }
	.ra .tile:hover img { transform: none; }
	.ra .len-p { animation: none !important; }
}
