/*
Theme Name: Human to Human
Theme URI: https://humantohumanbusiness.com
Description: Child theme af Ollie til Human to Human Business.
Author: Frederik Juul Ipsen
Template: ollie
Version: 0.6.27
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: h2h
Update URI: false
*/

/* Mørkt tema
 * Lyst tema er standard og defineret i theme.json, også når enheden er sat til mørkt (Frederik 04.11.).
 * Mørkt tema skifter farvevariablerne ud, når den besøgende vælger det med lys/mørk-knappen.
 * Hold værdierne i takt med paletten i theme.json.
 */
:root[data-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--primary: #8FB3CF;
	--wp--preset--color--primary-accent: #172638;
	--wp--preset--color--primary-alt: #FF7183;
	--wp--preset--color--primary-alt-accent: #3A1A22;
	--wp--preset--color--main: #E6EDF3;
	--wp--preset--color--main-accent: #2A3C50;
	--wp--preset--color--base: #0E1620;
	--wp--preset--color--secondary: #9DB0C2;
	--wp--preset--color--tertiary: #142130;
	--wp--preset--color--border-light: #2A3C50;
	--wp--preset--color--border-dark: #4A6178;
}

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

.h2h-header :focus-visible,
.h2h-footer :focus-visible {
	outline: 2px solid var(--wp--preset--color--primary-alt);
	outline-offset: 3px;
	border-radius: 4px;
}

.h2h-brand {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	line-height: 1;
	color: var(--wp--preset--color--main);
	text-decoration: none;
}

.h2h-brand__mark {
	flex: none;
	width: 2.6rem;
	height: auto;
	color: var(--wp--preset--color--primary);
}

.h2h-brand__arch {
	stroke: var(--wp--preset--color--primary-alt);
}

.h2h-brand__text {
	display: flex;
	flex-direction: column;
}

/* Logoets navn (bud C, "Håndtrykket"): Figtree halvfed som symbolets H'er, "to" i kursiv. */
.h2h-brand__name {
	font-family: var(--wp--preset--font-family--primary);
	font-size: 1.35rem;
	font-weight: 600;
}

.h2h-brand__name em {
	font-weight: 500;
	color: var(--wp--preset--color--primary-alt);
}

.h2h-brand__sub {
	margin-top: .35rem;
	font-size: .62rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

.h2h-button {
	display: inline-block;
	padding: .65rem 1.2rem;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
}

.h2h-button:hover {
	background: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
}

/* Header
 */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

/* Hop til et afsnit på siden (fx "Se de tre faser" eller ydelsernes hop-kort): siden ruller
 * blødt, så man fornemmer, at man kommer længere ned. Ikke for dem, der har bedt om mindre bevægelse. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Afsnittet lander lige under den faste header i stedet for bag den. */
:where([id]) {
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
}

.h2h-header {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size, 1260px);
	margin-inline: auto;
	padding-block: 1rem;
	padding-inline: var(--wp--preset--spacing--medium);
}

.h2h-header__menu {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.h2h-nav ul,
.h2h-lang,
.h2h-footer__nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h2h-nav ul {
	gap: 1.5rem;
}

.h2h-nav a {
	color: var(--wp--preset--color--secondary);
	font-size: .95rem;
	text-decoration: none;
}

.h2h-nav a:hover,
.h2h-nav a[aria-current] {
	color: var(--wp--preset--color--main);
}

.h2h-nav a[aria-current] {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--primary-alt);
	text-decoration-thickness: 2px;
	text-underline-offset: .45em;
}

/* Mega-menuen under Ydelser: et panel under headeren med de tre ydelser. Åbner ved hover, med
 * tastaturet (focus-within) og med pilen (.is-open). Lukker med en lille forsinkelse, så musen kan
 * nå ned i panelet; ::before dækker hullet mellem menupunktet og panelet. */
.h2h-header {
	position: relative;
}

.h2h-nav__item {
	display: flex;
	gap: .1rem;
	align-items: center;
}

.h2h-nav__expand {
	display: inline-grid;
	place-items: center;
	width: 1.4rem;
	height: 1.4rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--secondary);
	cursor: pointer;
}

.h2h-nav__expand svg {
	width: .85rem;
	height: .85rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .2s ease;
}

.h2h-mega {
	position: absolute;
	top: 100%;
	right: var(--wp--preset--spacing--medium);
	left: var(--wp--preset--spacing--medium);
	z-index: 60;
	max-width: 980px;
	margin-inline: auto;
	padding: 14px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 18px 44px rgba(20, 32, 46, .14);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .25s;
}

.h2h-mega::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 1.4rem;
}

.has-mega:hover .h2h-mega,
.has-mega:focus-within .h2h-mega,
.has-mega.is-open .h2h-mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}

.has-mega:hover .h2h-nav__expand svg,
.has-mega.is-open .h2h-nav__expand svg {
	transform: rotate(180deg);
}

.h2h-nav .h2h-mega__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.h2h-nav .h2h-mega__link {
	display: grid;
	gap: .25rem;
	align-content: start;
	height: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border-radius: 10px;
	color: var(--wp--preset--color--main);
	text-decoration: none;
}

.h2h-nav .h2h-mega__link:hover,
.h2h-nav .h2h-mega__link:focus-visible,
.h2h-nav .h2h-mega__link[aria-current] {
	background: var(--wp--preset--color--primary-accent);
	text-decoration: none;
}

.h2h-mega__label {
	color: var(--wp--preset--color--secondary);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.h2h-mega__title {
	color: var(--wp--preset--color--main);
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.2rem;
	line-height: 1.25;
}

.h2h-mega__text {
	color: var(--wp--preset--color--secondary);
	font-size: .85rem;
	line-height: 1.45;
}

.h2h-nav .h2h-mega__all {
	display: inline-block;
	margin: 8px 16px 2px;
	color: var(--wp--preset--color--primary);
	font-size: .85rem;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.h2h-mega,
	.h2h-nav__expand svg {
		transition: none;
	}
}

.h2h-lang {
	gap: .15rem;
	padding: .2rem;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 999px;
	font-size: .78rem;
}

.h2h-lang a {
	display: block;
	padding: .15rem .5rem;
	border-radius: 999px;
	color: var(--wp--preset--color--secondary);
	font-weight: 600;
	text-decoration: none;
}

.h2h-lang a[aria-current] {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.h2h-menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--main);
	cursor: pointer;
}

.h2h-theme-toggle svg,
.h2h-menu-toggle svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Lys/mørk: en pille som sprogvælgeren, hvor markøren glider fra sol (lys) til måne (mørk). */
.h2h-theme-toggle {
	position: relative;
	display: inline-flex;
	gap: .15rem;
	padding: .2rem;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.h2h-theme-toggle__thumb {
	position: absolute;
	top: .2rem;
	left: .2rem;
	width: 2rem;
	height: calc(100% - .4rem);
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	transition: transform .25s ease;
}

.h2h-theme-toggle__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 1.35rem;
	color: var(--wp--preset--color--secondary);
	transition: color .25s ease;
}

.h2h-theme-toggle .h2h-theme-toggle__icon svg {
	width: .95rem;
	height: .95rem;
}

.h2h-theme-toggle__icon--sun,
:root[data-theme="dark"] .h2h-theme-toggle__icon--moon {
	color: var(--wp--preset--color--base);
}

:root[data-theme="dark"] .h2h-theme-toggle__icon--sun {
	color: var(--wp--preset--color--secondary);
}

:root[data-theme="dark"] .h2h-theme-toggle__thumb {
	transform: translateX(calc(100% + .15rem));
}

@media (prefers-reduced-motion: reduce) {
	.h2h-theme-toggle__thumb,
	.h2h-theme-toggle__icon {
		transition: none;
	}
}

.h2h-menu-toggle {
	display: none;
}

/* Lige over menuknappens bredde: lidt tættere, så menuen står på én linje på begge sprog. */
@media (max-width: 1240px) {
	.h2h-header__menu {
		gap: 1rem;
	}

	.h2h-nav ul {
		gap: 1.1rem;
	}
}

/* Mobil, tablet og små bærbare: menuen foldes ud med en knap. Uden JavaScript vises den altid.
 * Grænsen ligger højere end resten af layoutet (880 px), fordi den danske menu med Indsigter ellers brydes
 * i to linjer (1120 px fra 13.11., da Indsigter kom fast i menuen). */
@media (max-width: 1120px) {
	.h2h-menu-toggle {
		display: inline-grid;
	}

	.h2h-header__menu {
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding-block: .5rem 1rem;
	}

	.h2h-js .h2h-header:not(.is-open) .h2h-header__menu {
		display: none;
	}

	.h2h-nav ul {
		flex-direction: column;
		gap: .85rem;
	}

	.h2h-nav a {
		font-size: 1.1rem;
	}

	/* På mobil står ydelserne som en liste under Ydelser (ingen hover og intet panel). */
	.h2h-nav__item {
		flex-wrap: wrap;
	}

	.h2h-nav__expand,
	.h2h-mega::before,
	.h2h-mega__label,
	.h2h-mega__text,
	.h2h-nav .h2h-mega__all {
		display: none;
	}

	.h2h-mega {
		position: static;
		flex-basis: 100%;
		padding: .6rem 0 0 1rem;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.h2h-nav .h2h-mega__list {
		grid-template-columns: minmax(0, 1fr);
		gap: .6rem;
	}

	.h2h-nav .h2h-mega__link {
		padding: 0;
		border-radius: 0;
	}

	.h2h-nav .h2h-mega__link:hover,
	.h2h-nav .h2h-mega__link:focus-visible,
	.h2h-nav .h2h-mega__link[aria-current] {
		background: none;
	}

	.h2h-mega__title {
		color: var(--wp--preset--color--secondary);
		font-family: inherit;
		font-size: 1rem;
	}

	.h2h-nav .h2h-mega__link[aria-current] .h2h-mega__title {
		color: var(--wp--preset--color--main);
		font-weight: 600;
	}
}

/* Footer
 */
.site-footer {
	border-top: 1px solid var(--wp--preset--color--border-light);
}

.h2h-footer {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 2fr 1fr 1.5fr;
	gap: var(--wp--preset--spacing--large);
	max-width: var(--wp--style--global--wide-size, 1260px);
	margin-inline: auto;
	padding-block: var(--wp--preset--spacing--x-large);
	padding-inline: var(--wp--preset--spacing--medium);
	color: var(--wp--preset--color--secondary);
	font-size: .95rem;
}

.h2h-footer p {
	margin: 0 0 .4rem;
}

.h2h-footer a {
	color: inherit;
}

.h2h-footer__brand p {
	margin-top: 1rem;
}

.h2h-footer__nav ul {
	flex-direction: column;
	gap: .5rem;
}

.h2h-footer__legal {
	grid-column: 1 / -1;
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--border-light);
	font-size: .85rem;
}

@media (max-width: 760px) {
	.h2h-footer {
		grid-template-columns: 1fr;
	}
}

/* Pladsholdere
 * Tekst og billeder, som Kenneth skal udskifte før lancering: blokstilen "Pladsholder"
 * (.is-style-placeholder) og formatet "Pladsholder" (mark.h2h-placeholder).
 */
:root {
	--h2h-ph-bg: #FFF1B8;
	--h2h-ph-ink: #5A4300;
	--h2h-ph-line: #B8860B;
}

:root[data-theme="dark"] {
	--h2h-ph-bg: #3A3115;
	--h2h-ph-ink: #F3DD9B;
	--h2h-ph-line: #C9A43A;
}

mark.h2h-placeholder {
	padding: 0 .2em;
	border-bottom: 1.5px dashed var(--h2h-ph-line);
	border-radius: 2px;
	background: var(--h2h-ph-bg);
	color: var(--h2h-ph-ink);
}

.is-style-placeholder {
	position: relative;
	outline: 1.5px dashed var(--h2h-ph-line);
	outline-offset: 6px;
	border-radius: 2px;
}

:where(p, h1, h2, h3, h4, ul, ol).is-style-placeholder {
	background: var(--h2h-ph-bg);
	color: var(--h2h-ph-ink);
}

.is-style-placeholder::before {
	content: "Placeholder";
	position: absolute;
	z-index: 1;
	top: -1.25rem;
	right: -6px;
	padding: .25em .5em;
	border-radius: 3px;
	background: var(--h2h-ph-line);
	color: #FFFFFF;
	font: 600 .62rem/1 var(--wp--preset--font-family--primary);
	letter-spacing: .08em;
	text-transform: uppercase;
}

:lang(da) .is-style-placeholder::before {
	content: "Pladsholder";
}

/* Sektioner på forside og undersider
 * Hver sektion er en gruppe med klassen h2h-section; indholdet ligger i brede grupper indeni.
 */
.h2h-section {
	padding-top: clamp(56px, 8vw, 104px);
	padding-bottom: clamp(56px, 8vw, 104px);
}

/* Sektionerne ligger kant i kant; farvebåndene må ikke få hvide striber imellem. */
.wp-block-post-content > .h2h-section {
	margin-block: 0 !important;
}

.h2h-section.is-style-band,
.h2h-section--band {
	background: var(--wp--preset--color--primary-accent);
}

.h2h-section--dark {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.h2h-section--dark :where(h1, h2, h3, a:not(.wp-block-button__link)) {
	color: var(--wp--preset--color--base);
}

.h2h-section--dark .h2h-lead,
.h2h-section--dark .h2h-eyebrow {
	color: var(--wp--preset--color--base);
	opacity: .8;
}

.h2h-section--dark .wp-block-button__link {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}

.h2h-section--dark .is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--base);
	background: transparent;
	color: var(--wp--preset--color--base);
}

/* Gitre bruger gap i stedet for WordPress' margin mellem blokke (som ellers vinder over gap). */
:is(.h2h-split, .h2h-cards, .h2h-card, .h2h-head, .h2h-stack, .h2h-mandate) > * {
	margin-block: 0 !important;
}

.h2h-eyebrow {
	margin: 0;
	color: var(--wp--preset--color--secondary);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.h2h-lead {
	max-width: 58ch;
	color: var(--wp--preset--color--secondary);
	font-size: 1.2rem;
}

.h2h-head,
.h2h-stack {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.h2h-head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

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

.h2h-split--hero {
	grid-template-columns: 1.15fr .85fr;
}

.h2h-split--about {
	grid-template-columns: .8fr 1.2fr;
	align-items: start;
}

/* Market Entry: broen ved siden af titlen i en bredere kolonne, så den bevarer sine proportioner
   (mellemtingen, Frederik 6.11.). */
@media (min-width: 881px) {
	.h2h-split.is-bridge-wide {
		grid-template-columns: .78fr 1.22fr;
	}

	/* Mellemstore skærme: mere lige fordeling, så knapperne stadig står ved siden af hinanden. */
	@media (max-width: 1240px) {
		.h2h-split.is-bridge-wide {
			grid-template-columns: .95fr 1.05fr;
		}
	}
}

.h2h-split > *,
.h2h-cards > * {
	min-width: 0;
}

.h2h-hero h1 {
	font-size: clamp(2.4rem, 5.4vw, 4.2rem);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.h2h-meta {
	color: var(--wp--preset--color--secondary);
	font-size: .9rem;
}

.h2h-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* Forsidens foto handler om stedet og arbejdet, ikke om personen: Sermitsiaq over Nuuk, beskåret til hero. */
.h2h-photo--hero img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 62% 50%;
}

/* Kenneth, der lytter (Sådan arbejder jeg): stående beskåret om ham, så kælderen bag ham fylder mindst muligt. */
.h2h-photo--listen img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 84% 50%;
}

/* Sort-hvidt som portrætterne, med naturlig kontrast og en anelse varme, så det ikke bliver mørkt eller
   hårdt (Kenneth 5.11., Sådan arbejder jeg). */
.h2h-photo.is-mono img {
	filter: grayscale(1) sepia(.1) contrast(.94) brightness(1.05);
}

/* Eftertanke (valg i noten på Sådan arbejder jeg): stående beskåret om ham. */
.h2h-photo--thinking img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 40%;
}

@media (max-width: 880px) {
	.h2h-photo--listen img {
		aspect-ratio: 1;
		object-position: 90% 50%;
	}

	.h2h-photo--thinking img {
		aspect-ratio: 1;
	}

	.h2h-photo--hero img {
		aspect-ratio: 3 / 2;
		object-position: 60% 55%;
	}
}

.h2h-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.h2h-card {
	display: grid;
	gap: .9rem;
	align-content: start;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
}

.h2h-card h3,
.h2h-card .h2h-service__title {
	font-size: 1.4rem;
}

.h2h-card p {
	color: var(--wp--preset--color--secondary);
}

/* Etiketten i et kort (form, år, trin) står som små grå versaler, som i mega-menuen; rød er forbeholdt
 * det, Human to Human gør forskellen med. */
.h2h-card .h2h-tag {
	color: var(--wp--preset--color--secondary);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.h2h-more a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration: none;
}

.h2h-more a:hover {
	text-decoration: underline;
}

/*
 * Links på sitet har tre former (Rød tråd i CLAUDE.md):
 * 1. Knap = tag kontakt (»Lad os tage en samtale«); en kantet knap kun som andet valg ved siden af.
 * 2. Tekst med pil (.h2h-more) = læs videre, også flere under hinanden (.h2h-next).
 * 3. Et kort med en pil er ét link: hele kortet kan klikkes, og kanten bliver blå.
 */
.h2h-more a {
	text-underline-offset: .25em;
	text-decoration-thickness: 1px;
}

.h2h-next {
	gap: .55rem !important;
	margin-top: clamp(24px, 3vw, 36px) !important;
}

.h2h-card:has(> .h2h-more a) {
	position: relative;
	transition: border-color .2s ease;
}

.h2h-card > .h2h-more a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.h2h-card:has(> .h2h-more a):hover {
	border-color: var(--wp--preset--color--primary);
}

.h2h-card:has(> .h2h-more a):hover .h2h-more a {
	text-decoration: underline;
}

.h2h-card > .h2h-more a:focus-visible {
	outline: none;
}

.h2h-card:has(> .h2h-more a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--primary-alt);
	outline-offset: 2px;
}

/* Pilen står nederst i kortet, så pilene i en række flugter. */
.h2h-card:has(> .h2h-more a) {
	display: flex;
	flex-direction: column;
}

.h2h-card:has(> .h2h-more a) > .h2h-more {
	margin-top: auto !important;
}

@media (prefers-reduced-motion: reduce) {
	.h2h-card:has(> .h2h-more a) {
		transition: none;
	}
}

/* Citatet om værtskab */
.h2h-quote {
	max-width: 26ch;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	font-style: italic;
	line-height: 1.25;
	text-wrap: balance;
}

/* Et langt citat (to sætninger eller mere) står mindre, så det ikke fylder hele skærmen. */
.h2h-quote--long {
	max-width: 34ch;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.32;
}

/* Mandat-boksen (rød kant) */
.h2h-mandate {
	padding: 20px 22px;
	border-left: 3px solid var(--wp--preset--color--primary-alt);
	border-radius: 0 10px 10px 0;
	background: var(--wp--preset--color--base);
}

.h2h-mandate > * {
	margin: 0;
}

.h2h-mandate h3 {
	font-size: 1.25rem;
}

.h2h-mandate p {
	margin-top: .3rem;
	color: var(--wp--preset--color--secondary);
}

/* En mandat-boks med sidens kernebudskab: større serif-tekst */
.h2h-mandate--large {
	padding: 26px 28px;
}

.h2h-mandate--large p {
	margin-top: 0;
	color: var(--wp--preset--color--main);
	font-family: var(--wp--preset--font-family--secondary);
	font-size: clamp(1.25rem, 2.1vw, 1.6rem);
	line-height: 1.32;
}

/* Ydelser: kort med form, titel, Kenneths undertitel, hvornår og link til undersiden. */
.h2h-cards--services {
	margin-top: clamp(28px, 4vw, 44px);
}

.h2h-card.h2h-service {
	display: flex;
	flex-direction: column;
	gap: .7rem;
}

/* Executive Partner står i midten som det, de to andre fører hen til: blå ramme og en etiket, der siger hvorfor. */
.h2h-card.h2h-service.is-featured {
	position: relative;
	border: 2px solid var(--wp--preset--color--primary);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--primary) 14%, transparent);
}

/* Etiketten sidder på rammen, så titlerne i de tre kort står på linje. */
.h2h-card .h2h-service__flag {
	position: absolute;
	top: 0;
	left: 20px;
	margin: 0;
	padding: 0 8px;
	transform: translateY(-50%);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

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

.h2h-service__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--primary-alt);
	text-underline-offset: .2em;
}

.h2h-card .h2h-service__tagline {
	color: var(--wp--preset--color--main);
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.1rem;
	font-style: italic;
	line-height: 1.35;
}

.h2h-card .h2h-service__when {
	color: var(--wp--preset--color--main);
	font-weight: 600;
}

.h2h-service .h2h-more {
	margin-top: auto !important;
	padding-top: .4rem;
}

/* Sådan hænger ydelserne sammen: 90 dage og Market Entry fører begge videre til Executive Partner. */
.h2h-flow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(96px, .55fr) minmax(0, 1.1fr) minmax(96px, .55fr) minmax(0, 1fr);
	gap: 0 10px;
	align-items: center;
}

.h2h-flow__node {
	padding: 18px 20px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
	text-align: center;
}

.h2h-flow__node.is-featured {
	padding-block: 26px;
	border: 2px solid var(--wp--preset--color--primary);
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--primary) 14%, transparent);
}

.h2h-flow__node > * {
	margin: 0;
}

.h2h-flow__label {
	color: var(--wp--preset--color--secondary);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.h2h-flow__name {
	margin-top: .3rem !important;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.2rem;
	line-height: 1.25;
}

.h2h-flow__node.is-featured .h2h-flow__name {
	font-size: 1.45rem;
}

.h2h-flow__name a {
	color: var(--wp--preset--color--main);
	text-decoration: none;
}

.h2h-flow__name a:hover {
	text-decoration: underline;
}

/* Pilen: en streg med pilespids og teksten over, mod Executive Partner fra begge sider. */
.h2h-flow__arrow {
	position: relative;
	margin: 0;
	padding-bottom: 12px;
	color: var(--wp--preset--color--secondary);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
}

.h2h-flow__arrow::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--wp--preset--color--primary);
}

.h2h-flow__arrow::before {
	content: "";
	position: absolute;
	bottom: -5px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

.h2h-flow__arrow.is-right::before {
	right: -2px;
	border-left: 9px solid var(--wp--preset--color--primary);
}

.h2h-flow__arrow.is-left::before {
	left: -2px;
	border-right: 9px solid var(--wp--preset--color--primary);
}

@media (max-width: 880px) {
	.h2h-flow {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		justify-items: center;
	}

	.h2h-flow__node {
		width: 100%;
		box-sizing: border-box;
	}

	/* Smalt: lodrette pile, ned mod Executive Partner fra 90 dage og op fra Market Entry. */
	.h2h-flow__arrow {
		width: auto;
		padding: 16px 0 16px 18px;
		text-align: left;
	}

	.h2h-flow__arrow::after {
		top: 0;
		right: auto;
		bottom: 0;
		left: 0;
		width: 2px;
		height: auto;
	}

	.h2h-flow__arrow::before {
		bottom: auto;
		left: -5px;
		border: 0;
		border-right: 6px solid transparent;
		border-left: 6px solid transparent;
	}

	.h2h-flow__arrow.is-right::before {
		right: auto;
		bottom: -2px;
		border-top: 9px solid var(--wp--preset--color--primary);
	}

	.h2h-flow__arrow.is-left::before {
		top: -2px;
		left: -5px;
		border-right: 6px solid transparent;
		border-bottom: 9px solid var(--wp--preset--color--primary);
	}
}

/* Kort i to kolonner (fx fire spørgsmål) */
.h2h-cards--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Indsatsområder i én kolonne, fx i en halv kolonne ved siden af tekst */
.h2h-areas.h2h-areas--single {
	grid-template-columns: minmax(0, 1fr);
}

/* Indsatsområder med en forklaring under titlen */
.h2h-areas--described li strong {
	display: block;
	color: var(--wp--preset--color--main);
	font-weight: 600;
}

.h2h-areas--described li span:not(.h2h-areas__flag) {
	display: block;
	margin-top: .2rem;
	color: var(--wp--preset--color--secondary);
	font-size: .92rem;
	line-height: 1.45;
}

/* Genkendelige situationer som kort (fx "Måske …") */
.h2h-cards--situations .h2h-card h3 {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.35;
}

/* Et udsagn, der bærer en sektion (stor serif-overskrift) */
.h2h-statement {
	max-width: 24ch;
	font-size: clamp(1.9rem, 3.8vw, 3rem);
	line-height: 1.15;
	text-wrap: balance;
}

/* Mærker, fx værdier */
.h2h-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h2h-chips li {
	padding: .4rem .95rem;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--main);
	font-size: .92rem;
	font-weight: 600;
}

/* Indsatsområder: kort med flueben i to kolonner; et fremhævet område får rød kant. */
.h2h-areas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h2h-areas li {
	position: relative;
	padding: 14px 18px 14px 46px;
	overflow-wrap: break-word;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
}

.h2h-areas li::before {
	content: "";
	position: absolute;
	top: 1.15em;
	left: 20px;
	width: .42rem;
	height: .8rem;
	border: solid var(--wp--preset--color--primary);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

/* Et fremhævet område: blå ramme og en etiket, der forklarer hvorfor (rød er forbeholdt det sted,
 * hvor Human to Human gør forskellen i modellerne). Etiketten er skjult, når området ikke er fremhævet. */
.h2h-areas__flag {
	display: none;
}

/* Det fremhævede område står altid sidst i listen, så det lukker listen i stedet for at bryde den. */
.h2h-areas li.is-highlight {
	order: 1;
	border: 2px solid var(--wp--preset--color--primary);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--wp--preset--color--primary) 12%, transparent);
}

.h2h-areas li.is-highlight .h2h-areas__flag {
	display: block;
	margin-bottom: .2rem;
	color: var(--wp--preset--color--primary);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* Ollie fjerner luften over det første og under det sidste listepunkt i indholdet
 * (.entry-content :not(.wp-block-group) > li:first-child). Her er punkterne kort og mærker. */
.h2h-areas > li {
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

.h2h-chips > li {
	padding-top: .4rem !important;
	padding-bottom: .4rem !important;
}

/* Ollie giver også alle listepunkter en bundmargin (theme.json), som ellers lægges oven i gitterets gap. */
.wp-block-list.h2h-areas > li,
.wp-block-list.h2h-chips > li {
	margin-bottom: 0;
}

/* En rolig boks til en supplerende sætning */
.h2h-note {
	padding: 16px 20px;
	border-radius: 10px;
	background: var(--wp--preset--color--primary-accent);
	color: var(--wp--preset--color--main);
}

.h2h-section--band .h2h-note {
	background: var(--wp--preset--color--base);
}

/* Tidslinjen: årstal i fed, rolle efter. Det første punkt (i dag) er rødt. */
.h2h-timeline {
	display: grid;
	margin: .4rem 0 0;
	padding: 0;
	border-left: 2px solid var(--wp--preset--color--border-light);
	list-style: none;
}

.h2h-timeline li {
	position: relative;
	padding: 0 0 18px 22px;
	font-weight: 600;
}

.h2h-timeline li strong {
	display: block;
	color: var(--wp--preset--color--secondary);
	font-size: .82rem;
	font-variant-numeric: tabular-nums;
	font-weight: 400;
}

.h2h-timeline li::before {
	content: "";
	position: absolute;
	top: .45rem;
	left: -7px;
	box-sizing: border-box;
	width: 12px;
	height: 12px;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	background: var(--wp--preset--color--primary-accent);
}

/* Rejsen og trinnene som faner (site.js): det valgte sted eller trin fremhæves, og dets kort står
 * under det med en lille pil op. Kun når modellen står vandret; ellers swipes kortene. De andre
 * tones ned på indholdet (ikke selve punktet, som modellens scroll-animation styrer). */
.h2h-journey.is-interactive :is(.h2h-route__stop, .h2h-steps__step) {
	border-radius: 10px;
	cursor: pointer;
}

.h2h-journey.is-interactive :is(.h2h-route__stop, .h2h-steps__step) > * {
	transition: opacity .2s ease;
}

/* Kun let nedtonet, så alle punkter kan læses, også når de ikke er valgt (Kenneth 5.11.). */
.h2h-journey.is-interactive :is(.h2h-route__stop, .h2h-steps__step):not(.is-active):not(:hover) > * {
	opacity: .78;
}

/* Nålen tones ned med farven, ikke med gennemsigtighed: dens runde baggrund dækker buens ender og skal
   være tæt, ellers skinner den stiplede bue igennem nålen (Frederik 04.11.). */
.h2h-journey.is-interactive .h2h-route__stop:not(.is-active):not(:hover) > .h2h-route__pin {
	opacity: 1;
	color: color-mix(in srgb, var(--m-blue) 50%, var(--m-bg));
}

.h2h-journey.is-interactive .h2h-route__stop.is-now:not(.is-active):not(:hover) > .h2h-route__pin {
	color: color-mix(in srgb, var(--m-red) 50%, var(--m-bg));
}

.h2h-journey.is-interactive :is(.h2h-route__stop, .h2h-steps__step):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 4px;
}

.h2h-journey.is-interactive .h2h-route__stop.is-active .h2h-route__place,
.h2h-journey.is-interactive .h2h-steps__step.is-active .h2h-model__title {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .25em;
}

.h2h-journey.is-interactive :is(.h2h-route__pin, .h2h-steps__num) {
	transition: transform .2s ease;
}

.h2h-journey.is-interactive :is(.h2h-route__stop, .h2h-steps__step).is-active :is(.h2h-route__pin, .h2h-steps__num) {
	transform: scale(1.15);
}

.h2h-journey__hint {
	margin: .2rem 0 0 !important;
	color: var(--wp--preset--color--secondary);
	font-size: .85rem;
	text-align: center;
}

.h2h-journey.is-interactive .h2h-cards {
	display: block;
	margin-top: 1.2rem;
}

.h2h-journey .h2h-cards > [hidden] {
	display: none !important;
}

.h2h-journey.is-interactive .h2h-cards > .h2h-card {
	position: relative;
	width: min(100%, 560px);
	margin-left: var(--x, 0);
	animation: h2h-journey-in .3s ease;
}

.h2h-journey.is-interactive .h2h-cards > .h2h-card::before {
	content: "";
	position: absolute;
	top: -8px;
	left: calc(var(--caret, 50%) - 7px);
	width: 14px;
	height: 14px;
	border-top: 1px solid var(--wp--preset--color--border-light);
	border-left: 1px solid var(--wp--preset--color--border-light);
	background: var(--wp--preset--color--base);
	transform: rotate(45deg);
}

@keyframes h2h-journey-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.h2h-journey.is-interactive .h2h-cards > .h2h-card {
		animation: none;
	}

	.h2h-journey.is-interactive :is(.h2h-route__stop, .h2h-steps__step) > *,
	.h2h-journey.is-interactive :is(.h2h-route__pin, .h2h-steps__num) {
		transition: none;
	}
}

/* Tidslinje med en beskrivelse under hver stilling (Om Kenneth). */
.h2h-timeline li .h2h-timeline__text {
	display: block;
	margin-top: .2rem;
	color: var(--wp--preset--color--secondary);
	font-size: .92rem;
	font-weight: 400;
	line-height: 1.5;
}

.h2h-timeline li:first-child::before {
	border-color: var(--wp--preset--color--primary-alt);
	background: var(--wp--preset--color--primary-alt);
}

/* Kontaktoplysninger i den mørke sektion */
.h2h-details {
	display: grid;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Varianter af det todelte layout */
.h2h-split--top {
	align-items: start;
}

/* Overskrifter midt i en kolonne får luft over sig. */
.h2h-stack > .wp-block-heading:not(:first-child) {
	margin-top: 1rem !important;
}

.h2h-split--model {
	grid-template-columns: 1.05fr .95fr;
}

.h2h-split--contact {
	grid-template-columns: 1.15fr .85fr;
}

.h2h-page-hero {
	max-width: 820px;
}

/* Rollen under navnet på Om Kenneth */
.h2h-role {
	color: var(--wp--preset--color--primary);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .02em;
}

/* Hop til ydelserne fra toppen af Ydelser */
.h2h-cards--jump {
	margin-top: clamp(28px, 4vw, 44px);
}

.h2h-card.h2h-jump {
	gap: .35rem;
	padding: 18px 22px;
}

.h2h-jump__link a {
	color: var(--wp--preset--color--main);
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.3rem;
	text-decoration: none;
}

.h2h-jump__link a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

/* Tjeklister og kompasset (ja/nej) */
.h2h-checklist,
.h2h-yes,
.h2h-no {
	display: grid;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h2h-checklist li,
.h2h-yes li,
.h2h-no li {
	position: relative;
	padding-left: 1.8rem;
}

.h2h-checklist li::before,
.h2h-yes li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: .3rem;
	width: .42rem;
	height: .8rem;
	border: solid var(--wp--preset--color--primary);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.h2h-no li::before {
	content: "";
	position: absolute;
	top: .78em;
	left: .15rem;
	width: .8rem;
	height: 2.5px;
	border-radius: 2px;
	background: var(--wp--preset--color--primary-alt);
}

.h2h-compass {
	border-top-width: 4px;
}

.h2h-compass--yes {
	border-top-color: var(--wp--preset--color--primary);
}

.h2h-compass--no {
	border-top-color: var(--wp--preset--color--primary-alt);
}

.h2h-compass li {
	color: var(--wp--preset--color--main);
}

/* Bloggen (Indsigter) */
.wp-block-h2h-insights-head {
	padding-right: var(--wp--style--root--padding-right, 1.5rem);
	padding-left: var(--wp--style--root--padding-left, 1.5rem);
}

.h2h-insights-head {
	display: grid;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size, 1260px);
	margin-inline: auto;
}

.h2h-insights-head > * {
	max-width: 820px;
}

.h2h-insights-head h1 {
	margin: 0;
	font-size: clamp(2.4rem, 5.4vw, 4.2rem);
}

/* Hvad siden er (venstre) og emnerne (højre) */
.h2h-insights-head > .h2h-insights-about {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
	max-width: none;
	margin-top: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--border-light);
}

.h2h-insights-about p {
	margin: 0 0 .75rem;
}

.h2h-insights-about .h2h-eyebrow {
	margin-bottom: .75rem;
}

@media (max-width: 880px) {
	.h2h-insights-head > .h2h-insights-about {
		grid-template-columns: 1fr;
	}
}

.wp-block-query.h2h-insights {
	padding-bottom: clamp(56px, 8vw, 104px);
}

.h2h-insights-empty {
	max-width: 640px;
}

/* En artikel (templates/single.html): én læsevenlig kolonne, citater som sidernes, og samme mørke
   afslutning som sidernes. */
.h2h-article__inner {
	box-sizing: content-box;
	max-width: 720px;
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left, 1.5rem);
}

.h2h-post-head {
	padding-bottom: clamp(24px, 3vw, 40px);
}

.h2h-post-head h1 {
	margin: .4rem 0 1rem;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	text-wrap: balance;
}

.h2h-article__body {
	font-size: 1.125rem;
	line-height: 1.7;
}

.h2h-article__body h2 {
	margin-top: 2.6rem;
	margin-bottom: .6rem;
	font-size: clamp(1.45rem, 2.4vw, 1.8rem);
}

.h2h-article__body h2 + p {
	margin-top: 0;
}

/* Citater skrevet i editoren (Citat og Fremhævet citat) står som sidernes citater. */
.h2h-article__body :is(.wp-block-pullquote, .wp-block-quote) {
	margin: 2.2rem 0;
	padding: 0;
	border: 0;
	text-align: left;
}

.h2h-article__body :is(.wp-block-pullquote, .wp-block-quote) :is(blockquote, p) {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: clamp(1.6rem, 3.2vw, 2.2rem);
	font-style: italic;
	line-height: 1.25;
	text-wrap: balance;
}

.h2h-article__image {
	box-sizing: content-box;
	max-width: 1100px;
	margin: 0 auto clamp(40px, 5vw, 64px) !important;
	padding-inline: var(--wp--style--root--padding-left, 1.5rem);
}

.h2h-article__image img {
	border-radius: 12px;
}

/* En model i en artikel står lidt luftigere end teksten omkring den. */
.h2h-article__body > .h2h-model {
	margin-block: 2.4rem !important;
}

/* Artikelkortet: billedet fylder kortets bredde øverst. */
.h2h-post-card__image {
	width: calc(100% + 56px) !important;
	max-width: none !important;
	margin: -28px -28px 0 !important;
}

.h2h-post-card__image img {
	width: 100%;
}

.h2h-post-card__image img {
	border-radius: 9px 9px 0 0;
}

.h2h-post-back {
	padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 80px);
}

.h2h-post-closing .h2h-section {
	padding-inline: var(--wp--style--root--padding-left, 1.5rem);
}

.h2h-post-closing .h2h-split {
	max-width: var(--wp--style--global--wide-size, 1260px);
	margin-inline: auto;
}

.h2h-post-closing h2 {
	margin: 0;
}

@media (max-width: 880px) {
	.h2h-post-closing .h2h-split {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Privatlivspolitik og anden løbende tekst */
.h2h-prose {
	max-width: 760px;
}

.h2h-prose h2 {
	margin-top: 2.2rem;
	font-size: 1.5rem;
}

/* Sektioner med foto (Cover-blokken): lys tekst på mørk tone, i både lyst og mørkt tema. */
.wp-block-cover.h2h-section--photo {
	padding: clamp(72px, 10vw, 136px) var(--wp--style--root--padding-right, 1.5rem) clamp(72px, 10vw, 136px) var(--wp--style--root--padding-left, 1.5rem);
	color: #F5F8FB;
}

.wp-block-cover.h2h-section--photo.h2h-hero {
	padding-top: clamp(96px, 12vw, 160px);
}

.h2h-section--photo .wp-block-cover__inner-container {
	width: 100%;
	color: #F5F8FB;
}

.h2h-section--photo :where(h1, h2, h3, p, li) {
	color: #F5F8FB;
}

.h2h-section--photo .h2h-lead,
.h2h-section--photo .h2h-eyebrow {
	color: rgba(245, 248, 251, .85);
}

.h2h-section--photo a:not(.wp-block-button__link) {
	color: #FFFFFF;
}

.h2h-section--photo .wp-block-button__link {
	background: #FFFFFF;
	color: #14202E;
}

.h2h-section--photo .wp-block-button__link:hover {
	background: #EAF0F5;
	color: #14202E;
}

.h2h-section--photo .is-style-outline .wp-block-button__link {
	border-color: #FFFFFF;
	background: transparent;
	color: #FFFFFF;
}

.h2h-section--photo .is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .12);
	color: #FFFFFF;
}

/* Kontaktformularen (Fluent Forms) i sitets stil */
.h2h-card.h2h-form-card {
	gap: 1.2rem;
	padding: clamp(22px, 3vw, 36px);
}

.h2h-form-card .fluentform .ff-el-group {
	margin-bottom: 18px;
}

.h2h-form-card .fluentform .ff-el-input--label label {
	color: var(--wp--preset--color--main);
	font-size: .9rem;
	font-weight: 600;
}

.h2h-form-card .fluentform .ff-el-is-required.asterisk-right label::after {
	color: var(--wp--preset--color--primary-alt);
}

.h2h-form-card .fluentform .ff-el-form-control {
	padding: .7rem .85rem;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 8px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--main);
	font: inherit;
}

.h2h-form-card .fluentform .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--primary);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary) 22%, transparent);
}

.h2h-form-card .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: var(--wp--preset--color--primary-alt);
}

.h2h-form-card .fluentform .text-danger,
.h2h-form-card .fluentform .error {
	color: var(--wp--preset--color--primary-alt);
	font-size: .85rem;
}

.h2h-form-card .fluentform .ff-el-help-message {
	margin-top: 6px;
	color: var(--wp--preset--color--secondary);
	font-size: .85rem;
	font-style: normal;
}

/* Valget af ydelse (radioknapper) */
.h2h-form-card .fluentform .ff-el-form-check {
	margin-bottom: 8px;
}

.h2h-form-card .fluentform .ff-el-form-check-label {
	display: flex;
	align-items: center;
	gap: .6rem;
	color: var(--wp--preset--color--main);
	cursor: pointer;
}

.h2h-form-card .fluentform .ff-el-form-check-input {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	accent-color: var(--wp--preset--color--primary);
}

.h2h-form-card .fluentform .ff-btn-submit {
	padding: .8rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.h2h-form-card .fluentform .ff-btn-submit:hover {
	background: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
}

.h2h-form-card .h2h-form-privacy {
	margin: 0;
	color: var(--wp--preset--color--secondary);
	font-size: .85rem;
}

.h2h-form-card .ff-message-success {
	padding: 16px 18px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-left: 3px solid var(--wp--preset--color--primary);
	border-radius: 0 8px 8px 0;
	background: var(--wp--preset--color--primary-accent);
	color: var(--wp--preset--color--main);
	box-shadow: none;
}

/* Mobil: kortgrupper står side om side og swipes vandret (Frederik 01.11.: tænk også sidelæns på
 * mobil). Hvert kort fylder ca. 85 %, så det næste kigger frem; prikkerne under viser, hvor man er
 * (site.js). Springlinkene (--jump) står som en liste. */
.h2h-swipe-dots {
	display: none;
}

@media (max-width: 880px) {
	.h2h-cards:not(.h2h-cards--jump) {
		display: flex;
		gap: 12px;
		padding: 2px 2px 6px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.h2h-cards:not(.h2h-cards--jump)::-webkit-scrollbar {
		display: none;
	}

	.h2h-cards:not(.h2h-cards--jump) > * {
		flex: 0 0 85%;
		scroll-snap-align: start;
	}

	.h2h-cards:not(.h2h-cards--jump) > :only-child {
		flex-basis: 100%;
	}

	.h2h-swipe-dots {
		display: flex;
		gap: 6px;
		justify-content: center;
		margin: .6rem 0 0 !important;
	}

	.h2h-swipe-dots button {
		width: 24px;
		height: 24px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.h2h-swipe-dots button::before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		margin: auto;
		border-radius: 50%;
		background: var(--wp--preset--color--border-light);
		transition: background .2s ease, transform .2s ease;
	}

	.h2h-swipe-dots button[aria-current="true"]::before {
		background: var(--wp--preset--color--primary);
		transform: scale(1.25);
	}
}

@media (max-width: 880px) and (prefers-reduced-motion: no-preference) {
	.h2h-cards:not(.h2h-cards--jump) {
		scroll-behavior: smooth;
	}
}

@media (max-width: 880px) {
	.h2h-cards,
	.h2h-split,
	.h2h-split--hero,
	.h2h-split--about,
	.h2h-split--model,
	.h2h-split--contact,
	.h2h-areas,
	.h2h-cards--two {
		grid-template-columns: 1fr;
	}
}


/* Sprogvalg ved første besøg: en lille dialog midt på siden (functions.php og site.js). */
.h2h-langdlg {
	box-sizing: border-box;
	width: min(calc(100vw - 32px), 25rem);
	padding: 1.9rem 1.5rem 1.4rem;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--main);
	box-shadow: 0 24px 60px rgba(14, 22, 32, .28);
	text-align: center;
}

.h2h-langdlg::backdrop {
	background: rgba(14, 22, 32, .45);
	backdrop-filter: blur(2px);
}

.h2h-langdlg[open] {
	animation: h2h-langdlg-in .22s ease-out;
}

@keyframes h2h-langdlg-in {
	from {
		opacity: 0;
		transform: translateY(8px) scale(.98);
	}
}

.h2h-langdlg .h2h-brand {
	pointer-events: none;
}

.h2h-langdlg__title {
	margin: 1.2rem 0 1.1rem;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.25;
}

.h2h-langdlg__title [aria-hidden] {
	color: var(--wp--preset--color--secondary);
}

.h2h-langdlg__choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .6rem;
}

.h2h-langdlg__choice {
	display: grid;
	gap: .2rem;
	padding: .9rem .75rem;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition: border-color .15s, background-color .15s;
}

.h2h-langdlg__choice strong {
	font-size: 1.05rem;
}

.h2h-langdlg__choice span {
	color: var(--wp--preset--color--secondary);
	font-size: .78rem;
}

.h2h-langdlg__choice:hover,
.h2h-langdlg__choice:focus-visible {
	border-color: var(--wp--preset--color--primary);
}

.h2h-langdlg__choice.is-suggested {
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.h2h-langdlg__choice.is-suggested span {
	color: inherit;
	opacity: .8;
}

.h2h-langdlg__note {
	margin: 1.1rem 0 0;
	color: var(--wp--preset--color--secondary);
	font-size: .78rem;
	line-height: 1.45;
}

.h2h-langdlg__close {
	position: absolute;
	top: .55rem;
	right: .6rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--wp--preset--color--secondary);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.h2h-langdlg__close:hover {
	color: var(--wp--preset--color--main);
}

@media (prefers-reduced-motion: reduce) {
	.h2h-langdlg[open] {
		animation: none;
	}
}
