/*Heroblock*/
.heroblock {
    padding-top: 97px;
    padding-bottom: 97px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #E3EEF3;
}

/*Направления*/
.directions-list__item:not(:last-child) {
    margin-bottom: 120px;
}

.direction-card {
    display: flex;
    gap: 24px;
}

.direction-card__content, .direction-card__img {
    width: 100%;
}

.direction-card__img {
    max-width: 50%;
    object-fit: cover;
}

.direction-card__title {
    margin-bottom: 16px;
}

.direction-card__link {
    margin-top: 40px;
}

@media screen and (min-width: 1024px) {
    .direction-card__text {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .direction-card__img {
        max-width: 40%;
    }

    .directions-list__item:not(:last-child) {
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 768px) {
    .direction-card {
        flex-direction: column-reverse;
    }

    .direction-card__img {
        max-width: unset;
        height: 250px;
    }
}

.directions-list__grid {
    margin-top: 64px;
}

@media screen and (min-width: 1025px) {
    .direction-card--reverse .direction-card__content {
        margin-left: 95px;
    }
}

@media screen and (min-width: 601px) {
    .direction-card--reverse {
        flex-direction: row-reverse;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    .direction-card--reverse .direction-card__text {
        width: 100%;
    }
}

/*блок с вопросом*/
.question-section__content {
    text-align: center;
}

.question-section__title {
    margin-bottom: 16px;
}

.question-section__link {
    margin: 40px auto 0 auto;
}

.question-section__text {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .question-section__text {
        width: 70%;
    }
}

@media screen and (max-width: 425px) {
    .question-section__text {
        width: 100%;
    }
}
