/* Klatrerejser – design "D2 · Fjord + Granit med fotokort".
   Light Nordic base, near-black contrast bands, one orange accent for the main action. */

/* Self-hosted fonts (no request to Google = no GDPR issue). Latin subset, includes æ ø å.
   Both are SIL Open Font License 1.1, see assets/fonts/LICENSE.md. Figtree is one variable file for all weights. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
	--ink: #111A17;
	--ink-soft: #4A5752;
	--ink-muted: #8A9590;
	--line: #DDE2DE;
	--bg: #FFFFFF;
	--bg-soft: #F3F5F2;
	--green: #1E4D43;
	--accent: #C2481A;
	--on-dark: #FFFFFF;
	--on-dark-soft: #B9C4BF;
	--band: #111A17;          /* near-black bands (hero, footer, dark facts): stay dark in both modes */
	--green-band: #1E4D43;    /* fjord-green band behind white text */
	--surface: #FFFFFF;       /* cards and form fields */
	--field-border: #C9D0CC;
	--accent-hover: #A33B13;
	--error-bg: #FCEDE8;
	--shadow: rgba(17, 26, 23, 0.12);
	color-scheme: light;
	--font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
	--radius: 16px;
	--container: 1200px;
	--gutter: 24px;
}

/* Night mode: same palette, darker. Set by the moon/sun button (assets/js/menu.js), or by the
   visitor's system setting on the first visit (inline script in functions.php). */
:root[data-theme="dark"] {
	--ink: #E4EAE6;
	--ink-soft: #B3BFB9;
	--ink-muted: #85918B;
	--line: #2D3A35;
	--bg: #111916;
	--bg-soft: #18221E;
	--green: #8CC9B5;
	--band: #0A100E;
	--surface: #1D2924;
	--field-border: #3C4B45;
	--error-bg: #3A1F16;
	--shadow: rgba(0, 0, 0, 0.45);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 100; background: var(--band); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 1rem; }

/* Buttons and small text styles */
.button { display: inline-block; padding: 15px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.button--accent { background: var(--accent); color: #fff; }
.button--accent:hover { background: var(--accent-hover); color: #fff; }
.button--light { background: #fff; color: var(--band); padding: 10px 20px; }
.site-nav__cta { display: inline-flex; align-items: center; min-height: 44px; }
.button--light:hover { background: #F3F5F2; color: var(--band); }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow--green { color: var(--green); letter-spacing: 0.06em; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Header: sits on top of the hero (white text) when there is one, otherwise solid. */
/* It follows along when scrolling: transparent over the hero at the top, then a solid bar (assets/js/menu.js
   adds .is-scrolled). Top offset leaves room for the WordPress admin bar when logged in. */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 10; background: var(--bg); transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.has-hero .site-header { position: fixed; inset: var(--wp-admin--admin-bar--height, 0px) 0 auto 0; background: transparent; }
.site-header.is-scrolled, .has-hero .site-header.is-scrolled { background: var(--bg); box-shadow: 0 1px 0 var(--line), 0 6px 20px var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; transition: padding 0.2s ease; }
.site-header.is-scrolled .site-header__inner { padding-block: 8px; }
html { scroll-padding-top: 88px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--ink); text-decoration: none; }
.has-hero .site-header:not(.is-scrolled) .site-logo { color: #fff; }
/* Round logo (G7: green mark on a white disc) reads on the light page, the hero photo and night mode alike. */
.site-logo__mark { flex: none; width: 44px; height: 44px; transition: width 0.2s ease, height 0.2s ease; }
.site-header.is-scrolled .site-logo__mark { width: 36px; height: 36px; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav__menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-weight: 500; }
.site-nav__menu a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.has-hero .site-header:not(.is-scrolled) .site-nav__menu a { color: #fff; }
.site-nav__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.has-hero .site-header:not(.is-scrolled) .site-nav__toggle { color: #fff; }
.site-nav__cta { background: var(--ink); color: var(--bg); }
.site-nav__cta:hover { background: var(--green); color: var(--bg); }
.has-hero .site-header:not(.is-scrolled) .site-nav__cta { background: #fff; color: var(--band); }

/* Night mode button */
.theme-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: none; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; }
.has-hero .site-header:not(.is-scrolled) .theme-toggle { color: #fff; }
.theme-toggle:hover { background: rgba(127, 127, 127, 0.18); }
.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Instagram: an icon in the header on wide screens, the last item of the burger menu on narrow ones. */
.header-social { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); }
.has-hero .site-header:not(.is-scrolled) .header-social { color: #fff; }
.header-social:hover { background: rgba(127, 127, 127, 0.18); }
.header-social + .theme-toggle { margin-left: -12px; }
.site-nav__menu .menu-item--social { display: none; }
.site-nav__menu .menu-item--social a { display: flex; align-items: center; gap: 10px; }

/* Night mode as the burger menu's last line, on phones only (see the 500px block below). Day: moon + "Nattilstand";
   night: sun + "Dagtilstand". */
.site-nav__menu .menu-item--theme { display: none; }
.menu-theme-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 0; background: none; border: 0; color: var(--ink); font: inherit; font-size: 18px; text-align: left; cursor: pointer; }
.menu-theme-toggle svg { width: 20px; height: 20px; }
.menu-theme-toggle .icon-sun, .menu-theme-toggle .label-day,
[data-theme="dark"] .menu-theme-toggle .icon-moon, [data-theme="dark"] .menu-theme-toggle .label-night { display: none; }
[data-theme="dark"] .menu-theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .menu-theme-toggle .label-day { display: inline; }

/* The full menu (7 links + night mode button + Se rejser) needs about 1200px; below that, the burger. */
@media (max-width: 1200px) {
	.site-nav { gap: 12px; }
	.site-nav__toggle { display: inline-flex; order: 2; }
	.site-nav__menu { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 0; background: var(--surface); border-radius: var(--radius); padding: 8px 20px; box-shadow: 0 12px 32px var(--shadow); }
	.site-nav.is-open .site-nav__menu { display: flex; }
	.header-social { display: none; }
	.site-nav__menu .menu-item--social { display: block; }
	.site-nav__menu li + li { border-top: 1px solid var(--line); }
	.site-nav__menu a, .has-hero .site-header:not(.is-scrolled) .site-nav__menu a { display: block; padding: 14px 0; color: var(--ink); font-size: 18px; }
	/* Same weight as the line above, so the Instagram icon keeps its gap over the hero too. */
	.site-nav__menu .menu-item--social a, .has-hero .site-header:not(.is-scrolled) .site-nav__menu .menu-item--social a { display: flex; }
}
/* Phones: logo + name, night mode, "Se rejser" and the burger need about 490px at full size, so night mode moves into
   the burger menu, and below 460px the logo gets smaller (the round logo, theme 0.8.14, made the row 42px wider and
   pushed the burger off the screen). */
@media (max-width: 500px) {
	.site-nav > .theme-toggle { display: none; }
	.site-nav__menu .menu-item--theme { display: block; }
}
@media (max-width: 460px) {
	.site-header__inner { gap: 8px; }
	.site-nav { gap: 4px; }
	.site-logo { font-size: 23px; gap: 8px; }
	.site-logo__mark, .site-header.is-scrolled .site-logo__mark { width: 34px; height: 34px; }
	.site-nav__cta { padding: 0 16px; font-size: 15px; }
}
@media (max-width: 380px) {
	.site-logo { font-size: 21px; }
	.site-logo__mark, .site-header.is-scrolled .site-logo__mark { width: 30px; height: 30px; }
	.site-nav__cta { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 360px) {
	:root { --gutter: 16px; }
}
@media (max-width: 340px) {
	.site-logo { font-size: 18px; }
}

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--band); }
.hero--front { min-height: min(720px, 92vh); }
.hero--page { min-height: min(560px, 80vh); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 16, 13, 0.5); }
.hero__content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 88px; }
.hero__title { max-width: 840px; margin: 0; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; }
.hero--page .hero__title { font-size: clamp(36px, 5vw, 68px); }
.hero__lead { max-width: 580px; margin: 24px 0 32px; font-size: 20px; }

/* Key facts band ("Tal" block). Default = design A: fjord green with short facts.
   Style "Mørk" = design D: near-black with big numbers. */
.stats { background: var(--green-band); color: var(--on-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; padding-block: 40px; }
/* Four facts: one row of four on wide screens, otherwise two by two (never three plus one). */
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.stats p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.stats .stats__value { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--on-dark); margin-bottom: 4px; }
.stats.is-style-mork { background: var(--band); }
.stats.is-style-mork .stats__grid { gap: 32px; padding-block: 56px; }
.stats.is-style-mork p { color: var(--on-dark-soft); }
.stats.is-style-mork .stats__value { font-size: 60px; line-height: 1; margin-bottom: 6px; }
@media (max-width: 600px) {
	.stats__grid, .stats.is-style-mork .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-block: 36px; }
	.stats .stats__value { font-size: 22px; }
	.stats.is-style-mork .stats__value { font-size: 42px; }
	.stats p { font-size: 15px; }
}

/* Sections */
.section { padding-block: 112px; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; }
.section__title { font-size: clamp(36px, 4.5vw, 56px); line-height: 1; margin: 0 0 20px; }
.section__head .section__title { margin: 0; }
.section__head--next { margin-top: 96px; scroll-margin-top: 96px; }
.section__intro { max-width: 420px; margin: 0; color: var(--ink-soft); }

/* Trip photo cards */
/* auto-fill: one or two cards keep the same size as a full row instead of stretching. */
.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
/* Exactly four trips: two by two on mid-size screens, one row of four on wide ones (never three plus one). */
@media (min-width: 640px) { .trip-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .trip-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trip-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--band); transition: transform 0.25s ease, box-shadow 0.25s ease; }
/* Text stays white on hover (the general link hover would turn it dark); the card lifts instead. */
.trip-card:hover, .trip-card:focus-visible { color: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 26, 23, 0.28); }
.trip-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.trip-card:hover .trip-card__image, .trip-card:focus-visible .trip-card__image { transform: scale(1.04); }
.trip-card:hover .trip-card__title, .trip-card:focus-visible .trip-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.trip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 16, 13, 0.9) 0%, rgba(8, 16, 13, 0.25) 50%, rgba(8, 16, 13, 0) 100%); }
.trip-card__status { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--green-band); font-weight: 600; font-size: 14px; }
.trip-card__status--muted { background: rgba(17, 26, 23, 0.72); color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.trip-card__body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.trip-card__meta { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #D6DED9; }
.trip-card__title { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.08; }
.trip-card__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.3); font-weight: 600; }

/* Two columns (tablet): a lone last card spans the full row as a wide card instead of leaving a gap. */
@media (min-width: 648px) and (max-width: 1003px) {
	.trip-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* Image + text split */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 0; }
.split__image { flex: 0 1 480px; min-width: 0; max-width: 100%; border-radius: var(--radius); object-fit: cover; }
.split__image--square { aspect-ratio: 1 / 1; }
.split__text { flex: 999 1 420px; min-width: 0; }

/* FAQ */
.faq { background: var(--bg-soft); padding-block: 96px; }
.faq__item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq__item:first-of-type { border-top: 2px solid var(--ink); }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__item summary { font-weight: 600; font-size: 20px; cursor: pointer; padding-block: 6px; }
.faq__item p { margin: 12px 0 0; color: var(--ink-soft); }
.faq .wp-block-details { border-top: 1px solid var(--line); padding: 20px 0; margin: 0; }
.faq .wp-block-details:first-child { border-top: 2px solid var(--ink); }
.faq .wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.faq .wp-block-details summary { font-weight: 600; font-size: 20px; cursor: pointer; padding-block: 6px; }
.faq .wp-block-details > :not(summary) { margin: 12px 0 0; color: var(--ink-soft); }

/* Inner pages */
.page-head { padding-block: 80px 24px; }
.page-head__title { font-size: clamp(36px, 5vw, 60px); margin: 0; }
.trip-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: -48px 0 0; position: relative; z-index: 2; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: 0 16px 40px var(--shadow); }
.trip-facts dt { color: var(--ink-muted); font-size: 14px; }
.trip-facts dd { margin: 0; font-weight: 600; font-size: 18px; }
@media (max-width: 600px) {
	.trip-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px; margin-top: -36px; }
	.trip-facts dd { font-size: 16px; }
}

.prose { padding-block: 72px 96px; }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: clamp(28px, 3.5vw, 42px); margin-top: 56px; }
h1, h2, h3, .trip-card__title { overflow-wrap: break-word; }
/* Hyphenate long Danish words only where space is really tight. */
@media (max-width: 480px) { h1, h2, h3, .trip-card__title { hyphens: auto; } }
.prose h3 { font-size: 24px; margin-top: 40px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose figure { margin: 40px 0; max-width: none; }
.prose figure img { border-radius: var(--radius); }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 20px; max-width: none; }
.prose .wp-block-column { flex: 1 1 280px; min-width: 0; }
.prose .wp-block-column figure { margin: 0; }
/* Side-by-side photos: one shared shape, so a landscape and a portrait photo line up. Stacked on phones, they keep their own shape. */
@media (min-width: 640px) {
	.prose .wp-block-column .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
	/* Landscape photos where the centre crop would cut people off */
	.prose .wp-block-column img[src*="klatrer-foran-granitvaeg-nissedal"] { object-position: 0% 50%; }
	.prose .wp-block-column img[src*="pause-paa-klippen"] { object-position: 80% 50%; }
}
.prose .wp-block-table { margin: 0 0 1.5em; overflow-x: auto; }
.prose .wp-block-table table:has(> tbody > tr > :nth-child(3)) { min-width: 640px; }
.prose table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.prose .wp-block-table th, .prose .wp-block-table td { text-align: left; padding: 14px 16px 14px 0; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
/* Small print under a block, e.g. the note under a day programme */
.prose .kr-fodnote { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin-top: -0.75em; }
.prose th { white-space: nowrap; font-weight: 600; }
/* Day programme on phones: each day is a dropdown with its text underneath (class added by menu.js) */
@media (max-width: 640px) {
	.prose .kr-program table, .prose .kr-program tbody, .prose .kr-program tr { display: block; }
	.prose .kr-program tr { border-bottom: 1px solid var(--line); }
	.prose .kr-program th, .prose .kr-program td { display: block; border-bottom: 0; padding-right: 0; }
	.prose .kr-program th { white-space: normal; cursor: pointer; position: relative; padding: 14px 32px 14px 0; }
	.prose .kr-program th::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
	.prose .kr-program tr.is-open th::after { transform: translateY(-30%) rotate(-135deg); }
	.prose .kr-program td { display: none; padding: 0 0 16px; }
	.prose .kr-program tr.is-open td { display: block; }
}
.prose details { border-top: 1px solid var(--line); padding: 16px 0; }
.prose details summary { font-weight: 600; font-size: 19px; cursor: pointer; padding-block: 8px; }
/* Cabin photos in a fold-out ("Hytten" on trip pages): an even grid of squares; a click opens the whole photo. */
.prose .kr-hytte .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.prose .kr-hytte .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; aspect-ratio: 1; }
.prose .kr-hytte .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
@media (max-width: 640px) {
	.prose .kr-hytte .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.signup { background: var(--bg-soft); padding-block: 96px; }
.signup__requirement { padding: 14px 18px; background: var(--surface); border-radius: 12px; }

/* Fluent Forms: match the site's buttons, fields and type. */
.signup .fluentform .ff-el-input--label label, .prose .fluentform .ff-el-input--label label { font-weight: 600; }
.fluentform .ff-el-form-control { border-radius: 10px; border: 1.5px solid var(--field-border); padding: 12px 14px; font: inherit; background: var(--surface); color: var(--ink); }
.fluentform .ff-el-form-control:focus { border-color: var(--green); box-shadow: none; }
.fluentform .ff-btn-submit, .fluentform .ff-btn-submit:hover { background: var(--accent) !important; border: 0 !important; border-radius: 999px !important; padding: 15px 32px !important; font: inherit; font-weight: 600; }
.fluentform .ff-btn-submit:hover { background: var(--accent-hover) !important; }

/* Footer */
.site-footer { background: var(--band); color: var(--on-dark-soft); font-size: 15px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 56px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: #fff; }
.site-footer__logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; }
.site-footer__mark { flex: none; width: 56px; height: 56px; }
.site-footer__menu { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer__social { display: flex; gap: 4px; list-style: none; margin: 8px 0 0 -10px; padding: 0; }
.site-footer__social .social-link { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; color: var(--on-dark-soft); }
.site-footer__social .social-link:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Booking bar on trip pages (kr_buy_bar): slides up from the bottom once the hero button is out of sight. */
.buy-bar { position: fixed; inset: auto 0 0 0; z-index: 9; background: var(--surface); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px var(--shadow); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
.buy-bar.is-visible { transform: none; visibility: visible; transition: transform 0.25s ease; }
.buy-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.buy-bar__info { display: flex; flex-direction: column; margin: 0; line-height: 1.3; min-width: 0; }
.buy-bar__price { font-weight: 700; font-size: 18px; }
.buy-bar__meta { color: var(--ink-soft); font-size: 14px; }
.buy-bar__button { padding: 13px 22px; }
@media (max-width: 420px) {
	.buy-bar__price { font-size: 16px; }
	.buy-bar__button { padding: 12px 16px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.buy-bar, .buy-bar.is-visible { transition: none; }
	html { scroll-behavior: auto; }
	.trip-card, .trip-card__image, .site-header, .site-header__inner, .site-logo__mark { transition: none; }
	.trip-card:hover, .trip-card:focus-visible { transform: none; }
}

.section--tight { padding-top: 0; }

/* Complianz cookie policy: its cookie tables must fit small phones. */
.prose .cmplz-document, .prose .cmplz-document * { max-width: 100%; overflow-wrap: anywhere; }
.prose .cmplz-document .cmplz-service-header { min-height: 44px; }

/* Complianz cookie banner in the site's look: fjord-green accept button, site fonts, rounded buttons,
   and body text large enough to read on a phone. "Afvis" keeps the same size as "Accepter" (required for valid consent). */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	--cmplz_button_accept_background_color: #1E4D43;
	--cmplz_button_accept_border_color: #1E4D43;
	--cmplz_button_accept_text_color: #ffffff;
	--cmplz_button_border_radius: 999px;
	--cmplz_text_font_size: 14px;
	--cmplz_link_font_size: 14px;
	--cmplz_title_font_size: 17px;
	--cmplz_hyperlink_color: #1E4D43;
	font-family: var(--font-body);
	color: #111A17; /* the banner stays white in night mode */
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title { font-family: var(--font-display); font-weight: 700; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn { font-family: var(--font-body); font-weight: 600; min-height: 44px; }

/* Booking form (Klatrerejser Booking plugin) */
.booking__errors { background: var(--error-bg); border: 1.5px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; }
.booking__errors ul { margin: 0; padding-left: 1.2em; }
.booking__errors:focus { outline: none; }
.booking__step { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.booking__step legend { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 14px; padding: 0; }
.booking__hp { position: absolute; left: -9999px; }
.booking__dates { display: grid; gap: 10px; }
.date-option { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: var(--surface); border: 1.5px solid var(--field-border); border-radius: 14px; padding: 14px 18px; cursor: pointer; min-height: 44px; }
.date-option input { grid-row: span 2; width: 20px; height: 20px; accent-color: var(--green); margin: 0; }
.date-option__date { font-weight: 600; font-size: 18px; }
.date-option__meta { color: var(--ink-soft); font-size: 15px; }
.date-option:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.date-option--disabled { opacity: 0.55; cursor: not-allowed; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-grid .field { margin-bottom: 0; }
.field > span { font-weight: 600; font-size: 15px; }
.field--wide { grid-column: 1 / -1; }
.field--narrow { max-width: 160px; }
.field input, .field select, .field textarea { font: inherit; border: 1.5px solid var(--field-border); border-radius: 10px; padding: 11px 14px; background: var(--surface); color: var(--ink); min-height: 46px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 0; }
.field-help { color: var(--ink-soft); font-size: 15px; }
.participant { background: var(--surface); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.participant__title { font-weight: 600; margin: 0 0 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green); }
.booking__summary { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 8px 0 20px; }
.booking__summary-head { font-weight: 600; margin: 0 0 10px; }
.booking__summary dl { margin: 0; }
.booking__summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; color: var(--ink-soft); }
.booking__summary-row dt { margin: 0; }
.booking__summary-row dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking__summary-row--total { color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.booking__summary-row--now { color: var(--ink); font-weight: 700; font-size: 18px; background: var(--bg-soft); border-radius: 10px; margin: 6px -10px 0; padding: 10px; }
.booking__summary-row--now dd { color: var(--green); }
.booking__summary-row--later { font-size: 15px; }
.booking__form .button { border: 0; cursor: pointer; font: inherit; font-weight: 600; min-height: 48px; }
.booking--confirmed { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.booking--attention { border-left: 4px solid var(--accent); }
.trip-facts--flat { margin: 24px 0; box-shadow: none; border: 1px solid var(--line); }
