/*
Theme Name: PropertyClear PRO
Theme URI: https://propertyclear.ru
Author: Alexander Astakhov
Author URI: https://kvadrio.ru/
Description: Тема для сайтов новостроек: каталог ЖК и корпусов, цены, планировки, карты и заявки. Встроенные инструменты редактора: УТП на проверяемых фактах и справочник из 165 УТП — без обязательных плагинов. Последние обновления: справочники корректировок адресов по территориям, локальные исключения, импорт и экспорт JSON; стартовые справочники Новосибирска, Москвы, Санкт-Петербурга и южного фида (Краснодар, Сочи и другие города).
Version: 1.13.9
Changelog:
1.13.9 - Automatic stable anchors for analytical article headings
1.13.8 - Environment-aware WP-CLI commands with the current WordPress path and selected feed file
1.13.7 - Resilient two-phase imports, deferred local hero sync and searchable SEO image metadata
1.13.6 - Current-first import feed selection and duplicate-free SEO/social metadata
1.13.5 - Dynamic editorial property card block with complex and building search
1.13.4 - Named import logs, live latest report, fixed downloads and rich news clipboard export with complex links
1.13.3 - Bundled Saint Petersburg and southern-feed address dictionaries with portable rules and review reports
1.13.2 - Retire HD hero thumbnails and exclude existing HD derivatives from responsive images; document black-image recovery
1.13.1 - Bundled Moscow address dictionary with verified New Moscow districts and source-scoped settlement corrections
1.13.0 - Portable territory address dictionaries, local overrides, previewed JSON import/export, batched address reapplication and corrected admin menu links
1.12.0 - Full-feed catalog availability sync, preserved unavailable-object pages, admin visibility filters, batched cleanup and unavailable-house display fixes
1.11.5 - Separate reliable-developer OR completed-complex catalog with scoped location filters and pagination
1.11.4 - Inline editor guide in the built-in UTP reference library
1.11.3 - Theme-owned UTP reference library for WordPress editors
1.11.2 - Conditional sticky building navigation, top anchors and clearer price-table heading
1.11.1 - Render UTP insight positions consistently on individual building pages
1.11.0 - Evidence-backed UTP editor, configurable emotional insight blocks and per-complex display overrides
1.10.0 - Switchable design palettes, installable brand-skin architecture and Green Flag Moscow skin
1.9.11 - Managed SmartCaptcha lifecycle for multiple modal and inline forms
1.9.10 - Reliable badges are developer-only; default ordering is neutral and completed-first is optional
1.9.9 - Reliable developer registry, configurable reliable badge and reliable-complex catalog priority
1.9.8 - Restored the custom pixel field and built-in head output with legacy plugin compatibility
1.9.7 - Restored the editable footer widget area while preserving the footer navigation menu
1.9.6 - Compact home and catalog layouts, unified lead modal CTA, catalog anchor, framed complex pages and sticky navigation above maps
1.9.5 - Catalogs are assigned through page templates and use the selected pages' titles and permalinks
1.9.4 - Pinned catalogs, newbuild-focused home results, client-listing exclusives and 15/24/48 pagination
1.9.3 - Added an editable home page hero title to the WordPress Customizer
1.9.2 - Manual client listings, unified search, import-safe locations and optimized JPEG/PNG/HEIC Media Library uploads with WebP conversion
1.9.1 - Consolidated Customizer sections, removed dead controls, fixed SmartCaptcha configuration, header search preview, logo support and analytics consent events
1.9.0 - Aggregated ЖК cards in catalogs and search, dedicated complex pages, house comparison, shared prices and multi-marker maps
1.8.17 - Hybrid importer: WP-CLI locking, feed hashes, one shared local hero per ЖК, remote CDN galleries
1.8.16 - Added 10/20/50 result limits and numbered pagination for property catalogs and search
1.8.15 - Fixed missing 2E and 3E prices in catalog cards affecting price sorting
1.8.14 - PPC-режим каталога (body.pc-ppc); Быстрые бюджетные фильтры для PPC; Фильтр цены «от» (price_from)
1.8.13 — Version alignment after accidental bump in monorepo.
1.8.11 – Release build generated automatically by PropertyClear Codex pipeline. UI/JS improvements for plan modal.
1.8.10 – Карта ЖК: Leaflet-only, удалены зависимости от Яндекс.Карт, улучшен fallback.
1.8.9 – Карта ЖК: настройки провайдера, Leaflet/Yandex, шорткод и интеграция в single-property.
1.8.8 – Геоданные: импорт/редактирование `block_lat/lon`, `building_lat/lon`, единая мета для карты.
1.8.6 – Sitemap/robots модуль (CLI + admin + auto rebuild после импортов), валидные REST-массивы, фильтр битых изображений.
1.8.5 – REST-схема для массивов `_pc_*` + фильтр битых рендеров (GD decode, EXIF off) при импортe.
1.8.4 – Нормализованный срок сдачи (ярлык «Месяц ГГГГ», timestamp для фильтров), вывод единого формата на карточках/странице ЖК.
1.8.3 – Каталог скрывает пустые типы цен, на single-property обновлены заголовки, подпись прайса и форма «Хочу дополнительную информацию».
1.8.2 – PropertyImport v1.8.2: импорт рендеров (featured + галерея), колонка «Планировка» с попапом, вывод HTML-описания ЖК под таблицей.
1.8.1 – PropertyImport media fix: список полей планировок (_pc_plan_url_*) синхронизирован, importer скачивает реальные изображения (фасады/планы) вместо постоянного fallback, отображение городов/районов в фильтрах обновлено.
1.8.0 - PropertyImport milestone: JSON/CSV импорт (CLI + админка), поля _pc_*, авто‑синхронизация таксономии property_location и фильтров, fallback медиа.
1.7.3 - Security/SMTP baseline - STEP 4
1.7.2 - Security/SMTP baseline - STEP 3, лог безопасности в админке, защита от частых отправок
1.7.0 - Security/SMTP baseline — PHPMailer via SMTP, logs, server-side validation & rate limiting.
1.6.0 - SEO milestone — добавлены динамические Title, Description, OpenGraph и Twitter meta-теги для корректных сниппетов и предпросмотра в соцсетях.
1.5.11 - Performance milestone — cache-busting, lazy-load, WebP, deferred analytics and SmartCaptcha.
1.5.10 - stable release - fix modal window close + replace old button on property page
1.5.9 - feat(form): улучшен дизайн и функционал существующей формы property_form с добавлением modal button шорткода
1.5.8 - Stable release after rollback: working cookie banner + YM verified
1.5.7 - поддержка delayed загрузки GTM, YTM и Яндекс.Метрики через cookie-баннер
1.5.6 - окно с уведомлением пользователей о куках (ФЗ 152, GDRP etc.)
1.5.5 - показ utm и страницы в заявке + форма переведена на ajax (без перезагрузки страницы)
1.5.4 - SmartCaptcha fix (form-encoded request + logging cleanup)
1.5.3 - отправка заявок через smtp
1.5.2 - добавлена стр 404
1.5.1 - изменение ЧПУ для property
1.5.0 — изменение хранения и удаления медиафайлов (новая логика uploads/)
Text Domain: propertyclear-pro
*/

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #f3f3f3;
	color: #333;
}

/* Хлебные крошки */
.breadcrumbs {
	margin: 6px 0 16px;
	font-size: 14px;
	color: #666;
}

.breadcrumbs ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
}

.breadcrumbs li+li::before {
	content: "»";
	/* ›  Single Right-Pointing Angle Quotation Mark */
	margin: 0 6px;
	color: #aaa;
}

.breadcrumbs a {
	color: #555;
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: #000;
	text-decoration: underline;
}

/* Каталог ЖК — стилизация */
.catalog-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.property-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 350px));
	gap: 30px;
	justify-content: center;
	align-items: start;
}

.property-card {
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	/* бейджи/градиент не вылезают */
	background: #fff;
	transition: box-shadow .3s ease;
}

.property-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

/* Блок изображения */
.property-image {
	position: relative;
	line-height: 0;
	background: #f0f0f0;
}

.property-card-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Бейджи поверх фото */
.property-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	z-index: 2;
}

.property-badge {
	display: inline-block;
	padding: 6px 10px;
	font-size: 13px;
	line-height: 1;
	color: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	white-space: nowrap;
}

.badge-pinned {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(43, 50, 59, .82);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
}

.badge-pinned svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	transform: rotate(-35deg);
}

.badge-reliable {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 7px;
	background: transparent;
	overflow: hidden;
}

.badge-reliable__icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 480px) {
	.badge-reliable {
		width: 28px;
		height: 28px;
	}
}

.badge-sales {
	background: #ff5a5f;
}

/* Этапы продаж */
.badge-build {
	background: #1e88e5;
}

/* Состояние стройки */
.badge-promo {
	background: #43a047;
}

/* Акции/условия */

/* Градиент снизу картинки — улучшает читаемость подписи */
.property-image-gradient {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 60px;
	background: linear-gradient(to top, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0));
	z-index: 1;
}

.property-content {
	padding: 20px;
}

.property-title {
	font-size: 20px;
	margin: 0 0 10px;
}

.property-content p,
.property-content ul {
	margin: 5px 0;
	font-size: 15px;
	color: #444;
}

.property-prices ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/*     фильтры город - район на темплейте каталога */
.property-filter {
	margin: 20px 0 30px;
	padding: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: flex-end;
}

.property-filter label {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	color: #333;
}

.property-filter select {
	padding: 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	min-width: 180px;
}

.property-filter button {
	padding: 8px 14px;
	background: #1e88e5;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.property-filter button:hover {
	background: #1565c0;
}

.property-filter select {
	min-width: 220px;
}

.property-filter .pc-results-per-page select {
	min-width: 110px;
}

/* Каталог и поиск: выбор количества результатов и пагинация */
.pc-results-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin: 20px 0 28px;
	padding: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.pc-results-per-page {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 14px;
}

.pc-results-per-page select {
	min-width: 110px;
	padding: 7px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}

.pc-results-controls button {
	padding: 8px 14px;
	border: 0;
	border-radius: 4px;
	background: #1e88e5;
	color: #fff;
	cursor: pointer;
}

.pc-results-controls button:hover {
	background: #1565c0;
}

.pc-results-pagination {
	margin-top: 32px;
}

.pc-results-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pc-results-pagination a.page-numbers,
.pc-results-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d9dde5;
	border-radius: 999px;
	background: #fff;
	color: #1f2937;
	text-decoration: none;
	box-sizing: border-box;
}

.pc-results-pagination a.page-numbers:hover,
.pc-results-pagination a.page-numbers:focus-visible {
	border-color: #1e88e5;
	color: #1565c0;
}

.pc-results-pagination span.page-numbers.current {
	border-color: #1e88e5;
	background: #1e88e5;
	color: #fff;
}

/* Поисковая выдача */
.pc-search-results {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.pc-search-results__count {
	color: #555;
}

.pc-search-results__grid {
	margin-top: 24px;
}

.pc-search-results__title {
	margin-top: 0;
}

.pc-search-results__list {
	display: grid;
	gap: 20px;
}

.pc-search-result {
	display: grid;
	grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
	gap: 20px;
	padding: 18px;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	background: #fff;
}

.pc-search-result__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.pc-search-result__title {
	margin: 0 0 10px;
	font-size: 20px;
}

.pc-search-result__title a {
	color: inherit;
	text-decoration: none;
}

.pc-search-result__title a:hover {
	text-decoration: underline;
}

.pc-search-result__excerpt p {
	margin: 0;
	line-height: 1.55;
}

@media (max-width: 600px) {
	.pc-search-result {
		grid-template-columns: 1fr;
	}
}

/* === начиная с 1.4.0
	Простые стили (можно в assets/css/property.css) - перенести в конце доработки темы
	*/

.property-header {
	margin-bottom: 24px;
}

.property-title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pc-badge--discount {
	background: #e53935;
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
}

.property-hero {
	margin: 16px 0;
	position: relative;
}

.pc-hero-img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.pc-hero-link {
	display: block;
	cursor: zoom-in;
	position: relative;
}

.pc-hero-link--hidden {
	display: none;
}

.property-hero-count {
	position: absolute;
	right: 16px;
	bottom: 16px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 999px;
}

.property-quick {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 8px 16px;
	margin: 16px 0;
}

.property-actions {
	display: flex;
	gap: 12px;
	margin: 16px 0 24px;
}

.pc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 6px;
	text-decoration: none;
}

.pc-btn--primary {
	background: #2b7cff;
	color: #fff;
}

.pc-btn--light {
	background: #f2f4f7;
	color: #222;
}

.pc-table--prices {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0 8px;
}

.pc-table--prices th,
.pc-table--prices td {
	padding: 10px 12px;
	border-bottom: 1px solid #eceff3;
	text-align: left;
}

.pc-table__plan {
	text-align: center;
}

.pc-plan-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	font-weight: 600;
	color: #1e88e5;
	border-radius: 6px;
	border: 1px solid rgba(30, 136, 229, 0.2);
	background: rgba(30, 136, 229, 0.08);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.pc-plan-link:hover {
	background: rgba(30, 136, 229, 0.15);
}

.pc-plan-link--muted {
	color: #a3aebd;
	border-color: transparent;
	background: transparent;
	cursor: default;
}

.pc-note--accent {
	background: #fff6e5;
	color: #8a5a00;
	padding: 10px 12px;
	border-radius: 6px;
}

.pc-price-updated {
	font-size: 12px;
	color: #7a8699;
	margin-top: 6px;
}

.property-contact .pc-form-success {
	background: #e7f7ee;
	color: #066e2f;
	padding: 10px 12px;
	border-radius: 6px;
	margin-bottom: 12px;
}

.property-form .pc-form-row {
	margin-bottom: 10px;
}

.property-form input,
.property-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #dfe3e8;
	border-radius: 6px;
}

.property-form textarea {
	min-height: 110px;
}

.property-contact .pc-btn {
	margin-top: 6px;
}

/* === Single Property Hero Image === */
.property-hero {
	margin: 16px 0;
	position: relative;
}

.pc-hero-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.property-description {
	margin: 32px 0 24px;
	padding: 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.property-description h2 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 24px;
}

.property-description__content>*:first-child {
	margin-top: 0;
}

.property-description__content>*:last-child {
	margin-bottom: 0;
}


/* === Header & Nav (PropertyClear 1.4.0) === */
.site-header {
	background: #fff;
	border-bottom: 1px solid #eee;
}

.site-header__wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-header__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.site-header .site-branding {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-branding img {
	max-height: 48px;
	width: auto;
	height: auto;
}

.site-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.site-title a {
	color: #111;
	text-decoration: none;
}

.site-description {
	margin: 0;
	color: #666;
	font-size: 13px;
}

.site-contacts {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: right;
}

.site-contacts__phone {
	font-size: 16px;
	font-weight: 700;
	color: #111;
}

.site-contacts__meta {
	font-size: 14px;
	color: #555;
}

/* Навигация в шапке */
.main-navigation {
	background: #fff;
	border-top: 1px solid #f3f3f3;
	border-bottom: 1px solid #f3f3f3;
}

.main-navigation .menu,
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 10px 20px;
	display: flex;
	gap: 16px;
	max-width: 1200px;
	margin-inline: auto;
	justify-content: flex-start;
	align-items: center;
}

.main-navigation a {
	color: #222;
	text-decoration: none;
	padding: 6px 8px;
	border-radius: 6px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
	background: #f2f4f7;
}

.main-navigation .menu-item-search {
	flex: 0 1 280px;
	margin-left: auto;
	padding: 0;
}

.main-navigation .menu-item-search .search-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.main-navigation .menu-item-search .search-form__label {
	flex: 1 1 auto;
}

.main-navigation .menu-item-search .search-form__input {
	width: 100%;
	padding: 6px 10px;
	border: 1px solid #e2e6eb;
	border-radius: 6px;
	font-size: 14px;
}

.main-navigation .menu-item-search .search-form__submit {
	padding: 6px 10px;
	border: 1px solid #e2e6eb;
	background: #f7f8fa;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
}

.main-navigation .menu-item-search .search-form__submit:hover {
	background: #eef0f4;
}

@media (max-width: 720px) {
	.main-navigation .menu,
	.main-navigation ul {
		flex-wrap: wrap;
		row-gap: 12px;
	}

	.main-navigation .menu-item-search {
		width: 100%;
		flex: 1 1 100%;
		order: 10;
		margin-left: 0;
	}

	.main-navigation .menu-item-search .search-form {
		width: 100%;
	}

	.main-navigation .menu-item-search .search-form__input {
		font-size: 13px;
		padding: 6px 8px;
	}

	.main-navigation .menu-item-search .search-form__input::placeholder {
		opacity: 0.55;
	}
}

/* Контейнер контента */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 20px;
}

/* === Footer (PropertyClear 1.4.0) === */
.site-footer {
	background: #fff;
	border-top: 1px solid #eee;
}

.site-footer__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 20px 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
	justify-content: space-between;
}

.site-footer__about {
	min-width: 220px;
	max-width: 320px;
}

.site-footer__brand {
	margin: 0 0 6px;
	font-weight: 700;
	font-size: 16px;
	color: #111;
}

.site-footer__text {
	margin: 0;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}

.footer-menu ul {
	list-style: none;
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.footer-menu a {
	color: #444;
	text-decoration: none;
	padding: 4px 6px;
	border-radius: 6px;
}

.footer-menu a:hover {
	color: #111;
	background: #f2f4f7;
}

.footer-widgets {
	flex: 1 1 240px;
	margin: 0;
}

.footer-widgets .widget {
	background: transparent;
	border: none;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
}

.footer-widgets .widget p {
	margin-top: 0;
	margin-bottom: 8px;
}

.site-footer__meta {
	min-width: 200px;
	text-align: right;
	font-size: 13px;
	color: #888;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-end;
}

.site-footer__copy {
	margin: 0;
	color: #666;
	font-size: 14px;
	text-align: right;
}

.site-footer__version {
	font-size: 13px;
	color: #888;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.site-footer__grid {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__meta {
		align-items: flex-start;
		text-align: left;
	}

	.site-footer__copy {
		text-align: left;
	}
}

/* === Single Property Hero Image === */
.property-hero {
	margin: 16px 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.pc-hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.pc-hero-link {
	display: block;
}

/* === Catalog Hero — PROD v1.0 === */
.catalog-hero {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
	margin: 24px auto 32px;
	max-width: 1240px;
}

.catalog-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 32px 40px;
}

.catalog-hero__title {
	margin: 0 0 14px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.15;
	font-weight: 700;
	color: #0f172a;
}

.catalog-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: #475569;
}

.catalog-hero__trust li::before {
	content: "✓";
	margin-right: 6px;
	color: #2563eb;
	font-weight: 700;
}

.catalog-hero__subtitle {
	max-width: 720px;
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 1.6;
	color: #475569;
}

.catalog-hero__cta {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.catalog-hero__button {
	align-self: flex-start;
	padding: 14px 26px;
	border-radius: 10px;
	background: #2563eb;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.catalog-hero__secondary {
	font-size: 14px;
	color: #2563eb;
	text-decoration: underline;
}

.catalog-hero__note {
	font-size: 6px;
	color: #64748b;
}

/* Catalog page (scoped to catalog template) */
.catalog-container .catalog-hero {
	margin: 16px auto 20px;
}

.catalog-container .catalog-hero__inner {
	padding: 28px 24px 28px;
}

.catalog-container .catalog-hero__title {
	margin-bottom: 10px;
}

.catalog-container .catalog-hero__subtitle {
	margin-bottom: 14px;
}

.catalog-container .catalog-hero__cta {
	gap: 10px;
}

.catalog-container .catalog-hero__note {
	font-size: 13px;
	line-height: 1.5;
	color: #1f2937;
}

@media (max-width: 640px) {
	.catalog-container .catalog-hero {
		margin: 12px auto 16px;
	}

	.catalog-container .catalog-hero__inner {
		padding: 22px 20px 22px;
	}
}

/* PPC overrides (yclid / utm_medium) */
body.pc-ppc .breadcrumbs {
	display: none;
}

body.pc-ppc .catalog-container {
	padding-top: 16px;
}

/* Aggregated residential-complex page */
.pc-complex-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 20px 64px;
}

.pc-complex__header,
.pc-complex__section {
	margin-bottom: 32px;
}

.pc-complex__header {
	margin-bottom: 20px;
}

.pc-complex__eyebrow {
	margin: 0 0 6px;
	color: #1e6ee8;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.pc-complex__title {
	margin: 0 0 20px;
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1.08;
}

.pc-complex__hero {
	position: relative;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #e8ecf2;
}

.pc-complex__hero-image {
	display: block;
	width: 100%;
	height: clamp(340px, 58vh, 560px);
	object-fit: cover;
}

.pc-complex__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	margin-top: 18px;
	overflow: hidden;
	border: 1px solid #e0e5ec;
	border-radius: 14px;
	background: #e0e5ec;
}

.pc-complex__facts>div {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 16px 18px;
	background: #fff;
}

.pc-complex__facts span {
	color: #6c7480;
	font-size: 13px;
}

.pc-complex__facts strong {
	font-size: 16px;
	line-height: 1.35;
}

.pc-complex__primary-actions {
	align-items: center;
	margin-bottom: 0;
}

.pc-complex__primary-actions .pc-btn {
	justify-content: center;
	min-height: 46px;
	padding-inline: 20px;
	font-weight: 700;
}

.pc-page-nav {
	position: sticky;
	top: 0;
	z-index: 900;
	display: flex;
	gap: 6px;
	margin: 0 0 24px;
	padding: 8px;
	overflow-x: auto;
	border: 1px solid #dfe5ed;
	border-radius: 14px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 8px 24px rgba(23, 42, 69, .08);
	backdrop-filter: blur(12px);
	scrollbar-width: none;
}

.pc-page-nav::-webkit-scrollbar {
	display: none;
}

.pc-page-nav a {
	flex: 0 0 auto;
	padding: 9px 13px;
	border-radius: 9px;
	color: #344054;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.pc-page-nav a:hover,
.pc-page-nav a:focus-visible {
	background: #eef5ff;
	color: #075fd1;
}

body.admin-bar .pc-page-nav {
	top: 32px;
}

.pc-page-nav__top {
	margin-left: auto;
	min-width: 40px;
	text-align: center;
}

.property-prices,
.property-description,
.property-map-section,
.pc-lead-plans,
.pc-news-content h2[id] {
	scroll-margin-top: 78px;
}

body.admin-bar .property-prices,
body.admin-bar .property-description,
body.admin-bar .property-map-section,
body.admin-bar .pc-lead-plans,
body.admin-bar .pc-news-content h2[id] {
	scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.pc-complex__section {
	scroll-margin-top: 78px;
	padding: 28px;
	border: 1px solid #e5e8ee;
	border-radius: 16px;
	background: #fff;
}

body.admin-bar .pc-complex__section {
	scroll-margin-top: 110px;
}

.pc-complex__section h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 3vw, 32px);
}

.pc-complex__kicker {
	margin: 0 0 5px;
	color: #1266d6;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.pc-complex__section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.pc-complex__section-heading h2 {
	margin: 0;
}

.pc-complex__section-heading span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 9px;
	border-radius: 999px;
	background: #e9f2ff;
	color: #1266d6;
	font-weight: 700;
}

.pc-complex__section-heading--stacked {
	align-items: flex-end;
	justify-content: space-between;
}

.pc-complex__section-heading--stacked > a {
	flex: 0 0 auto;
	margin-bottom: 4px;
	color: #075fd1;
	font-weight: 700;
}

.pc-complex__price-overview {
	border-color: #cfe1fa;
	background: linear-gradient(135deg, #f7fbff 0%, #fff 60%);
}

.pc-complex-price-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}

.pc-complex-price-card {
	display: flex;
	min-height: 138px;
	flex-direction: column;
	justify-content: center;
	padding: 18px;
	border: 1px solid #d8e6f8;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(27, 74, 126, .055);
	color: #1d2939;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pc-complex-price-card:hover,
.pc-complex-price-card:focus-visible {
	transform: translateY(-2px);
	border-color: #8fbeff;
	box-shadow: 0 12px 28px rgba(27, 74, 126, .12);
}

.pc-complex-price-card span {
	margin-bottom: 7px;
	color: #667085;
	font-size: 14px;
}

.pc-complex-price-card strong {
	font-size: clamp(19px, 2.1vw, 25px);
	line-height: 1.16;
}

.pc-complex-price-card small {
	margin-top: 12px;
	color: #075fd1;
	font-weight: 700;
}

.pc-complex__price-caption {
	margin: 14px 0 0;
	color: #69717d;
	font-size: 13px;
}

.pc-complex__section-note {
	margin: -10px 0 20px;
	color: #69717d;
}

.pc-complex-buildings {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}

.pc-building-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #dfe3e9;
	border-radius: 14px;
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease;
}

.pc-building-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(30, 52, 79, .1);
}

.pc-building-card__image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #edf0f4;
}

.pc-building-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-building-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.pc-building-card__content h3 {
	margin: 4px 0 12px;
	font-size: 21px;
	line-height: 1.25;
}

.pc-building-card__label {
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 7px;
	background: #eaf3ff;
	color: #1266d6;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.pc-building-card__content h3 a,
.pc-building-card__link {
	color: #075fd1;
}

.pc-building-card__content p {
	margin: 0 0 12px;
}

.pc-building-card__min-price {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f5f8fc;
}

.pc-building-card__min-price span {
	color: #667085;
	font-size: 12px;
}

.pc-building-card__min-price strong {
	font-size: 20px;
}

.pc-building-card__deadline {
	color: #475467;
	font-size: 14px;
}

.pc-building-card__prices ul {
	margin: 8px 0 18px;
	padding: 0;
	list-style: none;
}

.pc-building-card__prices li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 0;
	border-bottom: 1px solid #edf0f4;
	font-size: 14px;
}

.pc-building-card__prices b {
	text-align: right;
}

.pc-building-card__link {
	margin-top: auto;
	font-weight: 700;
}

.pc-complex__more-buildings {
	margin-top: 22px;
}

.pc-complex__more-buildings > summary,
.pc-complex__description-details > summary {
	display: flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #b9d5fa;
	border-radius: 10px;
	background: #f2f7ff;
	color: #075fd1;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.pc-complex__more-buildings > summary::-webkit-details-marker,
.pc-complex__description-details > summary::-webkit-details-marker {
	display: none;
}

.pc-complex__more-buildings[open] > summary,
.pc-complex__description-details[open] > summary {
	margin-bottom: 22px;
}

.pc-complex__description {
	max-width: 980px;
	margin-inline: auto;
}

.pc-complex__description-preview {
	max-width: 820px;
	margin: 0 0 18px;
	color: #344054;
	font-size: 18px;
	line-height: 1.6;
}

.pc-complex__description-details > div {
	color: #475467;
	line-height: 1.65;
}

.pc-complex__description-details > div > :first-child {
	margin-top: 0;
}

.pc-complex__final-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 34px;
	border-radius: 18px;
	background: linear-gradient(120deg, #0b56b5, #1687ef);
	color: #fff;
}

.pc-complex__final-cta h2 {
	max-width: 760px;
	margin: 0 0 8px;
	font-size: clamp(25px, 3vw, 36px);
	line-height: 1.18;
}

.pc-complex__final-cta p:not(.pc-complex__kicker) {
	margin: 0;
	opacity: .9;
}

.pc-complex__final-cta .pc-complex__kicker {
	color: #d8eaff;
}

.pc-complex__final-cta .pc-btn {
	flex: 0 0 auto;
	justify-content: center;
	min-width: 190px;
	min-height: 48px;
	background: #fff;
	color: #0753b6;
	font-weight: 800;
}

.pc-complex__mobile-anchor {
	display: none;
}

.pc-complex__map .pc-property-map-wrapper {
	margin-bottom: 0;
}

.pc-complex-table-wrap {
	overflow-x: auto;
	border: 1px solid #dfe4eb;
	border-radius: 12px;
}

.pc-complex-table {
	width: 100%;
	min-width: 820px;
	border-collapse: collapse;
}

.pc-complex-table th,
.pc-complex-table td {
	padding: 13px 15px;
	border-bottom: 1px solid #e8ebf0;
	text-align: right;
	white-space: nowrap;
}

.pc-complex-table th:first-child,
.pc-complex-table td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	text-align: left;
	background: #fff;
}

.pc-complex-table thead th {
	background: #f4f7fb;
	font-size: 13px;
}

.pc-complex-table thead th:first-child {
	z-index: 2;
	background: #f4f7fb;
}

.pc-complex-table tfoot th,
.pc-complex-table tfoot td {
	border-bottom: 0;
	background: #eaf3ff;
	color: #0a4fa9;
	font-weight: 800;
}

.pc-complex-table tfoot th:first-child {
	background: #eaf3ff;
}

@media (max-width: 700px) {
	.pc-complex-page {
		padding: 20px 14px 92px;
	}

	.pc-complex__title {
		margin-bottom: 14px;
	}

	.pc-complex__hero-image {
		height: clamp(260px, 48vh, 380px);
	}

	.pc-complex__section {
		padding: 20px 16px;
	}

	.pc-complex__facts {
		grid-template-columns: 1fr 1fr;
	}

	.pc-complex-buildings {
		grid-template-columns: 1fr;
	}

	.pc-complex__primary-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.pc-page-nav {
		margin-inline: -4px;
	}

	.pc-complex__section-heading--stacked {
		align-items: flex-start;
		flex-direction: column;
	}

	.pc-complex-price-cards {
		grid-template-columns: 1fr 1fr;
	}

	.pc-complex-price-card {
		min-height: 120px;
		padding: 14px;
	}

	.pc-complex__description-preview {
		font-size: 16px;
	}

	.pc-complex__final-cta {
		align-items: stretch;
		flex-direction: column;
		padding: 24px 20px;
	}

	.pc-complex__mobile-anchor {
		position: fixed;
		right: 14px;
		bottom: 14px;
		z-index: 30;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 46px;
		padding: 11px 17px;
		border-radius: 999px;
		background: #126be0;
		box-shadow: 0 10px 30px rgba(7, 66, 145, .3);
		color: #fff;
		font-weight: 800;
		text-decoration: none;
		opacity: 0;
		pointer-events: none;
		transform: translateY(12px);
		transition: opacity .18s ease, transform .18s ease;
	}

	.pc-complex__mobile-anchor.is-visible {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}
}

@media (max-width: 782px) {
	body.admin-bar .pc-page-nav {
		top: 46px;
	}
}

@media (max-width: 430px) {
	.pc-complex-price-cards {
		grid-template-columns: 1fr;
	}
}

body.pc-ppc .catalog-hero {
	margin: 6px auto 10px;
}

body.pc-ppc .catalog-hero__inner {
	padding: 16px 18px 16px;
}

body.pc-ppc .catalog-hero__title {
	font-size: 22px;
	line-height: 1.2;
	margin-bottom: 6px;
}

body.pc-ppc .catalog-hero__subtitle {
	display: none;
}

body.pc-ppc .catalog-hero__cta {
	display: flex;
	gap: 6px;
	margin-top: 2px;
}

body.pc-ppc .catalog-hero__note {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #475569;
}

body.pc-ppc .pc-budget-label {
	display: block;
	margin: 2px 0 4px;
	font-size: 12px;
	color: #6b7280;
}

body.pc-ppc .pc-budget-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 10px 12px;
	margin: 6px 0 10px;
	background: #f7f9fc;
	border: 1px solid #e5e9f2;
	border-radius: 12px;
	font-size: 16px;
}

.pc-post-hero {
	position: relative;
	min-height: 180px;
	padding: 32px 20px 28px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}

.pc-post-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 12, 16, 0.6) 0%, rgba(10, 12, 16, 0.75) 100%);
}

.pc-post-hero__content {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}

.pc-post-hero__title {
	margin: 0 0 10px;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.pc-post-hero__categories {
	margin-bottom: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.pc-post-hero__date {
	display: block;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 768px) {
	.pc-post-hero {
		min-height: 220px;
		padding: 44px 32px 40px;
	}

	.pc-post-hero__title {
		font-size: 2.6rem;
	}
}

@media (min-width: 1024px) {
	.pc-post-hero {
		min-height: 260px;
		padding: 52px 40px 48px;
	}

	.pc-post-hero__title {
		font-size: 3rem;
	}
}

.pc-post-archive {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px 64px;
}

.pc-post-archive__header {
	margin-bottom: 24px;
}

.pc-post-archive__title {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
}

.pc-post-archive__grid {
	display: grid;
	gap: 20px;
}

.pc-post-archive__empty {
	margin: 24px 0 0;
	color: #667085;
}

.pc-post-archive .pc-post-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	border-radius: 16px;
	border: 1px solid #e6e9ef;
	background: #fff;
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-post-archive .pc-post-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(17, 24, 39, 0.12);
}

.pc-post-archive .pc-post-card__thumb {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f3f4f6;
}

.pc-post-archive .pc-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pc-post-archive .pc-post-card__meta {
	font-size: 0.85rem;
	color: #6b7280;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.pc-post-archive .pc-post-card__title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.3;
}

.pc-post-archive .pc-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.pc-post-archive .pc-post-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pc-post-archive .pc-post-card__title a:focus-visible {
	outline: 2px solid #0f172a;
	outline-offset: 3px;
	border-radius: 4px;
}

.pc-post-archive .pc-post-card__excerpt {
	margin: 0;
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.6;
}

.pc-post-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 24px 4px 0 0;
	border-radius: 999px;
	border: 1px solid #e6e9ef;
	color: #111827;
	text-decoration: none;
}

.pc-post-archive .page-numbers.current {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

@media (min-width: 768px) {
	.pc-post-archive {
		padding: 56px 32px 80px;
	}

	.pc-post-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.pc-post-archive__title {
		font-size: 2.4rem;
	}
}

@media (min-width: 1200px) {
	.pc-post-archive__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Manual listings and the unified catalog (1.9.2). */
.pc-unified-catalog__header {
	max-width: 760px;
	margin-bottom: 24px;
}

.pc-unified-catalog__header h1 {
	margin: 0 0 8px;
	font-size: clamp(30px, 4vw, 46px);
}

.pc-unified-catalog__header p,
.pc-unified-results-count {
	color: #5d6673;
}

.property-filter--unified input[type="number"],
.property-filter--unified input[type="search"] {
	box-sizing: border-box;
	min-width: 150px;
	padding: 7px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.property-grid--unified {
	margin-top: 20px;
	align-items: start;
}

.property-card--listing {
	display: flex;
	flex-direction: column;
}

.property-grid .property-image-link {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.property-grid .property-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.property-card--listing .property-content {
	display: block;
	flex: none;
}

.property-grid .property-title a,
.property-grid .property-title a:visited {
	color: #1d4ed8;
	text-decoration-thickness: .08em;
	text-underline-offset: .12em;
}

.property-grid .property-title a:hover,
.property-grid .property-title a:focus-visible {
	color: #1e40af;
}

.property-location-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 5px 0;
	color: #444;
	font-size: 15px;
	line-height: 1.4;
}

.property-grid .property-address,
.property-grid .property-location {
	color: #667085;
	line-height: 1.4;
}

.property-card--complex .property-prices {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #edf0f4;
}

.property-card--complex .property-prices > strong {
	display: block;
	margin-bottom: 3px;
	color: #1f2937;
}

.property-card--complex .property-prices li {
	line-height: 1.4;
}

/* Residential-complex catalog: mirror the compact home-page rhythm. */
body.page-template-template-catalog #primary.site-main {
	max-width: none;
	padding: 0;
}

.catalog-container--complex {
	padding: 18px 20px 40px;
}

.catalog-container--complex .catalog-hero {
	margin: 0 auto 14px;
}

.catalog-container--complex .catalog-hero__inner {
	padding: 22px 24px;
}

.catalog-container--complex .catalog-hero__title {
	margin-bottom: 8px;
	font-size: clamp(30px, 3.5vw, 40px);
	line-height: 1.12;
}

.catalog-container--complex .catalog-hero__subtitle {
	max-width: 900px;
	margin-bottom: 10px;
	font-size: 17px;
	line-height: 1.45;
}

.catalog-container--complex .catalog-hero__cta {
	gap: 0;
}

.catalog-container--complex .catalog-hero__note {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
}

.catalog-container--complex .catalog-heading {
	margin: 14px 0 10px;
}

.catalog-container--complex #catalog-filter {
	gap: 10px 12px;
	margin: 10px 0 18px;
	padding: 12px;
}

body.pc-ppc .catalog-container--complex .pc-budget-links {
	gap: 8px;
	margin: 4px 0 10px;
	padding: 8px 10px;
	font-size: 15px;
}

@media (min-width: 1100px) {
	.catalog-container--complex #catalog-filter {
		display: grid;
		grid-template-columns:
			minmax(190px, 1.35fr)
			minmax(160px, 1fr)
			minmax(170px, 1fr)
			auto auto;
	}

	.catalog-container--complex #catalog-filter > label {
		min-width: 0;
	}

	.catalog-container--complex #catalog-filter select {
		width: 100%;
		min-width: 0;
	}

	.catalog-container--complex #catalog-filter button {
		white-space: nowrap;
	}
}

@media (max-width: 640px) {
	.catalog-container--complex {
		padding: 12px 16px 32px;
	}

	.catalog-container--complex .catalog-hero__inner {
		padding: 20px;
	}

	.catalog-container--complex #catalog-filter > label,
	.catalog-container--complex #catalog-filter select,
	.catalog-container--complex #catalog-filter button {
		width: 100%;
		min-width: 0;
	}
}

/* Home catalog: keep the conversion content while bringing results above the fold. */
body.home #primary.site-main {
	max-width: none;
	padding: 0;
}

body.home .catalog-container {
	padding: 18px 20px 40px;
}

body.home .catalog-hero {
	margin: 0 auto 16px;
}

body.home .catalog-hero__inner {
	padding: 22px 24px;
}

body.home .catalog-hero__title {
	margin-bottom: 8px;
	font-size: clamp(30px, 3.5vw, 40px);
	line-height: 1.12;
}

body.home .catalog-hero__trust {
	margin-bottom: 12px;
}

body.home .catalog-hero__subtitle {
	margin-bottom: 12px;
	font-size: 17px;
	line-height: 1.45;
}

body.home .catalog-hero__cta {
	display: grid;
	grid-template-columns: max-content max-content minmax(0, 1fr);
	align-items: center;
	gap: 8px 18px;
}

body.home .catalog-hero__button {
	padding: 12px 22px;
}

body.home .catalog-hero__cta .property-form-modal-wrapper {
	align-self: center;
}

body.home .catalog-hero__button:hover,
body.home .catalog-hero__button:focus-visible {
	background: #1d4ed8;
}

body.home .catalog-hero__note {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
}

body.home .catalog-heading {
	margin: 14px 0 10px;
}

body.home .property-filter--unified {
	gap: 10px 12px;
	margin: 10px 0;
	padding: 12px;
}

body.home .pc-unified-results-count {
	margin: 0 0 10px;
}

body.home .property-grid--unified {
	margin-top: 0;
	scroll-margin-top: 20px;
}

/* Virtual complex pages inherit the WordPress home body class; restore their content frame. */
body.pc-complex-view #primary.site-main.pc-complex-page {
	max-width: 1200px;
	padding: 32px 20px 64px;
}

@media (min-width: 1100px) {
	body.home .property-filter--unified {
		display: grid;
		grid-template-columns:
			minmax(160px, 1.35fr)
			minmax(140px, 1fr)
			minmax(100px, .75fr)
			minmax(100px, .75fr)
			minmax(150px, 1fr)
			auto auto;
	}

	body.home .property-filter--unified > label {
		min-width: 0;
	}

	body.home .property-filter--unified select,
	body.home .property-filter--unified input[type="number"] {
		width: 100%;
		min-width: 0;
	}

	body.home .property-filter--unified button {
		white-space: nowrap;
	}
}

@media (max-width: 800px) {
	body.home .catalog-hero__cta {
		grid-template-columns: max-content minmax(0, 1fr);
	}

	body.home .catalog-hero__note {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	body.home .catalog-container {
		padding: 12px 16px 32px;
	}

	body.home .catalog-hero__inner {
		padding: 20px;
	}

	body.home .catalog-hero__cta {
		grid-template-columns: 1fr;
	}

	body.home .catalog-hero__button {
		align-self: stretch;
		width: 100%;
		text-align: center;
	}

	body.home .catalog-hero__cta .property-form-modal-wrapper {
		width: 100%;
	}

	body.home .catalog-hero__note {
		grid-column: auto;
	}

	body.home .property-filter--unified button {
		width: 100%;
	}

	body.pc-complex-view #primary.site-main.pc-complex-page {
		padding: 20px 14px 92px;
	}
}

.badge-listing-type {
	background: #6d43c1;
}

.property-prices--listing {
	display: flex;
	margin-top: 16px;
	flex-direction: column;
	gap: 3px;
	padding: 13px 15px;
	border-radius: 10px;
	background: #f4f7fb;
}

.property-prices--listing span {
	color: #667085;
	font-size: 12px;
}

.property-prices--listing strong {
	font-size: 22px;
}

.property-listing-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.property-listing-facts span {
	padding: 5px 8px;
	border-radius: 6px;
	background: #eef2f7;
	color: #344054;
	font-size: 13px;
}

.pc-listing-single {
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 20px 64px;
}

.pc-listing-eyebrow {
	margin: 0 0 8px;
	color: #6d43c1;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pc-listing-price {
	display: inline-flex;
	margin: 8px 0 14px;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px;
	border-radius: 12px;
	background: #f4f0ff;
}

.pc-listing-price span {
	color: #685c7e;
	font-size: 13px;
}

.pc-listing-price strong {
	font-size: clamp(24px, 3vw, 34px);
}

.pc-listing-single .property-content {
	margin: 28px 0;
	border-radius: 12px;
	background: #fff;
}

@media (max-width: 700px) {
	.property-filter--unified > label,
	.property-filter--unified select,
	.property-filter--unified input[type="number"],
	.property-filter--unified input[type="search"] {
		width: 100%;
	}

	.pc-listing-single .property-actions {
		align-items: stretch;
		flex-direction: column;
	}
}
