/**
 * MAS Core - the four-column site footer.
 *
 * The footer's ground colour, column count and column mapping are Kadence
 * customizer settings (theme mods), not this file. What lives here is the
 * typography and rhythm inside the columns, which the customizer cannot reach:
 * Kadence prints widget titles as h2, so on the Industry scale a column heading
 * would render at 32px without the override below.
 *
 * Columns 2-4 are legacy Navigation Menu widgets (widget_nav_menu), NOT the
 * core/navigation block. That is deliberate and load-bearing — see
 * design/implementation-map.md. The selectors here therefore target the classic
 * widget markup: a .widget-title heading and a plain ul of li > a.
 *
 * Scoped to .site-footer and the widget classes only, deliberately: the site
 * serves a Coming Soon page to anonymous requests, so Kadence's inner footer
 * wrapper class could not be confirmed against live markup. Nothing here
 * depends on it. Check the rendered footer once the widgets are placed.
 *
 * The design puts the footer on accent-900 with paper text and accent-400
 * links, at 12px. Those are the values used; the 7px row padding is what keeps
 * a 12px link at a usable hit area.
 */

.site-footer .widget-title {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mas-paper);
}

.site-footer .menu,
.site-footer .widget_nav_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .widget_nav_menu li {
	margin: 0;
	padding: 0;
}

.site-footer .widget_nav_menu li a {
	display: block;
	padding: 7px 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--mas-accent-400);
	text-decoration: none;
	/* The design allows colour transitions only, at 120ms. */
	transition: color 120ms ease;
}

.site-footer .widget_nav_menu li a:hover,
.site-footer .widget_nav_menu li a:focus {
	color: var(--mas-paper);
}

.site-footer .widget_nav_menu li a:focus-visible {
	outline: 2px solid var(--mas-accent-400);
	outline-offset: 2px;
}

/*
 * Cookie Settings is an href="#" link that CookieYes turns into a button by
 * binding to .cky-banner-element on the <li>. Nothing here may change that
 * class or the anchor; this only makes the whole row read as clickable.
 */
.site-footer .cky-banner-element,
.site-footer .cky-banner-element a {
	cursor: pointer;
}

/*
 * Column 1 — the brand block, from the mas-core/footer-brand pattern.
 *
 * The logo here is the LIGHT lockup. The standard lockup is drawn in
 * accent-900, the same navy as the footer ground, so it renders invisible on
 * this field. Nothing in CSS can rescue that — it needs the light file.
 */

.site-footer .mas-footer-brand__logo {
	margin: 0 0 12px;
}

.site-footer .mas-footer-brand__logo img {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
}

.site-footer .mas-footer-brand__blurb {
	margin: 0;
	max-width: 30ch;
	font-size: 12px;
	line-height: 1.6;
	color: var(--mas-paper);
	opacity: 0.72;
}

/*
 * Kadence stacks the footer columns on its own below its tablet breakpoint.
 * All that is needed is breathing room between them once stacked, since the
 * row gap that separates them horizontally is not the one that applies.
 */
@media (max-width: 767px) {
	.site-footer .widget {
		margin-bottom: 24px;
	}
}
