/* News Page Styles */
.news-main {
    min-height: calc(100vh - 80px);
    padding: 60px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0f1f35 50%, #0a1628 100%);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Medina', 'Dana', sans-serif;
}

.page-title i {
    color: #D4AF37;
    font-size: 40px;
}

/* Tabs */
.news-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 15px 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Dana', sans-serif;
}

.tab-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.6);
    color: #D4AF37;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.tab-btn i {
    font-size: 18px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* News Card */
.news-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.news-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.news-card:hover .news-card-glow {
    opacity: 1;
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(255, 215, 0, 0.05);
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    color: rgba(255, 215, 0, 0.5);
    font-size: 48px;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-family: 'Dana', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.news-date {
    font-size: 14px;
    color: rgba(255, 215, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Dana', sans-serif;
}

.news-date i {
    font-size: 12px;
}

/* Loading & Empty States */
.loading-spinner,
.empty-state,
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner i,
.empty-state i,
.error-state i {
    font-size: 48px;
    color: rgba(255, 215, 0, 0.5);
    margin-bottom: 20px;
    display: block;
}

.loading-spinner span,
.empty-state p,
.error-state p {
    font-size: 18px;
    font-family: 'Dana', sans-serif;
}

/* News Detail Page */
.news-detail-main {
    min-height: calc(100vh - 80px);
    padding: 60px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0f1f35 50%, #0a1628 100%);
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 215, 0, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    font-family: 'Dana', sans-serif;
}

.back-link:hover {
    color: #D4AF37;
    transform: translateX(-5px);
}

.back-link i {
    font-size: 14px;
}

.news-detail-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.news-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.news-category {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    color: #D4AF37;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-family: 'Dana', sans-serif;
}

.news-detail-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.4;
    font-family: 'Medina', 'Dana', sans-serif;
}

.news-detail-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    background: rgba(255, 215, 0, 0.05);
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-content {
    font-size: 18px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
    font-family: 'Dana', sans-serif;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    color: #D4AF37;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    font-family: 'Dana', sans-serif;
    font-weight: 600;
}

.btn-back:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-main,
    .news-detail-main {
        padding: 40px 0;
    }

    .page-title {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }

    .news-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

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

    .news-detail-card {
        padding: 25px 20px;
    }

    .news-detail-title {
        font-size: 24px;
    }

    .news-detail-image {
        height: 250px;
    }

    .news-detail-content {
        font-size: 16px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .news-container,
    .news-detail-container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 20px;
    }

    .news-card {
        border-radius: 15px;
    }

    .news-content {
        padding: 20px;
    }

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

    .news-detail-card {
        padding: 20px 15px;
        border-radius: 15px;
    }
}

/* Modern Light Theme Overrides */
.news-main {
    background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.page-title {
    color: #0b2340;
}

.page-title i {
    color: #1f4f83;
}

.tab-btn {
    background: #ffffff;
    border-color: rgba(15, 42, 77, 0.15);
    color: #163a67;
}

.tab-btn:hover,
.tab-btn.active {
    background: rgba(20, 54, 95, 0.08);
    border-color: rgba(15, 42, 77, 0.35);
    color: #0b2340;
    box-shadow: 0 8px 18px rgba(15, 42, 77, 0.1);
}

.news-card {
    background: #ffffff;
    border: 1px solid rgba(15, 42, 77, 0.1);
    box-shadow: 0 14px 32px rgba(15, 42, 77, 0.1);
}

.news-title {
    color: #0b2340;
}

.news-date,
.loading-spinner,
.empty-state,
.error-state {
    color: #475569;
}

