/* Плитка статей раздела «Актуальное» */
.editorial {
    padding-bottom: 96px;
}

.editorial .editorial__title.s-title {
    margin-bottom: 40px;
}

.editorial__empty {
    font-size: 18px;
    color: #757575;
}

.editorial__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 24px;
}

.editorial-card {
    display: flex;
    flex-direction: column;
}

/* пропорции и кадрирование задаём сами: картинки в плитке разного размера */
.editorial-card__media {
    display: block;
    margin-bottom: 20px;
}

.editorial-card__figure {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    background: #F3F0E6;
}

.editorial-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.editorial-card__media:hover .editorial-card__img {
    transform: scale(1.03);
}

.editorial-card__title {
    margin: 0 0 8px;
    font-family: "Zt Chablis", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.editorial-card__title a {
    display: inline;
    color: inherit;
}

.editorial-card__title a:hover {
    text-decoration: underline;
}

.editorial-card__text {
    font-size: 16px;
    line-height: 1.5;
    color: #757575;
}

.editorial__pager {
    margin-top: 64px;
}

@media only screen and (max-width: 991px) {
    .editorial__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .editorial {
        padding-bottom: 64px;
    }

    .editorial .editorial__title.s-title {
        margin-bottom: 24px;
    }

    .editorial__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .editorial-card__title {
        font-size: 24px;
    }
}
