/* Scouts-style footer; the original footer keeps its existing styles. */
.sfl-footer--modern {
	color: var(--sfl-footer-ink, #fff);
	padding: clamp(28px, 4vw, 54px) 0 30px;
}

.sfl-footer--modern .wrapper {
	width: 95%;
}

.sfl-footer--modern .sfl-footer__top {
	align-items: center;
	border-bottom: 1px solid currentColor;
	border-bottom-color: color-mix(in srgb, currentColor 35%, transparent);
	display: flex;
	gap: 28px;
	justify-content: space-between;
	padding-bottom: 32px;
}

.sfl-footer--modern .footer-logo {
	flex: 0 0 auto;
	margin: 0;
	text-align: left;
}

.sfl-footer--modern .footer-logo img {
	display: block;
	height: 80px;
	width: 110px;
}

.sfl-footer--modern a,
.sfl-footer--modern a:visited,
.sfl-footer--modern a:hover,
.sfl-footer--modern a:focus {
	color: inherit;
}

.sfl-footer__social h2 {
	color: inherit;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.sfl-footer__social ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sfl-footer__social a {
	align-items: center;
	display: flex;
	height: 44px;
	justify-content: center;
	transition: opacity .2s ease;
	width: 44px;
}

.sfl-footer__social a:hover {
	opacity: .7;
}

.sfl-footer__social img {
	display: block;
	object-fit: contain;
	height: 36px;
	width: 36px;
	max-width: none;
	flex: 0 0 36px;
}

.sfl-footer--dark-ink .footer-logo img,
.sfl-footer--dark-ink .sfl-footer__social img,
.sfl-footer--dark-ink .sfl-footer__award img {
	filter: brightness(0);
}

.sfl-footer__columns {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	padding: 30px 0;
}

.sfl-footer__column,
.sfl-footer--modern .widget-footer {
	display: block;
	float: none;
	min-width: 0;
	width: 100%;
}

.sfl-footer--modern .widget-footer + .widget-footer {
	margin-top: 24px;
}

.sfl-footer--modern .widget-footer .heading,
.sfl-footer--modern .widget-footer h2,
.sfl-footer--modern .widget-footer h3 {
	color: inherit;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 20px;
	padding: 0 !important;
}

.sfl-footer--modern .widget-footer ul {
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

.sfl-footer--modern .widget-footer li {
	line-height: 1.5;
	padding: 0 0 9px;
}

.sfl-footer--modern .widget-footer li:last-child {
	padding-bottom: 0;
}

.sfl-footer--modern .widget-footer li ul {
	margin: 9px 0 0 16px;
}

.sfl-footer--modern .widget-footer p {
	line-height: 1.6;
	margin: 0 0 12px;
	overflow-wrap: anywhere;
}

.sfl-footer--modern .confit-phone {
	font-size: 1.5rem;
}

.sfl-footer__bottom {
	align-items: start;
	border-top: 1px solid currentColor;
	border-top-color: color-mix(in srgb, currentColor 35%, transparent);
	display: flex;
	gap: 28px;
	justify-content: space-between;
	padding-top: 26px;
}

.sfl-footer__legal {
	font-size: .875rem;
	line-height: 1.6;
	min-width: 0;
	overflow-wrap: anywhere;
}

.sfl-footer__legal p {
	margin: 0 0 4px;
}

.sfl-footer__legal a {
	text-decoration: underline;
	text-underline-offset: .15em;
}

.sfl-footer__award {
	flex: 0 0 110px;
}

.sfl-footer__award img {
	display: block;
	height: auto;
	width: 110px;
}

.sfl-footer__toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	display: flex;
	font: inherit;
	gap: 16px;
	justify-content: space-between;
	padding: 0;
	text-align: left;
	width: 100%;
}

.sfl-footer__panel[hidden] {
	display: none;
}

.sfl-footer__panel.is-animating {
	box-sizing: border-box;
	overflow: hidden;
}

.sfl-footer__toggle:hover,
.sfl-footer__toggle:focus {
	background: transparent;
	color: inherit;
}

.sfl-footer__toggle:disabled {
	cursor: default;
	opacity: 1;
}

.sfl-footer__chevron {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: none;
	flex: 0 0 9px;
	height: 9px;
	margin-right: 4px;
	transform: rotate(45deg);
	transition: transform .25s ease;
	width: 9px;
}

@media (max-width: 767px) {
	.sfl-footer--modern .sfl-footer__top {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
		padding-bottom: 24px;
	}

	.sfl-footer--modern .footer-logo {
		align-self: center;
		text-align: center;
	}

	.sfl-footer__columns {
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
		padding: 0 0 22px;
	}

	.sfl-footer__column {
		border-bottom: 1px solid currentColor;
		border-bottom-color: color-mix(in srgb, currentColor 25%, transparent);
		padding: 22px 0;
	}

	/* The legal row already supplies the final divider. */
	.sfl-footer__column:last-child {
		border-bottom: 0;
	}

	.sfl-footer--modern .widget-footer .heading,
	.sfl-footer--modern .widget-footer h2,
	.sfl-footer--modern .widget-footer h3 {
		font-size: 1.35rem;
	}

	.sfl-footer--modern .sfl-footer__accordion > .heading {
		margin-bottom: 0;
	}

	.sfl-footer__toggle {
		min-height: 28px;
	}

	.sfl-footer__chevron {
		display: block;
	}

	.sfl-footer__toggle[aria-expanded="true"] .sfl-footer__chevron {
		transform: rotate(225deg);
	}

	.sfl-footer__panel:not([hidden]) {
		padding-top: 18px;
	}

	.sfl-footer__bottom {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfl-footer__social a,
	.sfl-footer__chevron {
		transition: none;
	}
}
