/* ============================================================
   Testimonials Slider — uniform light-purple cards
   Sourced from /design-systems/ymcacva.com/mockups/testimonial-sliders.html
   ============================================================ */

.testimonials-slider {
    padding: 4rem 0;
}

.testimonials-slider__heading {
    text-align: center;
    margin-bottom: 2rem;
}

/* Vertical room so the card box-shadows aren't clipped by the track's
   overflow:hidden. Horizontal room is handled by Splide's `padding` option
   in the block's JS (same pattern as blog_cards). */
.testimonials-slider .splide__track {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* The card IS the slide — Splide sets its width/margin inline (gap handles
   spacing between cards). box-sizing keeps the card padding inside that width. */
.testimonials-slider__card {
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--transparent-purple);
    box-shadow: 2px 3px 6px #00000029;
}

.testimonials-slider__quote {
    padding: 1.75rem 1.5rem 1rem;
    color: var(--dark-purple);
    font-size: 17px;
    line-height: 1.55;
    flex: 1;
}

.testimonials-slider__quote-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 0.8;
    color: var(--dark-purple);
    display: block;
    font-size: 42px;
    margin-bottom: -0.25rem;
}

.testimonials-slider__attr {
    padding: 0.5rem 1.5rem 1.5rem;
}

.testimonials-slider__attr-name {
    font-weight: 700;
    color: var(--dark-purple);
    font-size: 16px;
    letter-spacing: -0.3px;
    margin: 0;
}

.testimonials-slider__attr-role {
    font-size: 14px;
    color: var(--dark-purple);
    opacity: 0.75;
    margin: 0.1rem 0 0;
}

/* Splide pagination — match the brand */
.testimonials-slider .splide__pagination {
    position: relative;
    bottom: auto;
    margin-top: 1.5rem;
    gap: 0.4rem;
}
.testimonials-slider .splide__pagination__page {
    width: 14px;
    height: 14px;
    background: #d5d5d5;
    opacity: 1;
    border: none;
    margin: 0;
}
.testimonials-slider .splide__pagination__page.is-active {
    background: var(--dark-blue);
    transform: none;
}
