/* News Section Styles */
.news-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

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

.news-card.featured {
    position: relative;
}

.news-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-top: 20px solid var(--primary-gold);
}

.news-card a:hover {
    opacity: 0.8;
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: var(--primary-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.news-card a {
    cursor: pointer !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.news-card a:visited {
    color: var(--primary-gold) !important;
}

.news-link {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
    display: inline-block !important;
}

.news-link:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: var(--primary-gold) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3) !important;
}

/* News Sources Links */
.news-sources a:hover {
    opacity: 1 !important;
    color: var(--primary-gold) !important;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#news-loading {
    transition: opacity 0.3s ease;
}

#news-loading.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Responsive News Grid */
@media (max-width: 768px) {
    .news-card.featured {
        grid-column: span 1;
    }
    
    .news-card.featured .flex {
        flex-direction: column;
    }
}
