/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部通栏banner */
.banner {
    position: relative;
    width: 100%;
    overflow: visible; /* 允许内容溢出，以便显示导航栏背景图 */
    /* 移除固定高度，让高度根据宽度按比例自动缩放 */
}

.banner-image {
    width: 100%;
    height: auto; /* 高度自动，保持图片原始比例 */
    display: block;
    object-fit: contain; /* 确保图片完整显示，不裁剪 */
}

/* 内容页（news.html和list.html）的banner图片 */
body.news-page .banner-image,
body.list-page .banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 导航菜单 */
.nav-menu {
    position: relative;
    width: 100%;
    background-color: #E61B1E; /* 红色 */
    z-index: 30;
    overflow: visible; /* 确保超出部分可见 */
}

.nav-menu ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap; /* 允许换行 */
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    flex: 1; /* 弹性宽度，自适应屏幕 */
    min-width: 150px; /* 最小宽度 */
    max-width: 200px; /* 最大宽度 */
    text-align: center;
}

.nav-menu a {
    display: block;
    padding: 20px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    height: 67px; /* 固定高度以适应背景图片，增加三分之一 */
    line-height: 27px; /* 垂直居中文本，调整以适应新高度 */
    position: relative;
    overflow: visible; /* 确保背景图超出部分可见 */
}

.nav-menu a:hover {
    background: url('img/report-tab-name-on1.png') no-repeat center -5px;
    background-size: contain;
    color: #333;
    position: relative;
    z-index: 20;
}

.nav-menu a.active {
    background: url('img/report-tab-name-on.png') no-repeat center;
    background-size: contain;
    color: #333;
    position: relative;
    z-index: 20;
    opacity: 1;
}

.nav-menu a:not(:hover):not(.active) {
    background: transparent;
    opacity: 0.9;
}

/* 主要内容区域 */
.content {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 20px; */
}

/* 标题栏 */
.title-bar {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
    position: relative;
}

.title-bar img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 更多链接样式 */
.more-link {
    position: absolute;
    right: 70px;
    top: 40%;
    transform: translateY(-50%);
    color: #c2adad;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 15px;
    transition: all 0.3s ease;
}



/* 行布局 */
.row {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

/* 章节容器样式 */
.section-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* margin-bottom: 30px; */
}

/* 成就部分特殊背景色 */
.achievements-container {
    background-color: #FAF0EA;
    background-image: url('img/shan.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    padding: 80px 0;
    border-radius: 8px;
    margin-top: 90px;
}

/* 确保内容在容器内正确显示 */
.achievements-container .title-bar,
.achievements-container #achievements-section {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 基层风采部分特殊背景 */
.grassroots-container {
    background-image: url('img/bg21.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0;
    border-radius: 8px;
}

/* 确保内容在容器内正确显示 */
.grassroots-container .title-bar,
.grassroots-container #grassroots-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* 图集部分特殊背景 */
.gallery-container {
    background-image: url('img/cards2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 50px 0 100px;
    border-radius: 8px;
}

/* 确保内容在容器内正确显示 */
.gallery-container .title-bar,
.gallery-container #cards-section {
    max-width: 1400px;
}

/* 新闻列表页样式 */
.list-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    gap: 30px;
    padding: 0 20px;
}

/* 左侧栏目导航 */
.category-sidebar {
    flex: 1;
    /* background: #f8f9fa; */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-sidebar h3 {
    color: #c62828;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c62828;
}

.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 10px;
}

.category-item a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.category-item a:hover {
    background: #e9ecef;
    color: #c62828;
}

.category-item.active a {
    background: #c62828;
    color: white;
    font-weight: bold;
}

/* 右侧列表内容 */
.list-content {
    flex: 4;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #c62828;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: bold;
}

/* 文章列表 */
.article-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-bottom: 20px;
}

a.article-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

a.article-item:hover {
    background: #C62828;
    color: white;
}

a.article-item:hover .date-day {
    color: white;
}

a.article-item:hover .date-month {
    color: white;
}

a.article-item:hover .article-title {
    color: white;
}

a.article-item:hover .article-summary {
    color: white;
}

.article-item:last-child {
    border-bottom: none;
}

.article-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    margin-right: 20px;
}

.date-day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #c62828;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.article-content {
    flex: 1;
}

.article-title {
    margin-bottom: 10px;
}

.article-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
}

.article-title a:hover {
    color: #c62828;
    text-decoration: none;
}

.article-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 翻页器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 0 20px;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #f8f9fa;
    border-color: #c62828;
    color: #c62828;
}

.pagination .active {
    background: #c62828;
    border-color: #c62828;
    color: white;
}

.pagination .page-prev,
.pagination .page-next {
    background: #f8f9fa;
    font-weight: bold;
}

.pagination .page-ellipsis {
    border: none;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .list-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-sidebar {
        order: 2;
    }
    
    .list-content {
        order: 1;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-date {
        width: auto;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .date-day {
        display: inline;
        font-size: 18px;
        margin-right: 10px;
    }
    
    .date-month {
        display: inline;
        font-size: 14px;
        margin-top: 0;
    }
}

/* 确保内容在容器内正确显示 */
.gallery-container .title-bar,
.gallery-container #cards-section {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 列布局 */
.column {
    flex: 1;
}

/* 左右列比例调整 - 默认各占一半 */
.left-column {
    flex: 1; /* 左侧占一半空间 */
}

.right-column {
    flex: 1; /* 右侧占一半空间 */
    min-width: 0; /* 防止内容溢出影响布局 */
}

/* 第二行特殊比例调整 */
main .row:nth-child(4) .left-column {
    flex: 3; /* 第二行左侧占五分之三 */
}

main .row:nth-child(4) .right-column {
    flex: 2; /* 第二行右侧占五分之二 */
}

.news-list {
    min-width: 0; /* 防止内容溢出影响布局 */
}

/* 幻灯片容器 */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 幻灯片控制按钮 */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 新闻区域 Swiper 样式 */
.news-swiper-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-swiper-container .swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.news-swiper-container .swiper-slide {
    flex: 0 0 100%; /* 每个幻灯片占100%宽度，一次显示一张图片 */
    width: 100%;
    height: 100%;
    padding: 0 !important;
}

.news-swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻区域 Swiper 导航按钮 */
.news-swiper-button-prev, .news-swiper-button-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.news-swiper-button-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.news-swiper-button-prev:hover, .news-swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Swiper组件样式 */
.swiper-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background-color: #fcfcfc;
    /* border: 1px dashed #c5bfbf; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 10px 10px 50px; /* 添加内边距，使卡片之间有间隔 */
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.swiper-slide {
    flex: 0 0 50%; /* 每个幻灯片占50%宽度，显示两个卡片 */
    width: 50%;
    height: 100%;
    padding: 0 10px; 
    box-sizing: border-box;
}

/* 小屏幕下只显示一张图片 */
@media (max-width: 768px) {
    .swiper-slide {
        flex: 0 0 100%; /* 小屏幕下每个幻灯片占100%宽度，只显示一个卡片 */
        width: 100%;
    }
}

.interview-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interview-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.interview-card-link:hover .interview-card {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.interview-card img {
    width: 100%;
    height: 65%; /* 调整图片高度比例 */
    object-fit: contain; /* 改为contain以保持图片原有比例 */
}

.interview-card .card-content {
    background-color: #f9f9f9;
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interview-card .card-content h3 {
    color: #c62828;
    margin-bottom: 10px;
    font-size: 18px;
}

.interview-card .card-content p {
    font-size: 14px;
    color: #666;
}

/* Swiper分页器样式 */
.swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(231, 208, 208, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: #c62828;
}

/* Swiper导航按钮样式 */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(198, 40, 40, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(198, 40, 40, 1);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev::after {
    content: "‹";
}

.swiper-button-next::after {
    content: "›";
}

/* 新闻列表样式调整 */
.news-list {
    background-color: #FFEFDD;
    border-radius: 8px;
    padding: 20px;
    height: 400px; /* 与Swiper高度保持一致 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: visible; /* 去掉滚动条 */
}

/* 成就列表样式 - 独特样式 */
.achievements-list {
    background-color: #f8f8f8; /* 淡蓝色背景 */
    border-radius: 8px;
    padding: 20px;
    height: 400px; /* 与Swiper高度保持一致 */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    overflow-y: visible; /* 去掉滚动条 */
    border-left: 4px solid #9F2626; /* 左侧蓝色边框 */
}

/* 基层风采列表样式 */
.grassroots-list {
    border-radius: 8px;
    padding: 20px;
    height: auto; /* 与其他列表高度保持一致 */
    overflow-y: visible; /* 去掉滚动条 */
}

/* 基层风采列表使用两列布局 */
.grassroots-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style-type: none;
}



.interview-list {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-list h2, .interview-list h2, .achievements-list h2 {
    color: #c62828;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c62828;
}

.news-list ul, .interview-list ul, .achievements-list ul, .grassroots-list ul {
    list-style-type: none;
}

.news-list li, .interview-list li {
    margin-bottom: 12px;
    padding-bottom: 8px;
    position: relative;
    padding-left: 15px;
    line-height: 3.5rem;
}

/* 成就列表项样式 - 独特样式 */
.achievements-list li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 2.2rem;
    border-bottom: 1px dashed #a7aeb6; /* 淡蓝色分割线 */
}

/* 基层风采列表项样式 */
.grassroots-list li {
    width: calc(50% - 10px); /* 两列布局，减去gap的一半 */
    margin-bottom: 0px;
    padding-bottom: 5px;
    position: relative;
    border-bottom: 1px dashed #ccc;
}

/* 添加圆点 */
.news-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c62828;
}

/* 成就列表添加蓝色菱形标记 */
.achievements-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: #c62828;
    transform: rotate(45deg); /* 菱形 */
}

/* 基层风采列表不添加标记 */
.grassroots-list li::before {
    display: none;
}

/* 除最后一条外都添加虚线分割线 */
.news-list li:not(:last-child) {
    border-bottom: 1px dashed #ccc;
    transition: border-color 0.3s, border-style 0.3s;
}

.news-list li:last-child {
    border-bottom: none;
}

/* 鼠标悬停时，虚线变为红色实线 */
.news-list li:hover:not(:last-child) {
    border-bottom: 1px solid #c62828;
}

/* 成就列表悬停效果 */
.achievements-list li:hover {
    background-color: #FAF0EA; /* 淡蓝色背景 */
    padding-left: 30px; /* 向右缩进 */
    transition: all 0.3s ease;
}

/* 基层风采列表悬停效果 */
.grassroots-list li:hover {
    transform: translateX(5px); /* 向右移动 */
    transition: all 0.3s ease;
}

/* 移除对date-placeholder的悬停效果，因为它是空的 */

/* 新闻项样式 */
.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 日期卡片样式 */
.date-card {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

/* 日期占位符样式 - 替换日期卡片但不显示内容 */
.date-placeholder {
    min-width: 80px;
    padding-right: 12px;
    padding-left: 12px;
    border-right: 1px solid transparent;
}

.news-list a, .interview-list a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

/* 成就列表链接样式 - 独特样式 */
.achievements-list a {
    color: #333; /* 深蓝色 */
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

/* 基层风采列表链接样式 */
.grassroots-list a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    flex: 1;
}

.grassroots-list a:hover {
    color: #c62828;
}

.news-list li, .interview-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* 成就列表项布局 */
.achievements-list li {
    display: block;
}

.news-list a, .interview-list a {
    flex: 1;
    width: auto;
    margin-right: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list a:hover, .interview-list a:hover {
    color: #c62828;
}

/* 成就列表链接悬停效果 */
.achievements-list a:hover {
    color: #c62828; /* 蓝色 */
    /* text-decoration: underline; */
}

/* 新闻日期样式 */
.news-date {
    color: #666;
    font-size: 14px;
    width: 90px; /* 固定宽度 */
    text-align: right;
    flex-shrink: 0; /* 防止日期被压缩 */
}

/* 图文卡片容器 */
.cards-container {
    width: 100%;
}

.cards-container h2 {
    color: #c62828;
    margin-bottom: 20px;
    text-align: center;
}

.cards-wrapper {
    position: relative;
    overflow: hidden;
}

.cards {
    display: flex;
    transition: transform 0.5s ease;
}

.card {
    flex: 0 0 33.333%;
    padding: 0 10px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.card-content {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content h3 {
    color: #c62828;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    color: #666;
}

/* 卡片控制按钮 */
.card-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 50%;
    background-color: rgba(198, 40, 40, 0.8);
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.card-btn:hover {
    background-color: rgba(198, 40, 40, 1);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #890203 0%, #a01515 50%, #890203 100%);
    color: white;
    padding: 40px 0 20px;
    /* margin-top: 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-section h3 {
    color: #c62828;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #c62828;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: block;
    background-color: #555;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #c62828;
}

.footer-bottom {
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    font-size: 16px;
    color: white;
    font-weight: bold;
}

/* Banner 响应式设计 */
/* 4K 和超宽屏幕 (2560px+) */
@media (min-width: 2560px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu li {
        max-width: 250px; /* 增加导航项宽度 */
    }

    .nav-menu a {
        font-size: 20px; /* 增大字体 */
        padding: 25px 0;
    }
}

/* 2K 屏幕 (1440px - 2559px) */
@media (min-width: 1440px) and (max-width: 2559px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu li {
        max-width: 220px;
    }

    .nav-menu a {
        font-size: 19px;
        padding: 22px 0;
    }
}

/* 标准 1080p 屏幕 (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu li {
        max-width: 200px;
    }
}

/* 平板横屏和小桌面 (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu li {
        max-width: 180px;
        min-width: 140px;
    }

    .nav-menu a {
        font-size: 17px;
        padding: 18px 0;
    }
}

/* 平板竖屏 (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu li {
        max-width: 160px;
        min-width: 120px;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 15px 0;
        height: auto;
        line-height: 1.4;
    }
}

/* 手机横屏 (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu ul {
        justify-content: space-around;
    }

    .nav-menu li {
        flex: 1;
        min-width: 100px;
        max-width: 140px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 12px 5px;
        height: auto;
        line-height: 1.3;
    }
    .grassroots-container #grassroots-section {
    
    display: flex;
    flex-direction: column;
    }
    
}

/* 手机竖屏 (最大 575px) */
@media (max-width: 575px) {
    .banner {
        height: auto; /* 高度自动，根据图片比例调整 */
    }

    .banner-image {
        width: 100%;
        height: auto; /* 高度自动，保持图片原始比例 */
        object-fit: contain; /* 确保图片完整显示，不裁剪 */
    }

    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li {
        flex: 0 0 calc(50% - 10px); /* 两列布局 */
        margin: 2px;
        min-width: auto;
        max-width: none;
    }

    .nav-menu a {
        font-size: 13px;
        padding: 10px 5px;
        height: auto;
        line-height: 1.2;
    }
    .grassroots-container{
        padding: 20px 0;
    }
    .achievements-container{
        padding: 20px 0;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }
    
    .left-column, .right-column {
        flex: 1;
    }
    
    .card {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .card {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    /* 确保发展成就右侧标题在小屏幕上显示省略号 */
    .achievements-list {
        padding: 15px;
    }
    
    .achievements-list a {
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    .achievements-list li {
        padding-left: 20px;
        line-height: 1.8;
    }
}

/* 针对更小屏幕的媒体查询 */
@media (max-width: 480px) {
    /* 确保发展成就右侧标题在极小屏幕上显示省略号 */
    .achievements-list {
        padding: 10px;
    }
    
    .achievements-list a {
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    
    .achievements-list li {
        padding-left: 15px;
        line-height: 2.5;
        margin-bottom: 10px;
    }
    .title-bar {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .achievements-container{
        margin-top: 20px;
    }
}


/* 新增新闻项样式 */
.news-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #FCFCFB;
    background-image: url('img/listbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 3;
}

.news-item:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 移除对date-placeholder的悬停效果，因为它是空的 */

.date-card {
    display: flex;
    flex-direction: column;
    min-width: 60px;
    padding-right: 12px;
    padding-left: 12px;
    border-right: 1px solid #e5e5e5;
}

.day {
    font-size: 24px;
    font-weight: bold;
    color: #9F2626;
    margin-bottom: 4px;
}

.month {
    font-size: 12px;
    color: #9F2626;
    font-weight: normal;
}

.news-item a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item a:hover {
    color: #333;
}

/* 滚动卡片轮播样式 */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-item {
    flex: 0 0 calc((100% - 40px) / 3);
    /* 100% 容器宽度减去两个 gap (20px * 2)，然后除以 3 */
    width: calc((100% - 40px) / 3);
    background-color: rgba(255, 255, 255, 0.9); /* 设置carousel-item为半透明白色 */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    max-width: 100%; /* 确保不超出容器 */
    box-sizing: border-box; /* 包含padding和border在宽度内 */
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 比例 */
    background-color: #ddd;
    overflow: hidden;
    min-height: 210px;
    min-width: 280px;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    max-width: 100%; /* 确保图片不超出容器 */
    display: block; /* 确保图片是块级元素 */
}

.video-thumbnail:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1);
}

/* 视频缩略图标签样式 */
.video-thumbnail-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.play-button:hover {
    background-color: rgba(0,0,0,0.7);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}

.video-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 239, 221, 0.2); /* 使用rgba设置70%透明度 */
    -webkit-backdrop-filter: blur(2px); /* Safari兼容性 */
    backdrop-filter: blur(2px); /* 添加轻微的模糊效果，增强视觉层次 */
}

.video-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex: 1;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-arrow:hover {
    background-color: transparent;
    box-shadow: none;
}

.carousel-arrow.prev {
    left: -30px;
}

.carousel-arrow.next {
    right: -30px;
}

.carousel-arrow::before {
    content: '';
    width: 20px;
    height: 20px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(-45deg);
}

.carousel-arrow.next::before {
    transform: rotate(135deg);
}

/* 轮播响应式设计 */
@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }

    .carousel-container {
        padding: 0 30px;
    }

    .carousel-arrow.prev {
        left: -20px;
    }

    .carousel-arrow.next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%; /* 确保不超出容器 */
    }

    .carousel-container {
        padding: 0 50px; /* 增加左右内边距，确保箭头有足够空间 */
        max-width: 100%;
        margin: 0 auto;
    }

    .carousel-wrapper {
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .carousel {
        display: flex;
        transition: transform 0.5s ease-in-out;
        gap: 0; /* 在小屏幕下去除间隙 */
    }

    .carousel-arrow.prev {
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
        border: 2px solid #fff;
    }

    .carousel-arrow.next {
        right: 0;
        background-color: rgba(0, 0, 0, 0.5);
        border: 2px solid #fff;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow::before {
        width: 15px;
        height: 15px;
        border-width: 2px;
        border-color: #fff;
    }

    .carousel-arrow:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

/* ==================== 时间轴样式 ==================== */

/* 时间轴区域 */
.timeline-section {
    display: block;
    width: 100%;
}

/* 时间轴主容器 */
.timeline-main-container {
    background-image: url('img/his.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* 添加中国风纹理背景 */
.timeline-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.02) 0px, rgba(212, 175, 55, 0.02) 1px, transparent 1px, transparent 10px);
    z-index: 0;
    pointer-events: none;
}

/* 时间轴CSS变量 */
:root {
    --timeline-primary-color: #c41e3a; /* 中国红 */
    --timeline-secondary-color: #d4af37; /* 金色 */
    --timeline-accent-color: #8b0000; /* 深红 */
    --timeline-bg-color: #f8f3e9; /* 米黄色背景 */
    --timeline-card-bg: #fffdf7; /* 淡米色卡片背景 */
    --timeline-text-primary: #2c1810; /* 深棕色文字 */
    --timeline-text-secondary: #5a3e2b; /* 中棕色文字 */
    --timeline-border-color: #d4af37; /* 金色边框 */
    --timeline-shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --timeline-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --timeline-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --timeline-shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

/* 横向时间轴容器 */
.timeline-wrapper {
    position: relative;
    padding: 2rem;
    overflow: hidden;
    z-index: 1;
}

.timeline-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--timeline-border-color);
    padding-bottom: 1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--timeline-primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.timeline-nav {
    display: flex;
    gap: 3rem;
    /* margin-top: 2rem; */
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--timeline-secondary-color);
    background: var(--timeline-card-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: var(--timeline-primary-color);
    font-weight: bold;
}

.nav-btn:hover:not(:disabled) {
    background: var(--timeline-primary-color);
    color: var(--timeline-secondary-color);
    border-color: var(--timeline-primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 横向滚动容器 */
.timeline-container {
    position: relative;
    overflow: hidden;
    padding: 0 0 2rem 0;
    width: 100%;
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.timeline-container:active {
    cursor: grabbing;
}

.timeline-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 0;
    position: relative;
    will-change: transform; /* 优化性能 */
    touch-action: pan-y; /* 允许垂直滚动，限制水平滚动 */
}

/* 时间轴线 - 移到底部 */
.timeline-line {
    position: absolute;
    bottom: 3rem; /* 调整位置，使其与时间轴节点对齐 */
    left: 2rem; /* 与timeline-wrapper的padding对齐 */
    right: 2rem; /* 与timeline-wrapper的padding对齐 */
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.5) 10%,
        rgba(212, 175, 55, 0.5) 90%,
        transparent 100%);
    z-index: 1;
}

/* 历史事件卡片 */
.meeting-card {
    flex: 0 0 350px;
    background: var(--timeline-card-bg);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--timeline-shadow-md);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInHorizontal 0.6s ease forwards;
    margin-bottom: 2rem;
    border: 1px solid var(--timeline-secondary-color);
    border-left: 5px solid var(--timeline-primary-color);
}

@keyframes slideInHorizontal {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.meeting-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--timeline-shadow-xl);
    border-left-width: 8px;
}

/* 时间轴节点 - 移到卡片底部 */
.timeline-node {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--timeline-card-bg);
    border: 4px solid var(--timeline-primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.meeting-card:hover .timeline-node {
    transform: translateX(-50%) scale(1.3);
    background: var(--timeline-primary-color);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.5);
}

/* 添加连接线 */
.timeline-node::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    width: 2px;
    height: 2rem;
    background: var(--timeline-primary-color);
    transform: translateX(-50%);
    opacity: 0.5;
}

/* 图片容器 */
.meeting-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.meeting-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.meeting-card:hover .meeting-image {
    transform: scale(1.05);
}

/* 年份标签叠加在图片上 */
.meeting-year-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.9), rgba(212, 175, 55, 0.9));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 历史事件内容 */
.meeting-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(212, 175, 55, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--timeline-primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--timeline-secondary-color);
}

.meeting-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--timeline-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* 滚动指示器 */
.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--timeline-border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--timeline-primary-color);
    box-shadow: 0 0 5px rgba(196, 30, 58, 0.5);
}

/* Toast提示 */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 中国风边框装饰 */
.chinese-border {
    position: relative;
    padding: 15px 15px 90px;
}

/* 中国风印章效果 */
.chinese-seal {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(196, 30, 58, 0.8);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
    transform: rotate(15deg);
    opacity: 0.8;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* 滑动提示样式 */
.timeline-swipe-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(196, 30, 58, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    animation: pulseHint 2s infinite;
}

.timeline-container:hover .timeline-swipe-hint {
    opacity: 1;
    animation: none;
}

/* 滑动提示脉动动画 */
@keyframes pulseHint {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.05);
    }
}

/* 移动端始终显示滑动提示 */
@media (max-width: 768px) {
    .timeline-swipe-hint {
        opacity: 0.7;
        animation: pulseHint 3s infinite;
    }

    .timeline-container:hover .timeline-swipe-hint {
        opacity: 0.9;
    }
}

/* 时间轴响应式设计 */
@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
        gap: 1rem;
    }

    .meeting-card {
        flex: 0 0 calc(100vw - 6rem); /* 全屏宽度减去padding和边距 */
        max-width: 300px;
        margin: 0 auto;
    }

    .timeline-container {
        padding-bottom: 3rem;
        overflow: hidden;
    }

    .timeline-track {
        gap: 1rem;
        padding: 1rem 0;
    }

    .timeline-wrapper {
        padding: 1rem;
    }

    .meeting-image-container {
        height: 180px;
    }

    .meeting-title {
        font-size: 1rem;
    }

    .meeting-year-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* 文章正文页面样式 */
.article-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    gap: 30px;
    padding: 0 20px;
}

.article-content {
    flex: 4;
}

.article-body {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 20px;
}

/* 列表页文章标题样式 */
.article-list .article-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: bold;
}

/* 正文页文章标题样式 */
.article-body .article-title {
    font-size: 28px;
    color: #181414;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #666;
}

.publish-time, .source {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 4px;
}

.article-text {
    font-size: 18px;
    line-height: 2;
    color: #333;
}

.article-text p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-text img {
    display: block;
    max-width: 70%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 文章正文响应式设计 */
@media (max-width: 768px) {
    .article-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .article-body {
        padding: 20px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .article-text {
        font-size: 15px;
    }
}

/* 基层风采列表响应式设计 - 确保在小屏幕上一行显示一条 */
@media (max-width: 768px) {
    .grassroots-list li {
        width: 100% !important;
        flex-basis: 100% !important;
    }
    
    /* 调整列表项样式，适应手机屏幕 */
    .grassroots-list {
        padding: 15px;
        height: auto; /* 在小屏幕上允许高度自适应 */
    }
    
    .grassroots-list ul {
        gap: 15px; /* 减小间距 */
    }
    
    .grassroots-list li {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .grassroots-list a {
        font-size: 14px; /* 减小字体大小 */
        line-height: 1.4; /* 调整行高 */
    }
    
    .news-item {
        padding: 10px; /* 减小内边距 */
        gap: 10px; /* 减小元素间距 */
    }
    
    .date-placeholder {
        min-width: 60px; /* 减小日期占位符宽度 */
        padding-right: 8px;
        padding-left: 8px;
    }
}

#vsb_content_2 P {
    font-size: 16px !important;
line-height: 2 !important;
}

/* 隐藏类 */
.hidden {
    display: none !important;
}