/* =========================================================
   MAIN REVIEW LATEST
   Installation Cases
========================================================= */

.main_review_latest {
    width: 100%;
}


/* =========================================================
   SLIDER
========================================================= */

.main_review_slider {
    width: 100%;
}

.main_review_slider .slick-list {
    margin: 0 -12px;
}

.main_review_slide {
    padding: 0 12px;
}

.main_review_card {
    display: block;

    width: 100%;

    overflow: hidden;

    /* border-radius: 14px; */

    /* background: #f8f0ee; */

    color: #222;
    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.main_review_card:hover {
    transform: translateY(-5px);
}


/* =========================================================
   IMAGE
========================================================= */

.main_review_image {
    position: relative;
    width:100%;
    aspect-ratio: 600 / 400;
    overflow: hidden;
}

.main_review_image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.main_review_card:hover
.main_review_image img {
    transform: scale(1.04);
}


/* =========================================================
   INFORMATION
========================================================= */

.main_review_info {
    min-height: 145px;
    padding: 20px 0 24px;
}


/* Title */

.main_review_name {
    display: -webkit-box;

    width: 100%;

    overflow: hidden;

    color: #1f2933;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.45;
    letter-spacing: -.035em;

    word-break: keep-all;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    transition: color .25s ease;
}

.main_review_card:hover
.main_review_name {
    color: #961016;
}


/* Description */

.main_review_desc {
    display: -webkit-box;

    margin: 12px 0 0;

    overflow: hidden;

    color: #846966;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.55;
    letter-spacing: -.025em;

    word-break: keep-all;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* =========================================================
   CONTROLS
========================================================= */

.main_review_controls {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 28px;
}


/* =========================================================
   ARROWS
========================================================= */

.main_review_prev,
.main_review_next {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #f6f9fb;

    cursor: pointer;

    transition:
        background .25s ease,
        box-shadow .25s ease;
}

.main_review_prev:hover,
.main_review_next:hover {
    background: #fff;

    box-shadow:
        0 7px 20px rgba(12, 65, 115, .10);
}


/* Arrow Shape */

.main_review_prev span,
.main_review_next span {
    display: block;

    width: 9px;
    height: 9px;

    border-top: 2px solid #961016;
    border-right: 2px solid #961016;
}

.main_review_prev span {
    margin-left: 4px;

    transform: rotate(-135deg);
}

.main_review_next span {
    margin-right: 4px;

    transform: rotate(45deg);
}


/* =========================================================
   DOTS
========================================================= */

.main_review_dots {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 120px;
}

.main_review_dots .slick-dots {
    display: flex !important;

    align-items: center;
    justify-content: center;

    gap: 12px;

    position: static;

    width: auto;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main_review_dots .slick-dots li {
    width: auto;
    height: auto;

    margin: 0;
    padding: 0;
}

.main_review_dots .slick-dots button {
    display: block;

    width: 7px;
    height: 7px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 0;
    border-radius: 50%;

    background: #e2d9d9;

    font-size: 0;

    cursor: pointer;

    transition:
        width .25s ease,
        border-radius .25s ease,
        background .25s ease;
}


.main_review_dots .slick-dots li button:before,
.main_review_dots .slick-dots li.slick-active button:before {
    display: none !important;
    opacity: 0 !important;
    content: none !important;
}


.main_review_dots .slick-dots
.slick-active button {
    width: 8px;
    height: 8px;

    background: #e46465;
}


/* =========================================================
   MORE
========================================================= */

.main_review_more {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 100px;
    height: 46px;

    padding: 0 20px;

    border-radius: 10px;

    background: #961016;

    color: #fff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    line-height: 1;

    transition:
        background .25s ease,
        transform .25s ease;
}

.main_review_more:hover {
    background: #0c4173;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   EMPTY
========================================================= */

.main_review_empty {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 280px;

    border-radius: 14px;

    background: #f6f9fb;

    color: #89959e;

    font-size: 16px;
}


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

@media all and (max-width:1200px) {

    .main_review_slider .slick-list {
        margin: 0 -9px;
    }

    .main_review_slide {
        padding: 0 9px;
    }

    .main_review_info {
        padding:
            18px
            18px
            22px;
    }

    .main_review_name {
        font-size: 17px;
    }

    .main_review_desc {
        font-size: 15px;
    }

}


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

@media all and (max-width:767px) {

    .main_review_slider .slick-list {
        margin: 0;
    }

    .main_review_slide {
        padding: 0;
    }

    .main_review_card:hover {
        transform: none;

        box-shadow: none;
    }

    .main_review_image {
        width: calc(100% - 24px);

        margin:
            12px
            12px
            0;
    }

    .main_review_info {
        min-height: 0;

        padding:
            18px
            18px
            22px;
    }

    .main_review_name {
        font-size: 17px;

        line-height: 1.45;
    }

    .main_review_desc {
        margin-top: 9px;

        font-size: 14px;

        line-height: 1.55;

        -webkit-line-clamp: 2;
    }


    /* Controls */

    .main_review_controls {
        justify-content: center;

        gap: 9px;

        margin-top: 22px;
    }

    .main_review_prev,
    .main_review_next {
        width: 42px;
        height: 42px;
    }

    .main_review_dots {
        min-width: 80px;
    }

    .main_review_dots .slick-dots {
        gap: 8px;
    }

    .main_review_more {
        min-width: 86px;
        height: 42px;

        padding: 0 14px;

        border-radius: 8px;

        font-size: 14px;
    }

}


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

@media all and (max-width:480px) {

    .main_review_controls {
        gap: 7px;
    }

    .main_review_dots {
        min-width: 65px;
    }

    .main_review_dots .slick-dots {
        gap: 6px;
    }

    .main_review_prev,
    .main_review_next {
        width: 40px;
        height: 40px;
    }

    .main_review_more {
        min-width: 80px;
        height: 40px;

        padding: 0 12px;
    }

}
