.news-page {
    padding-bottom: 56px;
}

.news-page__title {
    margin: 12px 0 28px;
    color: #5470a2;
    text-align: center;
}

.news-featured {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 12px;
    background: #061b2d;
}

.news-featured__link {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
    min-height: 350px;
    color: #fff;
    text-decoration: none;
}

.news-featured__link:hover,
.news-featured__link:focus,
.news-featured__link:visited {
    color: #fff;
    text-decoration: none;
}

.news-featured__media,
.news-card__media {
    display: block;
    overflow: hidden;
    background: #dfe6ed;
}

.news-featured__media img,
.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 42px;
}

.news-featured__content time,
.news-card__body time {
    color: #758595;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 13px;
}

.news-featured__content time {
    color: #c5d0da;
}

.news-featured__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.news-featured__label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 5px;
    background: #0877ed;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.news-featured__label--promotion {
    background: #e85c2a;
}

.news-featured__title {
    margin-bottom: 16px;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 31px;
    font-weight: bold;
    color: #fff;
    line-height: 1.12;
}

.news-featured__intro {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 28px;
    color: #d8e1e9;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-featured__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 6px;
    background: #0877ed;
    color: #fff;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

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

.news-card-wrap {
    min-width: 0;
    margin: 0;
}

.news-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dce3e9;
    border-radius: 10px;
    background: #fff;
    color: #111;
    text-decoration: none;
    flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.news-card:hover,
.news-card:focus {
    border-color: #aebdcb;
    box-shadow: 0 8px 24px rgba(6, 27, 45, .09);
    color: #111;
    text-decoration: none;
}

.news-card:visited {
    color: #111;
}

.news-card__media {
    aspect-ratio: 16 / 9;
}

.news-card__body {
    display: flex;
    min-height: 185px;
    padding: 18px 20px 20px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    background: #0877ed;
    color: #fff;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.news-card__label--promotion {
    background: #e85c2a;
}

.news-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0;
    font-family:  Roboto, Arial, sans-serif;
    font-size: 19px;
    font-weight: bold;
    color: #111;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card__intro {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: #4f5962;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card__more {
    margin-top: auto;
    color: #0877ed;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.news-pagination {
    margin-top: 34px !important;
    text-align: center;
}

@media (max-width: 1199px) {
    .news-featured__link {
        grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .news-page {
        box-sizing: border-box;
        padding: 8px 10px 36px;
    }

    .news-page .dirs {
        padding-right: 0;
        padding-left: 0;
    }

    .news-page__title {
        margin: 10px 0 20px;
        font-size: 30px;
        line-height: 1.05;
    }

    .news-featured {
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .news-featured__link {
        display: block;
        min-height: 0;
    }

    .news-featured__media {
        aspect-ratio: 16 / 9;
    }

    .news-featured__content {
        padding: 22px 20px 24px;
    }

    .news-featured__meta {
        margin-bottom: 20px;
    }

    .news-featured__title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .news-featured__intro {
        margin-bottom: 20px;
        font-size: 15px;
        -webkit-line-clamp: 4;
    }

    .news-featured__button {
        min-height: 44px;
        padding: 0 22px;
        font-size: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card__body {
        min-height: 0;
        padding: 16px 18px 18px;
    }

    .news-card__title {
        font-size: 20px;
    }
}
