/**
 * COMTOP Contact Us page.
 * Scoped to page 4439 through comtop-contact-redesign.
 */

body.comtop-contact-redesign {
	--comtop-contact-bg: #f6f8fb;
	--comtop-contact-surface: #fff;
	--comtop-contact-navy: #001b43;
	--comtop-contact-text: #26344a;
	--comtop-contact-muted: #6b778b;
	--comtop-contact-border: #dce3ec;
	--comtop-contact-orange: #ff7a1a;
	--comtop-contact-orange-soft: #fff1e7;
	--comtop-contact-container: 1270px;
	background: var(--comtop-contact-bg);
}

body.comtop-contact-redesign .main-page-wrapper {
	padding-top: 0;
	background: var(--comtop-contact-bg);
}

body.comtop-contact-redesign #main-content.content-layout-wrapper {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

body.comtop-contact-redesign #main-content > .site-content,
body.comtop-contact-redesign #post-4439 {
	width: 100%;
}

body.comtop-contact-redesign .comtop-contact-page,
body.comtop-contact-redesign .comtop-contact-page * {
	box-sizing: border-box;
}

.comtop-contact-page {
	color: var(--comtop-contact-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.comtop-contact-page h1,
.comtop-contact-page h2,
.comtop-contact-page p {
	margin: 0;
}

.comtop-contact-page h1,
.comtop-contact-page h2 {
	color: var(--comtop-contact-navy);
	font-family: "Avenir Next", "Söhne", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.1;
}

.comtop-contact-container {
	width: min(100%, var(--comtop-contact-container));
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 42px);
}

.comtop-contact-hero {
	position: relative;
	min-height: clamp(410px, 53vw, 630px);
	overflow: hidden;
	background: var(--comtop-contact-navy);
	color: var(--comtop-contact-surface);
}

.comtop-contact-hero > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.comtop-contact-hero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 27, 67, .95) 0%, rgba(0, 27, 67, .66) 36%, rgba(0, 27, 67, 0) 72%);
	content: "";
}

.comtop-contact-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: inherit;
	align-items: center;
}

.comtop-contact-hero-copy {
	width: min(100%, 580px);
	max-width: 580px;
	min-width: 0;
}

.comtop-contact-eyebrow,
.comtop-contact-panel-title > p {
	color: var(--comtop-contact-orange);
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.comtop-contact-hero .comtop-contact-eyebrow {
	margin-bottom: 18px;
}

.comtop-contact-hero h1 {
	color: #fff;
	font-size: clamp(48px, 7vw, 80px);
	letter-spacing: -.05em;
}

.comtop-contact-hero-copy > p:last-child {
	max-width: 50ch;
	margin-top: 20px;
	color: rgba(255, 255, 255, .78);
	font-size: clamp(17px, 2vw, 20px);
}

.comtop-contact-main {
	padding-block: clamp(66px, 9vw, 112px);
}

.comtop-contact-grid {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: clamp(48px, 8vw, 112px);
	align-items: start;
}

.comtop-contact-grid > * {
	min-width: 0;
}

.comtop-contact-panel-title {
	margin-bottom: 32px;
}

.comtop-contact-panel-title > p {
	margin-bottom: 12px;
	color: var(--comtop-contact-muted);
	letter-spacing: .12em;
}

.comtop-contact-panel-title h2 {
	font-size: clamp(32px, 4.3vw, 49px);
	letter-spacing: -.04em;
}

.comtop-contact-list {
	display: grid;
	border-top: 2px solid var(--comtop-contact-text);
}

.comtop-contact-item {
	display: grid;
	min-height: 74px;
	grid-template-columns: 42px 1fr;
	gap: 16px;
	align-items: center;
	border-bottom: 1px solid var(--comtop-contact-border);
}

.comtop-contact-icon {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	color: var(--comtop-contact-orange);
}

.comtop-contact-icon i {
	width: 24px;
	font-size: 22px;
	line-height: 1;
	text-align: center;
}

.comtop-contact-item small {
	display: block;
	color: var(--comtop-contact-muted);
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 10px;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.comtop-contact-item a,
.comtop-contact-item div > span {
	display: block;
	margin-top: 4px;
	color: var(--comtop-contact-navy);
	font-weight: 750;
	overflow-wrap: anywhere;
}

.comtop-contact-item a:hover {
	color: var(--comtop-contact-orange);
}

.comtop-contact-form-card {
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--comtop-contact-border);
	background: var(--comtop-contact-surface);
	box-shadow: 0 22px 60px rgba(0, 27, 67, .08);
}

.comtop-contact-form .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.comtop-contact-form .wpcf7-form > .wd-grid-g {
	width: 100%;
	grid-column: 1 / -1;
}

.comtop-contact-form .wpcf7-form > .wd-grid-g > div:last-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.comtop-contact-form .wpcf7-form > .wd-grid-g > div:last-child::before {
	color: var(--comtop-contact-muted);
	content: "* Required fields";
	font-size: 12px;
}

.comtop-contact-form .wpcf7-form > p {
	margin: 0;
}

.comtop-contact-form .wpcf7-form > p:nth-of-type(5),
.comtop-contact-form .wpcf7-form > p:nth-of-type(6),
.comtop-contact-form .wpcf7-response-output {
	grid-column: 1 / -1;
}

.comtop-contact-form .wpcf7-form > p:nth-of-type(6) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.comtop-contact-form .wpcf7-form > p:nth-of-type(6)::before {
	color: var(--comtop-contact-muted);
	content: "* Required fields";
	font-size: 12px;
}

.comtop-contact-form label {
	display: block;
	color: var(--comtop-contact-text);
	font-size: 13px;
	font-weight: 750;
}

.comtop-contact-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.comtop-contact-form input:not([type="submit"]),
.comtop-contact-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--comtop-contact-border);
	border-radius: 0;
	background: var(--comtop-contact-bg);
	color: var(--comtop-contact-text);
	box-shadow: none;
}

.comtop-contact-form textarea {
	min-height: 170px;
	resize: vertical;
}

.comtop-contact-form input:not([type="submit"]):focus,
.comtop-contact-form textarea:focus {
	border-color: var(--comtop-contact-orange);
	outline: 2px solid var(--comtop-contact-orange-soft);
}

.comtop-contact-form .wpcf7-submit {
	min-height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 0;
	background: var(--comtop-contact-orange);
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
}

.comtop-contact-form .wpcf7-submit:hover {
	background: #dc5e00;
}

.comtop-contact-form .wpcf7-spinner {
	margin: 12px;
}

.comtop-contact-form .wpcf7-not-valid-tip,
.comtop-contact-form .wpcf7-response-output {
	font-size: 12px;
}

.comtop-contact-visit {
	padding-block: clamp(62px, 8vw, 100px);
	border-top: 1px solid var(--comtop-contact-border);
	background: var(--comtop-contact-surface);
}

.comtop-contact-visit-card {
	display: grid;
	min-height: 390px;
	grid-template-columns: 1.05fr .95fr;
	overflow: hidden;
	background: var(--comtop-contact-navy);
	color: #fff;
}

.comtop-contact-map {
	position: relative;
	min-height: 390px;
	overflow: hidden;
	background: #e5eaf1;
}

.comtop-contact-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: saturate(.65) contrast(1.05);
}

.comtop-contact-visit-copy {
	display: flex;
	padding: clamp(34px, 6vw, 70px);
	flex-direction: column;
	justify-content: center;
}

.comtop-contact-visit-copy h2 {
	margin-top: 14px;
	color: #fff;
	font-size: clamp(34px, 4.6vw, 54px);
	letter-spacing: -.04em;
}

.comtop-contact-visit-copy address {
	margin-top: 20px;
	color: rgba(255, 255, 255, .74);
	font-size: 17px;
	font-style: normal;
	line-height: 1.7;
}

.comtop-contact-visit-copy > a {
	display: inline-flex;
	width: fit-content;
	min-height: 46px;
	margin-top: 28px;
	padding: 0 22px;
	align-items: center;
	background: var(--comtop-contact-orange);
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
}

.comtop-contact-visit-copy > a:hover {
	background: #dc5e00;
	color: #fff;
}

@media (max-width: 820px) {
	.comtop-contact-grid,
	.comtop-contact-visit-card,
	.comtop-contact-form .wpcf7-form {
		grid-template-columns: 1fr;
	}

	.comtop-contact-hero::after {
		background: rgba(0, 27, 67, .74);
	}

	.comtop-contact-form .wpcf7-form > p:nth-of-type(5),
	.comtop-contact-form .wpcf7-form > p:nth-of-type(6),
	.comtop-contact-form .wpcf7-response-output {
		grid-column: auto;
	}

	.comtop-contact-form .wpcf7-form > p:nth-of-type(6) {
		align-items: flex-start;
		flex-direction: column;
	}

	.comtop-contact-form .wd-grid-f-stretch {
		flex-direction: column;
	}

	.comtop-contact-form .wd-grid-f-stretch > .wd-col {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	.comtop-contact-form .wpcf7-form > .wd-grid-g > div:last-child {
		align-items: flex-start;
		flex-direction: column;
	}

	.comtop-contact-map {
		min-height: 300px;
	}

	.comtop-contact-panel-title h2,
	.comtop-contact-hero-copy > p:last-child {
		overflow-wrap: anywhere;
	}
}

@media (prefers-reduced-motion: reduce) {
	.comtop-contact-page *,
	.comtop-contact-page *::before,
	.comtop-contact-page *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
