.site-main.news-page,
.site-main.news-article {
    padding-block: 32px 64px;
    color: #000000;
}

.news-page__container {
    width: min(1576px, calc(100% - 48px));
    margin-inline: auto;
}

.news-article__container {
    width: min(1256px, calc(100% - 48px));
    margin-inline: auto;
}

.news-page .sv-breadcrumbs,
.news-article .sv-breadcrumbs {
    margin-bottom: 32px;
}

.news-breadcrumbs__trailing-arrow {
    display: none;
    flex: 0 0 16px;
    color: #c2c2c2;
}

.news-breadcrumbs .sv-breadcrumbs__home,
.news-breadcrumbs .sv-breadcrumbs__link {
    transition: color 180ms ease-out;
}

.news-page__layout {
    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.news-page__heading,
.news-page__content {
    min-width: 0;
}

.news-page__heading h1 {
    margin: 0;
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}

.news-page__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 32px 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.news-card--featured {
    grid-column: span 2;
}

.news-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 296 / 198;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f5;
}

.news-card--featured .news-card__media {
    aspect-ratio: 616 / 414;
}

.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease-out;
}

.news-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.news-card__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 50px;
    box-shadow: inset 0 0 0 1px #0093ee;
    color: #0093ee;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
}

.news-card__title {
    margin: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    overflow-wrap: anywhere;
}

.news-card__title a,
.news-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease-out;
}

.news-card--featured .news-card__title {
    font-size: 28px;
    line-height: 36px;
}

.news-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 18px;
    color: #0093ee;
    background: #e8f6ff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease-out;
}

.news-page__empty {
    margin: 0;
    padding: 32px;
    border-radius: 16px;
    background: #e8f6ff;
    font-size: 16px;
    line-height: 24px;
}

.news-pagination {
    margin-top: 32px;
}

.news-pagination > .catalog-pagination__navigation {
    margin-top: 0;
    padding-top: 32px;
}

.news-article__title {
    margin: 0 0 24px;
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    overflow-wrap: anywhere;
}

.news-article__cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1256 / 640;
    object-fit: cover;
    border-radius: 16px;
}

.news-article__text {
    width: min(936px, 100%);
    margin: 24px auto 0;
}

.news-article__lead {
    margin: 16px 0;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.news-article__body {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    overflow-wrap: anywhere;
}

.news-article__body p {
    margin: 0 0 16px;
    white-space: pre-line;
}

.news-article__body p:last-child {
    margin-bottom: 0;
}

.news-related {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #e8f6ff;
}

.news-related__title {
    margin: 0 0 16px;
    color: #000000;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}

.news-related__mobile-title {
    display: none;
}

.news-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
}

.news-card__media:focus-visible,
.news-card__title a:focus-visible,
.news-button:focus-visible,
.news-title-link:focus-visible {
    outline: 2px solid #0093ee;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .news-card__media:hover img {
        transform: scale(1.15);
    }

    .news-card__title a:hover,
    .news-button:hover,
    .news-title-link:hover,
    .news-breadcrumbs .sv-breadcrumbs__home:hover,
    .news-breadcrumbs .sv-breadcrumbs__link:hover {
        color: #ee6a00;
    }
}

.news-button:active,
.news-breadcrumbs .sv-breadcrumbs__home:active,
.news-breadcrumbs .sv-breadcrumbs__link:active {
    color: #0082a7;
}

@media (max-width: 1279px) {
    .news-page__layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

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

@media (max-width: 991px) {
    .news-page__layout {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 767px) {
    .site-main.news-page,
    .site-main.news-article {
        padding-block: 24px 48px;
    }

    .news-page .sv-breadcrumbs,
    .news-article .sv-breadcrumbs {
        margin-bottom: 24px;
    }

    .news-breadcrumbs--article .news-breadcrumbs__trailing-arrow {
        display: block;
    }

    .news-breadcrumbs--article
    .sv-breadcrumbs__item[aria-current="page"] {
        display: block;
        flex-basis: 100%;
        width: 100%;
    }

    .news-breadcrumbs--article
    .sv-breadcrumbs__item[aria-current="page"]::before {
        display: none;
    }

    .news-page__layout {
        gap: 24px;
    }

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

    .news-card--featured {
        grid-column: auto;
    }

    .news-card:not(.news-card--featured) {
        display: grid;
        grid-template-columns: 144px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

    .news-card--featured .news-card__title {
        font-size: 28px;
        line-height: 36px;
    }

    .news-pagination {
        margin-top: 24px;
    }

    .news-pagination > .catalog-pagination__navigation {
        padding-top: 24px;
    }

    .news-article__title {
        margin-bottom: 24px;
        font-size: 28px;
        line-height: 36px;
    }

    .news-article__cover {
        aspect-ratio: 380 / 256;
    }

    .news-article__text {
        margin-top: 16px;
    }

    .news-related {
        margin-top: 32px;
        padding-top: 24px;
    }

    .news-related__desktop-title {
        display: none;
    }

    .news-related__mobile-title {
        display: inline;
    }
}

@media (max-width: 389px) {
    .news-card:not(.news-card--featured) {
        grid-template-columns: 120px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-card__media img,
    .news-card__title a,
    .news-button,
    .news-title-link,
    .news-breadcrumbs .sv-breadcrumbs__home,
    .news-breadcrumbs .sv-breadcrumbs__link {
        transition: none;
    }

    .news-card__media:hover img {
        transform: none;
    }
}