/* ═══════════════════════════════════════════════════════════════════════
   LPJH Property Slider — Elementor Widget
   Re-scoped from .lpjh-luxury-unit .lpjh-similar-* to standalone .lpjh-ps-*
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Section container ── */
.lpjh-ps-section {
	--lpjh-ps-gap: 1.5rem;
	overflow: hidden;
}

.lpjh-ps-inner {
	margin: 0 auto;
}

/* ── Header: kicker + heading ── */
.lpjh-ps-header {
	margin-bottom: 3rem;
}

.lpjh-ps-kicker {
	margin: 0 0 0.6rem;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #b28a4a;
}

.lpjh-ps-heading {
	margin: 0;
	font-family: var(--font-secondary, "Playfair Display", serif);
	font-size: clamp(1.8rem, 3.2vw, 3rem);
	line-height: 1.1;
	font-weight: 400;
	color: var(--abe-global-color-primary, #1E646E);
}


/* ── Slides container ── */
.lpjh-ps-slides {
	display: flex;
	position: relative;
	overflow: hidden;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.lpjh-ps-slides:active {
	cursor: grabbing;
}

/* ── Individual card ── */
.lpjh-ps-card {
	flex: 0 0 calc((100% - var(--lpjh-ps-gap) * 2) / 3);
	margin-right: var(--lpjh-ps-gap);
	transition: transform 0.9s cubic-bezier(.19, 1, .22, 1);
}

.lpjh-ps-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.lpjh-ps-card-inner {
	position: relative;
}

/* ── Image — 85% padding-top ratio ── */
.lpjh-ps-card-image {
	position: relative;
	padding-top: 85%;
	margin: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.05);
}

.lpjh-ps-card-image img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(.19, 1, .22, 1);
}

.lpjh-ps-card:hover .lpjh-ps-card-image img {
	transform: scale(1.04);
}

/* ── Content below image ── */
.lpjh-ps-card-content {
	padding: 1.5rem 0;
}

.lpjh-ps-card-title {
	font-family: var(--font-secondary, "Playfair Display", serif);
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--abe-global-color-primary, #1E646E);
	margin: 0 0 0.4rem;
	line-height: 1.3;
}

.lpjh-ps-card-meta {
	display: block;
	font-size: 0.82rem;
	color: rgba(10, 10, 10, 0.55);
	margin-bottom: 1rem;
}

/* ── Animated underline "Explore" link ── */
.lpjh-ps-card-explore {
	position: relative;
	display: inline-block;
	color: var(--abe-global-color-primary, #1E646E);
	font-size: 0.85rem;
	letter-spacing: 0.03em;
}

.lpjh-ps-card-explore::before,
.lpjh-ps-card-explore::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transition: transform 0.9s cubic-bezier(.19, 1, .22, 1);
}

.lpjh-ps-card-explore::before {
	transform: scaleX(0);
	transform-origin: left;
	transition-delay: 0s;
}

.lpjh-ps-card-explore::after {
	transform-origin: right;
	transition-delay: 0.25s;
}

.lpjh-ps-card:hover .lpjh-ps-card-explore::before {
	transform: scaleX(1);
	transition-delay: 0.25s;
}

.lpjh-ps-card:hover .lpjh-ps-card-explore::after {
	transform: scaleX(0);
	transition-delay: 0s;
}

/* ── Footer: nav arrows + pips ── */
.lpjh-ps-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2rem;
}

.lpjh-ps-nav-wrap {
	display: flex;
	align-items: center;
}

.lpjh-ps-btn {
	position: relative;
	padding: 0 1.25rem;
	background: none;
	border: none;
	cursor: pointer;
	transition: opacity 0.5s ease;
}

.lpjh-ps-btn:first-child {
	padding-left: 0;
}

.lpjh-ps-btn svg {
	height: 0.9rem;
	width: auto;
	fill: var(--abe-global-color-primary, #1E646E);
}

.lpjh-ps-btn.is-disabled {
	opacity: 0.25;
	pointer-events: none;
}

/* ── Pips ── */
.lpjh-ps-pips {
	--pip-size: 6px;
	--pip-active: calc(var(--pip-size) * 4);
	display: flex;
}

.lpjh-ps-pip {
	height: var(--pip-size);
	width: var(--pip-size);
	border: 1px solid var(--abe-global-color-primary, #1E646E);
	border-radius: calc(var(--pip-size) / 2);
	margin-left: 0.75rem;
	cursor: pointer;
	transition: width 0.35s ease;
}

.lpjh-ps-pip.is-active {
	width: var(--pip-active);
	pointer-events: none;
}

/* ── Responsive: tablet — 2 cards ── */
@media (max-width: 1024px) {
	.lpjh-ps-card {
		flex: 0 0 calc((100% - var(--lpjh-ps-gap)) / 2);
	}
}

/* ── Responsive: mobile — 1 card ── */
@media (max-width: 767px) {
	.lpjh-ps-card {
		flex: 0 0 100%;
	}
}
