/**
 * SSRP LP — Testimonials Slider wrapper.
 *
 * Intentionally minimal: the inner slider inherits the site-wide CSS from
 * assets/css/modular (loaded by the loader on LP context). This file just
 * ensures the block obeys LP section spacing and adds a subhead slot.
 */

.ssrp-lp-section--testimonials-slider {
	padding-block: var(--ssrp-lp-section-gap);
	overflow: hidden; /* Clip the Swiper track during init so nothing leaks out. */
}

/* Force overflow clipping on the swiper even before JS initializes it, so
   the raw horizontal row of slides doesn't blow the page width out to 5000+
   px when the Swiper init script runs a tick later. */
.ssrp-lp-section--testimonials-slider .homepage-testimonials-swiper {
	overflow: hidden;
}

.ssrp-lp-testimonials-slider__subhead-wrap {
	margin-bottom: 1.25rem;
}

.ssrp-lp-testimonials-slider__subhead {
	max-width: 48rem;
	margin-inline: auto;
	text-align: center;
}

/* The site-wide slider section already sets its own padding. Neutralize it
   so the LP section padding wins. */
.ssrp-lp-section--testimonials-slider .homepage-testimonials {
	padding-block: 0;
	background: transparent;
}
