/* ==========================================================================
   Aktuelt – main.css
   Alle mål er aflæst direkte fra Lovable-designet (1 css-px = 2 px i skærmbillederne).
   ========================================================================== */

:root {
	--primary: #162c6f;
	--fg: #12161f;
	--muted: #545b69;
	--border: #d3d7e1;
	--soft: #f7f9fc;
	--soft-2: #f9fafd;
	--soft-3: #f8f9fc;
	--dark: #12161f;
	--dark-text: #b8b9bb;
	--dark-subtle: #95969a;
	--dark-rule: #353941;
	--accent-light: #d7e1f6;
	--input-border: #66686e;
	--placeholder: #7d7f83;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--sans: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1280px;
	--gutter: 24px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--fg);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; }
.icon { flex-shrink: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto; margin: 0; overflow: visible; white-space: normal;
	top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--primary); font-weight: 600;
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Fælles tekstelementer */
.kicker {
	margin: 0;
	color: var(--primary);
	font-family: var(--sans);
	font-size: 11px;
	line-height: 16.5px;
	font-weight: 700;
	text-transform: uppercase;
}
.serif { font-family: var(--serif); font-weight: 400; }

/* Billeder med fast format */
.media { position: relative; overflow: hidden; background: #e9ecf2; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x2 { aspect-ratio: 3 / 2; }
a:hover .media img, .media a:hover img { transform: scale(1.02); }
.media img { transition: transform .5s ease; }

/* Overskrifter i kort */
.card-title, .hero-title, .feature-title, .list-title, .insight-item-title, .section-title, .article-title, .popular-title {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--fg);
}
.card-title a:hover, .hero-title a:hover, .list-title a:hover, .popular-title a:hover, .feature-title a:hover { color: var(--primary); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--border);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.header-inner {
	height: 80px;
	display: flex;
	align-items: center;
}
.site-logo {
	display: block;
	font-family: var(--serif);
	font-size: 48px;
	line-height: 1;
	color: var(--primary);
	white-space: nowrap;
}
.site-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.brand-divider {
	width: 1px;
	height: 32px;
	margin: 0 16px;
	background: rgba(22, 44, 111, .25);
}
.site-edition {
	display: block;
	margin-top: 4px;
	font-family: var(--serif);
	font-size: 24px;
	line-height: 24px;
	color: var(--primary);
	text-transform: uppercase;
	white-space: nowrap;
}
.custom-logo-link { display: block; }
.custom-logo { max-height: 48px; width: auto; }

.primary-nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: center;
	margin: 0 32px;
}
.primary-menu {
	display: flex;
	gap: 32px;
	list-style: none;
}
.primary-menu a {
	display: block;
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	color: var(--fg);
	transition: color .15s;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-cat > a { color: var(--primary); }
.primary-menu .sub-menu { display: none; }

.header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}
.icon-btn {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--fg);
	transition: color .15s;
}
.icon-btn:hover { color: var(--primary); }
.btn-subscribe {
	height: 36px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	background: var(--primary);
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background .15s;
}
.btn-subscribe:hover { background: #0f2156; }
.menu-toggle { display: none; }

/* Søgepanel */
.search-panel {
	display: none;
	border-top: 1px solid var(--border);
	background: #fff;
}
.search-panel.is-open { display: block; }
.search-form {
	display: flex;
	gap: 12px;
	padding: 20px 0;
}
.search-form .search-field {
	flex: 1;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 0;
	background: #fff;
	font-size: 16px;
	outline: none;
}
.search-form .search-field:focus { border-color: var(--primary); }
.search-form .search-submit {
	height: 44px;
	padding: 0 24px;
	background: var(--primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

/* Mobilmenu */
.mobile-menu {
	display: none;
	border-top: 1px solid var(--border);
	background: #fff;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; padding: 8px 0 16px; }
.mobile-menu li a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	font-family: var(--serif);
	font-size: 24px;
	line-height: 1.25;
}
.mobile-menu .sub-menu { padding: 0 0 0 16px; }

/* ==========================================================================
   Forside
   ========================================================================== */

/* Top: tophistorie + sidekolonne */
.fp-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24rem;
	gap: 40px;
	padding: 40px 0 56.5px;
	border-bottom: 1px solid var(--border);
}
.fp-hero .kicker { margin-top: 20px; }
.hero-title {
	margin-top: 12px;
	font-size: 60px;
	line-height: 1.02;
}
.fp-hero .dek {
	margin-top: 16px;
	max-width: 672px;
	color: var(--muted);
	font-size: 18px;
	line-height: 28px;
}
.fp-side {
	border-left: 1px solid var(--border);
	padding-left: 40px;
}
.fp-side-item + .fp-side-item {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}
.fp-side-item .media-link + .kicker { margin-top: 16px; }
.card-title {
	font-size: 24px;
	line-height: 1.25;
}
.kicker + .card-title { margin-top: 8px; }

/* Tre kort */
.fp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding-top: 36px;
}
.card .media-link + .kicker,
.card .media-link + .card-title { margin-top: 16px; }
.media-link { display: block; }

/* Langlæsning */
.fp-feature {
	margin-top: 79.5px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	align-items: center;
	padding: 56px 32px;
	background: var(--soft);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.feature-title {
	margin-top: 16px;
	font-size: 60px;
	line-height: 1.035;
}
.feature-title em {
	font-style: italic;
	color: var(--primary);
}
.fp-feature .dek {
	margin-top: 22px;
	color: var(--muted);
	font-size: 16px;
	line-height: 29.5px;
}
.link-arrow {
	margin-top: 24px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--primary);
	color: var(--primary);
	font-size: 12px;
	line-height: 18px;
	font-weight: 700;
	text-transform: uppercase;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Liste + Aktuelt Indsigt */
.fp-lower {
	margin-top: 80px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 296px;
	gap: 48px;
	align-items: start;
}
.fp-list {
	list-style: none;
	border-top: 1px solid var(--border);
}
.fp-list li { padding: 32px 0; }
.fp-list li:first-child { padding-top: 0; }
.fp-list li + li { border-top: 1px solid var(--border); }
.list-title {
	margin-top: 7.5px;
	font-size: 36px;
	line-height: 1.25;
}
.list-byline {
	margin-top: 11.5px;
	color: var(--muted);
	font-size: 12px;
	line-height: 18px;
}

.fp-insight {
	background: var(--primary);
	color: #fff;
	padding: 28px;
}
.fp-insight .kicker {
	color: #fff;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.insight-list { list-style: none; }
.insight-list li { padding: 24px 0; }
.insight-list li + li { border-top: 1px solid rgba(255, 255, 255, .2); }
.insight-list li:last-child { padding-bottom: 0; }
.insight-item-title {
	color: #fff;
	font-size: 24px;
	line-height: 1.25;
}
.insight-item-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Nyhedsbrev */
.fp-newsletter {
	margin: 80px 0 120px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 613px);
	gap: 40px;
	align-items: center;
	padding: 40px;
	background: var(--dark);
	color: #fff;
}
.fp-newsletter .kicker { color: var(--accent-light); }
.newsletter-title {
	margin-top: 8px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.2;
	color: #fff;
}
.newsletter-text {
	margin-top: 12px;
	max-width: 448px;
	color: var(--dark-text);
	font-size: 14px;
	line-height: 24.5px;
}
.newsletter-form {
	display: flex;
	align-items: stretch;
	gap: 12px;
}
.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--input-border);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 14px;
	outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: var(--placeholder); opacity: 1; }
.newsletter-form input[type="email"]:focus { border-color: var(--accent-light); }
.newsletter-form button {
	flex: none;
	height: 44px;
	padding: 0 24px;
	background: var(--accent-light);
	color: var(--primary);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	text-transform: uppercase;
	transition: background .15s;
}
.newsletter-form button:hover { background: #fff; }

/* ==========================================================================
   Artikelside
   ========================================================================== */
.adbar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px var(--gutter);
	background: var(--soft-2);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	color: var(--primary);
	font-size: 11px;
	line-height: 16.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.site-header + .adbar { border-top-width: 1px; }

.article { max-width: 976px; margin: 0 auto; }
.article-header { padding-top: 64px; }
.article-header .kicker a { color: inherit; text-decoration: none; }
.article-header .kicker a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Titel og manchet holder deres bredde; stregerne og knapperne følger billedet (976px). */
.article-header > :not(.article-meta) { max-width: 896px; }
.article-title {
	margin-top: 20px;
	font-size: 96px;
	line-height: .95;
}
.article-dek {
	margin-top: 28px;
	max-width: 768px;
	color: var(--muted);
	font-size: 24px;
	line-height: 32px;
}
.article-meta {
	margin-top: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.byline-name {
	font-size: 14px;
	line-height: 14px;
	font-weight: 600;
	color: var(--fg);
}
.byline-name a:hover { color: var(--primary); }
.byline-date {
	margin-top: 8px;
	color: var(--muted);
	font-size: 12px;
	line-height: 18px;
}
.article-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
.btn-listen {
	height: 32px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
	color: var(--fg);
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	transition: border-color .15s, color .15s;
}
.btn-listen:hover, .btn-listen.is-playing { border-color: var(--primary); color: var(--primary); }
.icon-btn.is-active { color: var(--primary); }

/* Del-boks */
.share { position: relative; }
.share-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: -8px;
	z-index: 40;
	width: 216px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: 0 12px 32px rgba(18, 22, 31, .12), 0 2px 6px rgba(18, 22, 31, .06);
}
.share-menu[hidden] { display: none; }
.share-menu::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 19px;
	width: 10px;
	height: 10px;
	background: #fff;
	border-top: 1px solid var(--border);
	border-left: 1px solid var(--border);
	transform: rotate(45deg);
}
.share-menu-title {
	margin: 0;
	padding: 6px 10px 8px;
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--muted);
}
.share-item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--fg);
	font-family: var(--sans);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.share-item:hover, .share-item:focus-visible { background: var(--soft); color: var(--primary); outline: none; }
.share-item .icon { color: var(--primary); }
.share-item.is-copied { color: #1c6b3a; }
.share-item.is-copied .icon { color: #1c6b3a; }
.action-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 16px);
	opacity: 0;
	pointer-events: none;
	background: var(--dark);
	color: #fff;
	font-size: 13px;
	padding: 10px 16px;
	transition: opacity .2s, transform .2s;
	z-index: 60;
}
.action-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.article-figure { margin-top: 40px; }
.article-figure figcaption {
	margin-top: 8.5px;
	color: var(--muted);
	font-size: 12px;
	line-height: 18px;
}
.article-body {
	max-width: 680px;
	margin: 49.5px auto 0;
	padding-bottom: 64px;
}
.article-body.no-figure { margin-top: 48px; }

/* Brødtekst */
.entry-content {
	font-family: var(--serif);
	font-size: 20px;
	line-height: 34px;
	color: var(--fg);
	overflow-wrap: break-word;
}
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 28px; }
.entry-content a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.1;
}
.entry-content > * + h2 { margin-top: 46px; }
.entry-content > h2 + * { margin-top: 22px; }
.entry-content h3 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.15;
}
.entry-content > * + h3 { margin-top: 40px; }
.entry-content > h3 + * { margin-top: 16px; }
.entry-content h4 {
	font-family: var(--sans);
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--primary);
}
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: 8px; }
.entry-content li::marker { color: var(--primary); }

.entry-content blockquote,
.entry-content .wp-block-quote,
.entry-content .wp-block-pullquote {
	margin-top: 48px;
	margin-bottom: 0;
	padding: 0 0 0 28px;
	border-left: 4px solid var(--primary);
	font-family: var(--serif);
	font-size: 30px;
	line-height: 37.5px;
	color: var(--fg);
	text-align: left;
}
.entry-content .wp-block-pullquote { border-top: 0; border-bottom: 0; }
.entry-content .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; font-size: inherit; line-height: inherit; }
.entry-content blockquote p { margin: 0; }
.entry-content blockquote p + p { margin-top: 12px; }
.entry-content blockquote cite,
.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 12px;
	font-family: var(--sans);
	font-style: normal;
	font-size: 12px;
	line-height: 18px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--muted);
}
.entry-content > blockquote + *,
.entry-content > .wp-block-quote + *,
.entry-content > .wp-block-pullquote + * { margin-top: 48px; }

/* Automatisk initial (stort begyndelsesbogstav) */
.has-auto-dropcap .entry-content > p:first-child::first-letter,
.entry-content .has-drop-cap:not(:focus)::first-letter {
	float: left;
	font-family: var(--serif);
	font-size: 72px;
	line-height: .9;
	margin: -3px 12px 0 0;
	font-weight: 400;
	font-style: normal;
	text-transform: none;
	color: var(--fg);
}

.entry-content figure,
.entry-content .wp-block-image { margin-top: 40px; }
.entry-content figure + * { margin-top: 40px; }
.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 8px;
	font-family: var(--sans);
	font-size: 12px;
	line-height: 16px;
	color: var(--muted);
	text-align: left;
}
.entry-content .alignwide { margin-left: -148px; margin-right: -148px; max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .alignfull img, .entry-content .alignwide img { width: 100%; }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin-top: 48px; }
.entry-content > hr + * { margin-top: 48px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; line-height: 20px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
.entry-content iframe, .entry-content .wp-block-embed { max-width: 100%; }

.article-tags {
	margin-top: 48px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}
.article-tags a {
	display: block;
	padding: 6px 12px;
	border: 1px solid var(--border);
	background: var(--soft-3);
	color: var(--fg);
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	transition: border-color .15s, color .15s;
}
.article-tags a:hover { border-color: var(--primary); color: var(--primary); }

/* Læs også / Populære nu */
.article-section { border-top: 1px solid var(--border); }
.article-section .article { padding: 48px 0 51px; }
.article-section--related .article { padding: 50px 0 48.5px; }
.article-section--related .section-title { margin-bottom: 26px; }
.related-grid .kicker + .card-title { margin-top: 7.5px; }
.section-title {
	margin: 0 0 27px;
	font-size: 30px;
	line-height: 1.1;
}
.related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.related-grid .media-link + .kicker { margin-top: 11.5px; }

.article-section--popular .article { padding-bottom: 128px; }
.popular-list { list-style: none; }
.popular-list li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 128px;
	gap: 24px;
	align-items: center;
	padding: 20px 0;
}
.popular-list li + li { border-top: 1px solid var(--border); }
.popular-num {
	font-family: var(--serif);
	font-size: 36px;
	line-height: 1;
	color: var(--primary);
}
.popular-title {
	margin-top: 4px;
	font-size: 24px;
	line-height: 1.25;
}
.popular-list .media { width: 128px; }

/* ==========================================================================
   Guides (indlæg med blokken "Guide-sted")
   ========================================================================== */
.is-guide .article-body { max-width: 976px; }
.is-guide .article-body.no-figure { margin-top: 48px; }
.is-guide .entry-content > :not(.guide-place):not(.guide-toc):not(.alignwide):not(.alignfull) { max-width: 636px; }
.is-guide .article-tags { margin-top: 64px; }

.entry-content > .guide-toc:first-child,
.entry-content > .guide-place:first-child { margin-top: 0; }
.guide-toc {
	padding: 24px;
	border: 1px solid var(--border);
	background: var(--soft-3);
}
.entry-content .guide-toc-list {
	margin-top: 15px;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 6px;
}
.entry-content .guide-toc-list li {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-family: var(--serif);
	font-size: 20px;
	line-height: 28px;
}
.guide-toc-num { color: var(--primary); }
.entry-content .guide-toc-list a { color: var(--fg); text-decoration: none; }
.entry-content .guide-toc-list a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.entry-content > .guide-place { margin-top: 80px; }
.entry-content > .guide-toc + .guide-place { margin-top: 64px; }
.guide-place {
	padding-top: 34px;
	border-top: 2px solid var(--primary);
	scroll-margin-top: 100px;
}
/* Streg under det sidste sted, så listen er adskilt fra teksten nedenunder. */
.guide-place.is-last { padding-bottom: 64px; border-bottom: 2px solid var(--primary); }
.entry-content > .guide-place.is-last + * { margin-top: 56px; }
.guide-place-head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 31.5px;
}
.guide-place-num {
	font-family: var(--serif);
	font-size: 60px;
	line-height: 1;
	color: var(--primary);
}
.entry-content .guide-place-name {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.1;
	color: var(--fg);
}
.entry-content .guide-place-name a { color: inherit; text-decoration: none; }
.entry-content .guide-place-name a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.guide-place-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}
.guide-place .guide-place-figure { margin: 0; }
.guide-place .guide-place-figure figcaption {
	margin-top: 6.5px;
	font-family: var(--sans);
	font-size: 12px;
	line-height: 18px;
	color: var(--muted);
}
.guide-place .guide-place-text {
	margin-top: 24px;
	font-size: 19.2px;
	line-height: 1.7;
}
.guide-place-figure + .guide-place-text,
.guide-place-main > .guide-place-text:first-child { margin-top: 24px; }
.guide-place-main > .guide-place-text:first-child { margin-top: 0; }
.guide-place-text > * { margin: 0; }
.guide-place-text > * + * { margin-top: 20px; }
.guide-place-text h3, .guide-place-text h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.guide-place-text > blockquote { font-size: 24px; line-height: 1.3; margin-top: 28px; }

.guide-facts {
	padding: 24px;
	background: var(--primary);
	color: #fff;
}
.guide-facts .kicker { color: #bac6e4; }
.entry-content .guide-facts-list {
	margin-top: 18.5px;
	padding: 0;
	list-style: none;
}
.entry-content .guide-facts-list li {
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--sans);
	font-size: 14px;
	line-height: 20px;
}
.entry-content .guide-facts-list li + li { margin-top: 16px; }
.guide-facts-list .icon { margin-top: 2px; }
.entry-content .guide-facts a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.entry-content .guide-facts a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content .guide-facts a:hover { text-decoration-color: #fff; }
.guide-facts-list span { overflow-wrap: anywhere; }
.guide-hours {
	margin: 8px 0 0;
	padding-left: 28px;
	font-family: var(--sans);
	font-size: 14px;
	line-height: 20px;
}
.guide-hours-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
}
.guide-hours-row + .guide-hours-row { border-top: 1px solid rgba(255, 255, 255, .15); }
.guide-hours dt { color: #bac6e4; }
.guide-hours dd { margin: 0; font-weight: 500; text-align: right; }

@media (max-width: 1023px) {
	.guide-place-grid { grid-template-columns: 1fr; gap: 24px; }
	/* Praktisk info lige under billedet på mindre skærme */
	.guide-place-main { display: contents; }
	.guide-place-figure { order: 1; }
	.guide-facts { order: 2; }
	.guide-place .guide-place-text { order: 3; margin-top: 0; }
	.is-guide .entry-content > :not(.guide-place):not(.guide-toc) { max-width: none; }
}
@media (max-width: 640px) {
	.guide-place.is-last { padding-bottom: 40px; }
	.entry-content > .guide-place.is-last + * { margin-top: 40px; }
	.entry-content .guide-toc-list { grid-template-columns: 1fr; }
	.guide-toc { padding: 20px; }
	.entry-content > .guide-place { margin-top: 56px; }
	.entry-content > .guide-toc + .guide-place { margin-top: 48px; }
	.guide-place { padding-top: 24px; }
	.guide-place-head { gap: 12px; margin-bottom: 20px; }
	.guide-place-num { font-size: 44px; }
	.entry-content .guide-place-name { font-size: 34px; }
	.guide-place .guide-place-text { font-size: 18px; }
	.guide-place-figure { margin-left: calc(var(--gutter) * -1) !important; margin-right: calc(var(--gutter) * -1) !important; }
	.guide-place-figure figcaption { padding: 0 var(--gutter); }
}

/* ==========================================================================
   Arkiv / søgning / sider
   ========================================================================== */
.archive-header {
	padding: 64px 0 40px;
	border-bottom: 1px solid var(--border);
}
.archive-title {
	margin-top: 12px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 72px;
	line-height: 1;
}
.archive-description {
	margin-top: 20px;
	max-width: 672px;
	color: var(--muted);
	font-size: 18px;
	line-height: 28px;
}
.archive-description p + p { margin-top: 12px; }
.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
	padding: 40px 0 0;
}
.archive-grid .dek {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
	line-height: 22px;
}
.archive-grid .card-meta {
	margin-top: 12px;
	color: var(--muted);
	font-size: 12px;
	line-height: 18px;
}
.archive-empty { padding: 48px 0; color: var(--muted); font-size: 18px; }
.archive-empty .search-form { max-width: 640px; }

.archive-main { padding-bottom: 120px; }
.pagination {
	margin: 64px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pagination .page-numbers {
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination .dots { border: 0; }

.page-article { padding-bottom: 80px; }
.page-header { padding-top: 80px; }
.page-header .kicker + .page-title { margin-top: 16px; }
.page-title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 72px;
	line-height: 1;
	color: var(--fg);
}
.page-header .article-dek { margin-top: 24px; }
.page-content { margin-top: 32px; }
.page-content > p,
.page-content > ul,
.page-content > ol,
.page-content > h2,
.page-content > h3,
.page-content > h4,
.page-content > blockquote,
.page-content > .wp-block-quote,
.page-content > figure:not(.alignwide):not(.alignfull) { max-width: 672px; }
.entry-content.page-content > p + p { margin-top: 24px; }

.error-404 { padding: 96px 0 120px; }
.error-404 .article-title { margin-top: 20px; }
.error-404 p { margin-top: 20px; max-width: 560px; color: var(--muted); font-size: 18px; line-height: 28px; }
.error-404 .search-form { max-width: 640px; margin-top: 24px; }

/* Kommentarer */
.comments-area { max-width: 680px; margin: 0 auto; padding-bottom: 64px; }
.comments-area .section-title { margin-bottom: 20px; }
.comment-list { list-style: none; }
.comment-list .comment { padding: 20px 0; border-top: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author { font-size: 14px; font-weight: 600; }
.comment-metadata { font-size: 12px; color: var(--muted); }
.comment-content { margin-top: 8px; font-family: var(--serif); font-size: 18px; line-height: 28px; }
.comment-respond { margin-top: 24px; }
.comment-form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1px solid var(--border); padding: 10px 12px; font-size: 16px; border-radius: 0;
}
.comment-form .submit { height: 40px; padding: 0 20px; background: var(--primary); color: #fff; border: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--dark);
	color: #fff;
	border-top: 1px solid var(--border);
}
.footer-main {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 48px;
}
.footer-brand { grid-column: span 2; }
.footer-logo {
	display: inline-block;
	font-family: var(--serif);
	font-size: 36px;
	line-height: 38px;
	color: #fff;
}
.footer-desc {
	margin-top: 16px;
	max-width: 448px;
	color: var(--dark-text);
	font-size: 14px;
	line-height: 24px;
}
.footer-col-title {
	color: var(--dark-subtle);
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
}
.footer-menu {
	list-style: none;
	margin-top: 15px;
	font-size: 14px;
	line-height: 20px;
}
.footer-menu li + li { margin-top: 8px; }
.footer-menu a {
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	transition: color .15s;
}
.footer-menu a:hover { color: var(--accent-light); }
.footer-bottom-wrap {
	max-width: var(--container);
	margin: 0 auto;
	border-top: 1px solid var(--dark-rule);
}
.footer-bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22.5px var(--gutter) 55.5px;
	color: var(--dark-subtle);
	font-size: 12px;
	line-height: 18px;
}
.legal-menu { display: flex; flex-wrap: wrap; list-style: none; font-size: 12px; line-height: 18px; }
.copyright { margin: 0; }
.legal-menu li + li::before { content: "\00a0·\00a0"; }
.legal-menu a:hover { color: #fff; }

/* ==========================================================================
   Responsivt
   ========================================================================== */
/* ==========================================================================
   Virksomhedssider (skabelonen "Virksomhedskategori" + blokken "Virksomhed")
   ========================================================================== */
.page-article.company-page { padding-bottom: 117.5px; }
.company-page .page-header { padding-top: 61.5px; }
.company-page .page-header .article-dek { max-width: 768px; margin-top: 26.5px; }

/* Den blå boks */
.company-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	max-width: 896px;
	margin-top: 40px;
	padding: 40px;
	background: var(--primary);
	color: #fff;
}
.company-cta-text { flex: 1; min-width: 0; max-width: 540px; }
.company-cta .kicker { color: #a9b4d2; }
.company-cta-title {
	margin-top: 6.5px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.1;
	color: #fff;
}
.company-cta-body {
	margin-top: 12px;
	font-size: 14px;
	line-height: 24.5px;
	color: rgba(255, 255, 255, .78);
}
.company-cta-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 31.5px;
	background: var(--accent-light);
	color: var(--primary);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background .15s;
}
.company-cta-btn:hover { background: #fff; }

/* Brødtekst på virksomhedssider: Work Sans som i designet */
.entry-content.company-content { margin-top: 49px; font-family: var(--sans); font-size: 16px; line-height: 32px; color: var(--fg); }
.company-content.page-content > p,
.company-content.page-content > ul,
.company-content.page-content > ol,
.company-content.page-content > h2,
.company-content.page-content > h3 { max-width: 768px; }
.company-content.entry-content > p + p { margin-top: 20px; }
.entry-content.company-content h2 { font-size: 48px; line-height: 1.1; }
.company-content.entry-content > * + h2 { margin-top: 72px; }
.company-content.entry-content > h2 + * { margin-top: 27.5px; }
.entry-content.company-content h3 { font-size: 30px; line-height: 1.2; }
.company-content.entry-content > * + h3 { margin-top: 35.5px; }
.company-content.entry-content > h3 + * { margin-top: 20.5px; }

/* Listen */
body .entry-content h2.company-list-title {
	max-width: none;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--fg);
	font-family: var(--sans);
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--fg);
}
.entry-content > .company-list-title + .company { margin-top: 0; }
.entry-content > .company + .company { margin-top: 0; }
.company {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 16px;
	padding: 33px 0 32px;
	border-bottom: 1px solid var(--border);
	font-family: var(--sans);
}
.company-num,
.entry-content .company .company-name {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.15;
}
.company-num { color: var(--primary); }
.entry-content .company .company-name { margin: 0; color: var(--fg); }
.entry-content .company-name a { color: inherit; text-decoration: none; }
.entry-content .company-name a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.company-desc {
	grid-column: 2;
	max-width: 672px;
	margin: 9.5px 0 0;
	font-size: 14px;
	line-height: 24px;
	color: var(--muted);
}
.entry-content .company-facts {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 40px;
	margin: 21px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 20px;
}
.entry-content .company-facts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	min-width: 0;
}
.company-facts .icon { margin-top: 2px; color: var(--primary); }
.company-facts span,
.entry-content .company-facts a { overflow-wrap: anywhere; color: var(--fg); text-decoration: none; }
.entry-content .company-facts a:hover { color: var(--primary); text-decoration: underline; }
.entry-content > .company + :not(.company) { margin-top: 67.5px; }

@media (max-width: 640px) {
	.company-cta { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; padding: 28px 24px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.company-cta-title { font-size: 32px; }
	.company-cta-btn { width: 100%; height: 44px; }
	.entry-content.company-content { margin-top: 40px; font-size: 17px; line-height: 30px; }
	.entry-content.company-content h2 { font-size: 34px; }
	.entry-content.company-content h3 { font-size: 24px; }
	.company-content.entry-content > * + h2 { margin-top: 56px; }
	.company { padding: 26px 0 28px; column-gap: 8px; }
	.company-num, .entry-content .company .company-name { font-size: 30px; }
	.company-desc { grid-column: 1 / -1; margin-top: 8px; }
	.entry-content .company-facts { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
}

/* ==========================================================================
   Virksomhedsprofil (skabelonen "Virksomhedsprofil")
   ========================================================================== */
.page-article.profile-page { padding-bottom: 144px; }
.profile-header { padding-top: 88.5px; }
.profile-header .kicker { color: var(--fg); }
.profile-header .kicker + .page-title { margin-top: 9px; }
.profile-figure { margin-top: 30px; }
.profile-figure figcaption { margin-top: 8.5px; color: var(--muted); font-size: 12px; line-height: 18px; }
.profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
	margin-top: 48.5px;
}
.profile-section + .profile-section { margin-top: 56px; }
.faq-list { margin-top: 7.5px; }

/* Sektionsoverskrift med streg */
.profile-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--fg);
}
.profile-section-title,
.profile-box-title {
	margin: 0;
	font-family: var(--sans);
	font-size: 11px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--fg);
}
.rating-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--muted);
}
.rating-summary .star { color: var(--primary); margin-right: 2px; }
.rating-summary strong { color: var(--fg); font-weight: 600; }

/* Formular */
.review-notice {
	margin: 24px 0 0;
	padding: 14px 16px;
	background: var(--soft);
	border-left: 3px solid var(--primary);
	font-size: 14px;
	line-height: 22px;
}
.review-form {
	margin-top: 24px;
	padding: 26px 24px 25px;
	border: 1px solid var(--border);
}
.review-form-title {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
}
.review-rating { display: flex; align-items: center; gap: 0; margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.review-rating legend { float: left; margin: 0 14px 0 0; padding: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 8px; }
.stars-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stars-input label { display: inline-flex; color: var(--border); cursor: pointer; transition: color .1s; }
.stars-input label:hover,
.stars-input label:hover ~ label,
.stars-input input:checked ~ label { color: var(--primary); }
.stars-input label:hover .star,
.stars-input label:hover ~ label .star,
.stars-input input:checked ~ label .star { fill: currentColor; }
.stars-input input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.review-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-form p { margin: 15px 0 0; }
.review-fields p { margin-top: 16.5px; }
.review-form label:not(.stars-input label) { display: block; margin-bottom: 7px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fg); }
.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
	display: block;
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 0;
	background: #fff;
	font-size: 14px;
	color: var(--fg);
	outline: none;
	transition: border-color .15s;
}
.review-form textarea { height: 102px; padding: 10px 12px; line-height: 22px; resize: vertical; }
.review-form ::placeholder { color: var(--placeholder); opacity: 1; }
.review-form input:focus,
.review-form textarea:focus { border-color: var(--primary); }
.review-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review-submit {
	margin-top: 26.5px;
	height: 36px;
	padding: 0 16px;
	background: var(--primary);
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	transition: background .15s;
}
.review-submit:hover { background: #0f2156; }

/* Anmeldelser */
.review-list { list-style: none; margin: 32px 0 0; padding: 0; }
.review { padding: 26px 0 24px; border-top: 1px solid var(--border); }
.review-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.review-author { font-family: var(--serif); font-size: 18px; line-height: 24px; color: var(--fg); }
.stars { display: inline-flex; gap: 2px; color: var(--primary); }
.stars .star:not(.is-filled) { color: var(--border); }
.review-meta time { font-size: 14px; line-height: 20px; color: var(--muted); }
.review-text { margin-top: 10px; font-size: 16px; line-height: 28px; color: var(--fg); }
.review-text p { margin: 0; }
.review-text p + p { margin-top: 12px; }

/* Om virksomheden */
.profile-about .profile-content { margin-top: 24px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17.5px 0;
	cursor: pointer;
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--fg); }
.faq-item summary .icon { flex: none; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover .faq-question { color: var(--primary); }
.faq-answer { margin: -1.5px 0 0; padding: 0 0 17px; font-size: 14px; line-height: 28px; color: var(--muted); }

/* Sidekolonne */
.profile-side { display: flex; flex-direction: column; gap: 32px; }
.profile-box { padding: 24px; border: 1px solid var(--border); background: #fff; }
.profile-contact-list { list-style: none; margin: 20.5px 0 0; padding: 0; }
.profile-contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; }
.profile-contact-list li + li { margin-top: 16px; }
.profile-contact-list .icon,
.profile-reklame .icon { flex: none; margin-top: 2px; color: var(--primary); }
.profile-contact-list a,
.profile-contact-list span { color: var(--fg); overflow-wrap: anywhere; }
.profile-contact-list a:hover { color: var(--primary); text-decoration: underline; }
.profile-company-info { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--border); }
.profile-cvr { margin: 0; font-size: 14px; line-height: 20px; }
.profile-cvr span { display: block; color: var(--muted); }
.profile-cvr strong { display: block; margin-top: 4px; font-weight: 600; color: var(--fg); }
.profile-reklame { display: flex; align-items: flex-start; gap: 8px; margin: 17.5px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.profile-hours-list { margin: 18px 0 0; }
.profile-hours { padding-bottom: 25px; }
.profile-hours-list div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; }
.profile-hours-list div + div { margin-top: 8px; }
.profile-hours-list dt { color: var(--muted); }
.profile-hours-list dd { margin: 0; font-weight: 600; color: var(--fg); text-align: right; }
.profile-map { padding: 0; height: 258px; overflow: hidden; }
.profile-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.profile-map .aks-embed { height: 100%; min-height: 0; aspect-ratio: auto; margin: 0; border: 0; }
/* Efter samtykke lægges kortet i en ekstra boks, som også skal fylde hele højden. */
.profile-map .aks-embed-loaded { height: 100%; margin: 0; }
.profile-report { border: 0; background: #f1f3fa; }
.profile-report p { margin: 12.5px 0 0; font-size: 14px; line-height: 24px; color: var(--muted); }
.profile-report-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36px;
	margin-top: 21px;
	background: var(--primary);
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	transition: background .15s;
}
.profile-report-btn:hover { background: #0f2156; }

@media (max-width: 1023px) {
	.profile-grid { display: flex; flex-direction: column; gap: 40px; }
	.profile-side { display: contents; }
	.profile-contact { order: 1; }
	.profile-hours { order: 2; }
	.profile-main { order: 3; }
	.profile-map { order: 4; }
	.profile-report { order: 5; }
	.profile-grid > *, .profile-side > * { width: 100%; }
}
@media (max-width: 640px) {
	.profile-header { padding-top: 40px; }
	.profile-figure { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.profile-figure figcaption { padding: 0 var(--gutter); }
	.profile-grid { margin-top: 32px; gap: 32px; }
	.profile-section + .profile-section { margin-top: 56px; }
	.profile-section-head { flex-direction: column; gap: 6px; align-items: flex-start; }
	.review-form { padding: 18px; }
	.review-fields { grid-template-columns: 1fr; gap: 0; }
	.review-submit { width: 100%; height: 44px; }
	.faq-question { font-size: 20px; }
	.page-article.profile-page { padding-bottom: 72px; }
}

@media (max-width: 1180px) {
	.fp-top { grid-template-columns: minmax(0, 1fr) 20rem; }
	.hero-title { font-size: 52px; }
	.feature-title { font-size: 48px; }
	.article-title { font-size: 80px; }
}

@media (max-width: 1023px) {
	.primary-nav { display: none; }
	.menu-toggle { display: inline-flex; margin-left: -8px; margin-right: 4px; }
	.site-logo { font-size: 40px; }

	.fp-top { grid-template-columns: 1fr; }
	.fp-side {
		border-left: 0;
		padding-left: 0;
		padding-top: 32px;
		border-top: 1px solid var(--border);
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
	.fp-side-item + .fp-side-item { margin-top: 0; padding-top: 0; border-top: 0; }
	.fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fp-grid .card:nth-child(3) { display: none; }
	.fp-feature { grid-template-columns: 1fr; gap: 32px; }
	.fp-lower { grid-template-columns: 1fr; }
	.fp-newsletter { grid-template-columns: 1fr; gap: 24px; }
	.footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-title { font-size: 64px; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.header-inner { height: 64px; }
	.site-logo { font-size: 34px; }
	.custom-logo { max-height: 36px; }
	.brand-divider { height: 24px; margin: 0 10px; }
	.site-edition { font-size: 18px; line-height: 18px; margin-top: 3px; }
	.btn-subscribe { padding: 0 12px; font-size: 11px; height: 32px; }
	.header-actions { gap: 4px; }

	.fp-top { padding: 24px 0 40px; }
	.hero-title { font-size: 38px; line-height: 1.05; }
	.fp-hero .dek { font-size: 16px; line-height: 26px; }
	.fp-side { grid-template-columns: 1fr; }
	.fp-side-item + .fp-side-item { padding-top: 24px; border-top: 1px solid var(--border); }
	.fp-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
	.fp-grid .card:nth-child(3) { display: block; }
	.fp-feature { margin-top: 56px; padding: 24px 16px 32px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
	.feature-title { font-size: 38px; }
	.fp-lower { margin-top: 56px; }
	.list-title { font-size: 28px; }
	.fp-newsletter { margin: 56px calc(var(--gutter) * -1) 80px; padding: 32px var(--gutter); }
	.newsletter-title { font-size: 30px; }
	.newsletter-form { flex-direction: column; align-items: stretch; }
	.newsletter-form input[type="email"] { flex: none; }
	.newsletter-form button { height: 44px; }

	.adbar { font-size: 10px; letter-spacing: .14em; gap: 8px; }
	.article-header { padding-top: 32px; }
	.article-title { font-size: 44px; line-height: 1; margin-top: 12px; }
	.article-dek { margin-top: 16px; font-size: 19px; line-height: 28px; }
	.article-meta { margin-top: 24px; padding: 16px 0; }
	.btn-listen { padding: 0 10px; }
	.article-figure { margin-top: 24px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.article-figure figcaption { padding: 0 var(--gutter); }
	.article-body { margin-top: 32px; padding-bottom: 48px; }
	.entry-content { font-size: 19px; line-height: 31px; }
	.entry-content > * + * { margin-top: 22px; }
	.entry-content h2 { font-size: 30px; }
	.entry-content blockquote, .entry-content .wp-block-quote, .entry-content .wp-block-pullquote { font-size: 25px; line-height: 32px; padding-left: 18px; }
	.has-auto-dropcap .entry-content > p:first-child::first-letter,
	.entry-content .has-drop-cap:not(:focus)::first-letter { font-size: 62px; margin-right: 10px; }

	.article-section .article { padding: 40px 0; }
	.related-grid { grid-template-columns: 1fr; }
	.article-section--popular .article { padding-bottom: 80px; }
	.popular-list li { grid-template-columns: 28px minmax(0, 1fr) 88px; gap: 14px; padding: 16px 0; }
	.popular-num { font-size: 30px; }
	.popular-title { font-size: 20px; }
	.popular-list .media { width: 88px; }

	.archive-header { padding: 40px 0 28px; }
	.archive-title { font-size: 44px; }
	.archive-grid { grid-template-columns: 1fr; gap: 36px; }
	.page-article { padding-bottom: 96px; }
	.page-header { padding-top: 40px; }
	.page-title { font-size: 44px; line-height: 1.05; }

	.footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 40px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
