/* Promenade Listings */
.pl-wrap {
	--pl-navy: #182549;
	--pl-blue: #2cc4f2;
	--pl-ink: #2b3245;
	--pl-muted: #6b7386;
	--pl-line: #e3e6ee;
	--pl-soft: #f5f7fb;
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 20px 48px;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	color: var(--pl-ink);
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
	text-align: left;
}
.pl-wrap *, .pl-wrap *::before, .pl-wrap *::after { box-sizing: border-box; }
.pl-wrap a { text-decoration: none; }
.pl-wrap h1, .pl-wrap h2, .pl-wrap h3 { font-family: inherit; color: var(--pl-navy); letter-spacing: 0; text-transform: none; margin: 0; }
.pl-wrap p { margin: 0; }
.pl-wrap img { max-width: 100%; height: auto; display: block; }

/* Search */
.pl-search {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px 16px;
	align-items: end;
	background: var(--pl-soft);
	border: 1px solid var(--pl-line);
	border-radius: 10px;
	padding: 20px;
	margin: 0 0 36px;
}
.pl-field { display: block; margin: 0; min-width: 0; }
.pl-field--wide { grid-column: 1 / -1; }
.pl-field > span { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-navy); margin-bottom: 6px; }
.pl-wrap .pl-field input,
.pl-wrap .pl-field select {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 12px;
	font: inherit;
	font-size: 15px;
	color: var(--pl-ink);
	background-color: #fff;
	border: 1px solid #cfd4e0;
	border-radius: 6px;
	box-shadow: none;
}
.pl-wrap .pl-field input:focus,
.pl-wrap .pl-field select:focus { outline: 2px solid var(--pl-blue); outline-offset: 1px; border-color: var(--pl-blue); }
.pl-actions { display: flex; align-items: center; gap: 16px; grid-column: span 3; }
.pl-wrap .pl-btn {
	display: inline-block;
	height: 46px;
	line-height: 46px;
	padding: 0 34px;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	line-height: 46px;
	color: #fff;
	background: var(--pl-navy);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	text-shadow: none;
	box-shadow: none;
	text-align: center;
	transition: background-color .15s;
}
.pl-wrap .pl-btn:hover, .pl-wrap .pl-btn:focus { background: var(--pl-blue); color: var(--pl-navy); }
.pl-wrap .pl-btn--full { display: block; width: 100%; }
.pl-reset { color: var(--pl-navy); font-weight: 600; font-size: 14px; text-decoration: underline !important; }

/* Sections */
.pl-section { margin: 0 0 44px; }
.pl-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.pl-wrap .pl-heading { font-size: 26px; font-weight: 700; line-height: 1.2; margin: 0 0 20px; }
.pl-section-head .pl-heading { margin: 0; }
.pl-wrap .pl-heading::after { content: ""; display: block; width: 56px; height: 3px; background: var(--pl-blue); margin-top: 10px; }
.pl-count { color: var(--pl-muted); font-size: 14px; }
.pl-notice { background: var(--pl-soft); border-left: 4px solid var(--pl-blue); padding: 16px 18px; border-radius: 4px; margin: 0 0 20px !important; }
.pl-notice a { color: var(--pl-navy); font-weight: 600; text-decoration: underline; }
.pl-notice--admin { border-left-color: #d9822b; font-size: 14px; }

/* Cards */
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.pl-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pl-line);
	border-radius: 10px;
	overflow: hidden;
	color: var(--pl-ink);
	transition: box-shadow .18s, transform .18s;
}
.pl-card:hover, .pl-card:focus { box-shadow: 0 10px 28px rgba(24, 37, 73, .16); transform: translateY(-2px); color: var(--pl-ink); }
.pl-card--own { border-color: var(--pl-blue); box-shadow: 0 0 0 1px var(--pl-blue); }
.pl-card-photo { position: relative; display: block; aspect-ratio: 3 / 2; background: #e9ecf3; overflow: hidden; }
.pl-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.pl-nophoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--pl-muted); font-size: 14px; }
.pl-badge { position: absolute; top: 12px; left: 12px; background: var(--pl-blue); color: var(--pl-navy); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 4px; }
.pl-badge--deal { left: auto; right: 12px; background: var(--pl-navy); color: #fff; }
.pl-card-body { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 16px; flex: 1; }
.pl-price { font-size: 23px; font-weight: 700; color: var(--pl-navy); line-height: 1.2; }
.pl-price small { font-size: 13px; font-weight: 500; color: var(--pl-muted); }
.pl-address { font-size: 16px; font-weight: 600; }
.pl-place { font-size: 14px; color: var(--pl-muted); }
.pl-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; margin-top: 8px; }
.pl-facts strong { color: var(--pl-navy); }
.pl-type { font-size: 13px; color: var(--pl-muted); }
.pl-broker { font-size: 11px; color: var(--pl-muted); margin-top: auto; padding-top: 12px; text-transform: uppercase; letter-spacing: .04em; }

.pl-intro { font-size: 13.5px; line-height: 1.5; color: var(--pl-ink); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pl-more { color: var(--pl-navy); font-weight: 600; white-space: nowrap; }
.pl-card:hover .pl-more { color: var(--pl-blue); }

/* Mortgage calculator and enquiry form */
.pl-calc, .pl-form { border: 1px solid var(--pl-line); border-radius: 10px; padding: 20px 22px; margin: 18px 0 0; }
.pl-wrap .pl-calc h3, .pl-wrap .pl-form h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.pl-calc label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--pl-navy); }
.pl-wrap .pl-calc input { width: 120px; height: 38px; margin: 0; padding: 0 10px; font: inherit; font-size: 14px; text-align: right; border: 1px solid #cfd4e0; border-radius: 6px; background: #fff; box-shadow: none; }
.pl-calc-result { font-size: 15px; padding-top: 12px; margin-top: 4px !important; border-top: 1px solid var(--pl-line); display: flex; justify-content: space-between; }
.pl-calc-result strong { font-size: 19px; color: var(--pl-navy); }
.pl-calc-note { font-size: 11px; line-height: 1.5; color: var(--pl-muted); margin-top: 10px !important; }

/* Pages */
.pl-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.pl-page { min-width: 42px; height: 42px; line-height: 40px; padding: 0 12px; text-align: center; border: 1px solid var(--pl-line); border-radius: 6px; color: var(--pl-navy); font-weight: 600; font-size: 15px; background: #fff; }
a.pl-page:hover { border-color: var(--pl-blue); background: var(--pl-blue); color: var(--pl-navy); }
.pl-page.is-current { background: var(--pl-navy); border-color: var(--pl-navy); color: #fff; }
.pl-gap { color: var(--pl-muted); }

.pl-disclaimer, .pl-updated { font-size: 11.5px; line-height: 1.6; color: var(--pl-muted); margin-top: 28px !important; }
.pl-updated { margin-top: 36px !important; }
.pl-updated + .pl-disclaimer { margin-top: 8px !important; }

/* Listing page */
.pl-back { display: inline-block; color: var(--pl-navy); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.pl-back:hover { color: var(--pl-blue); }
.pl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 30px; margin-bottom: 22px; }
.pl-tags { display: flex; gap: 8px; margin-bottom: 10px !important; }
.pl-tag { background: var(--pl-navy); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 4px; }
.pl-tag--own { background: var(--pl-blue); color: var(--pl-navy); }
.pl-wrap .pl-title { font-size: 34px; font-weight: 700; line-height: 1.15; }
.pl-sub { color: var(--pl-muted); font-size: 16px; margin-top: 6px !important; }
.pl-head-price { text-align: right; }
.pl-head-price .pl-price { font-size: 34px; }
.pl-mls { color: var(--pl-muted); font-size: 13px; }

.pl-gallery { margin-bottom: 26px; }
.pl-stage { position: relative; background: #10182f; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; max-height: 72vh; width: 100%; }
.pl-stage-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pl-stage img { width: 100%; height: 100%; object-fit: contain; }
.pl-wrap .pl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pl-navy); font-size: 30px; line-height: 42px; text-align: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); text-shadow: none; }
.pl-wrap .pl-nav:hover { background: var(--pl-blue); }
.pl-nav--prev { left: 14px; }
.pl-nav--next { right: 14px; }
.pl-counter { position: absolute; right: 14px; bottom: 14px; background: rgba(16, 24, 47, .8); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 4px; }
.pl-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 6px; scroll-behavior: smooth; }
.pl-thumb { flex: 0 0 108px; height: 72px; border-radius: 5px; overflow: hidden; border: 2px solid transparent; opacity: .75; }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pl-thumb:hover, .pl-thumb.is-active { opacity: 1; border-color: var(--pl-blue); }

.pl-wrap .pl-keyfacts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0 0 30px; padding: 0; border: 1px solid var(--pl-line); border-radius: 10px; overflow: hidden; }
.pl-keyfacts li { flex: 1 1 120px; padding: 16px 12px; text-align: center; border-right: 1px solid var(--pl-line); margin: 0; }
.pl-keyfacts li:last-child { border-right: 0; }
.pl-keyfacts strong { display: block; font-size: 20px; color: var(--pl-navy); line-height: 1.25; }
.pl-keyfacts span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--pl-muted); }

.pl-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.pl-block { margin-bottom: 34px; }
.pl-wrap .pl-block h2 { font-size: 21px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--pl-line); }
.pl-remarks { font-size: 16px; line-height: 1.75; }
.pl-link { color: var(--pl-navy); font-weight: 600; display: inline-block; margin-top: 12px; border-bottom: 2px solid var(--pl-blue); }
.pl-wrap .pl-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.pl-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--pl-line); font-size: 14.5px; }
.pl-wrap .pl-row dt { font-weight: 600; color: var(--pl-navy); flex: 0 0 auto; margin: 0; padding: 0; }
.pl-wrap .pl-row dd { margin: 0; padding: 0; text-align: right; overflow-wrap: anywhere; }
.pl-open ul { margin: 0; padding: 0; list-style: none; }
.pl-open li { background: var(--pl-soft); border-left: 4px solid var(--pl-blue); padding: 10px 14px; margin-bottom: 6px; font-weight: 600; color: var(--pl-navy); border-radius: 4px; }
.pl-rooms-scroll { overflow-x: auto; }
.pl-wrap .pl-rooms { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; border: 0; }
.pl-wrap .pl-rooms th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); padding: 8px 10px 8px 0; border: 0; border-bottom: 2px solid var(--pl-line); background: none; }
.pl-wrap .pl-rooms td { padding: 9px 10px 9px 0; border: 0; border-bottom: 1px solid var(--pl-line); vertical-align: top; background: none; }
.pl-rooms td:first-child { font-weight: 600; color: var(--pl-navy); }
.pl-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--pl-line); }
.pl-map iframe { display: block; width: 100%; height: 360px; border: 0; }

.pl-side { position: sticky; top: 110px; }
.pl-contact { background: var(--pl-navy); color: #fff; border-radius: 10px; padding: 26px 24px; }
.pl-wrap .pl-contact h2 { color: #fff; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.pl-contact p { font-size: 14.5px; margin-bottom: 18px !important; }
.pl-wrap .pl-contact .pl-btn { background: var(--pl-blue); color: var(--pl-navy); }
.pl-wrap .pl-contact .pl-btn:hover { background: #fff; }
.pl-contact .pl-contact-ref { font-size: 12.5px; opacity: .8; margin: 14px 0 0 !important; text-align: center; }
.pl-listedby { border: 1px solid var(--pl-line); border-radius: 10px; padding: 18px 22px; margin-top: 18px; }
.pl-wrap .pl-listedby h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--pl-muted); margin-bottom: 6px; font-weight: 600; }
.pl-listedby p { font-weight: 600; color: var(--pl-navy); font-size: 14.5px; }

/* Full-screen photo viewer */
.pl-lightbox { position: fixed; inset: 0; z-index: 999999; background: rgba(10, 15, 32, .96); display: flex; align-items: center; justify-content: center; }
.pl-lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.pl-lightbox button { position: absolute; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 32px; line-height: 48px; cursor: pointer; }
.pl-lightbox button:hover { background: #2cc4f2; color: #182549; }
.pl-lightbox .pl-lb-close { top: 18px; right: 18px; }
.pl-lightbox .pl-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.pl-lightbox .pl-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.pl-lightbox .pl-lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font: 14px Montserrat, sans-serif; }

@media (max-width: 980px) {
	.pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pl-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pl-actions { grid-column: 1 / -1; }
	.pl-columns { grid-template-columns: minmax(0, 1fr); }
	.pl-side { position: static; }
}
@media (max-width: 640px) {
	.pl-wrap { padding: 20px 16px 36px; }
	.pl-grid { grid-template-columns: minmax(0, 1fr); }
	.pl-wrap .pl-table { grid-template-columns: minmax(0, 1fr); }
	.pl-wrap .pl-title, .pl-head-price .pl-price { font-size: 26px; }
	.pl-head-price { text-align: left; }
	.pl-wrap .pl-heading { font-size: 22px; }
	.pl-wrap .pl-btn { width: 100%; }
	.pl-actions { flex-wrap: wrap; }
	.pl-map iframe { height: 280px; }
}
