/**
 * Flyguiden child — minimal helpers only.
 * Do not override Kadence header/hero/layout (match live look).
 */

/* Featured image is for social share meta — do not show as a full top banner. */
body.flyguiden.single .post-top-featured,
body.flyguiden.single img.post-top-featured.wp-post-image {
	display: none !important;
}

/* Hero H1 — smaller than Kadence 71px so long titles stay on one line */
body.flyguiden.single .inner-column-1 .wp-block-kadence-advancedheading {
	font-size: clamp(1.75rem, 3.6vw, 3rem) !important; /* max ~48px */
	line-height: 1.15 !important;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

@media (max-width: 1024px) {
	body.flyguiden.single .inner-column-1 .wp-block-kadence-advancedheading {
		font-size: clamp(1.6rem, 4.5vw, 2.35rem) !important;
	}
}

@media (max-width: 767px) {
	body.flyguiden.single .inner-column-1 .wp-block-kadence-advancedheading {
		font-size: clamp(1.5rem, 6vw, 1.85rem) !important;
	}
}

/*
 * Article vertical rhythm — less air between major blocks,
 * keep H2 tight to the text it introduces.
 */
body.flyguiden.single .fg-disclaimer {
	margin-bottom: 0.75rem !important;
}

/* Intro (handbagasje ID + shared _fgintro on other articles) */
body.flyguiden.single .kadence-column108_dac46e-f2 > .kt-inside-inner-col,
body.flyguiden.single [class*="kadence-column"][class*="_fgintro"] > .kt-inside-inner-col {
	padding-top: 1.25rem !important;
}

/* TOC columns (desktop + mobile variants) */
body.flyguiden.single .kadence-column108_fa69c6-47 > .kt-inside-inner-col,
body.flyguiden.single .kadence-column108_42c42c-56 > .kt-inside-inner-col,
body.flyguiden.single [class*="kadence-column"][class*="_fgtocpc"] > .kt-inside-inner-col,
body.flyguiden.single [class*="kadence-column"][class*="_fgtocm"] > .kt-inside-inner-col {
	padding-top: 0.75rem !important;
	padding-bottom: 0.35rem !important;
}

body.flyguiden.single .fg-toc {
	margin: 0 0 0.65rem;
}

/* Main article column */
body.flyguiden.single .kadence-column108_72f59b-3f > .kt-inside-inner-col,
body.flyguiden.single [class*="kadence-column"][class*="_fgbody"] > .kt-inside-inner-col {
	padding-top: 0.65rem !important;
	padding-bottom: 2.5rem !important;
}

/* Disclaimer strip under hero — kill leftover draft "lg" bottom margin */
body.flyguiden.single .entry-content .wp-block-kadence-column:has(.fg-disclaimer) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.flyguiden.single .entry-content h2,
body.flyguiden.single .kt-inside-inner-col > h2.wp-block-heading {
	margin-top: 1.75rem;
	margin-bottom: 0.7rem;
}

body.flyguiden.single .kt-inside-inner-col > h2.wp-block-heading:first-child {
	margin-top: 0.35rem;
}

body.flyguiden.single .fg-common-items,
body.flyguiden.single .fg-battery-explain {
	margin: 0.85rem 0 1.05rem;
}

body.flyguiden.single .fg-battery-alert {
	margin: 0.85rem 0 1rem;
}

body.flyguiden.single .fg-battery-footnote {
	margin: 0.7rem 0 1rem;
}

body.flyguiden.single .fg-rule-cards__note {
	margin-bottom: 1rem;
}

/* Shortcode / disclaimer helpers — keep on one flowing line */
.fg-disclaimer {
	text-align: center !important;
}

.fg-disclaimer em {
	font-style: italic;
}

.fg-updated {
	display: inline;
	font-style: normal;
	white-space: normal;
}

.fg-sources {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(155, 152, 145, 0.45);
	color: #6b6863;
	font-size: 0.8125rem;
	line-height: 1.55;
}

.fg-sources .fg-sources__title {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #6b6863;
}

/* Sources inherit global content link colors (vinrød / sand). */

.fg-mono {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-variant-numeric: tabular-nums;
}

/* Airline comparison cards — compact equal-height comparison */
.flyguiden-airline-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 1rem 0 0.35rem;
	align-items: stretch;
}

@media (max-width: 900px) {
	.flyguiden-airline-cards {
		grid-template-columns: 1fr;
	}
}

.fg-airline-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	background: var(--fg-panel-bg, #f4f1ec);
	/* Same border width on all cards so content rows share one vertical grid */
	border: 2px solid var(--fg-panel-border, #dedad2);
	border-radius: var(--fg-panel-radius, 12px);
	padding: 12px 13px;
}

.fg-airline-card--featured {
	border-color: #5a2a3a;
}

.fg-airline-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	min-height: 1.6rem;
	margin-bottom: 12px;
}

.fg-airline-card__ext {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.72em;
	font-weight: 600;
	margin-left: 0.15rem;
}

.fg-airline-card__badge {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	background: #d9a441;
	color: #3a2a08;
	padding: 3px 7px;
	border-radius: 5px;
	white-space: nowrap;
}

.fg-airline-card__badge--empty {
	visibility: hidden;
	background: transparent;
	color: transparent;
	min-width: 6.8em;
	padding: 3px 7px;
}

.fg-airline-card__weight {
	text-align: center;
	padding: 0 0 10px;
	border-bottom: 1px solid #dedad2;
	min-height: 4.1rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.2rem;
}

.fg-airline-card__weight-value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35rem;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 22px;
	font-weight: 700;
	color: #5a2a3a;
	line-height: 1.15;
}

.fg-airline-card__weight-value--split {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.2rem 0.35rem;
	font-size: 1.05rem;
	line-height: 1.3;
	min-height: 2.35rem;
}

.fg-airline-card__weight-value--split small {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	color: #5f5a54;
	letter-spacing: 0.01em;
}

.fg-airline-card__weight-sep {
	color: #8c8480;
	font-weight: 500;
}

.fg-airline-card__fares {
	margin: 0;
	padding: 0 0 0.15rem;
	list-style: none;
	flex: 1;
}

.fg-airline-card__fares li {
	margin: 0;
	padding: 0.35rem 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #2c2c2a;
	border-bottom: 1px solid #ece8e1;
}

.fg-airline-card__fares li:last-child {
	border-bottom: none;
	padding-bottom: 0.15rem;
}

.fg-airline-card__fares strong {
	font-weight: 700;
	color: #2c2c2a;
}

.fg-airline-card__foot {
	margin: 0.65rem 0 0;
	padding-top: 0.55rem;
	border-top: 1px solid #dedad2;
	font-size: 12px;
	line-height: 1.4;
	color: #6b6863;
}

.fg-airline-card__weight-note {
	margin-top: 0;
	padding-top: 0;
	min-height: 2.4em;
	font-size: 12px;
	font-weight: 500;
	color: #5f5a54;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
}

.fg-airline-card__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto;
	column-gap: 10px;
	row-gap: 3px;
	margin-top: 12px;
	flex: 1;
	align-items: stretch;
}

.fg-airline-card__col {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	min-width: 0;
}

.fg-airline-card__col-label {
	display: flex;
	align-items: flex-end;
	font-size: 11px;
	color: #5f5a54;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.25;
	margin: 0;
	min-height: 0;
}

.fg-airline-card__col-fare {
	display: inline-flex;
	align-items: center;
	align-self: start;
	justify-self: start;
	margin: 0;
	padding: 0.2rem 0.5rem;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: #5a2a3a;
	background: rgba(90, 42, 58, 0.08);
	border-radius: 999px;
	white-space: nowrap;
}

.fg-airline-card__col-value {
	display: flex;
	align-items: center;
	align-self: stretch;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #2c2c2a;
	line-height: 1.35;
	white-space: nowrap;
	background: transparent;
}

.fg-airline-card__col-value--diff {
	font-weight: 800;
	color: #2c2c2a;
	/* Lysere, mer gul — skiller fra «Mest vekt totalt»-sennepsmerket */
	background: rgba(232, 196, 96, 0.42);
}

.fg-airline-card__col-meta {
	font-size: 12px;
	font-weight: 500;
	color: #7a736c;
	line-height: 1.25;
	margin: 0 0 0 0.35em;
	border-bottom: none;
	cursor: inherit;
	white-space: nowrap;
}

@supports not (grid-template-rows: subgrid) {
	.fg-airline-card__col {
		grid-template-rows: auto auto auto;
		row-gap: 3px;
	}

	.fg-airline-card__col-label {
		min-height: 2.4em;
	}
}

body.flyguiden .flyguiden-airline-cards a.flyguiden-airline-link,
body.flyguiden .flyguiden-airline-cards a.flyguiden-airline-link:link,
body.flyguiden .flyguiden-airline-cards a.flyguiden-airline-link:visited {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--fg-link) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: rgba(90, 42, 58, 0.55);
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.flyguiden .flyguiden-airline-cards a.flyguiden-airline-link:hover,
body.flyguiden .flyguiden-airline-cards a.flyguiden-airline-link:focus {
	color: var(--fg-link-hover) !important;
	text-decoration-color: var(--fg-link-hover) !important;
}

body.flyguiden .fg-airline-cards__legend,
body.flyguiden .fg-airline-cards__note {
	margin: 0.4rem 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #6b6863;
}

/*
 * Shared panel language for TOC, short answers, glossary, rule cards.
 * Keep one look: papir bg, soft border, 12px radius, vinrød titles.
 */
body.flyguiden {
	--fg-panel-bg: #f4f1ec;
	--fg-panel-border: #dedad2;
	--fg-panel-radius: 12px;
	--fg-panel-ink: #2c2c2a;
	--fg-panel-title: #5a2a3a;
	--fg-panel-muted: #6b6863;
	--fg-link: #5a2a3a;
	--fg-link-hover: #d9a441;
}

/*
 * Content links: vinrød + underline, sand on hover.
 * Clear on mobile. Exclude buttons / whole-card shells.
 */
body.flyguiden .entry-content a,
body.flyguiden .entry-content a:link,
body.flyguiden .entry-content a:visited,
body.flyguiden .entry-content .has-link-color a,
body.flyguiden .fg-sources a,
body.flyguiden .fg-sources a:link,
body.flyguiden .fg-sources a:visited {
	color: var(--fg-link) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: rgba(90, 42, 58, 0.55);
}

body.flyguiden .entry-content a:hover,
body.flyguiden .entry-content a:focus,
body.flyguiden .entry-content .has-link-color a:hover,
body.flyguiden .entry-content .has-link-color a:focus,
body.flyguiden .fg-sources a:hover,
body.flyguiden .fg-sources a:focus {
	color: var(--fg-link-hover) !important;
	text-decoration-color: var(--fg-link-hover) !important;
}

body.flyguiden .entry-content a.button,
body.flyguiden .entry-content .kb-button,
body.flyguiden .entry-content .wp-block-button__link,
body.flyguiden .entry-content .fg-guide-card {
	text-decoration: none;
}

body.flyguiden .entry-content .fg-guide-card:hover,
body.flyguiden .entry-content .fg-guide-card:focus {
	color: var(--fg-panel-ink);
}

body.flyguiden .entry-content .fg-guide-card__title {
	color: var(--fg-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-decoration-color: rgba(90, 42, 58, 0.55);
}

body.flyguiden .entry-content .fg-guide-card:hover .fg-guide-card__title,
body.flyguiden .entry-content .fg-guide-card:focus .fg-guide-card__title {
	color: var(--fg-link-hover);
	text-decoration-color: var(--fg-link-hover);
}

body.flyguiden .fg-toc,
body.flyguiden .fg-common-items,
body.flyguiden .fg-battery-explain,
body.flyguiden .fg-related {
	background: var(--fg-panel-bg);
	border: 1px solid var(--fg-panel-border);
	border-radius: var(--fg-panel-radius);
	padding: 1rem 1.1rem;
	margin: 0.85rem 0 1.1rem;
	color: var(--fg-panel-ink);
	box-sizing: border-box;
}

body.flyguiden .fg-guide-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0.85rem 0 1.1rem;
}

body.flyguiden .fg-guide-card {
	display: block;
	box-sizing: border-box;
	background: var(--fg-panel-bg);
	border: 1px solid var(--fg-panel-border);
	border-radius: var(--fg-panel-radius);
	padding: 0.95rem 1rem;
	color: var(--fg-panel-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

body.flyguiden .fg-guide-card:hover,
body.flyguiden .fg-guide-card:focus {
	border-color: #5a2a3a;
	background: #f7f3ec;
	color: var(--fg-panel-ink);
	text-decoration: none;
}

body.flyguiden .fg-guide-card__title {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #5a2a3a;
}

body.flyguiden .fg-guide-card__text {
	display: block;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--fg-panel-muted);
}

body.flyguiden .fg-related__title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--fg-panel-title);
}

body.flyguiden .fg-related__list {
	margin: 0;
	padding-left: 1.15rem;
	list-style: disc;
}

body.flyguiden .fg-related__list li {
	margin: 0.35rem 0;
	line-height: 1.45;
}

body.flyguiden .fg-related__list a {
	color: #5a2a3a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.flyguiden .fg-related__list a:hover,
body.flyguiden .fg-related__list a:focus {
	color: #d9a441;
	text-decoration-color: #d9a441;
}

@media (max-width: 781px) {
	body.flyguiden .fg-guide-cards {
		grid-template-columns: 1fr;
	}
}

body.flyguiden .fg-toc {
	border-color: #5a2a3a;
	color: var(--fg-panel-title);
	margin: 0 0 1.1rem;
}

body.flyguiden .fg-toc__title,
body.flyguiden .fg-common-items__title,
body.flyguiden .fg-battery-explain__title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fg-panel-title);
}

body.flyguiden .fg-toc__list,
body.flyguiden .fg-common-items__list,
body.flyguiden .fg-battery-explain__list {
	margin: 0;
	padding-left: 1.15rem;
	list-style: disc;
	color: inherit;
}

body.flyguiden .fg-toc__list li,
body.flyguiden .fg-common-items__list li,
body.flyguiden .fg-battery-explain__list li {
	margin: 0.35rem 0;
	line-height: 1.45;
}

body.flyguiden .fg-toc__list a {
	color: var(--fg-panel-title);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.flyguiden .fg-toc__list a:hover,
body.flyguiden .fg-toc__list a:focus {
	color: #d9a441;
	text-decoration-color: #d9a441;
}

body.flyguiden .fg-common-items__note,
body.flyguiden .fg-rule-cards__note {
	margin: 0.75rem 0 0;
	padding-top: 0.7rem;
	border-top: 1px solid var(--fg-panel-border);
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--fg-panel-muted);
}

body.flyguiden .fg-battery-explain__list {
	margin-bottom: 0;
}

body.flyguiden .fg-battery-footnote {
	margin: 0.7rem 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #6b6863;
}

body.flyguiden .fg-battery-limits__list a {
	color: #5a2a3a;
	text-decoration: underline;
	text-decoration-color: rgba(90, 42, 58, 0.4);
	text-underline-offset: 2px;
}

body.flyguiden .fg-battery-limits__list a:hover,
body.flyguiden .fg-battery-limits__list a:focus {
	color: #d9a441;
	text-decoration-color: #d9a441;
}

body.flyguiden.single p.fg-tight-p {
	margin-top: 0.45rem;
	margin-bottom: 0.45rem;
}

body.flyguiden .fg-mah-table-wrap {
	margin: 0.55rem 0 0.45rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.flyguiden figure.fg-mah-table-wrap {
	margin-block: 0.55rem 0.45rem;
}

body.flyguiden .fg-mah-table {
	width: 100%;
	max-width: 24rem;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.4;
	color: var(--fg-panel-ink, #2c2c2a);
	background: transparent;
}

body.flyguiden .fg-mah-table th,
body.flyguiden .fg-mah-table td {
	border-bottom: 1px solid rgba(90, 42, 58, 0.14);
	padding: 0.45rem 0.55rem;
	text-align: left;
	vertical-align: top;
}

body.flyguiden .fg-mah-table tbody tr:last-child th,
body.flyguiden .fg-mah-table tbody tr:last-child td {
	border-bottom: none;
	padding-bottom: 0.25rem;
}

body.flyguiden .fg-mah-table thead th {
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #5a2a3a;
	border-bottom-color: rgba(90, 42, 58, 0.28);
}

body.flyguiden .fg-mah-table__exact {
	display: inline-block;
	font-size: 0.82em;
	font-weight: 500;
	color: #6b6863;
}

body.flyguiden .fg-mah-table__formula {
	display: block;
	margin: 0.55rem 0 0;
	padding: 0.15rem 0.55rem 0;
	font-size: 0.8125rem;
	line-height: 1.3;
	color: #6b6863;
}

body.flyguiden .fg-battery-limits {
	margin: 0.55rem 0 0;
}

body.flyguiden .fg-battery-limits__lead {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--fg-panel-ink, #2c2c2a);
}

body.flyguiden .fg-battery-limits__list {
	margin: 0;
	padding-left: 1.15rem;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--fg-panel-ink, #2c2c2a);
}

body.flyguiden .fg-battery-limits__list li + li {
	margin-top: 0.3rem;
}

body.flyguiden .fg-battery-limits__over {
	margin: 0.55rem 0 0;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--fg-panel-ink, #2c2c2a);
}

body.flyguiden .fg-battery-alert {
	margin: 0.85rem 0 1.1rem;
	padding: 0.9rem 1.05rem;
	background: var(--fg-panel-bg);
	border: 1px solid #5a2a3a;
	border-radius: var(--fg-panel-radius);
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--fg-panel-ink);
}

body.flyguiden .fg-battery-alert__title {
	margin: 0 0 0.55rem;
	font-size: 1rem;
	font-weight: 700;
	color: #5a2a3a;
}

body.flyguiden .fg-battery-alert p {
	margin: 0;
}

body.flyguiden .fg-battery-alert p + p {
	margin-top: 0.55rem;
}

body.flyguiden .fg-rule-cards__note {
	margin-top: 0.35rem;
	margin-bottom: 1.1rem;
}

/* Keep rule-card styles if reused later */
body.flyguiden .fg-rule-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0.85rem 0 0.55rem;
	align-items: stretch;
}

@media (min-width: 901px) {
	body.flyguiden .fg-rule-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

body.flyguiden .fg-rule-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	background: var(--fg-panel-bg);
	border: 1px solid var(--fg-panel-border);
	border-radius: var(--fg-panel-radius);
	padding: 14px;
	color: var(--fg-panel-ink);
}

/* Legacy compare table — keep if reused elsewhere */
body.flyguiden .fg-compare-table-wrap {
	margin: 0.85rem 0 1.1rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--fg-panel-bg);
	border: 1px solid var(--fg-panel-border);
	border-radius: var(--fg-panel-radius);
}

body.flyguiden .fg-compare-table {
	width: 100%;
	min-width: 34rem;
	border-collapse: collapse;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--fg-panel-ink);
	background: transparent;
}

body.flyguiden .fg-compare-table th,
body.flyguiden .fg-compare-table td {
	border: 1px solid rgba(90, 42, 58, 0.14);
	padding: 0.65rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

body.flyguiden .fg-compare-table thead th {
	background: rgba(255, 255, 255, 0.35);
	color: var(--fg-panel-title);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

body.flyguiden .fg-compare-table tbody th {
	color: var(--fg-panel-title);
	font-weight: 700;
}

@media (max-width: 640px) {
	body.flyguiden .fg-toc,
	body.flyguiden .fg-common-items,
	body.flyguiden .fg-battery-explain {
		padding: 0.9rem 0.95rem;
	}

	body.flyguiden .fg-airline-card,
	body.flyguiden .fg-rule-card {
		padding: 12px 13px;
	}
}

/* Related posts carousel — disabled via theme_mod; hide if leftover markup remains */
body.flyguiden.single .entry-related,
body.flyguiden.single .related-posts,
body.flyguiden.single .wp-block-kadence-relatedposts {
	display: none !important;
}

/* Om oss / legal pages — title + air, no article hero */
body.flyguiden.fg-legal-page .content-area {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

body.flyguiden.fg-legal-page .entry-header.page-title {
	margin: 0 0 1.15rem;
	padding: 0;
	min-height: 0;
	background: none;
}

body.flyguiden.fg-legal-page .entry-header.page-title .entry-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.15;
	color: var(--global-palette2, #5c1f2a);
}

body.flyguiden.fg-legal-page .entry-content > p:first-child {
	margin-top: 0;
}

/* Footer */
body.flyguiden #colophon.site-footer {
	margin-top: 0;
}

body.flyguiden #colophon .site-footer-row-container-inner {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

body.flyguiden #colophon .footer-navigation-wrap,
body.flyguiden #colophon .footer-navigation-inner {
	width: 100%;
}

body.flyguiden #colophon .fg-footer-map {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
	width: 100%;
}

body.flyguiden #colophon .fg-footer-map__title {
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #f4f1ec;
}

body.flyguiden #colophon .fg-footer-map__title a {
	color: #f4f1ec !important;
	text-decoration: none !important;
}

body.flyguiden #colophon .fg-footer-map__title a:hover,
body.flyguiden #colophon .fg-footer-map__title a:focus {
	color: #d9a441 !important;
}

body.flyguiden #colophon .fg-footer-map__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.flyguiden #colophon .fg-footer-map__list li {
	margin: 0 0 0.35rem;
	line-height: 1.35;
}

body.flyguiden #colophon .fg-footer-map__list a {
	color: #f4f1ec !important;
	text-decoration: underline !important;
	text-decoration-color: rgba(244, 241, 236, 0.4) !important;
	text-underline-offset: 0.16em;
	font-size: 0.875rem;
}

body.flyguiden #colophon .fg-footer-map__list a:hover,
body.flyguiden #colophon .fg-footer-map__list a:focus {
	color: #d9a441 !important;
	text-decoration-color: #d9a441 !important;
}

body.flyguiden #colophon .fg-footer-map__soon {
	color: rgba(244, 241, 236, 0.55);
	font-size: 0.875rem;
}

body.flyguiden #colophon .site-middle-footer-wrap .site-footer-section {
	flex: 1 1 100%;
	max-width: 100%;
}

body.flyguiden #colophon .footer-social-wrap {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

body.flyguiden #colophon .footer-html {
	text-align: right;
	font-size: 0.8125rem;
	line-height: 1.45;
	opacity: 0.92;
}

@media (max-width: 1100px) {
	body.flyguiden #colophon .fg-footer-map {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	body.flyguiden #colophon .fg-footer-map {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1rem;
	}

	body.flyguiden #colophon .footer-social-wrap {
		justify-content: flex-start;
		margin-bottom: 0.5rem;
	}

	body.flyguiden #colophon .footer-html {
		text-align: left;
	}
}
