/**
 * United Stage Orbit footer — Figma Footer2 (node 331:5635).
 */

.us-orbit-footer,
.us-orbit-footer.cabb-orbit-footer {
	margin-top: 0;
	margin-block-start: 0;
	border-top: 0;
	background: var(--wp--preset--color--offwhite, #f5f2ed);
	color: var(--wp--preset--color--primary, #000);
}

.us-orbit-footer__inner {
	display: flex;
	flex-direction: column;
	gap: var(--us-orbit-section-gap, 3.75rem);
	padding-block: 5rem;
}

.us-orbit-footer__headline {
	margin: 0;
	max-width: 680px;
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.1;
	color: var(--wp--preset--color--primary, #000);
	font-kerning: normal;
	touch-action: pan-y;
}

.us-orbit-footer__headline-word {
	display: inline-block;
	white-space: nowrap;
}

.us-orbit-footer__headline-char {
	display: inline;
	color: inherit;
	transition: color 150ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
	html:not(.us-orbit-easter-fade) .us-orbit-footer__headline-char:not(.us-orbit-footer__headline-char--space):hover {
		color: var(--us-theme-accent, var(--wp--preset--color--orange, #f89626));
		transition-duration: 0s;
	}
}

html.us-orbit-easter-fade .us-orbit-footer__headline-char {
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.us-orbit-footer__headline-char {
		transition: none;
	}
}

.us-orbit-footer__headline-char--space {
	pointer-events: none;
}

/* Figma Footer2: 680px total, three equal columns (label | links | contact). */
.us-orbit-footer__layout {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(7rem, 1fr) minmax(7rem, 1fr) minmax(7rem, 1fr);
	gap: 3rem;
	align-items: start;
	width: 100%;
	max-width: 680px;
}

.us-orbit-footer__rows {
	display: grid;
	grid-column: 1 / 3;
	grid-template-columns: subgrid;
	gap: 0;
	max-width: none;
	min-width: 0;
}

.us-orbit-footer__aside {
	display: flex;
	grid-column: 3;
	grid-row: 1;
	flex-direction: column;
	gap: 1.5rem;
	align-self: stretch;
	min-width: 0;
	max-width: none;
	padding-top: 0;
}

.us-orbit-footer__market-col {
	margin-top: auto;
}

.us-orbit-footer__row {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: subgrid;
	align-items: start;
	padding-block: 1.25rem;
}

.us-orbit-footer__rows > .us-orbit-footer__row:first-child {
	padding-top: 0;
}

.us-orbit-footer__rows > .us-orbit-footer__row:last-child {
	padding-bottom: 0;
}

.us-orbit-footer__label {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.22;
	text-transform: uppercase;
	color: var(--us-theme-text, #363636);
}

.us-orbit-footer__label-link {
	display: inline-block;
	color: inherit;
	text-decoration: none;
}

.us-orbit-footer__label-link:hover,
.us-orbit-footer__label-link:focus {
	color: var(--wp--preset--color--primary, #000);
	text-decoration: underline;
	text-decoration-thickness: var(--us-link-underline-thickness, 0.2rem);
	text-underline-offset: var(--us-link-underline-offset, 0.3rem);
	text-decoration-color: currentColor;
}

.us-orbit-footer__info-list,
.us-orbit-footer__social-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.us-orbit-footer__info-link,
.us-orbit-footer__social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0;
	color: var(--wp--preset--color--primary, #000);
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.us-orbit-footer__info-link:hover,
.us-orbit-footer__info-link:focus,
.us-orbit-footer__social-link:hover,
.us-orbit-footer__social-link:focus {
	color: var(--wp--preset--color--primary, #000);
	text-decoration: underline;
	text-decoration-thickness: var(--us-link-underline-thickness, 0.2rem);
	text-underline-offset: var(--us-link-underline-offset, 0.3rem);
	text-decoration-color: currentColor;
}

.us-orbit-footer__info-link--arrow {
	font-weight: 700;
	gap: 0.35rem;
}

.us-orbit-footer__info-link--arrow::after {
	content: ">";
	font-weight: 700;
	line-height: 1;
}

.us-orbit-footer__chevron {
	display: block;
	width: 0.375rem;
	height: 0.75rem;
	flex: 0 0 auto;
	background-color: currentColor;
	mask: url("../images/icon-angle-right.svg") center / contain no-repeat;
	-webkit-mask: url("../images/icon-angle-right.svg") center / contain no-repeat;
}

.us-orbit-footer__contact-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.us-orbit-footer__contact-intro {
	margin: 0;
	max-width: 11.6875rem;
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
}

.us-orbit-footer__contact-details {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.us-orbit-footer__contact-link {
	color: var(--wp--preset--color--primary, #000);
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: var(--wp--preset--font-size--link, 1rem);
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.us-orbit-footer__contact-link:hover,
.us-orbit-footer__contact-link:focus {
	color: var(--wp--preset--color--primary, #000);
	text-decoration: underline;
	text-decoration-thickness: var(--us-link-underline-thickness, 0.2rem);
	text-underline-offset: var(--us-link-underline-offset, 0.3rem);
	text-decoration-color: currentColor;
}

.us-orbit-footer__copyright {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wp--preset--color--primary, #000);
}

.us-orbit-footer__market-switcher {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.us-orbit-footer__market-col {
	min-width: 0;
	width: 100%;
}

.us-orbit-footer__market {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	border: 0;
	border-bottom: 2px solid var(--wp--preset--color--primary, #000);
	padding: 0.5rem 0;
	background: transparent;
	color: inherit;
	cursor: default;
	text-align: left;
}

.us-orbit-footer__market-switcher .us-orbit-footer__market {
	cursor: pointer;
	transition: var(--us-hover-transition);
}

.us-orbit-footer__market-switcher .us-orbit-footer__market:hover,
.us-orbit-footer__market-switcher .us-orbit-footer__market:focus-visible,
.us-orbit-footer__market-switcher .us-orbit-footer__market[aria-expanded="true"] {
	color: var(--us-theme-accent, var(--wp--preset--color--orange, #f89626));
	border-bottom-color: var(--wp--preset--color--primary, #000);
	outline: none;
}

.us-orbit-footer__market-switcher .us-orbit-footer__market-chevron {
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.us-orbit-footer__market-switcher .us-orbit-footer__market[aria-expanded="true"] .us-orbit-footer__market-chevron {
	transform: rotate(-90deg);
}

.us-orbit-footer__market-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: auto;
	min-width: 100%;
	box-sizing: border-box;
	margin: -2px 0 0;
	padding: 1rem;
	border: 2px solid var(--wp--preset--color--primary, #000);
	background: var(--wp--preset--color--offwhite, #f5f2ed);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--us-hover-duration, 0.28s) var(--us-hover-ease, ease-out),
		visibility var(--us-hover-duration, 0.28s) var(--us-hover-ease, ease-out);
}

.us-orbit-footer__market-list.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.us-orbit-footer__market-list[hidden] {
	display: none;
}

.us-orbit-footer__market-list.is-open[hidden] {
	display: flex;
}

.us-orbit-footer__market-option {
	display: block;
	padding: 0;
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.75rem;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary, #000);
	text-decoration: none;
	white-space: nowrap;
}

.us-orbit-footer__market-option:hover,
.us-orbit-footer__market-option:focus {
	color: var(--wp--preset--color--primary, #000);
	text-decoration: underline;
	text-decoration-thickness: var(--us-link-underline-thickness, 0.2rem);
	text-underline-offset: var(--us-link-underline-offset, 0.3rem);
	text-decoration-color: currentColor;
}

.us-orbit-footer__info-link.us-orbit-footer__cookie-preferences {
	cursor: pointer;
}

/* Hide Complianz floating manage-consent button; footer link replaces it. */
#cmplz-manage-consent .cmplz-manage-consent {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.us-orbit-footer__nav .us-orbit-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.us-orbit-footer__nav .us-orbit-footer__menu > li > a {
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wp--preset--color--primary, #000);
	text-decoration: none;
}

.us-orbit-footer__nav .us-orbit-footer__menu .sub-menu {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.us-orbit-footer__nav .us-orbit-footer__menu .sub-menu a {
	display: inline-flex;
	padding: 0.375rem 0;
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	color: var(--wp--preset--color--primary, #000);
	text-decoration: none;
}

.us-orbit-footer__nav .us-orbit-footer__menu a:hover,
.us-orbit-footer__nav .us-orbit-footer__menu a:focus {
	color: var(--wp--preset--color--primary, #000);
	text-decoration: underline;
	text-decoration-thickness: var(--us-link-underline-thickness, 0.2rem);
	text-underline-offset: var(--us-link-underline-offset, 0.3rem);
	text-decoration-color: currentColor;
}

.us-orbit-footer__market-label {
	font-family: var(--wp--preset--font-family--heading, "stolzl", sans-serif);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

.us-orbit-footer__market-chevron {
	display: block;
	width: 0.625rem;
	height: 1.25rem;
	flex: 0 0 auto;
	background-color: currentColor;
	mask: url("../images/icon-angle-right.svg") center / contain no-repeat;
	-webkit-mask: url("../images/icon-angle-right.svg") center / contain no-repeat;
	transform: rotate(90deg);
}

.us-orbit-footer__wordmark-link {
	display: inline-flex;
	align-items: flex-start;
	max-width: 45.456875rem;
	/* Flex gap + margin = 2× section gap above the wordmark. */
	margin-top: var(--us-orbit-section-gap, 3.75rem);
	color: inherit;
	text-decoration: none;
	touch-action: pan-y;
}

.us-orbit-footer__wordmark-link .custom-logo-link {
	display: inline-flex;
}

.us-orbit-footer__wordmark,
.us-orbit-footer__wordmark-link .custom-logo,
.us-orbit-footer__wordmark-svg {
	display: block;
	width: 100%;
	max-width: 45.456875rem;
	height: auto;
	max-height: 4.5rem;
	object-fit: contain;
	object-position: left center;
	overflow: visible;
	contain: layout style paint;
}

.us-orbit-footer a:hover:not(.us-orbit-footer__market-option),
.us-orbit-footer a:focus:not(.us-orbit-footer__market-option) {
	color: var(--wp--preset--color--primary, #000);
}

.us-orbit-footer__group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.us-orbit-footer__group .us-orbit-footer__market-col {
	width: min(100%, 13.75rem);
	margin-top: 0;
}

@media (max-width: 64rem) {
	.us-orbit-footer__inner {
		gap: var(--us-orbit-section-gap, 3.75rem);
		padding-block: 3rem 2.5rem;
	}

	.us-orbit-footer__headline {
		max-width: none;
	}

	.us-orbit-footer__layout {
		display: flex;
		flex-direction: column;
		gap: 2rem;
		max-width: none;
	}

	.us-orbit-footer__rows {
		display: flex;
		flex-direction: column;
		grid-column: auto;
		grid-row: auto;
		grid-template-columns: none;
		width: 100%;
	}

	.us-orbit-footer__row {
		display: grid;
		grid-column: auto;
		grid-template-columns: 1fr;
		gap: 0.5rem;
		padding-block: 0;
	}

	.us-orbit-footer__rows > .us-orbit-footer__row + .us-orbit-footer__row {
		padding-top: 1.5rem;
	}

	.us-orbit-footer__aside {
		grid-column: auto;
		grid-row: auto;
		width: 100%;
		align-self: auto;
	}

	.us-orbit-footer__market-col {
		margin-top: 0;
	}

	.us-orbit-footer__contact-col {
		gap: 1rem;
	}

	.us-orbit-footer__contact-intro {
		max-width: none;
	}
}

@media (max-width: 40rem) {
	.us-orbit-footer__row--split {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}
}
