/*
 * UX review 2, P17: site-map footer. px units only (the parent theme sets html { font-size: 10px }).
 * Every text element sets its own family/size/weight: legacy style.css targets bare h2, p and ul li.
 */

.sb-ux2-footer {
	display: block;
	margin: 0;
	padding: 0;
	/* A hairline so a navy closing band above (About, CTA rows) does not run into the footer. */
	border-top: 1px solid rgb(255 255 255 / 0.15);
	background: #07038c;
	color: rgb(255 255 255 / 0.8);
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}

.sb-ux2-footer *,
.sb-ux2-footer *::before,
.sb-ux2-footer *::after {
	box-sizing: border-box;
}

.sb-ux2-footer__wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding: 48px 16px 24px;
}

/* Side gutters match the header (24px from 640). */
@media (min-width: 640px) {
	.sb-ux2-footer__wrap {
		padding: 56px 24px 24px;
	}
}

@media (min-width: 1280px) {
	.sb-ux2-footer__wrap {
		padding: 64px 24px 28px;
	}
}

.sb-ux2-footer__brand {
	margin: 0 0 32px;
}

.sb-ux2-footer a.sb-ux2-footer__logo {
	display: inline-block;
	line-height: 0;
}

.sb-ux2-footer a.sb-ux2-footer__logo img {
	display: block;
	width: 150px;
	height: auto;
	max-width: 100%;
}

/* Columns: 2 up on phones (contact full width), 4 + contact from 1024. */
.sb-ux2-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 32px;
}

.sb-ux2-footer__col--contact {
	grid-column: 1 / -1;
}

@media (min-width: 1024px) {
	.sb-ux2-footer__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.45fr);
		column-gap: 32px;
	}

	.sb-ux2-footer__col--contact {
		grid-column: auto;
	}
}

.sb-ux2-footer h2.sb-ux2-footer__h {
	margin: 0 0 14px;
	padding: 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.sb-ux2-footer ul.sb-ux2-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-ux2-footer ul.sb-ux2-footer__list--sites {
	gap: 14px;
	margin-top: 16px;
}

.sb-ux2-footer li.sb-ux2-footer__item {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: rgb(255 255 255 / 0.8);
}

.sb-ux2-footer li.sb-ux2-footer__item::before,
.sb-ux2-footer li.sb-ux2-footer__item::marker {
	content: none;
}

.sb-ux2-footer li.sb-ux2-footer__item--icon {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.sb-ux2-footer .sb-ux2-footer__icon {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: rgb(255 255 255 / 0.7);
}

.sb-ux2-footer .sb-ux2-footer__muted {
	color: rgb(255 255 255 / 0.65);
}

.sb-ux2-footer a.sb-ux2-footer__link,
.sb-ux2-footer a.sb-ux2-footer__link:visited {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: rgb(255 255 255 / 0.85);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.sb-ux2-footer a.sb-ux2-footer__link:hover,
.sb-ux2-footer a.sb-ux2-footer__link:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Orange on navy is under 3:1, so the accent links use a light peach that keeps AA contrast. */
.sb-ux2-footer a.sb-ux2-footer__link--accent,
.sb-ux2-footer a.sb-ux2-footer__link--accent:visited {
	display: inline;
	font-weight: 600;
	color: #ffb48a;
}

/* Inline, so a wrapped label keeps its arrow beside the last word. */
.sb-ux2-footer a.sb-ux2-footer__link--accent .sb-ux2-footer__icon--arrow {
	display: inline-block;
	margin-left: 4px;
	vertical-align: -2px;
}

.sb-ux2-footer a.sb-ux2-footer__link--accent:hover,
.sb-ux2-footer a.sb-ux2-footer__link--accent:focus-visible {
	color: #ffd2b8;
}

.sb-ux2-footer a.sb-ux2-footer__link .sb-ux2-footer__icon--arrow {
	width: 14px;
	height: 14px;
	margin-top: 0;
	color: currentColor;
}

.sb-ux2-footer .sb-ux2-footer__site-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.sb-ux2-footer a.sb-ux2-footer__site-link,
.sb-ux2-footer a.sb-ux2-footer__site-link:visited {
	display: block;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: rgb(255 255 255 / 0.8);
	text-decoration: none;
}

.sb-ux2-footer a.sb-ux2-footer__site-link:hover .sb-ux2-footer__site-addr,
.sb-ux2-footer a.sb-ux2-footer__site-link:focus-visible .sb-ux2-footer__site-addr {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sb-ux2-footer strong.sb-ux2-footer__site-name {
	display: block;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 600;
	color: #fff;
}

.sb-ux2-footer .sb-ux2-footer__site-addr {
	display: block;
}

/* Certification marks. */
.sb-ux2-footer__certs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 40px 0 0;
	padding: 24px 0;
	border-top: 1px solid rgb(255 255 255 / 0.15);
	border-bottom: 1px solid rgb(255 255 255 / 0.15);
}

.sb-ux2-footer ul.sb-ux2-footer__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-ux2-footer ul.sb-ux2-footer__badges li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Inter, system-ui, sans-serif;
}

.sb-ux2-footer ul.sb-ux2-footer__badges li::before,
.sb-ux2-footer ul.sb-ux2-footer__badges li::marker {
	content: none;
}

.sb-ux2-footer a.sb-ux2-footer__badge,
.sb-ux2-footer a.sb-ux2-footer__badge:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 6px 12px;
	border: 1px solid rgb(255 255 255 / 0.35);
	border-radius: 6px;
	font-family: Inter, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.sb-ux2-footer a.sb-ux2-footer__badge:hover,
.sb-ux2-footer a.sb-ux2-footer__badge:focus-visible {
	border-color: #fff;
	background: rgb(255 255 255 / 0.08);
}

.sb-ux2-footer a.sb-ux2-footer__badge .sb-ux2-footer__icon {
	width: 14px;
	height: 14px;
	margin: 0;
	color: #fff;
}

/* Legal row. */
.sb-ux2-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px 0 0;
}

@media (min-width: 1024px) {
	.sb-ux2-footer__legal {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.sb-ux2-footer ul.sb-ux2-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sb-ux2-footer ul.sb-ux2-footer__legal-links li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Inter, system-ui, sans-serif;
}

.sb-ux2-footer ul.sb-ux2-footer__legal-links li::before,
.sb-ux2-footer ul.sb-ux2-footer__legal-links li::marker {
	content: none;
}

.sb-ux2-footer ul.sb-ux2-footer__legal-links a.sb-ux2-footer__link {
	font-size: 13px;
	color: rgb(255 255 255 / 0.75);
}

.sb-ux2-footer__legal-end {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sb-ux2-footer a.sb-ux2-footer__social,
.sb-ux2-footer a.sb-ux2-footer__social:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.1);
	color: #fff;
	text-decoration: none;
}

.sb-ux2-footer a.sb-ux2-footer__social:hover,
.sb-ux2-footer a.sb-ux2-footer__social:focus-visible {
	background: #c24b14;
}

.sb-ux2-footer p.sb-ux2-footer__copy {
	margin: 0 0 0 4px;
	padding: 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	color: rgb(255 255 255 / 0.65);
}

.sb-ux2-footer a:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 2px;
	border-radius: 2px;
}
