/* Modern homepage templates — Skills for Life 7.0.15 */
.sfl-modern-home {
	--sfl-blue: #006ddf;
	--sfl-deep-blue: #003982;
	--sfl-purple: #7413dc;
	--sfl-purple-dark: #590fa9;
	--sfl-teal: #088486;
	--sfl-yellow: #ffe627;
	--sfl-ink: #404040;
	--sfl-grey: #f1f1f1;
	--sfl-hero-bg: #006ddf;
	--sfl-hero-heading: #ffe627;
	--sfl-hero-text: #fff;
	--sfl-hero-contrast: #fff;
	--sfl-finder-bg: #7413dc;
	--sfl-finder-contrast: #fff;
	--sfl-finder-button: #ffe627;
	--sfl-finder-icon: #000;
	--sfl-news-bg: #088486;
	--sfl-news-contrast: #fff;
	--sfl-widget-row-bg: #088486;
	--sfl-widget-row-contrast: #fff;
	--sfl-volunteer-bg: #088486;
	--sfl-volunteer-contrast: #fff;
	--sfl-hero-decoration-primary: #003982;
	--sfl-hero-decoration-accent: #ffe627;
	--sfl-scout-section-colour: #004851;
	color: var(--sfl-ink);
	font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.45;
	overflow: hidden;
}

.sfl-modern-home *,
.sfl-modern-home *::before,
.sfl-modern-home *::after {
	box-sizing: border-box;
}

.sfl-modern-home img {
	display: block;
	max-width: 100%;
}

.sfl-modern-home h1,
.sfl-modern-home h2,
.sfl-modern-home h3,
.sfl-modern-home p {
	font-family: inherit;
	text-transform: none;
}

.sfl-modern-home h1,
.sfl-modern-home h2,
.sfl-modern-home h3 {
	font-weight: 900;
	letter-spacing: 0;
}

.sfl-modern-home h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.2;
	margin: 0 0 1.25rem;
}

.sfl-modern-home a {
	text-transform: none;
}

.sfl-layout {
	margin: 0 auto;
	max-width: 1440px;
	padding-left: 16px;
	padding-right: 16px;
	width: 100%;
}

.sfl-button {
	align-items: center;
	border: 2px solid currentColor;
	display: inline-flex;
	font-size: 18px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	padding: 11px 24px;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.sfl-button:hover,
.sfl-button:focus-visible {
	text-decoration: none;
	transform: translateY(-2px);
}

.sfl-button--outline {
	background: transparent;
	color: var(--sfl-hero-contrast);
}

.sfl-button--outline:hover,
.sfl-button--outline:focus-visible {
	background: var(--sfl-hero-contrast);
	border-color: var(--sfl-hero-contrast);
	color: var(--sfl-hero-bg);
}

.sfl-button--light {
	background: #fff;
	border-color: #fff;
	color: var(--sfl-purple-dark);
}

.sfl-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 30px;
}

.sfl-hero {
	background: var(--sfl-hero-bg);
	color: var(--sfl-hero-text);
	position: relative;
}

.sfl-hero h1 {
	color: var(--sfl-hero-heading);
}

.sfl-hero__intro,
.sfl-hero__intro p,
.sfl-hero__intro a {
	color: var(--sfl-hero-text);
}

.sfl-hero__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
	position: relative;
	z-index: 2;
}

.sfl-hero__copy {
	align-self: center;
}

.sfl-hero h1 {
	font-size: clamp(3.5rem, 6vw, 5.25rem);
	line-height: 1;
	margin: 0 0 24px;
}

.sfl-hero__intro {
	font-size: 21px;
	font-weight: 600;
	max-width: 600px;
}

.sfl-hero__intro > *:first-child {
	margin-top: 0;
}

.sfl-hero__intro > *:last-child {
	margin-bottom: 0;
}

.sfl-hero--bold,
.sfl-hero--scouts,
.sfl-hero--stories {
	background: var(--sfl-hero-bg);
	color: var(--sfl-hero-text);
	overflow: hidden;
	padding: 80px 0;
}

.sfl-hero--bold h1,
.sfl-hero--scouts h1 {
	color: var(--sfl-hero-heading);
}

.sfl-hero__decoration {
	height: 421px;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 393px;
	z-index: 1;
}

.sfl-hero__decoration svg,
.sfl-hero__decoration img {
	display: block;
	height: 100%;
	object-fit: contain;
	object-position: right top;
	width: 100%;
}

.sfl-hero__decoration-primary {
	fill: var(--sfl-hero-decoration-primary);
}

.sfl-hero__decoration-accent {
	fill: var(--sfl-hero-decoration-accent);
}

/* Bold Belonging can opt into the same top-right decoration used by Scouts UK. */
.sfl-modern-home--bold-belonging .sfl-hero__decoration {
	right: 0;
	top: 0;
}

.sfl-hero--scouts .sfl-hero__grid {
	grid-template-columns: 547px minmax(0, 1fr);
}

.sfl-hero--scouts .sfl-photo-collage {
	gap: 30px;
	min-height: 513px;
	padding-left: 39px;
	padding-right: 39px;
}

.sfl-hero--scouts .sfl-photo-collage .sfl-photo-collage__item:nth-child(2) {
	height: 89%;
	margin-top: 55px;
}

.sfl-hero--scouts .sfl-photo-collage .sfl-photo-collage__item:nth-child(3) {
	height: 89%;
	margin-top: 0;
}

.sfl-hero--scouts .sfl-photo-collage .sfl-photo-collage__item:nth-child(1) {
	height: 84%;
	margin-top: 29px;
}

.sfl-photo-collage {
	display: grid;
	gap: 14px;
	min-height: 470px;
}

.sfl-photo-collage__item {
	display: block;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	position: relative;
	transform-origin: 50% 100%;
}

.sfl-photo-collage__item img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	display: block;
	height: 100%;
	min-height: 0;
	min-width: 0;
	object-fit: cover;
	-webkit-transform: translate3d(0, 0, 0) scale(1);
	transform: translate3d(0, 0, 0) scale(1);
	transform-origin: center;
	-webkit-transition: -webkit-transform .35s ease;
	transition: transform .35s ease;
	will-change: transform;
	width: 100%;
}

.sfl-photo-collage--three,
.sfl-photo-collage--source {
	grid-template-columns: repeat(3, 1fr);
}

.sfl-photo-collage--split {
	display: grid;
	gap: 4px;
	grid-template-columns: 1.35fr .65fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	min-height: 650px;
}

.sfl-photo-collage--split .sfl-photo-collage__item:first-child {
	grid-row: 1 / 3;
}

.sfl-photo-collage--split.sfl-photo-collage--count-1 {
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.sfl-photo-collage--split.sfl-photo-collage--count-1 .sfl-photo-collage__item {
	height: auto;
}

.sfl-photo-collage--split.sfl-photo-collage--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr;
}

.sfl-photo-collage--split.sfl-photo-collage--count-2 .sfl-photo-collage__item:first-child {
	grid-row: auto;
}

.sfl-photo-collage--three .sfl-photo-collage__item:nth-child(1),
.sfl-photo-collage--source .sfl-photo-collage__item:nth-child(1) {
	height: 86%;
	margin-top: 10%;
}

.sfl-photo-collage--three .sfl-photo-collage__item:nth-child(2),
.sfl-photo-collage--source .sfl-photo-collage__item:nth-child(2) {
	height: 94%;
}

.sfl-photo-collage--three .sfl-photo-collage__item:nth-child(3),
.sfl-photo-collage--source .sfl-photo-collage__item:nth-child(3) {
	height: 82%;
	margin-top: 17%;
}

.sfl-hero--split {
	background: var(--sfl-hero-bg);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 650px;
}

.sfl-hero__split-image--single {
	min-height: 650px;
	overflow: hidden;
}

.sfl-hero__split-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.sfl-hero__split-copy {
	align-self: center;
	color: var(--sfl-hero-text);
	padding: 64px clamp(30px, 6vw, 100px);
}

.sfl-hero--split h1 {
	color: var(--sfl-hero-heading);
}

.sfl-hero--split .sfl-group-finder {
	background: var(--sfl-finder-bg);
	color: var(--sfl-finder-contrast);
	margin: 30px 0 0;
	padding: 24px;
}

.sfl-hero--split .sfl-group-finder--compact {
	padding: 0;
}

.sfl-hero--split .sfl-group-finder .sfl-layout {
	padding: 0;
}

.sfl-hero--split .sfl-group-finder h2,
.sfl-hero--split .sfl-group-finder h3,
.sfl-hero--split .sfl-group-finder h4 {
	color: var(--sfl-finder-contrast);
	font-size: 28px;
	text-align: left;
}

.sfl-hero--split .sfl-group-finder__body {
	text-align: left;
}

.sfl-hero__split-actions {
	margin-top: 26px;
}

.sfl-hero--stories {
	background: var(--sfl-hero-bg);
}

.sfl-hero--stories h1 {
	color: var(--sfl-hero-heading);
}

.sfl-kicker {
	color: var(--sfl-kicker-colour, var(--sfl-yellow));
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 20px;
}

.sfl-photo-collage--stories {
	gap: 14px;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	height: clamp(390px, 36vw, 520px);
	min-height: 0;
}

.sfl-photo-collage--stories .sfl-photo-collage__item:first-child {
	grid-column: 1;
	grid-row: 1 / 3;
}

.sfl-photo-collage--stories .sfl-photo-collage__item:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

.sfl-photo-collage--stories .sfl-photo-collage__item:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
}

.sfl-photo-collage__item[data-sfl-animate="image"] {
	animation: sfl-hero-image-rise 1.05s cubic-bezier(.16, 1, .3, 1) backwards;
}

.sfl-photo-collage__item[data-sfl-animate="image"]:nth-child(2) {
	animation-delay: 110ms;
}

.sfl-photo-collage__item[data-sfl-animate="image"]:nth-child(3) {
	animation-delay: 220ms;
}

/* The split hero reads best as one composed image panel, so it fades rather than rising. */
.sfl-modern-home--find-adventure .sfl-photo-collage__item[data-sfl-animate="image"] {
	animation-name: sfl-hero-image-fade;
	animation-duration: .85s;
}

[data-sfl-copy-reveal] > * {
	animation: sfl-hero-copy-left .82s cubic-bezier(.16, 1, .3, 1) backwards;
}

[data-sfl-copy-reveal] > :nth-child(2) {
	animation-delay: 90ms;
}

[data-sfl-copy-reveal] > :nth-child(3) {
	animation-delay: 180ms;
}

[data-sfl-copy-reveal] > :nth-child(4) {
	animation-delay: 270ms;
}

.sfl-hero .sfl-hero__decoration {
	animation: sfl-hero-decoration-reveal 1.15s .18s cubic-bezier(.16, 1, .3, 1) backwards;
}

@keyframes sfl-hero-image-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 72px, 0) scale3d(1, .78, 1);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes sfl-hero-image-fade {
	from {
		opacity: 0;
		transform: translate3d(0, 0, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes sfl-hero-copy-left {
	from {
		opacity: 0;
		transform: translate3d(-48px, 0, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes sfl-hero-decoration-reveal {
	from {
		opacity: 0;
		transform: translate3d(18px, -18px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@media (hover: hover) and (pointer: fine) {
	.sfl-photo-collage__item:hover img {
		-webkit-transform: translate3d(0, 0, 0) scale(1.04);
		transform: translate3d(0, 0, 0) scale(1.04);
	}
}

.sfl-home-sections {
	background: linear-gradient(180deg, var(--sfl-grey), #fff);
	padding: 60px 0 100px;
}

.sfl-home-sections h2 {
	text-align: center;
}

.sfl-section-lead {
	font-size: 20px;
	margin: -8px 0 36px;
	text-align: center;
}

.sfl-home-sections__list {
	column-gap: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 44px;
	row-gap: 18px;
}

.sfl-home-section {
	--section-colour: #000;
	background: #fff;
	box-shadow: 0 0 9px 2px rgba(0, 0, 0, .1);
	color: #000;
	display: block;
	flex: 0 1 calc(16.666667% - 15px);
	height: 151px;
	max-width: calc(16.666667% - 15px);
	min-width: 0;
	padding: 0 20px;
	position: relative;
	text-decoration: none;
}

.sfl-home-section.is-squirrels { --section-colour: #ed3f23; }
.sfl-home-section.is-beavers { --section-colour: #006ddf; }
.sfl-home-section.is-cubs { --section-colour: #25b755; }
.sfl-home-section.is-scouts { --section-colour: var(--sfl-scout-section-colour, #004851); }
.sfl-home-section.is-explorers { --section-colour: #00425e; }
.sfl-home-section.is-network { --section-colour: #000; }

.sfl-home-section::before {
	background: var(--section-colour);
	content: "";
	height: 100%;
	left: 50%;
	top: 50%;
	opacity: 0;
	position: absolute;
	transform: translate(-50%, -50%);
	transition: opacity .3s ease-in-out, transform .3s ease-in-out;
	width: 100%;
	z-index: 0;
}

.sfl-home-section__content {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.sfl-home-section__logo {
	background: var(--section-colour);
	display: block;
	height: 46px;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: background-color .3s ease-in-out;
	width: 100%;
}

.sfl-home-section.is-squirrels .sfl-home-section__logo { -webkit-mask-image: url('../img/logo-squirrels.svg'); mask-image: url('../img/logo-squirrels.svg'); }
.sfl-home-section.is-beavers .sfl-home-section__logo { -webkit-mask-image: url('../img/logo-beavers.svg'); mask-image: url('../img/logo-beavers.svg'); }
.sfl-home-section.is-cubs .sfl-home-section__logo { -webkit-mask-image: url('../img/logo-cubs.svg'); mask-image: url('../img/logo-cubs.svg'); }
.sfl-home-section.is-scouts .sfl-home-section__logo { -webkit-mask-image: url('../img/logo-scouts.svg'); mask-image: url('../img/logo-scouts.svg'); }
.sfl-home-section.is-explorers .sfl-home-section__logo { -webkit-mask-image: url('../img/logo-explorers-modern.svg'); mask-image: url('../img/logo-explorers-modern.svg'); }
.sfl-home-section.is-network .sfl-home-section__logo { -webkit-mask-image: url('../img/logo-network.svg'); mask-image: url('../img/logo-network.svg'); }

.sfl-home-section.is-squirrels .sfl-home-section__logo { max-width: 174px; }
.sfl-home-section.is-beavers .sfl-home-section__logo { max-width: 166px; }
.sfl-home-section.is-cubs .sfl-home-section__logo { max-width: 110px; }
.sfl-home-section.is-scouts .sfl-home-section__logo { max-width: 148px; }
.sfl-home-section.is-explorers .sfl-home-section__logo { max-width: 185px; }
.sfl-home-section.is-network .sfl-home-section__logo { max-width: 130px; }

.sfl-home-section__age {
	color: #000;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	transition: color .3s ease-in-out;
}

.sfl-home-section:hover,
.sfl-home-section:focus-visible {
	text-decoration: none;
}

.sfl-home-section--source:hover,
.sfl-home-section--source:focus-visible {
	color: #fff;
	text-decoration: none;
}

.sfl-home-section--source:hover::before,
.sfl-home-section--source:focus-visible::before {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.07);
}

.sfl-home-section--source:hover .sfl-home-section__logo,
.sfl-home-section--source:focus-visible .sfl-home-section__logo {
	background: #fff;
}

.sfl-home-section--source:hover .sfl-home-section__age,
.sfl-home-section--source:focus-visible .sfl-home-section__age {
	color: #fff;
	text-decoration: none;
}

.sfl-home-section:hover .sfl-home-section__age,
.sfl-home-section:focus-visible .sfl-home-section__age {
	text-decoration: none;
}

.sfl-home-sections--colour {
	background: #fff;
}

.sfl-home-sections__list--colour {
	margin-left: auto;
	margin-right: auto;
	max-width: 1050px;
}

.sfl-home-sections__list--colour .sfl-home-section {
	flex-basis: calc(33.333333% - 12px);
	max-width: calc(33.333333% - 12px);
}

.sfl-home-section--colour {
	background: var(--section-colour);
	box-shadow: none;
	height: 190px;
	transition: box-shadow .25s ease, transform .25s ease;
}

.sfl-home-section--colour::before {
	display: none;
}

.sfl-home-section--colour .sfl-home-section__logo {
	background: #fff;
}

.sfl-home-section--colour .sfl-home-section__age {
	color: #fff;
}

.sfl-home-section--colour:hover,
.sfl-home-section--colour:focus-visible {
	box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
	transform: translateY(-6px);
}

.sfl-home-sections--compact {
	background: #fff;
	padding: 50px 0 70px;
}

.sfl-home-sections__list--compact {
	column-gap: 2px;
	margin-top: 30px;
	row-gap: 2px;
}

.sfl-home-sections__list--compact .sfl-home-section {
	flex-basis: calc(16.666667% - 1.666667px);
	max-width: calc(16.666667% - 1.666667px);
}

.sfl-home-section--compact {
	box-shadow: none;
	height: 105px;
}

.sfl-home-section--compact::before {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.sfl-home-section--compact .sfl-home-section__logo {
	background: #fff;
	height: 32px;
}

.sfl-home-section--compact .sfl-home-section__age {
	color: #fff;
	font-size: 16px;
}

.sfl-home-section--compact:hover::before,
.sfl-home-section--compact:focus-visible::before {
	filter: brightness(.88);
}

.sfl-group-finder {
	background: var(--sfl-finder-bg);
	color: var(--sfl-finder-contrast);
	padding: 60px 0;
}

.sfl-group-finder h2,
.sfl-group-finder h3,
.sfl-group-finder h4 {
	color: var(--sfl-finder-contrast);
	text-align: center;
}

.sfl-group-finder__body {
	color: var(--sfl-finder-contrast);
	font-size: 18px;
	margin: -8px auto 26px;
	max-width: 760px;
	text-align: center;
}

.sfl-group-finder__form {
	color: var(--sfl-finder-contrast);
	margin: 0 auto;
	max-width: 760px;
}

.sfl-group-finder__form label {
	color: var(--sfl-finder-contrast);
	display: block;
	font-size: 17px;
	font-weight: 800;
	margin-bottom: 9px;
}

.sfl-group-finder__controls {
	display: grid;
	grid-template-columns: 1fr auto;
}

.sfl-group-finder input,
.sfl-group-finder button {
	border: 0;
	font: inherit;
	min-height: 58px;
}

.sfl-group-finder input {
	background: #fff;
	border-radius: 5px 0 0 5px;
	color: #111;
	padding: 14px 18px;
}

.sfl-group-finder button {
	align-items: center;
	background: var(--sfl-finder-button);
	border-radius: 0 5px 5px 0;
	color: var(--sfl-finder-icon);
	cursor: pointer;
	display: flex;
	justify-content: center;
	padding: 0;
	transition: filter .2s ease;
	width: 64px;
}

.sfl-group-finder__search-icon {
	background: currentColor;
	display: block;
	height: 26px;
	-webkit-mask: url('../img/search.svg') no-repeat center / contain;
	mask: url('../img/search.svg') no-repeat center / contain;
	width: 26px;
}

.sfl-group-finder button:hover,
.sfl-group-finder button:focus-visible,
.sfl-group-finder button:active {
	filter: brightness(.88);
}

.sfl-group-finder__location {
	align-items: center;
	color: var(--sfl-finder-contrast);
	display: flex;
	font-size: 17px;
	font-weight: 800;
	gap: 10px;
	justify-content: center;
	margin: 18px auto 0;
	max-width: 100%;
	width: max-content;
}

.sfl-group-finder__location-icon {
	background: currentColor;
	display: block;
	flex: 0 0 auto;
	height: 28px;
	-webkit-mask: url('../img/use-location.svg') no-repeat center / contain;
	mask: url('../img/use-location.svg') no-repeat center / contain;
	width: 28px;
}

.sfl-group-finder__location:hover,
.sfl-group-finder__location:focus-visible {
	color: var(--sfl-finder-contrast);
	text-decoration-thickness: 2px;
}

.sfl-hero--split .sfl-group-finder__location {
	justify-content: flex-start;
	margin-left: 0;
}

.sfl-widget-row {
	background: var(--sfl-widget-row-bg);
	color: var(--sfl-widget-row-contrast);
	padding: 70px 0;
}

.sfl-widget-row__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sfl-modern-home--scouts-uk .sfl-widget-row__grid {
	text-align: center;
}

.sfl-widget-row .home-widget {
	background: transparent;
	color: var(--sfl-widget-row-contrast);
	height: 100%;
	margin: 0;
	padding: 0;
	width: auto;
}

.sfl-widget-row .home-widget h4,
.sfl-widget-row .home-widget h2,
.sfl-widget-row .home-widget h3,
.sfl-widget-row .home-widget p,
.sfl-widget-row .home-widget a,
.sfl-widget-row__grid > div,
.sfl-widget-row__grid > div a {
	color: var(--sfl-widget-row-contrast);
}

.sfl-widget-row .home-widget h4 {
	font-size: 28px;
	margin-top: 0;
}

.sfl-section-heading {
	margin-bottom: 38px;
}

.sfl-section-heading h2 {
	margin-bottom: 8px;
}

.sfl-section-heading p {
	font-size: 19px;
	margin: 0;
}

.sfl-news .sfl-section-heading {
	text-align: center;
}

.sfl-news {
	background: var(--sfl-news-bg, var(--sfl-teal));
	color: var(--sfl-news-contrast, #fff);
	padding: 70px 0 90px;
}

.sfl-news h2,
.sfl-news .sfl-section-heading p {
	color: var(--sfl-news-contrast, #fff);
}

.sfl-news--full,
.sfl-news--editorial {
	background: var(--sfl-news-bg, var(--sfl-teal));
	color: var(--sfl-news-contrast, #fff);
	width: 100%;
}

.sfl-news--full h2,
.sfl-news--full .sfl-section-heading p,
.sfl-news--editorial h2,
.sfl-news--editorial .sfl-section-heading p {
	color: var(--sfl-news-contrast, #fff);
}

.sfl-news__track {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sfl-news__viewport {
	overflow: visible;
}

.sfl-news-card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
	color: var(--sfl-ink);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.sfl-news-card__image {
	display: block;
	overflow: hidden;
}

.sfl-news-card__image img {
	aspect-ratio: 450 / 306;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.sfl-news-card:hover .sfl-news-card__image img {
	transform: scale(1.04);
}

.sfl-news-card__body {
	padding: 24px;
}

.sfl-news-card h3 {
	font-size: 24px;
	line-height: 1.15;
	margin: 0 0 12px;
}

.sfl-news-card h3 a {
	color: var(--sfl-deep-blue);
	text-decoration: none;
}

.sfl-news-card h3 a:hover,
.sfl-news-card h3 a:focus-visible {
	text-decoration: underline;
}

.sfl-news-card p {
	margin: 0;
}

.sfl-news--editorial .sfl-news__track {
	grid-template-columns: 1.35fr repeat(2, minmax(0, .825fr));
}

.sfl-news--editorial .sfl-news-card:first-child {
	grid-row: span 2;
}

.sfl-news--editorial .sfl-news-card:first-child h3 {
	font-size: 30px;
}

.sfl-modern-home--local-stories .sfl-news--editorial {
	padding-bottom: clamp(84px, 8vw, 112px);
	padding-top: clamp(76px, 7vw, 100px);
}

.sfl-modern-home--local-stories .sfl-news--editorial .sfl-section-heading {
	margin-bottom: clamp(40px, 5vw, 58px);
}

/* Local Stories uses an editorial hierarchy without crowding cards together. */
@media (min-width: 992px) {
	.sfl-modern-home--local-stories .sfl-news--editorial .sfl-news__track {
		align-items: stretch;
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sfl-modern-home--local-stories .sfl-news--editorial .sfl-news-card:first-child {
		grid-row: auto;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="3"] .sfl-news__track {
		grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="3"] .sfl-news-card:first-child {
		grid-row: 1 / 3;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="3"] .sfl-news-card:nth-child(n + 2) {
		display: grid;
		grid-template-columns: minmax(150px, .82fr) minmax(0, 1.18fr);
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="3"] .sfl-news-card:nth-child(n + 2) .sfl-news-card__image img {
		aspect-ratio: auto;
		height: 100%;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="3"] .sfl-news-card:nth-child(n + 2) .sfl-news-card__body {
		padding: 20px;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="3"] .sfl-news-card:nth-child(n + 2) h3 {
		font-size: 21px;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="4"] .sfl-news__track,
	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="5"] .sfl-news__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="4"] .sfl-news-card:first-child,
	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="6"] .sfl-news-card:first-child {
		grid-row: auto;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="5"] .sfl-news-card:first-child {
		display: grid;
		grid-column: 1 / -1;
		grid-row: auto;
		grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="5"] .sfl-news-card:first-child .sfl-news-card__image img {
		aspect-ratio: 16 / 7;
		height: 100%;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial[data-sfl-item-count="5"] .sfl-news-card:first-child .sfl-news-card__body {
		align-self: center;
	}
}

.sfl-news__controls {
	display: none;
}

.sfl-news__view-all {
	margin-top: 42px;
	text-align: center;
}

.sfl-button--news {
	background: var(--sfl-purple);
	border-color: var(--sfl-purple);
	color: #fff;
}

.sfl-button--news:hover,
.sfl-button--news:focus-visible {
	background: var(--sfl-purple-dark);
	border-color: var(--sfl-purple-dark);
	color: #fff;
}

.sfl-news--full .sfl-button--news {
	background: transparent;
	border-color: var(--sfl-news-contrast, #fff);
	color: var(--sfl-news-contrast, #fff);
}

.sfl-news--full .sfl-button--news:hover,
.sfl-news--full .sfl-button--news:focus-visible {
	background: var(--sfl-news-contrast, #fff);
	border-color: var(--sfl-news-contrast, #fff);
	color: var(--sfl-news-bg, var(--sfl-teal));
}

.sfl-news--editorial .sfl-button--news {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.sfl-news--editorial .sfl-button--news:hover,
.sfl-news--editorial .sfl-button--news:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--sfl-news-bg, var(--sfl-teal));
}

.sfl-modern-home--find-adventure .sfl-button--news {
	background: transparent;
	border-color: var(--sfl-news-contrast, #fff);
	color: var(--sfl-news-contrast, #fff);
}

.sfl-modern-home--find-adventure .sfl-button--news:hover,
.sfl-modern-home--find-adventure .sfl-button--news:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--sfl-news-bg, var(--sfl-teal));
}

.sfl-events {
	background: #fff;
	padding: 70px 0 90px;
}

.sfl-modern-home--scouts-uk .sfl-events {
	padding-bottom: clamp(36px, 4vw, 56px);
}

.sfl-events .sfl-section-heading {
	text-align: center;
}

.sfl-events .sfl-section-heading h2 {
	color: var(--sfl-deep-blue);
}

.sfl-event-card .sfl-news-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.sfl-event-card__schedule {
	color: var(--sfl-purple-dark);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	margin-bottom: 10px;
}

.sfl-event-card__schedule .tribe-events-divider {
	padding: 0 5px;
}

.sfl-event-card__venue {
	font-weight: 800;
	margin: 0 0 10px !important;
}

.sfl-event-card__excerpt {
	margin: 0 0 20px !important;
}

.sfl-event-card__link {
	color: var(--sfl-purple-dark);
	font-weight: 800;
	margin-top: auto;
}

.sfl-event-card__link:hover,
.sfl-event-card__link:focus-visible {
	text-decoration-thickness: 2px;
}

.sfl-events__empty {
	font-size: 18px;
	text-align: center;
}

.sfl-button--events {
	background: transparent;
	border-color: #000;
	color: #000;
}

.sfl-button--events:hover,
.sfl-button--events:focus-visible,
.sfl-button--events:active {
	background: #000;
	border-color: #000;
	color: #fff;
}

.sfl-button--events:focus-visible {
	outline: 3px solid #000;
	outline-offset: 3px;
}

.sfl-safety {
	background: #fff;
	color: #000;
	padding: 70px 16px;
}

.sfl-safety__grid {
	align-items: start;
	background: var(--sfl-yellow);
	display: grid;
	gap: clamp(32px, 5vw, 70px);
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	max-width: 1220px;
	overflow: hidden;
	padding: clamp(42px, 5vw, 72px);
	position: relative;
	isolation: isolate;
}

.sfl-modern-home--scouts-uk .sfl-events + .sfl-safety {
	padding-top: 0;
}

.sfl-safety__watermark,
.sfl-safety .fb-block__watermark {
	bottom: 0;
	height: auto;
	max-width: min(338px, 42%);
	pointer-events: none;
	position: absolute;
	right: 0;
	width: 338px;
	z-index: 0;
}

.sfl-safety__intro {
	align-items: flex-start;
	display: flex;
	gap: 28px;
}

.sfl-safety__intro > .fa {
	font-size: 64px;
	line-height: 1;
}

.sfl-safety h2 {
	color: #000;
	margin-bottom: 16px;
}

.sfl-safety__intro p {
	font-size: 1.25rem;
}

.sfl-safety p,
.sfl-safety a,
.sfl-safety i {
	color: #000;
}

.sfl-button--safety {
	background: transparent;
	border-color: #000;
	color: #000 !important;
	margin-top: 10px;
}

.sfl-button--safety:hover,
.sfl-button--safety:focus-visible {
	background: #000;
	border-color: #000;
	color: #fff !important;
}

.sfl-safety--yellow {
	background: #fff;
}

.sfl-safety--yellow,
.sfl-safety--yellow h2,
.sfl-safety--yellow h3,
.sfl-safety--yellow h4,
.sfl-safety--yellow p,
.sfl-safety--yellow a:not(.sfl-button),
.sfl-safety--yellow i {
	color: #000 !important;
}

.sfl-safety--source {
	background: #fff;
}

.sfl-safety__intro,
.sfl-safety__widget,
.sfl-safety__links {
	min-width: 0;
	position: relative;
	z-index: 1;
}

.sfl-safety__widget,
.sfl-safety__links {
	border-left: 3px solid rgba(0, 0, 0, .32);
	padding-left: clamp(24px, 3vw, 40px);
}

.sfl-safety__links {
	font-size: 18px;
	font-weight: 700;
}

.sfl-safety__links .fa {
	margin-right: 10px;
}

.sfl-safety__widget > .safety-widget {
	background: transparent;
	color: inherit;
	margin: 0;
	padding: 0;
}

.sfl-safety__widget > .safety-widget + .safety-widget {
	margin-top: 28px;
}

.sfl-safety__widget .heading,
.sfl-safety__widget .widget-title,
.sfl-safety__widget .wp-block-heading {
	background: transparent;
	color: inherit;
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 12px;
	padding: 0;
}

.sfl-safety__widget p,
.sfl-safety__widget li,
.sfl-safety__widget a {
	overflow-wrap: anywhere;
}

.sfl-safety__widget .widget_nav_menu ul,
.sfl-safety__widget .menu,
.sfl-safety__widget .wp-block-navigation__container {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sfl-safety__widget .wp-block-navigation__container {
	align-items: flex-start;
	flex-direction: column;
}

.sfl-safety__widget img {
	height: auto;
	max-width: 100%;
}

.sfl-volunteer-band {
	background: var(--sfl-volunteer-bg, var(--sfl-teal));
	color: var(--sfl-volunteer-contrast, #fff);
	padding: 55px 0;
}

.sfl-modern-home--find-adventure .sfl-volunteer-band {
	margin-bottom: 100px;
}

.sfl-modern-home--find-adventure .sfl-volunteer-band + .sfl-before-news-widget,
.sfl-modern-home--find-adventure .sfl-volunteer-band + .sfl-main-widget,
.sfl-modern-home--find-adventure .sfl-volunteer-band + .sfl-news {
	padding-top: 0;
}

.sfl-volunteer-band__grid {
	align-items: center;
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr auto;
}

.sfl-volunteer-band h2 {
	color: var(--sfl-volunteer-contrast, #fff);
	margin-bottom: 8px;
}

.sfl-volunteer-band p {
	color: var(--sfl-volunteer-contrast, #fff);
	font-size: 19px;
	margin: 0;
}

.sfl-button--volunteer-band {
	background: transparent;
	border-color: var(--sfl-volunteer-contrast, #fff);
	color: var(--sfl-volunteer-contrast, #fff);
}

.sfl-button--volunteer-band:hover,
.sfl-button--volunteer-band:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--sfl-news-bg, var(--sfl-teal));
}

.sfl-running {
	background: #fff;
	padding: 80px 0;
}

.sfl-running .sfl-section-heading {
	text-align: center;
}

.sfl-running__grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sfl-running__grid a {
	color: var(--sfl-deep-blue);
	text-align: center;
	text-decoration: none;
}

.sfl-running__grid a > span {
	align-items: center;
	background: var(--sfl-grey);
	border-radius: 50%;
	display: flex;
	height: 128px;
	justify-content: center;
	margin: 0 auto 18px;
	transition: background .2s ease, transform .2s ease;
	width: 128px;
}

.sfl-running__grid a:hover > span,
.sfl-running__grid a:focus-visible > span {
	background: var(--sfl-yellow);
	transform: translateY(-5px);
}

.sfl-running__grid .fa {
	font-size: 45px;
}

.sfl-running__grid h3 {
	font-size: 18px;
	line-height: 1.25;
	margin: 0;
}

.sfl-promo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 470px;
}

.sfl-modern-home--scouts-uk .sfl-promo {
	/* The adjacent sections now own their spacing.
	margin-bottom: clamp(32px, 4vw, 60px);
	*/
}

.sfl-promo__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.sfl-promo__copy {
	align-items: flex-start;
	background: var(--sfl-purple);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 7vw, 110px);
}

.sfl-promo__copy h2 {
	color: #fff;
}

.sfl-promo__copy p {
	font-size: 20px;
	margin: 0 0 25px;
}

.sfl-modern-home--scouts-uk .sfl-promo .sfl-button--light {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.sfl-modern-home--scouts-uk .sfl-promo .sfl-button--light:hover,
.sfl-modern-home--scouts-uk .sfl-promo .sfl-button--light:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--sfl-purple);
}

.sfl-main-widget,
.sfl-main-widget-bottom,
.sfl-supporters {
	padding-bottom: 60px;
	padding-top: 60px;
}

.sfl-before-news-widget {
	background: #fff;
	padding: clamp(40px, 5vw, 72px) 0;
}

.sfl-before-news-widget__item {
	margin: 0;
}

.sfl-before-news-widget__item + .sfl-before-news-widget__item {
	margin-top: 32px;
}

.sfl-modern-home--scouts-uk .sfl-promo + .sfl-news {
	margin-top: clamp(28px, 3vw, 44px);
}

@media (min-width: 768px) {
	.sfl-news-card--mobile-only,
	.sfl-news-card[data-sfl-mobile-only="true"] {
		display: none !important;
	}
}

@media (min-width: 1200px) {
	.sfl-hero--scouts .sfl-hero__grid {
		grid-template-columns: 540px minmax(0,1fr);
	}

	.sfl-hero--scouts .sfl-photo-collage {
		padding-left: 32px;
		padding-right: 32px;
	}
}

@media (max-width: 1199px) {
	.sfl-running__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.sfl-hero__grid {
		grid-template-columns: 1fr;
	}

	.sfl-hero--scouts .sfl-hero__grid {
		grid-template-columns: 1fr;
	}

	.sfl-hero__copy {
		max-width: 720px;
	}

	.sfl-photo-collage {
		min-height: 390px;
	}

	.sfl-photo-collage--stories {
		height: 390px;
		min-height: 0;
	}

	.sfl-home-sections__list .sfl-home-section,
	.sfl-home-sections__list--colour .sfl-home-section {
		flex-basis: calc(33.333333% - 12px);
		max-width: calc(33.333333% - 12px);
	}

	.sfl-home-sections__list--compact .sfl-home-section {
		flex-basis: calc(33.333333% - 1.333333px);
		max-width: calc(33.333333% - 1.333333px);
	}

	.sfl-home-section {
		height: 151px;
	}

	.sfl-news__track,
	.sfl-news--editorial .sfl-news__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sfl-news--editorial .sfl-news-card:first-child {
		grid-row: auto;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial .sfl-news-card:first-child h3 {
		font-size: 24px;
	}

	.sfl-news.is-carousel-ready .sfl-news__viewport,
	.sfl-events.is-carousel-ready .sfl-news__viewport {
		margin-right: -16px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 4px 32px 24px 0;
		scroll-padding-left: 0;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.sfl-news.is-carousel-ready .sfl-news__viewport::-webkit-scrollbar,
	.sfl-events.is-carousel-ready .sfl-news__viewport::-webkit-scrollbar {
		display: none;
	}

	.sfl-news.is-carousel-ready .sfl-news__track,
	.sfl-events.is-carousel-ready .sfl-news__track {
		display: flex;
		gap: 18px;
		grid-template-columns: none;
		width: max-content;
	}

	.sfl-news.is-carousel-ready .sfl-news-card,
	.sfl-news--editorial.is-carousel-ready .sfl-news-card:first-child,
	.sfl-events.is-carousel-ready .sfl-news-card {
		flex: 0 0 min(360px, calc(100vw - 64px));
		max-width: 360px;
		scroll-snap-align: start;
	}

	.sfl-news--editorial.is-carousel-ready .sfl-news-card:first-child {
		grid-row: auto;
	}

	.sfl-news.is-carousel-ready .sfl-news__controls,
	.sfl-events.is-carousel-ready .sfl-news__controls {
		align-items: center;
		display: grid;
		gap: 14px;
		grid-template-columns: 48px minmax(90px, 1fr) 48px;
		margin: 4px auto 0;
		max-width: 360px;
	}

	.sfl-news__control {
		align-items: center;
		background: var(--sfl-purple);
		border: 0;
		border-radius: 50%;
		cursor: pointer;
		display: flex;
		height: 48px;
		justify-content: center;
		padding: 0;
		width: 48px;
	}

	.sfl-news__control:disabled {
		opacity: .42;
	}

	.sfl-news__control:hover,
	.sfl-news__control:focus-visible {
		background: var(--sfl-purple-dark);
		border-color: transparent;
		color: #fff;
	}

	.sfl-news__control:focus-visible {
		outline: 3px solid currentColor;
		outline-offset: 3px;
	}

	.sfl-news__control:disabled:hover {
		background: var(--sfl-purple);
		cursor: default;
	}

	.sfl-news__control img {
		height: 24px;
		width: 24px;
	}

	.sfl-news__control--previous img {
		transform: rotate(180deg);
	}

	.sfl-news__progress {
		background: rgba(64, 64, 64, .22);
		height: 5px;
		overflow: hidden;
	}

	.sfl-news__progress span {
		background: var(--sfl-purple);
		display: block;
		height: 100%;
		transform: scaleX(var(--sfl-news-progress, .3333));
		transform-origin: left center;
		transition: transform .25s ease;
		width: 100%;
	}

	.sfl-news--full .sfl-news__progress,
	.sfl-news--editorial .sfl-news__progress {
		background: rgba(255, 255, 255, .35);
		background: color-mix(in srgb, var(--sfl-news-contrast, #fff) 35%, transparent);
	}

	.sfl-news--full .sfl-news__progress span,
	.sfl-news--editorial .sfl-news__progress span {
		background: var(--sfl-news-contrast, #fff);
	}

	.sfl-widget-row__grid {
		grid-template-columns: 1fr;
	}

	.sfl-hero--split {
		grid-template-columns: 1fr;
	}

	.sfl-hero__split-image {
		height: auto;
	}

	.sfl-hero__split-image--single {
		min-height: 430px;
	}

	.sfl-photo-collage--split {
		min-height: 430px;
	}
}

@media (max-width: 767px) {
	.sfl-news-card--desktop-only,
	.sfl-news-card[data-sfl-desktop-only="true"] {
		display: none !important;
	}

	.sfl-modern-home h2 {
		font-size: 32px;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial {
		padding-bottom: 72px;
		padding-top: 60px;
	}

	.sfl-hero--bold,
	.sfl-hero--scouts,
	.sfl-hero--stories {
		padding: 0 0 55px;
	}

	.sfl-hero__grid {
		gap: 35px;
		grid-template-areas: "images" "copy";
	}

	.sfl-hero__copy {
		grid-area: copy;
	}

	.sfl-photo-collage {
		grid-area: images;
		margin-left: -16px;
		margin-right: -16px;
	}

	.sfl-hero h1 {
		font-size: 45px;
		line-height: 1.1;
	}

	.sfl-hero__intro {
		font-size: 18px;
	}

	.sfl-photo-collage--three,
	.sfl-photo-collage--source {
		align-items: start;
		gap: 4px;
		grid-template-columns: repeat(3, 1fr);
		margin-top: 24px;
		min-height: 294px;
		padding-left: 0;
		padding-right: 0;
	}

	.sfl-modern-home--local-stories .sfl-photo-collage--stories {
		gap: 0;
	}

	.sfl-modern-home--bold-belonging .sfl-hero--bold .sfl-photo-collage--three {
		align-items: stretch;
		margin-top: 0;
		min-height: 250px;
	}

	.sfl-modern-home--bold-belonging .sfl-hero--bold .sfl-photo-collage--three .sfl-photo-collage__item:nth-child(1),
	.sfl-modern-home--bold-belonging .sfl-hero--bold .sfl-photo-collage--three .sfl-photo-collage__item:nth-child(2),
	.sfl-modern-home--bold-belonging .sfl-hero--bold .sfl-photo-collage--three .sfl-photo-collage__item:nth-child(3) {
		height: 250px;
		margin-top: 0;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial .sfl-news-card__body {
		padding: 18px;
	}

	.sfl-modern-home--local-stories .sfl-news--editorial .sfl-news-card h3,
	.sfl-modern-home--local-stories .sfl-news--editorial .sfl-news-card:first-child h3 {
		font-size: 20px;
	}

	.sfl-hero--scouts .sfl-photo-collage {
		min-height: 294px;
	}

	.sfl-hero--scouts .sfl-hero__grid {
		row-gap: 63px;
	}

	.sfl-photo-collage--three .sfl-photo-collage__item:nth-child(1),
	.sfl-photo-collage--source .sfl-photo-collage__item:nth-child(1),
	.sfl-hero--scouts .sfl-photo-collage__item:nth-child(1) {
		height: 250px;
		margin-top: 22px;
	}

	.sfl-photo-collage--three .sfl-photo-collage__item:nth-child(2),
	.sfl-photo-collage--source .sfl-photo-collage__item:nth-child(2),
	.sfl-hero--scouts .sfl-photo-collage__item:nth-child(2) {
		height: 294px;
		margin: 0;
	}

	.sfl-photo-collage--three .sfl-photo-collage__item:nth-child(3),
	.sfl-photo-collage--source .sfl-photo-collage__item:nth-child(3),
	.sfl-hero--scouts .sfl-photo-collage__item:nth-child(3) {
		height: 260px;
		margin-top: 12px;
	}

	.sfl-hero--scouts .sfl-photo-collage {
		gap: 13px;
		margin-top: 56px;
		min-height: 235px;
		padding-left: 24px;
		padding-right: 24px;
	}

	.sfl-hero--scouts .sfl-hero__grid {
		row-gap: 28px;
	}

	.sfl-hero--scouts .sfl-photo-collage__item:nth-child(1) {
		height: 196px;
		margin-top: 13px;
	}

	.sfl-hero--scouts .sfl-photo-collage__item:nth-child(2) {
		height: 209px;
		margin-top: 26px;
	}

	.sfl-hero--scouts .sfl-photo-collage__item:nth-child(3) {
		height: 208px;
		margin-top: 0;
	}

	.sfl-photo-collage--split {
		align-items: start;
		background: var(--sfl-hero-bg);
		gap: 4px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: 1fr;
		min-height: 306px;
		padding-top: 24px;
	}

	.sfl-photo-collage--split .sfl-photo-collage__item:first-child,
	.sfl-photo-collage--split .sfl-photo-collage__item:nth-child(1) {
		grid-row: auto;
		height: 250px;
		margin-top: 22px;
	}

	.sfl-photo-collage--split .sfl-photo-collage__item:nth-child(2) {
		height: 282px;
	}

	.sfl-photo-collage--split .sfl-photo-collage__item:nth-child(3) {
		height: 258px;
		margin-top: 12px;
	}

	.sfl-hero--split .sfl-photo-collage {
		margin-left: 0;
		margin-right: 0;
	}

	.sfl-photo-collage--split.sfl-photo-collage--count-1 {
		display: block;
		min-height: 300px;
		padding-top: 0;
	}

	.sfl-photo-collage--split.sfl-photo-collage--count-1 .sfl-photo-collage__item:first-child {
		height: 300px;
		margin-top: 0;
	}

	.sfl-photo-collage--split.sfl-photo-collage--count-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: 1fr;
	}

	.sfl-photo-collage--split.sfl-photo-collage--count-2 .sfl-photo-collage__item:first-child {
		grid-row: auto;
	}

	.sfl-photo-collage--stories {
		height: 330px;
		min-height: 0;
	}

	.sfl-hero__decoration {
		display: block;
		height: 170px;
		top: 0;
		width: 158px;
	}

	.sfl-home-sections {
		padding: 55px 0 65px;
	}

	.sfl-home-sections__list,
	.sfl-home-sections__list--colour {
		column-gap: 13px;
		margin-top: 36px;
		row-gap: 18px;
	}

	.sfl-home-sections__list .sfl-home-section,
	.sfl-home-sections__list--colour .sfl-home-section,
	.sfl-home-sections__list--compact .sfl-home-section {
		flex-basis: calc(50% - 6.5px);
		max-width: calc(50% - 6.5px);
	}

	.sfl-home-section,
	.sfl-home-section--colour {
		height: 110px;
		padding: 0 20px;
	}

	.sfl-home-section__content {
		gap: 12px;
	}

	.sfl-home-section__logo {
		height: 33px;
	}

	.sfl-home-section.is-squirrels .sfl-home-section__logo { max-width: 128px; }
	.sfl-home-section.is-beavers .sfl-home-section__logo { max-width: 122px; }
	.sfl-home-section.is-cubs .sfl-home-section__logo { max-width: 82px; }
	.sfl-home-section.is-scouts .sfl-home-section__logo { max-width: 110px; }
	.sfl-home-section.is-explorers .sfl-home-section__logo { max-width: 124px; }
	.sfl-home-section.is-network .sfl-home-section__logo { max-width: 96px; }

	.sfl-home-section__age {
		font-size: 16px;
	}

	.sfl-home-sections__list--compact {
		gap: 2px;
	}

	.sfl-home-sections__list--compact .sfl-home-section {
		flex-basis: calc(50% - 1px);
		max-width: calc(50% - 1px);
	}

	.sfl-home-section--compact {
		height: 92px;
		padding: 0 10px;
	}

	.sfl-group-finder,
	.sfl-news,
	.sfl-events,
	.sfl-safety,
	.sfl-running {
		padding-bottom: 55px;
		padding-top: 55px;
	}

	.sfl-modern-home--scouts-uk .sfl-events {
		padding-bottom: 38px;
	}

	.sfl-modern-home--scouts-uk .sfl-events + .sfl-safety {
		padding-top: 0;
	}

	.sfl-group-finder__controls {
		grid-template-columns: minmax(0, 1fr) 54px;
	}

	.sfl-group-finder input {
		min-width: 0;
		min-height: 52px;
		padding-bottom: 10px;
		padding-top: 10px;
		width: 100%;
	}

	.sfl-group-finder button {
		min-height: 52px;
		width: 54px;
	}

	.sfl-group-finder__location {
		font-size: 16px;
		margin-top: 15px;
	}

	.sfl-safety__intro {
		flex-direction: column;
	}

	.sfl-safety {
		padding-left: 16px;
		padding-right: 16px;
	}

	.sfl-safety__grid {
		gap: 34px;
		grid-template-columns: 1fr;
		padding: 34px 24px;
	}

	.sfl-safety__watermark,
	.sfl-safety .fb-block__watermark {
		max-width: 62%;
		right: -52px;
	}

	.sfl-safety__widget,
	.sfl-safety__links {
		border-left: 0;
		border-top: 3px solid rgba(0, 0, 0, .32);
		padding-left: 0;
		padding-top: 28px;
	}

	.sfl-volunteer-band__grid {
		grid-template-columns: 1fr;
	}

	.sfl-running__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sfl-running__grid a > span {
		height: 110px;
		width: 110px;
	}

	.sfl-promo {
		grid-template-columns: 1fr;
	}

	.sfl-promo__image {
		height: 300px;
	}

	.sfl-hero--split {
		display: flex;
		flex-direction: column;
	}

	.sfl-hero__split-image {
		height: auto;
	}

	.sfl-hero__split-image--single {
		height: 300px;
		min-height: 300px;
	}

	.sfl-hero__split-copy {
		padding: 48px 16px 55px;
	}
}

@media (max-width: 420px) {
	.sfl-button-row .sfl-button {
		flex: 1 1 150px;
	}

	.sfl-home-section {
		padding-left: 14px;
		padding-right: 14px;
	}

	.sfl-running__grid {
		gap: 24px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfl-modern-home *,
	.sfl-modern-home *::before,
	.sfl-modern-home *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}

	.sfl-photo-collage__item img {
		transform: none !important;
	}

	[data-sfl-copy-reveal] > *,
	[data-sfl-animate="image"],
	.sfl-hero .sfl-hero__decoration {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
