/* =========================================================================
   Gethsemane Foundation
   Quiet editorial layout: generous whitespace, hairline rules, few boxes.
   ========================================================================= */

:root {
	--forest: #1e3d2a;
	--forest-deep: #12271b;
	--green: #2e5c3a;
	--sage: #e7ede4;
	--gold: #a8823f;
	--cream: #f6f3ed;
	--paper: #fdfcfa;
	--ink: #1a211c;
	--muted: #5f6a62;
	--line: rgba(30, 61, 42, 0.13);
	--line-strong: rgba(30, 61, 42, 0.24);

	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

	--wrap: 1140px;
	--gutter: clamp(20px, 5vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--radius: 6px;
	--radius-lg: 14px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

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

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

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

figure {
	margin: 0;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 600;
	color: var(--forest-deep);
	letter-spacing: -0.015em;
	line-height: 1.08;
	text-wrap: balance;
}

h1 {
	font-size: clamp(38px, 5.6vw, 66px);
}

h2 {
	font-size: clamp(30px, 3.8vw, 46px);
}

h3 {
	font-size: clamp(21px, 2vw, 26px);
	line-height: 1.2;
}

h4 {
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: -0.005em;
}

p {
	margin: 0 0 1.1em;
	max-width: 68ch;
}

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

.lead {
	font-size: clamp(18px, 1.6vw, 20px);
	color: var(--muted);
	max-width: 60ch;
}

.eyebrow {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
}

.eyebrow--light {
	color: #d9bd82;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	left: 16px;
	top: -80px;
	z-index: 9999;
	padding: 10px 16px;
	background: var(--forest);
	color: #fff;
	border-radius: var(--radius);
	transition: top 0.2s var(--ease);
}

.skip-link:focus {
	top: 16px;
}

/* ---------- Layout ---------- */

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

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

.section--tint {
	background: var(--cream);
}

.section--dark {
	background: var(--forest);
	color: #eef2ec;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
	color: #fff;
}

.section--dark p {
	color: #cfdac9;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease),
		border-color 0.2s var(--ease), transform 0.12s var(--ease);
}

.btn--sm {
	min-height: 42px;
	padding: 0 18px;
	font-size: 13px;
}

.btn--solid {
	background: var(--forest);
	color: #fff;
}

.btn--solid:hover {
	background: var(--forest-deep);
}

.btn--line {
	border-color: var(--line-strong);
	color: var(--forest);
	background: transparent;
}

.btn--line:hover {
	background: var(--forest);
	border-color: var(--forest);
	color: #fff;
}

.section--dark .btn--line {
	border-color: rgba(255, 255, 255, 0.32);
	color: #fff;
}

.section--dark .btn--line:hover {
	background: #fff;
	border-color: #fff;
	color: var(--forest);
}

.btn--cream {
	background: var(--cream);
	color: var(--forest-deep);
}

.btn--cream:hover {
	background: #fff;
}

.btn:active {
	transform: translateY(1px);
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--forest);
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 2px;
	transition: border-color 0.2s var(--ease);
}

.link:hover {
	border-color: var(--forest);
}

.link span {
	transition: transform 0.2s var(--ease);
}

.link:hover span {
	transform: translateX(3px);
}

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

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(253, 252, 250, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header.is-stuck {
	border-bottom-color: var(--line);
	box-shadow: 0 1px 24px rgba(23, 32, 25, 0.05);
}

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

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.brand,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.brand img,
.custom-logo-link img {
	width: auto;
	height: 46px;
	max-width: 230px;
	object-fit: contain;
	object-position: left center;
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-inline-start: auto;
}

.nav > a {
	position: relative;
	font-size: 14px;
	font-weight: 600;
	color: #384a3c;
	padding-block: 6px;
	transition: color 0.2s var(--ease);
}

.nav > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1.5px;
	background: var(--gold);
	transition: width 0.25s var(--ease);
}

.nav > a:hover {
	color: var(--forest-deep);
}

.nav > a:hover::after {
	width: 100%;
}

.nav__lang {
	display: none;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
}

.lang-switch__item {
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--muted);
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch__item:hover {
	color: var(--forest-deep);
}

.lang-switch__item.is-active {
	background: var(--forest);
	color: #fff;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 12px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.burger span[aria-hidden] {
	display: block;
	height: 1.5px;
	background: var(--forest);
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.burger span[aria-hidden] + span[aria-hidden] {
	margin-top: 6px;
}

.burger[aria-expanded="true"] span[aria-hidden]:first-child {
	transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span[aria-hidden]:nth-child(2) {
	transform: translateY(-4px) rotate(-45deg);
}

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

.hero {
	padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 112px);
	background: linear-gradient(170deg, var(--paper) 0%, var(--cream) 68%, var(--sage) 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.hero__lead {
	margin-top: 24px;
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--muted);
	max-width: 48ch;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero__micro {
	margin-top: 18px;
	font-size: 13px;
	color: #7c857e;
}

.hero__note {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--muted);
	max-width: 46ch;
}

.hero__media {
	position: relative;
}

.hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.hero__badge {
	position: absolute;
	left: -14px;
	bottom: 28px;
	display: grid;
	gap: 1px;
	padding: 14px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 12px 32px rgba(23, 32, 25, 0.08);
}

.hero__badge strong {
	font-size: 14px;
	color: var(--forest-deep);
}

.hero__badge span {
	font-size: 13px;
	color: var(--muted);
}

/* ---------- Trust strip ---------- */

.trust {
	border-block: 1px solid var(--line);
	background: var(--paper);
}

.trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.trust__item {
	display: grid;
	gap: 4px;
	padding: 30px 28px 30px 0;
	border-inline-end: 1px solid var(--line);
}

.trust__item:last-child {
	border-inline-end: 0;
}

.trust__item:not(:first-child) {
	padding-inline-start: 28px;
}

.trust__item strong {
	font-size: 15px;
	color: var(--forest-deep);
}

.trust__item span {
	font-size: 13.5px;
	color: var(--muted);
}

/* ---------- Split sections ---------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.split--narrow {
	grid-template-columns: 1.05fr 0.95fr;
	align-items: start;
}

.split__copy p {
	margin-top: 20px;
	color: var(--muted);
}

.split__copy .btn {
	margin-top: 30px;
}

.split__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.split--reverse .split__media {
	order: -1;
}

.church {
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 10px;
	justify-items: start;
}

.church strong {
	font-size: 15px;
	color: var(--forest-deep);
}

/* ---------- Values ---------- */

.values {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: clamp(48px, 6vw, 84px);
	border-top: 1px solid var(--line);
}

.values__item {
	padding: 34px 28px 0 0;
	border-inline-end: 1px solid var(--line);
}

.values__item:last-child {
	border-inline-end: 0;
}

.values__item:not(:first-child) {
	padding-inline-start: 28px;
}

.values__num {
	display: block;
	margin-bottom: 12px;
	font-family: var(--serif);
	font-size: 15px;
	color: var(--gold);
}

.values__item p {
	margin-top: 10px;
	font-size: 15.5px;
	color: var(--muted);
}

/* ---------- Tick list ---------- */

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

.ticks li {
	position: relative;
	padding-inline-start: 26px;
	font-size: 15.5px;
	color: var(--muted);
}

.ticks li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold);
}

/* ---------- Information sessions ---------- */

.sessions__intro {
	max-width: 720px;
}

.sessions__intro p {
	margin-top: 20px;
}

.sessions__sub {
	margin-top: clamp(44px, 5vw, 72px);
	margin-bottom: 22px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.topics {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	grid-template-rows: repeat(4, minmax(160px, auto));
	gap: 12px;
}

.topics__item {
	position: relative;
	min-height: 235px;
	overflow: hidden;
	border-radius: 4px;
	background: #243329;
	isolation: isolate;
}

.topics__item:nth-child(1) {
	grid-row: span 2;
	min-height: 482px;
}

.topics__item:nth-child(2),
.topics__item:nth-child(3) {
	min-height: 235px;
}

.topics__item:nth-child(4),
.topics__item:nth-child(5) {
	grid-column: span 1;
	min-height: 270px;
}

.topics__item:nth-child(6) {
	grid-column: 1 / -1;
	min-height: 112px;
	background: #f7f4ee;
	border: 1px solid var(--line);
}

.topics__media,
.topics__shade {
	position: absolute;
	inset: 0;
}

.topics__media {
	z-index: -3;
	background:
		radial-gradient(circle at 82% 18%, rgba(255,255,255,.13), transparent 28%),
		linear-gradient(135deg, #6d5137, #25372d 70%);
	transition: transform .55s var(--ease);
}

.topics__item:hover .topics__media {
	transform: scale(1.025);
}

.topics__item--mitid .topics__media { background: linear-gradient(135deg, #5f4938, #1b2c24 72%); }
.topics__item--sundhedskort .topics__media { background: linear-gradient(135deg, #9a7542, #493727); }
.topics__item--feriepenge .topics__media { background: linear-gradient(135deg, #72845c, #263b2d); }
.topics__item--eboks .topics__media { background: linear-gradient(135deg, #6a403e, #211d1c); }
.topics__item--nemkonto-skat .topics__media { background: linear-gradient(135deg, #284650, #162225); }
.topics__item--cpr .topics__media { background: #f7f4ee; }

.topics__shade {
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(8,12,9,.04), rgba(8,12,9,.18) 46%, rgba(8,12,9,.72)),
		linear-gradient(90deg, rgba(8,12,9,.32), transparent 72%);
}

.topics__item:nth-child(2) .topics__shade,
.topics__item:nth-child(3) .topics__shade {
	background: linear-gradient(180deg, rgba(8,12,9,.03), rgba(8,12,9,.7));
}

.topics__num {
	position: absolute;
	top: 22px;
	right: 24px;
	z-index: 2;
	font-family: var(--serif);
	font-size: clamp(36px, 5vw, 76px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.05em;
	color: rgba(255,255,255,.32);
}

.topics__item:nth-child(6) .topics__num {
	top: 50%;
	right: 28px;
	transform: translateY(-50%);
	font-size: 46px;
	color: rgba(34,61,47,.18);
}

.topics__content {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 26px;
	z-index: 2;
	max-width: 54%;
}

.topics__item:nth-child(1) .topics__content {
	left: 32px;
	bottom: 32px;
	max-width: 48%;
}

.topics__tag {
	display: inline-flex;
	margin-bottom: 13px;
	padding: 6px 10px 5px;
	border-radius: 2px;
	background: #fff3d9;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #8b4c1c;
}

.topics__item h4 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(25px, 2.2vw, 38px);
	font-weight: 400;
	line-height: 1.06;
	color: #fff;
}

.topics__item:nth-child(2) h4,
.topics__item:nth-child(3) h4 {
	font-size: clamp(23px, 1.8vw, 31px);
}

.topics__item p {
	margin: 10px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: rgba(255,255,255,.82);
}

.topics__arrow {
	position: absolute;
	right: 22px;
	bottom: 22px;
	z-index: 2;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.62);
	border-radius: 50%;
	font-size: 19px;
	color: #fff;
	transition: transform .25s var(--ease), background-color .25s var(--ease);
}

.topics__item:hover .topics__arrow {
	transform: translateX(3px);
	background: rgba(255,255,255,.12);
}

.topics__item:nth-child(6) .topics__content {
	position: static;
	display: grid;
	grid-template-columns: auto minmax(160px, .6fr) 1fr;
	align-items: center;
	max-width: none;
	height: 100%;
	padding: 27px 90px 27px 30px;
}

.topics__item:nth-child(6) .topics__tag {
	margin: 0 26px 0 0;
}

.topics__item:nth-child(6) h4 {
	padding-right: 28px;
	font-size: 25px;
	color: var(--forest-deep);
}

.topics__item:nth-child(6) p {
	margin: 0;
	padding-left: 28px;
	border-left: 1px solid var(--line);
	color: var(--muted);
}

.topics__item:nth-child(6) .topics__arrow {
	color: var(--forest-deep);
	border-color: var(--line);
}

.upcoming__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.upcoming__item {
	display: grid;
	grid-template-columns: 180px 1fr auto;
	gap: 28px;
	align-items: center;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}

.upcoming__when {
	display: grid;
	gap: 2px;
}

.upcoming__when time {
	font-family: var(--serif);
	font-size: 20px;
	color: var(--forest-deep);
}

.upcoming__when span {
	font-size: 13.5px;
	color: var(--muted);
}

.upcoming__body p {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--muted);
}

.upcoming__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px !important;
	font-size: 12.5px;
}

.upcoming__meta span {
	padding: 3px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
}

.upcoming__free {
	border-color: rgba(168, 130, 63, 0.4) !important;
	color: var(--gold) !important;
}

.upcoming__empty {
	padding: 26px 0;
	border-block: 1px solid var(--line);
	color: var(--muted);
}

.upcoming .btn {
	margin-top: 30px;
}

/* ---------- Guidance ---------- */

.support {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
	border-top: 1px solid var(--line);
}

.support li {
	display: flex;
	gap: 16px;
	align-items: baseline;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15.5px;
	color: var(--ink);
}

.support li span {
	flex-shrink: 0;
	font-family: var(--serif);
	font-size: 14px;
	color: var(--gold);
}

/* ---------- Stories ---------- */

.stories__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.stories__nav {
	display: flex;
	gap: 8px;
}

.stories__nav button {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.stories__nav button:hover {
	background: #fff;
	color: var(--forest);
}

.stories__stage {
	margin-top: 40px;
}

.story {
	max-width: 850px;
}

.story__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.story__num {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	font-family: var(--serif);
	font-size: 14px;
	color: #d9bd82;
}

.story__meta strong {
	display: block;
	font-size: 14px;
	color: #fff;
}

.story__stars {
	font-size: 12px;
	letter-spacing: 0.16em;
	color: #d9bd82;
}

.story blockquote {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(20px, 2.2vw, 27px);
	line-height: 1.42;
	color: #f1f5ef;
	letter-spacing: -0.005em;
}

.stories__note {
	margin-top: 34px;
	font-size: 13px;
	color: #9fb09a !important;
}

/* ---------- Partners panel ---------- */

.panel {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	padding: clamp(32px, 4vw, 52px);
	background: var(--sage);
	border-radius: var(--radius-lg);
}

.panel > div {
	max-width: 620px;
}

.panel p {
	margin-top: 16px;
	color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.faq__list {
	border-top: 1px solid var(--line);
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-size: 16.5px;
	font-weight: 600;
	color: var(--forest-deep);
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 400;
	color: var(--gold);
	transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
	transform: rotate(45deg);
}

.faq__answer {
	padding-bottom: 22px;
}

.faq__answer p {
	margin: 0;
	font-size: 15.5px;
	color: var(--muted);
}

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

.contact {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
}

.contact__copy {
	padding-top: clamp(8px, 2vw, 24px);
}

.contact__copy p {
	margin-top: 18px;
}

.contact__details {
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 14px;
	font-size: 15px;
	color: #cfdac9;
}

.contact__details a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	padding-bottom: 2px;
	transition: border-color 0.2s var(--ease);
}

.contact__details a:hover {
	border-color: #fff;
}

.contact__form {
	position: relative;
	padding: clamp(28px, 4vw, 46px);
	background: var(--cream);
	border: 1px solid rgba(255, 255, 255, 0.52);
	border-radius: 24px;
	box-shadow: 0 28px 80px rgba(5, 20, 12, 0.24);
	overflow: hidden;
}

.contact__form::before {
	content: "";
	position: absolute;
	top: 0;
	left: clamp(28px, 4vw, 46px);
	width: 54px;
	height: 3px;
	background: var(--gold);
	border-radius: 0 0 999px 999px;
}

.contact__form-intro {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(30, 61, 42, 0.12);
}

.contact__form-intro h3 {
	font-size: clamp(27px, 2.7vw, 34px);
	color: var(--forest-deep);
}

.contact__form-kicker {
	margin: 0 0 8px !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold) !important;
}

.contact__form form {
	width: 100%;
}

.field {
	display: grid;
	gap: 9px;
	margin: 0 0 20px;
	min-width: 0;
	max-width: none;
}

.field-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}

.field label {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--forest-deep);
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 17px;
	background: #fff;
	border: 1px solid rgba(30, 61, 42, 0.18);
	border-radius: 12px;
	color: var(--ink);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 1px 0 rgba(18, 39, 27, 0.03);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.field input,
.field select {
	height: 56px;
	min-height: 56px;
}

.field select {
	padding-right: 46px;
	cursor: pointer;
}

.field textarea {
	min-height: 164px;
	padding-top: 16px;
	padding-bottom: 16px;
	resize: vertical;
}

.field select option {
	background: #fff;
	color: var(--ink);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
	border-color: rgba(30, 61, 42, 0.34);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--gold);
	box-shadow: 0 0 0 4px rgba(168, 130, 63, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
	color: #8a938c;
	opacity: 1;
}

.contact__form .btn {
	width: 100%;
	min-height: 56px;
	padding-inline: 24px;
	border-radius: 12px;
	background: var(--forest);
	color: #fff;
	font-size: 14px;
	box-shadow: 0 10px 24px rgba(18, 39, 27, 0.16);
}

.contact__form .btn::after {
	content: "→";
	font-size: 18px;
	line-height: 1;
	transition: transform 0.2s var(--ease);
}

.contact__form .btn:hover {
	background: var(--forest-deep);
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(18, 39, 27, 0.22);
}

.contact__form .btn:hover::after {
	transform: translateX(3px);
}

.contact__form .btn:active {
	transform: translateY(0);
}

.hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	margin: 16px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.contact__form button:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.notice--ok {
	background: #e3eee0;
	border: 1px solid rgba(46, 92, 58, 0.24);
	color: #23472d;
}

.notice--bad {
	background: #f7e9e3;
	border: 1px solid rgba(145, 73, 44, 0.22);
	color: #7a3e28;
}

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

.footer {
	padding-block: clamp(56px, 6vw, 80px) 32px;
	background: var(--forest-deep);
	color: #cfdac9;
}

.footer a {
	transition: color 0.2s var(--ease);
}

.footer a:hover {
	color: #fff;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer__brand img {
	height: 44px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.92;
}

.footer__brand p {
	margin-top: 18px;
	font-size: 14.5px;
	max-width: 34ch;
}

.footer__social {
	display: flex;
	gap: 16px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
}

.footer__heading {
	margin: 0 0 14px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8fa389;
}

.footer address,
.footer__grid p {
	font-size: 14.5px;
	line-height: 1.7;
}

.footer__base {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: clamp(44px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.11);
	font-size: 13px;
	color: #8fa389;
}

.footer__base p {
	margin: 0;
}

/* ---------- Articles & archives ---------- */

.article__shell {
	max-width: 760px;
}

.article__shell h1 {
	margin-bottom: 24px;
}

.article__hero {
	margin: 32px 0;
}

.article__hero img {
	width: 100%;
	border-radius: var(--radius-lg);
}

.article__body {
	font-size: 17px;
	color: #2c352e;
}

.article__body h2,
.article__body h3 {
	margin: 1.6em 0 0.5em;
}

.article__body ul,
.article__body ol {
	padding-inline-start: 22px;
	color: var(--muted);
}

.article__body li {
	margin-bottom: 8px;
}

.article__body a {
	border-bottom: 1px solid var(--line-strong);
}

.article__body blockquote {
	margin: 28px 0;
	padding-inline-start: 22px;
	border-inline-start: 2px solid var(--gold);
	font-family: var(--serif);
	font-size: 21px;
	color: var(--forest-deep);
}

.session-facts {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.session-facts li {
	display: flex;
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}

.session-facts strong {
	min-width: 110px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	padding-top: 2px;
}

.archive-list {
	margin-top: 40px;
	border-top: 1px solid var(--line);
}

.archive-card {
	padding: 30px 0;
	border-bottom: 1px solid var(--line);
}

.archive-card h2 {
	font-size: clamp(23px, 2.4vw, 30px);
	margin-bottom: 10px;
}

.archive-card__date {
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--gold);
}

.archive-card p {
	color: var(--muted);
	font-size: 15.5px;
}

.archive-card .link {
	margin-top: 14px;
}

.pagination {
	margin-top: 36px;
	display: flex;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}

.pagination .current {
	background: var(--forest);
	border-color: var(--forest);
	color: #fff;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.topics {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}
}

@media (max-width: 900px) {
	html {
		scroll-padding-top: 84px;
	}

	/* The WordPress admin-bar class can remain on mobile even when the
	 * toolbar is hidden. Do not let its desktop offset create a gap above
	 * the sticky site header. */
	.header,
	.admin-bar .header {
		top: 0;
	}

	.nav {
		position: absolute;
		inset: 100% 0 auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px var(--gutter) 24px;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 40px rgba(23, 32, 25, 0.08);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
			visibility 0.25s;
	}

	.admin-bar .nav {
		top: 100%;
	}

	.nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav > a {
		width: 100%;
		padding: 15px 0;
		border-bottom: 1px solid var(--line);
		font-size: 16px;
	}

	.nav > a::after {
		display: none;
	}

	.nav__lang {
		display: block;
		width: 100%;
		padding-top: 18px;
	}

	.nav__lang .lang-switch {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.nav__lang .lang-switch__item {
		width: auto;
		padding: 9px 12px;
		border-bottom: 0;
		text-align: center;
	}

	.header__actions .lang-switch {
		display: none;
	}

	.burger {
		display: block;
	}

	.hero__grid,
	.split,
	.split--narrow,
	.faq,
	.contact {
		grid-template-columns: 1fr;
	}

	.split--reverse .split__media,
	.split__media {
		order: 0;
	}

	.hero__media img,
	.split__media img {
		aspect-ratio: 3 / 2;
	}

	.hero__badge {
		left: auto;
		right: 16px;
		bottom: 16px;
	}

	.trust__grid,
	.values {
		grid-template-columns: 1fr 1fr;
	}

	.trust__item,
	.values__item {
		border-inline-end: 0;
		padding-inline: 0 !important;
		padding-block: 22px;
		border-bottom: 1px solid var(--line);
	}

	.values__item {
		padding-top: 26px;
	}

	.upcoming__item {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.upcoming__action {
		justify-self: start;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.contact__form {
		padding: 26px 20px 22px;
		border-radius: 18px;
	}

	.contact__form::before {
		left: 20px;
	}

	.contact__form-intro {
		margin-bottom: 22px;
		padding-bottom: 20px;
	}

	.field {
		margin-bottom: 17px;
	}

	.field input,
	.field select {
		height: 54px;
		min-height: 54px;
	}

	.field textarea {
		min-height: 148px;
	}

	.topics,
	.trust__grid,
	.values,
	.field-row {
		grid-template-columns: 1fr;
	}

	.topics {
		border-radius: var(--radius);
	}

	.topics__item {
		min-height: 0;
	}

	.topics__content {
		min-height: 0;
	}

	.hero__badge {
		position: static;
		margin-top: 14px;
		box-shadow: none;
	}

	.brand img,
	.custom-logo-link img {
		height: 38px;
		max-width: 180px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.stories__head {
		align-items: flex-start;
	}
}

/* ---------- Print & motion preferences ---------- */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.header,
	.footer,
	.stories__nav,
	.btn {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}

@media (max-width: 900px) {
	.topics {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		gap: 10px;
	}

	.topics__item,
	.topics__item:nth-child(1),
	.topics__item:nth-child(2),
	.topics__item:nth-child(3),
	.topics__item:nth-child(4),
	.topics__item:nth-child(5),
	.topics__item:nth-child(6) {
		grid-column: auto;
		grid-row: auto;
		min-height: 310px;
	}

	.topics__item:nth-child(6) {
		min-height: 170px;
	}

	.topics__content,
	.topics__item:nth-child(1) .topics__content {
		left: 24px;
		right: 70px;
		bottom: 24px;
		max-width: 62%;
	}

	.topics__item:nth-child(6) .topics__content {
		display: block;
		padding: 25px 78px 25px 24px;
	}

	.topics__item:nth-child(6) .topics__tag {
		margin: 0 0 12px;
	}

	.topics__item:nth-child(6) h4 {
		padding: 0;
	}

	.topics__item:nth-child(6) p {
		margin-top: 8px;
		padding: 0;
		border: 0;
	}
}

@media (max-width: 600px) {
	.topics__num {
		top: 18px;
		right: 20px;
		font-size: 52px;
	}

	.topics__item,
	.topics__item:nth-child(1),
	.topics__item:nth-child(2),
	.topics__item:nth-child(3),
	.topics__item:nth-child(4),
	.topics__item:nth-child(5) {
		min-height: 360px;
		border-radius: 3px;
	}


	.topics__content,
	.topics__item:nth-child(1) .topics__content {
		left: 20px;
		right: 60px;
		bottom: 20px;
		max-width: none;
	}

	.topics__item h4,
	.topics__item:nth-child(2) h4,
	.topics__item:nth-child(3) h4 {
		font-size: 28px;
	}

	.topics__item p {
		font-size: 14px;
	}

	.topics__arrow {
		right: 16px;
		bottom: 16px;
		width: 38px;
		height: 38px;
	}
}

/* ---------- Information topics: image-free editorial list ---------- */
.topics-shell {
	margin-top: clamp(34px, 5vw, 64px);
	overflow: hidden;
	border: 1px solid rgba(32, 61, 44, 0.14);
	border-radius: 20px;
	background: #f6f3ec;
	box-shadow: 0 28px 72px rgba(28, 54, 39, 0.1);
}

.topics-shell__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
	align-items: end;
	gap: 48px;
	padding: clamp(30px, 4vw, 48px);
	border-bottom: 1px solid rgba(32, 61, 44, 0.14);
	background:
		radial-gradient(circle at 88% 10%, rgba(183, 146, 82, 0.13), transparent 34%),
		linear-gradient(135deg, #fbfaf6 0%, #f1ede3 100%);
}

.topics-shell__head .sessions__sub {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(28px, 3.2vw, 44px);
	font-weight: 500;
	line-height: 1;
	color: var(--forest-deep);
}

.topics-shell__head p {
	max-width: 440px;
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--muted);
}

.topics {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.topics__item,
.topics__item:nth-child(1),
.topics__item:nth-child(2),
.topics__item:nth-child(3),
.topics__item:nth-child(4),
.topics__item:nth-child(5),
.topics__item:nth-child(6) {
	--topic-accent: #b79252;
	position: relative;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) 76px;
	grid-column: auto;
	grid-row: auto;
	align-items: center;
	gap: clamp(24px, 3vw, 46px);
	min-height: 154px;
	padding: 30px clamp(28px, 4vw, 48px);
	overflow: hidden;
	border: 0;
	border-bottom: 1px solid rgba(32, 61, 44, 0.12);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.28);
	isolation: isolate;
	transition: background-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.topics__item:nth-child(even) {
	background: rgba(240, 236, 226, 0.48);
}

.topics__item:last-child {
	border-bottom: 0;
}

.topics__item::before {
	content: "";
	position: absolute;
	inset: 18px auto 18px 0;
	width: 4px;
	border-radius: 0 8px 8px 0;
	background: var(--topic-accent);
	transform: scaleY(0.28);
	transform-origin: center;
	transition: transform 0.3s var(--ease);
}

.topics__item::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -92px;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--topic-accent) 0%, transparent 68%);
	opacity: 0.075;
	transform: translateY(-50%) scale(0.82);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
	z-index: -1;
}

.topics__item:hover {
	background: rgba(255, 255, 255, 0.88);
	transform: translateX(4px);
}

.topics__item:hover::before {
	transform: scaleY(1);
}

.topics__item:hover::after {
	opacity: 0.13;
	transform: translateY(-50%) scale(1);
}

.topics__item--mitid { --topic-accent: #1261dc; }
.topics__item--sundhedskort { --topic-accent: #d2a51f; }
.topics__item--feriepenge { --topic-accent: #46852d; }
.topics__item--eboks { --topic-accent: #dc173f; }
.topics__item--nemkonto-skat { --topic-accent: #006a87; }
.topics__item--cpr { --topic-accent: #9b7440; }

.topics__meta {
	align-self: start;
	padding-top: 9px;
}

.topics__tag,
.topics__item:nth-child(6) .topics__tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--forest-deep);
}

.topics__tag::before {
	content: "";
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	border-radius: 50%;
	background: var(--topic-accent);
	box-shadow: 0 0 0 5px rgba(35, 66, 48, 0.06);
}

.topics__content,
.topics__item:nth-child(1) .topics__content,
.topics__item:nth-child(6) .topics__content {
	position: static;
	display: grid;
	grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
	max-width: none;
	min-height: 0;
	height: auto;
	padding: 0;
}

.topics__item h4,
.topics__item:nth-child(2) h4,
.topics__item:nth-child(3) h4,
.topics__item:nth-child(6) h4 {
	margin: 0;
	padding: 0;
	font-family: var(--serif);
	font-size: clamp(28px, 3.1vw, 43px);
	font-weight: 500;
	line-height: 1.03;
	letter-spacing: -0.025em;
	color: var(--forest-deep);
	transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.topics__item:hover h4 {
	color: #102d20;
	transform: translateX(3px);
}

.topics__item p,
.topics__item:nth-child(6) p {
	max-width: 590px;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--muted);
}

.topics__mark {
	position: relative;
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	justify-self: end;
	border: 1px solid rgba(32, 61, 44, 0.2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.34);
	transition: border-color 0.28s var(--ease), background-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.topics__mark::before {
	content: "";
	width: 20px;
	height: 1px;
	background: var(--forest-deep);
	transition: width 0.28s var(--ease), background-color 0.28s var(--ease);
}

.topics__mark::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border-top: 1px solid var(--forest-deep);
	border-right: 1px solid var(--forest-deep);
	transform: translateX(7px) rotate(45deg);
	transition: border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.topics__mark span {
	position: absolute;
	inset: 8px;
	border: 1px solid transparent;
	border-top-color: var(--topic-accent);
	border-radius: 50%;
	transform: rotate(-35deg);
	transition: transform 0.4s var(--ease);
}

.topics__item:hover .topics__mark {
	border-color: var(--topic-accent);
	background: #fff;
	transform: translateX(3px);
}

.topics__item:hover .topics__mark::before {
	width: 25px;
	background: var(--topic-accent);
}

.topics__item:hover .topics__mark::after {
	border-color: var(--topic-accent);
	transform: translateX(9px) rotate(45deg);
}

.topics__item:hover .topics__mark span {
	transform: rotate(120deg);
}

.topics__num,
.topics__media,
.topics__shade,
.topics__arrow,
.topics__visual,
.topics__word {
	display: none !important;
}

@media (max-width: 980px) {
	.topics-shell__head {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.topics__item,
	.topics__item:nth-child(1),
	.topics__item:nth-child(2),
	.topics__item:nth-child(3),
	.topics__item:nth-child(4),
	.topics__item:nth-child(5),
	.topics__item:nth-child(6) {
		grid-template-columns: 120px minmax(0, 1fr) 62px;
		gap: 24px;
		padding: 28px 30px;
	}

	.topics__content,
	.topics__item:nth-child(1) .topics__content,
	.topics__item:nth-child(6) .topics__content {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

@media (max-width: 700px) {
	.topics-shell {
		border-radius: 15px;
	}

	.topics-shell__head {
		padding: 28px 22px 24px;
	}

	.topics-shell__head p {
		font-size: 14px;
	}

	.topics__item,
	.topics__item:nth-child(1),
	.topics__item:nth-child(2),
	.topics__item:nth-child(3),
	.topics__item:nth-child(4),
	.topics__item:nth-child(5),
	.topics__item:nth-child(6) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 48px;
		gap: 16px;
		min-height: 0;
		padding: 24px 20px 25px;
		transform: none;
	}

	.topics__item:hover {
		transform: none;
	}

	.topics__meta {
		grid-column: 1 / -1;
		padding-top: 0;
	}

	.topics__content,
	.topics__item:nth-child(1) .topics__content,
	.topics__item:nth-child(6) .topics__content {
		grid-column: 1;
		grid-row: 2;
		gap: 9px;
	}

	.topics__item h4,
	.topics__item:nth-child(2) h4,
	.topics__item:nth-child(3) h4,
	.topics__item:nth-child(6) h4 {
		font-size: clamp(29px, 9vw, 37px);
	}

	.topics__item p,
	.topics__item:nth-child(6) p {
		font-size: 14px;
		line-height: 1.58;
	}

	.topics__mark {
		grid-column: 2;
		grid-row: 2;
		width: 46px;
		height: 46px;
		align-self: center;
	}

	.topics__mark span {
		inset: 6px;
	}
}

/* ---------- Information topics: editorial directory ---------- */
.topics-directory {
	--topic-line: rgba(24, 52, 39, 0.15);
	--topic-ink: #173326;
	--topic-muted: #6f766f;
	margin-top: clamp(34px, 5vw, 68px);
	padding: clamp(34px, 5vw, 66px) clamp(24px, 4.5vw, 62px) 0;
	border: 1px solid rgba(24, 52, 39, 0.12);
	border-radius: 28px;
	background:
		linear-gradient(135deg, rgba(221, 229, 216, 0.58), rgba(246, 242, 232, 0.82) 52%, rgba(255, 255, 255, 0.92));
	box-shadow: 0 26px 70px rgba(24, 52, 39, 0.08);
	overflow: hidden;
}

.topics-directory__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
	align-items: end;
	gap: clamp(34px, 7vw, 100px);
	padding-bottom: clamp(34px, 4.5vw, 58px);
}

.topics-directory__eyebrow {
	margin: 0 0 15px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #8b6d36;
}

.topics-directory .sessions__sub {
	max-width: 780px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(46px, 6vw, 82px);
	font-weight: 500;
	line-height: 0.94;
	letter-spacing: -0.052em;
	color: var(--topic-ink);
}

.topics-directory__head > p {
	max-width: 430px;
	margin: 0 0 5px;
	font-size: 15px;
	line-height: 1.72;
	color: var(--topic-muted);
}

.topics-directory__list {
	border-top: 1px solid var(--topic-line);
}

.topic-row {
	--topic-accent: #b99654;
	position: relative;
	display: grid;
	grid-template-columns: minmax(145px, 0.32fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(24px, 4vw, 66px);
	min-height: 150px;
	padding: 31px 4px 31px 0;
	border-bottom: 1px solid var(--topic-line);
	transition: background-color 0.28s var(--ease), padding 0.28s var(--ease);
}

.topic-row::before {
	content: "";
	position: absolute;
	inset: 0 calc(clamp(24px, 4.5vw, 62px) * -1);
	z-index: 0;
	background: rgba(255, 255, 255, 0);
	transition: background-color 0.28s var(--ease);
}

.topic-row > * {
	position: relative;
	z-index: 1;
}

.topic-row:hover::before,
.topic-row:focus-within::before {
	background: rgba(255, 255, 255, 0.58);
}

.topic-row--mitid { --topic-accent: #5d87d8; }
.topic-row--sundhedskort { --topic-accent: #d4ad34; }
.topic-row--feriepenge { --topic-accent: #6c9b58; }
.topic-row--eboks { --topic-accent: #d95568; }
.topic-row--nemkonto-skat { --topic-accent: #4da2ac; }
.topic-row--cpr { --topic-accent: #a77a50; }

.topic-row__meta {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #777d76;
}

.topic-row__dot {
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	border-radius: 50%;
	background: var(--topic-accent);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--topic-accent) 12%, transparent);
}

.topic-row__content {
	display: grid;
	grid-template-columns: minmax(220px, 0.62fr) minmax(250px, 0.88fr);
	align-items: center;
	gap: clamp(26px, 4vw, 72px);
}

.topic-row__content h4 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(34px, 3.4vw, 54px);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.035em;
	color: var(--topic-ink);
	transition: transform 0.28s var(--ease), color 0.28s var(--ease);
}

.topic-row:hover .topic-row__content h4,
.topic-row:focus-within .topic-row__content h4 {
	color: #0d271b;
	transform: translateX(7px);
}

.topic-row__content p {
	max-width: 510px;
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--topic-muted);
}

.topic-row__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0 10px 14px;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	color: var(--topic-ink);
}

.topic-row__arrow {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(24, 52, 39, 0.22);
	border-radius: 50%;
	font-size: 17px;
	transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.topic-row__link:hover .topic-row__arrow,
.topic-row__link:focus-visible .topic-row__arrow {
	border-color: var(--topic-accent);
	background: var(--topic-accent);
	color: #fff;
	transform: translate(2px, -2px);
}

@media (max-width: 1050px) {
	.topic-row {
		grid-template-columns: 130px minmax(0, 1fr) auto;
		gap: 24px;
	}

	.topic-row__content {
		grid-template-columns: 1fr;
		gap: 13px;
	}
}

@media (max-width: 780px) {
	.topics-directory {
		margin-inline: 14px;
		padding: 32px 22px 0;
		border-radius: 22px;
	}

	.topics-directory__head {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.topics-directory .sessions__sub {
		font-size: clamp(43px, 13vw, 66px);
	}

	.topics-directory__head > p {
		font-size: 14px;
	}

	.topic-row {
		grid-template-columns: 1fr auto;
		gap: 18px;
		min-height: 0;
		padding: 27px 0;
	}

	.topic-row::before {
		inset-inline: -22px;
	}

	.topic-row__meta {
		grid-column: 1 / -1;
	}

	.topic-row__content {
		grid-column: 1;
	}

	.topic-row__content h4 {
		font-size: clamp(33px, 10vw, 45px);
	}

	.topic-row__content p {
		font-size: 13.5px;
	}

	.topic-row__link {
		grid-column: 2;
		align-self: end;
		padding-left: 0;
	}

	.topic-row__link > span:first-child {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}

@media (max-width: 440px) {
	.topics-directory {
		margin-inline: 0;
		border-radius: 0;
		border-inline: 0;
	}
}
