/**
 * Official footer band — light link columns + dark mandatory bar.
 * Loads last among global footer styles.
 */

.site-footer.site-footer--band {
	--footer-band-bg: #f0f5f4;
	--footer-band-utility-bg: #dce8e6;
	--footer-band-meta-bg: #fafcfb;
	--footer-band-text: var(--eagle-green, var(--primary, #0b4141));
	--footer-band-text-muted: #3d5c5c;
	--footer-band-link: var(--eagle-green, var(--primary, #0b4141));
	--footer-band-link-hover: var(--primary-dark, #083838);
	--footer-band-border: rgba(11, 65, 65, 0.14);

	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 !important;
	background: var(--footer-band-bg) !important;
	background-image: none !important;
	color: var(--footer-band-text) !important;
	border-top: 1px solid var(--footer-band-border);
	box-shadow: none !important;
	overflow: visible;
	isolation: auto;
	z-index: 2;
}

.site-footer.site-footer--band::before {
	display: none !important;
}

.site-footer.site-footer--band,
.site-footer.site-footer--band *:not(.back-to-top):not(.back-to-top *) {
	color: var(--footer-band-text) !important;
	background-color: transparent;
}

.site-footer.site-footer--band a {
	color: var(--footer-band-link) !important;
	text-decoration: none;
}

.site-footer.site-footer--band .footer-band-grid a:hover,
.site-footer.site-footer--band .footer-band-grid a:focus,
.site-footer.site-footer--band .footer-band-brand a:hover,
.site-footer.site-footer--band .footer-band-brand a:focus {
	color: var(--footer-band-link-hover) !important;
	background-color: transparent !important;
	padding: 0.1rem 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: inline-block !important;
	text-decoration: underline;
}

.footer-band-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.site-footer.site-footer--band > .footer-band-inner:first-child {
	padding-top: 2.5rem;
	padding-bottom: 2rem;
}

.footer-band-grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2.75rem);
	align-items: start;
}

.footer-band-brand__link {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.75rem;
	text-decoration: none !important;
	margin-bottom: 0.85rem;
	max-width: 100%;
}

.footer-band-brand__text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.footer-band-brand__affiliation {
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--footer-band-text-muted) !important;
}

.footer-band-brand__logo {
	width: 52px;
	height: 52px;
	object-fit: contain;
	flex: 0 0 52px;
}

.footer-band-brand__link--mark {
	flex-direction: column;
	align-items: flex-start;
}

.footer-band-brand__logo--mark {
	width: auto;
	height: 5.25rem;
	max-width: 11.5rem;
	flex: 0 0 auto;
	object-fit: contain;
}

.footer-band-brand__name {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--footer-band-text) !important;
}

.footer-band-brand__address,
.footer-band-brand__phone,
.footer-band-brand__wim {
	margin: 0 0 0.65rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--footer-band-text-muted) !important;
}

.footer-band-brand__phone strong,
.footer-band-brand__wim strong {
	color: var(--footer-band-text) !important;
	font-weight: 700;
}

.footer-band-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.65rem;
}

.footer-band-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--footer-band-border);
	border-radius: 4px;
	background: #fff !important;
	font-size: 0.95rem;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-band-social a.tcl-external-link::after {
	display: none !important;
	content: none !important;
}

.footer-band-social a:hover,
.footer-band-social a:focus {
	background: rgba(11, 65, 65, 0.06) !important;
	border-color: var(--footer-band-link);
	text-decoration: none !important;
}

.footer-band-col {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	min-width: 0;
}

.footer-band-block__title {
	margin: 0 0 0.35rem;
	font-family: var(--font-heading, inherit);
	font-size: var(--tcl-type-p2-size);
	font-weight: var(--font-bold);
	line-height: 1.35;
	color: var(--footer-band-text) !important;
	text-transform: none;
	letter-spacing: 0;
	padding: 0;
	text-shadow: none;
}

.footer-band-block__title::after {
	display: none !important;
}

.footer-band-block__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-band-block__list li {
	margin: 0 0 0.2rem;
}

.footer-band-block__list a {
	font-size: var(--tcl-type-small-size);
	font-weight: var(--font-normal);
	line-height: 1.45;
	color: var(--footer-band-link) !important;
	padding: 0.1rem 0;
	display: inline-block;
}

/* Mandatory dark footer bar — lineage, links, policies, meta */
.footer-band-mandatory {
	--footer-mandatory-bg: var(--eagle-green, var(--primary, #0b4141));
	--footer-mandatory-text: #f4f9f8;
	--footer-mandatory-muted: rgba(244, 249, 248, 0.82);
	--footer-mandatory-sep: rgba(244, 249, 248, 0.45);

	background: var(--footer-mandatory-bg) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.15rem 0 1.35rem;
}

.site-footer.site-footer--band .footer-band-mandatory,
.site-footer.site-footer--band .footer-band-mandatory *:not(.back-to-top):not(.back-to-top *) {
	color: var(--footer-mandatory-text) !important;
}

.site-footer.site-footer--band .footer-band-mandatory a {
	color: var(--footer-mandatory-text) !important;
}

.site-footer.site-footer--band .footer-band-mandatory a:hover,
.site-footer.site-footer--band .footer-band-mandatory a:focus {
	color: #fff !important;
	background-color: transparent !important;
	padding: 0.15rem 0.1rem !important;
	margin: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: inline-flex !important;
	text-decoration: underline;
}

.footer-band-lineage {
	text-align: center;
	margin: 0 0 0.9rem;
	font-size: var(--tcl-type-p2-size);
	font-weight: var(--font-semibold);
	line-height: var(--tcl-type-body-line-height);
	color: var(--footer-mandatory-text) !important;
	max-width: min(100%, 68rem);
	margin-inline: auto;
	padding-inline: 0.5rem;
}

.footer-band-mandatory__nav,
.footer-band-mandatory__policies {
	margin: 0;
	padding: 0;
	border: 0;
}

.footer-band-mandatory__policies {
	margin-top: 0.55rem;
}

.footer-band-mandatory__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.15rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-band-mandatory__list li {
	display: inline-flex;
	align-items: center;
}

.footer-band-mandatory__sep {
	margin: 0 0.45rem;
	color: var(--footer-mandatory-sep) !important;
	font-weight: 400;
}

.footer-band-mandatory__list a {
	font-size: var(--tcl-type-p2-size);
	font-weight: var(--font-medium);
	padding: 0.15rem 0.1rem;
}

.footer-band-mandatory__list--policies a {
	font-size: var(--tcl-type-small-size);
	font-weight: var(--font-normal);
	color: var(--footer-mandatory-muted) !important;
}

.footer-band-mandatory__updated,
.footer-band-mandatory__copyright {
	text-align: center;
	margin: 0;
	font-size: var(--tcl-type-small-size);
	line-height: var(--tcl-type-body-line-height);
	color: var(--footer-mandatory-muted) !important;
}

.footer-band-mandatory__updated {
	margin-top: 0.85rem;
	font-weight: 500;
}

.footer-band-mandatory__copyright {
	margin-top: 0.35rem;
}

/* Hide legacy footer markup if any remains */
.site-footer--band .footer-grid,
.site-footer--band .footer-base,
.site-footer--band .footer-section {
	display: none !important;
}

/* High contrast */
body.tcl-high-contrast .site-footer.site-footer--band,
.high-contrast .site-footer.site-footer--band {
	background: #fff !important;
	border-top: 2px solid #000 !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-inner,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-grid,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-col,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-brand,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-block,
.high-contrast .site-footer.site-footer--band .footer-band-inner,
.high-contrast .site-footer.site-footer--band .footer-band-grid,
.high-contrast .site-footer.site-footer--band .footer-band-col,
.high-contrast .site-footer.site-footer--band .footer-band-brand,
.high-contrast .site-footer.site-footer--band .footer-band-block {
	background-color: #fff !important;
	color: #000 !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory,
.high-contrast .site-footer.site-footer--band .footer-band-mandatory {
	background: #000 !important;
	border-top: 2px solid #fff !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory *:not(.back-to-top):not(.back-to-top *),
.high-contrast .site-footer.site-footer--band .footer-band-mandatory,
.high-contrast .site-footer.site-footer--band .footer-band-mandatory *:not(.back-to-top):not(.back-to-top *) {
	background-color: transparent !important;
	color: #fff !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory,
.high-contrast .site-footer.site-footer--band .footer-band-mandatory {
	background: #000 !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-grid a,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-brand a,
.high-contrast .site-footer.site-footer--band .footer-band-grid a,
.high-contrast .site-footer.site-footer--band .footer-band-brand a {
	color: #0000ee !important;
	background-color: transparent !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory a,
.high-contrast .site-footer.site-footer--band .footer-band-mandatory a {
	color: #fff !important;
	background-color: transparent !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-grid a:hover,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-grid a:focus,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-brand a:hover,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-brand a:focus,
.high-contrast .site-footer.site-footer--band .footer-band-grid a:hover,
.high-contrast .site-footer.site-footer--band .footer-band-grid a:focus,
.high-contrast .site-footer.site-footer--band .footer-band-brand a:hover,
.high-contrast .site-footer.site-footer--band .footer-band-brand a:focus {
	color: #fff !important;
	background: #000 !important;
}

body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory a:hover,
body.tcl-high-contrast .site-footer.site-footer--band .footer-band-mandatory a:focus,
.high-contrast .site-footer.site-footer--band .footer-band-mandatory a:hover,
.high-contrast .site-footer.site-footer--band .footer-band-mandatory a:focus {
	color: #fff !important;
	background: #000080 !important;
}

@media (max-width: 1100px) {
	.footer-band-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-band-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.site-footer.site-footer--band > .footer-band-inner:first-child {
		padding-top: 2rem;
		padding-bottom: 1.5rem;
	}

	.footer-band-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.25rem;
	}

	.footer-band-mandatory__list {
		flex-direction: column;
		align-items: center;
		gap: 0.35rem;
	}

	.footer-band-mandatory__sep {
		display: none;
	}
}

@media (max-width: 480px) {
	.footer-band-grid {
		grid-template-columns: 1fr;
	}
}
