/* ========================= */
/* NEWS HERO */
/* ========================= */

.page-hero {
    position: relative;
    min-height: 48vh;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.2), transparent 38%),
        linear-gradient(180deg, #020617, #0f172a);
}

.news-hero {
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 36%),
        linear-gradient(180deg, #020617, #0f172a);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at center, rgba(56, 189, 248, 0.1), transparent 35%),
        linear-gradient(rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.95));
}

.page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    padding: 80px 24px 60px;
}

.page-hero-content h1 {
    margin: 0 0 22px;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;

    color: #ffffff;
    text-shadow:
        0 0 18px rgba(99, 102, 241, 0.45),
        0 0 30px rgba(0, 0, 0, 0.8);
}

.page-hero-content p {
    margin: 0 auto;

    max-width: 760px;

    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* ========================= */
/* NEWS LIST */
/* ========================= */

.news-page {
    max-width: 1200px;
    margin: auto;
    padding: 95px 60px;

    background:
        radial-gradient(circle at left, rgba(99, 102, 241, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.72));
}

.news-toolbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 42px;
}

.news-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 15px;

    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(15, 23, 42, 0.72);

    transition: all 0.22s ease;
}

.news-filter:hover,
.news-filter.active {
    color: #ffffff;
    border-color: var(--border-gold);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.12);
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-list-card {
    overflow: hidden;

    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));

    border-radius: 18px;
    border: 1px solid var(--border-soft);

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}

.news-list-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(212, 175, 55, 0.14);
}

.news-list-image {
    position: relative;
    display: block;
    min-height: 205px;
    overflow: hidden;
    text-decoration: none;
}

.news-list-image img {
    width: 100%;
    height: 205px;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.04);
}

.news-image-placeholder {
    height: 205px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold);
    font-size: 42px;

    background:
        radial-gradient(circle at center, rgba(212, 175, 55, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}

.news-list-tag {
    position: absolute;
    top: 13px;
    left: 13px;

    padding: 6px 12px;

    color: #111827;
    background: linear-gradient(135deg, var(--gold), #facc15);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}

.news-list-content {
    padding: 24px;
}

.news-list-content h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
}

.news-list-content h2 a {
    color: #ffffff;
    text-decoration: none;
}

.news-list-content h2 a:hover {
    color: var(--gold);
}

.news-list-content p {
    min-height: 75px;

    margin: 0 0 20px;

    color: var(--text-muted);
    line-height: 1.65;
}

.news-list-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;

    color: var(--text-soft);
    font-size: 13px;
}

.news-list-meta a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 800;
}

.news-list-meta a:hover {
    color: #facc15;
}

.news-empty-state {
    max-width: 720px;
    margin: auto;
    padding: 42px 34px;

    text-align: center;

    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));

    border: 1px solid var(--border-gold);
    border-radius: 20px;

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.news-empty-state span {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold);
    font-size: 28px;

    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
}

.news-empty-state h2 {
    margin: 0 0 16px;
    font-size: 30px;
}

.news-empty-state p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 26px;
}

/* ========================= */
/* NEWS DETAIL */
/* ========================= */

.news-detail-page {
    max-width: 1200px;
    margin: auto;
    padding: 95px 60px;

    background:
        radial-gradient(circle at right, rgba(56, 189, 248, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.72));
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 32px;
    align-items: start;
}

.news-detail-article {
    overflow: hidden;

    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));

    border: 1px solid var(--border-soft);
    border-radius: 20px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}

.news-detail-thumbnail {
    width: 100%;
    max-height: 420px;
    display: block;
    object-fit: cover;
}

.news-detail-content {
    padding: 34px;

    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    color: #ffffff;
    line-height: 1.25;
}

.news-detail-content h2 {
    margin-top: 34px;
    font-size: 30px;
}

.news-detail-content h3 {
    margin-top: 28px;
    font-size: 24px;
}

.news-detail-content p {
    margin: 0 0 18px;
}

.news-detail-content a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.news-detail-content a:hover {
    color: #facc15;
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
}

.news-detail-content li {
    margin-bottom: 8px;
}

.news-detail-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;

    color: #ffffff;
    background: rgba(2, 6, 23, 0.45);

    border-left: 3px solid var(--gold);
    border-radius: 12px;
}

.news-detail-footer {
    padding: 0 34px 34px;
}

.news-sidebar {
    position: sticky;
    top: 110px;

    padding: 24px;

    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));

    border: 1px solid var(--border-soft);
    border-radius: 18px;

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.news-sidebar h2 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: 22px;
}

.news-sidebar-list {
    display: grid;
    gap: 12px;
}

.news-sidebar-item {
    display: block;

    padding: 15px;

    text-decoration: none;

    background: rgba(2, 6, 23, 0.42);
    border: 1px solid var(--border-soft);
    border-radius: 13px;

    transition: all 0.22s ease;
}

.news-sidebar-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-gold);
    background: rgba(212, 175, 55, 0.08);
}

.news-sidebar-item span {
    display: inline-flex;

    margin-bottom: 9px;

    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.news-sidebar-item strong {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;
    line-height: 1.35;
}

.news-sidebar-item small {
    color: var(--text-soft);
}

.news-sidebar-empty {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

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

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

    .news-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 42vh;
    }

    .page-hero-content {
        padding: 60px 20px 45px;
    }

    .news-page,
    .news-detail-page {
        padding: 75px 20px;
    }

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

    .news-list-content p {
        min-height: auto;
    }

    .news-list-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-content {
        padding: 26px;
    }

    .news-detail-footer {
        padding: 0 26px 28px;
    }
}