/* ============================================
   News Styles
   ============================================ */

.news-section {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-section:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-pink);
}

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

.section-header i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.section-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--accent-yellow);
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: rgba(10, 10, 10, 0.5);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
    border-color: var(--accent-pink);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 20px;
}

.news-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-title a:hover {
    color: var(--accent-pink);
}

.news-preview {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-date {
    color: var(--accent-blue);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-yellow);
}

.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.news-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.news-empty p {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-all {
        width: 100%;
        justify-content: center;
    }
    
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 180px;
    }
}
