/* Rush Bedrock — header & footer layouts (parent)
 * Moved from rush-child; variants hang off body.rush-header--* / .rush-footer--*
 */

:root {
	--rush-banner-h: 48px;
	--rush-nav-h: clamp(3rem, 2.5rem + 1.5vw, 4.5rem);
	--rush-brand-w: 5.625rem;
	--rush-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23000' d='M1.25 1.35 5 5.1 8.75 1.35 9.6 2.2 5 6.8.4 2.2z'/%3E%3C/svg%3E");
	--rush-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M1.1 5.4h8.5l-3.4-3.3.9-.9 4.8 4.7-4.8 4.7-.9-.9 3.4-3.3H1.1z'/%3E%3C/svg%3E");
}

/* Layout shell */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--wp--preset--color--base);
	height: var(--rush-nav-h);
	padding-block: 0.75rem;
	transition: transform 0.35s ease-in-out, height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: height, transform;
}

.site-header.site-header-banner {
	height: calc(var(--rush-nav-h) + var(--rush-banner-h));
}

.site-header.site-header-banner.banner-collapsed {
	height: var(--rush-nav-h);
}

.site-header.nav-up { transform: translateY(-100%); }
.site-header.nav-down { transform: translateY(0); }

.rush-header__container.container {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-inline: auto;
	padding-inline: var(--wp--custom--spacing--fluid-gutter, 1rem);
}

/* Banner */
.header-banner {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	width: 100%;
	height: var(--rush-banner-h);
	min-height: var(--rush-banner-h);
	max-height: var(--rush-banner-h);
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, min-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rush-header__banner-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.header-banner .text--wrap,
.header-banner p {
	margin: 0;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1.4;
}

@media (min-width: 48rem) {
	.header-banner .text--wrap,
	.header-banner p { font-size: 0.875rem; }
}

.wrap--white a { color: inherit; text-decoration: underline; }
.wrap--white a:hover { text-decoration: none; }

.site-header.site-header-banner.banner-collapsed .header-banner {
	max-height: 0;
	min-height: 0;
	opacity: 0;
}

/* Bar grid */
.header--grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	align-items: center;
}

@media (min-width: 64rem) {
	.header--grid {
		grid-template-columns: 1fr 3fr 1fr;
		gap: 1rem;
	}
}

.header {
	height: var(--rush-nav-h);
	z-index: 5;
	background-color: #fff;
}

.header-left,
.rush-header__brand-wrap {
	display: flex;
	align-items: center;
}

.header-right,
.rush-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.rush-header__search-wrap {
	display: flex;
	align-items: center;
}

.header-left .brand {
	display: inline-flex;
	width: var(--rush-brand-w);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.header-left .brand svg,
.header-left .custom-logo-link img {
	width: 100%;
	height: auto;
	max-height: 1.5rem;
}

.rush-header__nav--desktop { display: none; }
@media (min-width: 64rem) {
	.rush-header__nav--desktop { display: flex; justify-content: center; }
}

.rush-header__search-wrap { margin-inline: 2.5rem 1.5rem; }

.searchboxlink.no-style {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

.searchboxlink svg { display: block; width: 1.25rem; height: 1.25rem; }

.rush-header__cta--desktop { display: none; }
@media (min-width: 48rem) {
	.rush-header__cta--desktop { display: inline-block; }
}

.header--burger { margin-left: 1.5rem; }
@media (min-width: 64rem) {
	.header--burger { display: none; }
}

.site-header .rush-header__cta--mobile {
	display: block;
	width: 100%;
	text-align: center;
}

.rush-header__mobile-cta {
	margin-top: var(--wp--custom--spacing--10, 2.5rem);
}

/* Burger (legacy) */
:root {
	--burger-button-size: 35px;
	--burger-bar-width: 1.25;
	--burger-bar-height: 2px;
	--burger-bar-spacing: 8px;
	--burger-animate-timeout: 0.1s;
}

.burger {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	width: calc(var(--burger-button-size) * var(--burger-bar-width));
	height: var(--burger-button-size);
	margin: 0;
	padding: 0 0 0 var(--burger-button-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	line-height: var(--burger-button-size);
	vertical-align: middle;
	appearance: none;
	cursor: pointer;
	outline: 0 !important;
}

.burger b {
	position: absolute;
	left: 0;
	display: block;
	width: calc(var(--burger-button-size) * var(--burger-bar-width));
	height: var(--burger-bar-height);
	border-radius: calc(var(--burger-bar-height) / 2);
	background: var(--wp--preset--color--primary);
	opacity: 1;
	transition: all 0.5s var(--burger-animate-timeout);
}

.burger b:nth-of-type(1) {
	bottom: calc(50% + var(--burger-bar-spacing) - (var(--burger-bar-height) / 2));
	transition-delay: 0.1s, 0s;
}

.burger b:nth-of-type(2) {
	top: calc(50% - (var(--burger-bar-height) / 2) + (var(--burger-bar-height) / 2));
	transition-delay: 0.1s;
}

.burger b:nth-of-type(3) {
	top: calc(50% + var(--burger-bar-spacing) + (var(--burger-bar-height) / 2));
	transition-delay: 0.1s, 0s;
}

.burger.burger--closed b:nth-of-type(1) {
	bottom: calc(50% - (var(--burger-bar-height) / 2));
	transform: rotate(45deg);
	transition-delay: calc(var(--burger-animate-timeout) + 0s), calc(var(--burger-animate-timeout) + 0.1s);
}

.burger.burger--closed b:nth-of-type(2) {
	top: calc(50% - (var(--burger-bar-height) / 2) + (var(--burger-bar-height) / 2));
	opacity: 0;
	transition-delay: calc(var(--burger-animate-timeout) + 0s);
}

.burger.burger--closed b:nth-of-type(3) {
	top: calc(50% - (var(--burger-bar-height) / 2));
	transform: rotate(-45deg);
	transition-delay: calc(var(--burger-animate-timeout) + 0s), calc(var(--burger-animate-timeout) + 0.1s);
}

/* Desktop nav */
.header ul.menu {
	position: relative;
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header,
.rush-header__container,
.header,
.header-center,
.header ul.menu,
.header ul.menu > .menu-item-has-children {
	overflow: visible;
}

.header ul.menu > .menu-item + .menu-item { margin-left: 0.75rem; }

.header ul.menu > li > a {
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: background 0.25s ease;
}

.header ul.menu > li > a:hover,
.header ul.menu > li.current-menu-item > a,
.header ul.menu > li.current-menu-parent > a,
.header ul.menu > .menu-item-has-children > .dropdown-link.active {
	background: var(--wp--preset--color--primary-light);
}

.header ul.menu > .menu-item-has-children {
	position: relative;
}

.header ul.menu > .menu-item-has-children:hover,
.header ul.menu > .menu-item-has-children:has(.sub-menu.dropdown) {
	z-index: 50;
}

.header ul.menu > .menu-item-has-children > a {
	position: relative;
	padding-right: 32px;
}

.menu-item-chevron,
.menu-item-arrow {
	display: block;
	flex-shrink: 0;
	background-color: currentColor;
	pointer-events: none;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.menu-item-chevron {
	position: absolute;
	top: calc(9px + (0.875rem * 1.25 - 5px) / 2);
	right: 12px;
	width: 10px;
	height: 5px;
	transform: none;
	transition: transform 0.25s ease;
	-webkit-mask-image: var(--rush-icon-chevron);
	mask-image: var(--rush-icon-chevron);
}

.header ul.menu > .menu-item-has-children > .dropdown-link.active .menu-item-chevron {
	transform: translateY(-2px);
}

.menu-item-arrow {
	position: absolute;
	top: calc(9px + (0.875rem * 1.25 - 12px) / 2);
	right: 12px;
	width: 12px;
	height: 12px;
	opacity: 0;
	transition: opacity 0.25s ease;
	-webkit-mask-image: var(--rush-icon-arrow);
	mask-image: var(--rush-icon-arrow);
}

.header ul.menu .sub-menu > li > a {
	position: relative;
}

.header ul.menu .sub-menu > li:hover .menu-item-arrow {
	opacity: 1;
	transition: opacity 0.4s ease;
}

/* Dropdown card */
.header ul.menu .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: auto;
	bottom: -0.75rem;
	min-height: 0;
	width: max-content;
	min-width: 12rem;
	max-width: 22rem;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: var(--wp--preset--color--base);
	border: 1px solid #f6f6f6;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(20, 28, 37, 0.04);
	transform: translateY(100%);
	z-index: 50;
}

.header ul.menu .sub-menu.dropdown {
	display: block;
}

.header ul.menu .sub-menu > li {
	position: relative;
	margin-bottom: 0.25rem;
}

.header ul.menu .sub-menu > li:last-child {
	margin-bottom: 0;
}

.header ul.menu .sub-menu > li > a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 9px 32px 9px 12px;
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	white-space: normal;
	transition: background 0.25s ease;
}

.header ul.menu .sub-menu > li > a:hover {
	background: var(--wp--preset--color--primary-light);
}

.header ul.menu .sub-menu .menu-item-description {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--wp--preset--color--secondary);
}

/* Mobile drawer */
.header-mobile-content {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 100vw;
	height: 100vh;
	padding-block: 2.5rem;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	transform: translateX(100%);
	visibility: hidden;
	overflow-y: auto;
	z-index: -1;
	transition: transform 0.35s linear, visibility 0.35s linear, margin-top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 48rem) {
	.header-mobile-content { max-width: 60vw; }
}

@media (min-width: 64rem) {
	.header-mobile-content { display: none !important; }
}

.header-mobile-content.header--open {
	transform: translateX(0);
	visibility: visible;
}

.site-header.site-header-banner .header-mobile-content {
	margin-top: calc(var(--rush-nav-h) + var(--rush-banner-h));
}

.site-header.site-header-banner.banner-collapsed .header-mobile-content {
	margin-top: var(--rush-nav-h);
}

.mobile--inner--wrapper {
	padding: 2.5rem;
	height: 100%;
	overflow-x: hidden;
}

.mobile--inner--wrapper ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile--inner--wrapper ul.menu > li {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.mobile--inner--wrapper ul.menu > li:first-child {
	border-top: 1px solid var(--wp--preset--color--border);
}

.mobile--inner--wrapper ul.menu > li > a {
	display: block;
	padding-block: 1.5rem;
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.mobile--inner--wrapper .acc-submenu > a {
	position: relative;
	width: 100%;
}

.mobile--inner--wrapper .acc-submenu > a::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 16px;
	height: 8px;
	transform: translateY(-50%);
	background: var(--wp--preset--color--contrast);
	transition: transform 0.5s ease;
	mask: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.6247 2.50298L6 6.50253L0.374717 2.50298' fill='black'/%3E%3C/svg%3E") no-repeat 50% 50%;
	mask-size: contain;
}

.mobile--inner--wrapper .acc-submenu > a.rotate::after {
	transform: translateY(-50%) rotate(180deg);
}

.mobile--inner--wrapper .acc-submenu > .sub-menu {
	display: none;
	padding-bottom: 1.5rem;
}

.mobile--inner--wrapper .acc-submenu > .sub-menu li { border: none; }

.mobile--inner--wrapper .acc-submenu > .sub-menu li a {
	padding-block: 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.2;
}

.mobile--inner--wrapper .acc-submenu > .sub-menu .menu-item-description {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--wp--preset--color--secondary);
}

.mobile--inner--wrapper .acc-submenu > .sub-menu .menu-item + .menu-item { margin-top: 0.75rem; }

body.nav--open { overflow: hidden; }

/* Search modal (GLightbox inline target — hidden until opened) */
.rush-header__search-modal {
	display: none;
	padding: var(--wp--custom--spacing--6, 1.5rem);
	background: var(--wp--preset--color--base);
	max-width: 28rem;
}

.gslide-inline .rush-header__search-modal,
.ginlined-content .rush-header__search-modal {
	display: block;
}

.rush-header__search-title {
	margin: 0 0 var(--wp--custom--spacing--4, 1rem);
	font-size: var(--wp--preset--font-size--large, 1.5rem);
	font-weight: var(--wp--custom--font-weight--bold, 700);
}

.rush-header__search-form .rush-header__search-input,
.rush-header__search-form .search-input {
	display: block;
	width: 100%;
	min-height: 3rem;
	margin-bottom: var(--wp--custom--spacing--4, 1rem);
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border, #e2e2e2);
	background: transparent;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	color: var(--wp--preset--color--contrast);
}

.rush-header__search-form .rush-header__search-input:focus,
.rush-header__search-form .search-input:focus {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 2px;
}

.rush-header__search-footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--custom--spacing--3, 0.75rem);
	align-items: center;
}

.rush-header__search-close {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
}

.rush-header__search-close:hover {
	background-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}

.rush-header__search-submit {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--base) !important;
	border: 1px solid var(--wp--preset--color--primary) !important;
}

/* GLightbox chrome for search */
.goverlay {
	background: rgba(212, 212, 212, 0.8) !important;
}

.gslide-media {
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65) !important;
}

.glightbox-mobile .glightbox-container .goverlay {
	background: rgba(212, 212, 212, 0.8) !important;
}

/* ==========================================================================
   Footer — PHP template part (inc/footer.php + parts/footer.php)
   ========================================================================== */

.rush-site-footer {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-block: var(--wp--custom--spacing--8);
}

.rush-site-footer__inner {
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-inline: auto;
	padding-inline: var(--wp--custom--spacing--fluid-gutter);
}

.rush-site-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--custom--spacing--6);
}

.rush-site-footer__logo {
	display: inline-block;
	margin-bottom: var(--wp--custom--spacing--3);
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.rush-site-footer__logo svg {
	display: block;
	width: auto;
	max-width: 120px;
	height: auto;
}

.rush-site-footer__logo-img {
	display: block;
	width: auto;
	max-width: 120px;
	height: auto;
	max-height: 60px;
}

.rush-site-footer__site-title {
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--contrast);
}

.rush-site-footer__address :where(p) {
	margin: 0;
}

.rush-site-footer__address :where(p + p) {
	margin-top: var(--wp--custom--spacing--2);
}

.rush-site-footer__col :where(h4) {
	margin: 0 0 var(--wp--custom--spacing--3);
}

.rush-site-footer__menu,
.rush-site-footer__legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rush-site-footer__menu {
	display: flex;
	flex-direction: column;
	gap: var(--wp--custom--spacing--2);
}

.rush-site-footer__col--social .wp-block-social-links,
.rush-site-footer__social .wp-block-social-links {
	gap: var(--wp--custom--spacing--2);
}

.rush-site-footer__social {
	margin-top: var(--wp--custom--spacing--4);
}

.rush-site-footer__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--custom--spacing--4);
	margin-top: var(--wp--custom--spacing--4);
}

.rush-site-footer__actions.wp-block-buttons {
	flex-direction: column;
	gap: var(--wp--custom--spacing--4);
}

.rush-site-footer__cta-wrap {
	margin: 0;
}

/* Slightly tighter than default core/button (0.75 / 1.5), not as small as xs. */
.rush-site-footer__actions .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.25;
	padding: 0.5rem 1rem;
	min-height: 0;
}

/* theme.json dark styles lose to elements.button without !important — force parity. */
.rush-site-footer__actions .wp-block-button.is-style-dark .wp-block-button__link {
	background-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
}

.rush-site-footer__actions .wp-block-button.is-style-dark .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	border-color: var(--wp--preset--color--contrast) !important;
}

.rush-site-footer__actions .wp-block-button.is-style-outline .wp-block-button__link {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 1px solid var(--wp--preset--color--contrast) !important;
}

.rush-site-footer__actions .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
	border-color: var(--wp--preset--color--contrast) !important;
}

.rush-site-footer__nav-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--custom--spacing--6);
}

.rush-site-footer__menu a {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.rush-site-footer__menu a:hover,
.rush-site-footer__legal a:hover {
	color: var(--wp--preset--color--contrast);
}

.rush-site-footer__legal {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--custom--spacing--4);
	align-items: center;
	margin-top: var(--wp--custom--spacing--6);
	padding-top: var(--wp--custom--spacing--4);
	border-top: 1px solid var(--wp--preset--color--border);
}

.rush-site-footer__legal :where(p) {
	margin: 0;
}

.rush-site-footer__legal-col--start {
	text-align: start;
}

.rush-site-footer__legal-col--center {
	text-align: center;
}

.rush-site-footer__legal-col--end {
	text-align: end;
}

.rush-site-footer__legal a {
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.rush-site-footer__legal a:hover {
	color: var(--wp--preset--color--contrast);
}

.rush-site-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--wp--custom--spacing--3) var(--wp--custom--spacing--4);
}

@media (max-width: 781px) {
	.rush-site-footer__columns,
	.rush-site-footer__legal {
		grid-template-columns: 1fr;
	}

	.rush-site-footer__legal-col--start,
	.rush-site-footer__legal-col--center,
	.rush-site-footer__legal-col--end {
		text-align: start;
	}

	.rush-site-footer__legal-menu {
		justify-content: flex-start;
	}
}

/* ==========================================================================
   Header layout variants
   ========================================================================== */

@media (min-width: 64rem) {
	.rush-header__grid--split {
		grid-template-columns: 1fr auto 1fr;
	}

	.rush-header__grid--split .rush-header__nav--left {
		justify-content: flex-start;
	}

	.rush-header__grid--split .rush-header__brand-wrap--center {
		justify-content: center;
	}

	.rush-header__grid--split .rush-header__actions--split {
		gap: 0.5rem;
	}

	.rush-header__grid--split .rush-header__nav--right {
		display: flex;
		justify-content: flex-end;
		margin-inline-end: 0.5rem;
	}

	.rush-site-header--minimal .header--burger {
		display: inline-block;
	}

	.rush-header__grid--minimal {
		grid-template-columns: 1fr auto;
	}
}

.rush-header__site-title {
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.rush-header__brand .custom-logo-link {
	display: inline-flex;
	line-height: 0;
}

.rush-header__brand .custom-logo-link img,
.rush-header__brand svg {
	max-height: 1.5rem;
	width: auto;
	height: auto;
}

/* ==========================================================================
   Footer layout variants
   ========================================================================== */

.rush-site-footer__columns--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rush-site-footer__columns--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Push nav pair to the right edge of column 3. */
.rush-site-footer--columns .rush-site-footer__col--navs {
	display: flex;
	justify-content: flex-end;
}

.rush-site-footer--columns .rush-site-footer__col--navs .rush-site-footer__nav-pair {
	width: max-content;
	max-width: 100%;
	grid-template-columns: max-content max-content;
}

.rush-site-footer__columns--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rush-site-footer--stacked .rush-site-footer__col--nav {
	text-align: end;
}

.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__menu,
.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__nav-pair {
	justify-items: end;
}

.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__menu {
	align-items: flex-end;
}

.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__nav-pair-col {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.rush-site-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	/* gap: var(--wp--custom--spacing--1); */
}

.rush-site-footer__col--brand .rush-site-footer__contact {
	margin-top: var(--wp--custom--spacing--4);
}

.rush-site-footer__col--contact .rush-site-footer__contact {
	margin-bottom: 0;
}

.rush-site-footer__contact a {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.rush-site-footer__contact a:hover {
	color: var(--wp--preset--color--contrast);
}

.rush-site-footer__byline {
	margin: 0;
}

.rush-site-footer__byline a {
	color: inherit;
	text-decoration: none;
}

.rush-site-footer__byline a:hover {
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
}

@media (max-width: 781px) {
	.rush-site-footer__columns--4,
	.rush-site-footer__columns--3,
	.rush-site-footer__columns--2,
	.rush-site-footer__nav-pair {
		grid-template-columns: 1fr;
	}

	.rush-site-footer--columns .rush-site-footer__col--navs {
		justify-content: flex-start;
	}

	.rush-site-footer--columns .rush-site-footer__col--navs .rush-site-footer__nav-pair {
		width: 100%;
		grid-template-columns: 1fr;
	}

	.rush-site-footer--stacked .rush-site-footer__col--nav {
		text-align: start;
	}

	.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__menu,
	.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__nav-pair-col {
		align-items: flex-start;
	}

	.rush-site-footer--stacked .rush-site-footer__col--nav .rush-site-footer__nav-pair {
		justify-items: start;
	}
}

/* Minimal header: burger + drawer stay available on large screens */
@media (min-width: 64rem) {
	.rush-site-header--minimal .header-mobile-content {
		display: block !important;
	}

	.rush-site-header--minimal .header-mobile-content.header--closed {
		visibility: hidden;
		transform: translateX(100%);
	}

	.rush-site-header--minimal .header-mobile-content.header--open {
		visibility: visible;
		transform: translateX(0);
		z-index: 20;
	}

	.rush-site-header--minimal .header-mobile-content {
		margin-top: var(--rush-nav-h);
	}

	.rush-site-header--minimal.site-header-banner .header-mobile-content {
		margin-top: calc(var(--rush-nav-h) + var(--rush-banner-h));
	}

	.rush-site-header--minimal.site-header-banner.banner-collapsed .header-mobile-content {
		margin-top: var(--rush-nav-h);
	}
}
