.property-overview {
	background: var(--wp--preset--color--base);
	padding-block: var(--wp--custom--layout--section-space);
	padding-inline: var(--wp--custom--layout--gutter);
}
.property-overview__inner {
	max-width: 1344px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 648fr 632fr;
	grid-template-areas:
		"intro desc"
		"agent desc";
	column-gap: var(--wp--preset--spacing--r-64);
	row-gap: var(--wp--preset--spacing--r-48);
	align-items: start;
}
.property-overview__intro { grid-area: intro; display: flex; flex-direction: column; }
.property-overview__agent { grid-area: agent; }
.property-overview__desc-col { grid-area: desc; }

.property-overview__heading {
	margin: 0 0 var(--wp--preset--spacing--r-24);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--r-48);
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--contrast);
}
.property-overview__intro { display: flex; flex-direction: column; }
.property-overview__intro .property-overview__heading { margin-bottom: var(--wp--preset--spacing--r-24); }
.property-overview__lead,
.property-overview__desc {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--r-16);
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--muted);
}
.property-overview__lead { margin: 0; }
.property-overview__desc > :first-child { margin-top: 0; }
.property-overview__desc > :last-child { margin-bottom: 0; }
.property-overview__desc h3,
.property-overview__desc h4 {
	margin: 0 0 var(--wp--preset--spacing--r-16);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--r-24);
	line-height: 1.5;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--contrast);
}
.property-overview__desc p { margin: 0 0 var(--wp--preset--spacing--r-16); }

/* ── Карточка маклера — широкая светлая (Figma 188:1215) ───────────── */
/* Рамка — ТОЛЬКО вокруг левого блока; фото стоит справа ВНЕ рамки (Figma 180:795). */
.property-overview__agent {
	display: flex;
	align-items: stretch;
	gap: var(--wp--preset--spacing--r-16);
}
.property-overview__agent-main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--r-32);
	padding: var(--wp--preset--spacing--r-40);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--subtle);
	border-radius: var(--wp--custom--radius--lg, 24px);
}
.property-overview__agent-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--r-18);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	/* Figma: #000 @ opacity .30 (светло-серый) → muted для контраста (a11y). */
	color: var(--wp--preset--color--muted);
}
.property-overview__agent-id { display: flex; flex-direction: column; gap: 8px; }
.property-overview__agent-company {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--r-18);
	color: var(--wp--preset--color--primary); /* Figma #008847 — на белой карточке проходит контраст */
}
.property-overview__agent-name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--r-32);
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--contrast);
}
.property-overview__agent-contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--r-16) var(--wp--preset--spacing--r-40);
}
.property-overview__agent-contacts li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--r-18);
	line-height: 1.5;
	color: var(--wp--preset--color--contrast);
}
.property-overview__agent-contacts a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.property-overview__agent-contacts a:hover { text-decoration: underline; }
.property-overview__agent-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--primary);
	display: grid;
	place-items: center;
}
/* Белый контурный глиф через CSS-mask (SVG из медиатеки — с белой подложкой, invert ломался). */
.property-overview__agent-icon img { display: none; }
.property-overview__agent-icon::before {
	content: "";
	width: 15px;
	height: 15px;
	background: var(--wp--preset--color--on-dark);
	-webkit-mask: var(--_agent-ic) center / contain no-repeat;
	mask: var(--_agent-ic) center / contain no-repeat;
}
.property-overview__agent-icon--phone {
	--_agent-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.property-overview__agent-icon--email {
	--_agent-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}
.property-overview__agent-icon--location {
	--_agent-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.property-overview__agent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.property-overview__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	height: 48px;
	padding-inline: 24px;
	border-radius: var(--wp--custom--radius--pill);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--r-16);
	text-decoration: none;
	transition: opacity var(--wp--custom--transition--fast), background var(--wp--custom--transition--fast), color var(--wp--custom--transition--fast);
}
.property-overview__btn--solid {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-dark);
}
.property-overview__btn--solid:hover { opacity: 0.88; }
.property-overview__btn--ghost {
	border: 1px solid var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
}
.property-overview__btn--ghost:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--on-dark);
}
.property-overview__agent-photo {
	flex: 0 0 clamp(260px, 24vw, 316px);
	align-self: stretch;
	min-height: 300px;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg, 24px);
}
.property-overview__agent-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1024px) {
	.property-overview__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"intro"
			"desc";
		row-gap: var(--wp--preset--spacing--r-48);
	}
}
@media (max-width: 782px) {
	.property-overview__heading { font-size: var(--wp--preset--font-size--r-40); }
	.property-overview__agent {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: var(--wp--preset--spacing--r-16);
	}
	.property-overview__agent-main { padding: var(--wp--preset--spacing--r-24); }
	.property-overview__agent-photo { flex-basis: auto; min-height: 260px; }
	.property-overview__agent-contacts { flex-direction: column; gap: var(--wp--preset--spacing--r-16); }
	.property-overview__agent-actions { flex-wrap: wrap; }
	.property-overview__agent-name { font-size: var(--wp--preset--font-size--r-24); }
}

/* Одиночные режимы (Domig 188:1001: описание и Makler-карточка раздельно). */
.property-overview--description .property-overview__inner{grid-template-columns:1fr 1fr;grid-template-areas:"head head" "intro desc"}
.property-overview__heading--full{grid-area:head}
.property-overview--no-intro .property-overview__inner{grid-template-areas:"head head" "desc desc"}
.property-overview--agent .property-overview__inner{display:block;grid-template-columns:none;grid-template-areas:none;max-width:1344px;margin:0 auto}
@media(max-width:782px){.property-overview--description .property-overview__inner{grid-template-columns:1fr;grid-template-areas:"head" "intro" "desc"}}
