/* 新闻页面专用样式 */
.news-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #e53e3e 0%, #f56565 100%);
    color: white;
    text-align: center;
}

.news-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.news-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.news-categories {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 30px;
    background: #f7fafc;
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover,
.category-tab.active {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

.news-content {
    padding: 80px 0;
    background: #f7fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #4a5568, #718096);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-image i {
    font-size: 48px;
    color: white;
    opacity: 0.8;
}

.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e53e3e;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-card-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #718096;
    font-size: 0.9rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.news-card h3 a:hover {
    color: #e53e3e;
}

.news-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e53e3e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.featured-news {
    margin-bottom: 60px;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    height: 300px;
    background: linear-gradient(135deg, #e53e3e, #f56565);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-image i {
    font-size: 80px;
    color: white;
    opacity: 0.9;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    background: #e53e3e;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 20px;
}

.featured-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-content h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.featured-content h2 a:hover {
    color: #e53e3e;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #718096;
}

.featured-excerpt {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

.pagination .current {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

.search-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e53e3e;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #c53030;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.5rem;
    }

    .category-tabs {
        gap: 15px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 30px 25px;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-hero h1 {
        font-size: 2rem;
    }

    .featured-content {
        padding: 25px 20px;
    }

    .news-card-content {
        padding: 20px;
    }
}