/* News Page Header */
.news-page {
    margin-top: 80px;
    background: var(--bg-light);
}

.news-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-dark));
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.news-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.news-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* News Container */
.news-detail-container {
    padding: 3rem 0;
}

/* News Detail View */
.news-detail-view {
    max-width: 800px;
    margin: 0 auto;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: var(--accent-gold);
}

.news-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-content {
    padding: 3rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.article-date,
.article-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.article-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.article-body {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* News List View */
.news-list-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.news-list-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-list-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.news-list-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-gray);
}

.news-list-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-list-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.news-list-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s ease;
}

.news-list-card:hover .news-list-link {
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .news-header h1 {
        font-size: 1.8rem;
    }

    .news-header p {
        font-size: 1rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .news-list-view {
        grid-template-columns: 1fr;
    }
}
