/* =========================================
   TESTIMONIAL SECTION - THEME MATCH
========================================= */

.testimonial-section {
    width: 100%;
    position: relative;
    overflow: hidden;

    font-family: "Montserrat", sans-serif;
}


/* Slider */

.testimonial-slider {
    width: 100%;
    overflow: hidden;
    padding: 5px 2px 42px;
}

.testimonial-slider .swiper-wrapper {
    align-items: stretch;
}

.testimonial-slider .swiper-slide {
    height: auto;
    min-width: 0;
}


/* =========================================
   TESTIMONIAL CARD
========================================= */

.testimonial-card {
    width: 100%;
    height: 100%;
    min-height: 210px;

    background: #F8F4EC;

    border: 1px solid rgba(214, 166, 71, 0.35);
    border-radius: 12px;

    padding: 24px 24px 20px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    font-family: "Montserrat", sans-serif;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);

    border-color: rgba(214, 166, 71, 0.65);

    box-shadow:
        0 10px 30px
        rgba(0, 78, 59, 0.08);
}


/* =========================================
   STARS
========================================= */

.testimonial-stars {
    display: flex;
    align-items: center;

    gap: 3px;

    margin-bottom: 17px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
}

.testimonial-stars span {
    color: #DDD4C4;
}

.testimonial-stars span.active {
    color: #D6A647;
}


/* =========================================
   REVIEW TEXT
========================================= */

.testimonial-review {
    margin-bottom: 22px;

    color: #17352C;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.65;

    letter-spacing: 0;
}

.testimonial-review p {
    margin: 0;
}

.testimonial-review p + p {
    margin-top: 8px;
}


/* =========================================
   CUSTOMER
========================================= */

.testimonial-author {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: auto;
}


/* Profile Image */

.testimonial-avatar {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;
}

.testimonial-avatar img {
    width: 46px;
    height: 46px;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    border: 1px solid rgba(214, 166, 71, 0.35);
}


/* Placeholder */

.testimonial-avatar-placeholder {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #004E3B;

    color: #F8F4EC;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
}


/* =========================================
   CUSTOMER DETAILS
========================================= */

.testimonial-author-info {
    min-width: 0;
}

.testimonial-name {
    margin-bottom: 3px;

    color: #17352C;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.35;
}

.testimonial-location {
    color: #7B807C;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================
   PAGINATION
========================================= */

.testimonial-pagination.swiper-pagination {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 6px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;
}

.testimonial-pagination
.swiper-pagination-bullet {

    width: 6px;
    height: 6px;

    margin: 0 !important;

    background: #D8CDBA;

    opacity: 1;

    transition:
        all 0.25s ease;
}

.testimonial-pagination
.swiper-pagination-bullet-active {

    background: #D6A647;

    transform: scale(1.15);
}


/* =========================================
   ELEMENTOR FIX
========================================= */

.elementor-widget-shortcode:has(.testimonial-section),
.elementor-widget-shortcode:has(.testimonial-section)
.elementor-widget-container {

    width: 100% !important;
    max-width: 100% !important;
}

.testimonial-section,
.testimonial-slider {

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .testimonial-slider {
        padding-bottom: 40px;
    }

    .testimonial-card {
        min-height: 215px;
        padding: 22px 21px 19px;
    }

    .testimonial-review {
        font-size: 14px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .testimonial-slider {
        padding:
            4px
            1px
            38px;
    }

    .testimonial-card {

        min-height: 205px;

        padding:
            21px
            19px
            18px;

        border-radius: 10px;
    }

    .testimonial-stars {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .testimonial-review {

        font-size: 13px;
        line-height: 1.65;

        margin-bottom: 20px;
    }

    .testimonial-name {
        font-size: 13px;
    }

    .testimonial-location {
        font-size: 10.5px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .testimonial-card {
        padding:
            19px
            17px
            17px;
    }

}