/* Contact page template. Loaded only when contact-page.php is selected. */
body.page-template-contact-page {
	background: #f0f1ff;
}

body.page-template-contact-page .main-header--dark,
body.page-template-contact-page .main-header--dark .site-header {
	background: transparent !important;
}

body.page-template-contact-page .main-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

body.admin-bar.page-template-contact-page .main-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

body.page-template-contact-page .main-header--dark .primary-menu > li > a {
	color: rgba(255, 255, 255, .75);
}

body.page-template-contact-page .main-header--dark .primary-menu > li > a:hover {
	color: #fff;
}

body.page-template-contact-page .main-header--dark .header-auth-link {
	border-color: rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .04);
	color: #fff;
}

.contact-page { overflow: hidden; }

.contact-hero {
	position: relative;
	height: clamp(560px, 51.12vw, 736px);
	overflow: hidden;
	background: #000;
	color: #fff;
}

.contact-hero__image {
	position: absolute;
	top: 0;
	right: -15px;
	width: 76.5%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.contact-hero__inner {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 40px 93px;
}

.contact-hero__content {
	width: 360px;
	margin-right: auto;
	margin-left: 112px;
	font-size: 15px;
	line-height: 1.55;
}

.contact-hero__content h1,
.contact-hero__content h2,
.contact-hero__content h3 {
	margin: 0 0 24px;
	font-size: 25px;
	line-height: 1.55;
}

.contact-hero__content p { margin: 0; }
.contact-hero__content p + p { margin-top: 12px; }
.contact-hero__content > p:first-child {
	margin-bottom: 24px;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.55;
}

.contact-main {
	min-height: 690px;
	background: #f0f1ff;
	color: #17191f;
}

.contact-main__inner {
	display: grid;
	grid-template-columns: minmax(0, 670px) 400px;
	justify-content: space-between;
	gap: 90px;
	padding: 72px 62px 130px;
}

.contact-form {
	width: 100%;
	min-width: 0;
}

/* Gravity Forms keeps its own title and description in this area. */
body.page-template-contact-page .contact-form .gform_wrapper,
body.page-template-contact-page .contact-form .gform_wrapper form,
body.page-template-contact-page .contact-form .gform_wrapper input,
body.page-template-contact-page .contact-form .gform_wrapper select,
body.page-template-contact-page .contact-form .gform_wrapper textarea,
body.page-template-contact-page .contact-form .gform_wrapper button {
	font-family: UtoTimes, sans-serif !important;
}

body.page-template-contact-page .contact-form .gform_wrapper,
body.page-template-contact-page .contact-form .gform_wrapper form,
body.page-template-contact-page .contact-form .gform-body {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.page-template-contact-page .contact-form .gform_heading { margin: 0 0 34px; }
body.page-template-contact-page .contact-form .gform_title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.55;
}
body.page-template-contact-page .contact-form .gform_description {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 2;
}
body.page-template-contact-page .contact-form .gform_fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px 16px;
	width: 100%;
	min-width: 0;
}
body.page-template-contact-page .contact-form .gfield,
body.page-template-contact-page .contact-form .ginput_container {
	min-width: 0;
}
body.page-template-contact-page .contact-form .gfield_label {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.7;
	font-family: 'UtoTimes';
}
body.page-template-contact-page .contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.page-template-contact-page .contact-form select,
body.page-template-contact-page .contact-form textarea {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	border: 1px solid #d9dce7;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #17191f;
	font-size: 13px;
	line-height: 1.8;
}
body.page-template-contact-page .contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.page-template-contact-page .contact-form select {
	height: 50px;
	min-height: 50px;
}
body.page-template-contact-page .contact-form textarea {
	height: 240px !important;
	min-height: 240px;
	resize: vertical;
}
body.page-template-contact-page .contact-form .gform_footer {
	display: flex;
	justify-content: flex-start;
	margin: 10px 0 0;
	padding: 0;
}
body.page-template-contact-page .contact-form .gform_button,
body.page-template-contact-page .contact-form input[type="submit"] {
	width: auto;
	min-width: 104px;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: #d7d9e4;
	color: #565a64;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.contact-details {
	align-self: start;
	margin-top: 42px;
	padding: 5px 20px;
	background: rgba(231, 234, 248, .72);
}

.contact-details__item {
	min-height: 78px;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 15px;
	padding: 13px 0;
	border-bottom: 1px solid #d8dbe7;
}

.contact-details__item:last-child { border-bottom: 0; }
.contact-details__item svg {width: 32px;height: 32px;}
.contact-details__item:first-child svg { fill: #272b35; stroke: none; }
.contact-details__icon-dot { fill: #272b35; stroke: none; }
.contact-details__item div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-details__item strong { font-size: 13px; font-weight: 500; }
.contact-details__item a,
.contact-details__item span { color: #30343d; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }

@media (max-width: 900px) {
	.contact-hero__inner { padding-right: 40px; padding-left: 40px; }
	.contact-hero__content { width: min(340px, 46vw); margin-left: 0; }
	.contact-main__inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 45px; padding-right: 35px; padding-left: 35px; }
}

@media (max-width: 767px) {
	body.page-template-contact-page .mobile-header--dark { position: absolute; top: 0; right: 0; left: 0; z-index: 10; height: 56px; background: transparent; color: #fff; border: 0; }
	body.admin-bar.page-template-contact-page .mobile-header { top: var(--wp-admin--admin-bar--height, 46px); }
	.contact-hero { height: 495px; }
	.contact-hero__image { top: 52px; right: -80px; width: max(190%, 700px); max-width: none; height: auto; object-fit: contain; }
	.contact-hero__inner { align-items: flex-start; padding: 93px 14px 0; }
	.contact-hero__content { width: 100%; margin: 0; text-align: right; font-size: 14px; line-height: 1.5; }
	.contact-hero__content h1,
	.contact-hero__content h2,
	.contact-hero__content h3 { margin-bottom: 14px; font-size: 19px; }
	.contact-hero__content p { max-width: 345px; }
	.contact-hero__content > p:first-child { margin-bottom: 14px; font-size: 19px; }
	.contact-main { min-height: 0; }
	.contact-main__inner { display: flex; flex-direction: column; gap: 42px; padding: 30px 14px 74px; }
	body.page-template-contact-page .contact-form .gform_heading { margin-bottom: 27px; }
	body.page-template-contact-page .contact-form .gform_title { margin-bottom: 8px; font-size: 17px; }
	body.page-template-contact-page .contact-form .gform_description { font-size: 11px; line-height: 1.9; }
	body.page-template-contact-page .contact-form .gform_fields {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 16px;
		column-gap: 0;
	}
	body.page-template-contact-page .contact-form .gfield {
		grid-column: 1 / -1 !important;
	}
	body.page-template-contact-page .contact-form .gfield_label { margin-bottom: 6px; font-size: 10px; }
	body.page-template-contact-page .contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
	body.page-template-contact-page .contact-form select { height: 44px; min-height: 44px; font-size: 11px; }
	body.page-template-contact-page .contact-form textarea { height: 180px !important; min-height: 180px; font-size: 11px; }
	body.page-template-contact-page .contact-form .gform_footer { margin-top: 8px; }
	body.page-template-contact-page .contact-form .gform_button,
	body.page-template-contact-page .contact-form input[type="submit"] {
		min-width: 88px;
		height: 34px;
		min-height: 34px;
		padding: 0 10px;
		font-size: 9px;
	}
	.contact-details { order: 2; width: 100%; margin: 0; padding: 2px 13px; }
	.contact-details__item { min-height: 70px; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
	.contact-details__item svg { width: 29px; height: 29px; }
	.contact-details__item strong { font-size: 11px; }
	.contact-details__item a,
	.contact-details__item span { font-size: 11px; }
}
