#colophon:has(.whg-footer) {
	background: #111112;
	padding: 0;
}

.whg-footer {
	--whg-footer-width: 1280px;
	--whg-footer-gutter: clamp(20px, 4vw, 48px);
	--whg-footer-text: #f5f5f6;
	--whg-footer-muted: #bcbcc2;
	--whg-footer-line: #333336;
	background: #111112;
	color: var(--whg-footer-text);
	font-family: inherit;
}

.whg-footer__container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--whg-footer-width);
	margin-inline: auto;
	padding-inline: var(--whg-footer-gutter);
}

.whg-footer__enquiry {
	background: #19191b;
	border-block: 1px solid var(--whg-footer-line);
}

.whg-footer__enquiry-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px 32px;
	padding-block: clamp(30px, 5vw, 54px);
}

.whg-footer__enquiry h2 {
	margin: 0 0 8px;
	color: var(--whg-footer-text);
	font: inherit;
	font-size: clamp(25px, 3.2vw, 42px);
	font-weight: 650;
	letter-spacing: -.04em;
	line-height: 1.15;
	text-wrap: balance;
}

.whg-footer p {
	margin: 0;
	color: var(--whg-footer-muted);
	font-size: 14px;
	line-height: 1.6;
}

.whg-footer a {
	color: var(--whg-footer-muted);
	text-decoration: none;
}

.whg-footer a:hover,
.whg-footer a:focus-visible {
	color: var(--whg-footer-text);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.whg-footer a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.whg-footer .whg-footer__quote {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 11px 19px;
	border: 1px solid transparent;
	border-radius: 5px;
	background: #f5f5f6;
	color: #141415;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.whg-footer .whg-footer__quote:hover {
	background: #dedee1;
	color: #111112;
	text-decoration: none;
}

.whg-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, .75fr);
	align-items: start;
	gap: 26px clamp(16px, 3vw, 44px);
	padding-block: 40px 30px;
}

.whg-footer__grid h2 {
	margin: 0 0 8px;
	color: var(--whg-footer-text);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.whg-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.whg-footer li a {
	display: flex;
	min-height: 32px;
	align-items: center;
	padding-block: 5px;
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.whg-footer .whg-footer__wordmark {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--whg-footer-text);
	font-size: 18px;
	font-weight: 750;
	letter-spacing: .08em;
}

.whg-footer__mark {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 5px;
	background: #f5f5f6;
}

.whg-footer__mark img {
	display: block;
	width: 18px;
	height: 26px;
	object-fit: contain;
}

.whg-footer__brand p {
	max-width: 24ch;
	margin-bottom: 6px;
}

#colophon .whg-footer ~ .site-below-footer-wrap {
	min-height: 0;
	padding: 0;
	border-top: 1px solid #333336;
	background: #111112;
}

#colophon .whg-footer ~ .site-below-footer-wrap .site-below-footer-inner-wrap {
	min-height: 0;
	max-width: 1280px;
	padding: 16px clamp(20px, 4vw, 48px);
}

#colophon .whg-footer ~ .site-below-footer-wrap .ast-footer-copyright p {
	margin: 0;
	color: #bcbcc2;
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 970px) {
	.whg-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.whg-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-block: 24px;
	}

	.whg-footer__grid > * + * {
		padding-top: 16px;
		border-top: 1px solid var(--whg-footer-line);
	}

	.whg-footer .whg-footer__quote {
		width: 100%;
	}

	.whg-footer li a {
		min-height: 44px;
	}
}
