/* =========================================================
   SAHADEV REVIEWS SLIDER
========================================================= */

.sahadev-reviews {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}


/* =========================================================
   VIEWPORT
========================================================= */

.sahadev-reviews__viewport {

    width: 100%;

    position: relative;

}


/* =========================================================
   CARD GRID
========================================================= */

.sahadev-reviews__viewport {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

}


/* =========================================================
   CARD
========================================================= */

.sahadev-review {

    width: 100%;

    min-width: 0;

    box-sizing: border-box;

    display: none;

    flex-direction: column;

    padding: 22px;

    background: #141110;

    border:
        1px solid
        hsl(20 8% 18%);

    border-radius: 8px;

    overflow: hidden;

    opacity: 0;

    transform:
        translateY(35px);

}


/* =========================================================
   FADE IN UP
========================================================= */

@keyframes sahadevReviewFadeInUp {

    0% {

        opacity: 0;

        transform:
            translateY(35px);

    }

    60% {

        opacity: 1;

        transform:
            translateY(-4px);

    }

    100% {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   ACTIVE CARD
========================================================= */

.sahadev-review.is-visible {

    animation:
        sahadevReviewFadeInUp
        0.75s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        )
        forwards;

}


/* =========================================================
   STARS
========================================================= */

.sahadev-review__stars {

    display: flex;

    gap: 3px;

    margin-bottom: 13px;

    color:
        hsl(42 92% 56%);

    font-family:
        Arial,
        sans-serif;

    font-size: 17px;

    line-height: 1;

}


/* =========================================================
   TEXT
========================================================= */

.sahadev-review__text {

    flex: 1;
    margin: 0;
    font-family:
        "Lora",
        Georgia,
        serif;

    font-size: 14px;

    font-style: italic;

    line-height: 1.65;

    color: rgba(168, 158, 138, 1);

}

blockquote.sahadev-review__text {
    padding: 0;
    border: 0;
}


/* =========================================================
   DIVIDER
========================================================= */

.sahadev-review__divider {

    width: 100%;

    height: 1px;

    margin:
        17px 0;

    background:
        hsl(20 8% 20%);

}


/* =========================================================
   FOOTER
========================================================= */

.sahadev-review__footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}


/* =========================================================
   USER
========================================================= */

.sahadev-review__user {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 10px;

}


/* =========================================================
   AVATAR
========================================================= */

.sahadev-review__avatar {

    flex:
        0 0 32px;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg,#691624a6,#8e4d0b99);

    color: #fff;

    font-family:
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 700;

}


/* =========================================================
   DETAILS
========================================================= */

.sahadev-review__details {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


/* =========================================================
   NAME
========================================================= */

.sahadev-review__name {

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 11px;

    font-weight: 600;

    line-height: 1.35;

    color:
        hsl(40 25% 90%);

}


/* =========================================================
   LOCATION
========================================================= */

.sahadev-review__location {

    margin-top: 2px;

    font-family:
        "Lora",
        Georgia,
        serif;

    font-size: 10px;

    color:
        hsl(40 15% 60%);

}


/* =========================================================
   CATEGORY
========================================================= */

.sahadev-review__category {

    flex-shrink: 0;

    max-width: 135px;

    padding:
        5px 9px;

    border-radius: 30px;

    background:
        hsl(30 85% 52% / 10%);

    color:
        hsl(30 85% 52%);

    font-family:
        "Lora",
        Georgia,
        serif;

    font-size: 10px;

    line-height: 1.3;

    text-align: center;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .sahadev-reviews__viewport {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sahadev-reviews__viewport {

        grid-template-columns:
            1fr;

        gap: 15px;

    }


    .sahadev-review {

        min-height: 250px;

        padding: 18px;

    }


    .sahadev-review__text {

        font-size: 13px;

        line-height: 1.6;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .sahadev-review {

        animation:
            none !important;

        opacity: 1;

        transform: none;

    }

}
/* =========================================================
 * STATIC REVIEWS
 * ========================================================= */

 .sahadev-reviews-static__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* NO ANIMATION */
.sahadev-reviews-static .sahadev-review {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    transition: none !important;
}


/* TABLET */

@media (max-width: 991px) {

    .sahadev-reviews-static__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .sahadev-reviews-static__grid {
        grid-template-columns: 1fr;
    }

}