.home-first8 {
    background: var(--SECONDARY_MINOR_COLOR);
}
.home-first8__top {
    padding: 60px 0 50px 0;
}

@media (min-width: 768px) {
    .home-first8__top {
        padding: 120px 0 200px 0;
        display: flex;
        margin: 0 -35px;
    }
}
.home-first8__top-item {
}
.home-first8__top-item:first-child {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .home-first8__top-item:first-child {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .home-first8__top-item {
        flex: 1 1 50%;
        padding: 0 35px;
    }
}
.home-first8__container {
    max-width: var(--CONTAINER_WIDTH);
    margin: 0px auto;
    padding: 0 20px;
}

.home-first8__subtitle {
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
    color: var(--EXTRA_COLOR);
}
.home-first8__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 140%;
    color: var(--SECONDARY_MAJOR_COLOR);
}

.home-first8__text {
    font-size: 18px;
    line-height: 28px;
    color: var(--TEXT_COLOR);
}
.home-first8__bottom {
}
.home-first8__image-row {
}

@media (min-width: 768px) {
    .home-first8__image-row {
        display: flex;
    }
}
.home-first8__image-item {
}
@media (min-width: 768px) {
    .home-first8__image-item {
        transition: all 0.7s ease 0s;
        flex: 1 1 33.333%;
    }
    .home-first8__image-item:hover {
        flex: 1 0 50%;
    }
}
.home-first8__pic {
    height: 300px;
    position: relative;
}
@media (min-width: 768px) {
    .home-first8__pic {
        height: 340px;
    }
}
.home-first8__pic img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
