/* =========================================================
   Contact us - hero
   ========================================================= */

.contact-us {
	font-family: var(--sypn-font);
	color: var(--brand-asphalt-black);
}

.sypn-hero--contact {
	justify-content: flex-end;
	min-height: 0;
	padding: 48px var(--sypn-gutter);
}

.sypn-hero--contact .sypn-hero-media::after {
	background: linear-gradient(to right, var(--brand-asphalt-black) 19.712%, color-mix(in srgb, var(--brand-asphalt-black) 0%, transparent));
}

.sypn-hero--contact h1 {
	margin: 0;
	font-size: 48px;
	line-height: 56px;
}

.sypn-hero--contact p {
	max-width: 664px;
}

/* =========================================================
   Contact us - cards
   ========================================================= */

.contact-page {
	padding: 40px var(--sypn-gutter);
}

.contact-page .umb-block-grid {
	--umb-block-grid--row-gap: var(--sypn-space-md);
}

.contact-card {
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: var(--sypn-space-xxs);
	height: 100%;
	padding: var(--sypn-space-sm);
	border: 1px solid var(--brand-charcoal-25);
	border-radius: var(--sypn-radius-md);
	background: var(--neutral-white);
	color: var(--brand-asphalt-black);
	font-family: var(--sypn-font);
}

.contact-card--grey {
	border-color: var(--brand-charcoal-50);
	background: var(--brand-charcoal-25);
}

.contact-card__head {
	display: flex;
	align-items: center;
	gap: var(--sypn-space-xs);
}

.contact-card__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--sypn-radius-md);
	background: var(--brand-asphalt-black);
	color: var(--neutral-white);
}

.contact-card__icon .material-symbols-outlined {
	font-size: 24px;
}

.contact-card__heading {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}

.contact-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--sypn-space-xs);
}

.contact-card__text {
	font-size: 16px;
	line-height: 24px;
}

.contact-card__text > * {
	margin: 0;
}

.contact-card__text > * + * {
	margin-top: var(--sypn-space-xxs);
}

.contact-card__text a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

.contact-card__buttons {
	display: flex;
	gap: var(--sypn-space-xs);
}

.contact-card__body > .contact-card__buttons:last-child {
	margin-top: auto;
}

.contact-card__buttons .sypn-btn {
	flex: 1 1 0;
	min-width: 0;
}

.contact-card--wide .contact-card__buttons .sypn-btn,
.contact-card__buttons .sypn-btn--link {
	flex: 0 0 auto;
}

/* ---------- Phone number ---------- */

.contact-phone > * {
	margin: 0;
}

.contact-phone__number {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}

.contact-phone__number a {
	color: inherit;
	text-decoration: none;
}

.contact-phone__number a:hover {
	text-decoration: underline;
}

.contact-phone__caption {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.contact-phone__options {
	display: flex;
	flex-direction: column;
	gap: var(--sypn-space-xxs);
	margin-top: 12px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 20px;
}

.contact-phone__options li {
	display: flex;
	align-items: flex-start;
	gap: var(--sypn-space-xs);
}

.contact-phone__key {
	flex-shrink: 0;
	min-width: 64px;
	padding: 2px 8px;
	border-radius: var(--sypn-radius-md);
	background: var(--brand-charcoal-25);
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.contact-card--grey .contact-phone__key {
	background: var(--neutral-white);
}

.contact-phone__option {
	padding-top: 2px;
	color: var(--brand-asphalt-black-75);
}

.contact-phone__hours {
	display: flex;
	gap: 4px;
	margin-top: var(--sypn-space-xs);
	font-size: 14px;
	line-height: 20px;
}

.contact-phone__hours > div {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	column-gap: var(--sypn-space-xxs);
}

.contact-phone__hours dt {
	font-weight: 400;
}

.contact-phone__hours dd {
	margin: 0;
	font-weight: 700;
}

.contact-phone__note {
	margin-top: var(--sypn-space-xxs);
	font-size: 14px;
	line-height: 20px;
}

/* ---------- Social links ---------- */

.contact-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 19px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-socials__link {
	display: flex;
	padding: 4px;
	border-radius: var(--sypn-radius-sm);
	color: var(--brand-asphalt-black);
}

.contact-socials__link:hover {
	color: var(--brand-asphalt-black-75);
}

.contact-socials__link:focus-visible {
	outline: var(--sypn-focus-outline);
	outline-offset: 0;
	box-shadow: var(--sypn-focus-ring);
}

.contact-socials__link svg {
	width: 32px;
	height: 32px;
}

/* ---------- Narrow cards (phones, and half-width cards on tablets) ---------- */

@container (max-width: 479.98px) {
	.contact-card__head {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sypn-space-xxs);
	}

	.contact-card__heading {
		font-size: 20px;
		line-height: 28px;
	}

	.contact-card__buttons {
		flex-direction: column;
		gap: var(--sypn-space-xxs);
	}

	.contact-card__buttons .sypn-btn {
		flex: none;
	}

	.contact-card--wide .contact-card__buttons {
		align-items: flex-start;
		gap: var(--sypn-space-xs);
	}

	.contact-card__buttons .sypn-btn--link {
		align-self: flex-start;
	}

	.contact-phone__number {
		font-size: 24px;
		line-height: 32px;
	}
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 991.98px) {
	.sypn-hero--contact .sypn-hero-media::after {
		background: linear-gradient(to bottom, color-mix(in srgb, var(--brand-asphalt-black) 30%, transparent) 25%, var(--brand-asphalt-black));
	}

	.sypn-hero--contact h1 {
		font-size: 40px;
		line-height: 48px;
	}

	.sypn-hero--contact p {
		max-width: none;
	}
}

@media (max-width: 767.98px) {
	.contact-page {
		padding: var(--sypn-space-xs) var(--sypn-gutter) var(--sypn-space-md);
	}

	.contact-page .umb-block-grid {
		--umb-block-grid--row-gap: var(--sypn-space-sm);
	}
}
