/* ==========================================================================
   PropertyNow design layer (DESIGN.md: "PropertyNow Calm Trust")
   Loaded after HomListi, Classified Listing and Elementor styles.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-var.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-italic-var.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

/* Tokens ----------------------------------------------------------------- */
:root {
	--pn-bg: #f4f7f6;
	--pn-surface: #ffffff;
	--pn-ink: #12304f;
	--pn-ink-muted: #4f6275;
	--pn-line: #dce5e1;
	--pn-accent: #0e775d;
	--pn-accent-hover: #0b5f4a;
	--pn-accent-soft: #e2f0eb;
	--pn-deep: #0c2238;
	--pn-error: #b42318;

	--pn-font-display: "Manrope", system-ui, sans-serif;
	--pn-font-body: "Source Sans 3", system-ui, sans-serif;

	--pn-r-control: 10px;
	--pn-r-card: 14px;
	--pn-r-chip: 999px;

	--pn-shadow: 0 1px 2px rgba(18, 48, 79, .06), 0 8px 24px rgba(18, 48, 79, .06);
	--pn-shadow-raised: 0 2px 4px rgba(18, 48, 79, .06), 0 16px 40px rgba(18, 48, 79, .10);
	--pn-focus: 0 0 0 3px rgba(14, 119, 93, .25);

	/* Point the theme and plugin variables at the same palette. */
	--rt-body-font: var(--pn-font-body);
	--rt-heading-font: var(--pn-font-display);
	--rt-menu-font: var(--pn-font-display);
	--rt-primary-light: var(--pn-accent-soft);
	--rt-primary-light2: var(--pn-accent-soft);
	--rt-primary-light3: var(--pn-bg);
	--rtcl-primary-color: var(--pn-accent);
	--rtcl-primary-dark: var(--pn-accent-hover);
	--rtcl-secondary-color: var(--pn-accent-hover);
	--rtcl-link-color: var(--pn-ink);
	--rtcl-link-hover-color: var(--pn-accent);
	--rtcl-button-bg-color: var(--pn-accent);
	--rtcl-button-hover-bg-color: var(--pn-accent-hover);
	--rtcl-badge-new-bg-color: var(--pn-accent-soft);
	--rtcl-badge-featured-bg-color: var(--pn-ink);

	/* Status-tinted cards (new, top, popular, featured, bump up) all render as plain white cards. */
	--rtcl-card-new-bg: var(--pn-surface);
	--rtcl-card-new-border: transparent;
	--rtcl-card-popular-bg: var(--pn-surface);
	--rtcl-card-popular-border: transparent;
	--rtcl-card-bump-up-bg: var(--pn-surface);
	--rtcl-card-bump-up-border: transparent;
	--rtcl-card-featured-bg: var(--pn-surface);
	--rtcl-card-featured-border: transparent;
	--rtcl-card-top-bg: var(--pn-surface);
	--rtcl-card-top-border: transparent;
}

/* Base ------------------------------------------------------------------- */
body {
	background-color: var(--pn-bg);
	color: var(--pn-ink-muted);
	font-family: var(--pn-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.rtcl h1, .rtcl h2, .rtcl h3, .rtcl h4, .rtcl h5, .rtcl h6 {
	font-family: var(--pn-font-display);
	color: var(--pn-ink);
	font-weight: 700;
	letter-spacing: -0.015em;
}
h1, .rtcl h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.1; }
h2, .rtcl h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.15; }
h3, .rtcl h3 { font-size: 1.375rem; line-height: 1.25; }
h4, .rtcl h4 { font-size: 1.125rem; line-height: 1.3; }

p { max-width: 70ch; }

a { color: var(--pn-accent); transition: color .15s ease; }
a:hover, a:focus { color: var(--pn-accent-hover); }

::selection { background: var(--pn-accent-soft); color: var(--pn-ink); }

/* The theme tints the main content wrapper mint; keep one page ground everywhere. */
.content-area,
#content,
.site-content { background-color: var(--pn-bg); }

:focus-visible {
	outline: none;
	box-shadow: var(--pn-focus);
	border-radius: var(--pn-r-control);
}

/* Header ----------------------------------------------------------------- */
.site-header .header-menu,
.site-header #header-menu {
	background: var(--pn-surface);
	border-bottom: 1px solid var(--pn-line);
	box-shadow: none;
}
.header-menu .header-content { min-height: 76px; }
.header-menu .site-branding img { max-height: 44px; width: auto; }

.navigation-area nav.template-main-menu > ul > li > a {
	font-family: var(--pn-font-display);
	font-weight: 600;
	font-size: 15px;
	color: var(--pn-ink);
	padding-top: 28px;
	padding-bottom: 28px;
}
.navigation-area nav.template-main-menu > ul > li:hover > a,
.navigation-area nav.template-main-menu > ul > li.current-menu-item > a,
.navigation-area nav.template-main-menu > ul > li.current-menu-ancestor > a {
	color: var(--pn-accent);
}
.navigation-area nav > ul > li ul.sub-menu {
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	box-shadow: var(--pn-shadow-raised);
	padding: 8px;
	min-width: 260px;
}
.navigation-area nav > ul > li ul.sub-menu li a {
	font-family: var(--pn-font-body);
	font-size: 16px;
	color: var(--pn-ink);
	border-radius: 8px;
	padding: 9px 14px;
}
.navigation-area nav > ul > li ul.sub-menu li a:hover {
	background: var(--pn-accent-soft);
	color: var(--pn-accent);
	padding-left: 14px;
}
.navigation-area nav > ul > li ul.sub-menu li a::before { display: none; }

/* Header icon buttons: compare, saved, sign in */
.header-action .header-btn .item-btn .icon-round,
.header-icon-round .header-action .header-btn li.button .item-btn i {
	width: 42px;
	height: 42px;
	line-height: 42px;
	border-radius: var(--pn-r-chip);
	border: 1px solid var(--pn-line);
	background: var(--pn-surface);
	color: var(--pn-ink);
	box-shadow: none;
}
.header-action .header-btn li.button .item-btn:hover i {
	border-color: var(--pn-accent);
	color: var(--pn-accent);
	background: var(--pn-surface);
}
.header-action .header-btn .count {
	background: var(--pn-accent);
	color: #fff;
	font-family: var(--pn-font-display);
	font-weight: 700;
}

/* "List your property" header button */
.header-add-property-btn .item-btn,
.header-action .header-btn .submit-btn .item-btn {
	background: var(--pn-accent);
	color: #fff;
	border-radius: var(--pn-r-control);
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 15px;
	padding: 11px 18px;
	box-shadow: none;
	border: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.header-add-property-btn .item-btn span {
	position: static;
	width: auto;
	height: auto;
	line-height: 1;
	background: none;
}
.header-add-property-btn .item-btn:hover { background: var(--pn-accent-hover); color: #fff; }
.header-add-property-btn .item-btn::before,
.header-add-property-btn .item-btn::after { display: none; }
.header-add-property-btn .item-btn span i { color: #fff; }

/* Breadcrumb / page banner */
.breadcrumbs-banner,
.breadcrumb-area {
	background: var(--pn-surface);
	border-bottom: 1px solid var(--pn-line);
}
.breadcrumbs-banner h1,
.breadcrumb-area h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.breadcrumb-area .entry-breadcrumb,
.breadcrumbs-banner .entry-breadcrumb { font-size: 15px; color: var(--pn-ink-muted); }

/* Buttons ---------------------------------------------------------------- */
.btn,
.item-btn.btn,
.rtcl .btn,
.rtcl-btn,
.rtcl .rtcl-btn,
button[type="submit"],
input[type="submit"],
.ff-btn,
.rt-btn-wrap .btn,
.elementor-button {
	font-family: var(--pn-font-display);
	font-weight: 700;
	border-radius: var(--pn-r-control);
	box-shadow: none;
	letter-spacing: 0;
}
.btn-primary,
.rtcl .btn-primary,
.rtcl-btn-primary,
.rtcl .rtcl-btn.rtcl-btn-primary,
button[type="submit"]:not(.rtcl-icon-btn):not(.mfp-close),
input[type="submit"],
.ff-btn-submit {
	background-color: var(--pn-accent);
	border-color: var(--pn-accent);
	color: #fff;
}
.btn-primary:hover,
.rtcl .btn-primary:hover,
.rtcl-btn-primary:hover,
button[type="submit"]:not(.rtcl-icon-btn):not(.mfp-close):hover,
input[type="submit"]:hover,
.ff-btn-submit:hover {
	background-color: var(--pn-accent-hover);
	border-color: var(--pn-accent-hover);
	color: #fff;
}

/* Forms ------------------------------------------------------------------ */
.form-control,
.rtcl-form-control,
.rtcl .form-control,
.ff-el-form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
	font-family: var(--pn-font-body);
	font-size: 16px;
	color: var(--pn-ink);
	background-color: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-control);
	box-shadow: none;
}
.form-control:not(textarea),
.rtcl-form-control:not(textarea),
.ff-el-form-control:not(textarea),
select {
	min-height: 48px;
}
.form-control:focus,
.rtcl-form-control:focus,
.ff-el-form-control:focus,
input:focus,
select:focus,
textarea:focus {
	border-color: var(--pn-accent);
	box-shadow: var(--pn-focus);
	outline: none;
}
::placeholder { color: var(--pn-ink-muted); opacity: .8; }
label,
.rtcl-field-label,
.ff-el-input--label label {
	font-family: var(--pn-font-body);
	font-weight: 600;
	color: var(--pn-ink);
}

/* Property card (grid + list) ------------------------------------------- */
.product-box {
	background: var(--pn-surface);
	border: 0;
	border-radius: var(--pn-r-card);
	box-shadow: var(--pn-shadow);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.product-box:hover {
	box-shadow: var(--pn-shadow-raised);
	transform: translateY(-2px);
}
.product-box .product-thumb,
.product-box .product-thumb .thumbnail-bg,
.product-box .product-thumb img {
	border-radius: 0;
}
.product-box .product-thumb .thumbnail-bg { aspect-ratio: 4 / 3; height: auto; }

/* Only the listing type sits on the photo; status badges sit in the card body. */
.product-box {
	background: var(--pn-surface) !important;
	border-color: transparent !important;
}
.product-box .product-thumb .rtcl-listing-badge-wrap { display: none; }
.product-box .product-content .rtcl-listing-badge-wrap {
	position: static;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 8px;
}
.product-box .product-type::before,
.product-box .product-type::after { display: none; }
.product-box .product-type .listing-type-badge {
	background: var(--pn-surface) !important;
	color: var(--pn-ink) !important;
	border-radius: var(--pn-r-chip);
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 13px;
	padding: 4px 12px;
	box-shadow: 0 1px 3px rgba(18, 48, 79, .12);
}

.product-box .product-price,
.product-box .product-price .rtcl-price {
	font-family: var(--pn-font-display);
	font-weight: 800;
	font-size: 1.375rem;
	letter-spacing: -0.01em;
}

.product-box .product-content { padding: 18px 20px 20px; }
.product-box .product-content .item-title {
	font-family: var(--pn-font-display);
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 700;
	margin-bottom: 6px;
}
.product-box .product-content .item-title a { color: var(--pn-ink); }
.product-box .product-content .item-title a:hover { color: var(--pn-accent); }

.product-box .product-content .rtcl-listing-badge-wrap .badge {
	border-radius: var(--pn-r-chip);
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 12px;
	padding: 4px 10px;
}
.product-box .entry-meta,
.product-box .entry-meta li { color: var(--pn-ink-muted); font-size: 15px; }

/* Key facts row (beds / baths / m2) */
.product-box .product-features,
.product-box .rtcl-listable {
	border-top: 1px solid var(--pn-line);
	padding-top: 12px;
	margin-top: 12px;
	color: var(--pn-ink);
	font-weight: 600;
}

.product-box .product-bottom-content {
	border-top: 1px solid var(--pn-line);
	padding-top: 12px;
}
.product-box .product-bottom-content .item-author .item-img img { border-radius: var(--pn-r-chip); }
.product-box .product-bottom-content a { color: var(--pn-ink); font-weight: 600; }

/* Card action buttons (save, compare, quick view) */
.product-box .listing-action a {
	background: var(--pn-surface);
	color: var(--pn-ink);
	border-radius: var(--pn-r-chip);
	box-shadow: 0 1px 3px rgba(18, 48, 79, .16);
}
.product-box .listing-action a:hover,
.product-box .listing-action a.rtcl-favourites.active {
	background: var(--pn-accent);
	color: #fff;
}

/* Badges everywhere */
.rtcl .badge,
.badge.rtcl-badge-featured,
.badge.rtcl-badge-_top,
.badge.rtcl-badge-popular,
.badge.rtcl-badge-new {
	border-radius: var(--pn-r-chip);
	font-family: var(--pn-font-display);
	font-weight: 700;
}
.badge.rtcl-badge-new { background: var(--pn-accent-soft); color: var(--pn-accent); }
.rtcl .badge.rtcl-badge-featured,
.rtcl .badge.rtcl-badge-_top,
.rtcl .badge.rtcl-badge-popular,
.rtcl .badge.popular-badge,
.badge.rtcl-badge-featured,
.badge.rtcl-badge-_top,
.badge.rtcl-badge-popular,
.badge.popular-badge.badge-success { background: var(--pn-ink); color: #fff; }

/* PropertyNow card (child theme template) -------------------------------- */
.pn-listing { height: 100%; }
.pn-listing.product-box,
.pn-listing { background: none !important; box-shadow: none; border: 0; }

.pn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--pn-surface);
	border-radius: var(--pn-r-card);
	box-shadow: var(--pn-shadow);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.pn-card:hover { box-shadow: var(--pn-shadow-raised); transform: translateY(-2px); }

.pn-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--pn-accent-soft), var(--pn-line));
	overflow: hidden;
}
.pn-card .pn-card__img,
.pn-gallery .pn-gallery__img,
.pn-article .pn-article__img {
	height: 100%;
}
.pn-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.pn-card:hover .pn-card__img { transform: scale(1.03); }

.pn-card__featured {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--pn-ink);
	color: #fff;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	padding: 6px 10px;
	border-radius: var(--pn-r-chip);
}

.pn-card__actions {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	gap: 8px;
	z-index: 2;
}
.pn-card__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--pn-r-chip);
	background: rgba(255, 255, 255, .94);
	color: var(--pn-ink);
	box-shadow: 0 1px 3px rgba(18, 48, 79, .16);
	font-size: 16px;
}
.pn-card__actions a:hover,
.pn-card__actions a.rtcl-active,
.pn-card__actions a.selected { background: var(--pn-accent); color: #fff; }
.pn-card__actions .favourite-label { display: none; }

.pn-card__body {
	flex: 1;
	padding: 18px 20px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pn-card__price,
.pn-card__price .rtcl-price,
.pn-card__price .amount {
	font-family: var(--pn-font-display);
	font-weight: 800;
	font-size: 1.375rem;
	line-height: 1.2;
	color: var(--pn-ink);
	letter-spacing: -0.01em;
}
.pn-card__price .rtcl-price-range { display: inline; }
.rtcl-price-unit-total,
.rtcl-price-type-fixed.rtcl-price-type-label { display: none; }
.pn-card__price .dash { padding: 0 2px; color: var(--pn-ink-muted); }
.pn-card__price .rtcl-price-meta,
.pn-card__price .rtcl-price-unit-label {
	font-family: var(--pn-font-body);
	font-weight: 400;
	font-size: 15px;
	color: var(--pn-ink-muted);
	margin-left: 4px;
}
.pn-card__title {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.35;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pn-card__title a { color: var(--pn-ink); }
.pn-card__title a:hover { color: var(--pn-accent); }
.pn-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.pn-card__place {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 15px;
	color: var(--pn-ink-muted);
}
.pn-card__place span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pn-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	list-style: none;
	margin: auto 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--pn-line);
}
.pn-card__facts li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--pn-ink);
}
.pn-icon { flex: none; color: var(--pn-ink-muted); }

.pn-card__foot {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 20px;
	border-top: 1px solid var(--pn-line);
	font-size: 15px;
}
.pn-card__agent {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--pn-ink);
	font-weight: 600;
}
.pn-card__agent img {
	width: 32px;
	height: 32px;
	border-radius: var(--pn-r-chip);
	object-fit: cover;
}
.pn-card__agent a,
.pn-card__agent span { color: var(--pn-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-card__agent a:hover { color: var(--pn-accent); }
.pn-card__type {
	flex: none;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 12px;
	padding: 5px 10px;
	border-radius: var(--pn-r-chip);
	background: var(--pn-accent-soft);
	color: var(--pn-accent);
}
.pn-card__type--rent { background: var(--pn-bg); color: var(--pn-ink); border: 1px solid var(--pn-line); }

/* List view: photo left, details right */
@media (min-width: 768px) {
	.pn-card--list {
		display: grid;
		grid-template-columns: minmax(240px, 38%) 1fr;
		grid-template-rows: 1fr auto;
	}
	.pn-card--list .pn-card__media { grid-row: 1 / 3; aspect-ratio: auto; min-height: 220px; }
	.pn-card--list .pn-card__actions { left: 12px; right: auto; }
}

/* Archive toolbar, pagination ------------------------------------------- */
.rtcl-listings-actions,
.listing-archive-top,
.rtcl-result-count {
	color: var(--pn-ink-muted);
}
.pagination-area ul li a,
.pagination-area ul li span,
.rtcl-pagination .page-numbers,
.page-numbers {
	border-radius: var(--pn-r-control);
	border: 1px solid var(--pn-line);
	background: var(--pn-surface);
	color: var(--pn-ink);
	font-family: var(--pn-font-display);
	font-weight: 700;
}
.pagination-area ul li.active a,
.pagination-area ul li a:hover,
.page-numbers.current,
.page-numbers:hover {
	background: var(--pn-accent);
	border-color: var(--pn-accent);
	color: #fff;
}

/* Sidebars and widgets --------------------------------------------------- */
.widget,
.sidebar-widget-area .widget,
.listing-sidebar .widget,
.rtcl-widget-filter-wrapper {
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	box-shadow: none;
}
.widget .widget-title,
.widget h3.widget-title,
.sidebar-widget-area .widget-heading {
	font-family: var(--pn-font-display);
	font-size: 1.125rem;
	color: var(--pn-ink);
}
.widget .widget-title::before,
.widget .widget-title::after { display: none; }

/* Search panel ---------------------------------------------------------- */
.pn-search {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.pn-search__field { margin: 0; padding: 0; border: 0; min-width: 0; }
.pn-search__field > label,
.pn-search__label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--pn-font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--pn-ink);
}
.pn-search input[type="search"],
.pn-search .pn-select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	appearance: none;
	-webkit-appearance: none;
}
.pn-search .pn-select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2312304f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	text-overflow: ellipsis;
}
.pn-search__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Sale / rent segmented control */
.pn-search__segment {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: var(--pn-r-control);
	background: var(--pn-bg);
}
.pn-search__segment label { margin: 0; cursor: pointer; }
.pn-search__segment input,
.pn-search__chips input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.pn-search__segment span {
	display: block;
	padding: 10px 8px;
	border-radius: 8px;
	text-align: center;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--pn-ink-muted);
	transition: background .15s ease, color .15s ease;
}
.pn-search__segment input:checked + span {
	background: var(--pn-surface);
	color: var(--pn-ink);
	box-shadow: 0 1px 3px rgba(18, 48, 79, .12);
}
.pn-search__segment input:focus-visible + span,
.pn-search__chips input:focus-visible + span { box-shadow: var(--pn-focus); }

/* Bedroom / bathroom chips */
.pn-search__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-search__chips label { margin: 0; cursor: pointer; }
.pn-search__chips span {
	display: inline-block;
	min-width: 44px;
	padding: 8px 12px;
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-chip);
	background: var(--pn-surface);
	text-align: center;
	font-weight: 600;
	font-size: 15px;
	color: var(--pn-ink);
	transition: background .15s ease, border-color .15s ease;
}
.pn-search__chips label:hover span { border-color: var(--pn-accent); }
.pn-search__chips input:checked + span {
	background: var(--pn-accent-soft);
	border-color: var(--pn-accent);
	color: var(--pn-accent);
}

/* More filters */
.pn-search__more {
	border-top: 1px solid var(--pn-line);
	padding-top: 14px;
}
.pn-search__more > summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--pn-font-display);
	font-weight: 700;
	color: var(--pn-ink);
}
.pn-search__more > summary::-webkit-details-marker { display: none; }
.pn-search__more > summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .15s ease;
}
.pn-search__more[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.pn-search__more[open] > summary { margin-bottom: 16px; }
.pn-search__more .pn-search__field + .pn-search__field { margin-top: 16px; }

.pn-search__cf .search-item { margin: 0; padding: 0; }
.pn-search__cf .search-check-box,
.pn-search__cf.pn-search__cf--amenities .search-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 12px;
}
.pn-search__cf .form-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	min-height: 28px;
}
.pn-search__cf .form-check-input {
	position: static;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--pn-accent);
	flex: none;
}
.pn-search__cf .form-check-label {
	font-weight: 400;
	font-size: 15px;
	color: var(--pn-ink);
	cursor: pointer;
}

.pn-search__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 4px;
}
.pn-search__submit {
	flex: 1;
	height: 48px;
	font-size: 16px;
}
.pn-search__reset {
	font-weight: 600;
	color: var(--pn-ink-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.pn-search__reset:hover { color: var(--pn-accent); }

/* Sidebar widget that holds the search panel */
.widget_homlisti_advanced_search { padding: 24px; }
.widget_homlisti_advanced_search .widget-title,
.widget_homlisti_advanced_search h3 { margin-bottom: 18px; }

/* Property page --------------------------------------------------------- */
.single-rtcl_listing .content-area { padding-top: 32px; padding-bottom: 64px; }

.pn-property__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 24px;
}
.pn-property__title { min-width: 0; flex: 1 1 520px; }
.pn-property__title .pn-card__type { display: inline-block; margin-bottom: 10px; }
.pn-property__title h1 {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	line-height: 1.12;
}
.pn-property__place {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--pn-ink-muted);
}
.pn-property__price { text-align: right; }
.pn-property__amount,
.pn-property__amount .rtcl-price,
.pn-property__amount .amount {
	font-family: var(--pn-font-display);
	font-weight: 800;
	font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
	line-height: 1.1;
	color: var(--pn-ink);
}
.pn-property__amount .rtcl-price-meta,
.pn-property__amount .rtcl-price-unit-label {
	font-family: var(--pn-font-body);
	font-size: 16px;
	font-weight: 400;
	color: var(--pn-ink-muted);
}
.pn-property__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}
.pn-property__actions a,
.pn-property__actions button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-control);
	background: var(--pn-surface);
	color: var(--pn-ink);
	font-family: var(--pn-font-body);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.pn-property__actions a:hover,
.pn-property__actions button:hover { border-color: var(--pn-accent); color: var(--pn-accent); }
.pn-property__actions .favourite-label { display: inline; }

/* Photo grid: one large photo with up to four smaller ones */
.pn-gallery {
	position: relative;
	display: grid;
	gap: 8px;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 220px 220px;
	border-radius: var(--pn-r-card);
	overflow: hidden;
	margin-bottom: 32px;
}
.pn-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--pn-line);
}
.pn-gallery__item.is-hidden { display: none; }
.pn-gallery__item:first-child { grid-row: 1 / 3; }
.pn-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.pn-gallery__item:hover .pn-gallery__img { transform: scale(1.03); }
.pn-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.pn-gallery--2 { grid-template-columns: 2fr 1fr; }
.pn-gallery--2 .pn-gallery__item:nth-child(2) { grid-row: 1 / 3; }
.pn-gallery--3 { grid-template-columns: 2fr 1fr; }
.pn-gallery--4 .pn-gallery__item:nth-child(4) { grid-column: 2 / 4; }
.pn-gallery__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(12, 34, 56, .55);
	color: #fff;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 1.25rem;
}
.pn-gallery__all {
	position: absolute;
	right: 16px;
	bottom: 16px;
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--pn-r-control);
	background: var(--pn-surface);
	color: var(--pn-ink);
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 2px 8px rgba(18, 48, 79, .2);
	cursor: pointer;
}

.pn-property__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 40px;
	align-items: start;
}
.pn-property__aside { position: sticky; top: 100px; scroll-margin-top: 90px; }
.pn-mobilebar { display: none; }

.pn-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
}
.pn-facts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 20px;
	margin: 0;
}
.pn-facts li + li { border-left: 1px solid var(--pn-line); }
.pn-facts .pn-icon { width: 22px; height: 22px; margin-bottom: 6px; color: var(--pn-accent); }
.pn-facts strong {
	font-family: var(--pn-font-display);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--pn-ink);
	line-height: 1.2;
}
.pn-facts span { font-size: 14px; color: var(--pn-ink-muted); }

.pn-section {
	padding: 32px 0;
	border-top: 1px solid var(--pn-line);
}
.pn-section > h2 {
	margin: 0 0 16px;
	font-size: 1.5rem;
	line-height: 1.2;
}
.pn-facts + .pn-section { border-top: 0; padding-top: 0; }
.pn-prose p { margin: 0 0 1em; max-width: 68ch; color: var(--pn-ink); }

.pn-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	margin: 0;
}
.pn-details > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--pn-line);
}
.pn-details dt { font-weight: 400; color: var(--pn-ink-muted); }
.pn-details dd { margin: 0; font-weight: 600; color: var(--pn-ink); text-align: right; }

.pn-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pn-features li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--pn-ink); }
.pn-features svg { color: var(--pn-accent); flex: none; }

/* Bond calculator */
.pn-bond__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}
.pn-bond__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pn-bond__inputs label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 15px;
}
.pn-bond__inputs input,
.pn-bond__inputs .pn-select { height: 48px; padding: 0 14px; width: 100%; }
.pn-bond__inputs .pn-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2312304f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.pn-bond__result {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 24px;
	border-radius: var(--pn-r-card);
	background: var(--pn-accent-soft);
}
.pn-bond__result span { color: var(--pn-ink); font-weight: 600; }
.pn-bond__result strong {
	font-family: var(--pn-font-display);
	font-weight: 800;
	font-size: 2rem;
	line-height: 1.1;
	color: var(--pn-accent);
}
.pn-bond__result p { margin: 0; font-size: 15px; color: var(--pn-ink-muted); }
.pn-bond__note { margin: 12px 0 0; font-size: 14px; color: var(--pn-ink-muted); }

.pn-map .rtcl-map,
.pn-map #rtcl-map,
.pn-map .embed-responsive { border-radius: var(--pn-r-card); overflow: hidden; }
.pn-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--pn-r-card); }

/* Enquiry panel (theme's agent info + contact form, restyled) */
.pn-enquiry > * + * { margin-top: 16px; }
.pn-enquiry .widget,
.pn-enquiry .rtcl-listing-user-info .widget {
	padding: 24px;
	margin: 0;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	box-shadow: var(--pn-shadow);
}
.pn-enquiry .widget-heading,
.pn-enquiry h3 { font-size: 1.125rem; margin-bottom: 14px; }
.pn-enquiry .widget-heading::before,
.pn-enquiry .widget-heading::after { display: none; }
.pn-enquiry .form-group { margin-bottom: 10px; }
.pn-enquiry textarea { min-height: 110px; padding: 12px 14px; }
.pn-enquiry .submit-btn,
.pn-enquiry .btn {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: var(--pn-r-control);
	background: var(--pn-accent);
	color: #fff;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 16px;
}
.pn-enquiry .submit-btn:hover,
.pn-enquiry .btn:hover { background: var(--pn-accent-hover); color: #fff; }
.pn-enquiry .rtcl-website .btn { background: var(--pn-surface); color: var(--pn-ink); border: 1px solid var(--pn-line); }
.pn-enquiry .submit-btn { text-transform: none; letter-spacing: 0; }
.pn-enquiry-form label {
	display: block;
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pn-ink);
}
.pn-enquiry-form .form-control { height: 44px; min-height: 44px; padding: 0 12px; }
.pn-enquiry-form textarea.form-control { height: auto; min-height: 110px; padding: 10px 12px; }
.pn-enquiry-form__note { margin: 4px 0 0; font-size: 13px; color: var(--pn-ink-muted); text-align: center; }
.pn-enquiry .rtcl-member-store-info .media { align-items: center; gap: 14px; }
.pn-enquiry .rtcl-member-store-info img { width: 64px; height: 64px; border-radius: var(--pn-r-chip); object-fit: cover; }
.pn-enquiry .rtcl-member-store-info h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.pn-enquiry .item-number { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--pn-ink); cursor: pointer; }
.pn-enquiry .item-number small { color: var(--pn-accent); font-weight: 600; }
.pn-enquiry .rtcl-chat-website-link { display: flex; gap: 8px; margin: 16px 0; }
.pn-enquiry .rtcl-chat-website-link > div { flex: 1; }
.pn-enquiry .rtcl-chat-website-link .btn { height: 42px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

/* Similar properties */
.pn-related { padding: 48px 0 16px; }
.pn-related__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.pn-related__head h2 { margin: 0; font-size: 1.75rem; }
.pn-related__head a { font-weight: 600; }
.pn-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 1199px) {
	.pn-property__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
	.pn-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.pn-property__layout { grid-template-columns: 1fr; }
	.pn-property__aside { position: static; }
	.pn-bond__grid { grid-template-columns: 1fr; }
	.pn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.pn-property__price { text-align: left; }
	.pn-property__actions { justify-content: flex-start; }
	.pn-gallery {
		grid-template-columns: 1fr;
		grid-template-rows: 260px;
		margin-left: -15px;
		margin-right: -15px;
		border-radius: 0;
	}
	.pn-gallery__item:not(:first-child) { display: none; }
	.pn-facts { grid-template-columns: repeat(3, 1fr); }
	.pn-facts li { padding: 14px; }
	.pn-facts li + li { border-left: 0; }
	.pn-facts li:nth-child(3n+2),
	.pn-facts li:nth-child(3n+3) { border-left: 1px solid var(--pn-line); }
	.pn-facts li:nth-child(n+4) { border-top: 1px solid var(--pn-line); }
	.pn-facts strong { font-size: 1.0625rem; white-space: nowrap; }
	.pn-details { grid-template-columns: 1fr; }
	.pn-features { grid-template-columns: 1fr 1fr; }

	/* Price and contact button stay on screen while scrolling a long listing. */
	.single-rtcl_listing { padding-bottom: 72px; }
	.single-rtcl_listing .scrollToTop { display: none !important; }
	.pn-mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--pn-surface);
		border-top: 1px solid var(--pn-line);
		box-shadow: 0 -4px 16px rgba(18, 48, 79, .08);
	}
	.pn-mobilebar__price,
	.pn-mobilebar__price .amount {
		font-family: var(--pn-font-display);
		font-weight: 800;
		font-size: 1.125rem;
		color: var(--pn-ink);
	}
	.pn-mobilebar__price .rtcl-price-meta { display: none; }
	.pn-mobilebar .btn { height: 44px; padding: 0 20px; display: inline-flex; align-items: center; }
	.pn-bond__inputs { grid-template-columns: 1fr; }
	.pn-grid { grid-template-columns: 1fr; }
}

/* Home page (Elementor sections with pn-* classes) ----------------------- */
.pn-home-section > .elementor-container { max-width: 1240px; }
.pn-home-section { padding: 72px 0 0; }
.pn-home-section:last-child { padding-bottom: 88px; }
.pn-home-section .elementor-widget-heading h2.elementor-heading-title {
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
	line-height: 1.15;
	color: var(--pn-ink);
}
.pn-home-lead,
.pn-home-lead p { color: var(--pn-ink-muted); font-size: 1.0625rem; margin: 0; }
.pn-home-link a {
	font-family: var(--pn-font-display);
	font-weight: 700;
	color: var(--pn-accent);
}

/* Hero: deep navy band, copy and search on the left, framed photo on the right */
.pn-hero {
	background: var(--pn-deep);
	padding: 64px 0 72px;
	overflow: hidden;
}
.pn-hero > .elementor-container { max-width: 1240px; align-items: center; }
.pn-hero h1.elementor-heading-title {
	font-family: var(--pn-font-display);
	font-weight: 800;
	font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #fff;
	max-width: 15ch;
}
.pn-hero .pn-hero__lead,
.pn-hero .pn-hero__lead p {
	color: rgba(255, 255, 255, .78);
	font-size: 1.125rem;
	line-height: 1.55;
	max-width: 52ch;
	margin: 0;
}
.pn-hero .elementor-widget-heading { margin-bottom: 16px; }
.pn-hero .pn-hero__lead { margin-bottom: 28px; }
.pn-home-section .elementor-widget-heading { margin-bottom: 20px; }
.pn-home-section .pn-home-lead { margin-bottom: 20px; }
.pn-home-link { margin-top: 20px; }
.pn-hero .pn-hero__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--pn-r-card);
}

.pn-hero-search {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	background: var(--pn-surface);
	border-radius: var(--pn-r-card);
	box-shadow: 0 24px 48px rgba(4, 14, 26, .35);
}
.pn-hero-search .pn-search__segment { width: 260px; }
.pn-hero-search__row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto;
	gap: 12px;
	align-items: end;
}
.pn-hero-search__field label {
	display: block;
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--pn-ink);
}
.pn-hero-search .pn-select {
	width: 100%;
	height: 48px;
	padding: 0 32px 0 12px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2312304f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	text-overflow: ellipsis;
}
.pn-hero-search__submit { height: 48px; padding: 0 28px; font-size: 16px; }

/* Popular areas */
.pn-areas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pn-areas li { margin: 0; }
.pn-areas a {
	display: block;
	height: 100%;
	padding: 20px 22px;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.pn-areas a:hover { border-color: var(--pn-accent); box-shadow: var(--pn-shadow); }
.pn-areas__body {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 2px 16px;
}
/* With a photo: picture on top, text below (no captions over photos). */
.pn-areas .has-photo a { padding: 0; overflow: hidden; }
.pn-areas .has-photo .pn-areas__body { padding: 16px 20px 18px; }
.pn-areas .pn-areas__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 0;
	background: var(--pn-accent-soft);
}
.pn-areas__name {
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 1.1875rem;
	color: var(--pn-ink);
}
.pn-areas__meta { grid-row: 2; font-size: 15px; color: var(--pn-ink-muted); }
.pn-areas__count {
	grid-row: 1 / 3;
	grid-column: 2;
	font-weight: 600;
	font-size: 15px;
	color: var(--pn-accent);
}

/* Property types */
.pn-types {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pn-types li { margin: 0; }
.pn-types a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px 14px 16px;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-chip);
	font-family: var(--pn-font-display);
	font-weight: 700;
	color: var(--pn-ink);
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pn-types a svg { color: var(--pn-accent); }
.pn-types a:hover { background: var(--pn-accent-soft); border-color: var(--pn-accent); color: var(--pn-accent); }

/* Sell / find an agent panels */
.pn-cta-panel > .elementor-widget-wrap {
	padding: 40px !important;
	border-radius: var(--pn-r-card);
	align-content: flex-start;
}
.pn-cta-panel--sell > .elementor-widget-wrap { background: var(--pn-accent-soft); }
.pn-cta-panel--agent > .elementor-widget-wrap { background: var(--pn-surface); border: 1px solid var(--pn-line); }
.pn-cta-panel h3.elementor-heading-title { font-size: 1.5rem; color: var(--pn-ink); }
.pn-cta-panel .elementor-button {
	background: var(--pn-accent);
	color: #fff;
	border-radius: var(--pn-r-control);
	padding: 14px 22px;
	font-family: var(--pn-font-display);
	font-weight: 700;
}
.pn-cta-panel .elementor-button:hover { background: var(--pn-accent-hover); }
.pn-cta-panel--agent .elementor-button {
	background: var(--pn-surface);
	color: var(--pn-ink);
	border: 1px solid var(--pn-line);
}
.pn-cta-panel--agent .elementor-button:hover { background: var(--pn-surface); border-color: var(--pn-accent); color: var(--pn-accent); }

/* Advice articles */
.pn-articles {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 24px;
}
.pn-article__media {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: var(--pn-r-card);
	overflow: hidden;
	background: var(--pn-line);
}
.pn-article__img { width: 100%; height: 100%; object-fit: cover; }
.pn-article__body { padding-top: 14px; }
.pn-article time { font-size: 14px; color: var(--pn-ink-muted); }
.pn-article h3 { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.35; }
.pn-article h3 a { color: var(--pn-ink); }
.pn-article h3 a:hover { color: var(--pn-accent); }
.pn-articles .pn-article:first-child h3 { font-size: 1.375rem; }

@media (max-width: 1024px) {
	.pn-hero-search__row { grid-template-columns: 1fr 1fr; }
	.pn-hero-search__field--where { grid-column: 1 / -1; }
	.pn-hero-search__submit { grid-column: 1 / -1; }
	.pn-hero > .elementor-container > .elementor-column { width: 100%; }
	.pn-hero .pn-hero__photo { display: none; }
	.pn-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pn-articles { grid-template-columns: 1fr 1fr; }
	.pn-articles .pn-article:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.pn-hero { padding: 40px 8px 48px; }
	.pn-hero .pn-hero__photo { display: none; }
	.pn-hero-search { padding: 16px; }
	.pn-hero-search .pn-search__segment { width: 100%; }
	.pn-hero-search__field--beds { grid-column: 1 / -1; }
	.pn-home-section { padding: 56px 8px 0; }
	.pn-home-section:last-child { padding-bottom: 64px; }
	.pn-areas { grid-template-columns: 1fr 1fr; gap: 8px; }
	.pn-areas a { padding: 14px 16px; }
	.pn-areas__body { display: flex; flex-direction: column; gap: 2px; }
	.pn-areas .has-photo .pn-areas__body { padding: 12px 14px 14px; }
	.pn-areas__name { font-size: 1.0625rem; }
	.pn-areas__count { font-size: 14px; }
	.pn-types a { padding: 12px 18px 12px 14px; }
	.pn-cta-panel > .elementor-widget-wrap { padding: 28px !important; }
	.pn-articles { grid-template-columns: 1fr; }
}

/* Single property (legacy theme blocks) -------------------------------- */
.single-rtcl_listing .rtcl-price,
.single-rtcl_listing .listing-price,
.single-rtcl_listing .product-price {
	font-family: var(--pn-font-display);
	font-weight: 800;
	color: var(--pn-ink);
}
.single-rtcl_listing .widget,
.single-rtcl_listing .product-details-box,
.single-rtcl_listing .rtcl-single-listing-details > div,
.single-rtcl_listing .listing-details-box {
	border-radius: var(--pn-r-card);
}

/* Footer ----------------------------------------------------------------- */
.site-footer,
.site-footer .main-footer,
.footer-style-2 .main-footer {
	background: var(--pn-deep);
	color: rgba(255, 255, 255, .72);
}
.site-footer .footer-title,
.site-footer h3 {
	font-family: var(--pn-font-display);
	color: #fff;
	font-size: 1.0625rem;
}
.site-footer .footer-title::before,
.site-footer .footer-title::after { display: none; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-social li a {
	border-radius: var(--pn-r-chip);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}
.site-footer .footer-social li a:hover { background: var(--pn-accent); }
.site-footer .footer-bottom,
.site-footer .copyright-area {
	background: var(--pn-deep);
	border-top: 1px solid rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .6);
}
.site-footer input[type="email"],
.site-footer input[type="text"] {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .18);
	color: #fff;
}

/* Motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition: none !important;
		animation: none !important;
	}
	.product-box:hover { transform: none; }
}

/* Mobile ---------------------------------------------------------------- */
@media (max-width: 767px) {
	body { font-size: 16px; }
	.product-box .product-content { padding: 16px; }
}

/* Empty search result ---------------------------------------------------- */
.pn-empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 56px 24px;
	background: var(--pn-surface);
	border: 1px dashed var(--pn-line);
	border-radius: var(--pn-r-card);
	text-align: center;
}
.pn-empty svg { color: var(--pn-accent); margin-bottom: 8px; }
.pn-empty h2 { margin: 0; font-size: 1.375rem; }
.pn-empty p { margin: 0 auto; max-width: 46ch; color: var(--pn-ink-muted); }
.pn-empty__actions { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.pn-empty__actions .btn { height: 44px; display: inline-flex; align-items: center; padding: 0 20px; }
.pn-empty__link { font-weight: 600; }

/* Promoted ("Top") listings shown above the results ----------------------- */
.as-top .pn-card__media::before {
	content: "Promoted";
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 6px 10px;
	border-radius: var(--pn-r-chip);
	background: var(--pn-surface);
	color: var(--pn-ink);
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	box-shadow: 0 1px 3px rgba(18, 48, 79, .16);
}
.as-top .pn-card__featured { display: none; }
.as-top .pn-card { box-shadow: 0 0 0 1px var(--pn-accent-soft), var(--pn-shadow); }

/* Property tools ------------------------------------------------------------ */
.pn-tools { display: flex; flex-direction: column; gap: 24px; }
.pn-tools__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	position: sticky;
	top: 84px;
	z-index: 5;
	padding: 8px 0;
	background: var(--pn-bg);
}
.pn-tools__nav a {
	padding: 9px 16px;
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-chip);
	background: var(--pn-surface);
	color: var(--pn-ink);
	font-weight: 600;
}
.pn-tools__nav a:hover { border-color: var(--pn-accent); color: var(--pn-accent); }
.pn-tool {
	padding: 32px;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	scroll-margin-top: 150px;
}
.pn-tool__intro { margin-bottom: 24px; }
.pn-tool__intro h2 { margin: 0 0 6px; font-size: 1.5rem; }
.pn-tool__intro p { margin: 0; color: var(--pn-ink-muted); }
.pn-bond__inputs--single { grid-template-columns: 1fr; align-content: start; }
.pn-tool__search { margin-top: 10px; font-weight: 700; }
.pn-tool__search[hidden] { display: none; }
@media (max-width: 767px) {
	.pn-tool { padding: 20px; }
	.pn-tools__nav { top: 64px; }
}

/* Agent and agency directories --------------------------------------------- */
.pn-directory-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	padding: 8px 0 32px;
}
.pn-directory-head h1 { margin: 0 0 6px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.pn-directory-head p { margin: 0; color: var(--pn-ink-muted); }
.pn-directory-search { display: flex; flex-wrap: wrap; gap: 8px; }
.pn-directory-search input,
.pn-directory-search .pn-select { height: 48px; padding: 0 14px; min-width: 200px; }
.pn-directory-search .pn-select {
	appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2312304f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.pn-directory-search .btn { height: 48px; padding: 0 24px; }

.agent-block,
.store-item,
.rtcl-store-item {
	background: var(--pn-surface);
	border: 0 !important;
	border-radius: var(--pn-r-card) !important;
	box-shadow: var(--pn-shadow);
}
.agent-block .item-img img { border-radius: 10px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; }
.agent-block .agent-name a { color: var(--pn-ink); }
.agent-block .agency-name a { color: var(--pn-ink-muted); font-weight: 400; }
.agent-block .listing-count,
.store-item .listing-count { border-radius: var(--pn-r-chip); font-weight: 600; }

@media (max-width: 767px) {
	.pn-directory-search { width: 100%; }
	.pn-directory-search input,
	.pn-directory-search .pn-select { flex: 1 1 100%; min-width: 0; }
	.pn-directory-search .btn { flex: 1 1 100%; }
}

/* Elementor headings default to the kit's accent colour; headings are ink. */
.elementor-widget-heading .elementor-heading-title { color: var(--pn-ink); }
.pn-tools-page .pn-home-lead { margin-bottom: 24px; }
.post-type-archive-rtcl_agent .content-area { padding-top: 40px; }

/* Account dashboard ------------------------------------------------------- */
.rtcl-MyAccount-navigation {
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	box-shadow: none;
}
.rtcl-MyAccount-navigation h4 { font-size: 1rem; color: var(--pn-ink-muted); }
.rtcl-MyAccount-navigation li::before { display: none; }
.rtcl-MyAccount-navigation li a { color: var(--pn-ink); font-weight: 600; border-radius: 8px; }
.rtcl-MyAccount-navigation li a:hover { color: var(--pn-accent); background: var(--pn-bg); }
.rtcl-MyAccount-navigation li.is-active,
.rtcl-MyAccount-navigation li.is-active a {
	background: var(--pn-accent-soft);
	color: var(--pn-accent) !important;
	border-radius: 8px;
}
.rtcl-MyAccount-navigation li.is-active a::before { color: var(--pn-accent); }
.rtcl-MyAccount-content .rtcl-info,
.rtcl-MyAccount-content > p:only-child,
.rtcl-MyAccount-content .no-listing-found {
	padding: 40px 24px;
	background: var(--pn-surface);
	border: 1px dashed var(--pn-line);
	border-radius: var(--pn-r-card);
	text-align: center;
	color: var(--pn-ink-muted);
}

/* Listing submission form -------------------------------------------------- */
#rtcl-post-form .rtcl-post-section {
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	box-shadow: none;
	padding: 20px 24px;
	margin-bottom: 20px;
}
#rtcl-post-form .rtcl-post-section .rtcl-post-section-title {
	border: 0;
	padding: 0 0 12px;
	margin: 0 0 16px;
	border-bottom: 1px solid var(--pn-line);
}
#rtcl-post-form > .rtcl-post > .rtcl-post-section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	margin-bottom: 20px;
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
	background: var(--pn-accent-soft);
}
#rtcl-post-form > .rtcl-post > .rtcl-post-section-title h3 { margin: 0; }
#rtcl-post-form .selected-cat { font-weight: 600; color: var(--pn-ink); }
#rtcl-post-form .change-cat { margin-left: 8px; font-weight: 600; }
#rtcl-post-form .rtcl-post-section-title h3 {
	font-family: var(--pn-font-display);
	font-size: 1.125rem;
	color: var(--pn-ink);
}
#rtcl-post-form .rtcl-post-section-title h3 i { color: var(--pn-accent); }
#rtcl-post-form .form-check-input { accent-color: var(--pn-accent); }
#rtcl-post-form .rtcl-submit-btn {
	height: 52px;
	padding: 0 32px;
	font-size: 17px;
	text-transform: none;
}

/* Footer: plain deep navy, no HomListi background photo. */
.site-footer .main-footer,
.footer-style-2 .main-footer { background-image: none !important; }
.site-footer .main-footer::before,
.footer-style-2 .main-footer::before { display: none; }

/* For agents page --------------------------------------------------------- */
.pn-hero--agents { padding: 72px 0; }
.pn-hero--agents > .elementor-container > .elementor-column:empty,
.pn-hero--agents > .elementor-container > .elementor-column:last-child:not(:has(.elementor-widget)) { display: none; }
.pn-hero-btn .elementor-button {
	background: var(--pn-accent);
	color: #fff;
	border-radius: var(--pn-r-control);
	padding: 15px 24px;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 16px;
}
.pn-hero-btn .elementor-button:hover { background: var(--pn-accent-hover); color: #fff; }

.pn-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--pn-line);
}
.pn-benefits li {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 6px 24px;
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--pn-line);
}
.pn-benefits strong { font-family: var(--pn-font-display); color: var(--pn-ink); }
.pn-benefits span { color: var(--pn-ink-muted); }

.pn-steps {
	counter-reset: pn-step;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
}
.pn-steps li {
	counter-increment: pn-step;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 28px;
}
.pn-steps li + li { border-left: 1px solid var(--pn-line); }
.pn-steps li::before {
	content: counter(pn-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 8px;
	border-radius: var(--pn-r-chip);
	background: var(--pn-accent-soft);
	color: var(--pn-accent);
	font-family: var(--pn-font-display);
	font-weight: 800;
}
.pn-steps strong { font-family: var(--pn-font-display); font-size: 1.125rem; color: var(--pn-ink); }
.pn-steps span { color: var(--pn-ink-muted); }

#join { scroll-margin-top: 90px; }
.pn-form-panel > .elementor-widget-wrap {
	padding: 32px !important;
	background: var(--pn-surface);
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-card);
}

/* Fluent Forms on brand */
.fluentform .ff-el-input--label label {
	font-family: var(--pn-font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--pn-ink);
}
.fluentform .ff-el-form-control { height: 48px; padding: 0 14px; }
.fluentform textarea.ff-el-form-control { height: auto; padding: 12px 14px; }
.fluentform select.ff-el-form-control { appearance: auto; }
.fluentform .ff-el-help-message { font-size: 14px; color: var(--pn-ink-muted); font-style: normal; }
.fluentform .ff_gdpr_field,
.fluentform input[type="checkbox"] { accent-color: var(--pn-accent); }
.fluentform .ff-el-tc label { font-weight: 400; color: var(--pn-ink); }
.fluentform .ff-btn-submit {
	background: var(--pn-accent) !important;
	border-color: var(--pn-accent) !important;
	border-radius: var(--pn-r-control) !important;
	font-family: var(--pn-font-display);
	font-weight: 700;
	padding: 14px 28px;
}
.fluentform .ff-btn-submit:hover { background: var(--pn-accent-hover) !important; }
.fluentform .text-danger,
.fluentform .error { color: var(--pn-error); }

@media (max-width: 1024px) {
	.pn-steps { grid-template-columns: 1fr; }
	.pn-steps li + li { border-left: 0; border-top: 1px solid var(--pn-line); }
}
@media (max-width: 767px) {
	.pn-benefits li { grid-template-columns: 1fr; }
	.pn-form-panel > .elementor-widget-wrap { padding: 20px !important; }
}

/* Hero search: "More filters" panel ---------------------------------------- */
.pn-hero-search__more { border-top: 1px solid var(--pn-line); padding-top: 12px; }
.pn-hero-search__more > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	list-style: none;
	font-family: var(--pn-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--pn-accent);
}
.pn-hero-search__more > summary::-webkit-details-marker { display: none; }
.pn-hero-search__more > summary::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pn-hero-search__more > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .15s ease;
}
.pn-hero-search__more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.pn-hero-search__extra {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr);
	gap: 12px;
	padding-top: 14px;
}
.pn-hero-search__field--keyword { grid-column: auto; }
.pn-hero-search input[type="search"] { width: 100%; height: 48px; padding: 0 12px; }
.pn-hero-search__features { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.pn-hero-search__features legend {
	margin: 0 0 6px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--pn-ink);
}

/* Checkbox pills (feature quick-picks) */
.pn-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-pill { margin: 0; cursor: pointer; }
.pn-pill input { position: absolute; opacity: 0; pointer-events: none; }
.pn-pill span {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--pn-line);
	border-radius: var(--pn-r-chip);
	background: var(--pn-surface);
	font-size: 15px;
	font-weight: 600;
	color: var(--pn-ink);
	transition: background .15s ease, border-color .15s ease;
}
.pn-pill:hover span { border-color: var(--pn-accent); }
.pn-pill input:checked + span { background: var(--pn-accent-soft); border-color: var(--pn-accent); color: var(--pn-accent); }
.pn-pill input:focus-visible + span { box-shadow: var(--pn-focus); }

/* Second Search button at the end of the open panel, phones only. */
.pn-hero-search__submit--panel { display: none; }
@media (max-width: 767px) {
	.pn-hero-search__extra { grid-template-columns: 1fr 1fr; }
	.pn-hero-search__extra > .pn-hero-search__field:first-child,
	.pn-hero-search__extra > .pn-hero-search__field:nth-child(4) { grid-column: 1 / -1; }
	.pn-hero-search__submit--panel { display: block; grid-column: 1 / -1; width: 100%; }
}

/* Full-width hero search (no photo column). */
.pn-hero .pn-hero__lead p { max-width: 60ch; }
@media (max-width: 1024px) {
	.pn-hero-search__extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pn-hero-search__field--keyword { grid-column: 1 / -1; }
}

.pn-hero .elementor-widget.pn-hero__lead { margin-bottom: 32px !important; }
.pn-hero .elementor-widget-heading { margin-bottom: 14px !important; }

/* Hero copy spans the same width as the full-width search. */
.pn-hero h1.elementor-heading-title { max-width: none; }
.pn-hero .pn-hero__lead,
.pn-hero .pn-hero__lead p { max-width: none; }

/* Hero headline and intro centred above the search. */
.pn-hero h1.elementor-heading-title,
.pn-hero .pn-hero__lead,
.pn-hero .pn-hero__lead p { text-align: center; }
