.hero {
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s;
    opacity: 0.9;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

/* 新闻列表样式 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.news-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.news-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-info {
    padding: 25px;
}

.news-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-info p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background-color: var(--secondary);
    color: white;
}

/* 新闻详情样式 */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
}

.news-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray);
    margin-bottom: 30px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-cover {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.news-body p {
    margin-bottom: 25px;
}

.news-body h2, .news-body h3, .news-body h4 {
    color: var(--primary);
    margin: 40px 0 20px;
}

.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-body blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin: 30px 0;
    color: var(--gray);
    font-style: italic;
}

.news-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.news-tag-item {
    background: #f0f5ff;
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.news-tag-item:hover {
    background: var(--secondary);
    color: white;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.news-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f9faff;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    max-width: 45%;
}

.news-nav-btn:hover {
    background: var(--secondary);
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .news-cover {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title, .news-title {
        font-size: 1.8rem;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .news-cover {
        height: 250px;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-nav-btn {
        max-width: 100%;
    }
}