/* Paramus Dental Arts Landing Page — supplemental styles
   Loaded by the plugin on the front end and inside the Elementor editor preview.
   Everything here is scoped to .pda-* classes set on the matching containers,
   so it never leaks into the rest of the site. */

/* Sticky header */
.pda-header {
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 6px 24px -16px rgba(22, 33, 30, .40);
	backdrop-filter: saturate(1.3) blur(6px);
}

/* Facility gallery — asymmetric CSS grid (overrides the flex container) */
.pda-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 200px;
	gap: 16px;
}
.pda-gallery > * { margin: 0 !important; width: auto !important; }
.pda-gallery > *:first-child { grid-column: span 2; grid-row: span 2; }
.pda-gallery > *:nth-child(4) { grid-column: span 2; }
.pda-gallery img,
.pda-gallery .elementor-widget-image,
.pda-gallery .elementor-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Card hover lift (doctors + treatments) */
.pda-card {
	transition: transform .3s ease, box-shadow .3s ease;
}
.pda-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 56px -34px rgba(22, 33, 30, .55);
}

/* Patient-stories horizontal scroller */
.pda-stories-track {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 8px;
}
.pda-stories-track::-webkit-scrollbar { display: none; }
.pda-stories-track > * { scroll-snap-align: start; }
.pda-story video { width: 100%; height: 100%; object-fit: cover; }

/* CTA gradient band */
.pda-cta {
	background: linear-gradient(120deg, #1C4E45, #0F3A33) !important;
}

/* Hero overlay text safety */
.pda-hero { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pda-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.pda-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.pda-gallery > *:first-child { grid-column: span 2; grid-row: span 1; }
	.pda-gallery > *:nth-child(4) { grid-column: span 1; }
	.pda-stories-track > * { width: 80vw !important; }
}
