/* =========================================================================
   NEWS PAGE STYLES
   ========================================================================= */

body { background: #06090e; }

.page-title-box {
    text-align: center;
    padding: 200px 5% 80px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.page-title-box h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.page-title-box p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 100px;
    position: relative;
    z-index: 10;
}

/* Tabs */
.news-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    overflow-x: auto;
}

.news-tab {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.news-tab:hover {
    color: #fff;
    border-color: rgba(212, 160, 55, 0.4);
    background: rgba(212, 160, 55, 0.05);
}

.news-tab.active {
    background: var(--grad-gold);
    color: #000;
    border-color: var(--clr-primary);
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    background: rgba(12, 16, 25, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all var(--transition-smooth);
}

.news-item:hover {
    background: rgba(12, 16, 25, 0.9);
    transform: translateX(10px);
    border-color: rgba(212, 160, 55, 0.3);
    box-shadow: -10px 10px 30px rgba(0,0,0,0.5);
}

.news-item-img {
    width: 350px;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.news-item-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 2px;
}
.news-tag.event { background: var(--clr-accent); color: #fff; }
.news-tag.patch { background: #1e88e5; color: #fff; }
.news-tag.anno { background: var(--clr-primary); color: #000; }

.news-item-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.news-item h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.news-item p {
    color: #8b92b3;
    font-size: 1rem;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: all var(--transition-fast);
}

.page-btn:hover, .page-btn.active {
    background: var(--clr-primary);
    color: #000;
    border-color: var(--clr-primary);
}

@media (max-width: 768px) {
    .page-title-box {
        padding: 130px 5% 32px;
    }

    .page-title-box p {
        font-size: 0.95rem;
    }

    .news-container {
        padding: 0 5% 64px;
    }

    .news-tabs {
        gap: 8px;
        margin-bottom: 24px;
        padding-bottom: 10px;
    }

    .news-tab {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .news-item { flex-direction: column; }
    .news-item-img { width: 100%; height: 200px; min-height: 200px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .news-item-content { padding: 25px; }
    .news-item:hover { transform: translateY(-5px); }

    .news-item h2 {
        font-size: 1.25rem;
    }

    .news-item p {
        font-size: 0.92rem;
    }

    .pagination {
        margin-top: 32px;
        gap: 8px;
    }

    .page-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}

@media (max-width: 430px) {
    .news-item-content {
        padding: 18px 16px;
    }

    .news-item h2 {
        font-size: 1.1rem;
    }
}
