/* =========================================================
   Dansk Saunaselskab, "Varme & Gran"
   ========================================================= */

:root {
	--c-sand: #F6EFE4;
	--c-birk: #FCF8F0;
	--c-bark: #3B2C1F;
	--c-bark-2: #6E5B48;
	--c-gran: #2E5741;
	--c-gran-hover: #264A37;
	--c-terracotta: #C06B4A;
	--c-terracotta-text: #A85535;
	--c-granskov: #1F2E24;
	--c-gloed: #E8A182;

	--c-line: #E4D8C6;
	--c-line-strong: #CDBFA9;
	--c-gran-tint: #E7EEE8;
	--c-terracotta-tint: #F5E3D9;
	--c-on-dark: #F3EADB;
	--c-on-dark-2: #BFC9BE;

	--f-serif: "Young Serif", Georgia, "Times New Roman", serif;
	--f-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(59, 44, 31, .05), 0 8px 24px rgba(59, 44, 31, .06);
	--shadow-lift: 0 2px 4px rgba(59, 44, 31, .06), 0 16px 36px rgba(59, 44, 31, .10);

	--gutter: 16px;
	--section: clamp(56px, 4rem + 3vw, 112px);
	--header-h: 72px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 32px;
		--header-h: 84px;
	}
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--c-sand);
	color: var(--c-bark);
	font-family: var(--f-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--f-serif);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -.005em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--c-gran);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

a:hover {
	color: var(--c-gran-hover);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--c-gran);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--c-gloed);
	color: var(--c-bark);
}

.container {
	width: 100%;
	max-width: calc(1200px + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--c-gran);
	color: var(--c-birk);
	border-radius: 8px;
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
	color: var(--c-birk);
}

.site-main:focus {
	outline: none;
}

.center {
	text-align: center;
}

.muted {
	color: var(--c-bark-2);
	font-size: .9375rem;
}

.empty {
	padding: 32px;
	border: 1px dashed var(--c-line-strong);
	border-radius: var(--radius);
	color: var(--c-bark-2);
	text-align: center;
	background: var(--c-birk);
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

/* ---------- Kicker and titles ---------- */

.kicker {
	font-family: var(--f-sans);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-terracotta-text);
	margin: 0 0 .75rem;
}

.kicker--light {
	color: var(--c-gloed);
}

.section-title {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 12px 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--f-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}

.btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn .icon {
	width: 1.1em;
	height: 1.1em;
}

.btn--primary {
	background: var(--c-gran);
	color: var(--c-birk);
}

.btn--primary:hover {
	background: var(--c-gran-hover);
	color: var(--c-birk);
}

.btn--secondary {
	background: transparent;
	border-color: var(--c-gran);
	color: var(--c-gran);
}

.btn--secondary:hover {
	background: var(--c-gran-tint);
	color: var(--c-gran-hover);
}

.btn--ghost {
	background: transparent;
	color: var(--c-gran);
}

.btn--ghost:hover {
	background: var(--c-gran-tint);
	color: var(--c-gran-hover);
}

.btn--light {
	background: var(--c-birk);
	color: var(--c-gran);
}

.btn--light:hover {
	background: var(--c-sand);
	color: var(--c-gran-hover);
}

.btn--outline-light {
	border-color: rgba(243, 234, 219, .55);
	color: var(--c-on-dark);
}

.btn--outline-light:hover {
	border-color: var(--c-on-dark);
	background: rgba(243, 234, 219, .08);
	color: var(--c-birk);
}

.btn--small {
	min-height: 42px;
	padding: 8px 18px;
	font-size: .9375rem;
}

.btn--large {
	min-height: 54px;
	padding: 14px 30px;
	font-size: 1.0625rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 1.75rem;
}

.btn-row--page {
	margin: 0 0 var(--section);
}

.btn-stack {
	display: grid;
	gap: 10px;
}

.btn-stack .btn {
	white-space: normal;
	text-align: center;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 600;
	color: var(--c-gran);
	text-decoration: none;
}

.link-arrow .icon {
	transition: transform .15s;
}

.link-arrow:hover {
	color: var(--c-gran-hover);
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.stretched::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--c-sand);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	border-bottom-color: var(--c-line);
	box-shadow: 0 6px 20px rgba(59, 44, 31, .05);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--c-bark);
	text-decoration: none;
	flex: none;
}

.brand:hover {
	color: var(--c-bark);
}

.brand__logo {
	width: auto;
	height: 52px;
	mix-blend-mode: multiply;
}

@media (min-width: 768px) {
	.brand__logo {
		height: 60px;
	}
}

.brand__name {
	font-family: var(--f-serif);
	font-size: 1.0625rem;
	line-height: 1.1;
}

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

.site-nav a {
	text-decoration: none;
}

.header-actions {
	display: none;
	gap: 6px;
	align-items: center;
	margin-left: auto;
}

.nav-toggle {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1.5px solid var(--c-line-strong);
	border-radius: 999px;
	background: var(--c-birk);
	color: var(--c-bark);
	font: 600 .9375rem var(--f-sans);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 20px;
	height: 20px;
}

.nav-toggle__open {
	display: inline-flex;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: inline-flex;
}

/* Mobile panel */
@media (max-width: 1179px) {
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		display: none;
		flex-direction: column;
		gap: 24px;
		padding: 16px var(--gutter) 40px;
		background: var(--c-sand);
		border-top: 1px solid var(--c-line);
		overflow-y: auto;
	}

	.admin-bar .site-nav {
		top: calc(var(--header-h) + 46px);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav .menu > li {
		border-bottom: 1px solid var(--c-line);
	}

	.site-nav .menu a {
		display: block;
		padding: 14px 0;
		font-family: var(--f-serif);
		font-size: 1.375rem;
		color: var(--c-bark);
	}

	.site-nav .current-menu-item > a,
	.site-nav .current-menu-ancestor > a {
		color: var(--c-terracotta-text);
	}

	.site-nav .sub-menu {
		list-style: none;
		margin: -6px 0 12px;
		padding: 0 0 0 16px;
		border-left: 2px solid var(--c-line);
	}

	.site-nav .sub-menu a {
		font-family: var(--f-sans);
		font-size: 1.0625rem;
		padding: 8px 0;
	}

	.site-nav__actions {
		display: grid;
		gap: 12px;
	}

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

/* Desktop nav */
@media (min-width: 1180px) {
	.nav-toggle,
	.site-nav__actions {
		display: none;
	}

	.header-actions {
		display: flex;
		margin-left: 0;
	}

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

	.site-nav .menu {
		display: flex;
		align-items: center;
		gap: 2px;
	}

	.site-nav .menu > li {
		position: relative;
	}

	.site-nav .menu > li > a {
		display: flex;
		align-items: center;
		gap: 4px;
		padding: 10px 12px;
		border-radius: 999px;
		color: var(--c-bark);
		font-size: .96875rem;
		font-weight: 500;
		white-space: nowrap;
	}

	.site-nav .menu > li > a:hover {
		background: rgba(59, 44, 31, .05);
		color: var(--c-bark);
	}

	.site-nav .menu > .current-menu-item > a,
	.site-nav .menu > .current-menu-ancestor > a,
	.site-nav .menu > .current_page_parent > a {
		color: var(--c-terracotta-text);
	}

	.site-nav .menu > .current-menu-item > a::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 2px;
		height: 2px;
		border-radius: 2px;
		background: var(--c-terracotta);
	}

	.site-nav .menu-item-has-children > a::after {
		content: "";
		width: 6px;
		height: 6px;
		margin-left: 4px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		list-style: none;
		margin: 0;
		padding: 8px;
		background: var(--c-birk);
		border: 1px solid var(--c-line);
		border-radius: var(--radius);
		box-shadow: var(--shadow-lift);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}

	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.site-nav .sub-menu a {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
		color: var(--c-bark);
		font-size: .9375rem;
	}

	.site-nav .sub-menu a:hover {
		background: var(--c-sand);
	}
}

@media (min-width: 1180px) and (max-width: 1379px) {
	.brand__name {
		display: none;
	}

	.site-header__inner {
		gap: 16px;
	}

	.site-nav .menu > li > a {
		padding: 10px 9px;
		font-size: .9375rem;
	}

	.header-actions .btn--ghost {
		padding: 8px 10px;
	}
}

/* ---------- Photos and placeholders ---------- */

.photo {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #E7D7C1;
	aspect-ratio: 3 / 2;
}

.photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: rgba(59, 44, 31, .55);
	background:
		radial-gradient(120% 80% at 50% 110%, rgba(192, 107, 74, .38), transparent 60%),
		radial-gradient(80% 60% at 20% 0%, rgba(252, 248, 240, .7), transparent 70%),
		linear-gradient(170deg, #EBDDC8 0%, #DCC2A3 100%);
	text-align: center;
}

.photo--placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(90deg, rgba(59, 44, 31, .045) 0 2px, transparent 2px 46px);
	pointer-events: none;
}

.photo__icon {
	width: 44px;
	height: 44px;
	opacity: .7;
}

.photo__label {
	position: relative;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1.4;
	max-width: 80%;
}

.photo__label small {
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	font-size: .8125rem;
}

.photo--arch {
	aspect-ratio: 1 / 1;
	border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}

.photo--tall {
	aspect-ratio: 4 / 5;
}

.photo--cover {
	aspect-ratio: 3 / 4;
	border-radius: 6px;
	box-shadow: var(--shadow-lift);
}

/* ---------- Hero ---------- */

.hero {
	padding: clamp(24px, 2vw + 16px, 56px) 0 clamp(40px, 2rem + 2vw, 72px);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	gap: 40px;
	align-items: center;
}

@media (min-width: 900px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
		gap: 64px;
	}
}

.hero__title {
	font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
	line-height: 1.02;
	margin-bottom: 1.5rem;
}

.hero__lead {
	font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
	color: var(--c-bark-2);
	max-width: 34em;
}

.hero__media {
	position: relative;
	max-width: 520px;
	width: 100%;
	justify-self: center;
}

.hero__media::before {
	content: "";
	position: absolute;
	inset: auto -8% -6% auto;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 161, 130, .45), transparent 65%);
	z-index: -1;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--c-line-strong);
}

.hero__facts li {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.hero__facts strong {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 1.75rem;
	color: var(--c-bark);
}

.hero__facts span {
	font-size: .875rem;
	color: var(--c-bark-2);
	max-width: 14em;
}

/* ---------- Sections ---------- */

.section {
	padding: var(--section) 0;
}

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

.section--birk {
	background: var(--c-birk);
	border-top: 1px solid var(--c-line);
}

.section--plain {
	padding: var(--section) 0 0;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 36px;
}

.section-head .section-title {
	margin: 0;
}

.section-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* ---------- Event cards (front page) ---------- */

.event-grid {
	display: grid;
	gap: 20px;
}

@media (min-width: 700px) {
	.event-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.event-card {
	position: relative;
	display: flex;
	gap: 18px;
	padding: 24px;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	transition: box-shadow .2s, transform .2s, border-color .2s;
}

@media (min-width: 700px) {
	.event-card {
		flex-direction: column;
	}
}

.event-card:hover {
	box-shadow: var(--shadow-lift);
	transform: translateY(-3px);
	border-color: var(--c-line-strong);
}

.event-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 68px;
	height: 72px;
	border-radius: 12px;
	background: var(--c-sand);
	border: 1px solid var(--c-line);
	line-height: 1;
}

.event-card__day {
	font-family: var(--f-serif);
	font-size: 1.875rem;
}

.event-card__month {
	margin-top: 4px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-terracotta-text);
}

.event-card__title {
	font-size: 1.375rem;
	margin: 10px 0 12px;
}

.event-card__title a {
	color: var(--c-bark);
	text-decoration: none;
}

.event-card:hover .event-card__title a {
	color: var(--c-gran);
}

.event-card__meta {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 4px;
	font-size: .9375rem;
	color: var(--c-bark-2);
}

.event-card__meta .icon {
	margin-top: .2em;
	color: var(--c-terracotta-text);
}

/* Tags */
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: var(--c-terracotta-tint);
	color: #8E4428;
}

.tag--event {
	background: #EFE5D3;
	color: #6B4E26;
}

.tag--rejse {
	background: #E6DCCB;
	color: var(--c-bark);
}

.tag--region {
	background: transparent;
	border: 1px solid var(--c-line-strong);
	color: var(--c-bark-2);
}

/* ---------- Feature blocks ---------- */

.feature {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 860px) {
	.feature {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 72px;
	}

	.feature--benefits {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

.feature--post {
	padding: clamp(28px, 4vw, 56px);
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
}

.feature--post .feature__media {
	display: flex;
	justify-content: center;
}

.feature--card {
	margin-bottom: 40px;
}

.feature__text > :last-child {
	margin-bottom: 0;
}

/* Generated Saunaposten cover when no cover image exists */
.post-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(100%, 280px);
	aspect-ratio: 3 / 4;
	padding: 24px 22px;
	border-radius: 6px;
	background:
		radial-gradient(100% 60% at 50% 110%, rgba(232, 161, 130, .55), transparent 60%),
		var(--c-granskov);
	color: var(--c-on-dark);
	box-shadow: var(--shadow-lift);
	transform: rotate(-2deg);
}

.post-cover::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(243, 234, 219, .2);
	border-radius: 3px;
	pointer-events: none;
}

.post-cover__brand {
	font-family: var(--f-serif);
	font-size: 2rem;
	line-height: 1;
}

.post-cover__issue {
	margin-top: 10px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-gloed);
}

.post-cover__steam {
	width: 96px;
	height: 96px;
	margin: auto;
	color: var(--c-gloed);
	opacity: .85;
}

.post-cover__by {
	font-size: .8125rem;
	color: var(--c-on-dark-2);
}

/* ---------- DM section ---------- */

.dm {
	background: var(--c-granskov);
	color: var(--c-on-dark);
	position: relative;
	overflow: hidden;
}

.dm::before {
	content: "";
	position: absolute;
	right: -10%;
	bottom: -40%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 161, 130, .22), transparent 65%);
	pointer-events: none;
}

.dm a:not(.btn) {
	color: var(--c-gloed);
}

.dm-card {
	position: relative;
	display: grid;
	gap: 28px;
	border: 1px solid rgba(243, 234, 219, .14);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .02);
	overflow: hidden;
}

@media (min-width: 800px) {
	.dm-card {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 0;
	}
}

.dm-card__year {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 32px;
	background:
		radial-gradient(120% 90% at 50% 120%, rgba(232, 161, 130, .35), transparent 65%),
		rgba(255, 255, 255, .03);
	border-bottom: 1px solid rgba(243, 234, 219, .14);
}

@media (min-width: 800px) {
	.dm-card__year {
		border-bottom: 0;
		border-right: 1px solid rgba(243, 234, 219, .14);
		padding: 48px 40px;
	}
}

.dm-card__label,
.dm-card__state {
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-on-dark-2);
}

.dm-card__num {
	font-family: var(--f-serif);
	font-size: clamp(4rem, 3rem + 4vw, 6rem);
	line-height: 1;
	color: var(--c-gloed);
}

.dm-card__body {
	padding: 0 28px 32px;
}

@media (min-width: 800px) {
	.dm-card__body {
		padding: 48px 56px;
	}
}

.dm-card__body .section-title {
	color: var(--c-on-dark);
}

.dm-card__text {
	color: var(--c-on-dark-2);
	max-width: 40em;
}

.dm-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	font-weight: 600;
}

.dm-card__facts li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dm-card__facts .icon {
	color: var(--c-gloed);
}

.dm-results {
	display: grid;
	gap: 0;
	margin: 1.5rem 0 0;
	border-top: 1px solid rgba(243, 234, 219, .14);
}

.dm-results__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 24px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(243, 234, 219, .14);
}

.dm-results dt {
	color: var(--c-on-dark-2);
}

.dm-results dd {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 600;
}

.dm-results .icon {
	color: var(--c-gloed);
}

/* ---------- Benefits ---------- */

.benefits {
	display: grid;
	gap: 16px;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.benefits li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.benefits strong {
	display: block;
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 1.1875rem;
}

.benefits li > span:last-child {
	color: var(--c-bark-2);
}

.benefits__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c-terracotta-tint);
	color: var(--c-terracotta-text);
}

.benefits__icon .icon {
	width: 24px;
	height: 24px;
}

.price-note {
	font-size: .9375rem;
	color: var(--c-bark-2);
}

/* ---------- Logo wall ---------- */

.logo-wall {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

@media (min-width: 600px) {
	.logo-wall {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.logo-wall {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.logo-wall__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	padding: 16px;
	background: var(--c-sand);
	border: 1px solid var(--c-line);
	border-radius: 12px;
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}

.logo-wall__item img {
	max-height: 60px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: grayscale(1);
	opacity: .8;
	transition: filter .2s, opacity .2s;
}

a.logo-wall__item:hover {
	border-color: var(--c-line-strong);
	box-shadow: var(--shadow);
}

a.logo-wall__item:hover img {
	filter: none;
	opacity: 1;
}

.logo-wall__item--text span {
	font-family: var(--f-serif);
	font-size: 1rem;
	line-height: 1.2;
	color: var(--c-bark);
	text-align: center;
}

/* ---------- Page header ---------- */

.page-header {
	padding: clamp(32px, 3vw + 16px, 72px) 0 clamp(32px, 3vw + 12px, 56px);
}

.page-header__title {
	font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	margin-bottom: 1rem;
	max-width: 18em;
}

.page-header__intro {
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
	color: var(--c-bark-2);
	max-width: 42em;
}

.page-header__intro > :last-child {
	margin-bottom: 0;
}

.page-header .tags {
	margin-bottom: 14px;
}

.back {
	margin-bottom: 20px;
	font-size: .9375rem;
}

.back a {
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Prose (block content) ---------- */

.entry {
	padding-bottom: var(--section);
}

.entry__image {
	margin-bottom: 40px;
	aspect-ratio: 21 / 9;
}

.prose {
	max-width: 720px;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose p,
.prose ul,
.prose ol {
	margin-bottom: 0;
}

.prose h2 {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	margin: 2em 0 .5em;
}

.prose h3 {
	font-size: 1.375rem;
	margin: 1.75em 0 .4em;
}

.prose > h2:first-child,
.prose > h3:first-child {
	margin-top: 0;
}

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

.prose li + li {
	margin-top: .35em;
}

.prose ul li::marker {
	color: var(--c-terracotta);
}

.prose .lead {
	font-size: 1.25rem;
	color: var(--c-bark);
}

.prose .is-style-columns {
	columns: 2 240px;
	column-gap: 32px;
}

.prose .is-style-columns li {
	break-inside: avoid;
}

.prose blockquote {
	margin-left: 0;
	padding-left: 20px;
	border-left: 3px solid var(--c-terracotta);
	font-family: var(--f-serif);
	font-size: 1.25rem;
}

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

.prose .wp-block-button__link {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	padding: 12px 24px;
	background: var(--c-gran);
	color: var(--c-birk);
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9375rem;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
}

/* ---------- Calendar ---------- */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 40px;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 18px;
	border: 1.5px solid var(--c-line-strong);
	border-radius: 999px;
	background: var(--c-birk);
	color: var(--c-bark);
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
}

.chip:hover {
	border-color: var(--c-gran);
	color: var(--c-gran);
}

.chip.is-active {
	background: var(--c-gran);
	border-color: var(--c-gran);
	color: var(--c-birk);
}

.month {
	margin-bottom: 48px;
}

.month__title {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 1.625rem;
	margin-bottom: 16px;
}

.month__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--c-line-strong);
}

.event-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.event-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px 20px;
	padding: 20px;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}

@media (min-width: 768px) {
	.event-row {
		grid-template-columns: 72px minmax(0, 1fr) auto;
		align-items: center;
		padding: 22px 28px;
	}
}

.event-row__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 72px;
	border-radius: 12px;
	background: var(--c-sand);
	border: 1px solid var(--c-line);
	line-height: 1;
}

.event-row__wd {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-terracotta-text);
}

.event-row__day {
	font-family: var(--f-serif);
	font-size: 1.875rem;
	margin-top: 4px;
}

.event-row__title {
	font-size: 1.3125rem;
	margin: 8px 0 6px;
}

.event-row__title a {
	color: var(--c-bark);
	text-decoration: none;
}

.event-row__title a:hover {
	color: var(--c-gran);
	text-decoration: underline;
}

.event-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0;
	font-size: .9375rem;
	color: var(--c-bark-2);
}

.event-row__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.event-row__meta .icon {
	color: var(--c-terracotta-text);
}

.event-row__actions {
	grid-column: 2;
}

@media (min-width: 768px) {
	.event-row__actions {
		grid-column: auto;
	}
}

.callout {
	margin: 24px 0 var(--section);
	padding: 24px 28px;
	border-radius: var(--radius);
	background: var(--c-birk);
	border: 1px solid var(--c-line);
}

.callout p:last-child {
	margin: 0;
}

.callout--split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
	padding: 32px;
	margin-top: 48px;
}

.callout--split .btn-row {
	margin: 0;
}

.callout__title {
	font-size: 1.625rem;
}

/* ---------- Detail pages ---------- */

.detail {
	display: grid;
	gap: 40px;
	padding-bottom: var(--section);
}

@media (min-width: 960px) {
	.detail {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 64px;
		align-items: start;
	}

	.detail__aside {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.detail .entry__image {
	aspect-ratio: 3 / 2;
}

.detail__aside {
	display: grid;
	gap: 20px;
}

.facts {
	margin: 0;
	padding: 8px 24px;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}

.facts > div {
	padding: 14px 0;
	border-bottom: 1px solid var(--c-line);
}

.facts > div:last-child {
	border-bottom: 0;
}

.facts dt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-terracotta-text);
}

.facts dd {
	margin: 4px 0 0;
	font-weight: 600;
}

.docs {
	padding: 20px 24px;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}

.docs__title {
	font-family: var(--f-sans);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-bark-2);
	margin-bottom: 8px;
}

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

.docs a {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
}

.docs a:hover span {
	text-decoration: underline;
}

.docs .icon {
	width: 24px;
	height: 24px;
	color: var(--c-terracotta-text);
}

.docs small {
	display: block;
	font-weight: 400;
	color: var(--c-bark-2);
}

/* ---------- Competitions ---------- */

.comp-grid {
	display: grid;
	gap: 24px;
}

@media (min-width: 700px) {
	.comp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1040px) {
	.comp-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.comp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}

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

.comp-card__media {
	border-radius: 0;
}

.comp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px 26px 28px;
}

.comp-card__body .kicker {
	margin-bottom: .5rem;
}

.comp-card__title {
	font-size: 1.5rem;
}

.comp-card__title a {
	color: var(--c-bark);
	text-decoration: none;
}

.comp-card:hover .comp-card__title a {
	color: var(--c-gran);
}

.comp-card__body p {
	color: var(--c-bark-2);
}

.comp-card__date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.comp-card .link-arrow {
	margin-top: auto;
}

/* ---------- Tracks (membership, sponsor) ---------- */

.tracks {
	display: grid;
	gap: 24px;
	margin-bottom: 24px;
}

@media (min-width: 820px) {
	.tracks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tracks--members {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}
}

.track {
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3vw, 44px);
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
}

.track--sponsor {
	border-color: var(--c-line-strong);
}

.track--muted {
	background: transparent;
	border-style: dashed;
}

.track > .btn,
.track > .link-arrow {
	margin-top: auto;
	align-self: flex-start;
}

.track__title {
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	margin-bottom: .25rem;
}

.track__price {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--c-terracotta-text);
}

.checklist {
	list-style: none;
	margin: 8px 0 28px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.checklist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.checklist .icon {
	margin-top: .2em;
	padding: 3px;
	width: 1.35em;
	height: 1.35em;
	border-radius: 50%;
	background: var(--c-terracotta-tint);
	color: var(--c-terracotta-text);
}

/* ---------- Contact form ---------- */

.contact {
	display: grid;
	gap: 32px;
	margin: var(--section) 0;
	padding: clamp(28px, 4vw, 56px);
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
}

@media (min-width: 900px) {
	.contact {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 64px;
	}
}

.contact-form label,
.contact-form legend {
	display: block;
	font-weight: 600;
	font-size: .9375rem;
	margin-bottom: 6px;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid var(--c-bark-2);
	border-radius: 10px;
	background: var(--c-sand);
	color: var(--c-bark);
	font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--c-gran);
	outline: 3px solid rgba(46, 87, 65, .2);
	outline-offset: 0;
}

.contact-form__grid {
	display: grid;
	gap: 0 16px;
}

@media (min-width: 560px) {
	.contact-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.contact-form__choice {
	border: 0;
	margin: 0 0 1em;
	padding: 0;
}

.contact-form__choice label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 20px 6px 0;
	font-weight: 400;
}

.contact-form__choice input {
	accent-color: var(--c-gran);
	width: 18px;
	height: 18px;
}

.contact-form__hp {
	position: absolute;
	left: -9999px;
}

.ss-form-msg {
	padding: 16px 20px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.ss-form-msg p {
	margin: 0;
}

.ss-form-msg--ok {
	background: var(--c-sand);
	border: 1px solid var(--c-line-strong);
}

.ss-form-msg--error {
	background: var(--c-terracotta-tint);
	border: 1px solid #DDA391;
}

/* ---------- Bliv medlem ---------- */

.signup {
	margin: 40px 0 var(--section);
	padding: clamp(24px, 4vw, 48px);
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
}

.signup__frame {
	margin: 24px 0 12px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--c-birk);
}

.signup__frame iframe {
	display: block;
	width: 100%;
	height: 1150px;
	border: 0;
}

/* ---------- Saunaposten ---------- */

.notice-box {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 22px;
	margin-bottom: 32px;
	border-radius: var(--radius);
	background: var(--c-terracotta-tint);
	border: 1px solid #E5BFAE;
}

.notice-box p {
	margin: 0;
}

.notice-box .icon {
	width: 24px;
	height: 24px;
	color: var(--c-terracotta-text);
}

.members-only {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
	margin-bottom: var(--section);
	padding: clamp(28px, 4vw, 48px);
	border: 1.5px dashed var(--c-line-strong);
	border-radius: var(--radius-lg);
}

.members-only > div {
	flex: 1 1 320px;
}

.members-only__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--c-terracotta-tint);
	color: var(--c-terracotta-text);
}

.members-only__icon .icon {
	width: 30px;
	height: 30px;
}

.archive {
	margin-bottom: var(--section);
}

.archive__year {
	font-size: 1.375rem;
	margin: 32px 0 12px;
}

.issue-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.issue {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: 12px;
	text-decoration: none;
}

.issue:hover {
	border-color: var(--c-gran);
}

.issue__month {
	font-family: var(--f-serif);
	font-size: 1.125rem;
	color: var(--c-bark);
}

.issue__meta {
	font-size: .8125rem;
	color: var(--c-bark-2);
}

/* ---------- Post list (fallback) ---------- */

.post-list {
	display: grid;
	gap: 16px;
	margin-bottom: var(--section);
}

.post-row {
	padding: 24px;
	background: var(--c-birk);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}

.post-row__date {
	font-size: .875rem;
	color: var(--c-bark-2);
	margin: 0;
}

.post-row__title {
	font-size: 1.5rem;
	margin: 4px 0 8px;
}

.post-row__title a {
	color: var(--c-bark);
	text-decoration: none;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--c-granskov);
	color: var(--c-on-dark-2);
	padding: 72px 0 28px;
	font-size: .9375rem;
}

.site-footer a {
	color: var(--c-on-dark);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--c-gloed);
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 700px) {
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1040px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
		gap: 56px;
	}

	.site-footer__about {
		grid-column: auto;
	}
}

.site-footer__name {
	font-family: var(--f-serif);
	font-size: 1.625rem;
	color: var(--c-on-dark);
	margin-bottom: 12px;
}

.site-footer__about p {
	max-width: 30em;
}

.site-footer__isa {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--c-on-dark);
}

.site-footer__isa .icon {
	color: var(--c-gloed);
}

.site-footer__heading {
	font-family: var(--f-sans);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-gloed);
	margin-bottom: 16px;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.site-footer__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(243, 234, 219, .25);
}

.social a:hover {
	border-color: var(--c-gloed);
	color: var(--c-gloed);
}

.social .icon {
	width: 20px;
	height: 20px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid rgba(243, 234, 219, .14);
	font-size: .875rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__legal a {
	text-decoration: underline;
	text-decoration-color: rgba(243, 234, 219, .35);
}

@media (min-width: 900px) {
	.photo--arch {
		aspect-ratio: 4 / 5;
	}
}
