#news {
    position: relative;
    padding: 4rem 0;
    background: var(--bg-gradient);
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    z-index: 0;
}

.news-title {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.news-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.news-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

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

.news-content {
    padding: 1.8rem;
}

.news-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-author, .news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Light Mode Styles */
[data-theme="light"] .news-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .news-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .news-content h3 {
    color: #1a1a1a;
}

[data-theme="light"] .news-content p {
    color: #4a4a4a;
}

[data-theme="light"] .news-meta {
    color: #777777;
    border-top: 1px solid #eaeaea;
}

[data-theme="light"] .news-meta i {
    color: #555555;
}

[data-theme="light"] .news-content {
    background: #ffffff;
    border-radius: 0 0 10px 10px;
}

[data-theme="light"] .section-background {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%);
}

[data-theme="light"] .faq-answer p {
    color: #2a2a2a;
}

[data-theme="light"] .faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .faq-question {
    color: #1a1a1a;
} 