/*
 * Northern Explorer: global styles (front end and editor canvas).
 * Values come from theme.json presets (--wp--preset--*) and custom properties (--wp--custom--*).
 * Breakpoints used across the theme: 1100px (desktop), 900px (tablet), 660px (mobile).
 * Styles of core block variations live in assets/css/blocks/{block}.css (loaded per block).
 */

/* Size-adjusted fallbacks (reduce layout shift while the brand fonts load) */
@font-face { font-family: "NE Display Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 112%; ascent-override: 86%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "NE Sans Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 101%; ascent-override: 96%; descent-override: 25%; }

:root {
	--ne-header-h: var(--wp--custom--header-height, 76px);
	--ne-ease: var(--wp--custom--ease, cubic-bezier(.2, .7, .1, 1));
	--ne-radius: var(--wp--custom--radius, 18px);
	--ne-line: var(--wp--custom--line);
	--ne-line-2: var(--wp--custom--line-strong);
	--ne-display: var(--wp--custom--font--heading);
	--ne-sans: var(--wp--custom--font--body);
	--ne-muted: var(--wp--preset--color--muted);
	--ne-text: var(--wp--preset--color--ink-soft);
	interpolate-size: allow-keywords;
}

@media (max-height: 640px) {
	:root { --ne-header-h: 64px; }
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ne-header-h) + 16px);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--wp--preset--color--sun); outline-offset: 3px; }
::selection { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--ink); }

/* Icons rendered by PHP (inline SVG) */
.ne-icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ne-icon--fill { fill: currentColor; stroke: none; }
.ne-icon--owl { width: 1.4em; height: .9em; }

/* Headings: balanced lines and the light emphasis (italic button in the toolbar) */
:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
:where(h1, h2, h3, h4, h5, h6) em { font-style: normal; font-weight: 300; }
h2.wp-block-heading em, .wp-block-post-title em { color: var(--wp--preset--color--brand); }

/* Dark contexts: night sections, night cards and the seasonal section in winter */
.is-style-section-night,
.is-style-card-night,
html[data-season="winter"] .is-style-seasonal {
	--ne-line: var(--wp--custom--line-on-dark);
	--ne-line-2: var(--wp--custom--line-strong-on-dark);
	--ne-muted: var(--wp--preset--color--mist);
	--ne-text: var(--wp--preset--color--fog);
}
.is-style-section-night h2.wp-block-heading em,
.is-style-card-night h2.wp-block-heading em,
html[data-season="winter"] .is-style-seasonal h2.wp-block-heading em { color: var(--wp--preset--color--peach); }

/* Season visibility (Advanced → Northern Explorer → Show in) */
html[data-season="summer"] .ne-only-winter,
html[data-season="winter"] .ne-only-summer,
html:not([data-season]) .ne-only-winter { display: none !important; }

/* Reveal on scroll (enabled by assets/js/frontend.js) */
.ne-reveal-on .ne-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ne-ease), transform 1s var(--ne-ease); transition-delay: var(--ne-delay, 0s); }
.ne-reveal-on .ne-reveal.is-in { opacity: 1; transform: none; }

.ne-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ne-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Skip link */
.ne-skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--wp--preset--color--ink); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.ne-skip:focus { top: 16px; }

/* ---------- Header (parts/header.html) ---------- */
/* --ne-vv-top (assets/js/frontend.js): on iPhones, once the browser's bars hide, how far the top of
   fixed elements sits above the screen (under the address bar); 0 everywhere else. */
.ne-site-header {
	position: fixed;
	inset: var(--ne-vv-top, 0px) 0 auto;
	z-index: 50;
	color: #fff;
	transition: background-color .35s var(--ne-ease), color .35s var(--ne-ease), box-shadow .35s, transform .45s var(--ne-ease);
}
.admin-bar .ne-site-header { top: calc(var(--ne-vv-top, 0px) + var(--wp-admin--admin-bar--height, 32px)); }
.ne-site-header.is-solid,
.ne-no-hero .ne-site-header {
	background: color-mix(in srgb, var(--wp--preset--color--night) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(16px);
	backdrop-filter: saturate(1.4) blur(16px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 12px 32px rgba(6, 10, 16, .24);
}
.ne-site-header.is-hidden { transform: translateY(-102%); }
/* Over photos the transparent header gets a soft scrim, so the menu stays readable on light areas. */
.ne-has-hero .ne-site-header:not(.is-solid)::before {
	content: "";
	position: absolute;
	inset: 0 0 -48px;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(9, 13, 20, .6) 0%, rgba(9, 13, 20, .28) 55%, rgba(9, 13, 20, 0) 100%);
}
.ne-has-hero .ne-site-header:not(.is-solid) .ne-main-nav { text-shadow: 0 1px 14px rgba(5, 8, 14, .6); }
/* Only the menu bar sits on the photo: the dropdown and the mobile menu card stay clean. */
.ne-main-nav .wp-block-navigation__submenu-container,
.ne-menu-overlay { text-shadow: none; }
.ne-site-header__row { min-height: var(--ne-header-h); }
.ne-site-header .wp-block-navigation { font-weight: 500; }
.ne-no-hero .ne-site-header { position: sticky; top: var(--ne-vv-top, 0px); }
.admin-bar.ne-no-hero .ne-site-header { top: calc(var(--ne-vv-top, 0px) + var(--wp-admin--admin-bar--height, 32px)); }

/* Page structure: sections own their spacing (no gaps between header, main, footer, landing sections or the sections of a template) */
.wp-site-blocks > * + * { margin-block-start: 0; }
.ne-landing-content > * { margin-block: 0; }
main > .alignfull + .alignfull { margin-block-start: 0; }

/* Header inside the Site Editor: keep it in the flow */
.editor-styles-wrapper .ne-site-header { position: relative; top: 0; background: var(--wp--preset--color--night); }

/* ---------- Footer (parts/footer.html) ---------- */
.ne-site-footer {
	color: var(--wp--preset--color--fog);
	padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)) !important;
	border-top: 1px solid rgba(238, 241, 245, .06);
	font-size: .96rem;
}
.ne-site-footer .ne-footer__tag { max-width: 16ch; margin-top: 26px; font-family: var(--ne-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: #fff; }
.ne-site-footer .wp-block-heading.is-style-eyebrow { margin: 6px 0 16px; }
.ne-site-footer .wp-block-heading.is-style-eyebrow + * { margin-top: 0; }
.ne-site-footer .wp-block-list.is-style-links + .wp-block-buttons { margin-top: 10px; }
.ne-site-footer .wp-block-button.is-style-text .wp-block-button__link { padding: 0; font-size: .96rem; font-weight: 400; text-decoration: none; }
.ne-site-footer .wp-block-button.is-style-text .wp-block-button__link:hover { color: #fff; text-decoration: underline; }
.ne-site-footer .is-style-eyebrow { color: var(--wp--preset--color--mist); }
.ne-site-footer .ne-footer__bottom { padding-top: 24px; border-top: 1px solid rgba(238, 241, 245, .1); font-size: .86rem; color: var(--wp--preset--color--mist); }
.ne-site-footer a:where(:not(.wp-element-button)) { text-decoration: none; }
.ne-site-footer a:where(:not(.wp-element-button)):hover { color: #fff; text-decoration: underline; }

/* ---------- Interior pages: night page header, lead and breadcrumbs ---------- */
.ne-page-header { position: relative; isolation: isolate; overflow: hidden; }
.ne-page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(52% 70% at 92% 0%, rgba(242, 166, 90, .16), transparent 70%),
		radial-gradient(40% 60% at 70% 110%, rgba(118, 232, 178, .1), transparent 72%),
		radial-gradient(30% 50% at 0% 0%, rgba(98, 124, 236, .12), transparent 70%);
}
.ne-page-header h1.wp-block-heading,
.ne-page-header .wp-block-post-title,
.ne-page-header .wp-block-query-title { margin-block: .32em .28em; font-size: var(--wp--preset--font-size--xx-large); line-height: 1.04; letter-spacing: -.03em; color: #fff; }
.ne-page-header :where(h1) em { color: var(--wp--preset--color--peach); }
.ne-page-header > .wp-block-group > * { margin-block-start: 0; }
.ne-page-header > .wp-block-group > * + * { margin-block-start: 18px; }
.ne-page-header > .wp-block-group > .ne-breadcrumbs + * { margin-block-start: clamp(20px, 3vw, 32px); }
:where(.wp-block-post-excerpt, .wp-block-term-description).is-style-lead,
.ne-lead { max-width: 58ch; font-size: var(--wp--preset--font-size--medium); line-height: 1.55; color: var(--ne-text); }
:where(.wp-block-post-excerpt, .wp-block-term-description) p { margin: 0; }
.wp-block-post-excerpt.ne-lead .wp-block-post-excerpt__more-text { display: none; }
.wp-block-post-terms.is-style-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .7em; font: 600 var(--wp--preset--font-size--x-small) / 1.2 var(--ne-sans); letter-spacing: .16em; text-transform: uppercase; }
.wp-block-post-terms.is-style-eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }
.wp-block-post-terms.is-style-eyebrow a { color: inherit; text-decoration: none; }
.wp-block-post-terms.is-style-eyebrow a:hover { text-decoration: underline; }
.wp-block-post-terms.is-style-eyebrow .wp-block-post-terms__separator { opacity: .6; }

/* ---------- Story cards (journal query loops and the Related stories block) ---------- */
.ne-card, .ne-journal-grid .wp-block-post { position: relative; display: flex; flex-direction: column; min-width: 0; }
:where(.ne-card__media, .ne-journal-grid .wp-block-post-featured-image) { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--wp--preset--color--sand); aspect-ratio: 4 / 3; }
:where(.ne-card__media, .ne-journal-grid .wp-block-post-featured-image) img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ne-ease); }
.ne-card:hover .ne-card__media img,
.ne-journal-grid .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.045); }
.ne-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.ne-card__body > * { margin: 0; }
.ne-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ne-muted); }
.ne-card__meta > * { margin: 0 !important; }
.ne-card__cat, .ne-card__cat a { color: var(--wp--preset--color--brand); text-decoration: none; }
.ne-card__cat a:not(:first-child) { display: none; }
.ne-card__cat .wp-block-post-terms__separator { display: none; }
.ne-card__time::before, .ne-card__meta > span + span::before { content: "·"; margin-right: 14px; opacity: .6; }
.ne-card__meta > span + span::before { margin-right: 10px; }
.ne-card__meta .ne-card__cat:empty + .ne-card__time::before { content: none; }
.ne-card__title { font-family: var(--ne-display); font-size: clamp(1.18rem, 1.5vw, 1.36rem); font-weight: 600; line-height: 1.25; letter-spacing: -.018em; text-wrap: balance; }
/* Inline, not core's inline-block, so the underline follows each line of a wrapped title. */
.ne-card__title a { display: inline; color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ne-ease); }
.ne-card:hover .ne-card__title a,
.ne-journal-grid .wp-block-post:hover .ne-card__title a,
.ne-card__title a:focus-visible { background-size: 100% 1px; }
/* The title link covers the whole card. */
.ne-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.ne-card__title a:focus-visible { outline: none; }
.ne-card__title a:focus-visible::after { outline: 2px solid var(--wp--preset--color--sun); outline-offset: 6px; }
.ne-card__excerpt, .ne-card__excerpt p { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--ne-text); }
.ne-card__excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.ne-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.is-style-section-night .ne-card__cat, .is-style-section-night .ne-card__cat a { color: var(--wp--preset--color--peach); }

/* ---------- Prose (pages, stories and tour stories) ---------- */
.ne-prose { font-size: 1.0625rem; line-height: 1.7; }
.ne-prose :where(p, li) { color: var(--ne-text); }
.ne-prose > :where(h2, h3, h4) { margin-block: 1.9em .55em; color: var(--wp--preset--color--ink); }
.ne-prose > h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); letter-spacing: -.024em; line-height: 1.15; }
.ne-prose > h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); letter-spacing: -.018em; line-height: 1.25; }
.ne-prose > h4 { font-size: 1.12rem; letter-spacing: -.01em; }
.ne-prose > :where(h2, h3, h4) + * { margin-top: 0; }
.ne-prose > :first-child { margin-top: 0; }
.ne-prose a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--brand); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.ne-prose a:where(:not(.wp-element-button)):hover { text-decoration-color: currentColor; }
/* Lists written in the text; the lists blocks build (class "block__element", e.g. ne-tours__grid) keep their own layout. */
.ne-prose :where(ul, ol):not(.is-style-checks):not(.is-style-links):not([class*="__"]) { padding-left: 1.2em; }
.ne-prose :where(ul, ol):not([class*="__"]) > li + li { margin-top: .4em; }
.ne-prose :where(ul, ol):not([class*="__"]) > li::marker { color: var(--wp--preset--color--brand); }
.ne-prose > .wp-block-image, .ne-prose > figure { margin-block: 2.2em; }
.ne-prose .wp-block-image img { border-radius: 14px; }
.ne-prose .wp-element-caption { margin-top: 10px; font-size: .86rem; color: var(--ne-muted); text-align: left; }
.ne-prose blockquote:not(.wp-block-pullquote blockquote) { margin: 2em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid var(--wp--preset--color--sun); font-family: var(--ne-display); font-size: 1.25rem; font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: var(--wp--preset--color--ink); }
.ne-prose .wp-block-gallery { margin-block: 2.4em; }
/* Galleries in stories: one wide photo, then pairs (an odd last photo takes the full row). */
.ne-prose .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ne-prose .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; }
.ne-prose .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; height: auto; border-radius: 12px; object-fit: cover; }
.ne-prose .wp-block-gallery.has-nested-images figure.wp-block-image:first-child,
.ne-prose .wp-block-gallery.has-nested-images figure.wp-block-image:last-child:nth-child(even) { grid-column: 1 / -1; }
.ne-prose .wp-block-gallery.has-nested-images figure.wp-block-image:first-child img,
.ne-prose .wp-block-gallery.has-nested-images figure.wp-block-image:last-child:nth-child(even) img { aspect-ratio: 16 / 9; }
.ne-prose .wp-block-more { display: none; }

/* Reading progress on stories (scroll-driven animation; no JavaScript). */
@supports (animation-timeline: scroll()) {
	.single-post::after {
		content: "";
		position: fixed;
		inset: var(--ne-vv-top, 0px) 0 auto;
		z-index: 60;
		height: 3px;
		background: var(--wp--preset--color--sun);
		transform-origin: 0 50%;
		animation: ne-progress linear both;
		animation-timeline: scroll(root);
		pointer-events: none;
	}
	.admin-bar.single-post::after { top: calc(var(--ne-vv-top, 0px) + var(--wp-admin--admin-bar--height, 32px)); }
}
@keyframes ne-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.ne-reveal-on .ne-reveal { opacity: 1; transform: none; }
}

@media print {
	.ne-site-header, .wp-block-northern-explorer-floating-actions { display: none !important; }
}

/* ---------- Elements rendered by PHP (same look as the core block styles) ---------- */
.ne-eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0; font: 600 var(--wp--preset--font-size--x-small) / 1.2 var(--ne-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ne-muted); }
.ne-eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }

.ne-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 54px;
	padding: 0 1.55em;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--ne-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .005em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ne-ease);
}
.ne-btn:active { transform: scale(.98); }
.ne-btn__icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ne-ease); }
.ne-btn:hover .ne-btn__icon--arrow { transform: translateX(3px); }
.ne-btn--sm { min-height: 44px; padding: 0 1.15em; font-size: .93rem; }
.ne-btn--sun { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--ink); }
.ne-btn--sun:hover { background: var(--wp--preset--color--sun-soft); color: var(--wp--preset--color--ink); }
.ne-btn--ink { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }
.ne-btn--ink:hover { background: color-mix(in srgb, var(--wp--preset--color--ink) 82%, #fff); color: var(--wp--preset--color--paper); }
.ne-btn--line { border-color: var(--ne-line-2); background: transparent; color: inherit; }
.ne-btn--line:hover { border-color: currentColor; }
.ne-btn--ghost { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ne-btn--wa { background: var(--wp--preset--color--whatsapp); color: #fff; }
.ne-btn--wa:hover { background: color-mix(in srgb, var(--wp--preset--color--whatsapp) 84%, #000); color: #fff; }
.ne-btn[aria-busy="true"] { cursor: progress; opacity: .8; }

.ne-text-link { display: inline-flex; align-items: center; gap: .4em; padding: 8px 2px; border: 0; background: none; color: inherit; font: 600 .93rem / 1.2 var(--ne-sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.ne-text-link:hover { text-decoration-thickness: 2px; }

.ne-price { margin: 0 auto 0 0; line-height: 1; white-space: nowrap; }
.ne-price b { font-family: var(--ne-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: lining-nums; }
.ne-price span { margin-left: 5px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--ne-muted); }

.ne-tag { padding: 6px 10px; border-radius: 999px; background: rgba(12, 18, 28, .52); color: #fff; font-size: .74rem; font-weight: 600; line-height: 1; letter-spacing: .02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ne-tag--sun { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--ink); }

.ne-spec { display: grid; grid-template-columns: minmax(110px, 150px) 1fr; margin: 26px 0 0; border-top: 1px solid var(--ne-line-2); }
.ne-spec dt, .ne-spec dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--ne-line); }
.ne-spec dt { padding-top: 16px; padding-right: 16px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ne-muted); }
.ne-spec dd { font-size: .97rem; }
@media (max-width: 760px) {
	.ne-spec { grid-template-columns: 1fr; }
	.ne-spec dt { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- Header row: logo, menu, booking button ---------- */
.ne-site-header__row { gap: clamp(16px, 2vw, 32px); }
.ne-site-header__row > * { margin: 0 !important; }
.ne-site-header__cta { flex: none; }

/* ---------- Footer columns ---------- */
.ne-site-footer .ne-footer__cols { row-gap: 44px; }
.ne-site-footer .wp-block-list.is-style-links li + li { margin-top: 2px; }
@media (min-width: 782px) and (max-width: 1099px) {
	.ne-site-footer .ne-footer__cols { flex-wrap: wrap !important; }
	.ne-site-footer .ne-footer__cols > .wp-block-column { flex-basis: calc(50% - 18px) !important; flex-grow: 0; }
}

/* ---------- Tour page ---------- */
.single-ne_tour .wp-block-northern-explorer-hero .ne-hero__inner > * { margin-block: 0; }
.single-ne_tour .wp-block-northern-explorer-hero .ne-hero__inner > .ne-breadcrumbs { margin-bottom: clamp(16px, 2.6svh, 28px); }
.single-ne_tour .wp-block-northern-explorer-hero .ne-hero__title { max-width: 16em; margin: 14px 0 clamp(22px, 3.4svh, 36px); color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.034em; text-shadow: 0 2px 24px rgba(5, 8, 14, .25); }
.single-ne_tour .wp-block-northern-explorer-hero .ne-tour-facts { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); --ne-line-2: rgba(255, 255, 255, .22); }
.ne-hero__terms { color: rgba(255, 255, 255, .9); }
.ne-tour-main .is-style-sticky { position: sticky; top: calc(var(--ne-header-h) + 32px); align-self: flex-start; }
.ne-tour-main .wp-block-post-excerpt { margin-bottom: 1.6em; font-family: var(--ne-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -.016em; color: var(--wp--preset--color--ink); }
.ne-tour-story > p:first-child { margin-top: 0; }
@media (max-width: 781px) {
	.ne-tour-main .is-style-sticky { position: static; }
	/* Booking first on phones: price and buttons before the long story. */
	.ne-tour-main .wp-block-columns { flex-direction: column-reverse; }
}

/* ---------- Activity page ---------- */
.ne-activity-header .ne-term-art { width: 100%; margin-inline: auto 0; } /* a set width: the illustration's box is reserved before it loads */
.ne-activity-header .ne-term-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); animation: ne-float 7s ease-in-out infinite alternate; }
.ne-term-lead p + p { margin-top: .8em; }
@keyframes ne-float { to { transform: translateY(-10px) rotate(-2deg); } }
@media (max-width: 781px) {
	.ne-activity-header .ne-term-art { max-width: 160px !important; margin-inline: 0; }
	.ne-activity-header .wp-block-columns { flex-direction: column-reverse; align-items: flex-start !important; }
}

/* ---------- Story page ---------- */
/* Header, cover, the story with its sidebar and the related stories share one container. */
.ne-post-header, .ne-post-cover-wrap, .ne-story, .ne-story-more { --wp--style--global--wide-size: 1200px; }
.ne-post-header { text-align: left; }
.ne-post-cats { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ne-post-cats a { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: var(--wp--preset--color--peach); text-decoration: none; }
.ne-post-cats a:hover { border-color: currentColor; }
.ne-post-cats .wp-block-post-terms__separator { display: none; }
.ne-post-header .ne-post-title { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.ne-post-meta { gap: 6px 18px; font-size: .9rem; color: var(--wp--preset--color--mist); }
.ne-post-meta > * { margin: 0 !important; }
.ne-post-meta .ne-post-time::before { content: "·"; margin-right: 18px; opacity: .6; }
.ne-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 29vw, 360px); gap: var(--wp--preset--spacing--70) clamp(40px, 6vw, 88px); }
.ne-story__grid > .wp-block-group { min-width: 0; margin: 0; }
.ne-article { font-size: 1.125rem; line-height: 1.75; }
.ne-article > p:first-of-type::first-letter { float: left; margin: .08em .1em 0 0; font-family: var(--ne-display); font-size: 3.6em; font-weight: 600; line-height: .8; color: var(--wp--preset--color--brand); }
/* Sidebar: tours for the story and help, sticky next to the text on large screens. */
/* It sits under the header while the header shows, and moves up when the header hides on scroll. */
.ne-story__sticky { --ne-top: 24px; position: sticky; top: var(--ne-top); display: grid; gap: 16px; transition: top .45s var(--ne-ease); }
.ne-site-header:not(.is-hidden) ~ * .ne-story__sticky { --ne-top: calc(var(--ne-header-h) + 24px); }
.admin-bar .ne-story__sticky { top: calc(var(--wp-admin--admin-bar--height, 32px) + var(--ne-top)); }
.ne-story__sticky > * { margin: 0; }
.wp-block-group.ne-story-card { padding: clamp(20px, 1.8vw, 24px); border: 1px solid var(--ne-line); border-radius: var(--ne-radius); background: var(--wp--preset--color--white); box-shadow: 0 30px 60px -44px rgba(20, 25, 34, .35); }
.wp-block-group.ne-story-card.is-style-card-night { border-color: transparent; background: var(--wp--preset--color--night); box-shadow: none; }
.ne-story-card > * { margin-block: 0; }
.ne-story-card > * + * { margin-block-start: 12px; }
.ne-story-card > :is(.wp-block-northern-explorer-tours, .wp-block-buttons) { margin-block-start: 18px; }
.ne-story-card .ne-story-card__title { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }
.ne-story-card.is-style-card-night p:not(.is-style-eyebrow) { font-size: .95rem; line-height: 1.55; color: var(--ne-text); }
.ne-story-card.is-style-card-night .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
.ne-story-card.is-style-card-night .wp-block-button:not(.is-style-text) .wp-block-button__link { width: 100%; justify-content: center; }
.ne-story-card.is-style-card-night .wp-block-button.is-style-text { align-self: center; font-size: .9rem; }
@media (max-width: 1100px) {
	.ne-story__grid { grid-template-columns: minmax(0, 1fr); }
	.ne-story__sticky { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
	.ne-story-card.is-style-card-night { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 660px) {
	.ne-article { font-size: 1.0625rem; line-height: 1.7; }
}

/* ---------- Contact page ---------- */
.ne-contact-header .wp-block-columns { align-items: flex-start; }
.ne-form-card { color: var(--wp--preset--color--ink); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .55); scroll-margin-top: calc(var(--ne-header-h) + 20px); }
.ne-form-card .ne-form-title { margin: 0 0 8px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--wp--preset--color--ink); }
.ne-form-card { --ne-muted: var(--wp--preset--color--muted); --ne-text: var(--wp--preset--color--ink-soft); --ne-line: var(--wp--custom--line); --ne-line-2: var(--wp--custom--line-strong); }
.ne-contact-header .wp-block-northern-explorer-contact-channels { max-width: 440px; }
