 

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.site-header {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #FFC107;
}

/* 横幅样式 */
.hero-banner {
    background: linear-gradient(rgba(76, 175, 80, 0.9), rgba(76, 175, 80, 0.8)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #FF9800;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #F57C00;
}

/* 主内容区域 */
.main-content {
    padding: 50px 0;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
}

.articles {
    width: 70%;
}

.articles h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2E7D32;
    position: relative;
    padding-bottom: 10px;
}

.articles h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.article-header h4 {
    font-size: 20px;
    color: #2E7D32;
}

.article-header h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-header h4 a:hover {
    color: #4CAF50;
}

.article-date {
    background-color: #E8F5E9;
    color: #4CAF50;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.article-summary {
    margin-bottom: 20px;
    color: #555;
}

.read-more {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2E7D32;
    text-decoration: underline;
}

/* 侧边栏样式 */
.sidebar {
    width: 25%;
}

.sidebar-section {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sidebar-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2E7D32;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    padding-left: 25px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #4CAF50;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4CAF50;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-date {
    display: block;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 5px;
}

.timeline-event {
    display: block;
    color: #555;
}

/* 政策要点和志愿填报提示样式 */
.policy-points, .volunteer-tips {
    list-style: none;
}

.policy-points li, .volunteer-tips li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.policy-points li::before, .volunteer-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}
 
/* 响应式设计 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .articles, .sidebar {
        width: 100%;
    }
    
    .sidebar {
        margin-top: 50px;
    }
     
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-banner {
        padding: 80px 0;
    }
    
    .article-card {
        padding: 20px;
    }
    
    .article-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-date {
        margin-top: 10px;
    }
}