/* ============================================ */
/*              Testimonials                    */
/* Component: template-parts/components/testimonials.php
/* ============================================ */

/* Mobile - 360px */
@media only screen and (min-width: 0px) {
    #testimonials {
        background: var(--navy);
        padding: var(--sectionPadding);
        position: relative;
        overflow: hidden;
    }

    #testimonials::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("https://websthetic.tor1.cdn.digitaloceanspaces.com/brooklyn-college/landing-page/world.svg") no-repeat center center;
        background-size: auto 110%;
        opacity: 0.03;
        pointer-events: none;
        z-index: 0;
    }

    #testimonials .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    #testimonials .cs-rule {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        margin: 0 0 1.5rem;
    }

    #testimonials .cs-label {
        font-family: var(--headerFont);
        font-size: 0.6875rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
        margin: 0 0 2.5rem;
        display: flex;
        align-items: center;
        gap: 0.625rem;
    }

    #testimonials .cs-label::before {
        content: "";
        width: 0.3125rem;
        height: 0.3125rem;
        border-radius: 50%;
        background: var(--signingGold);
        flex-shrink: 0;
    }

    #testimonials .cs-slider {
        position: relative;
        min-height: 13.75rem;
    }

    #testimonials .cs-slide {
        display: none;
        flex-direction: column;
    }

    #testimonials .cs-slide.is-active {
        display: flex;
    }

    #testimonials .cs-quote-mark {
        font-family: Georgia, serif;
        font-size: 4.5rem;
        line-height: 0.7;
        color: var(--signingGold);
        opacity: 0.9;
        margin-bottom: 1.5rem;
        display: block;
    }

    #testimonials .cs-quote {
        font-family: var(--headerFont);
        font-size: clamp(1.25rem, 5vw, 1.6rem);
        line-height: 1.3;
        color: var(--white);
        margin: 0 0 1.5rem;
        max-width: 56.25rem;
    }

    #testimonials .cs-author {
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.4);
        letter-spacing: 0.05em;
    }

    #testimonials .cs-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: clamp(2.5rem, 5vw, 3.5rem);
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #testimonials .cs-dots {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #testimonials .cs-dot {
        width: 0.375rem;
        height: 0.375rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
        border: none;
        padding: 0;
    }

    #testimonials .cs-dot.is-active {
        background: var(--signingGold);
        transform: scale(1.3);
    }

    #testimonials .cs-arrows {
        display: flex;
        gap: 0.625rem;
    }

    #testimonials .cs-arrow {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 0;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    #testimonials .cs-arrow svg {
        width: 0.875rem;
        height: 0.875rem;
        stroke: rgba(255, 255, 255, 0.65);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block;
    }

    #testimonials .cs-arrow:hover {
        border-color: rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.06);
    }
}

/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
    #testimonials .cs-quote-mark {
        font-size: 6rem;
    }

    #testimonials .cs-quote {
        font-size: clamp(1.5rem, 3vw, 2.25rem);
    }
}