/* Theme variables */
:root {
	--bfd-navy: #254151;
	--bfd-navy-dark: #173342;
	--bfd-navy-deep: #173f50;
	--bfd-coral: #d86655;
	--bfd-coral-dark: #c44a3e;
	--bfd-teal: #10a9b7;
	--bfd-teal-dark: #0a8491;
	--bfd-grey: #e7e7e5;
	--bfd-grey-light: #ededeb;
	--bfd-grey-page: #e9e9e7;
	--bfd-white: #ffffff;
	--bfd-orange: #e8913a;
	--bfd-green: #4caf50;
	--bfd-blue: #0073d8;
	--bfd-brand-blue: #0089cf;
	--bfd-brand-purple: #92278f;
	--bfd-text: #222222;
	--bfd-font: 'Montserrat', Arial, Helvetica, sans-serif;
	--bfd-serif: 'Playfair Display', Georgia, serif;
	--bfd-max: 1500px;
	--bfd-header-height: 72px;
}

@keyframes bfd-header-pop {
	0% {
		opacity: 0;
	}
	65% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	}
}

@keyframes bfd-nav-pop {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes bfd-submenu-pop {
	0% {
		opacity: 0;
		transform: translateY(-8px) scale(0.98);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--bfd-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--bfd-text);
	background: var(--bfd-white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 10px 28px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.btn--white {
	background: var(--bfd-white);
	color: var(--bfd-coral);
}

.btn--navy {
	background: var(--bfd-navy);
	color: var(--bfd-white);
	border-radius: 4px;
	text-transform: none;
	font-weight: 600;
	padding: 10px 24px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 300;
	overflow: visible;
	animation: bfd-header-pop 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header__topline {
	display: none;
}

.site-header__bar {
	background: #254151;
}

.bfd-home .site-header__bar {
	background: #254151;
}

.site-header__inner {
	position: relative;
	max-width: none;
	margin: 0 auto;
	min-height: var(--bfd-header-height);
	padding: 0 0 0 clamp(18px, 4.5vw, 88px);
	display: flex;
	align-items: center;
	gap: 16px;
}

.bfd-home .site-header__inner {
	min-height: var(--bfd-header-height);
}

body:not(.bfd-home) .site-header__inner {
	justify-content: space-between;
}

.bfd-home .site-header__utilities {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: auto;
	margin-right: 0;
}

body:not(.bfd-home) .site-header__utilities {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	margin-right: 0;
}

.primary-nav {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

body:not(.bfd-home) .primary-nav {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.primary-nav ul,
.primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 34px;
}

body:not(.bfd-home) .primary-nav ul,
body:not(.bfd-home) .primary-nav__list {
	justify-content: flex-start;
}

.primary-nav .menu-item {
	position: relative;
	animation: bfd-nav-pop 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.primary-nav .menu-item:nth-child(1) {
	animation-delay: 0.06s;
}

.primary-nav .menu-item:nth-child(2) {
	animation-delay: 0.1s;
}

.primary-nav .menu-item:nth-child(3) {
	animation-delay: 0.14s;
}

.primary-nav .menu-item:nth-child(4) {
	animation-delay: 0.18s;
}

.primary-nav .menu-item:nth-child(5) {
	animation-delay: 0.22s;
}

.primary-nav .menu-item:nth-child(6) {
	animation-delay: 0.26s;
}

.primary-nav .menu-item:nth-child(7) {
	animation-delay: 0.3s;
}

.nav-dropdown-control {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.nav-link,
.dropdown-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--bfd-white);
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	padding: 8px 0;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bfd-white);
	cursor: pointer;
	transition: color 0.4s ease, transform 0.2s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	color: var(--bfd-coral);
}

.has-dropdown.is-open > .nav-dropdown-control .dropdown-toggle {
	color: var(--bfd-coral);
	transform: rotate(180deg);
}

.nav-link:hover,
.dropdown-link:hover {
	color: var(--bfd-coral);
}

.nav-link.is-active,
.menu-item.current-menu-item > .nav-link,
.menu-item.current-menu-item > .nav-dropdown-control .nav-link {
	color: var(--bfd-coral);
}

.dropdown-caret {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 7px solid currentColor;
	margin-top: 2px;
}

.sub-menu {
	display: flex;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 205px;
	background: #254151;
	box-shadow: 0 14px 26px rgba(19, 33, 41, 0.24);
	border-radius: 0;
	padding: 10px 0;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-4px) scale(0.98);
	transform-origin: top left;
	transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

/* Invisible bridge so the pointer can reach the menu without closing it. */
.sub-menu::before {
	content: '';
	position: absolute;
	top: -14px;
	left: 0;
	width: 100%;
	height: 14px;
}

.sub-menu .menu-item {
	width: 100%;
}

.dropdown-link {
	color: var(--bfd-white);
	padding: 10px 18px;
	width: 100%;
	white-space: normal;
	font-size: 13px;
}

.dropdown-link:hover,
.dropdown-link.is-active {
	color: var(--bfd-coral);
	background: rgba(255, 255, 255, 0.08);
}

.has-dropdown:hover > .sub-menu,
.has-dropdown:focus-within > .sub-menu,
.has-dropdown.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	animation: bfd-submenu-pop 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.has-dropdown:hover > .nav-dropdown-control .nav-link,
.has-dropdown:focus-within > .nav-dropdown-control .nav-link,
.has-dropdown.is-open > .nav-dropdown-control .nav-link {
	color: var(--bfd-coral);
}

.site-search {
	display: flex;
	align-items: center;
	background: var(--bfd-white);
	border-radius: 0;
	overflow: hidden;
	width: min(305px, 28vw);
	height: 42px;
	flex-shrink: 0;
	animation: bfd-nav-pop 0.44s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.site-search input {
	border: 0;
	background: transparent;
	padding: 5px 8px 5px 10px;
	font-size: 14px;
	font-family: var(--bfd-font);
	width: 100%;
	outline: none;
	color: #444;
}

.site-search button {
	border: 0;
	background: transparent;
	padding: 8px 12px 8px 0;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.site-search svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: #666;
	stroke-width: 2;
}

.site-language {
	position: absolute;
	top: calc(100% + 18px);
	right: 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	cursor: default;
	background: var(--bfd-white);
	color: #333;
	width: 124px;
	min-height: 50px;
	padding: 9px 12px;
	border-radius: 0;
	line-height: 1.2;
}

.site-language__flag {
	font-size: 14px;
	line-height: 1;
}

.site-language__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}

body:not(.bfd-home) .site-language {
	display: none;
}

.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* Floating widgets */
.floating-widgets {
	pointer-events: none;
}

.floating-widgets a {
	pointer-events: auto;
}

.floating-widgets__accessibility {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	width: 42px;
	height: 42px;
	background: var(--bfd-blue);
	color: var(--bfd-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 0 4px 4px 0;
}

.floating-widgets__accessibility svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.floating-widgets__social {
	position: fixed;
	right: 0;
	top: 42%;
	z-index: 90;
	display: flex;
	flex-direction: column;
	background: var(--bfd-orange);
}

.floating-widgets__social a {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bfd-white);
	text-decoration: none;
}

.floating-widgets__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.floating-widgets__chat {
	position: fixed;
	right: 24px;
	bottom: 120px;
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--bfd-green);
	color: var(--bfd-white);
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-widgets__chat-icon {
	font-size: 18px;
	line-height: 1;
}

/* Hero */
.bfd-home .site-main {
	position: relative;
	padding-top: 0;
	isolation: isolate;
}

.bfd-home .site-main::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1216px;
	z-index: 0;
	background:
		linear-gradient(rgba(18, 38, 56, 0.32), rgba(18, 38, 56, 0.36)),
		url('../images/hero-bradford.png') center 22% / cover no-repeat;
	pointer-events: none;
}

.hero {
	position: relative;
	z-index: 1;
	min-height: 548px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--bfd-white);
	background: transparent;
	padding: 88px 24px 130px;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(22, 48, 68, 0.08) 0%, rgba(22, 48, 68, 0.05) 45%, rgba(22, 48, 68, 0.38) 100%);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 820px;
}

.hero__logo {
	display: inline-block;
	margin-bottom: 14px;
}

.site-logo--hero img {
	margin: 0 auto;
	width: min(246px, 64vw);
	height: auto;
	background: rgba(255, 255, 255, 0.96);
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

.hero__copy {
	overflow: hidden;
}

.hero__title,
.hero__subtitle,
.hero__tagline {
	will-change: transform, opacity;
}

.hero__title {
	margin: 0 0 14px;
	font-size: clamp(3.15rem, 5.7vw, 4.9rem);
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.2;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
	margin: 0 0 15px;
	font-size: clamp(1.45rem, 2.6vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__tagline {
	margin: 0;
	font-family: var(--bfd-font);
	font-style: normal;
	font-size: clamp(1.12rem, 2vw, 1.42rem);
	font-weight: 700;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Homepage grid */
.home-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	width: calc(100% - clamp(20px, 3.5vw, 72px));
	max-width: var(--bfd-max);
	margin: -92px auto 0;
	position: relative;
	z-index: 2;
}

.home-grid__card {
	position: relative;
	min-height: 320px;
	padding: 64px 68px;
	display: flex;
	flex-direction: column;
}

.home-grid__title {
	margin: 0 0 30px;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0.08em;
	text-align: center;
}

.home-grid__card p {
	margin: 0;
	font-size: 18px;
	line-height: 1.48;
	max-width: 41ch;
}

.home-grid__card--mission {
	background: #eeefed;
	color: #333;
	min-height: 548px;
	align-items: center;
}

.home-grid__card--mission .home-grid__title {
	color: #29485a;
	font-size: 2rem;
}

.home-grid__badge {
	margin-top: 22px;
	padding-top: 0;
	display: flex;
	justify-content: center;
	width: 100%;
}

.home-grid__badge img {
	width: 184px;
	height: auto;
}

.home-grid__card--opportunities,
.home-grid__card--inclusive {
	color: var(--bfd-white);
	overflow: hidden;
}

.home-grid__card--opportunities {
	background: var(--bfd-coral);
	min-height: 548px;
}

.home-grid__card--opportunities::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(204, 86, 72, 0.86), rgba(176, 68, 58, 0.9)),
		url('../images/mission-hands.jpg') center center / cover no-repeat;
}

.home-grid__card--inclusive {
	background: var(--bfd-navy-deep);
}

.home-grid__card--inclusive::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(30, 75, 92, 0.86), rgba(22, 56, 72, 0.92)),
		url('../images/hero-bradford.png') center center / cover no-repeat;
}

.home-grid__card-overlay,
.home-grid__card-content {
	position: relative;
	z-index: 1;
}

.home-grid__card-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
}

.home-grid__label {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #26485b;
}

.home-grid__contacts {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.95;
	letter-spacing: 0.08em;
	color: #24495b;
}

.home-grid__contacts li {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.home-grid__contacts span {
	font-weight: 700;
	min-width: 84px;
	text-align: left;
}

.home-grid__contacts a {
	color: #24495b;
	text-decoration: none;
}

.home-grid__card--news {
	background: var(--bfd-teal);
	color: var(--bfd-white);
	min-height: 320px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.home-grid__card--news p {
	font-size: 11px;
	line-height: 1.65;
	max-width: 34ch;
}

.home-grid__social {
	margin-top: 18px;
	display: flex;
	gap: 4px;
}

.home-grid__social a {
	width: 43px;
	height: 43px;
	background: #3b5998;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bfd-white);
	text-decoration: none;
}

.home-grid__social a:last-child {
	background: #55acee;
}

.home-grid__social svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.home-grid__card .btn {
	margin-top: 0;
	align-self: center;
}

/* Document link */
.home-document {
	padding: 82px 24px 182px;
	text-align: center;
	background: var(--bfd-white);
}

.home-document__label {
	margin: 0 0 24px;
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.35;
	color: #29485a;
	text-transform: uppercase;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

.home-document__link {
	display: inline-flex;
	text-decoration: none;
}

.home-document__link img {
	width: 102px;
	height: auto;
}

/* Culture promo */
.home-culture {
	padding: 44px 40px;
	background: var(--bfd-grey-page);
}

.home-culture__inner {
	max-width: var(--bfd-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 0.96fr;
	gap: 0;
	align-items: stretch;
	min-height: 294px;
}

.home-culture__card {
	background: var(--bfd-white);
	padding: 66px 36px 52px;
	text-align: center;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.home-culture__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 36px 24px;
	background: #e5e5e3;
}

.home-culture__logo img {
	width: min(188px, 70%);
	height: auto;
}

.home-culture__text {
	margin: 0 auto 58px;
	font-family: var(--bfd-serif);
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	color: var(--bfd-navy);
	line-height: 1.35;
	max-width: 440px;
}

/* CTA bar */
.home-cta {
	background:
		linear-gradient(rgba(204, 86, 72, 0.86), rgba(204, 86, 72, 0.86)),
		url('../images/mission-hands.jpg') center center / cover no-repeat;
	color: var(--bfd-white);
	padding: 39px 24px;
}

.home-cta__inner {
	max-width: var(--bfd-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.home-cta__text {
	margin: 0;
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	max-width: 410px;
}

/* Content pages */
.content-page {
	background: var(--bfd-grey-page);
	padding: 52px 40px 80px;
}

.content-page__card {
	max-width: 1150px;
	margin: 0 auto;
	background: var(--bfd-white);
	padding: 62px 56px 74px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.content-page__logo img,
.content-page__body .wp-block-image.content-page__logo img,
.site-logo--default img {
	width: min(158px, 60vw);
	height: auto;
}

.content-page__body .wp-block-image.content-page__logo {
	display: inline-block;
	margin: 0 56px 16px 210px;
	vertical-align: middle;
	max-width: none;
}

.content-page__title,
.content-page__body .wp-block-post-title.content-page__title {
	display: inline-block;
	margin: 0 0 28px;
	color: var(--bfd-coral);
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	vertical-align: middle;
}

.content-page__featured,
.content-page__body .wp-block-image.content-page__featured {
	margin: 0 auto 42px;
	max-width: 294px;
}

.content-page__featured img,
.content-page__body .wp-block-image.content-page__featured img {
	width: 100%;
	height: auto;
}

.content-page__body {
	max-width: 620px;
	margin: 0 auto;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.content-section {
	margin-bottom: 24px;
}

.content-section h2 {
	margin: 0 0 3px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0;
	color: #111;
}

.content-section p {
	margin: 0 0 12px;
}

.content-section ul {
	margin: 0;
	padding-left: 20px;
}

.content-section li {
	margin-bottom: 0;
}

/* Footer */
.site-footer__main {
	background: var(--bfd-grey-light);
	padding: 74px 0 68px;
}

.site-footer__inner {
	max-width: var(--bfd-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
	gap: 36px 48px;
	align-items: start;
	padding: 0 clamp(24px, 4vw, 88px);
}

.site-footer__brand {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	grid-column: span 2;
	gap: 28px 40px;
}

.site-footer__badge {
	display: block;
	height: auto;
	flex-shrink: 0;
}

.site-footer__badge--disability {
	width: 191px;
}

.site-footer__badge--lottery {
	width: 184px;
}

.site-footer__heading {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #29485a;
}

.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__links a {
	color: var(--bfd-text);
	text-decoration: none;
	font-size: 12px;
}

.site-footer__links a:hover {
	color: var(--bfd-coral);
}

.site-footer__contact {
	font-style: normal;
	font-size: 12px;
	line-height: 1.45;
}

.site-footer__contact a {
	color: var(--bfd-text);
	text-decoration: none;
}

.site-footer__contact a:hover {
	color: var(--bfd-coral);
}

.site-footer__social {
	display: flex;
	gap: 10px;
}

.site-footer__social a {
	width: 43px;
	height: 43px;
	background: #3b5998;
	color: var(--bfd-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.site-footer__social a:last-child {
	background: #1da1f2;
}

.site-footer__social svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.site-footer__legal {
	background: var(--bfd-navy);
	color: var(--bfd-white);
	padding: 12px 0;
}

.site-footer__legal-inner {
	max-width: var(--bfd-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
	padding: 0 clamp(24px, 4vw, 88px);
	font-size: 10px;
	line-height: 1.4;
}

.site-footer__legal p {
	margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
	.site-header__inner {
		padding-right: 10px;
	}

	.primary-nav ul,
	.primary-nav__list {
		gap: 4px 14px;
	}

	.nav-link,
	.dropdown-link {
		font-size: 13px;
	}

	.site-search {
		width: 240px;
	}
}

@media (max-width: 1024px) {
	.bfd-home .site-header__inner {
		padding: 8px 16px 12px;
		flex-wrap: wrap;
	}

	.bfd-home .site-header__utilities {
		flex-direction: row;
		justify-content: flex-end;
		width: 100%;
		margin-top: 8px;
	}

	body:not(.bfd-home) .site-header__inner {
		padding: 10px 16px;
	}

	.home-grid {
		grid-template-columns: 1fr;
		margin-top: 0;
	}

	.home-culture__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__inner {
		grid-template-columns: repeat(2, 1fr);
		padding: 0 24px;
	}

	.site-footer__brand {
		grid-column: span 2;
		justify-content: flex-start;
	}
}

@media (max-width: 768px) {
	body:not(.bfd-home) .site-header__utilities {
		width: 100%;
		justify-content: flex-end;
	}

	.site-search {
		flex: 1;
		max-width: 220px;
	}

	.site-language {
		display: none;
	}

	.floating-widgets__chat {
		right: 12px;
		bottom: 80px;
	}

	.content-page__card {
		padding: 24px 20px 32px;
	}

	.content-page__body .wp-block-image.content-page__logo,
	.content-page__title,
	.content-page__body .wp-block-post-title.content-page__title {
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.home-cta__inner {
		justify-content: center;
		text-align: center;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__brand {
		grid-column: auto;
		justify-content: center;
	}

	.site-footer__badge--disability,
	.site-footer__badge--lottery {
		width: min(191px, 70vw);
	}

	.site-footer__legal-inner {
		flex-direction: column;
		text-align: center;
		padding: 0 24px;
	}
}

@media (max-width: 600px) {
	.nav-link {
		font-size: 12px;
	}

	.hero {
		min-height: 440px;
		padding-top: 110px;
	}

	.home-grid__card {
		min-height: 280px;
		padding: 28px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}
}
