.news-wrapper {
    margin-top: 0;
    margin-bottom: clamp(48px, 5.94vw, 114px);
    display: flex;
    flex-direction: column;
}

.news-page-title {
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(32px, 2.92vw, 56px);
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #353535;
    margin-bottom: clamp(28px, 4.69vw, 90px);
}

.news-page-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 1.67vw, 32px);
}

.news-page-tabs {
    display: flex;
    flex-direction: row;
    /*gap: clamp(20px, 2.08vw, 40px);*/
    align-items: center;
    justify-content: space-between;
}

.news-page-tabs__item {
    position: relative;
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(14px, 0.83vw, 16px);
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    color: var(--gray-60);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    padding-bottom: 4px;
}

.news-page-tabs__item:after {
    transition: all 0.3s ease-in-out;
    position: absolute;
    width: 0;
    left: 0;
    content: '';
    bottom: 0;
    height: 2px;
    background-color: var(--gray-100);
}

.news-page-tabs__item.active {
    color: var(--gray-100);
}

.news-page-tabs__item.active:after {
    width: 100%;
}

.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(32px, 3.33vw, 64px);
    margin-top: clamp(28px, 3.33vw, 64px);
}

.news-page-grid .news-card__image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 468 / 320;
    margin-bottom: clamp(12px, 1.25vw, 24px);
}

.news-page-more {
    display: flex;
    justify-content: flex-start;
    margin-top: clamp(32px, 3.33vw, 64px);
}

.news-page-more__btn {
    transition: opacity 0.3s ease;
}

.news-page-more__btn:hover {
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .news-wrapper {
        margin-top: clamp(20px, 3vw, 36px);
        margin-bottom: clamp(40px, 5vw, 64px);
    }

    .news-page-title {
        font-size: clamp(24px, 3.5vw, 36px);
        margin-bottom: clamp(20px, 3vw, 36px);
    }

    .news-page-content {
        gap: clamp(18px, 2vw, 24px);
    }

    .news-page-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        gap: clamp(14px, 2vw, 24px);
        width: 100%;
        padding-bottom: 8px;
        margin-bottom: -4px;
        -webkit-tap-highlight-color: transparent;
    }

    .news-page-tabs::-webkit-scrollbar {
        display: none;
    }

    .news-page-tabs__item {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: clamp(13px, 1.4vw, 15px);
        padding-bottom: 6px;
    }

    .news-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, 3vw, 32px);
        margin-top: clamp(20px, 2.5vw, 32px);
    }

    .news-page-more {
        margin-top: clamp(24px, 3.5vw, 40px);
    }
}

@media (max-width: 640px) {
    .news-page-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 4.5vw, 28px);
    }

    .news-page-more {
        justify-content: center;
        width: 100%;
    }

    .news-page-more__btn {
        width: 100%;
        text-align: center;
    }
}

