/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 28px;
    color: #e31837;
    font-weight: 700;
}

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

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

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #e31837;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

/* 英雄区域样式 */
.hero {
    background-color: #f0f0f0;
    padding: 80px 0;
    margin-bottom: 40px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.btn-primary {
    display: inline-block;
    background-color: #e31837;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

/* 新闻区域样式 */
.news-section {
    margin-bottom: 60px;
}

.news-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    border-left: 4px solid #e31837;
    padding-left: 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background-color: #e31837;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #e31837;
}

.news-summary {
    color: #666;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #999;
}

/* 查看更多按钮样式 */
.view-more-container {
    text-align: center;
    margin-top: 40px;
}

.view-more-container .btn-primary {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background-color: #e31837;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-more-container .btn-primary:hover {
    background-color: #c51632;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    grid-column: 1 / -1;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-links h3,
.footer-partners h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-about p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-partners ul {
    list-style: none;
}

.footer-links ul li,
.footer-partners ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-partners ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-partners ul li a:hover {
    color: #e31837;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

/* 详情页样式 */
.article-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    margin-bottom: 20px;
}

.article-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

/* 文章分享按钮样式 */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.article-share span {
    font-weight: 500;
    color: #333;
}

.share-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e31837;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #c51632;
}

/* 侧边栏最新新闻样式 */
.latest-news-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.latest-news-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #e31837;
    padding-bottom: 10px;
}

.latest-news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.latest-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-news-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.latest-news-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-news-item h4 a:hover {
    color: #e31837;
}

.latest-news-date {
    font-size: 14px;
    color: #999;
}

/* 分类列表样式 */
.categories-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.categories-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #e31837;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background-color: #e31837;
    color: #fff;
    transform: translateX(5px);
}

/* 联系页面样式 */
.contact-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e31837;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #e31837;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c51632;
}

/* 政策页面样式 */
.policy-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.policy-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.policy-section h2 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: #333;
}

.policy-section p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.8;
}

.policy-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-section ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}