.news-section {
    margin: 0;
    padding: 4rem 2.5rem;
}

@media (max-width: 1024px) {
    .news-section {
        padding: 3.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 2.5rem 1.25rem;
    }
}

.news-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.news-section__title-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.news-section__title {
    margin: 0;
}

.news-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    grid-template-rows: repeat(3, auto);
    gap: 46px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .news-section__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .news-section__grid {
        gap: 24px;
    }
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card {
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    background-color: #0e0e0e;
    cursor: pointer;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.news-card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    height: 300px;
}

.news-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0.52) 70%,
        rgba(0, 0, 0, 0.79) 100%
    );
    transition: opacity 0.5s ease;
    opacity: 1;
}

.news-card:hover .news-card__image-wrap::after {
    opacity: 0;
}

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

.news-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-card__date {
    margin: 0;
    font-size: 12px;
    color: var(--text-2);
}

.news-card__title {
    margin: 0;
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-section__empty {
    margin: 0;
    min-height: 1.55em;
    text-align: center;
    grid-column: 1 / -1;
    opacity: 0.8;
}

.news-section__btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .news-section__btn-wrap {
        margin-top: 3rem;
    }
}

