.news-page {
    margin-top: 62px;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    padding: 0 20px 100px;
    --nb-r: 0; /* радиус скругления */
    --nb-w: 0; /* ширина выступа */
    --nb-h: 0; /* высота выступа */
}

.news-page:before {
    /*content: '';*/
    width: 100%;
    background: linear-gradient(180deg, #7c3dc7 0, #f1f1f1 100%);
    position: absolute;
    height: calc(100% + 20px);
    z-index: -1;
    top: -20px;
}

.news-page__header {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 131%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    display: grid;
    grid-row-gap: 20px;
    margin-bottom: 48px;
}

.news-page__title {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 48px;
    line-height: 90%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.news-page__subtitle {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 131%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.news-page__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    width: 100%;
    padding: 0 20px;
}

.news-card {
    border-radius: 20px;
    padding: 8px 8px 16px 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.news-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.news-card__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-card__content {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    flex-grow: 1;
    padding: 12px 0 0;
    margin-bottom: 50px;
}

.news-card__title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    width: 100%;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: break-spaces;
    color: #000;
}

.news-card__text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 134%;
    letter-spacing: 0.02em;
    color: #000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: left;
}

.news-card__date {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    line-height: 157%;
    letter-spacing: 0.02em;
    color: #000;
    margin-top: auto;
    word-wrap: break-word;
    word-break: break-word;
}

.news-page__load-more {
    margin: 100px auto 0;
    border-radius: 50px;
    padding: 20px;
    width: 141px;
    height: 55px;
    background: #9e62fe;
    border: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 135%;
    letter-spacing: 0.02em;
    color: #fff;
    cursor: url('/public/cursors/pointer.cur'), auto;
}

.news-page-bg {
    position: absolute;
    z-index: -1;
    top: -10px;
    left: 0;
    width: 100%;
    height: 623px;

    background-image: url('/public/static/preview-frame-gradient-1.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;

    svg:nth-child(2) {
        display: none;
    }
}

.news-page-bg:after {
    content: '';
    position: absolute;
    top: 604px;
    left: 0;
    right: 0;
    height: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.news-pixels-1 {
    left: 20%;
    top: 0%;
    z-index: -1;
}

.news-pixels-2 {
    right: 10%;
    top: -5%;
    z-index: -1;
}

@media (max-width: 1280px) {
    .news-page__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .news-page__title {
        font-size: 36px;
    }

    .news-page__subtitle {
        display: none;
    }

    .news-page .news-page {
        padding: 3px 3px 100px;
        --nb-r: 20px; /* радиус скругления */
        --nb-w: 10%; /* ширина выступа */
        --nb-h: 20px; /* высота выступа */
    }

    .news-page__grid {
        padding: 0;
    }

    .news-page-bg {
        background-image: url('/public/static/preview-frame-gradient-2.svg');
    }

    /*.news-page-bg {*/
    /*    svg:nth-child(1) {*/
    /*        display: none;*/
    /*    }*/

    /*    svg:nth-child(2) {*/
    /*        display: block;*/
    /*    }*/
    /*}*/
}

@media (max-width: 768px) {
    .news-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .news-page__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
