.d5f-gallery {
	--d5f-aspect-ratio: 16/10;
	--d5f-min-height: 0px;
	--d5f-image-fit: cover;
	--d5f-radius: 6px;
	--d5f-gap: clamp(1rem, 2vw, 1.5rem);
	--d5f-track-colour: rgba(46, 59, 42, 0.18);
	--d5f-thumb-colour: #718763;
	--d5f-button-bg: #f8f7f2;
	--d5f-button-fg: #3b5236;
	display: block;
	position: relative;
	width: 100%;
	max-width: 100%;
}

.d5f-gallery--fullwidth {
	width: 100%;
	max-width: none;
}

/*
 * Hero split layout: intended for a gallery placed inside the right or left
 * column of a 50/50 Divi hero row. On desktop it spans half the viewport;
 * on tablet/mobile it returns to normal 100% column width so it does not
 * leave awkward 50vw gaps when Divi stacks the columns.
 */
@media (min-width: 981px) {
	.d5f-gallery--hero-split,
	.d5f-gallery--bleed-right,
	.d5f-gallery--bleed-left {
		width: 50vw;
		max-width: none;
	}

	.d5f-gallery--hero-split-left,
	.d5f-gallery--bleed-left {
		margin-left: calc(100% - 50vw);
	}
}

@media (max-width: 980px) {
	.d5f-gallery--hero-split,
	.d5f-gallery--bleed-right,
	.d5f-gallery--bleed-left {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
	}
}

/*
 * Hero split overflow guard. Divi columns can create a 1-2px horizontal
 * scroll when a 50vw element is inside a flex column and the browser rounds
 * sub-pixels differently. Keep the slider clipped without changing Divi's
 * column stacking breakpoints.
 */
.d5f-gallery--hero-split {
	overflow: clip;
	max-width: min(50vw, 100vw);
}

.d5f-gallery--hero-split .d5f-gallery__viewport,
.d5f-gallery--hero-split .d5f-gallery__slide {
	overflow: hidden;
}

/* v1.0.86: do not clip the slider track itself. The viewport should clip
   the carousel, otherwise off-screen slides are cut out and appear blank
   after the first slide is translated into view. */
.d5f-gallery--hero-split .d5f-gallery__track {
	overflow: visible;
}

@media (min-width: 981px) {
	.d5f-gallery--hero-split-right {
		max-width: calc(100vw - 1px);
	}

	.d5f-gallery--hero-split-left {
		max-width: calc(100vw - 1px);
	}

	/* v1.0.90: let desktop hero galleries stretch to the split row height
	   while keeping their 4:3 size as the natural minimum. */
	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) > .et_pb_column:has(.d5f-gallery--hero-split) {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) > .et_pb_column:has(.d5f-gallery--hero-split) > .et_pb_module:has(.d5f-gallery--hero-split) {
		flex: 1 1 auto !important;
		width: 100%;
		height: 100%;
		min-height: 0;
	}

	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) > .et_pb_column:has(.d5f-gallery--hero-split) > .et_pb_module:has(.d5f-gallery--hero-split) > .et_pb_code_inner {
		height: 100%;
	}

	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) .d5f-gallery--hero-split {
		height: 100%;
		min-height: calc(50vw * 0.75);
	}

	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) .d5f-gallery--hero-split.d5f-gallery--slider .d5f-gallery__viewport {
		height: 100%;
		min-height: inherit;
		aspect-ratio: auto;
	}

	/* v1.0.108: keep off-screen portrait slides from setting the hero row height. */
	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) .d5f-gallery--hero-split.d5f-gallery--slider .d5f-gallery__track {
		position: absolute;
		inset: 0;
		height: auto;
		min-height: 0;
	}

	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) .d5f-gallery--hero-split.d5f-gallery--slider .d5f-gallery__slide {
		min-height: 0;
	}

	/* v1.0.113: grow only snug split heroes so left copy keeps deliberate
	   top/bottom breathing room while the gallery still stretches full height. */
	.et_pb_row.et_flex_row.d5f-hero-split-row--measured:has(.d5f-gallery--hero-split) {
		min-height: var(--d5f-hero-split-target-height) !important;
	}

	.et_pb_row.et_flex_row.d5f-hero-split-row--measured:has(.d5f-gallery--hero-split) > .et_pb_column,
	.et_pb_row.et_flex_row.d5f-hero-split-row--measured:has(.d5f-gallery--hero-split) .d5f-gallery--hero-split {
		min-height: var(--d5f-hero-split-target-height) !important;
	}

	.et_pb_row.et_flex_row.d5f-hero-split-row--measured:has(.d5f-gallery--hero-split) > .et_pb_column:not(:has(.d5f-gallery--hero-split)) {
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
	}
}

@media (max-width: 980px) {
	.et_pb_row.et_flex_row.d5f-hero-split-row--measured {
		min-height: 0 !important;
	}

	.d5f-gallery--hero-split {
		max-width: 100%;
	}
}

body.d5f-has-hero-split-gallery {
	overflow-x: clip;
}

@supports not (overflow: clip) {
	body.d5f-has-hero-split-gallery,
	.d5f-gallery--hero-split {
		overflow-x: hidden;
	}
}

.d5f-gallery--scroller {
	--d5f-item-width: 340px;
}

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

.d5f-gallery figure {
	margin: 0;
}

.d5f-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--d5f-image-fit);
}

.d5f-gallery__caption {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.4;
}

/* Slider layout */
.d5f-gallery--slider {
	overflow: hidden;
}

.d5f-gallery--slider .d5f-gallery__viewport {
	position: relative;
	width: 100%;
	aspect-ratio: var(--d5f-aspect-ratio);
	overflow: hidden;
	border-radius: var(--d5f-radius);
}

.d5f-gallery--slider .d5f-gallery__track {
	display: flex;
	height: 100%;
	transition: transform 420ms ease;
	will-change: transform;
}

.d5f-gallery--slider .d5f-gallery__slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
	min-height: var(--d5f-min-height);
	background: #f3f2ee;
	overflow: hidden;
}

.d5f-gallery--slider .d5f-gallery__link {
	display: block;
	width: 100%;
	height: 100%;
}

.d5f-gallery__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 999px;
	background: var(--d5f-button-bg);
	color: var(--d5f-button-fg);
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
	cursor: pointer;
	font-size: 0;
	line-height: 1;
	transform: translateY(-50%);
}

.d5f-gallery__arrow::before,
.d5f-gallery__scroll-button::before {
	display: block;
	font-family: ETmodules, sans-serif !important;
	font-size: 1.35rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	speak: never;
}

.d5f-gallery__arrow--prev::before {
	content: "\34";
}

.d5f-gallery__arrow--next::before,
.d5f-gallery__scroll-button::before {
	content: "\35";
}

.d5f-gallery__arrow:hover,
.d5f-gallery__arrow:focus-visible {
	background: #ffffff;
	outline: 2px solid rgba(59, 82, 54, 0.35);
	outline-offset: 2px;
}

.d5f-gallery__arrow--prev {
	left: 1rem;
}

.d5f-gallery__arrow--next {
	right: 1rem;
}


.d5f-gallery__counter {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	z-index: 3;
	transform: translateX(-50%);
	padding: 0.5rem 0.75rem;
	border-radius: 0.25rem;
	background: rgba(46, 59, 42, 0.48);
	color: #ffffff;
	font-weight: 700;
	line-height: 1;
}

.d5f-gallery__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding-top: 1rem;
}

.d5f-gallery__dot {
	width: 0.65rem;
	height: 0.65rem;
	border: 0;
	border-radius: 999px;
	background: rgba(46, 59, 42, 0.25);
	cursor: pointer;
	padding: 0;
}

.d5f-gallery__dot[aria-current="true"] {
	background: var(--d5f-button-fg);
}

/* Horizontal scroller layout */
.d5f-gallery--scroller .d5f-gallery__scroller {
	display: flex;
	gap: var(--d5f-gap);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.75rem;
	scrollbar-width: thin;
	scrollbar-color: var(--d5f-thumb-colour) var(--d5f-track-colour);
}

.d5f-gallery--scroller .d5f-gallery__scroller::-webkit-scrollbar {
	height: 0.45rem;
}

.d5f-gallery--scroller .d5f-gallery__scroller::-webkit-scrollbar-track {
	background: var(--d5f-track-colour);
	border-radius: 999px;
}

.d5f-gallery--scroller .d5f-gallery__scroller::-webkit-scrollbar-thumb {
	background: var(--d5f-thumb-colour);
	border-radius: 999px;
}

.d5f-gallery--scroller .d5f-gallery__item {
	position: relative;
	flex: 0 0 min(var(--d5f-item-width), 82vw);
	min-height: var(--d5f-min-height);
	aspect-ratio: var(--d5f-aspect-ratio);
	border-radius: var(--d5f-radius);
	background: #f3f2ee;
	overflow: hidden;
	scroll-snap-align: start;
}

.d5f-gallery--scroller .d5f-gallery__link {
	display: block;
	width: 100%;
	height: 100%;
}

.d5f-gallery__scroll-ui {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.75rem;
}

.d5f-gallery__scroll-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border: 1px solid rgba(59, 82, 54, 0.22);
	border-radius: 999px;
	background: var(--d5f-button-bg);
	color: var(--d5f-button-fg);
	font-size: 0;
	line-height: 1;
	pointer-events: none;
}

.d5f-gallery__scrollbar {
	position: relative;
	height: 0.4rem;
	border-radius: 999px;
	background: var(--d5f-track-colour);
	overflow: hidden;
}

.d5f-gallery__scrollbar-thumb {
	position: absolute;
	inset: 0 auto 0 0;
	width: 15%;
	border-radius: inherit;
	background: var(--d5f-thumb-colour);
	transform: translateX(0);
}

@media (max-width: 767px) {
	.d5f-gallery--scroller .d5f-gallery__item {
		flex-basis: min(var(--d5f-item-width), 74vw);
	}

	.d5f-gallery__arrow {
		width: 2.35rem;
		height: 2.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.d5f-gallery--slider .d5f-gallery__track,
	.d5f-gallery--scroller .d5f-gallery__scroller {
		transition: none;
		scroll-behavior: auto;
	}
}

/* Repeater icon/text list layout */
.d5f-repeater-list {
	--d5f-list-icon-colour: #768F68;
	--d5f-list-text-colour: inherit;
	--d5f-list-border-colour: rgba(0, 0, 0, 0.18);
	--d5f-list-icon-size: 1.15rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
}

.d5f-repeater-list,
.d5f-repeater-list * {
	box-sizing: border-box;
}


.d5f-repeater-list[class*="d5f-repeater-list--columns-"] {
	display: grid;
	grid-template-columns: repeat(var(--d5f-list-columns, 2), minmax(0, 1fr));
	column-gap: var(--d5f-list-column-gap, 1.75rem);
	row-gap: var(--d5f-list-row-gap, 0);
}

.d5f-repeater-list[class*="d5f-repeater-list--columns-"] .d5f-repeater-list__item {
	min-width: 0;
}

@media (max-width: 767px) {
	.d5f-repeater-list[class*="d5f-repeater-list--columns-"] {
		grid-template-columns: 1fr;
	}
}

.d5f-repeater-list__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.35rem;
	margin: 0 !important;
	padding: 0.65rem 0 0.75rem !important;
	padding-left: 0 !important;
	border-bottom: 1px solid var(--d5f-list-border-colour);
	color: var(--d5f-list-text-colour);
}

.d5f-repeater-list__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--d5f-list-icon-size);
	width: var(--d5f-list-icon-size);
	height: var(--d5f-list-icon-size);
	color: var(--d5f-list-icon-colour);
	line-height: 1;
}

.d5f-repeater-list__icon--check {
	border-radius: 999px;
	background: var(--d5f-list-icon-colour);
	color: #ffffff;
}

.d5f-repeater-list__icon--check::before {
	content: "";
	width: 0.38em;
	height: 0.62em;
	border: solid currentColor;
	border-width: 0 0.14em 0.14em 0;
	transform: rotate(45deg) translate(-0.02em, -0.05em);
}

.d5f-repeater-list__icon--divi {
	flex: 0 0 30px;
	width: 30px;
	min-width: 30px;
	height: 30px;
	color: var(--d5f-list-icon-colour, #768F68);
	font-family: ETmodules, sans-serif !important;
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	speak: never;
}

.d5f-repeater-list__icon--fa {
	flex: 0 0 30px;
	width: 30px;
	min-width: 30px;
	height: 30px;
	color: var(--d5f-list-icon-colour, #768F68);
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
	font-size: 30px;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	speak: never;
}

.d5f-repeater-list__icon--fa-regular {
	font-weight: 400;
}

.d5f-repeater-list__icon--fa-brands {
	font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
	font-weight: 400;
}

.d5f-repeater-list__icon--dashicon .dashicons {
	width: var(--d5f-list-icon-size);
	height: var(--d5f-list-icon-size);
	font-size: var(--d5f-list-icon-size);
	line-height: var(--d5f-list-icon-size);
}

.d5f-repeater-list__icon--image img,
.d5f-repeater-list__icon-image {
	display: block;
	width: var(--d5f-list-icon-size);
	height: var(--d5f-list-icon-size);
	object-fit: contain;
}

.d5f-repeater-list__text {
	display: block;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--d5f-list-text-colour);
}

.d5f-repeater-list--about-section-care-services {
	--d5f-list-text-colour: #173542;
}

.d5f-repeater-list--about-section-care-facilities {
	--d5f-list-icon-colour: #768F68;
	--d5f-list-text-colour: #425339;
}

/* Responsive benefit card grid */
.d5f-benefit-grid {
	--d5f-benefit-columns: 4;
	--d5f-benefit-gap: clamp(1rem, 2vw, 1.5rem);
	--d5f-benefit-aspect-ratio: 4/3;
	--d5f-benefit-image-fit: cover;
	--d5f-benefit-title-colour: #173542;
	--d5f-benefit-body-colour: #425339;
	--d5f-benefit-icon-colour: #768F68;
	--d5f-benefit-card-bg: transparent;
	display: grid;
	grid-template-columns: repeat(var(--d5f-benefit-columns), minmax(0, 1fr));
	gap: var(--d5f-benefit-gap);
	width: 100%;
	max-width: 100%;
}

.d5f-benefit-grid,
.d5f-benefit-grid * {
	box-sizing: border-box;
}

.d5f-benefit-grid__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	background: var(--d5f-benefit-card-bg);
}

.d5f-benefit-grid__media,
.d5f-benefit-grid__icon-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: var(--d5f-benefit-aspect-ratio);
	margin: 0 0 1rem;
	overflow: hidden;
	background: #f3f2ee;
}

.d5f-benefit-grid__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--d5f-benefit-image-fit);
}

.d5f-benefit-grid__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--d5f-benefit-icon-colour);
}

.d5f-benefit-grid__icon {
	flex: 0 0 clamp(52px, 5.6vw, 72px);
	width: clamp(52px, 5.6vw, 72px);
	min-width: clamp(52px, 5.6vw, 72px);
	height: clamp(52px, 5.6vw, 72px);
	font-size: clamp(52px, 5.6vw, 72px);
	color: var(--d5f-benefit-icon-colour) !important;
}

.d5f-benefit-grid__icon .d5f-fa-svg {
	width: 1em;
	height: 1em;
}

.d5f-benefit-loop-icon-module .d5f-benefit-loop-icon-wrap {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--d5f-benefit-loop-icon-height, 110px);
	color: var(--d5f-benefit-icon-colour, #768F68);
}

.d5f-benefit-loop-icon-module .d5f-benefit-grid__icon {
	flex: 0 0 clamp(64px, 6vw, 88px);
	width: clamp(64px, 6vw, 88px);
	min-width: clamp(64px, 6vw, 88px);
	height: clamp(64px, 6vw, 88px);
	font-size: clamp(64px, 6vw, 88px);
	color: var(--d5f-benefit-icon-colour, #768F68) !important;
}

.d5f-benefit-loop-icon-module .d5f-benefit-grid__icon .d5f-fa-svg {
	width: 1em;
	height: 1em;
}

.d5f-benefit-grid__title {
	margin: 0 0 0.55rem;
	padding: 0;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--d5f-benefit-title-colour);
}

.d5f-benefit-grid__body {
	font-family: Poppins, sans-serif;
	font-size: var(--d5f-tab-font-size);
	font-weight: 400;
	line-height: 1.55;
	color: var(--d5f-benefit-body-colour);
}

.d5f-benefit-grid__body > :first-child {
	margin-top: 0;
}

.d5f-benefit-grid__body > :last-child {
	margin-bottom: 0;
}

@media (max-width: 980px) {
	.d5f-benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.d5f-benefit-grid {
		grid-template-columns: 1fr;
	}
}

/* SCF repeater tab/card block */
.d5f-tab-cards {
	--d5f-tab-card-bg: #f7f6f1;
	--d5f-tab-nav-bg: #e5e6df;
	--d5f-tab-active-bg: #ffffff;
	--d5f-tab-title-colour: #425339;
	--d5f-tab-content-colour: #173542;
	--d5f-tab-accent-colour: #425339;
	--d5f-tab-button-colour: #ff7f50;
	--d5f-tab-image-aspect-ratio: 4/3;
	--d5f-tab-image-fit: cover;
	--d5f-tab-font-size: 20px;
	--d5f-tab-title-size: 40px;
	--d5f-tab-body-size: 18px;
	position: relative;
	width: 100%;
	max-width: 100%;
	padding-top: 2.25rem;
}

.d5f-tab-cards,
.d5f-tab-cards * {
	box-sizing: border-box;
}

.d5f-tab-cards__nav-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	margin-bottom: -2.05rem;
	padding: 0 1rem;
}

.d5f-tab-cards__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.25rem, 1.4vw, 1rem);
	max-width: 100%;
	padding: 0.8rem;
	border-radius: 999px;
	background: var(--d5f-tab-nav-bg);
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.03);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.d5f-tab-cards__nav::-webkit-scrollbar {
	display: none;
}

.d5f-tab-cards__tab {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #173542;
	cursor: pointer;
	flex: 0 0 auto;
	font-family: Poppins, sans-serif;
	font-size: var(--d5f-tab-font-size);
	font-weight: 400;
	line-height: 1;
	min-width: clamp(8.5rem, 13vw, 11.25rem);
	padding: 1.15rem 1.5rem;
	text-align: center;
	transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.d5f-tab-cards__tab.is-active,
.d5f-tab-cards__tab[aria-selected="true"] {
	background: var(--d5f-tab-active-bg);
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.04);
	font-weight: 500;
}

.d5f-tab-cards__tab:hover,
.d5f-tab-cards__tab:focus-visible {
	background: var(--d5f-tab-active-bg);
	outline: none;
}

.d5f-tab-cards__panels {
	position: relative;
	z-index: 1;
	border-radius: 6px;
	background: var(--d5f-tab-card-bg);
	padding: clamp(5.25rem, 7vw, 7rem) clamp(1.5rem, 4.5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
}

.d5f-tab-cards__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.d5f-tab-cards__panel[hidden] {
	display: none !important;
}

.d5f-tab-cards__media {
	position: relative;
	width: 100%;
	aspect-ratio: var(--d5f-tab-image-aspect-ratio);
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	background: #edece7;
}

.d5f-tab-cards__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--d5f-tab-image-fit);
}

.d5f-tab-cards__content {
	min-width: 0;
}

.d5f-tab-cards__title {
	max-width: 12em;
	margin: 0 0 1.5rem;
	padding: 0;
	font-family: Poppins, sans-serif;
	font-size: var(--d5f-tab-title-size);
	font-weight: 600;
	line-height: 1.05;
	color: var(--d5f-tab-title-colour);
}

.d5f-tab-cards__body {
	max-width: 40rem;
	font-family: Poppins, sans-serif;
	font-size: var(--d5f-tab-body-size);
	font-weight: 400;
	line-height: 1.55;
	color: var(--d5f-tab-content-colour);
}

.d5f-tab-cards__body > :first-child {
	margin-top: 0;
}

.d5f-tab-cards__body > :last-child {
	margin-bottom: 0;
}

.d5f-tab-cards__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.d5f-tab-cards__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 2.65rem 0.85rem 1.8rem;
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	position: relative;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.d5f-tab-cards__button::after {
	content: "\35";
	position: absolute;
	top: 50%;
	right: 1.3rem;
	display: block;
	font-family: ETmodules !important;
	font-size: 1.25em;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	line-height: 1;
	text-transform: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%) translateX(-0.25rem);
	transition: opacity 180ms ease, transform 180ms ease;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.d5f-tab-cards__button:hover,
.d5f-tab-cards__button:focus-visible {
	transform: translateY(-1px);
}

.d5f-tab-cards__button:hover::after,
.d5f-tab-cards__button:focus-visible::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.d5f-tab-cards__button--primary {
	background: var(--d5f-tab-button-colour);
	color: #ffffff !important;
}

.d5f-tab-cards__button--secondary {
	border: 1px solid rgba(66, 83, 57, 0.55);
	background: transparent;
	color: var(--d5f-tab-accent-colour) !important;
}

@media (max-width: 980px) {
	.d5f-tab-cards__nav-wrap {
		justify-content: flex-start;
		margin-bottom: -1.5rem;
		padding: 0 0.75rem;
		overflow: hidden;
	}

	.d5f-tab-cards__nav {
		justify-content: flex-start;
		width: 100%;
	}

	.d5f-tab-cards__tab {
		min-width: 9rem;
		padding: 1rem 1.25rem;
	}

	.d5f-tab-cards__panels {
		padding-top: 4.75rem;
	}

	.d5f-tab-cards__panel {
		grid-template-columns: 1fr;
	}

	.d5f-tab-cards__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.d5f-tab-cards {
		padding-top: 1.5rem;
	}

	.d5f-tab-cards__nav-wrap {
		margin-bottom: 1rem;
		padding: 0;
	}

	.d5f-tab-cards__nav {
		border-radius: 1.35rem;
		padding: 0.6rem;
	}

	.d5f-tab-cards__tab {
		min-width: 8rem;
		padding: 0.9rem 1rem;
	}

	.d5f-tab-cards__panels {
		padding: 1.25rem;
	}

	.d5f-tab-cards__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.d5f-tab-cards__button {
		width: 100%;
	}
}

/* Full Life At Home tab/scroller section */
.d5f-life-tabs {
	--d5f-life-heading-colour: #425339;
	--d5f-life-card-bg: #3f5738;
	--d5f-life-card-text-colour: #ffffff;
	--d5f-life-tab-bg: #e5e6df;
	--d5f-life-tab-active-bg: #ffffff;
	--d5f-life-tab-text-colour: #173542;
	--d5f-life-card-column: minmax(432px, 552px);
	--d5f-life-item-width: 478px;
	--d5f-life-image-aspect-ratio: 16/10;
	--d5f-life-image-fit: cover;
	--d5f-life-gap: clamp(2rem, 3vw, 3rem);
	--d5f-life-scroll-track: #d8d8d8;
	--d5f-life-scroll-thumb: #768F68;
	display: grid;
	grid-template-columns: var(--d5f-life-card-column) minmax(0, 1fr);
	column-gap: var(--d5f-life-gap);
	row-gap: clamp(2rem, 4vw, 3.2rem);
	align-items: start;
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.d5f-life-tabs,
.d5f-life-tabs * {
	box-sizing: border-box;
}

.d5f-life-tabs__heading-wrap {
	grid-column: 1;
	grid-row: 1;
}

.d5f-life-tabs__heading {
	max-width: 8.5em;
	margin: 0;
	padding: 0;
	font-family: Poppins, sans-serif;
	font-size: clamp(34px, 3.3vw, 48px);
	font-weight: 600;
	line-height: 1.08;
	color: var(--d5f-life-heading-colour);
}

.d5f-life-tabs__nav-wrap {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	justify-content: flex-start;
	min-width: 0;
	padding: 0;
	overflow: visible;
}

.d5f-life-tabs__nav {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(0.35rem, 0.9vw, 0.75rem);
	width: auto;
	max-width: none;
	padding: 0.8rem;
	border-radius: 999px;
	background: var(--d5f-life-tab-bg);
	overflow: visible;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.d5f-life-tabs__nav::-webkit-scrollbar {
	display: none;
}

.d5f-life-tabs__tab {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--d5f-life-tab-text-colour);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	min-width: max-content;
	padding: 1.15rem 1.65rem;
	text-align: center;
	white-space: nowrap;
	transition: background 180ms ease, box-shadow 180ms ease;
}

.d5f-life-tabs__tab.is-active,
.d5f-life-tabs__tab[aria-selected="true"] {
	background: var(--d5f-life-tab-active-bg);
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.04);
	font-weight: 500;
}

.d5f-life-tabs__tab:hover,
.d5f-life-tabs__tab:focus-visible {
	background: var(--d5f-life-tab-active-bg);
	outline: none;
}

.d5f-life-tabs__panels {
	grid-column: 1 / -1;
	grid-row: 2;
	min-width: 0;
}

.d5f-life-tabs__panel {
	display: grid;
	grid-template-columns: var(--d5f-life-card-column) minmax(0, 1fr);
	column-gap: var(--d5f-life-gap);
	align-items: start;
	min-width: 0;
}

.d5f-life-tabs__panel[hidden] {
	display: none !important;
}

.d5f-life-tabs__card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-self: start;
	min-height: 0;
	padding: clamp(2rem, 3vw, 3.25rem);
	border-radius: 6px;
	background: var(--d5f-life-card-bg);
	color: var(--d5f-life-card-text-colour);
}

.d5f-life-tabs__card-title {
	margin: 0 0 1.5rem;
	padding: 0;
	font-family: Poppins, sans-serif;
	font-size: clamp(32px, 3vw, 42px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--d5f-life-card-text-colour);
}

.d5f-life-tabs__card-body {
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--d5f-life-card-text-colour);
}

.d5f-life-tabs__card-body > :first-child {
	margin-top: 0;
}

.d5f-life-tabs__card-body > :last-child {
	margin-bottom: 0;
}

.d5f-life-tabs__gallery-wrap {
	position: relative;
	min-width: 0;
	overflow: visible;
	align-self: start;
}

.d5f-life-tabs__scroller {
	display: flex;
	gap: clamp(1rem, 2vw, 1.5rem);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0;
	scrollbar-width: none;
}

.d5f-life-tabs__scroller::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

.d5f-life-tabs__scroller::-webkit-scrollbar-track,
.d5f-life-tabs__scroller::-webkit-scrollbar-thumb {
	background: transparent;
}

.d5f-life-tabs__gallery-item {
	position: relative;
	flex: 0 0 min(var(--d5f-life-item-width), 82vw);
	height: auto;
	max-height: none;
	aspect-ratio: var(--d5f-life-image-aspect-ratio);
	margin: 0;
	border-radius: 6px;
	background: #f3f2ee;
	overflow: hidden;
	scroll-snap-align: start;
}

.d5f-life-tabs__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--d5f-life-image-fit);
}

.d5f-life-tabs__scroll-ui {
	display: block;
	padding-top: 0.75rem;
}

.d5f-life-tabs__scroll-button {
	position: absolute;
	top: 50%;
	right: 1rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #3b5236;
	box-shadow: 0 10px 24px rgba(23, 53, 66, 0.16);
	cursor: pointer;
	font-size: 0;
	line-height: 1;
	padding: 0;
	transform: translateY(-50%);
	transition: left 0.2s ease, right 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.d5f-life-tabs__scroll-button::before {
	display: block;
	font-family: ETmodules, sans-serif !important;
	font-size: 1.7rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	content: "\35";
	speak: never;
}

.d5f-life-tabs__scroll-button.is-at-end {
	right: auto;
	left: 1rem;
}

.d5f-life-tabs__scroll-button.is-at-end::before {
	content: "\34";
}

.d5f-life-tabs__scroll-button.is-disabled {
	display: none;
}

.d5f-life-tabs__scroll-button:hover,
.d5f-life-tabs__scroll-button:focus-visible {
	transform: translateY(-50%) scale(1.04);
}

.d5f-life-tabs__scrollbar {
	position: relative;
	height: 0.4rem;
	border-radius: 999px;
	background: var(--d5f-life-scroll-track);
	cursor: pointer;
	overflow: hidden;
	touch-action: none;
}

.d5f-life-tabs__scrollbar-thumb {
	position: absolute;
	inset: 0 auto 0 0;
	width: 15%;
	border-radius: inherit;
	background: var(--d5f-life-scroll-thumb);
	cursor: grab;
	transform: translateX(0);
	touch-action: none;
}

.d5f-life-tabs__scrollbar-thumb:active {
	cursor: grabbing;
}

.d5f-life-tabs__scrollbar.is-disabled {
	opacity: 0.55;
	cursor: default;
}

@media (max-width: 980px) {
	.d5f-life-tabs {
		--d5f-life-card-column: minmax(0, 1fr);
		grid-template-columns: 1fr;
		row-gap: 1.5rem;
	}

	.d5f-life-tabs__heading-wrap,
	.d5f-life-tabs__nav-wrap,
	.d5f-life-tabs__panels {
		grid-column: 1;
	}

	.d5f-life-tabs__heading-wrap {
		grid-row: 1;
	}

	.d5f-life-tabs__nav-wrap {
		grid-row: 2;
	}

	.d5f-life-tabs__panels {
		grid-row: 3;
	}

	.d5f-life-tabs__heading {
		max-width: none;
	}

	.d5f-life-tabs__nav {
		justify-content: flex-start;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.d5f-life-tabs__gallery-item {
		height: auto !important;
		max-height: none;
	}

	.d5f-life-tabs__panel {
		grid-template-columns: 1fr;
		row-gap: 1.5rem;
	}

	.d5f-life-tabs__card {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.d5f-life-tabs {
		width: 100%;
		overflow-x: hidden;
	}

	.d5f-life-tabs__nav {
		border-radius: 1.35rem;
		padding: 0.6rem;
	}

	.d5f-life-tabs__tab {
		flex: 0 0 auto;
		min-width: max-content;
		padding: 0.95rem 1.15rem;
	}

	.d5f-life-tabs__panel {
		width: 100%;
		overflow: hidden;
	}

	.d5f-life-tabs__card {
		width: calc(100% - 2rem);
		max-width: calc(100% - 2rem);
		margin-left: auto;
		margin-right: auto;
		padding: 2rem 1.5rem;
	}

	.d5f-life-tabs__gallery-wrap {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.d5f-life-tabs__gallery-item {
		flex-basis: min(var(--d5f-life-item-width), 76vw);
		height: auto;
	}
}

/* Location icon grid */
.d5f-location-icons {
	--d5f-location-icon-columns: 2;
	--d5f-location-icon-colour: #768F68;
	--d5f-location-text-colour: #173542;
	--d5f-location-icon-size: 32px;
	--d5f-location-gap: 1rem;
	--d5f-location-row-gap: 1rem;
	display: grid;
	grid-template-columns: repeat(var(--d5f-location-icon-columns), minmax(0, 1fr));
	column-gap: var(--d5f-location-gap);
	row-gap: var(--d5f-location-row-gap);
	margin: 0;
	padding: 0;
}

.d5f-location-icons,
.d5f-location-icons * {
	box-sizing: border-box;
}

.d5f-location-icons__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	padding: 0;
	margin: 0;
}

.d5f-location-icons__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 var(--d5f-location-icon-size);
	width: var(--d5f-location-icon-size);
	height: var(--d5f-location-icon-size);
	color: var(--d5f-location-icon-colour);
	line-height: 1;
}

.d5f-location-icons__icon.et-pb-icon,
.d5f-location-icons__icon--divi {
	font-family: ETmodules, sans-serif !important;
	font-size: var(--d5f-location-icon-size);
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	speak: never;
}

.d5f-location-icons__icon--fa,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa {
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
	font-size: var(--d5f-location-icon-size);
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	speak: never;
}

.d5f-location-icons__icon--fa-regular,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa-regular {
	font-weight: 400;
}

.d5f-location-icons__icon--fa-brands,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa-brands {
	font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
	font-weight: 400;
}

.d5f-location-icons__icon .dashicons {
	width: var(--d5f-location-icon-size);
	height: var(--d5f-location-icon-size);
	font-size: var(--d5f-location-icon-size);
	line-height: var(--d5f-location-icon-size);
}

.d5f-location-icons__icon-image,
.d5f-location-icons__icon img {
	display: block;
	width: var(--d5f-location-icon-size);
	height: var(--d5f-location-icon-size);
	object-fit: contain;
}

.d5f-location-icons__text {
	display: block;
	min-width: 0;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--d5f-location-text-colour);
}

@media (max-width: 767px) {
	.d5f-location-icons {
		grid-template-columns: 1fr;
	}
}


/* Location highlights: orange circle two-column care-home location icons. */
.d5f-location-icons--highlights {
	--d5f-location-glyph-size: 18px;
}

.d5f-location-icons--highlights .d5f-location-icons__item {
	gap: 1rem;
}

.d5f-location-icons--highlights .d5f-location-icons__icon,
.d5f-location-icons--highlights .d5f-location-icons__icon.d5f-repeater-list__icon--fa-svg,
.d5f-location-icons--highlights .d5f-location-icons__icon.d5f-repeater-list__icon--fa-class {
	background: #e87343;
	border-radius: 999px;
	color: #ffffff;
	flex-basis: var(--d5f-location-icon-size);
	width: var(--d5f-location-icon-size);
	height: var(--d5f-location-icon-size);
	min-width: var(--d5f-location-icon-size);
}

.d5f-location-icons--highlights .d5f-location-icons__icon .d5f-fa-svg,
.d5f-location-icons--highlights .d5f-location-icons__icon svg,
.d5f-location-icons--highlights .d5f-location-icons__icon .dashicons,
.d5f-location-icons--highlights .d5f-location-icons__icon img {
	width: var(--d5f-location-glyph-size);
	height: var(--d5f-location-glyph-size);
	font-size: var(--d5f-location-glyph-size);
	line-height: var(--d5f-location-glyph-size);
}

.d5f-location-icons--highlights .d5f-location-icons__text {
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--d5f-location-text-colour, #425339);
}

/* FAQ split section */
.d5f-faq-section {
	--d5f-faq-heading-colour: #425339;
	--d5f-faq-text-colour: #173542;
	--d5f-faq-card-bg: #f8f7f2;
	--d5f-faq-button-bg: #ff7d4f;
	--d5f-faq-button-text: #ffffff;
	--d5f-faq-outline-colour: #8ca17f;
	--d5f-faq-outline-text: #718763;
	--d5f-faq-image-aspect-ratio: 16/10;
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	width: 100%;
	max-width: 100%;
	font-family: Poppins, sans-serif;
	color: var(--d5f-faq-text-colour);
}


.d5f-faq-section--accordion-only {
	display: block;
	gap: 0;
}

.d5f-faq-section--accordion-only .d5f-faq-section__items {
	width: 100%;
}

.d5f-faq-section,
.d5f-faq-section * {
	box-sizing: border-box;
}

.d5f-faq-section__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	column-gap: clamp(2rem, 5vw, 4rem);
}

.d5f-faq-section__heading {
	max-width: 360px;
	margin: 0;
	font-family: Poppins, sans-serif;
	font-size: clamp(32px, 4vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--d5f-faq-heading-colour);
}

.d5f-faq-section__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.75rem;
}

.d5f-faq-section__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.8rem 1.35rem;
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.d5f-faq-section__button:hover,
.d5f-faq-section__button:focus-visible {
	opacity: 0.9;
	transform: translateY(-1px);
	text-decoration: none;
}

.d5f-faq-section__button--primary {
	border: 1px solid var(--d5f-faq-button-bg);
	background: var(--d5f-faq-button-bg);
	color: var(--d5f-faq-button-text);
}

.d5f-faq-section__button--secondary {
	border: 1px solid var(--d5f-faq-outline-colour);
	background: transparent;
	color: var(--d5f-faq-outline-text);
}

.d5f-faq-section__body {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
	align-items: start;
	column-gap: clamp(2rem, 5vw, 4rem);
}

.d5f-faq-section__items {
	display: grid;
	gap: 1rem;
}

.d5f-faq-section__item {
	margin: 0;
	border: 0;
	border-radius: 6px;
	background: var(--d5f-faq-card-bg);
	overflow: hidden;
}

.d5f-faq-section__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.15rem 1.35rem;
	cursor: pointer;
	list-style: none;
	font-family: Poppins, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--d5f-faq-question-colour, #24453D);
}

.d5f-faq-section__question::-webkit-details-marker {
	display: none;
}

.d5f-faq-section__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	font-family: ETmodules, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: var(--d5f-faq-question-colour, #24453D);
	transform: rotate(0deg);
	transition: transform 160ms ease;
	speak: never;
}

.d5f-faq-section__item[open] .d5f-faq-section__arrow {
	transform: rotate(180deg);
}

.d5f-faq-section__answer {
	padding: 0 1.35rem 1.25rem;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--d5f-faq-text-colour);
}

.d5f-faq-section__answer > :first-child {
	margin-top: 0;
}

.d5f-faq-section__answer > :last-child {
	margin-bottom: 0;
}

.d5f-faq-section__figure {
	width: 100%;
	aspect-ratio: var(--d5f-faq-image-aspect-ratio);
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
}

.d5f-faq-section__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 980px) {
	.d5f-faq-section__header,
	.d5f-faq-section__body {
		grid-template-columns: 1fr;
		row-gap: 1.5rem;
	}

	.d5f-faq-section__actions {
		justify-content: flex-start;
		padding-top: 0;
	}

	.d5f-faq-section__heading {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.d5f-faq-section__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.d5f-faq-section__button {
		width: 100%;
	}
}


/* Care-home related blog feed */
.d5f-blog-feed {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.d5f-blog-feed__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 1rem;
	border-radius: 8px;
	background: var(--d5f-blog-card-bg);
}

.d5f-blog-feed__media {
	display: block;
	width: 100%;
	aspect-ratio: var(--d5f-blog-image-aspect-ratio);
	margin: 0 0 1.3rem;
	border-radius: 2px;
	overflow: hidden;
	text-decoration: none;
}

.d5f-blog-feed__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.d5f-blog-feed__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
}

.d5f-blog-feed__title {
	margin: 0 0 1.25rem;
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.18;
	color: var(--d5f-blog-title-colour);
}

.d5f-blog-feed__title a {
	color: inherit;
	text-decoration: none;
}

.d5f-blog-feed__title a:hover,
.d5f-blog-feed__title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.d5f-blog-feed__excerpt {
	margin: 0 0 1.5rem;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--d5f-blog-body-colour);
}

.d5f-blog-feed__button {
	display: inline-flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: auto;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: var(--d5f-blog-button-colour);
	text-decoration: none;
}

.d5f-blog-feed__button:hover,
.d5f-blog-feed__button:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.d5f-blog-feed__button-arrow {
	font-size: 1.1em;
	line-height: 1;
}

@media (max-width: 980px) {
	.d5f-blog-feed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.d5f-blog-feed {
		grid-template-columns: 1fr;
	}
}


/* Internal sticky section navigation. */
.d5f-internal-nav {
	position: relative;
	top: auto;
	z-index: 2147483000;
	isolation: isolate;
	pointer-events: auto !important;
	width: 100%;
	margin: 0;
	padding: 10px max(20px, calc((100vw - 1240px) / 2));
	font-family: Poppins, sans-serif;
	background: #768f68;
	box-shadow: none;
}

.d5f-internal-nav.is-fixed {
	position: fixed;
	top: var(--d5f-internal-nav-sticky-top, 0px);
	left: 0;
	right: auto;
	width: 100vw;
	z-index: 2147483000 !important;
	pointer-events: auto !important;
	transform: translateZ(0);
}


.d5f-internal-nav.is-fixed .d5f-internal-nav__inner,
.d5f-internal-nav.is-fixed .d5f-internal-nav__list,
.d5f-internal-nav.is-fixed .d5f-internal-nav__item,
.d5f-internal-nav.is-fixed .d5f-internal-nav__link {
	position: relative;
	z-index: 2147483001;
	pointer-events: auto !important;
}

.d5f-internal-nav-placeholder {
	display: block;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
}

.d5f-internal-nav,
.d5f-internal-nav * {
	box-sizing: border-box;
}

.d5f-internal-nav__inner {
	display: flex;
	justify-content: center;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.d5f-internal-nav__inner::-webkit-scrollbar {
	display: none;
}

.d5f-internal-nav__list,
.d5f-internal-nav__list li,
.d5f-internal-nav__list ul {
	list-style: none !important;
}

.d5f-internal-nav__list li::marker {
	content: "" !important;
	font-size: 0 !important;
}

.d5f-internal-nav__item::before,
.d5f-internal-nav__item::after,
.d5f-internal-nav__link::before,
.d5f-internal-nav__link::after {
	display: none !important;
	content: none !important;
}

.d5f-internal-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 2.45vw, 38px);
	width: min(100%, 1060px);
	max-width: 100%;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.d5f-internal-nav__item {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	line-height: 1 !important;
	background: transparent !important;
}

.d5f-internal-nav__link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 38px;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px;
	outline: 0;
	background: transparent;
	box-shadow: none;
	font-family: Poppins, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	white-space: nowrap;
	color: #ffffff !important;
	text-decoration: none !important;
	transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.d5f-internal-nav__link:hover,
.d5f-internal-nav__link:focus-visible,
.d5f-internal-nav__link.is-active,
.d5f-internal-nav__link[aria-current="true"] {
	background: #ffffff !important;
	color: #173542 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.d5f-internal-nav.is-stuck,
.d5f-internal-nav.is-fixed {
	box-shadow: 0 8px 18px rgba(23, 53, 66, 0.08);
}

.d5f-internal-nav.is-stuck .d5f-internal-nav__inner {
	padding: 0;
	background: transparent;
	backdrop-filter: none;
}

body.d5f-internal-nav-is-stuck #main-header,
body.d5f-internal-nav-is-stuck .d5f-hide-when-internal-nav-stuck {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	z-index: 1 !important;
	transform: translateY(-120%) !important;
	transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

@media (max-width: 980px) {
	.d5f-internal-nav {
		padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
	}

	.d5f-internal-nav__inner {
		justify-content: flex-start;
	}

	.d5f-internal-nav__list {
		justify-content: flex-start;
		gap: 10px;
		width: max-content;
		min-width: max-content;
	}

	.d5f-internal-nav__link {
		min-height: 36px;
		padding: 0 18px !important;
		font-size: 15px !important;
	}
}



/* Hero offer CTA - dark green Summer Respite style */
.d5f-hero-offer,
.gsc-hero-offer-c {
	--gsc-offer-green: #465f57;
	--gsc-offer-orange: #d97b49;
	--gsc-offer-yellow: #dfbd00;

	width: 100%;
	max-width: 100%;
	margin: 20px 0 0 !important;
	padding: 22px 24px !important;
	position: relative;
	overflow: hidden;
	border-radius: 16px !important;
	background: var(--gsc-offer-green) !important;
	border: 1px solid rgba(70, 95, 87, 0.25) !important;
	box-shadow: 0 14px 30px rgba(8, 56, 72, 0.16) !important;
	color: #fff !important;
	font-family: Poppins, sans-serif;
}

.d5f-hero-offer::before,
.gsc-hero-offer-c::before {
	display: none !important;
	content: none !important;
}

.d5f-hero-offer .d5f-hero-offer__content,
.gsc-hero-offer-c .d5f-hero-offer__content,
.gsc-hero-offer-c .et_pb_text_inner {
	position: relative;
	z-index: 1;
}

.d5f-hero-offer h3,
.d5f-hero-offer h3 strong,
.gsc-hero-offer-c h3,
.gsc-hero-offer-c h3 strong {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1.25 !important;
	font-weight: 600 !important;
}

.d5f-hero-offer p,
.gsc-hero-offer-c p {
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	color: rgba(255, 255, 255, 0.92) !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	font-weight: 500 !important;
}

.d5f-hero-offer p + p,
.gsc-hero-offer-c p + p {
	margin-top: 6px !important;
}

.d5f-hero-offer a,
.gsc-hero-offer-c a,
.d5f-hero-offer a[href*="respite-offer"],
.gsc-hero-offer-c a[href*="respite-offer"] {
	display: inline-flex !important;
	align-items: center;
	gap: 0.35em;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: #fff !important;
	font-size: 17px !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.d5f-hero-offer a::after,
.gsc-hero-offer-c a::after {
	content: "\203A";
	display: inline-block;
	font-size: 1.25em;
	line-height: 1;
	transform: translateX(0);
	transition: transform 180ms ease;
}

.d5f-hero-offer a:hover,
.d5f-hero-offer a:focus-visible,
.gsc-hero-offer-c a:hover,
.gsc-hero-offer-c a:focus-visible,
.d5f-hero-offer a[href*="respite-offer"]:hover,
.d5f-hero-offer a[href*="respite-offer"]:focus-visible,
.gsc-hero-offer-c a[href*="respite-offer"]:hover,
.gsc-hero-offer-c a[href*="respite-offer"]:focus-visible {
	background: transparent !important;
	color: #fff !important;
	text-decoration: none !important;
}

.d5f-hero-offer a:hover::after,
.d5f-hero-offer a:focus-visible::after,
.gsc-hero-offer-c a:hover::after,
.gsc-hero-offer-c a:focus-visible::after {
	transform: translateX(4px);
}

@media (max-width: 767px) {
	.d5f-hero-offer,
	.gsc-hero-offer-c {
		max-width: none;
		margin-top: 18px !important;
		padding: 20px !important;
		border-radius: 12px !important;
	}

	.d5f-hero-offer h3,
	.d5f-hero-offer h3 strong,
	.gsc-hero-offer-c h3,
	.gsc-hero-offer-c h3 strong {
		font-size: 24px !important;
	}

	.d5f-hero-offer a,
	.gsc-hero-offer-c a,
	.d5f-hero-offer a[href*="respite-offer"],
	.gsc-hero-offer-c a[href*="respite-offer"] {
		width: auto;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left;
	}
}

/* Hero trust icon row */
.d5f-hero-trust {
	width: 100%;
	margin: 0;
}

.d5f-hero-trust__row {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.6vw, 26px);
	flex-wrap: wrap;
}

.d5f-hero-trust__icons {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 30px);
	flex-wrap: wrap;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.d5f-hero-trust__icons li,
.d5f-hero-trust__icons ul {
	list-style: none !important;
}

.d5f-hero-trust__icons li::marker {
	content: "" !important;
	font-size: 0 !important;
}

.d5f-hero-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--d5f-hero-trust-text-colour, #425339);
	white-space: nowrap;
}

.d5f-hero-trust__item::before,
.d5f-hero-trust__item::after {
	display: none !important;
	content: none !important;
}

.d5f-hero-trust__item .d5f-repeater-list__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	min-width: 28px;
	font-size: 28px;
	line-height: 1;
	color: var(--d5f-hero-trust-icon-colour, #768F68) !important;
}

.d5f-hero-trust--items-3 .d5f-hero-trust__item .d5f-repeater-list__icon {
	flex-basis: 21px;
	width: 21px;
	height: 21px;
	min-width: 21px;
	font-size: 21px;
}

.d5f-hero-trust__item .d5f-repeater-list__icon--check {
	background: var(--d5f-hero-trust-icon-colour, #768F68) !important;
}

.d5f-hero-trust__item .d5f-repeater-list__icon--check::after {
	border-color: #ffffff !important;
}

.d5f-hero-trust__item .d5f-repeater-list__icon-image {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.d5f-hero-trust--items-3 .d5f-hero-trust__item .d5f-repeater-list__icon-image {
	width: 21px;
	height: 21px;
}

.d5f-hero-trust__text {
	color: var(--d5f-hero-trust-text-colour, #425339);
}

.d5f-hero-trust__widget {
	flex: 0 1 auto;
	min-width: 220px;
}

.d5f-hero-trust--widget-below .d5f-hero-trust__widget {
	flex-basis: 100%;
	width: 100%;
	margin-top: 1rem;
}

.d5f-hero-trust--widget-inline .d5f-hero-trust__widget {
	margin-top: 0;
}

.d5f-hero-trust__widget .d5f-carehome-hero-rating-widget {
	margin: 0;
}

@media (max-width: 767px) {
	.d5f-hero-trust__row,
	.d5f-hero-trust__icons {
		align-items: flex-start;
		gap: 12px 18px;
	}

	.d5f-hero-trust__item {
		white-space: normal;
		font-size: 15px;
	}

	.d5f-hero-trust__widget,
	.d5f-hero-trust--widget-below .d5f-hero-trust__widget,
	.d5f-hero-trust--widget-inline .d5f-hero-trust__widget {
		flex-basis: 100%;
		width: 100%;
		margin-top: 0.75rem;
	}
}

/* v1.0.36: allow Font Awesome icons to render by class name when available. */
.d5f-repeater-list__icon--fa-class,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa-class {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.d5f-repeater-list__icon--fa-class i,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa-class i {
	display: inline-block;
	font-size: inherit;
	font-style: normal;
	line-height: 1;
	color: inherit;
}

/* v1.0.47: render selected Font Awesome icons as inline SVGs, not font classes. */
.d5f-repeater-list__icon--fa-svg,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa-svg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--d5f-list-icon-colour, #768F68);
}

.d5f-repeater-list__icon--fa-svg .d5f-fa-svg,
.d5f-location-icons__icon.d5f-repeater-list__icon--fa-svg .d5f-fa-svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Testimonial slider */
.d5f-testimonial-slider {
	--d5f-testimonial-bg: #768F68;
	--d5f-testimonial-colour: #ffffff;
	width: 100%;
	font-family: Poppins, sans-serif;
	color: var(--d5f-testimonial-colour);
}

.d5f-testimonial-slider__viewport {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: var(--d5f-testimonial-bg);
	color: var(--d5f-testimonial-colour);
	isolation: isolate;
	transition: height 220ms ease;
}

.d5f-testimonial-slider__track {
	display: flex;
	align-items: flex-start;
	width: 100%;
	transition: transform 420ms ease;
	will-change: transform;
}

.d5f-testimonial-slider__slide {
	position: relative;
	z-index: 2;
	flex: 0 0 100%;
	box-sizing: border-box;
	min-width: 0;
	padding: clamp(41px, 5.25vw, 69px) clamp(32px, 5.625vw, 75px) clamp(81px, 9.75vw, 119px);
}

.d5f-testimonial-slider__quote {
	margin: 0 0 clamp(18px, 3vw, 34px);
	font-family: Georgia, serif;
	font-size: clamp(86px, 9vw, 140px);
	font-weight: 700;
	line-height: 0.48;
	letter-spacing: -0.08em;
	color: var(--d5f-testimonial-colour);
}

.d5f-testimonial-slider__video {
	position: relative;
	z-index: 3;
	width: 100%;
	aspect-ratio: var(--d5f-testimonial-video-ratio, 16 / 9);
	margin: 0 0 clamp(24px, 3.5vw, 42px);
	overflow: hidden;
	border-radius: 14px;
	background: #000000;
}

.d5f-testimonial-slider__video iframe,
.d5f-testimonial-slider__video video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000000;
}

.d5f-testimonial-slider__video video {
	object-fit: contain;
}

.d5f-testimonial-slider__slide--has-video .d5f-testimonial-slider__quote {
	margin-top: clamp(10px, 1.5vw, 18px);
}

.d5f-testimonial-slider__content {
	position: relative;
	z-index: 3;
	font-family: Poppins, sans-serif;
	font-size: clamp(18px, 2.1vw, 21px);
	font-weight: 400;
	line-height: 1.42;
	color: var(--d5f-testimonial-colour);
}

.d5f-testimonial-slider__content p {
	margin: 0 0 1.5em;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.d5f-testimonial-slider__content p:last-child {
	margin-bottom: 0;
}

.d5f-testimonial-slider__content strong,
.d5f-testimonial-slider__content b {
	font-weight: 700;
}

.d5f-testimonial-slider__swoop {
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: 0;
	width: min(75%, 720px);
	max-width: none;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.d5f-testimonial-slider__arrow {
	position: absolute;
	z-index: 4;
	right: clamp(24px, 4vw, 50px);
	bottom: clamp(28px, 5vw, 58px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(54px, 6vw, 72px);
	height: clamp(54px, 6vw, 72px);
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.95) !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 180ms ease, transform 180ms ease;
}

.d5f-testimonial-slider__arrow:hover,
.d5f-testimonial-slider__arrow:focus-visible {
	background: rgba(255, 255, 255, 0.12) !important;
	transform: translateX(2px);
}

.d5f-testimonial-slider__arrow span {
	position: relative;
	display: block;
	width: 26px;
	height: 2px;
	background: var(--d5f-testimonial-colour);
}

.d5f-testimonial-slider__arrow span::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 11px;
	height: 11px;
	border-top: 2px solid var(--d5f-testimonial-colour);
	border-right: 2px solid var(--d5f-testimonial-colour);
	transform: translateY(-50%) rotate(45deg);
	transform-origin: center;
}

@media (max-width: 767px) {
	.d5f-testimonial-slider__slide {
		padding: 33px 21px 84px;
	}

	.d5f-testimonial-slider__content {
		font-size: 18px;
	}

	.d5f-testimonial-slider__swoop {
		width: 96%;
	}
}


.d5f-logo-row {
	--d5f-logo-gap: 2rem;
	--d5f-logo-row-gap: 1.5rem;
	--d5f-logo-max-height: 80px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--d5f-logo-row-gap) var(--d5f-logo-gap);
	width: 100%;
	padding: 0;
	margin: 0;
}

.d5f-logo-row--align-left {
	justify-content: flex-start;
}

.d5f-logo-row--align-center {
	justify-content: center;
}

.d5f-logo-row--align-right {
	justify-content: flex-end;
}

.d5f-logo-row--align-between {
	justify-content: space-between;
}

.d5f-logo-row--align-around {
	justify-content: space-around;
}

.d5f-logo-row--align-evenly {
	justify-content: space-evenly;
}

.d5f-logo-row__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.d5f-logo-row--fixed-columns .d5f-logo-row__item {
	flex: 0 1 calc((100% - (var(--d5f-logo-gap) * (var(--d5f-logo-columns) - 1))) / var(--d5f-logo-columns));
}

.d5f-logo-row__image {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: var(--d5f-logo-max-height);
	height: auto;
	object-fit: contain;
}

@media (max-width: 767px) {
	.d5f-logo-row,
	.d5f-logo-row--align-between,
	.d5f-logo-row--align-around,
	.d5f-logo-row--align-evenly {
		justify-content: center;
	}

	.d5f-logo-row--fixed-columns .d5f-logo-row__item {
		flex-basis: calc((100% - var(--d5f-logo-gap)) / 2);
	}
}

@media (max-width: 479px) {
	.d5f-logo-row--fixed-columns .d5f-logo-row__item {
		flex-basis: 100%;
	}
}


/* Divi 5 Fixes v1.0.59 refinements */
.d5f-logo-row {
	justify-content: flex-end;
	align-items: stretch;
	height: var(--d5f-logo-row-height, 100%);
	min-height: 0;
}

.d5f-logo-row--align-right {
	justify-content: flex-end;
}

.d5f-logo-row__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 0;
}

.d5f-logo-row__image {
	display: block;
	height: 100%;
	max-height: var(--d5f-logo-max-height, 100%);
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.d5f-repeater-list--fees-and-funding-fee-inclusions .d5f-repeater-list__text {
	font-size: 18px;
}

.d5f-repeater-list--about-section-care-services .d5f-repeater-list__item,
.d5f-repeater-list--about-section-care-facilities .d5f-repeater-list__item {
	min-height: 44px;
	padding-top: 0.7rem !important;
	padding-bottom: 0.7rem !important;
}

.d5f-repeater-list--about-section-care-services .d5f-repeater-list__icon,
.d5f-repeater-list--about-section-care-facilities .d5f-repeater-list__icon {
	flex-basis: 30px;
	width: 30px;
	min-width: 30px;
}

.d5f-repeater-list--about-section-care-services .d5f-repeater-list__icon--check {
	flex-basis: 18px;
	width: 18px;
	min-width: 18px;
	height: 18px;
	margin-right: 12px;
}

.d5f-repeater-list--about-section-care-services .d5f-repeater-list__text,
.d5f-repeater-list--about-section-care-facilities .d5f-repeater-list__text {
	line-height: 1.35;
}

.d5f-gallery--scroller .d5f-gallery__item {
	height: auto !important;
	min-height: 0;
	aspect-ratio: var(--d5f-aspect-ratio) !important;
}

/* Life At Home gallery height is synced to the active text card by JS on desktop.
   Do not force height:auto here, otherwise the synced height cannot take effect. */
.d5f-life-tabs__gallery-item {
	min-height: 0;
	aspect-ratio: var(--d5f-life-image-aspect-ratio) !important;
}

/* Divi 5 Fixes v1.0.61 logo row height refinements */
.d5f-logo-row--match-height {
	align-items: center;
	height: var(--d5f-logo-row-height, auto);
	min-height: var(--d5f-logo-row-height, 0);
}

.d5f-logo-row--match-height .d5f-logo-row__item {
	height: var(--d5f-logo-row-height, auto);
	align-items: center;
}

.d5f-logo-row--match-height .d5f-logo-row__image {
	height: var(--d5f-logo-row-height, auto);
	max-height: var(--d5f-logo-max-height, 80px);
	width: auto;
	object-fit: contain;
}

@media (max-width: 767px) {
	.d5f-logo-row--match-height,
	.d5f-logo-row--match-height .d5f-logo-row__item,
	.d5f-logo-row--match-height .d5f-logo-row__image {
		height: auto;
	}

	.d5f-logo-row--match-height .d5f-logo-row__image {
		max-height: 80px;
	}
}

/* v1.0.62: make the internal nav more resilient when extra items are added. */
.d5f-internal-nav__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 2px 10px;
	overflow-x: auto;
	overflow-y: hidden;
}

.d5f-internal-nav__list {
	width: max-content;
	min-width: min(100%, 1060px);
	padding: 0 8px !important;
	gap: clamp(8px, 1.6vw, 28px);
}

.d5f-internal-nav__link {
	min-height: 40px;
	padding: 0 clamp(16px, 1.65vw, 24px) !important;
}

.d5f-internal-nav--many .d5f-internal-nav__inner {
	justify-content: flex-start;
}

.d5f-internal-nav--many .d5f-internal-nav__list {
	justify-content: flex-start;
	min-width: 0;
	margin-left: auto !important;
	margin-right: auto !important;
	gap: clamp(8px, 1.1vw, 18px);
}

.d5f-internal-nav--many .d5f-internal-nav__link {
	min-height: 38px;
	padding: 0 clamp(14px, 1.1vw, 20px) !important;
	font-size: clamp(14px, 1.05vw, 16px) !important;
}

.d5f-internal-nav--count-10 .d5f-internal-nav__link,
.d5f-internal-nav--count-11 .d5f-internal-nav__link,
.d5f-internal-nav--count-12 .d5f-internal-nav__link {
	padding-left: clamp(12px, 0.9vw, 16px) !important;
	padding-right: clamp(12px, 0.9vw, 16px) !important;
}

.d5f-internal-nav--count-10 .d5f-internal-nav__list,
.d5f-internal-nav--count-11 .d5f-internal-nav__list,
.d5f-internal-nav--count-12 .d5f-internal-nav__list {
	gap: clamp(6px, 0.8vw, 14px);
}

@media (max-width: 1180px) {
	.d5f-internal-nav__inner,
	.d5f-internal-nav--many .d5f-internal-nav__inner {
		justify-content: flex-start;
	}

	.d5f-internal-nav__list {
		min-width: 0;
		width: max-content;
	}
}


/* Care manager video play overlay */
.d5f-care-manager-video {
	--d5f-care-manager-ratio: 4/5;
	position: relative;
	width: 100%;
}

.d5f-care-manager-video__media {
	position: relative;
	width: 100%;
	aspect-ratio: var(--d5f-care-manager-ratio);
	overflow: hidden;
	border-radius: inherit;
}

.d5f-care-manager-video__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.d5f-care-manager-video__button {
	position: absolute;
	right: clamp(16px, 3vw, 28px);
	bottom: clamp(16px, 3vw, 28px);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(58px, 6vw, 78px);
	height: clamp(58px, 6vw, 78px);
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #173542 !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.d5f-care-manager-video--button-only .d5f-care-manager-video__button {
	position: relative;
	right: auto;
	bottom: auto;
}

.d5f-care-manager-video__button:hover,
.d5f-care-manager-video__button:focus-visible {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
	outline: none;
}

.d5f-care-manager-video__button-icon {
	display: block;
	width: 0;
	height: 0;
	margin-left: 5px;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	border-left: 20px solid currentColor;
}

.d5f-video-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(18px, 4vw, 56px);
}

.d5f-video-modal.is-open {
	display: flex;
}

.d5f-video-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0 !important;
	background: rgba(0, 0, 0, 0.72) !important;
	cursor: pointer;
}

.d5f-video-modal__dialog {
	position: relative;
	z-index: 2;
	width: min(980px, 100%);
	background: #000000;
	border-radius: 14px;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
}

.d5f-video-modal__close {
	position: absolute;
	right: -14px;
	top: -14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #173542 !important;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.d5f-video-modal__frame-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: 14px;
}

.d5f-video-modal__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000000;
}

.d5f-video-modal__frame--html5 {
	object-fit: contain;
}

body.d5f-video-modal-open {
	overflow: hidden;
}

/* v1.0.69: force video modals above Divi/google-map stacking contexts. */
html body > .d5f-video-modal,
html body > .d5f-video-modal.is-open {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483647 !important;
	isolation: isolate !important;
	pointer-events: auto !important;
}

html body > .d5f-video-modal.is-open {
	display: flex !important;
}

html body > .d5f-video-modal .d5f-video-modal__backdrop {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483645 !important;
	pointer-events: auto !important;
}

html body > .d5f-video-modal .d5f-video-modal__dialog {
	position: relative !important;
	z-index: 2147483646 !important;
	pointer-events: auto !important;
}

html body > .d5f-video-modal .d5f-video-modal__close,
html body > .d5f-video-modal .d5f-video-modal__frame,
html body > .d5f-video-modal iframe,
html body > .d5f-video-modal video {
	pointer-events: auto !important;
}

body.d5f-video-modal-open #main-header,
body.d5f-video-modal-open .et-l--header,
body.d5f-video-modal-open .et_pb_sticky,
body.d5f-video-modal-open .et_pb_section--fixed,
body.d5f-video-modal-open .et_pb_section.et_pb_sticky_module,
body.d5f-video-modal-open .gm-style,
body.d5f-video-modal-open iframe[src*="google.com/maps"]:not(.d5f-video-modal__frame),
body.d5f-video-modal-open iframe[src*="google.com/maps/embed"]:not(.d5f-video-modal__frame) {
	z-index: 1 !important;
}


/* v1.0.76: mobile tab/nav responsiveness improvements. */
.d5f-internal-nav__mobile-bar {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
}

.d5f-internal-nav__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 40px;
	margin: 0 auto;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #173542;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.d5f-internal-nav__contact {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 20px;
	border: 2px solid #D3AC20;
	border-radius: 999px;
	background: #ffffff;
	color: #173542 !important;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
}

.d5f-internal-nav__toggle-icon,
.d5f-internal-nav__toggle-icon::before,
.d5f-internal-nav__toggle-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
}

.d5f-internal-nav__toggle-icon {
	position: relative;
}

.d5f-internal-nav__toggle-icon::before,
.d5f-internal-nav__toggle-icon::after {
	position: absolute;
	left: 0;
}

.d5f-internal-nav__toggle-icon::before {
	top: -6px;
}

.d5f-internal-nav__toggle-icon::after {
	top: 6px;
}

.d5f-internal-nav.is-mobile-open .d5f-internal-nav__toggle-icon {
	background: transparent;
}

.d5f-internal-nav.is-mobile-open .d5f-internal-nav__toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.d5f-internal-nav.is-mobile-open .d5f-internal-nav__toggle-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 767px) {
	.d5f-tab-cards__nav-wrap {
		justify-content: center;
		padding: 0;
		overflow: visible;
	}

	.d5f-tab-cards__nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
		align-items: stretch;
		gap: 0.45rem;
		width: 100%;
		max-width: 100%;
		overflow: visible;
		border-radius: 1.35rem;
		padding: 0.55rem;
	}

	.d5f-tab-cards__tab {
		width: 100%;
		min-width: 0;
		padding: 0.85rem 0.55rem;
		font-size: clamp(14px, 3.8vw, 17px);
		line-height: 1.12;
		white-space: normal;
	}

	.d5f-life-tabs {
		overflow: hidden;
	}

	.d5f-life-tabs__nav-wrap {
		justify-content: center;
		padding: 0 1rem;
		overflow: visible;
	}

	.d5f-life-tabs__nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		gap: 0.45rem;
		width: 100%;
		max-width: 520px;
		overflow: visible;
		border-radius: 1.35rem;
		padding: 0.55rem;
	}

	.d5f-life-tabs__tab {
		width: 100%;
		min-width: 0;
		padding: 0.85rem 0.55rem;
		font-size: clamp(14px, 3.8vw, 17px);
		line-height: 1.12;
		white-space: normal;
	}

	.d5f-life-tabs__panel {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 1rem;
	}

	.d5f-life-tabs__card {
		width: 100%;
		max-width: 520px;
		margin-right: auto;
		margin-left: auto;
	}

	.d5f-life-tabs__gallery-wrap {
		width: 100%;
		overflow: hidden;
	}

	.d5f-internal-nav {
		padding: 10px max(14px, env(safe-area-inset-left)) 10px max(14px, env(safe-area-inset-right));
	}

	.d5f-internal-nav__mobile-bar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0.65rem;
		width: min(100%, 520px);
		margin: 0 auto;
	}

	.d5f-internal-nav__toggle {
		display: inline-flex;
		width: 100%;
		margin: 0;
		padding: 0 14px;
	}

	.d5f-internal-nav__contact {
		display: inline-flex;
		width: 100%;
		padding: 0 14px;
		text-align: center;
	}

	.d5f-internal-nav__inner {
		display: none;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		margin-top: 10px;
		padding: 0;
		overflow: visible;
	}

	.d5f-internal-nav.is-mobile-open .d5f-internal-nav__inner {
		display: flex;
	}

	.d5f-internal-nav__list,
	.d5f-internal-nav--many .d5f-internal-nav__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: min(100%, 520px);
		min-width: 0;
		margin: 0 auto !important;
		padding: 0 !important;
	}

	.d5f-internal-nav__item {
		width: 100%;
	}

	.d5f-internal-nav__link,
	.d5f-internal-nav--many .d5f-internal-nav__link {
		width: 100%;
		min-height: 38px;
		padding: 0 10px !important;
		font-size: 14px !important;
		line-height: 1.1 !important;
		white-space: normal;
		text-align: center;
	}
}

@media (max-width: 420px) {
	.d5f-internal-nav__list,
	.d5f-internal-nav--many .d5f-internal-nav__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.d5f-life-tabs__scroll-button {
		width: 2.65rem;
		height: 2.65rem;
		right: 0.65rem;
	}

	.d5f-life-tabs__scroll-button.is-at-end {
		left: 0.65rem;
	}
}

/* v1.0.91: mobile care-home polish for life tabs, FAQ buttons, and
   ratings/accreditations logo rows. */
@media (max-width: 767px) {
	.d5f-life-tabs__panel {
		grid-template-columns: minmax(0, 1fr);
		padding: 0;
	}

	.d5f-life-tabs__card {
		width: 100%;
		max-width: none;
		margin-right: 0;
		margin-left: 0;
		justify-self: stretch;
	}

	.d5f-life-tabs__gallery-wrap {
		justify-self: stretch;
	}

	/* v1.0.93: the Life at Home component can fill its own grid, but the
	   Divi row around it was still a 90% mobile row aligned to the right. */
	.et-l--body .et_pb_section:has(.d5f-life-tabs) > .et_pb_row:has(.d5f-life-tabs) {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.et-l--body .et_pb_section:has(.d5f-life-tabs) > .et_pb_row:has(.d5f-life-tabs) .et_pb_column:has(.d5f-life-tabs),
	.et-l--body .et_pb_section:has(.d5f-life-tabs) > .et_pb_row:has(.d5f-life-tabs) .et_pb_module:has(.d5f-life-tabs),
	.et-l--body .et_pb_section:has(.d5f-life-tabs) > .et_pb_row:has(.d5f-life-tabs) .et_pb_code_inner:has(.d5f-life-tabs) {
		width: 100% !important;
		max-width: 100% !important;
	}

	.et-l--body .et_pb_row_18_tb_body.et_pb_row.et_flex_row {
		flex-wrap: wrap !important;
		justify-content: center !important;
	}

	.et_pb_button_10_tb_body,
	.et_pb_button_11_tb_body {
		max-width: 100%;
		white-space: normal !important;
		text-align: center;
	}

	.d5f-logo-row--match-height {
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0.75rem;
		height: auto !important;
		min-height: 0;
	}

	.d5f-logo-row--match-height .d5f-logo-row__item {
		flex: 0 1 calc((100% - 1.5rem) / 3);
		width: calc((100% - 1.5rem) / 3);
		height: clamp(44px, 13vw, 58px) !important;
		min-width: 0;
	}

	.d5f-logo-row--match-height .d5f-logo-row__image {
		width: 100%;
		height: 100% !important;
		max-height: 100%;
		max-width: 100%;
		object-fit: contain;
	}
}

/* v1.0.94: narrow-phone guards for the care-home template title and paired CTAs. */
@media (max-width: 360px) {
	.et-l--body .et_pb_text_1_tb_body .et_pb_text_inner,
	.et-l--body .et_pb_text_1_tb_body p {
		max-width: 100%;
		font-size: clamp(52px, 16vw, 58px) !important;
		line-height: 1.04 !important;
		overflow-wrap: normal;
	}

	.et-l--body .et_pb_row_4_tb_body.et_pb_row.et_flex_row,
	.et-l--body .et_pb_row_8_tb_body.et_pb_row.et_flex_row {
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 0.65rem !important;
	}

	.et-l--body .et_pb_row_4_tb_body.et_pb_row.et_flex_row > .et_pb_column,
	.et-l--body .et_pb_row_8_tb_body.et_pb_row.et_flex_row > .et_pb_column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		justify-content: center !important;
		text-align: center;
	}

	.et_pb_button_2_tb_body,
	.et_pb_button_3_tb_body,
	.et_pb_button_5_tb_body,
	.et_pb_button_6_tb_body {
		max-width: 100%;
		white-space: normal !important;
		text-align: center;
	}
}


/* v1.0.79: highlight only the final internal navigation item, usually Contact.
   Other active/hover items keep the normal white-pill state with no border. */
.d5f-internal-nav__item:last-child .d5f-internal-nav__link {
	border: 2px solid #D3AC20 !important;
	box-shadow: none !important;
}

.d5f-internal-nav__item:last-child .d5f-internal-nav__link:hover,
.d5f-internal-nav__item:last-child .d5f-internal-nav__link:focus-visible,
.d5f-internal-nav__item:last-child .d5f-internal-nav__link.is-active,
.d5f-internal-nav__item:last-child .d5f-internal-nav__link[aria-current="true"] {
	border: 2px solid #D3AC20 !important;
	box-shadow: none !important;
}

@media (max-width: 767px) {
	.d5f-internal-nav__item:last-child .d5f-internal-nav__link {
		border-width: 2px !important;
	}
}

/* v1.0.80: cap testimonial slider body copy at 21px. */


/* v1.0.81: reduce testimonial slider inner padding by roughly 25%. */


/* v1.0.85: mobile hero/about stability fixes. */
@media (max-width: 980px) {
	/* If Divi keeps a desktop/tablet flex row active on small screens, force rows
	   containing our hero gallery or shortcode-heavy about lists to stack cleanly. */
	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split),
	.et_pb_row.et_flex_row:has(.d5f-repeater-list--columns-2) {
		display: flex !important;
		flex-direction: column !important;
	}

	.et_pb_row.et_flex_row:has(.d5f-gallery--hero-split) > .et_pb_column,
	.et_pb_row.et_flex_row:has(.d5f-repeater-list--columns-2) > .et_pb_column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.d5f-gallery--hero-split,
	.d5f-gallery--hero-split-right,
	.d5f-gallery--hero-split-left {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow: hidden !important;
	}

	.d5f-gallery--hero-split .d5f-gallery__viewport {
		width: 100% !important;
		min-width: 0 !important;
	}
}

@media (max-width: 767px) {
	/* Fallback for browsers/templates where Divi phone column classes are present
	   but the flex widths are not being overridden on the frontend. */
	.et_pb_row.et_flex_row > .et_flex_column_24_24_phone {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* v1.0.98: OpenScore, mobile services, tabs, and active-slide testimonials. */
.d5f-openscore-widget {
	width: 100%;
	max-width: 100%;
	margin-top: 1rem;
}

@media (max-width: 767px) {
	.d5f-repeater-list--about-section-care-services {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 0.8rem !important;
		row-gap: 0 !important;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__item {
		align-items: flex-start;
		gap: 0.45rem;
		min-height: 0;
		padding-top: 0.55rem !important;
		padding-bottom: 0.55rem !important;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__icon--check {
		flex-basis: 16px;
		width: 16px;
		min-width: 16px;
		height: 16px;
		margin-top: 0.1em;
		margin-right: 0;
		font-size: 16px;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__text {
		font-size: clamp(13px, 3.45vw, 15px);
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	.d5f-tab-cards__nav-wrap {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.d5f-tab-cards__panels {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.d5f-benefit-grid__icon-wrap {
		min-height: 86px;
	}

	.d5f-benefit-grid__icon {
		flex-basis: 48px;
		width: 48px;
		min-width: 48px;
		height: 48px;
		font-size: 48px;
	}
}

@media (max-width: 360px) {
	.d5f-internal-nav__mobile-bar {
		gap: 0.5rem;
	}

	.d5f-internal-nav__toggle,
	.d5f-internal-nav__contact {
		padding-right: 10px;
		padding-left: 10px;
		font-size: 14px;
	}
}

/* v1.0.101: care-home client polish and viewport overflow guards. */
html.d5f-has-hero-split-gallery,
body.d5f-has-hero-split-gallery {
	max-width: 100%;
	overflow-x: clip;
}

@supports not (overflow: clip) {
	html.d5f-has-hero-split-gallery,
	body.d5f-has-hero-split-gallery {
		overflow-x: hidden;
	}
}

.d5f-internal-nav {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	padding-right: max(18px, calc((100vw - 1240px) / 2));
	padding-left: max(18px, calc((100vw - 1240px) / 2));
}

.d5f-internal-nav.is-fixed {
	margin-right: 0;
	margin-left: 0;
}

.d5f-internal-nav__inner {
	max-width: min(100%, 1240px);
	margin-right: auto;
	margin-left: auto;
}

.d5f-internal-nav__list {
	gap: clamp(10px, 1.4vw, 24px);
	width: auto;
	max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1180px) {
	.d5f-internal-nav__link {
		min-height: 36px;
		padding-right: 16px !important;
		padding-left: 16px !important;
		font-size: 15px !important;
	}
}

.d5f-life-tabs {
	overflow-x: clip;
}

.d5f-life-tabs__nav-wrap {
	max-width: 100%;
	overflow: hidden;
}

.d5f-life-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.d5f-life-tabs__tab {
	flex: 1 1 calc(50% - 0.4rem);
	min-width: min(100%, 8.25rem);
	white-space: normal;
	line-height: 1.12;
}

@media (min-width: 1280px) {
	.d5f-life-tabs__nav {
		width: auto;
	}

	.d5f-life-tabs__tab {
		flex: 0 0 auto;
		white-space: nowrap;
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}
}

.d5f-life-tabs__scroll-button--prev {
	right: auto;
	left: 1rem;
}

.d5f-life-tabs__scroll-button--prev::before {
	content: "\34";
}

.d5f-life-tabs__scroll-button--next {
	right: 1rem;
	left: auto;
}

.d5f-life-tabs__scroll-button--next::before {
	content: "\35";
}

.d5f-life-tabs__scroll-button--prev.is-disabled,
.d5f-life-tabs__scroll-button--next.is-disabled {
	display: none;
}

.d5f-benefit-grid__icon-wrap,
.d5f-benefit-loop-icon-module .d5f-benefit-loop-icon-wrap {
	align-items: center;
	justify-content: flex-start;
}

.d5f-benefit-grid__media,
.d5f-benefit-grid__icon-wrap,
.d5f-benefit-loop-icon-module .d5f-benefit-loop-icon-wrap {
	min-height: var(--d5f-benefit-loop-icon-height, 110px);
}

.d5f-ratings-widget-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: start;
}

.d5f-ratings-widget-pair > * {
	min-width: 0;
}

@media (max-width: 767px) {
	.d5f-life-tabs__heading {
		text-align: center;
	}

	.d5f-repeater-list--about-section-care-services,
	.d5f-repeater-list--about-section-care-facilities {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 0.8rem !important;
		row-gap: 0 !important;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__item,
	.d5f-repeater-list--about-section-care-facilities .d5f-repeater-list__item {
		align-items: flex-start;
		gap: 0.45rem;
		min-height: 0;
		padding-top: 0.55rem !important;
		padding-bottom: 0.55rem !important;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__icon,
	.d5f-repeater-list--about-section-care-facilities .d5f-repeater-list__icon {
		flex-basis: 18px;
		width: 18px;
		min-width: 18px;
		height: 18px;
		margin-top: 0.1em;
		margin-right: 0;
		font-size: 18px;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__icon--check {
		flex-basis: 16px;
		width: 16px;
		min-width: 16px;
		height: 16px;
		font-size: 16px;
	}

	.d5f-repeater-list--about-section-care-services .d5f-repeater-list__text,
	.d5f-repeater-list--about-section-care-facilities .d5f-repeater-list__text {
		font-size: clamp(13px, 3.45vw, 15px);
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	.d5f-benefit-grid__icon-wrap,
	.d5f-benefit-loop-icon-module .d5f-benefit-loop-icon-wrap {
		justify-content: flex-start;
		min-height: 86px;
	}

	.d5f-ratings-widget-pair {
		grid-template-columns: 1fr;
	}
}

/* v1.0.102: import repair polish for Life tabs, fees, and ratings widgets. */
.d5f-carehome-couk-widget {
	width: 100%;
	max-width: 100%;
	margin-top: 1rem;
	overflow: visible;
}

.d5f-carehome-couk-widget .tg-review-widget,
.d5f-carehome-couk-widget .tg-review-widget-container {
	width: 100% !important;
	max-width: 100% !important;
}

.d5f-carehome-couk-placeholder {
	max-width: 100% !important;
}

.d5f-carehome-hero-rating-widget {
	width: min(300px, 100%);
	max-width: 100%;
	overflow: visible;
}

.d5f-carehome-hero-rating-widget .d5f-carehome-couk-placeholder {
	width: min(300px, 100%) !important;
	max-width: 100% !important;
	border-radius: 12px;
	overflow: visible;
}

.d5f-carehome-hero-rating-widget .tg_header_wrap {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-height: 78px;
	padding: 10px 12px !important;
	box-sizing: border-box;
}

.d5f-carehome-hero-rating-widget .tg_score_wrapper {
	float: none !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.d5f-carehome-hero-rating-widget .tg_score.tg_score_main {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 58px !important;
	height: 58px !important;
	min-width: 58px !important;
	min-height: 58px !important;
	border-radius: 999px !important;
	box-sizing: border-box;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.d5f-carehome-hero-rating-widget .tg_score_text {
	flex: 1 1 auto !important;
	min-width: 0;
	line-height: 1.25 !important;
}

.d5f-hero-trust .d5f-carehome-hero-rating-widget,
.d5f-hero-trust .tg-review-widget-container {
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	overflow: visible !important;
}

.d5f-hero-trust .tg_header_wrap,
.d5f-hero-trust .tg_score_wrapper {
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 8px !important;
	overflow: visible !important;
}

.d5f-hero-trust .tg_score_wrapper {
	flex: 0 0 auto !important;
}

.d5f-hero-trust .tg_score_wrapper .tg_score.tg_score_main {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 3px solid #768F68 !important;
	border-radius: 999px !important;
	box-shadow: inset 0 0 0 3px #ffffff !important;
	background: #6b815e !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	text-align: center !important;
}

.d5f-hero-trust .tg_score_text {
	display: inline-block !important;
	width: auto !important;
	max-width: 170px !important;
	color: #425339 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.18 !important;
}

.d5f-hero-trust .tg_score_text i,
.d5f-hero-trust .tg_reviews_node {
	display: none !important;
}

#Reviews .d5f-carehome-couk-widget,
#Reviews .d5f-carehome-couk-widget .d5f-carehome-couk-placeholder,
#Reviews .d5f-carehome-couk-widget .tg-review-widget-container,
#Reviews .d5f-openscore-widget {
	width: 100% !important;
	max-width: 100% !important;
}

@media (min-width: 981px) {
	#Reviews .d5f-carehome-couk-widget,
	#Reviews .d5f-carehome-couk-widget .d5f-carehome-couk-placeholder,
	#Reviews .d5f-carehome-couk-widget .tg-review-widget-container,
	#Reviews .d5f-openscore-widget {
		min-width: 200px;
	}
}

#Reviews .d5f-ratings-provider-row--split {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	column-gap: clamp(1rem, 2vw, 1.5rem) !important;
	row-gap: clamp(1rem, 2vw, 1.5rem) !important;
}

#Reviews .d5f-ratings-provider-row--split > .d5f-ratings-provider-column {
	flex: 1 1 0 !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

#Reviews .d5f-ratings-provider-row--split .d5f-carehome-couk-widget,
#Reviews .d5f-ratings-provider-row--split .d5f-openscore-widget,
#Reviews .d5f-ratings-provider-row--split .d5f-ratings-provider-module {
	margin-top: 0 !important;
}

#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked {
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
}

#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked > .d5f-ratings-provider-column {
	flex: 1 1 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .d5f-ratings-provider-module,
#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .d5f-carehome-couk-widget,
#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .d5f-carehome-couk-placeholder,
#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .tg-review-widget-container,
#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .d5f-openscore-widget {
	box-sizing: border-box !important;
	width: min(320px, 100%) !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .d5f-openscore-widget,
#Reviews .d5f-ratings-provider-row--split.d5f-ratings-provider-row--stacked .d5f-openscore-widget * {
	box-sizing: border-box !important;
	max-width: 100% !important;
}

#Reviews .d5f-ratings-provider-row--solo {
	display: flex !important;
	flex-wrap: wrap !important;
}

#Reviews .d5f-ratings-provider-row--solo > .d5f-ratings-provider-column {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

#Reviews .d5f-ratings-provider-row--solo > .d5f-ratings-provider-column--empty {
	display: none !important;
}

#Reviews .d5f-ratings-provider-row--solo .d5f-carehome-couk-widget,
#Reviews .d5f-ratings-provider-row--solo .d5f-ratings-provider-module {
	margin-top: 0 !important;
}

.d5f-carehome-couk-widget .d5f-carehome-couk-placeholder {
	width: min(320px, 100%) !important;
}

.d5f-home-for-life-swoop {
	transform: translateY(clamp(18px, 4vw, 56px));
	will-change: transform;
}

.d5f-home-for-life-swoop img {
	display: block;
	width: 100%;
	height: auto;
}

body.d5f-care-manager-section-disabled .d5f-care-manager-section,
body.d5f-care-manager-section-disabled #CareManager,
body.d5f-care-manager-section-disabled #care-manager,
body.d5f-care-manager-section-disabled #Manager,
body.d5f-care-manager-section-disabled #manager,
body.d5f-care-manager-section-disabled .et_pb_section:has(.d5f-care-manager-video) {
	display: none !important;
}

.d5f-care-manager-section.d5f-care-manager-section--no-media {
	flex-wrap: wrap !important;
}

.d5f-care-manager-section.d5f-care-manager-section--no-media .d5f-care-manager-section__empty-column,
.d5f-care-manager-section.d5f-care-manager-section--no-media .et_pb_column_empty {
	display: none !important;
}

.d5f-care-manager-section.d5f-care-manager-section--no-media .d5f-care-manager-section__content-column {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.d5f-care-manager-section.d5f-care-manager-section--no-media .d5f-care-manager-section__content-column .et_pb_module {
	width: 100%;
	max-width: 100%;
}

.d5f-dynamic-empty-image {
	display: none !important;
}

.d5f-escaped-code-module {
	display: none !important;
}

.d5f-testimonial-slider,
.d5f-testimonial-slider__viewport {
	max-width: 100%;
	overflow-x: hidden;
	contain: paint;
}

@supports (overflow: clip) {
	.d5f-testimonial-slider,
	.d5f-testimonial-slider__viewport {
		overflow-x: clip;
	}
}

@media (min-width: 981px) {
	.d5f-life-tabs {
		--d5f-life-card-column: minmax(340px, 420px);
		--d5f-life-gap: clamp(1.25rem, 2vw, 2rem);
	}

	.d5f-life-tabs__nav-wrap {
		justify-content: flex-start;
		overflow: visible;
	}

	.d5f-life-tabs__nav {
		display: flex;
		flex-wrap: nowrap;
		gap: clamp(0.3rem, 0.75vw, 0.55rem);
		width: 100%;
		max-width: 100%;
		padding: clamp(0.45rem, 0.75vw, 0.65rem);
		overflow: visible;
	}

	.d5f-life-tabs__tab {
		flex: 1 1 0;
		min-width: 0;
		padding: clamp(0.8rem, 1vw, 1rem) clamp(0.55rem, 1.05vw, 1.1rem);
		font-size: clamp(14px, 1.15vw, 17px);
		line-height: 1.08;
		white-space: nowrap;
	}
}

@media (min-width: 1280px) {
	.d5f-life-tabs {
		--d5f-life-card-column: minmax(390px, 500px);
	}

	.d5f-life-tabs__tab {
		font-size: clamp(16px, 1.15vw, 18px);
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}
}

@media (max-width: 767px) {
	.et_pb_text_1_tb_body,
	.et_pb_text_1_tb_body .et_pb_text_inner,
	.et_pb_text_1_tb_body .et_pb_text_inner > * {
		box-sizing: border-box;
		max-width: 100% !important;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.et_pb_text_1_tb_body .et_pb_text_inner {
		font-size: clamp(46px, 13.6vw, 58px) !important;
		line-height: 1.08 !important;
	}

	#FAQ .et_pb_row,
	#FAQ .et_pb_row_inner,
	#FAQ .et_pb_row_nested {
		box-sizing: border-box;
		max-width: 100% !important;
		flex-wrap: wrap !important;
	}

	#FAQ .et_pb_row_inner > .et_pb_column,
	#FAQ .et_pb_row_nested > .et_pb_column {
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	#FAQ .et_pb_button_module_wrapper,
	#FAQ .et_pb_button {
		max-width: 100% !important;
	}
}

#Fees .d5f-fees-inclusions-box {
	background: #ffffff !important;
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(23, 53, 66, 0.1) !important;
	color: #173542;
	padding: clamp(1.4rem, 2.2vw, 2rem);
}

#Fees .d5f-fees-inclusions-box .et_pb_text_inner > :first-child {
	margin-top: 0;
}

#Fees .d5f-fees-inclusions-box .et_pb_text_inner > :last-child,
#Fees .d5f-fees-inclusions-box .d5f-repeater-list {
	margin-bottom: 0;
}

#Fees .d5f-fees-inclusions-box .d5f-repeater-list--fees-and-funding-fee-inclusions {
	background: transparent;
	padding: 0;
	box-shadow: none;
}

#Fees .d5f-fees-cta-row,
#Fees .d5f-fees-cta-row > .et_pb_column:not(.d5f-fees-inclusions-box) {
	background: transparent !important;
	box-shadow: none !important;
}

#Fees .d5f-fees-button,
#Fees .d5f-fees-button.et_pb_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	white-space: normal !important;
	text-align: center;
}

@media (max-width: 767px) {
	#Reviews .d5f-ratings-provider-row--split {
		flex-direction: column;
		flex-wrap: wrap !important;
	}

	#Fees .d5f-fees-inclusions-box {
		padding: 1.25rem;
	}

	#Fees .d5f-fees-button,
	#Fees .d5f-fees-button.et_pb_button {
		width: 100%;
	}

	.d5f-carehome-hero-rating-widget,
	.d5f-carehome-hero-rating-widget .d5f-carehome-couk-placeholder,
	.d5f-carehome-couk-widget .d5f-carehome-couk-placeholder {
		width: 100% !important;
	}

	.d5f-carehome-hero-rating-widget .tg_header_wrap {
		min-height: 70px;
		gap: 9px !important;
		padding: 9px 10px !important;
	}

	.d5f-carehome-hero-rating-widget .tg_score.tg_score_main {
		width: 52px !important;
		height: 52px !important;
		min-width: 52px !important;
		min-height: 52px !important;
		font-size: 18px !important;
	}

	.d5f-hero-trust .tg_score_wrapper .tg_score.tg_score_main {
		flex-basis: 34px !important;
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
		min-height: 34px !important;
		border-width: 2px !important;
		box-shadow: inset 0 0 0 2px #ffffff !important;
		font-size: 12px !important;
		line-height: 30px !important;
	}

	.d5f-hero-trust .tg_score_text {
		max-width: 145px !important;
		font-size: 14px !important;
		line-height: 1.15 !important;
	}

	.d5f-home-for-life-swoop {
		transform: translateY(clamp(12px, 7vw, 34px));
	}
}

/* v1.0.111: prevent hidden slider/blog content from widening care-home pages. */
.d5f-testimonial-slider,
.d5f-testimonial-slider__viewport {
	max-width: 100%;
	overflow: hidden;
	contain: layout paint;
}

@supports (overflow: clip) {
	.d5f-testimonial-slider,
	.d5f-testimonial-slider__viewport {
		overflow: clip;
	}
}

.d5f-blog-feed,
.d5f-blog-feed__card,
.d5f-blog-feed__content {
	min-width: 0;
	max-width: 100%;
}

.d5f-blog-feed__title,
.d5f-blog-feed__title a,
.d5f-blog-feed__excerpt,
.d5f-blog-feed__button {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}

@media (max-width: 767px) {
	.et_pb_text_1_tb_body,
	.et_pb_text_1_tb_body .et_pb_text_inner,
	.et_pb_text_1_tb_body .et_pb_text_inner * {
		min-width: 0 !important;
		max-width: 100% !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
		white-space: normal !important;
	}

	.et-l--body .et_pb_text_1_tb_body .et_pb_text_inner,
	.et-l--body .et_pb_text_1_tb_body .et_pb_text_inner p,
	.et-l--body .et_pb_text_1_tb_body p {
		font-size: clamp(34px, 9.5vw, 48px) !important;
		line-height: 1.08 !important;
	}

	.d5f-hero-copy,
	.d5f-hero-copy * {
		min-width: 0 !important;
		max-width: 100% !important;
		overflow-wrap: anywhere !important;
		word-break: break-word !important;
		white-space: normal !important;
	}
}

/* v1.0.114: live-staging swoop and OpenScore containment polish. */
@media (min-width: 981px) {
	body .et-l--body .et_pb_section:has(.swoop-image),
	body .et-l--body .et_pb_section:has(.swoop-image-lower),
	body .et-l--body .et_pb_row:has(.swoop-image),
	body .et-l--body .et_pb_row:has(.swoop-image-lower),
	body .et-l--body .et_pb_column:has(> .swoop-image),
	body .et-l--body .et_pb_column:has(> .swoop-image-lower) {
		overflow: visible !important;
	}

	body .et-l--body .et_pb_column:has(> .swoop-image),
	body .et-l--body .et_pb_column:has(> .swoop-image-lower) {
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-end !important;
	}

	body .et-l--body .swoop-image,
	body .et-l--body .swoop-image-lower {
		position: relative !important;
		z-index: 0 !important;
		flex: 0 0 auto !important;
		max-width: none !important;
		pointer-events: none !important;
	}

	body .et-l--body .swoop-image {
		--swoop-overlap: clamp(80px, 7vw, 112px);
		width: calc(100% + var(--swoop-overlap)) !important;
		margin: auto 0 0 calc(var(--swoop-overlap) * -1) !important;
		transform: translateY(clamp(28px, 3.2vw, 46px)) !important;
	}

	body .et-l--body .swoop-image-lower {
		--swoop-overlap: clamp(64px, 5.8vw, 96px);
		width: calc(100% + var(--swoop-overlap)) !important;
		margin: auto 0 0 calc(var(--swoop-overlap) * -1) !important;
		transform: translateY(clamp(22px, 2.7vw, 40px)) !important;
	}

	body .et-l--body .swoop-image .et_pb_image_wrap,
	body .et-l--body .swoop-image img,
	body .et-l--body .swoop-image-lower .et_pb_image_wrap,
	body .et-l--body .swoop-image-lower img {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
	}
}

@media (max-width: 980px) {
	body .et-l--body .et_pb_column:has(> .swoop-image),
	body .et-l--body .et_pb_column:has(> .swoop-image-lower) {
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-end !important;
		min-height: clamp(170px, 48vw, 230px) !important;
		overflow: hidden !important;
	}

	body .et-l--body .swoop-image,
	body .et-l--body .swoop-image-lower {
		position: relative !important;
		z-index: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: auto 0 0 0 !important;
		transform: translateY(clamp(10px, 4.5vw, 22px)) !important;
		pointer-events: none !important;
	}

	body .et-l--body .swoop-image .et_pb_image_wrap,
	body .et-l--body .swoop-image img,
	body .et-l--body .swoop-image-lower .et_pb_image_wrap,
	body .et-l--body .swoop-image-lower img {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}
}

#Reviews .d5f-openscore-widget,
#Reviews .d5f-openscore-widget .osc-container,
#Reviews .d5f-openscore-widget .osc-card,
#Reviews .d5f-openscore-widget .osc-header {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

#Reviews .d5f-openscore-widget {
	overflow: visible !important;
}

#Reviews .d5f-openscore-widget .osc-container {
	justify-content: stretch !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	overflow: visible !important;
}

#Reviews .d5f-openscore-widget .osc-card {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

#Reviews .d5f-openscore-widget .osc-card *,
#Reviews .d5f-openscore-widget iframe {
	box-sizing: border-box !important;
	max-width: 100% !important;
}

#Reviews .d5f-openscore-widget .osc-open-in-new {
	right: 10px !important;
	max-width: 18px !important;
}

/* v1.0.115: reserve Carehome.co.uk hero widget space before provider JS paints. */
.d5f-carehome-hero-rating-widget {
	min-height: 78px;
}

.d5f-carehome-hero-rating-widget .d5f-carehome-couk-placeholder {
	display: block !important;
	min-height: 78px !important;
}

.d5f-hero-trust__widget {
	display: flex;
	align-items: center;
	min-width: min(220px, 100%);
	min-height: 44px;
}

.d5f-hero-trust .d5f-carehome-hero-rating-widget,
.d5f-hero-trust .d5f-carehome-couk-placeholder,
.d5f-hero-trust .tg-review-widget-container {
	min-width: min(220px, 100%) !important;
	min-height: 44px !important;
}

.d5f-hero-trust .d5f-carehome-couk-placeholder:empty {
	width: min(220px, 100%) !important;
}

.d5f-carehome-hero-rating-widget--hidden {
	display: none !important;
	min-height: 0 !important;
}

@media (max-width: 767px) {
	.d5f-carehome-hero-rating-widget,
	.d5f-carehome-hero-rating-widget .d5f-carehome-couk-placeholder {
		min-height: 70px !important;
	}

	.d5f-hero-trust__widget {
		min-height: 40px;
	}

	.d5f-hero-trust .d5f-carehome-hero-rating-widget,
	.d5f-hero-trust .d5f-carehome-couk-placeholder,
	.d5f-hero-trust .tg-review-widget-container {
		min-height: 40px !important;
	}
}
