/* =========================================================
   RAIN SPREE PREMIUM
   REAL CUSTOMER STORIES
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.rs-testimonials {
    width: 100%;
    padding: 70px 0;
    background: #ffffff;
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.rs-stories-container {
    width: calc(100% - 64px);
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   HEADING
   ========================================================= */

.rs-stories-heading {
    text-align: center;
    margin-bottom: 32px;
}


.rs-stories-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #3b7135;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1.4;

    text-transform: uppercase;
}


.rs-stories-heading h2 {
    margin: 0;

    color: #29472d;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(34px, 3.5vw, 48px);

    font-weight: 600;

    line-height: 1.05;
}


.rs-stories-heading p {
    max-width: 680px;

    margin: 12px auto 0;

    color: #697169;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.rs-stories-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.9fr)
        minmax(0, 2fr);

    gap: 22px;

    align-items: stretch;

    width: 100%;
}


/* =========================================================
   FEATURED STORY
   ========================================================= */

.rs-featured-story {
    position: relative;

    width: 100%;
    min-width: 0;

    min-height: 360px;

    overflow: hidden;

    border-radius: 22px;

    background: #f2f6eb;

    border: 1px solid rgba(54, 102, 50, .10);

    box-shadow:
        0 10px 30px rgba(40, 60, 40, .08);

    box-sizing: border-box;
}


/* =========================================================
   FEATURED GALLERY
   ========================================================= */

.rs-featured-gallery {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


.rs-featured-gallery .swiper-wrapper {
    height: 100%;
}


.rs-featured-gallery .swiper-slide {
    height: 100%;

    overflow: hidden;
}


.rs-featured-gallery .swiper-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   FEATURED STORY OVERLAY
   ========================================================= */

.rs-featured-story-overlay {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 5;

    display: flex;

    flex-direction: column;

    gap: 4px;

    padding: 15px 17px;

    border-radius: 15px;

    background: rgba(255, 255, 255, .88);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 8px 25px rgba(30, 60, 35, .10);

    box-sizing: border-box;
}


.rs-featured-story-overlay span {
    color: #347437;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    line-height: 1.4;

    text-transform: uppercase;
}


.rs-featured-story-overlay strong {
    color: #29472d;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 23px;

    font-weight: 600;

    line-height: 1.05;
}


/* =========================================================
   TESTIMONIAL AREA
   ========================================================= */

.rs-stories-testimonials {
    position: relative;

    min-width: 0;

    width: 100%;
}


.rs-stories-slider {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    padding: 4px 22px 12px;

    box-sizing: border-box;
}


.rs-stories-slider .swiper-wrapper {
    align-items: stretch;
}


.rs-stories-slider .swiper-slide {
    display: flex;

    height: auto;

    min-width: 0;
}


/* =========================================================
   TESTIMONIAL CARD
   ========================================================= */

.rs-story-card {
    width: 100%;
    min-height: 280px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    box-sizing: border-box;

    padding: 28px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #e2e8dc;

    box-shadow:
        0 10px 30px rgba(40, 60, 40, .07);
}


/* =========================================================
   STARS
   ========================================================= */

.rs-story-stars {
    margin-bottom: 18px;

    color: #3b8a3f;

    font-size: 17px;

    letter-spacing: 3px;

    line-height: 1;
}


/* =========================================================
   TESTIMONIAL TEXT
   ========================================================= */

.rs-story-text {
    flex: 1;

    margin: 0 0 25px;

    color: #4d554d;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CUSTOMER
   ========================================================= */

.rs-story-customer {
    display: flex;

    align-items: center;

    gap: 12px;
}


.rs-story-customer img {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    object-fit: cover;
}


.rs-story-customer > div {
    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;
}


.rs-story-customer strong {
    color: #29472d;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.3;
}


.rs-story-customer span {
    color: #6b736b;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 11px;

    line-height: 1.3;
}


.rs-story-customer small {
    color: #347437;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 600;

    line-height: 1.3;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.rs-stories-prev,
.rs-stories-next {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(50, 90, 50, .12);

    border-radius: 50%;

    background: #ffffff;

    color: #2f6d34;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .12);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}


.rs-stories-prev {
    left: 0;
}


.rs-stories-next {
    right: 0;
}


.rs-stories-prev:hover,
.rs-stories-next:hover {
    background: #347437;

    color: #ffffff;

    transform:
        translateY(-50%)
        scale(1.06);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.rs-stories-pagination {
    position: relative;

    width: 100%;

    margin-top: 10px;

    text-align: center;
}


.rs-stories-pagination
.swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    margin: 0 4px !important;

    background: #b9cdbb;

    opacity: 1;
}


.rs-stories-pagination
.swiper-pagination-bullet-active {
    background: #347437;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .rs-testimonials {
        padding: 55px 0;
    }


    .rs-stories-container {
        width: calc(100% - 40px);
    }


    .rs-stories-grid {
        grid-template-columns:
            minmax(230px, .8fr)
            minmax(0, 1.6fr);

        gap: 16px;
    }


    .rs-featured-story {
        min-height: 330px;
    }


    .rs-story-card {
        padding: 22px;
    }


    .rs-story-text {
        font-size: 13px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .rs-testimonials {
        padding: 45px 0;
    }


    .rs-stories-container {
        width: calc(100% - 28px);
    }


    .rs-stories-heading {
        margin-bottom: 22px;
    }


    .rs-stories-eyebrow {
        font-size: 10px;

        letter-spacing: 1.7px;
    }


    .rs-stories-heading h2 {
        font-size: 34px;

        line-height: 1.05;
    }


    .rs-stories-heading p {
        font-size: 12px;

        line-height: 1.6;
    }


    .rs-stories-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .rs-featured-story {
        min-height: 0;

        height: auto;

        aspect-ratio: 1 / 1;
    }


    .rs-featured-gallery {
        height: 100%;
    }


    .rs-featured-story-overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;

        padding: 12px 14px;
    }


    .rs-featured-story-overlay strong {
        font-size: 21px;
    }


    .rs-stories-slider {
        padding:
            2px
            2px
            32px;
    }


    .rs-story-card {
        min-height: 250px;

        padding: 22px;

        border-radius: 18px;
    }


    .rs-story-stars {
        margin-bottom: 15px;

        font-size: 15px;

        letter-spacing: 2px;
    }


    .rs-story-text {
        margin-bottom: 20px;

        font-size: 13px;

        line-height: 1.65;
    }


    .rs-story-customer img {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .rs-story-customer strong {
        font-size: 13px;
    }


    .rs-story-customer span {
        font-size: 10px;
    }


    .rs-story-customer small {
        font-size: 9px;
    }


    .rs-stories-prev,
    .rs-stories-next {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .rs-testimonials {
        padding: 38px 0;
    }


    .rs-stories-container {
        width: calc(100% - 22px);
    }


    .rs-stories-heading h2 {
        font-size: 30px;
    }


    .rs-stories-heading p {
        font-size: 11.5px;
    }


    .rs-featured-story {
        aspect-ratio: 1 / 1;
    }


    .rs-featured-story-overlay strong {
        font-size: 19px;
    }


    .rs-story-card {
        min-height: 235px;

        padding: 20px;
    }

}