.news-page,
.news-article-page {
    display: grid;
    gap: 24px;
    min-width: 0;
    overflow-x: clip;
}

.news-hero,
.news-section,
.news-article,
.news-related-games {
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.news-article {
    min-width: 0;
    overflow-x: clip;
}

.news-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.news-breadcrumbs a {
    color: var(--text-secondary);
}

.news-hero {
    background:
        radial-gradient(circle at top left, rgba(252, 228, 77, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(20, 33, 51, 0.9), rgba(14, 23, 35, 0.96));
}

.news-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(252, 228, 77, 0.76);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-hero h1,
.news-article__hero h1 {
    margin-bottom: 14px;
    margin-top: 24px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.02;
}

.news-hero p,
.news-section__head p,
.news-card p,
.news-article__summary,
.news-article__content,
.news-game-card span {
    color: var(--text-secondary);
    line-height: 1.75;
}

.news-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.news-section__head {
    margin-bottom: 18px;
}

.news-section__head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.news-grid,
.news-related-games__grid {
    display: grid;
    gap: 16px;
}

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

.news-card,
.news-game-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(20, 33, 51, 0.9), rgba(14, 23, 35, 0.96));
    color: var(--text-primary);
}

.news-card:hover,
.news-game-card:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-card__media img,
.news-article__cover img,
.news-game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body,
.news-game-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.news-card__meta,
.news-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.news-card__type {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(252, 228, 77, 0.08);
    color: rgba(252, 228, 77, 0.78);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-card h3 {
    font-size: 1.18rem;
    line-height: 1.35;
}

.news-card h3 a,
.news-card__link {
    color: var(--text-primary);
}

.news-card__link {
    margin-top: auto;
    font-weight: 800;
}

.news-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tag {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.news-article__hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 26px;
}

.news-article__hero {
    min-width: 0;
}

.news-article__cover {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    align-self: start;
    margin-top: 54px;
}

.news-article > .news-article__hero {
    margin-bottom: 26px;
}

.news-article__content {
    display: grid;
    gap: 18px;
    font-size: 1.02rem;
}

.news-article__content h2,
.news-article__content h3 {
    margin-top: 10px;
    color: var(--text-primary);
}

.news-article__content ul,
.news-article__content ol {
    margin: 0;
    padding-left: 22px;
}

.news-article__content img {
    border-radius: 18px;
}

.news-article-game-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    width: fit-content;
    min-width: min(650px, 100%);
    max-width: 100%;
    justify-self: start;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(252, 228, 77, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(21, 35, 53, 0.96), rgba(15, 26, 40, 0.98));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-article-game-card:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.22);
}

.news-article-game-card__media {
    display: block;
    min-width: 0;
    height: 100%;
    aspect-ratio: 460 / 215;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.news-article-game-card__media--empty {
    background: linear-gradient(135deg, rgba(252, 228, 77, 0.08), rgba(255, 255, 255, 0.03));
}

.news-article-game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article-game-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 14px 18px 14px 35px;
    overflow: hidden;
}

.news-article-game-card__meta,
.news-article-game-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-article-game-card__meta {
    flex-wrap: wrap;
    min-width: 0;
}

.news-article-game-card__availability {
    color: var(--text-secondary);
}

.news-article-game-card__title {
    display: block;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    color: var(--text-primary);
    font-size: clamp(1.08rem, 1.65vw, 1.3rem);
    font-weight: 900;
    line-height: 1.24;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-article-game-card__footer {
    margin-top: auto;
    align-items: end;
    min-width: 0;
}

.news-article-game-card__price-wrap {
    min-width: 0;
}

.news-article-game-card__price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-article-game-card__price-old {
    color: var(--text-muted);
    font-size: 0.84rem;
    text-decoration: line-through;
}

.news-article-game-card__price {
    color: #7fe0a6;
    font-size: 1.24rem;
    font-weight: 900;
    line-height: 1.1;
}

.news-article-game-card__price--free {
    color: #7fe0a6;
}

.news-article-game-card__availability {
    font-weight: 700;
}

.news-article-game-card__action {
    flex-shrink: 0;
    color: rgba(252, 228, 77, 0.88);
    font-size: 0.92rem;
    font-weight: 900;
}

.news-related-games {
    margin-top: 26px;
}

.news-article__mentioned-shelf {
    margin-top: 26px;
    min-width: 0;
}

.news-article__mentioned-shelf .product-page__carousel {
    min-width: 0;
    overflow: visible;
}

.news-article__mentioned-shelf .product-page__carousel-track.catalog-shelf__grid {
    min-width: 0;
    max-width: 100%;
}

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

.news-game-card__media {
    display: block;
    aspect-ratio: 460 / 215;
    overflow: hidden;
}

.news-game-card__body strong {
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .news-grid,
    .news-related-games__grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-article__hero-shell {
        grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.9fr);
    }
}

@media (max-width: 900px) {
    .news-article__hero-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .news-hero,
    .news-section,
    .news-article,
    .news-related-games {
        padding: 22px;
    }

    .news-grid,
    .news-related-games__grid {
        grid-template-columns: 1fr;
    }

    .news-article-game-card {
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .news-article-game-card__body {
        padding: 0 16px 16px;
    }

    .news-article-game-card__footer {
        align-items: start;
        flex-direction: column;
    }
}

@media (hover: none), (pointer: coarse) {
    .news-card:hover,
    .news-game-card:hover,
    .news-article-game-card:hover {
        border-color: var(--border);
        transform: none;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
    }
}
