/*
 * Site chrome: header (utility bar, masthead, mega menu, mobile menu), breadcrumbs,
 * CTA band and footer. Colours only from --fc-* aliases; behaviour in assets/js/nav.js.
 *
 * Breakpoint: the full header and utility bar from 1024px; below that the mobile header.
 */

/* Page regions sit flush; each region sets its own spacing. */
:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

.fc-utility__inner,
.fc-masthead__inner,
.fc-mega__inner,
.fc-breadcrumbs__inner,
.fc-footer__inner {
	width: 100%;
	max-width: calc(var(--fc-content) + 2 * var(--fc-gutter));
	margin-inline: auto;
	padding-inline: var(--fc-gutter);
}

:where(.fc-main) {
	padding-block: var(--fc-space-40) var(--fc-space-60);
}

/* Anything the scripts reveal stays hidden until they do. */
.fc-site-header [hidden] {
	display: none !important;
}

/* ---------- Header: sticky, the masthead stays while everything above it scrolls away ---------- */

.fc-site-header {
	position: sticky;
	top: var(--fc-header-stick, 0px);
	z-index: 100;
	background-color: var(--fc-white);
}

.admin-bar .fc-site-header {
	top: calc(var(--fc-header-stick, 0px) + var(--wp-admin--admin-bar--height, 0px));
}

/* The admin bar stops being fixed on small screens. */
@media (max-width: 600px) {
	.admin-bar .fc-site-header {
		top: var(--fc-header-stick, 0px);
	}
}

/* ---------- Utility bar (desktop) ---------- */

.fc-utility__bar {
	display: none;
	font-size: 0.8333rem; /* 15px */
	line-height: 1.3;
	color: var(--fc-white);
	background-color: var(--fc-indigo-deep);
}

@media (min-width: 1024px) {
	.fc-utility__bar {
		display: block;
	}
}

.fc-utility__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-10) var(--fc-space-30);
	min-height: 44px;
	padding-block: 4px;
}

.fc-utility__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--fc-space-30);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-utility__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fc-space-10) var(--fc-space-30);
}

.fc-utility__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	color: inherit;
	text-decoration: none;
}

.fc-utility__link:hover {
	color: inherit;
	text-decoration: underline;
}

.fc-utility__link .fc-icon {
	--fc-icon-size: 1.2em;
	color: var(--fc-amber);
}

.fc-utility__link .fc-phone {
	font-weight: 700;
}

/* ---------- Text size and contrast controls (utility bar and mobile menu) ---------- */

.fc-prefs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fc-space-10) var(--fc-space-20);
}

.fc-prefs__size {
	display: flex;
	align-items: center;
	gap: 6px;
}

.fc-prefs__label {
	margin-inline-end: 4px;
}

.fc-prefs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 40px;
	min-height: 36px;
	padding: 0 12px;
	font: inherit;
	font-weight: 600;
	line-height: 1;
	color: inherit;
	background: transparent;
	border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
	border-radius: var(--fc-radius-pill);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.fc-prefs__button:hover {
	background-color: color-mix(in srgb, currentColor 12%, transparent);
}

.fc-prefs__button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
}

.fc-prefs__button[aria-disabled="true"]:hover {
	background: transparent;
}

/* A half-filled circle: the usual contrast symbol. */
.fc-prefs__contrast::before {
	content: "";
	flex: none;
	width: 1em;
	height: 1em;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.fc-utility .fc-prefs__button[aria-pressed="true"] {
	color: var(--fc-indigo);
	background-color: var(--fc-white);
	border-color: var(--fc-white);
}

/* ---------- Masthead ---------- */

.fc-masthead {
	position: relative;
	background-color: var(--fc-white);
	box-shadow: inset 0 -1px 0 var(--fc-line);
	transition: box-shadow 0.2s ease;
}

.fc-masthead__inner {
	display: flex;
	align-items: center;
	gap: var(--fc-space-10);
	min-height: 64px;
	transition: min-height 0.2s ease;
}

.fc-site-header.is-scrolled .fc-masthead {
	box-shadow: inset 0 -1px 0 var(--fc-line), 0 8px 24px color-mix(in srgb, var(--fc-indigo) 10%, transparent);
}

.fc-logo {
	display: block;
	flex: none;
	margin-inline-end: auto;
	line-height: 0;
	border-radius: 8px;
}

.fc-logo img {
	display: block;
	width: auto;
	height: 44px;
	transition: height 0.2s ease;
}

@media (max-width: 359px) {
	.fc-logo img {
		height: 40px;
	}
}

@media (min-width: 1024px) {
	.fc-masthead__inner {
		gap: var(--fc-space-20);
		min-height: 88px;
	}

	.fc-logo img {
		height: 64px;
	}

	.fc-site-header.is-scrolled .fc-masthead__inner {
		min-height: 64px;
	}

	.fc-site-header.is-scrolled .fc-masthead .fc-logo img {
		height: 44px;
	}
}

/* Tap to call and the menu button: mobile only. */
.fc-masthead__call {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	color: var(--fc-white);
	background-color: var(--fc-ember-text);
	border-radius: 50%;
}

.fc-masthead__call:hover {
	color: var(--fc-white);
	background-color: var(--fc-indigo);
}

.fc-masthead__call .fc-icon {
	--fc-icon-size: 24px;
	vertical-align: 0;
}

.fc-menu-button,
.fc-mobile-menu__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	padding: 0 14px 0 12px;
	font: inherit;
	font-weight: 600;
	line-height: 1;
	color: var(--fc-indigo);
	background-color: var(--fc-white);
	border: 2px solid var(--fc-indigo);
	border-radius: var(--fc-radius-pill);
	text-decoration: none;
	cursor: pointer;
}

.fc-menu-button:hover,
.fc-mobile-menu__close:hover {
	color: var(--fc-indigo-deep);
	background-color: var(--fc-cream);
}

.fc-menu-button .fc-icon,
.fc-mobile-menu__close .fc-icon {
	--fc-icon-size: 1.25em;
	vertical-align: 0;
}

@media (min-width: 1024px) {
	.fc-masthead__call,
	.fc-menu-button {
		display: none !important;
	}
}

/* ---------- Main menu (desktop) ---------- */

.fc-nav,
.fc-masthead__cta {
	display: none;
}

@media (min-width: 1024px) {
	.fc-nav {
		display: block;
	}

	.fc-masthead__cta {
		display: inline-flex;
		flex: none;
	}
}

.fc-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-nav__item {
	display: flex;
	align-items: center;
}

.fc-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	font-size: 0.9444rem; /* 17px */
	font-weight: 600;
	color: var(--fc-indigo);
	text-decoration: none;
	white-space: nowrap;
	border-radius: 8px;
}

.fc-nav__link:hover {
	color: var(--fc-indigo-deep);
	text-decoration: none;
}

/* Gradient underline: on hover, for the current page or section, and while the mega menu is open. */
.fc-nav__link::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 6px;
	left: 12px;
	height: 3px;
	border-radius: 3px;
	background: var(--fc-ember-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.fc-nav__link:hover::after,
.fc-nav__link[aria-current]::after,
.fc-nav__link[data-fc-current]::after,
.fc-nav__item.is-open > .fc-nav__link::after {
	transform: scaleX(1);
}

.fc-nav__item--mega > .fc-nav__link {
	padding-inline-end: 4px;
}

.fc-nav__item--mega > .fc-nav__link::after {
	right: 4px;
}

.fc-nav__toggle {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 44px;
	padding: 0;
	color: var(--fc-indigo);
	background: none;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.fc-nav__toggle::before {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
}

.fc-nav__toggle[aria-expanded="true"]::before {
	transform: translateY(2px) rotate(-135deg);
}

.fc-nav__toggle:hover {
	background-color: var(--fc-cream);
}

/* ---------- Services mega menu ---------- */

.fc-mega {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	max-height: calc(100vh - var(--fc-masthead-h, 88px));
	overflow-y: auto;
	background-color: var(--fc-white);
	border-top: 1px solid var(--fc-line);
	box-shadow: 0 24px 48px color-mix(in srgb, var(--fc-indigo) 16%, transparent);
	animation: fc-mega-in 0.18s ease-out;
}

@keyframes fc-mega-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.fc-mega__inner {
	padding-block: var(--fc-space-40) var(--fc-space-30);
}

.fc-mega__groups {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: auto 1fr;
	gap: var(--fc-space-30) var(--fc-space-40);
}

/* Five categories: the three big ones take a column each; DVA and Aged Care share the fourth. */
.fc-mega__group:nth-child(-n + 3) {
	grid-row: span 2;
}

.fc-mega__group:nth-child(n + 4) {
	grid-column: 4;
}

.fc-mega__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 var(--fc-space-10);
	font-size: 0.7778rem; /* 14px */
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--fc-ember-text);
}

.fc-mega__heading::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--fc-line);
}

.fc-mega__list {
	display: grid;
	gap: 2px;
	margin: 0 -12px;
	padding: 0;
	list-style: none;
}

.fc-mega__link {
	display: grid;
	gap: 2px;
	padding: 10px 12px;
	color: var(--fc-indigo);
	text-decoration: none;
	border-radius: 10px;
	transition: background-color 0.15s ease;
}

.fc-mega__link:hover {
	color: var(--fc-indigo-deep);
	background-color: var(--fc-cream-soft);
}

.fc-mega__title {
	font-size: 0.9444rem; /* 17px */
	font-weight: 600;
	line-height: 1.3;
}

.fc-mega__link:hover .fc-mega__title {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.fc-mega__desc {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.8333rem; /* 15px */
	line-height: 1.45;
	color: var(--fc-muted);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.fc-mega__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-10) var(--fc-space-30);
	margin-top: var(--fc-space-30);
	padding-top: var(--fc-space-20);
	border-top: 1px solid var(--fc-line);
}

.fc-mega__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 600;
}

.fc-mega__all .fc-icon {
	--fc-icon-size: 1.1em;
	vertical-align: 0;
	transition: transform 0.15s ease;
}

.fc-mega__all:hover .fc-icon {
	transform: translateX(3px);
}

.fc-mega__help {
	margin: 0;
	color: var(--fc-muted);
}

/* ---------- Mobile menu: a full-screen modal dialog ---------- */

.fc-mobile-menu {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	color: var(--fc-ink);
	background-color: var(--fc-white);
	border: 0;
}

.fc-mobile-menu::backdrop {
	background-color: color-mix(in srgb, var(--fc-indigo-deep) 60%, transparent);
}

.fc-menu-open {
	overflow: hidden;
}

@media (min-width: 1024px) {
	.fc-mobile-menu {
		display: none !important;
	}
}

.fc-mobile-menu__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-10);
	min-height: 64px;
	padding-inline: var(--fc-gutter);
	background-color: var(--fc-white);
	box-shadow: inset 0 -1px 0 var(--fc-line);
}

.fc-mobile-menu__body {
	display: grid;
	gap: var(--fc-space-40);
	padding: var(--fc-space-20) var(--fc-gutter) var(--fc-space-60);
}

.fc-mobile-nav__link {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding-block: var(--fc-space-10);
	font-size: 1.2222rem; /* 22px */
	font-weight: 600;
	line-height: 1.25;
	color: var(--fc-indigo);
	text-decoration: none;
	border-bottom: 1px solid var(--fc-line);
}

.fc-mobile-nav__link:hover {
	color: var(--fc-indigo-deep);
	text-decoration: underline;
}

.fc-mobile-nav__link--section {
	border-bottom: 0;
}

.fc-mobile-nav__link[aria-current] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.fc-mobile-nav__group > summary {
	padding-inline-start: var(--fc-space-20);
	font-size: 1rem;
}

.fc-mobile-nav__list {
	display: grid;
	gap: 2px;
	margin: 0 0 var(--fc-space-20);
	padding: 0 0 0 var(--fc-space-20);
	list-style: none;
}

.fc-mobile-nav__sublink {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 12px;
	color: var(--fc-ink);
	border-radius: 8px;
}

.fc-mobile-nav__sublink:hover {
	color: var(--fc-indigo);
	background-color: var(--fc-cream-soft);
}

.fc-mobile-nav__pages {
	margin: var(--fc-space-20) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--fc-line);
}

.fc-mobile-menu__actions {
	display: grid;
	gap: 12px;
}

.fc-mobile-menu__actions .wp-element-button {
	width: 100%;
}

.fc-call-button__label {
	font-weight: 600;
}

.fc-call-button .fc-phone {
	font-weight: 700;
}

.fc-mobile-menu__tools {
	display: grid;
	gap: var(--fc-space-20);
	padding: var(--fc-space-30) var(--fc-space-20);
	color: var(--fc-indigo);
	background-color: var(--fc-cream-soft);
	border-radius: var(--fc-radius-card);
}

.fc-mobile-menu__tools .fc-prefs__button[aria-pressed="true"] {
	color: var(--fc-white);
	background-color: var(--fc-indigo);
	border-color: var(--fc-indigo);
}

.fc-mobile-menu__easy-read {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 600;
}

.fc-mobile-menu__easy-read .fc-icon {
	vertical-align: 0;
}

/* ---------- Breadcrumbs ---------- */

.fc-breadcrumbs {
	padding-top: var(--fc-space-20);
	font-size: 0.8333rem; /* 15px */
	line-height: 1.4;
	color: var(--fc-muted);
}

.fc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-breadcrumbs li {
	display: inline-flex;
	align-items: center;
}

.fc-breadcrumbs li + li::before {
	content: "";
	width: 6px;
	height: 6px;
	margin: 0 12px 0 8px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.fc-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	color: var(--fc-indigo);
}

.fc-breadcrumbs [aria-current] {
	color: var(--fc-muted);
}

/* ---------- CTA band ---------- */

.fc-cta-band {
	padding-block: var(--fc-space-60);
}

.fc-cta-band__inner {
	display: grid;
	align-items: center;
	gap: var(--fc-space-40);
}

@media (min-width: 1024px) {
	.fc-cta-band {
		padding-block: var(--fc-space-70);
	}

	.fc-cta-band__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		gap: var(--fc-space-60);
	}
}

.fc-cta-band__text > * {
	margin-block: 0;
}

.fc-cta-band__heading {
	margin-block: 0 var(--fc-space-20) !important;
	font-size: var(--wp--preset--font-size--xx-large);
}

.fc-cta-band__lede {
	max-width: 46ch;
	font-size: 1.1111rem; /* 20px */
	color: color-mix(in srgb, var(--fc-white) 88%, var(--fc-indigo));
}

.fc-cta-band__actions {
	display: grid;
	gap: var(--fc-space-20);
}

.fc-cta-band__actions > .wp-block-buttons {
	margin: 0;
	gap: 12px;
}

.fc-cta-band__phones .wp-block-button__link {
	font-size: 1.1111rem; /* 20px */
	font-weight: 700;
}

.fc-cta-band .wp-block-button.is-style-secondary .wp-block-button__link {
	color: var(--fc-white);
	background-color: transparent;
	border-color: var(--fc-white);
}

.fc-cta-band .wp-block-button.is-style-secondary .wp-block-button__link:hover {
	color: var(--fc-white);
	background-color: color-mix(in srgb, var(--fc-white) 14%, transparent);
	border-color: var(--fc-white);
}

/* ---------- Footer ---------- */

.fc-site-footer {
	--fc-footer-soft: color-mix(in srgb, var(--fc-white) 84%, var(--fc-indigo-deep));
	--fc-footer-rule: color-mix(in srgb, var(--fc-white) 18%, transparent);
	color: var(--fc-white);
	background-color: var(--fc-indigo-deep);
}

.fc-footer__inner {
	padding-block: var(--fc-space-60) var(--fc-space-40);
}

.fc-site-footer a {
	color: var(--fc-white);
	text-decoration: none;
}

.fc-site-footer a:hover {
	color: var(--fc-white);
	text-decoration: underline;
}

.fc-footer__columns {
	display: grid;
	gap: var(--fc-space-40);
}

@media (min-width: 768px) {
	.fc-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.fc-footer__columns {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: var(--fc-space-50);
	}
}

.fc-footer__logo {
	display: inline-block;
	padding: 12px 16px;
	background-color: var(--fc-white);
	border-radius: var(--fc-radius-card);
}

.fc-footer__logo img {
	display: block;
	width: auto;
	height: 64px;
}

.fc-footer__about {
	max-width: 32ch;
	margin: var(--fc-space-20) 0 0;
	color: var(--fc-footer-soft);
}

.fc-footer__heading {
	margin: 0 0 var(--fc-space-20);
	font-size: 0.7778rem; /* 14px */
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--fc-cream);
}

.fc-footer__heading::after {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-top: 10px;
	border-radius: 3px;
	background: var(--fc-ember-amber);
}

.fc-footer__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9444rem; /* 17px */
}

.fc-footer__list a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

.fc-footer__list--contact {
	gap: 10px;
}

.fc-footer__list--contact a,
.fc-footer__line {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.fc-footer__list--contact .fc-icon {
	--fc-icon-size: 1.25em;
	margin-top: 0.1em;
	vertical-align: 0;
	color: var(--fc-amber);
}

.fc-footer__label {
	color: var(--fc-footer-soft);
}

.fc-footer__email span {
	overflow-wrap: anywhere;
}

.fc-footer__line {
	color: var(--fc-footer-soft);
}

.fc-footer__middle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-30);
	margin-top: var(--fc-space-50);
	padding-block: var(--fc-space-30);
	border-block: 1px solid var(--fc-footer-rule);
}

.fc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fc-space-10);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-site-footer .fc-footer__social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px 0 14px;
	font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--fc-white) 35%, transparent);
	border-radius: var(--fc-radius-pill);
	transition: background-color 0.15s ease;
}

.fc-site-footer .fc-footer__social a:hover {
	text-decoration: none;
	background-color: color-mix(in srgb, var(--fc-white) 12%, transparent);
}

.fc-footer__social .fc-icon {
	--fc-icon-size: 1.25em;
	vertical-align: 0;
}

.fc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-10) var(--fc-space-30);
	padding-block: var(--fc-space-20);
	font-size: 0.8333rem; /* 15px */
}

.fc-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--fc-space-30);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-site-footer .fc-footer__legal-list a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--fc-white) 45%, transparent);
}

.fc-footer__legal nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--fc-space-30);
}

/* A button that looks like the legal links beside it: it opens the cookie banner. */
.fc-site-footer .fc-footer__cookie-settings {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--fc-white) 45%, transparent);
	cursor: pointer;
}

.fc-site-footer .fc-footer__cookie-settings:hover {
	text-decoration-color: currentColor;
}

.fc-footer__ids {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--fc-space-20);
	margin: 0;
	color: var(--fc-footer-soft);
	font-variant-numeric: tabular-nums;
}

.fc-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--fc-space-20) var(--fc-space-40);
	padding-top: var(--fc-space-30);
	border-top: 1px solid var(--fc-footer-rule);
	font-size: 0.8333rem; /* 15px */
	color: var(--fc-footer-soft);
}

.fc-footer__acknowledgement {
	max-width: 80ch;
}

/* Keeps the dark flags distinct from the footer. */
.fc-footer__acknowledgement img {
	outline: 1px solid color-mix(in srgb, var(--fc-white) 30%, transparent);
}

.fc-footer__signoff {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--fc-space-10);
}

.fc-footer__copyright,
.fc-footer__credit {
	margin: 0;
}

/* ---------- Accreditation strip (footer, and anywhere else it is placed) ---------- */

/*
 * The divider hangs in the gap before the DVA badge (absolutely placed inside it). When the
 * badge wraps to a new line it starts at the strip's left edge, the divider falls outside, and
 * overflow: clip hides it, so a wrapped strip never shows an orphaned rule. Works at any width.
 */
.fc-accreditation {
	--fc-accreditation-gap: var(--fc-space-40);
	--fc-accreditation-rule: var(--fc-indigo);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fc-space-20) var(--fc-accreditation-gap);
	overflow: clip;
}

.fc-site-footer .fc-accreditation {
	--fc-accreditation-rule: var(--fc-white);
}

.fc-accreditation__logo {
	display: inline-block;
	padding: 6px;
	line-height: 0;
	background-color: var(--fc-white);
	border-radius: 10px;
}

.fc-accreditation__logo img {
	display: block;
	width: auto;
	height: 64px;
}

.fc-accreditation__dva {
	position: relative;
}

.fc-accreditation__divider {
	position: absolute;
	top: 50%;
	left: calc(var(--fc-accreditation-gap) / -2);
	width: 1px;
	height: 64px;
	background-color: var(--fc-accreditation-rule);
	opacity: 0.3;
	transform: translateY(-50%);
}

/* ---------- High contrast on the dark chrome surfaces ---------- */

/*
 * In high contrast the accent presets all become Indigo, so on Indigo surfaces (utility bar,
 * CTA band, footer) focus, icons, rules and control edges switch to white to stay visible.
 */
html[data-contrast="high"] :is(.fc-utility__bar, .fc-wave-band, .fc-site-footer) {
	--fc-focus-ring: var(--fc-white);
	--fc-focus-gap: var(--fc-indigo);
	--fc-focus-halo: var(--fc-white);
}

html[data-contrast="high"] :is(.fc-utility__link, .fc-footer__list--contact) .fc-icon {
	color: var(--fc-white);
}

html[data-contrast="high"] .fc-footer__heading::after {
	background: var(--fc-white);
}

html[data-contrast="high"] :is(.fc-utility__bar, .fc-wave-band, .fc-site-footer) :is(.wp-block-button__link, .fc-footer__social a) {
	border-color: var(--fc-white);
}

/* Control edges at full strength (the tinted default is under 3:1 on white). */
html[data-contrast="high"] .fc-prefs__button {
	border-color: currentColor;
}

html[data-contrast="high"] .fc-site-footer a {
	text-decoration-color: currentColor !important;
}

/* Nav links are already underlined in high contrast; drop the gradient bar and mark the current page with weight. */
html[data-contrast="high"] .fc-nav__link::after {
	display: none;
}

html[data-contrast="high"] .fc-nav__link:is([aria-current], [data-fc-current]) {
	text-decoration-thickness: 4px;
}
