/* Testimonial Carousel Widget — Figma frames 9518:129100/129101/129102 */

.testimonial-carousel-widget {
    background-color: #FFFFFF;
    width: 100%;
    padding: 40px 0;
}

/* Heading */
.testimonial-carousel-widget h2.testimonial-heading {
    color: #0053A5;
    font-family: "Gotham SSm A", "Gotham SSm B", "Gotham", Arial, sans-serif;
    font-size: 34px;
    line-height: 42px;
    font-weight: 325;
    text-transform: capitalize;
    margin: 0 0 64px 0;
    padding: 0 80px;
    text-align: left;
}

.testimonial-slider-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

/* Equal-height slides — the height: 100% chain Slick expects */
.testimonial-carousel-widget .slick-list {
    overflow: hidden;
    padding-top: 40px !important;
}

.testimonial-carousel-widget .slick-track {
    display: flex !important;
}

.testimonial-carousel-widget .slick-slide {
    height: auto !important;
}

.testimonial-carousel-widget .slick-slide > div {
    height: 100%;
    display: flex;
}

/* The 16px gap between cards: transparent padding around the visible card */
.testimonial-carousel-widget .testimonial-slide {
    width: 100%;
    height: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    display: flex;
}

/* Side (inactive) card — Figma 9518:129100 / 9518:129102 */
.testimonial-carousel-widget .testimonial-card {
    background-color: #0053A5;
    border-radius: 16px;
    padding: 32px 24px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    overflow: hidden;
    color: #FFFFFF;
}

.testimonial-carousel-widget .testimonial-quote-icon {
    display: inline-block;
    line-height: 1;
}

.testimonial-carousel-widget .testimonial-quote-icon i {
    color: #FFFFFF;
    font-size: 56px;
    line-height: 1;
}

.testimonial-carousel-widget .t-text {
    font-family: "Gotham SSm A", "Gotham SSm B", "Gotham", Arial, sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 325;
    color: #FFFFFF;
    /* text-transform: capitalize; */
    margin: 0;
}

.testimonial-carousel-widget .t-author {
    font-family: "Gotham SSm A", "Gotham SSm B", "Gotham", Arial, sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 325;
    color: #FFFFFF;
    /* text-transform: capitalize; */
    margin: auto 0 0 0;
}

/* Active (center) card — Figma 9518:129101 */
.testimonial-carousel-widget .slick-current {
    margin-top: -32px;
}

.testimonial-carousel-widget .slick-current .testimonial-card {
    background-color: #DBEAB9;
    border-radius: 24px;
    padding: 40px 32px;
    color: #002569;
}

.testimonial-carousel-widget .slick-current .testimonial-quote-icon i {
    color: #002569;
    font-size: 72px;
}

.testimonial-carousel-widget .slick-current .t-text {
    color: #002569;
    font-size: 20px;
    line-height: 30px;
}

.testimonial-carousel-widget .slick-current .t-author {
    color: #434343;
    font-size: 20px;
    line-height: 30px;
}

/* Arrows */
.testimonial-arrows {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #002569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow i {
    font-size: 24px;
    line-height: 1;
}

.testimonial-arrow:hover {
    color: #0053A5;
}

.testimonial-arrow.slick-disabled {
    color: #868F98;
    cursor: default;
}

/* --- Tablet --- */
@media only screen and (max-width: 1199px) {
    .testimonial-carousel-widget .testimonial-card {
        padding: 28px 20px;
        gap: 20px;
    }
    .testimonial-carousel-widget .slick-current .testimonial-card {
        padding: 32px 24px;
    }
    .testimonial-carousel-widget .t-text {
        font-size: 22px;
        line-height: 32px;
    }
    .testimonial-carousel-widget .slick-current .t-text {
        font-size: 26px;
        line-height: 36px;
    }
    .testimonial-carousel-widget .t-author,
    .testimonial-carousel-widget .slick-current .t-author {
        font-size: 18px;
        line-height: 26px;
    }
    .testimonial-carousel-widget .testimonial-quote-icon i {
        font-size: 40px;
    }
    .testimonial-carousel-widget .slick-current .testimonial-quote-icon i {
        font-size: 52px;
    }
}

@media only screen and (max-width: 991px) {
    .testimonial-carousel-widget h2.testimonial-heading {
        font-size: 28px;
        line-height: 36px;
        padding: 0 32px;
        margin-bottom: 32px;
    }
}

/* --- Mobile (Figma 8389:35289) --- */
@media only screen and (max-width: 767px) {
    .testimonial-carousel-widget {
        padding: 24px 0;
    }
    .testimonial-carousel-widget .slick-current {
        margin-top: 0;
    }
    .testimonial-carousel-widget .slick-list {
        padding-top: 0 !important;
    }
    .testimonial-carousel-widget h2.testimonial-heading {
        font-size: 22px;
        line-height: 30px;
        padding: 0 16px;
        margin-bottom: 24px;
    }
    .testimonial-carousel-widget .testimonial-card {
        padding: 32px;
        gap: 16px;
    }
    .testimonial-carousel-widget .slick-current .testimonial-card {
        padding: 32px;
        gap: 10px;
    }
    .testimonial-carousel-widget .t-text {
        font-size: 16px;
        line-height: 24px;
    }
    .testimonial-carousel-widget .slick-current .t-text {
        font-size: 20px;
        line-height: 28px;
    }
    .testimonial-carousel-widget .t-author,
    .testimonial-carousel-widget .slick-current .t-author {
        font-size: 16px;
        line-height: 24px;
    }
    .testimonial-carousel-widget .testimonial-quote-icon i {
        font-size: 20px;
    }
    .testimonial-carousel-widget .slick-current .testimonial-quote-icon i {
        font-size: 32px;
    }
    .testimonial-arrow {
        width: 24px;
        height: 24px;
    }
    .testimonial-arrow i {
        font-size: 16px;
    }
}
