/*
 * Footer frame — the footer closer to the stages above it: the legal links
 * as underlined mono text like the links in the stage shells instead of
 * pills, and the logo, phone and email at text size, because the contact
 * stage above already says them at full volume.
 *
 * Reversible: functions.php enqueues this file in one line; remove that line
 * and the footer looks as before.
 */

.site-footer .logo {
	height: 56px;
	margin-left: -0.55rem;
	margin-bottom: 0.5rem;
}

.wp-site-blocks .site-footer h3 {
	font-size: 1.125rem;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: 0;
}

/* the legal links: one row that wraps as a whole on narrow screens */
.site-footer .footer-legal-row,
.site-footer .wp-block-navigation.submenu,
.site-footer .wp-block-navigation.submenu .wp-block-navigation__container {
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 1.5rem;
	row-gap: 0.5rem;
}

.site-footer .footer-legal-row {
	margin-top: 1.5rem;
}

.site-footer .submenu .wp-block-navigation-item__content,
.site-footer .seal-cookie-settings {
	height: auto;
	padding: 0;
	background: none;
	border-radius: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62) !important;
	text-decoration: underline !important;
	text-decoration-color: rgba(255, 255, 255, 0.35) !important;
	text-underline-offset: 0.25em;
	transition: color 0.15s ease-in-out;
}

.site-footer .submenu .wp-block-navigation-item__content:hover,
.site-footer .seal-cookie-settings:hover {
	background: none;
	color: #fff !important;
	text-decoration-color: #fff !important;
}

.site-footer .seal-cookie-settings:focus-visible,
.site-footer .submenu .wp-block-navigation-item__content:focus-visible {
	outline: 1px solid var(--brand-primary);
	outline-offset: 0.3em;
}

/* the cookie banner (opened again from "Cookie settings" above): a plain
   headline instead of the old chip */
.seal-consent .seal-consent-title {
	margin: 0 0 0.6rem;
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--brand-secondary, #2a3f4b);
}
