/* ==========================================================================
   Hærvejens Lejrskole – temaets designsystem
   Inspireret af booklejrskole.dk: rolige grønne flader, generøs luft,
   pilleformede knapper og en fuld-højde hero.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Farver */
	--hls-green:        #2e5c4b;
	--hls-green-dark:   #1f4234;
	--hls-green-deep:   #16332a;
	--hls-mint:         #dcefe2;
	--hls-mint-dark:    #c6e3d1;
	--hls-sand:         #f7f5f0;
	--hls-sun:          #f4c020;
	--hls-sun-dark:     #d9a90f;
	--hls-ink:          #333b37;
	--hls-ink-soft:     #66736d;
	--hls-line:         #e3e9e5;
	--hls-white:        #fff;

	/* Typografi */
	--hls-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--hls-gutter: clamp(20px, 5vw, 40px);
	--hls-section: clamp(64px, 8vw, 118px);

	/* Form */
	--hls-radius: 999px;
	--hls-radius-sm: 12px;
	--hls-radius-card: 20px;
	--hls-shadow: 0 10px 30px rgba(22, 51, 42, .08);
	--hls-shadow-lg: 0 24px 60px rgba(22, 51, 42, .16);
	--hls-transition: 200ms ease;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

html {
	/* 1rem = 17px, så rem-værdierne følger brødteksten (17 px). */
	font-size: 106.25%;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--hls-white);
	color: var(--hls-ink);
	font-family: var(--hls-font);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.hls-nav-open {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--hls-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--hls-transition);
}

a:hover,
a:focus {
	color: var(--hls-green-dark);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .6em;
	color: var(--hls-green-dark);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.15em;
}

li {
	margin-bottom: .45em;
}

hr {
	border: 0;
	border-top: 1px solid var(--hls-line);
	margin: 2.5rem 0;
}

blockquote {
	margin: 0 0 1.6em;
	padding: 1.4em 1.6em;
	border-left: 3px solid var(--hls-mint-dark);
	background: var(--hls-sand);
	border-radius: 0 var(--hls-radius-sm) var(--hls-radius-sm) 0;
	font-size: 1.08em;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.8em;
	font-size: .96em;
}

th,
td {
	padding: .8em 1em;
	border-bottom: 1px solid var(--hls-line);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--hls-mint);
	color: var(--hls-green-dark);
	font-weight: 700;
}

tbody tr:hover {
	background: var(--hls-sand);
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: var(--hls-gutter);
}

.container--wide {
	max-width: 1420px;
}

.container--narrow {
	max-width: 780px;
}

.section {
	padding-block: var(--hls-section);
}

.section--tight {
	padding-block: clamp(40px, 5vw, 72px);
}

.section--prose {
	padding-block: clamp(56px, 7vw, 104px);
}

.section--centered {
	min-height: 58vh;
	display: flex;
	align-items: center;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	overflow-wrap: normal;
}

.skip-link:focus {
	background: var(--hls-green);
	color: var(--hls-white);
	clip: auto;
	clip-path: none;
	display: block;
	height: auto;
	left: 12px;
	padding: 12px 20px;
	top: 12px;
	width: auto;
	z-index: 999;
}

:focus-visible {
	outline: 3px solid var(--hls-sun);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Knapper
   -------------------------------------------------------------------------- */

.hls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .78em 1.5em;
	border: 2px solid transparent;
	border-radius: var(--hls-radius);
	background: var(--hls-green);
	color: var(--hls-white);
	font-family: var(--hls-font);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--hls-transition),
				color var(--hls-transition),
				border-color var(--hls-transition),
				transform var(--hls-transition),
				box-shadow var(--hls-transition);
}

.hls-btn:hover,
.hls-btn:focus {
	background: var(--hls-green-dark);
	color: var(--hls-white);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(22, 51, 42, .18);
}

.hls-btn--sm {
	padding: .6em 1.1em;
	font-size: .85rem;
}

.hls-btn--accent {
	background: var(--hls-sun);
	color: var(--hls-green-deep);
}

.hls-btn--accent:hover,
.hls-btn--accent:focus {
	background: var(--hls-sun-dark);
	color: var(--hls-green-deep);
}

.hls-btn--outline {
	background: transparent;
	border-color: var(--hls-green);
	color: var(--hls-green);
}

.hls-btn--outline:hover,
.hls-btn--outline:focus {
	background: var(--hls-green);
	color: var(--hls-white);
}

.hls-btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}

.hls-btn--ghost:hover,
.hls-btn--ghost:focus {
	background: var(--hls-white);
	border-color: var(--hls-white);
	color: var(--hls-green-dark);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--hls-line);
	transition: box-shadow var(--hls-transition);
}

.site-header.is-scrolled {
	box-shadow: 0 4px 24px rgba(22, 51, 42, .08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 78px;
	max-width: 1420px;
	margin-inline: auto;
	padding-inline: var(--hls-gutter);
}

.site-header__brand {
	flex: 0 0 auto;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	color: var(--hls-green-dark);
	text-decoration: none;
}

.site-brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hls-mint);
	color: var(--hls-green);
	flex: 0 0 auto;
}

.site-brand__name {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.15;
}

.custom-logo {
	max-height: 56px;
	width: auto;
}

.site-nav {
	margin-left: auto;
}

.site-nav__list {
	display: none;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list > li {
	position: relative;
	margin: 0;
}

.site-nav__list > li > a {
	display: block;
	padding: .6rem .8rem;
	border-radius: var(--hls-radius);
	color: var(--hls-green-dark);
	font-size: .94rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current-menu-ancestor > a,
.site-nav__list > li.current_page_item > a {
	background: var(--hls-mint);
	color: var(--hls-green);
}

/* Dropdown */
.site-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + .4rem);
	left: 0;
	z-index: 20;
	min-width: 240px;
	max-width: 320px;
	margin: 0;
	padding: .5rem;
	list-style: none;
	background: var(--hls-white);
	border: 1px solid var(--hls-line);
	border-radius: var(--hls-radius-sm);
	box-shadow: var(--hls-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--hls-transition), transform var(--hls-transition), visibility var(--hls-transition);
}

/* De sidste menupunkter skal åbne mod venstre, ellers kan dropdowns
   komme til at stikke ud over skærmens højre kant. */
.site-nav__list > li:nth-last-child(-n+2) > .sub-menu {
	left: auto;
	right: 0;
}

.site-nav__list > li:hover > .sub-menu,
.site-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav__list .sub-menu a {
	display: block;
	padding: .55rem .8rem;
	border-radius: 8px;
	color: var(--hls-ink);
	font-size: .9rem;
	line-height: 1.4;
	text-decoration: none;
	white-space: normal;
}

.site-nav__list .sub-menu a:hover,
.site-nav__list .sub-menu .current-menu-item > a {
	background: var(--hls-mint);
	color: var(--hls-green-dark);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-left: auto;
}

.site-nav + .site-header__actions {
	margin-left: 0;
}

.site-header__cta {
	display: none;
}

/* Burger */
.burger {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--hls-line);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color var(--hls-transition), border-color var(--hls-transition);
}

.burger:hover {
	background: var(--hls-mint);
	border-color: var(--hls-mint-dark);
}

.burger__box {
	display: block;
	width: 20px;
	height: 14px;
	position: relative;
}

.burger__line {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--hls-green-dark);
	transition: transform var(--hls-transition), opacity var(--hls-transition);
}

.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 6px; }
.burger__line:nth-child(3) { top: 12px; }

.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Off-canvas menu
   -------------------------------------------------------------------------- */

.overlay {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: rgba(22, 51, 42, .55);
	opacity: 0;
	transition: opacity var(--hls-transition);
}

.overlay.is-visible {
	opacity: 1;
}

.off-canvas {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	width: min(360px, 88vw);
	background: var(--hls-green-deep);
	color: var(--hls-white);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 280ms cubic-bezier(.4, 0, .2, 1);
}

.off-canvas.is-open {
	transform: translateX(0);
}

.off-canvas__inner {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	min-height: 100%;
	padding: 1.5rem 1.75rem 2.5rem;
}

.off-canvas__close {
	align-self: flex-end;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: var(--hls-white);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.off-canvas .site-brand {
	color: var(--hls-white);
}

.off-canvas .site-brand__mark {
	background: rgba(255, 255, 255, .12);
	color: var(--hls-mint);
}

.off-canvas__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.off-canvas__list li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.off-canvas__list a {
	display: block;
	padding: .85rem 0;
	color: var(--hls-white);
	font-size: 1.05rem;
	font-weight: 500;
	text-decoration: none;
}

.off-canvas__list .sub-menu {
	margin: 0;
	padding: 0 0 .5rem 1rem;
	list-style: none;
	border: 0;
}

.off-canvas__list .sub-menu a {
	padding: .5rem 0;
	font-size: .95rem;
	color: var(--hls-mint);
}

/* Plus/minus-knap til at folde undermenuen ud i den mobile menu. */
.off-canvas__sub-toggle {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: .55rem 0 .55rem auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	background: transparent;
	color: var(--hls-white);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.off-canvas__list li.is-expanded > .sub-menu {
	display: block;
}

.off-canvas__contact {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin-top: auto;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.off-canvas__contact a {
	color: var(--hls-mint);
	font-size: .95rem;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(88vh, 780px);
	padding-top: clamp(120px, 22vh, 220px);
	padding-bottom: clamp(56px, 9vh, 96px);
	overflow: hidden;
	background: var(--hls-green-deep);
	color: var(--hls-white);
}

.hero__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 40%;
	transform: scale(1.04);
	animation: hls-hero-in 1.6s ease-out both;
}

@keyframes hls-hero-in {
	from { opacity: 0; transform: scale(1.12); }
	to   { opacity: 1; transform: scale(1.04); }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(22, 51, 42, .55) 0%, rgba(22, 51, 42, .35) 35%, rgba(22, 51, 42, .88) 100%);
	mix-blend-mode: multiply;
}

.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1420px;
	margin-inline: auto;
	padding-inline: var(--hls-gutter);
}

.hero__content {
	max-width: 720px;
}

.hero__eyebrow {
	margin: 0 0 1rem;
	padding-left: 2.6rem;
	color: var(--hls-mint);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	position: relative;
}

.hero__eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 2rem;
	height: 2px;
	background: var(--hls-sun);
}

.hero__title {
	margin: 0 0 1.1rem;
	color: var(--hls-white);
	font-size: clamp(2.3rem, 6.2vw, 4.3rem);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.06;
	text-wrap: balance;
}

.hero__lead {
	margin: 0 0 2.2rem;
	max-width: 56ch;
	color: rgba(255, 255, 255, .92);
	font-size: clamp(1.02rem, 1.6vw, 1.18rem);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 24px;
	z-index: 2;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 14px;
}

.hero__scroll-line {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 3px;
	height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--hls-white);
	animation: hls-scroll 1.9s ease-in-out infinite;
}

@keyframes hls-scroll {
	0%   { transform: translateY(0); opacity: 1; }
	70%  { transform: translateY(16px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

.hero__actions .hls-btn--ghost {
	color: var(--hls-white);
	border-color: rgba(255, 255, 255, .65);
}

.hero__actions .hls-btn--ghost:hover,
.hero__actions .hls-btn--ghost:focus {
	background: var(--hls-white);
	border-color: var(--hls-white);
	color: var(--hls-green-dark);
}

.hero__actions .hls-btn--outline {
	border-color: var(--hls-mint);
	color: var(--hls-mint);
}

.hero__actions .hls-btn--outline:hover,
.hero__actions .hls-btn--outline:focus {
	background: var(--hls-mint);
	border-color: var(--hls-mint);
	color: var(--hls-green-dark);
}

/* --------------------------------------------------------------------------
   8. Facts-strip
   -------------------------------------------------------------------------- */

.facts {
	background: var(--hls-mint);
	color: var(--hls-green-deep);
}

.facts__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0;
	max-width: 1420px;
	margin-inline: auto;
	padding-inline: var(--hls-gutter);
}

.facts__item {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.9rem 1.6rem;
	border-left: 1px solid rgba(46, 92, 75, .14);
}

.facts__item:first-child {
	border-left: 0;
	padding-left: 0;
}

.facts__label {
	color: var(--hls-green);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.facts__value {
	font-size: .97rem;
	font-weight: 500;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Prose / indhold
   -------------------------------------------------------------------------- */

.hls-prose {
	max-width: 72ch;
}

/* Sider med fuld bredde: teksten bliver læsevenlig, mens kort,
   kalenderen og galleriet får lov til at fylde bredden. */
.entry--fullwidth .entry__content {
	max-width: none;
}

.entry--fullwidth .entry__content > p,
.entry--fullwidth .entry__content > h2,
.entry--fullwidth .entry__content > h3,
.entry--fullwidth .entry__content > h4,
.entry--fullwidth .entry__content > ul,
.entry--fullwidth .entry__content > ol {
	max-width: 72ch;
}

.entry--fullwidth .entry__content > h2 {
	margin-top: 2em;
}

.hls-prose > *:first-child {
	margin-top: 0;
}

.hls-prose h5,
.hls-prose h6 {
	margin: 2.4em 0 .8em;
	color: var(--hls-green-dark);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hls-prose h6 {
	margin-top: 0;
}

.hls-prose h5:first-child,
.hls-prose h6:first-child {
	margin-top: 0;
}

.hls-prose strong {
	color: var(--hls-green-deep);
}

.hls-prose a {
	font-weight: 500;
}

.hls-prose ul,
.hls-prose ol {
	padding-left: 1.3em;
}

.hls-prose li::marker {
	color: var(--hls-green);
}

.hls-prose img {
	border-radius: var(--hls-radius-card);
}

.hls-lead {
	font-size: 1.12rem;
	line-height: 1.6;
	color: var(--hls-ink-soft);
}

.hls-empty {
	padding: 2rem 0;
	color: var(--hls-ink-soft);
}

/* --------------------------------------------------------------------------
   10. Forside: intro, om lejrskolen, infokort, udflugtsmål
   -------------------------------------------------------------------------- */

.entry--front .entry__content {
	max-width: none;
}

.hls-intro {
	max-width: 62ch;
	margin: 0 auto clamp(48px, 6vw, 76px);
	text-align: center;
}

.hls-intro .hls-eyebrow {
	margin: 0 0 1rem;
	color: var(--hls-green);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hls-intro .hls-lead {
	margin: 0;
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--hls-ink);
	text-wrap: balance;
}

.hls-intro .hls-lead strong {
	color: var(--hls-green-dark);
}

/* Om lejrskolen – tekst + klæbrig kolonne */
.hls-about {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	margin-top: clamp(48px, 6vw, 80px);
}

.hls-about__body {
	max-width: 64ch;
	font-size: 1.02rem;
}

.hls-about__body p:last-child {
	margin-bottom: 0;
}

.hls-info-card {
	padding: 1.8rem 1.7rem 1.9rem;
	background: var(--hls-mint);
	border-radius: var(--hls-radius-card);
	color: var(--hls-green-deep);
}

.hls-info-card__title {
	margin: 0 0 .9rem;
	font-size: 1.16rem;
}

.hls-info-card__address {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	margin-bottom: 1rem;
	font-style: normal;
	font-size: .96rem;
}

.hls-info-card__list {
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
	font-size: .96rem;
}

.hls-info-card__list li {
	margin: 0 0 .3rem;
}

.hls-info-card__list a {
	color: var(--hls-green-dark);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(46, 92, 75, .4);
}

.hls-info-card__note {
	margin: 0 0 1.3rem;
	font-size: .92rem;
	line-height: 1.55;
	color: var(--hls-green);
}

.hls-info-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

/* Udflugtsmål */
.hls-trips {
	margin-top: clamp(64px, 8vw, 112px);
	padding-top: clamp(48px, 6vw, 72px);
	border-top: 1px solid var(--hls-line);
}

.hls-trips__title {
	margin: 0 0 2.2rem;
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.hls-trips__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.6rem;
	align-items: start;
}

.hls-trip {
	padding: 1.6rem 1.5rem 1.8rem;
	background: var(--hls-sand);
	border: 1px solid var(--hls-line);
	border-radius: var(--hls-radius-card);
	transition: transform var(--hls-transition), box-shadow var(--hls-transition);
}

.hls-trip:hover {
	transform: translateY(-3px);
	box-shadow: var(--hls-shadow);
}

.hls-trip__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 .9rem;
	font-size: 1.1rem;
}

.hls-trip__title::before {
	content: "";
	flex: 0 0 auto;
	width: 26px;
	height: 2px;
	background: var(--hls-sun);
}

.hls-trip ul {
	margin: 0;
	padding-left: 1.1em;
	font-size: .95rem;
	color: var(--hls-ink-soft);
}

.hls-trip li {
	margin-bottom: .35em;
}

.hls-trip li::marker {
	color: var(--hls-green);
}

/* --------------------------------------------------------------------------
   11. Kontaktside
   -------------------------------------------------------------------------- */

.hls-contact {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 56px);
	align-items: start;
	max-width: 1180px;
}

.hls-contact__title {
	margin: 0 0 1rem;
	font-size: 1.3rem;
}

.hls-contact__address {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	margin: 0 0 1.4rem;
	font-style: normal;
	font-size: 1.05rem;
}

.hls-contact__line {
	margin: 0 0 .4rem;
	font-size: 1rem;
}

.hls-contact__map iframe,
.hls-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
	border-radius: var(--hls-radius-card);
	box-shadow: var(--hls-shadow);
}

@media (min-width: 900px) {
	.hls-contact {
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	}
}

/* --------------------------------------------------------------------------
   12. Cards
   -------------------------------------------------------------------------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.6rem;
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--hls-white);
	border: 1px solid var(--hls-line);
	border-radius: var(--hls-radius-card);
	overflow: hidden;
	transition: transform var(--hls-transition), box-shadow var(--hls-transition);
}

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

.card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.card__body {
	padding: 1.4rem 1.5rem 1.7rem;
}

.card__meta {
	margin: 0 0 .4rem;
	color: var(--hls-ink-soft);
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.card__title {
	margin: 0 0 .5rem;
	font-size: 1.18rem;
}

.card__title a {
	color: inherit;
	text-decoration: none;
}

.card__title a:hover {
	color: var(--hls-green);
}

.card__excerpt {
	color: var(--hls-ink-soft);
	font-size: .95rem;
}

/* --------------------------------------------------------------------------
   13. Pre-footer (tre trin)
   -------------------------------------------------------------------------- */

.pre-footer {
	background: var(--hls-green);
	color: var(--hls-white);
	padding-block: clamp(56px, 7vw, 96px);
}

.pre-footer__title {
	margin: 0 0 2.6rem;
	color: var(--hls-white);
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	text-align: center;
}

.pre-footer__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.2rem;
	margin: 0 0 2.8rem;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.pre-footer__step {
	position: relative;
	margin: 0;
	padding-top: 4.9rem;
	text-align: center;
}

.pre-footer__number {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--hls-sun);
	color: var(--hls-green-deep);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.pre-footer__step-title {
	margin: 0 0 .45rem;
	color: var(--hls-white);
	font-size: 1.16rem;
}

.pre-footer__text {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: .95rem;
}

.pre-footer__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .9rem;
}

.pre-footer .hls-btn--outline {
	border-color: var(--hls-white);
	color: var(--hls-white);
}

.pre-footer .hls-btn--outline:hover,
.pre-footer .hls-btn--outline:focus {
	background: var(--hls-white);
	border-color: var(--hls-white);
	color: var(--hls-green-deep);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--hls-green-deep);
	color: rgba(255, 255, 255, .78);
	padding-block: clamp(48px, 6vw, 80px) 0;
	font-size: .95rem;
}

.site-footer__inner {
	max-width: 1420px;
	margin-inline: auto;
	padding-inline: var(--hls-gutter);
}

.site-footer__top {
	display: grid;
	gap: 2.6rem;
	padding-bottom: 2.8rem;
}

.site-footer .site-brand {
	color: var(--hls-white);
}

.site-footer .site-brand__mark {
	background: rgba(255, 255, 255, .1);
	color: var(--hls-mint);
}

.site-footer__tagline {
	margin: 1rem 0 0;
	max-width: 34ch;
	color: rgba(255, 255, 255, .68);
}

.site-footer__social {
	display: flex;
	gap: .6rem;
	margin-top: 1.2rem;
}

.site-footer__social a {
	padding: .45rem .95rem;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--hls-radius);
	color: var(--hls-white);
	font-size: .85rem;
	text-decoration: none;
}

.site-footer__social a:hover {
	background: rgba(255, 255, 255, .1);
	color: var(--hls-white);
}

.site-footer__columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.site-footer__heading {
	margin: 0 0 .9rem;
	color: var(--hls-mint);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.site-footer__heading--spaced {
	margin-top: 1.8rem;
}

.site-footer__address {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	font-style: normal;
}

.site-footer__address a,
.site-footer__note a {
	color: var(--hls-white);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .35);
}

.site-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list li {
	margin: 0 0 .45rem;
}

.site-footer__list a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}

.site-footer__list a:hover {
	color: var(--hls-white);
	text-decoration: underline;
}

.site-footer__note {
	margin: 0;
	font-size: .9rem;
	line-height: 1.6;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .6rem 2rem;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .85rem;
	color: rgba(255, 255, 255, .55);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: inline-flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal a {
	color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------------------------
   15. Sidehoved for indholdssider
   -------------------------------------------------------------------------- */

.page-hero {
	padding-block: clamp(40px, 6vw, 76px) clamp(28px, 4vw, 48px);
	background: var(--hls-sand);
	border-bottom: 1px solid var(--hls-line);
}

.page-hero--compact {
	padding-block: clamp(32px, 4.5vw, 56px) clamp(24px, 3vw, 36px);
}

.page-hero__eyebrow {
	margin: 0 0 .8rem;
	color: var(--hls-green);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.page-hero__title {
	margin: 0;
	max-width: 22ch;
	font-size: clamp(1.9rem, 4.4vw, 3rem);
}

.page-hero__meta {
	margin: .8rem 0 0;
	color: var(--hls-ink-soft);
	font-size: .9rem;
}

.breadcrumbs {
	margin-bottom: 1.1rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .84rem;
	color: var(--hls-ink-soft);
}

.breadcrumbs li {
	margin: 0;
	display: flex;
	gap: .45rem;
}

.breadcrumbs li + li::before {
	content: "/";
	color: var(--hls-ink-soft);
	opacity: .55;
}

.breadcrumbs a {
	color: var(--hls-ink-soft);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--hls-green);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   16. Sidepanel (widgets på blog- og arkivsider)
   -------------------------------------------------------------------------- */

.hls-layout {
	display: grid;
	gap: 2.4rem;
}

.hls-layout--with-sidebar {
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
}

.hls-layout__main {
	min-width: 0;
}

.hls-layout__aside {
	display: grid;
	gap: 1.4rem;
}

.widget {
	padding: 1.4rem 1.5rem;
	background: var(--hls-sand);
	border: 1px solid var(--hls-line);
	border-radius: var(--hls-radius-card);
}

.widget__title {
	margin: 0 0 .7rem;
	font-size: 1rem;
	letter-spacing: .02em;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li + li {
	margin-top: .5rem;
}

.widget a {
	color: var(--hls-green-dark);
}

.widget p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   17. Plugin-styling: kalender, galleri, formularer
   -------------------------------------------------------------------------- */

/* CalPress Event Calendar */
#calp-calendar-view {
	border-radius: var(--hls-radius-card);
	overflow: hidden;
	background: var(--hls-white);
	box-shadow: var(--hls-shadow);
}

.calp-navbar {
	background: var(--hls-green) !important;
	color: var(--hls-white) !important;
}

.calp-navbar a,
.calp-navbar .calp-nav {
	color: var(--hls-white) !important;
}

.calp-daybox {
	border-color: var(--hls-line) !important;
}

.calp-day-title,
.calp-date {
	color: var(--hls-green-dark) !important;
}

/* Kalenderen må ikke sprænge vandret på små skærme. */
.calp-month-view td,
.calp-day {
	overflow: hidden;
}

.calp-month-view .calp-event-title {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	/* Plugin'en sætter farve og størrelse med !important, så det gør vi også. */
	color: var(--hls-ink) !important;
	font-size: .72rem !important;
	line-height: 1.35;
}

.calp-event {
	display: flex;
	align-items: center;
	gap: .3rem;
	margin-top: .15rem;
}

.calp-category-color {
	display: inline-flex;
	align-items: center;
}

.calp-category-color > div {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.calp-event-container {
	text-decoration: none;
}

.calp-event-container:hover .calp-event-title {
	color: var(--hls-green) !important;
	text-decoration: underline;
}

/* Farvelegenden oven på kalendersiden */
.entry__content > p:first-child {
	color: var(--hls-ink-soft);
	font-size: .9rem;
}

/* Tabeller i lejebetingelser og priser skal kunne scrolles på mobil. */
@media (max-width: 767px) {
	.hls-prose table:not(.calp-month-view) {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Månedskalenderen er for smal på mobil, så den scrolles i stedet. */
	#calp-calendar-view {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.calp-month-view {
		min-width: 620px;
	}
}

/* Good Old Gallery */
.go-gallery-container {
	margin: 0 0 2.6rem;
	border-radius: var(--hls-radius-card);
	overflow: hidden;
	background: var(--hls-sand);
	box-shadow: var(--hls-shadow);
}

.go-gallery-container .go-gallery-inner {
	overflow: hidden;
}

.go-gallery-container .slides img {
	display: block;
	width: 100%;
	height: auto;
}

.go-gallery-container .slide {
	background: var(--hls-sand);
}

.go-gallery-container .pager,
.go-gallery-container .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
	padding: .8rem;
}

.go-gallery-container .pager li,
.go-gallery-container .pagination li {
	margin: 0;
}

.go-gallery-container .pager a,
.go-gallery-container .pagination a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--hls-white);
	color: var(--hls-green-dark);
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(22, 51, 42, .12);
}

.go-gallery-container .pager a:hover,
.go-gallery-container .pagination a:hover,
.go-gallery-container .pager .active a,
.go-gallery-container .pagination .active a {
	background: var(--hls-green);
	color: var(--hls-white);
}

/* Kontaktformular (Contact Form 7) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: .75em 1em;
	border: 1px solid var(--hls-line);
	border-radius: 10px;
	background: var(--hls-white);
	color: var(--hls-ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color var(--hls-transition), box-shadow var(--hls-transition);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	border-color: var(--hls-green);
	box-shadow: 0 0 0 3px rgba(46, 92, 75, .12);
	outline: none;
}

.wpcf7 input[type="submit"] {
	padding: .78em 1.6em;
	border: 0;
	border-radius: var(--hls-radius);
	background: var(--hls-green);
	color: var(--hls-white);
	font-family: inherit;
	font-size: .95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color var(--hls-transition);
}

.wpcf7 input[type="submit"]:hover {
	background: var(--hls-green-dark);
}

.wpcf7-not-valid-tip {
	color: #b3261e;
	font-size: .85rem;
}

/* Iframes (booking, Google Kalender) */
.entry__content iframe {
	width: 100%;
	border: 0;
	border-radius: var(--hls-radius-card);
	box-shadow: var(--hls-shadow);
}

/* Søgeformular */
.hls-search {
	display: flex;
	gap: .6rem;
	max-width: 520px;
	margin-top: 1.4rem;
}

.hls-search__field {
	flex: 1 1 auto;
	padding: .72em 1em;
	border: 1px solid var(--hls-line);
	border-radius: var(--hls-radius);
	font-family: inherit;
	font-size: 1rem;
}

/* --------------------------------------------------------------------------
   18. Responsivt
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
	.hls-about {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.hls-info-card {
		position: sticky;
		top: 110px;
	}
}

/* Den lange hovedmenu kræver plads – den vises derfor fra 1200 px,
   og under sig skjules ordmærket i sidehovedet. */
@media (min-width: 1200px) {
	.site-nav__list {
		display: flex;
	}

	.site-header__cta {
		display: inline-flex;
	}

	.burger {
		display: none;
	}
}

/* Mellemstore skærme: menuen er lang, så den strammes let. */
@media (min-width: 1200px) and (max-width: 1299px) {
	.site-header__inner {
		gap: .8rem;
	}

	.site-nav__list > li > a {
		padding: .55rem .6rem;
		font-size: .86rem;
	}

	.site-brand__name {
		display: none;
	}
}

@media (min-width: 1300px) {
	.site-header__inner {
		min-height: 88px;
	}
}

@media (max-width: 899px) {
	.facts__item {
		padding: 1.3rem 0;
		border-left: 0;
		border-top: 1px solid rgba(46, 92, 75, .14);
	}

	.facts__item:first-child {
		border-top: 0;
	}

	.hero {
		min-height: min(92vh, 700px);
	}

	.hero__scroll {
		display: none;
	}
}

@media (max-width: 899px) {
	.hls-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 599px) {
	.hero__actions .hls-btn {
		width: 100%;
	}

	.hls-prose {
		max-width: none;
	}

	.hls-info-card__actions .hls-btn {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}
