/* Content of the property contact Popup Maker popup (theme: Enterprise Blue). */

/* Beige panel with white inputs, like the site's other Gravity Forms (.form-aside-body). */
.pum .pum-container:has(.mc-contact) {
	background-color: #f0ebe4;
}

.mc-contact .gform_wrapper.gravity-theme .gfield textarea.large {
	height: 120px;
}

/* Mirrors the contact page, where the form inherits .wysiwyg link and consent styles. */
.mc-contact .gform_wrapper a {
	color: inherit;
	text-decoration: underline;
}

.mc-contact .ginput_container_consent {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.mc-contact {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
	color: #1b253e;
}

.mc-contact:has(.mc-contact__broker:empty) {
	grid-template-columns: 1fr;
}

.mc-contact__broker {
	align-self: start;
	padding: 24px;
	background: #fff;
	text-align: center;
}

.mc-contact__broker:empty {
	display: none;
}

.mc-contact__photo {
	display: block;
	width: 100%;
	max-width: 150px;
	aspect-ratio: 5 / 6;
	margin: 0 auto 16px;
	object-fit: cover;
	object-position: top;
}

.mc-contact__name,
.mc-contact__title {
	font-family: "Noto Serif Display", serif;
	font-weight: 400;
	color: #1b253e;
}

.mc-contact__name {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.2;
}

.mc-contact__role {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
}

.mc-contact__phone {
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}

.mc-contact__title {
	margin: 0 0 16px;
	font-size: 30px;
	line-height: 1.2;
}

@media (max-width: 767px) {
	.mc-contact {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.mc-contact__broker {
		display: grid;
		grid-template-columns: 64px 1fr;
		column-gap: 16px;
		padding: 16px;
		text-align: left;
	}

	.mc-contact__photo {
		grid-row: span 3;
		margin: 0;
	}

	.mc-contact__name {
		font-size: 20px;
	}

	.mc-contact__role {
		margin-bottom: 4px;
		font-size: 13px;
	}

	.mc-contact__title {
		font-size: 24px;
	}
}
