/* ==========================================================================
   Substant Advisory – designlag 1:1 efter substant.dk
   Mål er aflæst direkte på substant.dk (computed styles) og gengivet her:
   - indholdsbredde 1970 px (række 2000 px med 15 px kolonneluft), ellers 15 px kant
   - sektionsoverskrifter 4,5vw / sideoverskrifter 5,5vw, linjehøjde 1, fed + kursiv linje
   - header 90 px (70 px ved scroll, rgba(32,57,70,.9)), menu 12,8 px fed versaler
   - ydelseskort: 4 kolonner i fuld bredde, 4 px hvid kant, radius 21 px, ikon 329 px
   - knapper: pille 99 px radius, 15,52 px fed versaler; CTA-knap 32 px med lime kant
   ========================================================================== */

:root {
	--radius: 20px;
	--radius-lg: 21px;
	/* Alle mål er taget fra substant.dk ved 2560 px skærmbredde og skaleres i forhold til skærmen:
	   1 --u = 1 px ved 2560 px bredde. max() sætter en nedre grænse, så tekst forbliver læsbar. */
	--u: calc(100vw / 2560);
	--pad-x: max(15px, calc(287.5 * var(--u)));
	--header-h: max(64px, calc(90 * var(--u)));
	--headline: 4.5vw;
	--headline-xl: 5.5vw;
	--section-y: max(40px, calc(60 * var(--u)));
	--white-soft: #f1f1f1;
}
@media (max-width: 849px) {
	:root { --headline: 8vw; --headline-xl: 10vw; --header-h: 64px; --pad-x: 20px; }
}

html { font-size: max(13px, calc(16 * var(--u))); }
body { --fs-body: max(16px, calc(19.2 * var(--u))); font-size: var(--fs-body); font-weight: 500; line-height: 1.6; color: var(--ink); }
strong, b { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; color: var(--navy); letter-spacing: 0; text-wrap: initial; }
h1 strong, h2 strong, h3 strong { font-weight: 700; }
html[lang] h1, html[lang] h2 { overflow-wrap: break-word; }

/* ---------- Overskrifter: som .service-headline-init på substant.dk ---------- */
.sa-l1 { display: block; font-weight: 700; margin-bottom: -.2em; }
.sa-accent { display: block; font-style: italic; font-weight: 400; }

.entry .sa-section > .wp-block-group__inner-container > h2,
.entry .sa-section > h2,
.entry .sa-split__head h2,
.sm-section__title,
.cases-teaser__title {
	font-size: var(--headline); line-height: 1; text-transform: uppercase; font-weight: 700;
	letter-spacing: 0; margin: 0 0 .3em; max-width: none; color: var(--navy);
}
/* Store versaloverskrifter må ikke knække ord: skriftstørrelsen begrænses af det længste ord (--lw sættes af temaet) og kolonnens bredde. */
.entry .sa-section > .wp-block-group__inner-container > h2,
.entry .sa-section > h2,
.entry .sa-split__head h2,
.sm-section__title,
.cases-teaser__title { font-size: min(var(--headline), calc(var(--colw, calc(100vw - 2 * var(--pad-x))) / (var(--lw, 1) * .84))); overflow-wrap: normal; }
.entry .sa-split__head { --colw: calc((100vw - 2 * var(--pad-x)) * .48); }
@media (max-width: 849px) { .entry .sa-split__head { --colw: calc(100vw - 2 * var(--pad-x)); } }
/* Overskrifter med accent: første linje fed, accentlinjen tynd kursiv */
:is(.entry .sa-section h2, .sm-section__title, .cases-teaser__title):has(.sa-accent) { font-weight: 400; }
/* Underoverskrift (som "UDVALGTE CASES"): 20 px, versaler, 1 px spatiering */
.sa-section-intro, .sm-section__intro {
	font-size: max(16px, calc(20 * var(--u))); line-height: 1.2; font-weight: 400; text-transform: uppercase; letter-spacing: 1px;
	color: var(--navy); max-width: none; margin: 0 0 max(30px, calc(60 * var(--u)));
}

/* ---------- Layout ---------- */
.sa-section { padding: var(--section-y) var(--pad-x); }
.sa-section.is-beige, .is-style-beige { background: var(--white); }
.sa-section.is-rule { border-top: 0; }
.sa-section:where(:not(.is-beige):not(.sa-hero):not(.sa-cta):not(.is-dark)) + .sa-section:where(:not(.is-beige):not(.sa-cta):not(.is-rule):not(.is-dark)) { padding-top: var(--section-y); }
.entry > :where(:not(.sa-section):not(.alignfull):not(.bde-shortcode)), .bde-shortcode:where(.entry > *) > :where(:not(.sa-section):not(.alignfull):not(.breakdance)) { max-width: calc(970px + 2 * 15px); }
.entry .sa-split, .sa-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: max(15px, calc(30 * var(--u))); align-items: start; }
.sa-split__body { font-size: var(--fs-body); padding-top: .4em; }
.sa-split__body p { max-width: none; }
.sa-intro { font-size: var(--fs-body); line-height: 1.6; color: var(--ink); }
/* Brødtekst: samme skrift, størrelse, vægt og farve i alle tekstafsnit */
.entry .sa-split :is(.sa-split__head, .sa-split__body) p:not(.sa-pillar__link) { font-size: var(--fs-body); line-height: 1.6; font-weight: 500; color: var(--ink); }
.sa-pillar__link { margin-top: max(15px, calc(30 * var(--u))); }
@media (max-width: 849px) {
	.entry .sa-split, .sa-split { grid-template-columns: 1fr; }
}

/* ---------- Knapper ---------- */
.btn,
.entry .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .35em;
	border-radius: 99px; text-transform: uppercase; font-weight: 700; letter-spacing: .03em;
	font-size: max(13px, calc(15.52 * var(--u))); line-height: 2.4; min-height: 2.5em; padding: 0 1.29em; border-width: 1px;
}
.btn--primary,
.entry .is-style-primary .wp-block-button__link,
.entry .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--navy); color: var(--white); border: 1px solid rgba(0, 0, 0, .05);
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}
.btn--primary:hover,
.entry .is-style-primary .wp-block-button__link:hover,
.entry .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--navy); border-color: rgba(0, 0, 0, .05);
	box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
}
.entry .is-style-outline .wp-block-button__link, .btn--ghost { background: transparent; border: 2px solid currentColor; box-shadow: none; }
/* Lime konturknap på mørk baggrund (som "KONTAKT >") */
:is(.is-dark, .sa-hero, .sa-cta, .page-hero) :is(.btn--primary, .is-style-primary .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link) {
	background: transparent; color: var(--lime); border: 2px solid var(--lime); box-shadow: none;
}
:is(.is-dark, .sa-hero, .sa-cta, .page-hero) :is(.btn--primary, .is-style-primary .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link):hover {
	background: var(--lime); color: var(--navy);
}
:is(.sa-cta, .page-hero) :is(.btn--primary, .is-style-primary .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link)::after { content: "›"; font-size: 1.25em; font-weight: 400; margin-left: .25em; line-height: 1; }
:is(.is-dark, .sa-hero, .page-hero) :is(.btn--ghost, .is-style-outline .wp-block-button__link) { color: var(--white); }
.btn--small { font-size: max(10px, calc(12.8 * var(--u))); min-height: 32px; line-height: 2.34; padding: 0 16px; }
/* "SE MERE": lille navy pille med skygge */
.btn--pill {
	display: inline-flex; align-items: center; min-height: 2.5em; padding: 0 1.29em; border-radius: 99px;
	background: var(--navy); color: var(--white); border: 1px solid rgba(0, 0, 0, .05);
	font: 700 max(13px, calc(15.52 * var(--u)))/2.4 var(--font); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
	transition: box-shadow .3s;
}
.btn--pill:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22); color: var(--white); }
/* Understregede tekstlinks som "LÆS ARTIKLEN" / "LÆS CASE >" */
.text-link, .sa-pillar__link a, .sm-card__more, .case-card__more {
	font-size: max(13px, calc(14.72 * var(--u))); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--navy);
	text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link:hover, .sa-pillar__link a:hover { border-bottom-color: var(--lime); }

/* ---------- Sidehoved ---------- */
.site-header {
	position: sticky; top: 0; background: rgba(32, 57, 70, .9); border-bottom: 0; box-shadow: none;
	-webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .3s, height .3s;
}
.site-header__inner { min-height: var(--header-h); padding: 0 15px; gap: 20px; transition: min-height .3s; }
.site-header.is-scrolled .site-header__inner { min-height: max(56px, calc(70 * var(--u))); }
.site-header.is-scrolled { box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.has-overlay-header .site-header.is-scrolled { background: rgba(32, 57, 70, .9); }
.admin-bar .site-header, .admin-bar.has-overlay-header .site-header { top: 32px; }

.brand { gap: 0; }
.brand__mark { width: max(140px, calc(200 * var(--u))); height: auto; color: var(--white); display: block; }
.brand__logo { max-height: 17px; width: auto; }
.brand__unit { display: none; }

.site-nav { gap: 0; }
.site-nav__primary .menu { gap: 0; }
.site-nav__primary .menu > li > a,
.site-nav__primary .menu a {
	font-size: max(10px, calc(12.8 * var(--u))); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.6;
	padding: .78em .55em; color: var(--white); border-radius: 0;
}
.site-nav__primary .menu > li > a::after { display: none; }
.site-nav__primary .menu > li > a:hover, .site-nav__primary .menu > .current-menu-item > a, .site-nav__primary .menu > .current-menu-ancestor > a { color: var(--white); opacity: .8; }
.submenu-toggle { width: 18px; margin-left: -4px; }
.site-nav__primary .sub-menu { border-radius: 0; padding: 10px 0; min-width: 260px; box-shadow: 1px 1px 15px rgba(0, 0, 0, .15); }
.site-nav__primary .sub-menu a { color: var(--navy); text-transform: none; letter-spacing: 0; font-size: max(13px, calc(14.4 * var(--u))); font-weight: 500; padding: 8px 20px; }
.site-nav__primary .sub-menu a:hover { background: rgba(0, 0, 0, .03); }
.site-nav__tools { gap: 0; }
.lang-switch__toggle {
	border: 0; border-radius: 0; padding: .78em .55em; font: 700 max(10px, calc(12.8 * var(--u)))/1.6 var(--font); letter-spacing: .02em; color: var(--white);
}
.lang-switch__list { border-radius: 0; }
/* "Kontakt os" som almindeligt menupunkt, som på substant.dk */
.site-header .site-nav__tools .btn.btn {
	background: none; border: 0; box-shadow: none; color: var(--white); min-height: 0; padding: .78em .55em;
	font-size: max(10px, calc(12.8 * var(--u))); line-height: 1.6; letter-spacing: .02em;
}
.site-header .site-nav__tools .btn.btn:hover { background: none; color: var(--white); opacity: .8; }
.site-header .site-nav__tools .btn.btn::after { content: none; }
.nav-toggle { font-size: max(10px, calc(12.8 * var(--u))); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; }
@media (max-width: 1024px) {
	.js .site-nav { background: var(--navy); top: 100%; }
	.site-nav__primary .menu > li > a { font-size: 16px; padding: 14px 0; }
	.site-nav__tools .btn { padding: 10px 0; }
	.has-overlay-header .site-header:has(.site-nav.is-open) { background: var(--navy); }
}
@media (max-width: 549px) { .brand__mark { width: 160px; } }

/* ---------- Forsidens hero (som videohero på substant.dk) ---------- */
.entry .sa-section.sa-hero {
	position: relative; min-height: 100vh; min-height: 100svh; padding: 0; display: flex; flex-direction: column; justify-content: flex-end;
	background: var(--navy); color: var(--white); overflow: hidden;
}
.sa-hero > .wp-block-group__inner-container { position: static; padding: 0 max(8px, calc(15 * var(--u))) max(13px, calc(26 * var(--u))) 14.65%; }
.sa-hero__text, .sa-hero__areas { position: relative; z-index: 2; }
.sa-hero__media { position: absolute; inset: 0; z-index: 0; }
.sa-hero__media img, .sa-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.sa-hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(32, 57, 70, .45); }
.sa-hero:not(.has-media) { background: radial-gradient(70% 80% at 72% 38%, #2c4a59 0%, var(--navy) 60%, #1b313c 100%); }
.entry .sa-hero__grid { display: block; margin: 0; padding: 0; }
.sa-hero__text { max-width: calc(1800 * var(--u)); }
.entry .sa-hero h1.sa-hero__title, .sa-hero__title {
	font-size: max(20.88px, calc(46.4 * var(--u))); line-height: 1; font-weight: 400; text-transform: uppercase; letter-spacing: .05em;
	color: var(--white); max-width: 87%; margin: 0 0 10px;
}
.sa-hero__title .sa-l1, .sa-hero__title .sa-accent { display: inline; font-weight: 400; font-style: normal; margin: 0; }
.sa-hero__title .sa-accent::before { content: "– "; }
/* Hero på substant.dk har kun overskrift og områderække */
.sa-hero__lead, .sa-hero .wp-block-buttons { display: none; }
.sa-hero__visual { position: absolute; z-index: 1; right: 6%; top: 50%; transform: translateY(-58%); width: min(34vw, max(320px, calc(640 * var(--u)))); opacity: .9; margin: 0; }
.sa-hero.has-media .sa-hero__visual { display: none; }
.sa-hero__visual .sa-diagram { max-width: none; width: 100%; margin: 0; }
.sa-hero__areas { margin: 0; padding: 0; border: 0; }
.sa-hero__areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; width: 80%; }
.sa-hero__areas li { width: max(150px, calc(240 * var(--u))); }
.sa-hero__areas li a { height: auto; overflow: visible; }
.sa-hero__areas a {
	display: block; height: 64px; overflow: hidden; padding: 0 2vw 0 0; color: var(--white-soft); text-decoration: none;
	font-size: max(16px, calc(20 * var(--u))); line-height: 1.6; font-weight: 500;
}
.sa-hero__areas a::before { content: none; }
.sa-hero__areas a:hover { color: var(--lime); }
@media (max-width: 1000px) { .sa-hero__areas { display: none; } }
@media (max-width: 849px) {
	.sa-hero > .wp-block-group__inner-container { padding: 0 15px 40px; }
	.sa-hero__text { max-width: none; }
	.entry .sa-hero h1.sa-hero__title, .sa-hero__title { font-size: min(7vw, calc((100vw - 30px) / (var(--lw, 1) * .86))); letter-spacing: .03em; max-width: 100%; overflow-wrap: normal; }
	.sa-hero__visual { right: auto; left: 50%; top: 14%; transform: translateX(-50%); width: 84vw; opacity: .35; }
}

/* ---------- Undersiders top ---------- */
.page-hero { background: var(--navy); }
.page-hero__inner { min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 30px) var(--pad-x) 60px; }
.page-hero__title {
	font-size: var(--headline-xl); line-height: 1; text-transform: uppercase; font-weight: 700; color: var(--beige);
	max-width: none; margin: 0 0 .25em; letter-spacing: 0;
}
.page-hero__title:not(.is-long) { font-size: min(var(--headline-xl), calc((100vw - 2 * var(--pad-x)) / (var(--lw, 1) * .84))); }
.page-hero__title:has(.sa-accent) { font-weight: 400; }
.page-hero__title .sa-accent { color: var(--beige); }
.page-hero__title.is-long { text-transform: none; font-size: max(3vw, max(16px, calc(34 * var(--u)))); line-height: 1.1; font-weight: 700; max-width: 26ch; }
.page-hero__lead { color: var(--white); font-size: max(16px, calc(19.2 * var(--u))); line-height: 1.4; max-width: 60ch; }
.breadcrumb { order: -1; margin-bottom: auto; }
.breadcrumb ol { font-size: max(10px, calc(12.8 * var(--u))); text-transform: uppercase; letter-spacing: .02em; font-weight: 700; margin-bottom: max(20px, calc(40 * var(--u))); }
.object-hero__eyebrow, .page-hero__code {
	display: inline-block; align-self: flex-start; font-size: max(10px, calc(11.04 * var(--u))); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
	color: var(--white); background: rgba(0, 0, 0, .4); padding: 2px 5px; border-radius: 2px; margin-bottom: max(10px, calc(20 * var(--u)));
}
.object-hero__actions { margin-top: max(10px, calc(20 * var(--u))); }
.object-hero__meta { color: rgba(255, 255, 255, .8); }

/* ---------- Ydelser: som "STRATEGISK AMAZON RÅDGIVNING" + servicekort ---------- */
.entry .sa-section.sa-services-teaser,
.entry .sa-section.sa-services-overview { background: var(--navy); color: var(--white); padding: max(15px, calc(30 * var(--u))) max(8px, calc(15 * var(--u))); --focus: var(--lime); }
.sa-services-teaser > .wp-block-group__inner-container {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: max(15px, calc(30 * var(--u))); align-items: center;
}
.sa-services-teaser .sa-split { grid-column: 1 / span 2; grid-row: 1; display: block; margin: 0; padding-left: max(25px, calc(50 * var(--u))); }
.sa-services-teaser .sa-split__head h2 {
	font-size: max(38.88px, calc(86.4 * var(--u))); line-height: .9; font-weight: 700; color: var(--white); text-transform: uppercase; margin: 0;
}
.sa-services-teaser .sa-split__body { padding: 0; margin-top: max(12px, calc(24 * var(--u))); }
.sa-services-teaser .sa-intro, .entry .sa-services-teaser .sa-split p:not(.sa-pillar__link) { color: var(--white); font-size: var(--fs-body); line-height: 1.6; max-width: 30em; }
.sa-services-teaser .sm-svc-groups { display: contents; }
.sa-services-teaser .sa-pillar__link { display: none; }
.sa-services-overview .sm-svc-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: max(15px, calc(30 * var(--u))); }
.sa-services-teaser .sm-svc-group:nth-child(1) { grid-column: 3; grid-row: 1; }
.sa-services-teaser .sm-svc-group:nth-child(2) { grid-column: 4; grid-row: 1; }

.sm-svc-group {
	position: relative; display: flex; flex-direction: column; align-self: stretch;
	border: 4px solid var(--white); border-radius: 21px; padding: max(17.5px, calc(35 * var(--u))) max(10px, calc(20 * var(--u))) max(23px, calc(46 * var(--u))) max(15px, calc(30 * var(--u))); background: transparent; color: var(--white);
}
.sm-svc-group__title {
	font-size: max(16.13px, calc(35.84 * var(--u))); line-height: 1.4; font-weight: 400; text-transform: uppercase; letter-spacing: .05em;
	color: var(--white); margin: 0 0 max(9px, calc(18 * var(--u))); padding: 0 max(10px, calc(20 * var(--u))) 0 0; border: 0;
}
.sm-svc-group__title .sa-l1 { margin: 0; }
.sm-svc-group__icon { display: flex; justify-content: center; margin: 0 0 max(25px, calc(50 * var(--u))); color: var(--white); }
.sm-svc-group__icon svg { width: 60%; max-width: max(164.5px, calc(329 * var(--u))); height: auto; aspect-ratio: 1; }
.sm-svc-group__desc { color: var(--white); font-size: max(16px, calc(19.2 * var(--u))); line-height: 1.4; margin: 0 max(10px, calc(20 * var(--u))) max(27.5px, calc(55 * var(--u))) 0; }
.sm-svc-group ul { margin: 0 max(10px, calc(20 * var(--u))) max(15px, calc(30 * var(--u))) 0; }
.sa-services-teaser .sm-svc-group ul { display: none; }
.sm-svc-group li a { color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 10px max(13px, calc(26 * var(--u))) 10px 0; }
.sm-svc-group li a::after { content: "›"; color: var(--white); top: 6px; font-size: max(16px, calc(22 * var(--u))); }
.sm-svc__name { color: var(--white); font-size: max(13px, calc(16 * var(--u))); font-weight: 700; }
.sm-svc__lead { color: rgba(255, 255, 255, .85); font-size: max(13px, calc(16 * var(--u))); }
.sm-svc-group__more { margin: auto 0 0; text-align: right; }
@media (max-width: 1100px) {
	.sa-services-teaser > .wp-block-group__inner-container, .sa-services-overview .sm-svc-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sa-services-teaser .sa-split { grid-column: 1 / -1; padding: 40px 0 10px; }
	.sa-services-teaser .sm-svc-group:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 649px) {
	.sa-services-teaser > .wp-block-group__inner-container, .sa-services-overview .sm-svc-groups { grid-template-columns: 1fr; }
	.sa-services-teaser .sa-split__head h2 { font-size: 46px; }
	.sm-svc-group__title { font-size: 24px; }
}

/* ---------- Nøglebeslutninger: som casekortene ---------- */
.sm-keydec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(15px, calc(30 * var(--u))); counter-reset: kd; }
.sm-keydec li {
	background: var(--white); border: 4px solid var(--navy); border-radius: 20px; padding: max(20px, calc(40 * var(--u))) max(20px, calc(40 * var(--u))) max(17px, calc(34 * var(--u))); min-height: 0;
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); gap: max(15px, calc(30 * var(--u))); transform: none;
	transition: box-shadow .3s;
}
.sm-keydec li:hover { transform: none; box-shadow: 0 19px 38px rgba(0, 0, 0, .19), 0 15px 12px rgba(0, 0, 0, .22); }
.sm-keydec__q { font-size: max(18px, calc(23.92 * var(--u))); line-height: 1.3; font-weight: 400; color: var(--navy); }
.sm-keydec__q::before { content: counter(kd, decimal-leading-zero); display: block; font-size: max(13px, calc(15.52 * var(--u))); font-weight: 700; font-style: normal; opacity: 1; color: var(--navy); letter-spacing: .03em; margin-bottom: max(8px, calc(12 * var(--u))); }
.sm-keydec__svc { align-self: flex-start; font-size: max(13px, calc(15.52 * var(--u))); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); text-decoration: none; }
.sm-keydec__svc::after { content: " ›"; font-weight: 400; }
.sm-keydec__svc:hover { text-decoration: none; opacity: .8; }
@media (max-width: 849px) { .sm-keydec { grid-template-columns: 1fr; } }

/* ---------- Sådan arbejder vi ---------- */
.sa-steps li { padding: max(16px, calc(24 * var(--u))) 0 max(16px, calc(24 * var(--u))) 64px; }
.sa-steps li::before { background: var(--navy); color: var(--white); border: 0; border-radius: 99px; font-weight: 700; }
.sa-steps strong { font-size: max(18px, calc(23.92 * var(--u))); font-weight: 400; text-transform: none; color: var(--navy); letter-spacing: 0; }

/* ---------- Temaer: kvadratiske fliser som artikelbillederne ---------- */
.sm-theme-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: max(15px, calc(30 * var(--u))); }
.sm-theme-tile, .entry .sa-section .sm-theme-tiles .sm-theme-tile:nth-child(n), .sm-theme-tiles .sm-theme-tile:nth-child(n) {
	aspect-ratio: 1 / 1; border-radius: 0; border: 0; justify-content: flex-end; padding: max(15px, calc(30 * var(--u))); color: var(--white);
	background: radial-gradient(80% 60% at 85% 10%, rgba(179, 234, 64, .12), transparent 60%), linear-gradient(160deg, #2a4857 0%, var(--navy) 45%, #172a33 100%);
}
.sm-theme-tile::after { display: none; }
.sm-theme-tile__type, .sm-theme-tiles .sm-theme-tile:nth-child(n) .sm-theme-tile__type { color: var(--lime); font-size: max(10px, calc(11.04 * var(--u))); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sm-theme-tile__title, .sm-theme-tiles .sm-theme-tile:nth-child(n) .sm-theme-tile__title { color: var(--white); font-size: max(16px, calc(30 * var(--u))); line-height: 1.1; font-weight: 700; text-transform: uppercase; }
.sm-theme-tile__msg { color: rgba(255, 255, 255, .85); font-size: max(13px, calc(16 * var(--u))); }
@media (max-width: 1100px) { .sm-theme-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .sm-theme-tiles { grid-template-columns: 1fr; } }

/* ---------- Kort generelt (metoder, relaterede) ---------- */
.sm-grid-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: max(15px, calc(30 * var(--u))); }
.sm-card { border: 4px solid var(--navy); border-radius: 20px; overflow: hidden; box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); }
.sm-card:hover { border-color: var(--navy); box-shadow: 0 19px 38px rgba(0, 0, 0, .19), 0 15px 12px rgba(0, 0, 0, .22); }
.sm-card--knowledge, .sm-card--analysis, .sm-card--method, .sm-card--case { border: 4px solid var(--navy); background: var(--white); }
.sm-card__body { padding: max(15px, calc(30 * var(--u))); flex: 1; display: flex; flex-direction: column; }
.sm-card__type { font-size: max(10px, calc(11.04 * var(--u))); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.sm-card__title { font-size: max(18px, calc(23.92 * var(--u))); line-height: 1.3; font-weight: 400; color: var(--navy); }
.sm-card__lead { font-size: max(13px, calc(16 * var(--u))); line-height: 1.6; }
.sm-card__more { align-self: flex-start; margin: auto 0 0; padding-top: 0; }
.sm-card__body > .sm-card__more { margin-top: max(8px, calc(16 * var(--u))); }

/* ---------- Viden: som "AMAZON VIDEN" – kvadratisk billede, centreret tekst ---------- */
.sm-grid-cards:has(.sm-card--knowledge, .sm-card--analysis) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) { border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis):hover { box-shadow: none; }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__media { border-radius: 0; overflow: hidden; aspect-ratio: 1 / 1; }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__body { padding: max(8px, calc(12.88 * var(--u))) 10px max(12.88px, calc(25.76 * var(--u))); text-align: center; align-items: center; background: var(--white); }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__type {
	display: inline-block; background: rgba(0, 0, 0, .4); color: var(--white); padding: 2px 5px; border-radius: 2px;
	font-size: max(10px, calc(11.04 * var(--u))); line-height: 1.2; margin: 0 0 6px;
}
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__topic { color: var(--white); }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__topic::before { background: var(--white); }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__title { font-size: max(18px, calc(23.92 * var(--u))); line-height: 1.3; font-weight: 400; margin: 0 0 .6em; }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__lead { font-size: max(16px, calc(18.4 * var(--u))); line-height: 1.6; color: var(--ink); }
.sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__more { align-self: center; margin-top: 10px; }
@media (max-width: 1100px) { .sm-grid-cards:has(.sm-card--knowledge, .sm-card--analysis) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .sm-grid-cards:has(.sm-card--knowledge, .sm-card--analysis) { grid-template-columns: 1fr; } }

/* Grafisk flise (artikler uden billede) – som artikelbillederne på substant.dk */
.sm-card__tile {
	position: relative; aspect-ratio: 1 / 1; display: flex; align-items: flex-end; padding: 8% 8% 13%; color: var(--white);
	background: radial-gradient(80% 60% at 85% 10%, rgba(179, 234, 64, .12), transparent 60%), linear-gradient(160deg, #2a4857 0%, var(--navy) 45%, #172a33 100%);
}
.sm-card__tile::before { content: none; }
.sm-card__tile-text { position: relative; padding-left: max(8px, calc(14 * var(--u))); border-left: 4px solid var(--lime); text-transform: uppercase; font-weight: 700; font-size: clamp(18px, 1.3vw, max(16px, calc(30 * var(--u)))); line-height: 1.15; }
.sm-card__tile-hi { color: var(--lime); }
.sm-card__tile-mark { position: absolute; right: 5%; bottom: 4%; width: 22%; height: auto; color: var(--white); }

/* ---------- Cases ---------- */
.cases-teaser__head { display: block; }
.case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(15px, calc(30 * var(--u))); }
.case-card { border: 4px solid var(--navy); border-radius: 20px; overflow: hidden; padding: max(20px, calc(40 * var(--u))) max(20px, calc(40 * var(--u))) 0; box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); }
.case-card__title { font-size: max(16px, calc(18 * var(--u))); font-weight: 400; line-height: 1.6; }
@media (max-width: 849px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Afsluttende opfordring: "HVORDAN KAN VI HJÆLPE DIG?" ---------- */
.entry .sa-section.sa-cta, .sa-cta, .sa-section.sa-cta {
	min-height: max(420px, calc(1040 * var(--u))); display: flex; flex-direction: column; justify-content: center; align-items: center;
	text-align: center; padding: max(15px, calc(30 * var(--u))) var(--pad-x); background: var(--navy); border: 0;
}
.sa-cta > .wp-block-group__inner-container { width: 100%; }
.sa-cta__title, .entry .sa-cta h2, .entry .sa-section.sa-cta > .wp-block-group__inner-container > h2 {
	font-size: max(34.56px, calc(76.8 * var(--u))); line-height: 1.3; font-weight: 700; text-transform: uppercase; color: var(--white);
	max-width: none; margin: 0 auto max(10px, calc(20 * var(--u)));
}
.sa-cta__title .sa-l1, .sa-cta__title .sa-accent { display: inline; font-style: normal; font-weight: 700; margin: 0; }
.home .sa-cta__body, .has-overlay-header .sa-cta__body { display: none; }
.sa-cta__body { color: rgba(255, 255, 255, .85); font-size: max(16px, calc(19.2 * var(--u))); margin: 0 auto max(10px, calc(20 * var(--u))); max-width: 60ch; }
.sa-cta .wp-block-buttons, .sa-cta__actions { justify-content: center; margin-top: 0; }
.sa-cta :is(.btn--primary, .is-style-primary .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link) {
	font-size: max(18px, calc(32 * var(--u))); line-height: 2.19; min-height: 2.5em; padding: 0 1.2em; border-radius: 74px; letter-spacing: .03em;
}
.sa-cta .btn--ghost { font-size: max(16px, calc(20 * var(--u))); min-height: max(30px, calc(60 * var(--u))); padding: 0 max(15px, calc(30 * var(--u))); }
@media (max-width: 849px) {
	.sa-cta__title, .entry .sa-cta h2 { font-size: 30.4px; }
	.sa-cta :is(.btn--primary, .is-style-primary .wp-block-button__link, .wp-block-button:not(.is-style-outline) .wp-block-button__link) { font-size: 20px; min-height: 56px; line-height: 50px; padding: 0 26px; }
	.entry .sa-section.sa-cta, .sa-cta { min-height: 60vh; }
}

/* ---------- Sidefod ---------- */
.site-footer { background: var(--navy); color: var(--white); font-size: max(13px, calc(16 * var(--u))); border: 0; }
.site-footer__inner {
	display: grid; grid-template-columns: minmax(0, 961fr) repeat(3, minmax(0, 300fr)); gap: max(15px, calc(30 * var(--u)));
	padding: max(47.5px, calc(95 * var(--u))) var(--pad-x) max(30px, calc(60 * var(--u))); padding-left: calc(var(--pad-x) + 24px); padding-right: calc(var(--pad-x) + 19px);
}
.site-footer__brand .brand { display: none; }
.site-footer__about { margin: 0; max-width: 36ch; font-size: max(16px, calc(19.2 * var(--u))); line-height: 1.6; color: var(--white); }
.site-footer__heading { font-size: max(16px, calc(19.2 * var(--u))); font-weight: 500; text-transform: uppercase; letter-spacing: 0; color: var(--white); margin: 0 0 max(12.5px, calc(25 * var(--u))); }
.site-footer__list { gap: 0; }
.site-footer__list li { line-height: 2.5; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { line-height: 1.6; padding: 8px 0; }
.site-footer__legal {
	display: flex; flex-direction: column; gap: max(10px, calc(20 * var(--u)));
	padding: 0 var(--pad-x) max(25px, calc(50 * var(--u))); border: 0; font-size: max(13px, calc(16 * var(--u))); color: var(--white-soft); font-style: normal;
}
.site-footer__legal p:first-child { align-self: flex-end; text-align: right; color: var(--white); }
.site-footer__legal p:last-child { font-style: italic; }
.site-footer__mark { padding: 0 var(--pad-x) max(30px, calc(60 * var(--u))); }
.site-footer__wordmark { width: 100%; height: auto; color: var(--white); display: block; }
@media (max-width: 1000px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; padding-left: 24px; padding-right: 24px; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 549px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Detaljer ---------- */
.lang-badge { border-radius: 2px; }
.sa-card { border-radius: 20px; }
.article-body h2, .sa-main h2 { text-transform: none; font-weight: 700; font-size: max(24px, calc(28 * var(--u))); }
.sm-filters select, .cf-field input, .cf-field textarea { border-radius: 99px; }
.cf-field textarea { border-radius: 15px; }

/* Moduloverskrifter på indholdssider står i en smallere kolonne: mindre end sektionsoverskrifter, ingen orddeling */
.sm-section__title { font-size: min(3vw, max(34.56px, calc(76.8 * var(--u))), calc(min(760px, 100vw - 2 * var(--pad-x)) / (var(--lw, 1) * .84))); overflow-wrap: normal; word-break: normal; }
@media (max-width: 849px) { .sm-section__title { font-size: min(8vw, calc((100vw - 2 * var(--pad-x)) / (var(--lw, 1) * .84))); } }

/* Mobil: faste læsestørrelser (skalering efter skærmbredde gælder fra 850 px og op) */
@media (max-width: 849px) {
	html { font-size: 16px; } body { --fs-body: 16px; font-size: 16px; }
	.site-nav__primary .menu a, .lang-switch__toggle, .site-header .site-nav__tools .btn.btn, .btn, .btn--pill, .entry .wp-block-button__link { font-size: 14px; }
	.sm-card__type, .object-hero__eyebrow, .sm-grid-cards :is(.sm-card--knowledge, .sm-card--analysis) .sm-card__type { font-size: 11px; }
}

/* Mega-menu for ydelser: forankret i højre side af sidehovedet, så den aldrig går ud over skærmkanten */
@media (min-width: 1025px) {
	.site-nav__primary .menu > li.menu-item--mega { position: static; }
	.site-nav__primary .sub-menu--mega,
	.site-nav__primary li.is-open > .sub-menu--mega,
	.site-nav__primary .menu > li:hover > .sub-menu--mega {
		left: auto; right: 15px; top: 100%; transform: none; width: min(880px, calc(100vw - 30px));
	}
	.site-nav__primary .sub-menu--mega { transform: translateY(-4px); }
	.site-nav__primary li.is-open > .sub-menu--mega, .site-nav__primary .menu > li:hover > .sub-menu--mega { transform: none; }
}

/* ---------- Rettelser efter gennemgang af alle sider ---------- */
/* Rækkekort ("Her bruger vi metoden", "Sådan kan vi hjælpe"): indrykket tekst i konturkort */
.sm-rows { display: grid; gap: 20px; }
.sm-card--row { border: 4px solid var(--navy); border-radius: 20px; background: var(--white); }
.sm-card--row:hover { border-color: var(--navy); }
.sm-card--row .sm-card__body { padding: max(18px, calc(30 * var(--u))) max(56px, calc(80 * var(--u))) max(18px, calc(30 * var(--u))) max(20px, calc(34 * var(--u))); }
.sm-card--row::after { right: max(20px, calc(34 * var(--u))); font-size: max(18px, calc(26 * var(--u))); }
/* Kortgitre med blandede korttyper: kort strækkes ikke til naboens højde */
.sm-grid-cards { align-items: start; }
/* Metodekort på mørk baggrund: hvid kontur som ydelseskortene */
.sm-method-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, calc(470 * var(--u)))), 1fr)); gap: max(15px, calc(30 * var(--u))); }
.sm-method { background: transparent; border: 4px solid var(--white); border-radius: 21px; padding: max(22px, calc(35 * var(--u))) max(20px, calc(30 * var(--u))); }
.sm-section:not(.is-dark) .sm-method, .sa-section:not(.is-dark) .sm-method { border-color: var(--navy); }
.sm-method__eyebrow { font-size: max(10px, calc(11.04 * var(--u))); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lime); }
.sm-method__title { font-size: max(18px, calc(28 * var(--u))); line-height: 1.25; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
.sm-method p { font-size: max(13px, calc(16 * var(--u))); }
/* Metodeoversigt: tal som på substant.dk uden lime streg */
.sm-method-row { grid-template-columns: max(60px, calc(140 * var(--u))) 1fr; gap: max(16px, calc(30 * var(--u))); }
.sm-method-row__n { font-size: max(30px, calc(76.8 * var(--u))); padding-bottom: 0; }
.sm-method-row__n::after { content: none; }
.sm-method-row__title { font-size: max(18px, calc(35.84 * var(--u))); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.sm-method-row p { font-size: max(13px, calc(16 * var(--u))); }
/* Filtre i viden: uden beige boks, pilleformede felter */
.sm-filters { background: none; padding: 0; border-radius: 0; margin-bottom: max(24px, calc(50 * var(--u))); gap: 12px 20px; }
.sm-filters label { font-size: max(10px, calc(12.8 * var(--u))); text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.sm-filters select { border: 2px solid var(--navy); padding: .6em 2.4em .6em 1em; font-size: max(13px, calc(16 * var(--u))); }
/* Kontaktboks og kortoverblik: samme radius som kortene */
.sa-contact__aside, .sa-card { border-radius: 20px; }
.site-nav__primary .sub-menu a:hover, .site-nav__primary .sub-menu .current-menu-item > a { background: rgba(32, 57, 70, .06); }
/* Undersider: helt mørkt sidehoved i toppen (ellers ses den hvide side gennem den halvgennemsigtige farve); halvgennemsigtigt ved scroll */
body:not(.has-overlay-header) .site-header { background: var(--navy); }
body:not(.has-overlay-header) .site-header.is-scrolled { background: rgba(32, 57, 70, .9); }

/* ---------- Breakdance: dets globale variabler peger på Substants design (selvhostet Montserrat, ingen Google Fonts) ---------- */
html:root {
	--bde-background-color: #FFFFFF;
	--bde-body-text-color: var(--ink);
	--bde-headings-color: var(--navy);
	--bde-links-color: var(--navy);
	--bde-links-color-hover: var(--navy);
	--bde-brand-primary-color: var(--navy);
	--bde-brand-primary-color-hover: #2b4a5a;
	--bde-body-font-family: var(--font);
	--bde-heading-font-family: var(--font);
	--bde-body-font-size: max(13px, calc(16 * var(--u)));
	--bde-h1-font-size: var(--fs-h1);
	--bde-h2-font-size: var(--fs-h2);
	--bde-h3-font-size: var(--fs-h3);
	--bde-h4-font-size: 1.125rem;
	--bde-h5-font-size: 1rem;
	--bde-h6-font-size: .875rem;
}
@media (max-width: 849px) { html:root { --bde-body-font-size: 16px; } }

/* ---------- Breakdance: indhold bygget i Breakdance bruger temaets klasser ---------- */
.entry > .breakdance, .entry > :has(> .breakdance), .entry .breakdance.canvas { max-width: none; margin: 0; padding: 0; }
.breakdance .bde-shortcode { display: contents; }
.sa-hero:not(.has-media):has(.sa-hero__media) { background: var(--navy); }
.sa-hero:has(.sa-hero__media) .sa-hero__visual { display: none; }
.sa-hero__visual .sa-diagram { display: block; height: auto; aspect-ratio: 1 / 1; }
.sa-hero__visual .sa-diagram svg { display: block; width: 100%; height: 100%; }
.breakdance .hide-if-no-cases:not(:has(article, .cases-teaser, .sm-card)) { display: none; }
/* Breakdance-indpakninger må ikke ændre layoutet: sidehovedet skal kunne være sticky/fixed i forhold til siden, og indholdet (Post Content) ligger direkte i .entry. */
body > .breakdance:has(> .bde-shortcode > .site-header), body > .breakdance:has(> .bde-shortcode > .site-footer) { display: contents; }
/* Kontaktsidens smalle sidekolonne: "Kontaktoplysninger" o.l. skal kunne stå på én linje */
@media (min-width: 782px) { .sa-contact__aside h2 { font-size: min(var(--fs-h2), 1.7vw); } }
:is(.is-dark, .sa-cta, .sa-hero, .page-hero) .sa-split p:not(.sa-pillar__link) { color: inherit; }
.article-body, .entry .sa-main { font-size: var(--fs-body); }

/* Ydelsesoversigten: grupperne fordeles i rækker af tre; en kort sidste række fylder hele bredden (5 grupper = 3 + 2), så intet kort står alene. */
@media (min-width: 1101px) {
	.sa-services-overview .sm-svc-groups { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.sa-services-overview .sm-svc-group { grid-column: span 2; }
	.sa-services-overview .sm-svc-group:nth-child(3n+1):nth-last-child(2),
	.sa-services-overview .sm-svc-group:nth-child(3n+1):nth-last-child(2) + .sm-svc-group { grid-column: span 3; }
	.sa-services-overview .sm-svc-group:nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
@media (min-width: 650px) and (max-width: 1100px) {
	.sa-services-overview .sm-svc-group:nth-child(odd):last-child { grid-column: 1 / -1; }
}
/* Links til et afsnit (fx #g_market) lander under det faste sidehoved, ikke bag det */
html { scroll-padding-top: calc(var(--header-h) + 24px); }
/* Trinlisten: nummeret står lodret centreret ud for hele trinnet (titel + tekst) */
.sa-steps li { min-height: 44px; }
.sa-steps li:last-child { padding-bottom: max(16px, calc(24 * var(--u))); }
.sa-steps li::before { top: 50%; transform: translateY(-50%); }

/* Undersider: den afsluttende opfordring fylder ikke en hel skærmhøjde (kun forsiden har den store CTA) */
body:not(.has-overlay-header) .entry .sa-section.sa-cta, body:not(.has-overlay-header) .entry .sa-cta {
	min-height: 0; padding-top: max(60px, calc(140 * var(--u))); padding-bottom: max(60px, calc(140 * var(--u)));
}
/* Mørk sektion efterfulgt af mørk CTA / sidefod: en tynd linje adskiller dem */
body:not(.has-overlay-header) .entry .sa-cta { border-top: 1px solid rgba(255, 255, 255, .15); }
.site-footer { border-top: 1px solid rgba(255, 255, 255, .15); }
/* Lister i indholdet har samme størrelse som brødteksten */
.entry :is(.wp-block-list, .sm-flow__col ul) li { font-size: var(--fs-body); }
/* Kontaktformular: rullemenuen ser ud som de andre felter */
.cf-field select { border: 1.5px solid #8a969d; border-radius: 99px; padding-left: 1em; padding-right: 2.4em; min-height: 50px; }
.cf-field select:hover { border-color: var(--navy); }
.cf-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--lime); }
/* Kontaktsiden: de to overskrifter (formular og kontaktoplysninger) har samme stil */
.entry .sa-contact :is(.sa-contact__form, .sa-contact__aside) > h2 { font-size: max(22px, calc(32 * var(--u))); line-height: 1.1; font-weight: 700; text-transform: none; }
.entry .sa-contact :is(.sa-contact__form, .sa-contact__aside) > h2 .sa-accent { font-weight: 400; }
@media (min-width: 782px) { .entry .sa-contact :is(.sa-contact__form, .sa-contact__aside) > h2 { font-size: min(max(22px, calc(32 * var(--u))), 1.7vw); } }
/* Metodeoversigten: beskrivelsen er brødtekst */
.sm-method-row p:not([class]) { font-size: var(--fs-body); line-height: 1.6; }

/* ---------- Commerce: de tre løsninger på forsiden (samme udtryk som ydelseskortene) ---------- */
.entry .sa-section.sa-solutions { background: var(--navy); color: var(--white); padding: max(30px, calc(60 * var(--u))) max(8px, calc(15 * var(--u))); --focus: var(--lime); }
.sa-solutions .sa-split { padding: 0 max(10px, calc(50 * var(--u))) max(20px, calc(40 * var(--u))); margin: 0; }
.entry .sa-solutions .sa-split__head h2 { color: var(--white); }
.entry .sa-section.sa-solutions .sa-split :is(.sa-split__head, .sa-split__body) p { color: var(--white); }
.entry .wp-block-columns.sa-solution-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: max(15px, calc(30 * var(--u))); margin: 0; }
.entry .sa-solution-card {
	display: flex; flex-direction: column; border: 4px solid var(--white); border-radius: 21px; color: var(--white);
	padding: max(17.5px, calc(35 * var(--u))) max(15px, calc(30 * var(--u))) max(23px, calc(46 * var(--u)));
}
.entry .sa-solution-card__title {
	font-size: max(16.13px, calc(35.84 * var(--u))); line-height: 1.3; font-weight: 400; text-transform: uppercase; letter-spacing: .05em;
	color: var(--white); margin: 0 0 max(9px, calc(18 * var(--u)));
}
.sa-solution-card__title .sa-l1 { margin: 0; }
.sa-solution-card__icon { display: flex; justify-content: center; margin: max(10px, calc(20 * var(--u))) 0 max(25px, calc(50 * var(--u))); color: var(--white); }
.sa-solution-card__icon svg { width: 45%; max-width: max(140px, calc(260 * var(--u))); height: auto; aspect-ratio: 1; }
.entry .sa-solution-card p.sa-solution-card__desc { color: var(--white); margin: 0 0 max(20px, calc(40 * var(--u))); }
.sa-solution-card__more { margin: auto 0 0; text-align: right; }
.entry .sa-solution-card__more a {
	display: inline-flex; align-items: center; min-height: 2.5em; padding: 0 1.29em; border-radius: 99px; background: var(--navy); color: var(--white);
	font: 700 max(13px, calc(15.52 * var(--u)))/2.4 var(--font); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); border: 1px solid rgba(255, 255, 255, .25);
}
.entry .sa-solution-card__more a::after { content: none; }
.entry .sa-solution-card__more a:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22); }
@media (max-width: 900px) { .entry .wp-block-columns.sa-solution-cards { grid-template-columns: 1fr; } }

/* Commerce: referencelogoer (rækken vises kun, når der er logoer) */
.sa-logos-section:not(:has(.sa-logos__item)) { display: none; }
.sa-logos__title { font-size: max(16px, calc(20 * var(--u))); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin: 0 0 max(20px, calc(40 * var(--u))); }
.sa-logos__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: max(20px, calc(40 * var(--u))) max(30px, calc(70 * var(--u))); }
.sa-logos__img { display: block; max-height: max(40px, calc(70 * var(--u))); width: auto; max-width: max(120px, calc(220 * var(--u))); object-fit: contain; filter: grayscale(1); opacity: .8; }

/* To kolonner med lister (løsningssider) */
.entry .wp-block-columns.sa-two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(20px, calc(60 * var(--u))); margin: 0; }
.sa-two-cols h3 { font-size: max(22px, calc(32 * var(--u))); line-height: 1.1; text-transform: none; margin: 0 0 .8em; }
@media (max-width: 849px) { .entry .wp-block-columns.sa-two-cols { grid-template-columns: 1fr; } }
/* Artikler som undersider (Commerce): samme læsespalte som vidensartiklerne */
.entry > .article-body { padding-top: max(30px, calc(60 * var(--u))); padding-bottom: var(--section-y); }
