/* ======================================================
   Sage School of Dallas Design System
====================================================== */

/* Brand Variables */

:root {
	--sage-white: #ffffff;
	--sage-green-dark: #3f4d31;
	--sage-green: #6e7e5c;
	--sage-tan: #cac0a4;
	--sage-soft: #e1e3d5;
	--sage-cream: #f8f7f2;
	--sage-charcoal: #2d2d2d;
	--sage-gold: #b79a5b;

	--sage-heading-font: 'Lexend Deca', 'DM Sans', 'Verdana Pro', Verdana, sans-serif;
	--sage-body-font: 'DM Sans', 'Lexend Deca', 'Verdana Pro', Verdana, sans-serif;

	--sage-header-width: 1480px;
	--sage-header-transition: 220ms ease;
}


/* ======================================================
   Typography
====================================================== */

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--sage-white);
	color: var(--sage-charcoal);
	font-family: var(--sage-body-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title-h1,
.title-h2,
.title-h3,
.title-h4,
.title-h5,
.title-h6 {
	display: block;
	clear: both;
	margin: 0;
	padding: 0;
	color: var(--sage-green-dark);
	font-family: var(--sage-heading-font);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

h1,
.title-h1,
.h1 {
	font-size: 56px;
}

h2,
.title-h2,
.h2 {
	font-size: 48px;
}

h3,
.title-h3,
.h3 {
	font-size: 36px;
}

h4,
.title-h4,
.h4 {
	font-size: 28px;
}

h5,
.title-h5,
.h5 {
	font-size: 22px;
}

h6,
.title-h6,
.h6 {
	font-size: 18px;
}

p {
	margin: 0 0 18px;
	color: var(--sage-charcoal);
	font-family: var(--sage-body-font);
	font-size: 18px;
	line-height: 1.7;
}

a {
	color: var(--sage-green-dark);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--sage-green);
}


/* ======================================================
   Eyebrow Text
====================================================== */

.sage-eyebrow,
.eyebrow,
.section-label {
	display: block;
	margin: 0 0 18px;
	color: var(--sage-green);
	font-family: var(--sage-heading-font);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}


/* ======================================================
   Sections
====================================================== */

.sage-section {
	padding: 130px 0;
}

.sage-section-small {
	padding: 90px 0;
}

.sage-gradient-section {
	background: var(--sage-green-dark);
	color: var(--sage-white);
}

.sage-gradient-section h1,
.sage-gradient-section h2,
.sage-gradient-section h3,
.sage-gradient-section h4,
.sage-gradient-section h5,
.sage-gradient-section h6,
.sage-gradient-section p {
	color: var(--sage-white);
}


/* ======================================================
   Cards
====================================================== */

.sage-card {
	overflow: hidden;
	border-radius: 8px;
	background: var(--sage-white);
	box-shadow:
		0 14px 35px
		color-mix(
			in srgb,
			var(--sage-green-dark) 10%,
			transparent
		);
}

.sage-card h3,
.sage-card h4,
.sage-card h5 {
	color: var(--sage-green-dark);
}


/* ======================================================
   Text Link
====================================================== */

.sage-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--sage-gold);
	color: var(--sage-green-dark);
	font-family: var(--sage-heading-font);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.sage-text-link:hover {
	color: var(--sage-green);
}


/* ======================================================
   Layout Container
====================================================== */

.sage-container {
	width: min(1280px, calc(100% - 60px));
	margin: 0 auto;
}

@media (max-width: 767px) {

	.sage-container {
		width: min(100% - 32px, 1280px);
	}
}


/* ======================================================
   Section Background Utilities
====================================================== */

.sage-bg-white {
	background-color: var(--sage-white);
}

.sage-bg-soft {
	background-color: var(--sage-soft);
}

.sage-bg-cream {
	background-color: var(--sage-cream);
}

.sage-bg-tan {
	background-color: var(--sage-tan);
}

.sage-bg-green {
	background-color: var(--sage-green);
	color: var(--sage-white);
}

.sage-bg-green-dark {
	background-color: var(--sage-green-dark);
	color: var(--sage-white);
}


/* ======================================================
   Shared Header Structure
====================================================== */

.site-header {
	position: relative;
	z-index: 999;
	width: 100%;
	background-color: var(--sage-white);
	transition:
		box-shadow var(--sage-header-transition),
		background-color var(--sage-header-transition);
}

.sage-header-container {
	width: calc(100% - 64px);
	max-width: var(--sage-header-width);
	margin-right: auto;
	margin-left: auto;
}


/* ======================================================
   Utility Bar
====================================================== */

.sage-header-utility {
	overflow: hidden;
	border-bottom: 1px solid rgba(63, 77, 49, 0.14);
	background-color: var(--sage-cream);
	transition:
		max-height var(--sage-header-transition),
		opacity var(--sage-header-transition),
		border-color var(--sage-header-transition);
}

.sage-header-utility__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
}

.sage-header-phone,
.sage-header-donate {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--sage-green-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition:
		color var(--sage-header-transition),
		opacity var(--sage-header-transition);
}

.sage-header-phone:hover,
.sage-header-donate:hover {
	color: var(--sage-green);
}

.sage-header-phone svg,
.sage-header-donate svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sage-header-phone__icon {
	fill: currentColor !important;
	stroke: none !important;
}

.sage-header-utility__actions {
	display: flex;
	align-items: center;
	gap: 30px;
}

.sage-header-search-toggle,
.sage-mobile-search-toggle,
.sage-mobile-donate {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sage-green-dark);
	text-decoration: none;
	cursor: pointer;
}

.sage-header-search-toggle {
	width: 42px;
	height: 42px;
	border: 1px solid var(--sage-green-dark);
	border-radius: 50%;
}

.sage-header-search-toggle:hover {
	background-color: var(--sage-green-dark);
	color: var(--sage-white);
}

.sage-header-search-toggle svg,
.sage-mobile-search-toggle svg,
.sage-mobile-donate svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sage-header-cta,
.sage-header-cta:link,
.sage-header-cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid var(--sage-green-dark);
	border-radius: 7px;
	background-color: var(--sage-green-dark);
	color: var(--sage-white) !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color var(--sage-header-transition),
		border-color var(--sage-header-transition),
		color var(--sage-header-transition),
		transform var(--sage-header-transition);
}

.sage-header-cta:hover,
.sage-header-cta:focus-visible {
	border-color: var(--sage-green);
	background-color: var(--sage-green);
	color: var(--sage-white) !important;
	transform: translateY(-1px);
}

.sage-header-cta svg {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: inherit;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* ======================================================
   Main Header
====================================================== */

.sage-header-main {
	background-color: var(--sage-white);
}

.sage-header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 42px;
	transition:
		min-height var(--sage-header-transition),
		padding var(--sage-header-transition);
}

.sage-header-logo {
	flex: 0 0 auto;
}

.sage-header-logo .custom-logo-link {
	display: block;
}

.sage-header-logo .custom-logo {
	display: block;
	width: auto;
	max-width: 280px;
	height: 64px;
	object-fit: contain;
	object-position: left center;
	transition:
		height var(--sage-header-transition),
		max-width var(--sage-header-transition);
}


/* ======================================================
   Desktop Navigation
====================================================== */

.sage-desktop-nav {
	flex: 1 1 auto;
}

.sage-desktop-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(25px, 3.4vw, 58px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sage-desktop-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sage-desktop-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 0;
	color: var(--sage-charcoal);
	font-family: var(--sage-body-font);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--sage-header-transition);
}

.sage-desktop-menu > li > a:hover,
.sage-desktop-menu > li.current-menu-item > a,
.sage-desktop-menu > li.current-menu-parent > a,
.sage-desktop-menu > li.current-menu-ancestor > a {
	color: var(--sage-green-dark);
}

.sage-desktop-menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 5px;
	left: 0;
	width: 0;
	height: 2px;
	margin: auto;
	background-color: var(--sage-green);
	content: "";
	transition: width var(--sage-header-transition);
}

.sage-desktop-menu > li > a:hover::after,
.sage-desktop-menu > li.current-menu-item > a::after,
.sage-desktop-menu > li.current-menu-parent > a::after,
.sage-desktop-menu > li.current-menu-ancestor > a::after {
	width: 100%;
}


/* Dropdown indicator */

.sage-desktop-menu > li.menu-item-has-children > a {
	padding-right: 18px;
}

.sage-desktop-menu > li.menu-item-has-children > a::before {
	position: absolute;
	top: 50%;
	right: 0;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-70%) rotate(45deg);
}


/* Dropdown menus */

.sage-desktop-menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 50;
	display: block;
	min-width: 270px;
	margin: 0;
	padding: 14px;
	border: 1px solid rgba(63, 77, 49, 0.13);
	border-radius: 10px;
	background-color: var(--sage-white);
	box-shadow: 0 18px 40px rgba(45, 45, 45, 0.12);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition:
		opacity var(--sage-header-transition),
		visibility var(--sage-header-transition),
		transform var(--sage-header-transition);
}

.sage-desktop-menu > li:hover > .sub-menu,
.sage-desktop-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.sage-desktop-menu .sub-menu::before {
	position: absolute;
	top: -7px;
	left: 50%;
	width: 14px;
	height: 14px;
	border-top: 1px solid rgba(63, 77, 49, 0.13);
	border-left: 1px solid rgba(63, 77, 49, 0.13);
	background-color: var(--sage-white);
	content: "";
	transform: translateX(-50%) rotate(45deg);
}

.sage-desktop-menu .sub-menu li {
	position: relative;
	z-index: 1;
	margin: 0;
	list-style: none;
}

.sage-desktop-menu .sub-menu a {
	display: block;
	padding: 11px 14px;
	border-radius: 6px;
	color: var(--sage-charcoal);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	transition:
		background-color var(--sage-header-transition),
		color var(--sage-header-transition);
}

.sage-desktop-menu .sub-menu a:hover,
.sage-desktop-menu .sub-menu .current-menu-item > a {
	background-color: var(--sage-cream);
	color: var(--sage-green-dark);
}


/* ======================================================
   Search Panel
====================================================== */

.sage-header-search {
	border-top: 1px solid rgba(63, 77, 49, 0.12);
	border-bottom: 1px solid rgba(63, 77, 49, 0.12);
	background-color: var(--sage-white);
}

.sage-header-search__inner {
	position: relative;
	display: flex;
	align-items: center;
	padding-top: 24px;
	padding-bottom: 24px;
}

.sage-header-search__form {
	display: flex;
	width: 100%;
	gap: 12px;
}

.sage-header-search__form input {
	flex: 1 1 auto;
	min-width: 0;
	height: 50px;
	padding: 12px 18px;
	border: 1px solid var(--sage-tan);
	border-radius: 6px;
	background-color: var(--sage-white);
	color: var(--sage-charcoal);
	font-size: 16px;
}

.sage-header-search__form input:focus {
	border-color: var(--sage-green);
	outline: 2px solid rgba(110, 126, 92, 0.18);
}

.sage-header-search__form button {
	flex: 0 0 auto;
	min-width: 120px;
	padding: 12px 22px;
	border: 1px solid var(--sage-green-dark);
	border-radius: 6px;
	background-color: var(--sage-green-dark);
	color: var(--sage-white);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.sage-header-search-close {
	flex: 0 0 auto;
	margin-left: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--sage-green-dark);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}


/* ======================================================
   Mobile Header
====================================================== */

.sage-mobile-actions {
	display: none;
}

.sage-mobile-menu {
	display: none;
	background-color: var(--sage-green-dark);
}

/*
 * This is important:
 * the menu must remain hidden whenever JS applies
 * the HTML hidden attribute.
 */
.sage-mobile-menu[hidden] {
	display: none !important;
}

.sage-mobile-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	padding: 6px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.sage-mobile-menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background-color: var(--sage-green-dark);
	transition:
		transform var(--sage-header-transition),
		opacity var(--sage-header-transition);
}

.sage-mobile-menu-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.sage-mobile-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.sage-mobile-menu-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.sage-mobile-menu__inner {
	width: calc(100% - 40px);
	max-width: 720px;
	margin: 0 auto;
	padding: 26px 0 32px;
}

.sage-mobile-menu__list,
.sage-mobile-menu__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sage-mobile-menu__list > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sage-mobile-menu__list li {
	list-style: none;
}

.sage-mobile-menu__list a,
.sage-mobile-menu__list a:link,
.sage-mobile-menu__list a:visited {
	display: block;
	padding: 15px 6px;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none !important;
}

.sage-mobile-menu__list a:hover,
.sage-mobile-menu__list a:focus-visible {
	color: var(--sage-soft) !important;
	-webkit-text-fill-color: var(--sage-soft) !important;
}

.sage-mobile-menu__list .sub-menu {
	padding: 0 0 12px 18px;
}

.sage-mobile-menu__list .sub-menu a,
.sage-mobile-menu__list .sub-menu a:link,
.sage-mobile-menu__list .sub-menu a:visited {
	padding-top: 10px;
	padding-bottom: 10px;
	color: var(--sage-soft) !important;
	-webkit-text-fill-color: var(--sage-soft) !important;
	font-size: 15px;
}


/* Mobile Schedule a Tour CTA */

.sage-mobile-menu__cta,
.sage-mobile-menu__cta:link,
.sage-mobile-menu__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 26px;
	padding: 13px 20px;
	border: 1px solid var(--sage-white);
	border-radius: 6px;
	background-color: transparent;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
}

.sage-mobile-menu__cta:hover,
.sage-mobile-menu__cta:focus,
.sage-mobile-menu__cta:focus-visible {
	border-color: var(--sage-white);
	background-color: var(--sage-white);
	color: var(--sage-green-dark) !important;
	-webkit-text-fill-color: var(--sage-green-dark) !important;
	text-decoration: none !important;
}


/* ======================================================
   Fixed Header — Desktop
====================================================== */

.site-header.is-sticky {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	background-color: var(--sage-white);
	box-shadow: 0 10px 35px rgba(45, 45, 45, 0.12);
}

.site-header.is-sticky .sage-header-utility {
	max-height: 0;
	border-color: transparent;
	opacity: 0;
}

.site-header.is-sticky .sage-header-utility__inner {
	min-height: 0;
}

.site-header.is-sticky .sage-header-main__inner {
	min-height: 88px;
}

.site-header.is-sticky .sage-header-logo .custom-logo {
	height: 64px;
	max-width: 280px;
}

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

body.sage-sticky-header-active {
	padding-top: var(--sage-sticky-header-height, 0);
}


/* ======================================================
   Responsive Header
====================================================== */

@media (max-width: 1199px) {

	.sage-header-utility,
	.sage-desktop-nav {
		display: none;
	}

	.sage-header-main__inner {
		min-height: 92px;
		gap: 24px;
	}

	.sage-header-logo .custom-logo {
		max-width: 310px;
		height: 70px;
	}

	.sage-mobile-actions {
		display: flex;
		align-items: center;
		gap: 17px;
	}

	.sage-mobile-donate,
	.sage-mobile-search-toggle {
		width: 30px;
		height: 30px;
	}

	/*
	 * Only display the mobile menu once the hidden
	 * attribute has been removed by JavaScript.
	 */
	.sage-mobile-menu:not([hidden]) {
		display: block;
	}
}


/* ======================================================
   Tablet + Mobile — Disable Sticky Header
====================================================== */

@media (max-width: 1024px) {

	.site-header,
	.site-header.is-sticky {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		width: 100% !important;
		box-shadow: none !important;
		transform: none !important;
	}

	body.sage-sticky-header-active {
		padding-top: 0 !important;
	}

	.site-header.is-sticky .sage-header-main__inner {
		min-height: 92px;
	}

	.site-header.is-sticky .sage-header-logo .custom-logo {
		height: 70px;
		max-width: 310px;
	}

	.site-header.is-sticky .sage-header-utility {
		max-height: none;
		opacity: 1;
	}
}


/* WordPress admin bar */

@media (max-width: 782px) {

	.admin-bar .site-header.is-sticky {
		top: auto !important;
	}
}


/* Mobile */

@media (max-width: 767px) {

	.sage-header-container {
		width: calc(100% - 36px);
	}

	.sage-header-main__inner {
		min-height: 82px;
	}

	.sage-header-logo .custom-logo {
		width: auto;
		max-width: 235px;
		height: 58px;
	}

	.site-header.is-sticky .sage-header-main__inner {
		min-height: 82px;
	}

	.site-header.is-sticky .sage-header-logo .custom-logo {
		max-width: 235px;
		height: 58px;
	}

	.sage-mobile-actions {
		gap: 11px;
	}

	.sage-mobile-donate svg,
	.sage-mobile-search-toggle svg {
		width: 19px;
		height: 19px;
	}

	.sage-header-search__inner {
		align-items: flex-start;
	}

	.sage-header-search__form {
		flex-direction: column;
	}

	.sage-header-search__form button {
		width: 100%;
	}

	.sage-header-search-close {
		margin-top: 5px;
		margin-left: 10px;
	}
}


/* Small Mobile */

@media (max-width: 480px) {

	.sage-header-logo .custom-logo,
	.site-header.is-sticky .sage-header-logo .custom-logo {
		max-width: 190px;
		height: 52px;
	}

	.sage-mobile-actions {
		gap: 7px;
	}

	.sage-mobile-menu-toggle {
		width: 32px;
		height: 32px;
	}

	.sage-mobile-donate,
	.sage-mobile-search-toggle {
		width: 27px;
		height: 27px;
	}
}


/* ======================================================
   Sage Footer
====================================================== */

.sage-footer {
	position: relative;
	width: 100%;
	background-color: var(--sage-green-dark);
	color: var(--sage-white);
}

.sage-footer__container {
	width: calc(100% - 64px);
	max-width: 1480px;
	margin-right: auto;
	margin-left: auto;
}


/* ======================================================
   Main Footer
====================================================== */

.sage-footer__main {
	padding: 92px 0 78px;
}

.sage-footer__grid {
	display: grid;
	grid-template-columns:
		minmax(280px, 1fr)
		minmax(360px, 1.15fr)
		minmax(280px, 0.85fr);
	align-items: center;
	gap: clamp(50px, 6vw, 110px);
}


/* ======================================================
   Sage Logo and Accreditation Logos
====================================================== */

.sage-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 30px;
}

.sage-footer__logo {
	width: 100%;
}

.sage-footer__logo .custom-logo-link {
	display: inline-block;
}

.sage-footer__logo .custom-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 330px;
	max-height: 115px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.sage-footer__accreditations {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
}

.sage-footer__accreditation-link {
	display: block;
	flex: 0 0 auto;
	text-decoration: none;
	transition:
		transform 250ms ease,
		opacity 250ms ease;
}

.sage-footer__accreditation-link:hover {
	opacity: 0.88;
	transform: translateY(-3px);
}

.sage-footer__accreditation-logo {
	display: block;
	width: auto;
	height: auto;
	object-fit: contain;
}

.sage-footer__accreditation-logo--nais {
	max-width: 135px;
}

.sage-footer__accreditation-logo--tpsa {
	max-width: 115px;
}

.sage-footer__accreditation-logo--cognia {
	width: 60px;
	height: 60px;
	object-fit: contain;
}


/* ======================================================
   Contact Information
====================================================== */

.sage-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 29px;
}

.sage-footer__contact-item {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: flex-start;
	gap: 18px;
}

.sage-footer__contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	min-height: 34px;
	color: var(--sage-tan);
}

.sage-footer__contact-icon svg {
	display: block;
	flex: 0 0 auto;
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sage-footer__contact-item:nth-child(2)
.sage-footer__contact-icon svg {
	fill: currentColor;
	stroke: none;
}

.sage-footer__contact-content {
	min-width: 0;
}

.sage-footer__contact-content,
.sage-footer__contact-content a,
.sage-footer__contact-content a:link,
.sage-footer__contact-content a:visited {
	color: var(--sage-white);
	font-family: var(--sage-body-font);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.55;
}

.sage-footer__contact-content a {
	display: inline-block;
	text-decoration-color: transparent;
	text-underline-offset: 5px;
	transition:
		color 200ms ease,
		text-decoration-color 200ms ease;
}

.sage-footer__contact-content a:hover {
	color: var(--sage-soft);
	text-decoration-color: currentColor;
}

.sage-footer__contact-content strong {
	font-weight: 700;
}

.sage-footer__contact-content span {
	font-weight: 400;
}

.sage-footer__contact-item:last-child
.sage-footer__contact-content a {
	text-decoration: underline;
	text-decoration-color: currentColor;
}


/* ======================================================
   Actions Column
====================================================== */

.sage-footer__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}


/* ======================================================
   Footer CTA
====================================================== */

.sage-footer__cta,
.sage-footer__cta:link,
.sage-footer__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	max-width: 300px;
	min-height: 58px;
	padding: 14px 24px;
	border: 2px solid var(--sage-white);
	border-radius: 6px;
	background-color: transparent;
	color: var(--sage-white) !important;
	font-family: var(--sage-body-font);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	transition:
		background-color 250ms ease,
		color 250ms ease,
		transform 250ms ease;
}

.sage-footer__cta span {
	color: inherit;
}

.sage-footer__cta svg {
	display: block;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sage-footer__cta:hover,
.sage-footer__cta:focus-visible {
	background-color: var(--sage-white);
	color: var(--sage-green-dark) !important;
	transform: translateY(-2px);
}


/* ======================================================
   Social Links
====================================================== */

.sage-footer__social {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.sage-footer__social a,
.sage-footer__social a:link,
.sage-footer__social a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border:
		1px solid
		color-mix(
			in srgb,
			var(--sage-white) 55%,
			transparent
		);
	border-radius: 50%;
	background-color: transparent;
	color: var(--sage-white) !important;
	text-decoration: none;
	transition:
		background-color 200ms ease,
		border-color 200ms ease,
		color 200ms ease,
		transform 200ms ease;
}

.sage-footer__social a:hover,
.sage-footer__social a:focus-visible {
	border-color: var(--sage-tan);
	background-color: var(--sage-tan);
	color: var(--sage-green-dark) !important;
	transform: translateY(-2px);
}

.sage-footer__social svg {
	display: block;
	flex: 0 0 auto;
	width: 21px !important;
	height: 21px !important;
	max-width: 21px !important;
	max-height: 21px !important;
	fill: currentColor;
	stroke: none;
}

.sage-footer__social a:nth-child(2) svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sage-footer__social a:nth-child(4) svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* ======================================================
   Legal Row
====================================================== */

.sage-footer__legal {
	border-top:
		1px solid
		color-mix(
			in srgb,
			var(--sage-white) 35%,
			transparent
		);
}

.sage-footer__legal-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-height: 112px;
	padding-top: 28px;
	padding-bottom: 28px;
}

.sage-footer__copyright {
	margin: 0;
	color: var(--sage-white);
	font-size: 16px;
	line-height: 1.5;
}

.sage-footer__legal-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.sage-footer__legal-links a,
.sage-footer__legal-links a:link,
.sage-footer__legal-links a:visited {
	color: var(--sage-white) !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 250ms ease;
}

.sage-footer__legal-links a:hover,
.sage-footer__legal-links a:focus-visible {
	color: var(--sage-soft) !important;
}

.sage-footer__legal-links span {
	color:
		color-mix(
			in srgb,
			var(--sage-white) 55%,
			transparent
		);
}


/* ======================================================
   Accessibility
====================================================== */

.sage-footer a:focus-visible {
	outline: 3px solid var(--sage-tan);
	outline-offset: 4px;
}


/* ======================================================
   Footer Responsive — Tablet
====================================================== */

@media (max-width: 1199px) {

	.sage-footer__main {
		padding: 80px 0 68px;
	}

	.sage-footer__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: 58px 70px;
	}

	.sage-footer__brand {
		grid-column: 1 / -1;
	}

	.sage-footer__actions {
		align-items: flex-start;
	}
}


/* ======================================================
   Footer Responsive — Small Tablet
====================================================== */

@media (max-width: 900px) {

	.sage-footer__legal-inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 18px;
	}

	.sage-footer__legal-links {
		justify-content: flex-start;
	}
}


/* ======================================================
   Footer Responsive — Mobile
====================================================== */

@media (max-width: 767px) {

	.sage-footer__container {
		width: calc(100% - 40px);
	}

	.sage-footer__main {
		padding: 65px 0 58px;
	}

	.sage-footer__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.sage-footer__brand {
		grid-column: auto;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.sage-footer__logo .custom-logo {
		max-width: 300px;
		max-height: 100px;
	}

	.sage-footer__accreditations {
		justify-content: center;
		width: 100%;
	}

	.sage-footer__contact {
		gap: 24px;
	}

	.sage-footer__contact-content,
	.sage-footer__contact-content a {
		font-size: 17px;
	}

	.sage-footer__actions {
		align-items: center;
	}

	.sage-footer__cta {
		max-width: 100%;
		min-height: 62px;
		font-size: 21px;
	}

	.sage-footer__social {
		justify-content: center;
		gap: 15px;
		margin-top: 30px;
	}

	.sage-footer__social a {
		flex-basis: 50px;
		width: 50px;
		height: 50px;
	}

	.sage-footer__legal-inner {
		align-items: center;
		min-height: 0;
		padding-top: 32px;
		padding-bottom: 36px;
		text-align: center;
	}

	.sage-footer__legal-links {
		justify-content: center;
	}

	.sage-footer__copyright,
	.sage-footer__legal-links a {
		font-size: 15px;
	}
}


/* ======================================================
   Footer Responsive — Small Mobile
====================================================== */

@media (max-width: 520px) {

	.sage-footer__accreditations {
		gap: 20px;
	}

	.sage-footer__logo .custom-logo {
		max-width: 260px;
		max-height: 90px;
	}

	.sage-footer__accreditation-logo--nais {
		max-width: 120px;
	}

	.sage-footer__accreditation-logo--tpsa {
		max-width: 100px;
	}

	.sage-footer__accreditation-logo--cognia {
		width: 55px;
		height: 55px;
	}

	.sage-footer__contact-item {
		grid-template-columns: 29px minmax(0, 1fr);
		gap: 14px;
	}

	.sage-footer__contact-icon {
		width: 29px;
	}

	.sage-footer__contact-icon svg {
		width: 23px;
		height: 23px;
	}

	.sage-footer__contact-content,
	.sage-footer__contact-content a {
		font-size: 16px;
	}

	.sage-footer__social {
		width: 100%;
		justify-content: center;
		gap: 12px;
	}

	.sage-footer__social a {
		flex-basis: 47px;
		width: 47px;
		height: 47px;
	}

	.sage-footer__legal-links {
		align-items: center;
		justify-content: center;
		gap: 11px;
	}
}