/* ==========================
   NEWS PAGES
   ========================== */
.news-page,
.news-single-page {
    padding: 64px 0 96px;
    background: radial-gradient(circle at 15% 0%, rgba(207, 86, 0, 0.12), transparent 30%);
}

.news-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.news-title {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 42px;
    font-weight: 800;
}

.news-subtitle,
.news-empty {
    color: var(--text-muted);
    font-size: 16px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
}

.news-card-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #111318;
}

.news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.news-card-date,
.news-single-date {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.news-card-title {
    margin: 9px 0 12px;
    color: var(--text-main);
    font-size: 20px;
    font-weight: 800;
}

.news-card-description {
    display: -webkit-box;
    flex: 1;
    margin-bottom: 22px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-read-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    color: #fff;
    background: var(--primary-color);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.news-read-link:hover {
    background: var(--primary-hover);
}

.news-empty {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.news-single-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.news-single-card {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.news-single-image {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.news-single-body {
    padding: 34px;
}

.news-single-title {
    margin: 10px 0 20px;
    color: var(--text-main);
    font-size: 36px;
    font-weight: 800;
}

.news-single-description {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-line;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: var(--primary-color);
    font-weight: 700;
}

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

@media (max-width: 600px) {
    .news-page,
    .news-single-page {
        padding: 42px 0 64px;
    }

    .news-title {
        font-size: 30px;
    }

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

    .news-single-body {
        padding: 24px 20px;
    }

    .news-single-title {
        font-size: 27px;
    }
}