#page-family-solutions {
    .choose-the-best {
        padding-bottom: 40px;
        @media (max-width: 767px) {
            padding-bottom: 0;
        }
    }

    @media (max-width: 767px) {
        .solar-power {
            margin-bottom: 0;
        }
    }
}

.review-block {
    gap: 20px 0;
}
.family-solutions {
    position: relative;
    z-index: 1;
    padding: 100px 0 0;
    overflow: hidden;
    @media (max-width: 1290px) {
        padding: 10px 0 0;
    }
    .ctnr-fluid {
        position: relative;
        z-index: 1;
        .ctnr {
            padding: 0;
        }
    }
    .common-title {
        position: relative;
        background: white;
        width: fit-content;
        padding: 0 20px 20px 0;
        border-radius: 0 0 20px 0;
        z-index: 1;
        margin-bottom: 100px;
        max-width: 600px;
        &::before {
            content: "";
            position: absolute;
            top: 0;
            right: calc(100% - 1px);
            width: 100vw;
            height: 100%;
            background: white;
            z-index: -1;
            display: block;
        }
    }
}
.family-solutions__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 60px;
    z-index: -1;
}
.family-solutions__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-interest {
    padding: 138px 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center bottom !important;
    @media (max-width: 1290px) {
        padding: 40px 0;
    }
}

.interest-slider {
    .slick-list {
        margin: 0 -10px;
    }
    .slick-slide {
        padding: 0 10px;
        height: inherit;
    }
    .slick-track {
        display: flex !important;
    }
}

.interest-item {
    border: 1px solid var(--color-2);
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: all 0.3s ease;
}

.interest-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.interest-item__img {
    object-fit: contain;
    height: 90px;
    margin-bottom: 25px;
}

.interest-item__img img {
    height: 100%;
    object-fit: contain;
    display: inline-block;
}

.interest-item__ttl {
    color: var(--color-2);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .interest-item {
        padding: 20px 15px;
    }
    .interest-item__img {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    .interest-item__ttl {
        font-size: 16px;
    }
}

/* Family Slider */
.family-slider {
    .slick-list {
        margin: 0 -10px;
    }
    .slick-slide {
        padding: 0 10px;
        height: inherit;
    }
    .slick-track {
        display: flex !important;
    }
}
.family-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
.family-item__img {
    display: block;
}
.family-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.family-item__img a {
    display: block;
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    &:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80%;
        z-index: 1;
        background: linear-gradient(
            180deg,
            rgba(42, 126, 67, 0) 50.96%,
            #2a7e43 87.02%,
            #2a7e43 100%
        );
    }
}
.family-item__desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    color: #fff;
    z-index: 2;
}

.family-item__ttl {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    a {
        color: inherit;
    }
}

/* Customer Review */
.customer-review {
    padding: 100px 0 150px;
}

.review-item {
    background: #fff;
    border: 1px solid var(--color-2);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-item__desc {
    font-size: 18px;
    color: var(--color-1);
    line-height: 1.6;
    margin-bottom: 30px;
}

.review-item__sep {
    height: 1px;
    background: #2a7e43;
    width: 100%;
    margin-bottom: 30px;
}

.review-item__img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    background: #eee;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.review-item__ttl {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-4);
    margin-bottom: 5px;
}

.review-item__lead {
}

.customer-review-slider {
    position: relative;

    .slick-list {
        margin: 0;
    }

    .slick-slide {
        padding: 0;
    }

    .slick-arrow {
        position: absolute;
        bottom: 46px;
        right: 40px;
        top: unset;
        transform: none;
        width: 24px;
        height: 24px;
        background: var(--color-2);
        border-radius: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1;
        z-index: 10;

        &::before {
            display: none;
        }

        &.slick-prev {
            right: 70px;
            left: unset;
        }

        &.slick-next {
            right: 40px;
        }
    }
}

@media (max-width: 992px) {
    .customer-review {
        padding: 30px 0 50px;
        .common-title .title {
            font-size: 28px;
        }
    }
    .review-item {
        padding: 30px;
    }
    .review-item__desc {
        font-size: 16px;
        min-height: auto;
    }
    .customer-review-slider .slick-arrow {
        /* bottom: 20px; */
        right: 20px;
        &.slick-prev {
            right: 70px;
        }
    }
}
