/* ==========================================================================
   Bromley — PPC landing, single development page (/new-developments-ppc/<slug>/)
   Builds on landing-ppc.css: hero, carousel, cards and modals come from there.
   ========================================================================== */

/* --- Hero: the development's first photo ------------------------------- */
.ppc-landing .ppc-dev-hero {
	background-size: cover;
	background-position: center;
	padding-bottom: 64px;
}
.ppc-landing .ppc-dev-back {
	display: inline-block;
	margin-bottom: 24px;
	color: #fff;
	opacity: .85;
	text-decoration: none;
	font-size: .9rem;
}
.ppc-landing .ppc-dev-back:hover {
	opacity: 1;
	color: #fff;
}
.ppc-landing .ppc-dev-hero-loc {
	opacity: .9;
}
.ppc-landing .ppc-dev-hero-price {
	color: #fff;
}

/* --- Gallery: Swiper strip, three photos across on desktop ----------- */
.ppc-landing .ppc-dev-gallery-swiper {
	position: relative;
}
.ppc-landing .ppc-dev-gallery-swiper .swiper-slide img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
	user-select: none;
}
@media (max-width: 575.98px) {
	.ppc-landing .ppc-dev-gallery-swiper .swiper-slide img {
		height: 260px;
	}
}
.ppc-landing .ppc-dev-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #32373c;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	cursor: pointer;
}
.ppc-landing .ppc-dev-prev {
	left: 12px;
}
.ppc-landing .ppc-dev-next {
	right: 12px;
}
.ppc-landing .ppc-dev-nav.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}

/* --- Body -------------------------------------------------------------- */
.ppc-landing .ppc-dev-desc {
	line-height: 1.7;
}
.ppc-landing .ppc-dev-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ppc-landing .ppc-dev-amenity {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e6f6f5;
	color: #32373c;
	font-size: .875rem;
}
.ppc-landing .ppc-dev-units th {
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #6c757d;
	font-weight: 600;
}
.ppc-landing .ppc-dev-map {
	border-radius: 6px;
	overflow: hidden;
}
.ppc-landing .ppc-dev-map iframe {
	border: 0;
}

/* --- Sticky brochure card --------------------------------------------- */
.ppc-landing .ppc-dev-aside {
	position: sticky;
	top: 24px;
	padding: 24px;
	border: 1px solid #e3e6e8;
	border-top: 4px solid #00aca3;
	border-radius: 6px;
	background: #fff;
}
.ppc-landing .ppc-dev-facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin-bottom: 20px;
	font-size: .95rem;
}
.ppc-landing .ppc-dev-facts dt {
	font-weight: 400;
	color: #6c757d;
}
.ppc-landing .ppc-dev-facts dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

/* --- Other developments ------------------------------------------------ */
.ppc-landing .ppc-dev-others {
	background: #f6f7f8;
}
/* The card is a Bootstrap column on the landing; inside a slide it fills it. */
.ppc-landing .ppc-dev-others .swiper-slide {
	height: auto;
	display: flex;
}
.ppc-landing .ppc-dev-others .swiper-slide > .listing-property {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	flex: 1 1 auto;
	padding: 0;
	margin-bottom: 0 !important;
	/* Equal heights push the specs row down (margin-top: auto in
	   landing-ppc.css); a white card keeps that space from showing grey. */
	background: #fff;
}
/* Desktop: Swiper isn't running, the slides sit in a three-column grid. */
.ppc-landing .ppc-dev-others-swiper:not(.swiper-initialized) .swiper-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.ppc-landing .ppc-dev-others-swiper:not(.swiper-initialized) .ppc-dev-others-dots {
	display: none;
}
/* Tablet/mobile: room under the slides for the dots. */
.ppc-landing .ppc-dev-others-swiper.swiper-initialized {
	padding-bottom: 36px;
}
.ppc-landing .ppc-dev-others-dots .swiper-pagination-bullet-active {
	background: #00aca3;
}

/* --- Lead gate for Google Ads visitors (see landing-ppc.php head) ------- */
.ppc-landing > :not(.modal) {
	transition: filter .35s ease;
}
html.ppc-gated .ppc-landing > :not(.modal) {
	filter: blur(7px);
	pointer-events: none;
	user-select: none;
}
html.ppc-gated,
html.ppc-gated body {
	overflow: hidden;
}
/* Light backdrop: the blurred development should still read behind the form. */
html.ppc-gated .modal-backdrop.show {
	opacity: .3;
}
#ppcBrochureModal.is-gate .ppc-brochure-close {
	display: none;
}
