/* 博达站群 - 首页样式 */

/* Swiper基础样式 */
.swiper {
    width: 100%;
    height: 100%;
}
.search-btn{
border:1px solid #fff;
}
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

/* 主轮播区域 */
.banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 80px;
    flex-shrink: 0;
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 8s ease-in-out;
}

.banner .swiper-slide:hover .slide-bg {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.3), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.banner-text {
    color: white;
    max-width: 700px;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.banner-text p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    font-weight: 300;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 轮播控制按钮 */
.swiper-pagination {
    bottom: 40px !important;
    text-align: center;
    transition: all 0.3s;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    background: #1e88e5;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.swiper-button-prev,
.swiper-button-next {
    color: rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 60px;
    margin-top: -30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: 600;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #fff;
    background: rgba(30, 136, 229, 0.8);
    transform: scale(1.1);
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.swiper-button-disabled:hover {
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

/* 新闻动态模块 - 优化后的样式 */
.news-section {
    padding: 20px 0 25px 0; /* 进一步压缩上下padding */
    background: transparent;
    position: relative;
    margin-bottom: 0;
}

/* 确保container有相对定位，并与下方模块对齐 */
.news-section .container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 25px;
}

/* 移除红色分隔线 */

/* 新闻模块 - 完全透明无装饰 */
.news-module {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    position: relative;
}

/* 移除模块标题栏，由右侧列表处理 */
.news-module-header {
    display: none;
}

/* 新闻布局 - 左右分栏，增加间距 */
.news-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧主新闻 - 进一步缩小比例 */
.main-news {
    flex: 0.8;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    padding: 0;
}

/* 主新闻容器 */
.featured-news-single {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    position: relative;
}

/* 主新闻图片区域 - 进一步缩小图片尺寸 */
.featured-news-single .news-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px; /* 添加轻微圆角 */
}

.featured-news-single .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 主新闻标题 - 位于图片下方 */
.featured-news-single .news-content {
    padding: 0;
    background: transparent;
}

.featured-news-single .news-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制两行显示 */
    line-clamp: 2; /* 标准属性 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.main-news-header {
    margin-bottom: 20px;
}

.module-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #1e88e5;
    position: relative;
}

.module-title h2 {
    font-size: 20px; /* 从18px调大到20px */
    font-weight: 700; /* 从600调大到700 */
    color: #333;
    margin: 0;
    background: #1e88e5;
    color: #fff;
    padding: 10px 18px; /* 从8px 16px调大到10px 18px */
    border-radius: 5px 5px 0 0;
    position: relative;
    z-index: 2;
}

.more-link {
    color: #1e88e5;
    text-decoration: none;
    font-size: 16px; /* 从14px调大到16px */
    font-weight: 600; /* 从500调大到600 */
    padding: 6px 12px; /* 增加内边距 */
    border: 1px solid #1e88e5;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.more-link:hover {
    background: #1e88e5;
    color: #fff;
}

.featured-news-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-news-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.news-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

/* 新闻列表标题样式 */
.news-list-header {
    background: linear-gradient(135deg, #3f51b5, #303f9f);
    padding: 0;
}

.news-list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.news-list-title h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.news-list-title .more-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.news-list-title .more-link:hover {
    opacity: 1;
}

/* 右侧新闻列表模块 - 进一步增加宽度比例 */
.news-list-module {
    flex: 1.5;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    padding: 0;
}

/* 新闻模块标题 - 蓝色标题栏 */
.news-module-header {
    display: block !important;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.news-module-title {
    background: #1e88e5;
    color: #fff;
    padding: 12px 18px; /* 从15px调整到18px，与通知公告模块padding保持一致 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.news-module-title h2 {
    color: #fff;
    font-size: 20px; /* 从16px调整到20px，与通知公告模块标题保持一致 */
    font-weight: 700; /* 从600调整到700，与通知公告模块标题保持一致 */
    margin: 0;
}

.news-module-title .more-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px; /* 保持14px，与通知公告模块的更多链接一致 */
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.news-module-title .more-link:hover {
    opacity: 0.8;
}

/* 新闻列表内容区域 */
.news-list-module .module-content {
    padding: 0;
    background: transparent;
}

/* 新闻列表项 - 优化样式和间距 */
.news-list .news-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 15px;
    border-bottom: 1px dotted #ddd;
    gap: 15px;
    transition: background-color 0.2s ease;
}

.news-list .news-list-item:hover {
    background-color: rgba(30, 136, 229, 0.05);
}

/* 保留最后一条记录的分割线 */
/* .news-list .news-list-item:last-child {
    border-bottom: none;
} */


/* 新闻标题样式 - 仿经管学院 */
.news-title {
    flex: 1;
}

.news-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px; /* 调整为与通知公告一致的字体大小 */
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制两行显示 */
    line-clamp: 2; /* 标准属性 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    transition: color 0.3s ease;
}


.news-title a:hover {
    color: #1e88e5;
}

/* 新闻日期样式 - 调整为合适的大小 */
.news-list .news-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 10px;
    flex-shrink: 0;
    font-weight: 400;
}

/* 三栏模块区域 */
.three-columns-section {
    padding: 15px 0 !important; /* 进一步减少到15px，最大程度缩小间距 */
    position: relative !important;
    background-color: #e3f2fd !important; /* 浅蓝色备用背景 */
    background-image: url('../images/ydbg.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    min-height: 400px !important;
}

/* 为三栏区域添加轻微遮罩层以提高内容可读性，同时保持背景图清晰 */
.three-columns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15) !important; /* 轻微白色遮罩，既能看清背景图又保证内容可读性 */
    z-index: 1;
}

/* 确保内容在遮罩层之上 */
.three-columns-section .container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0px;
}

.three-columns-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    
}

.module-column {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.module-column:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.module-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.module-header .module-title {
    border-bottom: none;
    padding: 0;
}

.module-header .module-title h2 {
    font-size: 18px;
    padding: 12px 16px;
    margin: 0;
    border-radius: 0;
}

.module-header .more-link {
    margin: 15px 20px 15px 0;
    font-size: 12px;
    padding: 3px 10px;
}

.notice-list .notice-item,
.academic-list .academic-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    gap: 12px;
}

.notice-list .notice-item:last-child,
.academic-list .academic-item:last-child {
    border-bottom: none;
}

.notice-list .notice-item:hover,
.academic-list .academic-item:hover {
    background: rgba(30, 136, 229, 0.05);
}

.date-tag {
    background: #1e88e5;
    color: #fff;
    font-size: 22px; /* 从20px调大到22px */
    font-weight: 700; /* 从600调大到700 */
    padding: 12px 14px; /* 增加内边距 */
    border-radius: 6px;
    text-align: center;
    min-width: 50px; /* 从45px调大到50px */
    line-height: 1;
}

.date-month {
    font-size: 15px; /* 从13px调大到15px */
    color: #999;
    text-align: center;
    margin-top: 3px;
    white-space: nowrap;
    font-weight: 600; /* 从500调大到600 */
}

.notice-content,
.academic-content {
    flex: 1;
    min-width: 0;
}

.notice-content a,
.academic-content a {
    color: #333;
    text-decoration: none;
    font-size: 18px; /* 从16px调大到18px */
    line-height: 1.5;
    display: block;
    transition: color 0.3s ease;
    font-weight: 500; /* 增加字重 */
}

.notice-content a:hover,
.academic-content a:hover {
    color: #1e88e5;
}

/* 视频模块特殊样式 */
.module-column .video-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* 视频容器使用负margin突破父元素padding限制，完全占满模块 */
.module-column .video-container {
    margin: -15px !important; /* 负margin抵消module-content的15px padding */
    border-radius: 8px; /* 保持圆角 */
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 370px; /* 进一步增加高度，让视频更好地占满整个模块 */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0; /* 移除底部间距 */
    background: transparent; /* 移除黑色背景 */
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 改回cover，让视频填满容器 */
    border-radius: 8px; /* 确保视频也有圆角 */
    background: transparent; /* 移除黑色背景 */
}

/* 移除自定义视频控件样式，使用浏览器默认 */

/* 视频信息样式已移除，因为不再显示文字描述 */

/* 研究院定位展示 */
.positioning-section {
    padding: 25px 0; /* 从40px减少到25px */
    background: linear-gradient(135deg, #f0f4f8, #e8f4fd);
}

.positioning-header {
    text-align: center;
    margin-bottom: 30px;
}

.positioning-header h2 {
    font-size: 38px; /* 从32px调大到38px */
    font-weight: 700; /* 从600调大到700 */
    color: #333;
    margin-bottom: 15px;
}

.positioning-header p {
    font-size: 20px; /* 从16px调大到20px */
    color: #666;
    opacity: 0.8;
    font-weight: 500; /* 增加字重 */
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.positioning-item {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.positioning-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #1e88e5, #42a5f5);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.positioning-item:hover::before {
    transform: scaleX(1);
}

.positioning-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.2);
}

.positioning-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.positioning-item:hover .positioning-image {
    border-color: #1e88e5;
    transform: scale(1.1);
}

.positioning-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.positioning-content h3 {
    font-size: 22px; /* 从18px调大到22px */
    font-weight: 700; /* 从600调大到700 */
    color: #333;
    margin-bottom: 10px;
}

.positioning-content p {
    font-size: 17px; /* 从14px调大到17px */
    color: #666;
    line-height: 1.5;
    font-weight: 400; /* 增加字重 */
}

/* 数说研究院优化 */
.statistics-section {
    padding: 40px 0;
    background: url("../images/z_bg.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0; /* 紧贴下方区域 */
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%), 
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

/* 数说研究院底部过渡带 */
.statistics-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.6) 80%,
        rgba(255, 255, 255, 0.9) 100%
    );
    z-index: 3;
}

/* 确保数说研究院内容在遮罩层之上 */
.statistics-section .container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 25px;
}

.statistics-section .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 30px;
}

.statistics-section .section-header h2 {
    color: #fff;
    font-size: 42px; /* 从36px调大到42px */
    font-weight: 700; /* 从600调大到700 */
    margin-bottom: 15px;
}

.statistics-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px; /* 从16px调大到20px */
    opacity: 0.9;
    font-weight: 500; /* 增加字重 */
    }
    
    .statistics-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px; /* 增加间距 */
    max-width: 1400px; /* 增加最大宽度 */
    margin: 0 auto;
    padding: 0 20px; /* 添加左右内边距 */
}

.statistics-item {
    text-align: center;
    padding: 40px 25px; /* 进一步增加内边距 */
    background: rgba(255, 255, 255, 0.15); /* 稍微增加透明度 */
    backdrop-filter: blur(20px); /* 增强模糊效果 */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; /* 增大圆角 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 稍微加强边框 */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* 增强阴影 */
    min-height: 220px; /* 增加最小高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.statistics-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%) translateY(-100%);
    transition: all 0.6s ease;
    opacity: 0;
}

.statistics-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(100%) translateY(100%);
}

.statistics-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon {
        font-size: 24px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.9;
}

.stat-number {
    font-size: 72px; /* 进一步调大到72px，更加突出 */
    font-weight: 800; /* 更粗的字体 */
    color: #fff;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    display: inline-block; /* 改为inline-block以支持flex布局 */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.stat-label {
    font-size: 18px; /* 调整到18px */
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-weight: 400; /* 减轻字重，形成对比 */
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.stat-unit {
    font-size: 32px; /* 调大到32px，与数字更协调 */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500; /* 稍微减轻，与数字形成对比 */
    display: inline-block; /* 改为inline-block以支持flex布局 */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    line-height: 1;
    transition: all 0.3s ease; /* 添加过渡效果 */
    vertical-align: baseline; /* 与数字基线对齐 */
}

/* 数字和单位的组合容器 */
.stat-number-container {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px; /* 数字和单位之间的间距 */
    line-height: 1;
}

/* 增强悬停效果 */
.statistics-item:hover .stat-number-container {
    transform: scale(1.05);
}

.statistics-item:hover .stat-number {
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.statistics-item:hover .stat-unit {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* 核心任务展示 - 优化过渡效果 */
.core-mission-section {
    padding: 50px 0; /* 增加padding给过渡效果更多空间 */
    position: relative;
    background: linear-gradient(
        to bottom,
        #f8fdff 0%,      /* 顶部接近蓝色的极浅色 */
        #ffffff 25%,     /* 过渡到纯白 */
        #ffffff 75%,     /* 保持白色 */
        #f5f9fc 100%     /* 底部略带蓝色调的浅色 */
    );
    margin: 0; /* 确保与相邻区域紧密贴合 */
    overflow: hidden; /* 确保伪元素不溢出 */
}

/* 核心任务底部过渡带 - 为成果推介做准备 */
.core-mission-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* 更高的过渡带 */
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(52, 152, 219, 0.05) 20%,    /* 开始淡淡的蓝色调 */
        rgba(52, 152, 219, 0.1) 40%,     /* 逐渐加深 */
        rgba(52, 152, 219, 0.15) 60%,    /* 中部 */
        rgba(52, 152, 219, 0.2) 80%,     /* 接近成果推介的色调 */
        rgba(52, 152, 219, 0.25) 100%    /* 底部过渡到成果推介 */
    );
    z-index: 1;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* 确保内容在过渡带上方 */
}

.mission-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(66, 165, 245, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-item:hover::after {
    opacity: 1;
}

.mission-item:hover {
    background: #fff;
    border-color: #1e88e5;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.15);
}

.mission-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mission-item:hover .mission-image img {
    transform: scale(1.1);
}

.mission-content {
    position: relative;
    z-index: 2;
}

.mission-content h3 {
    font-size: 20px; /* 从16px调大到20px */
    font-weight: 700; /* 从600调大到700 */
    color: #333;
    margin-bottom: 8px;
}

.mission-content p {
    font-size: 16px; /* 从13px调大到16px */
    color: #666;
    line-height: 1.5;
    font-weight: 400; /* 增加字重 */
}

/* 成果推介展示 */
.achievements-section {
    padding: 40px 0; /* 恢复到40px，给过渡效果更多空间 */
    position: relative;
    background: url('../images/chengguobg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0; /* 确保与下方紧密贴合 */
}

/* 成果推介区域渐变遮罩层 - 与上方蓝色调和谐过渡 */
.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(52, 152, 219, 0.4) 0%,         /* 顶部接续核心任务的蓝色调 */
        rgba(52, 152, 219, 0.3) 15%,        /* 稍微减淡 */
        rgba(255, 255, 255, 0.6) 30%,       /* 过渡到白色调 */
        rgba(255, 255, 255, 0.4) 45%,       /* 中上部保持浅色 */
        rgba(255, 255, 255, 0.2) 60%,       /* 中部开始变深 */
        rgba(255, 255, 255, 0.1) 75%,       /* 下部变深 */
        rgba(44, 62, 80, 0.3) 85%,          /* 开始过渡到footer色系 */
        rgba(44, 62, 80, 0.5) 95%,          /* 接近footer颜色 */
        rgba(44, 62, 80, 0.7) 100%          /* 最底部与footer颜色深度呼应 */
    );
    z-index: 1;
}

/* 添加底部装饰性过渡带 - 更细腻的渐变效果 */
.achievements-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px; /* 稍微增加高度，让过渡更平缓 */
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(44, 62, 80, 0.05) 20%,     /* 开始很淡 */
        rgba(44, 62, 80, 0.15) 40%,     /* 逐渐加深 */
        rgba(44, 62, 80, 0.25) 60%,     /* 中部 */
        rgba(44, 62, 80, 0.35) 80%,     /* 底部 */
        rgba(44, 62, 80, 0.45) 100%     /* 最底部，与footer衔接 */
    );
    z-index: 1;
}

/* 确保内容在遮罩层之上 */
.achievements-section .container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 25px;
}

/* 成果推介标题样式 - 与数说研究院保持一致 */
.achievements-section .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 30px;
}

.achievements-section .section-header h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.achievements-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    opacity: 0.9;
    font-weight: 500;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s ease;
}

.achievement-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.achievement-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
}

.achievement-item:hover .achievement-image img {
    transform: scale(1.05);
}

.achievement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 30px 20px 20px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.achievement-item:hover .achievement-overlay {
    transform: translateY(0);
}

.achievement-title {
    font-size: 20px; /* 从16px调大到20px */
    font-weight: 700; /* 从600调大到700 */
    text-align: center;
}

/* 新的Footer样式 - 参考燕山大学设计 */

/* 独立友情链接区域 - 确保占满全宽 */
.links-section {
    background: #ecf2f7;
    padding: 10px 0; /* 从15px减少到10px */
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    width: 100vw !important; /* 占满视口宽度 */
    margin-left: calc(-50vw + 50%) !important; /* 突破container限制 */
    position: relative;
}

.links-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 1350px; /* 内容保持合理宽度 */
    margin: 0 auto; /* 居中显示 */
    padding: 0 25px; /* 左右留白 */
}

.links-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.links-label {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    margin-right: 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

.link-item {
    color: #34495e;
    text-decoration: none;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 8px;
}

.link-item:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

/* Footer样式简化 - 确保占满全宽和无底部空白 */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 15px 0; /* 从25px减少到15px */
    margin: 0 !important; /* 确保所有方向都没有margin */
    width: 100vw !important; /* 占满视口宽度 */
    margin-left: calc(-50vw + 50%) !important; /* 突破container限制 */
    position: relative;
    overflow-x: hidden; /* 防止水平溢出 */
    box-shadow: 0 -10px 30px rgba(44, 62, 80, 0.3); /* 添加顶部阴影，增强与上方区域的过渡 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1350px; /* 内容保持合理宽度 */
    margin: 0 auto; /* 居中显示 */
    padding: 0 25px; /* 左右留白 */
    
}

.footer-info {
    flex: 1;
}

.footer-address,
.footer-contact {
    color: #ecf0f1;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.footer-address {
    font-weight: 500;
}

.footer-contact {
    color: #bdc3c7;
}

/* 二维码区域 */
.footer-qr-codes {
    display: flex;
    gap: 30px;
    align-items: center;
}

.qr-code-item {
    text-align: center;
}

.qr-code-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.qr-code-item:hover img {
    border-color: #3498db;
    transform: scale(1.05);
}

.qr-label {
    color: #bdc3c7;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}

/* 响应式样式优化 */
@media (max-width: 768px) {
    .news-layout {
    flex-direction: column;
        gap: 20px;
    }
    
    .main-news,
    .news-list-module {
        min-height: auto;
    }
    
    .featured-news-single .news-image {
        height: 140px;
    }
    
    .featured-news-single .news-content {
        min-height: auto;
    }
    
    .featured-news-single .news-content h3 {
    font-size: 20px;
    }
    
    .featured-news-single .news-content p {
        font-size: 16px;
    }
    
    .news-list-module .module-content {
        min-height: auto;
    }
    
    .news-section,
    .three-columns-section,
    .positioning-section,
    .statistics-section,
    .core-mission-section,
.achievements-section {
        padding: 15px 0; /* 从20px减少到15px */
    }
    
    /* 全宽背景区域的容器padding调整 */
    .news-section .container,
    .three-columns-section .container {
        padding: 0 20px;
    }
    
    /* 移动端背景固定效果优化 */
    .three-columns-section {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
    
    /* 成果推介区域响应式优化 */
    .achievements-section {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
    
    /* 移动端调整过渡带高度 */
    .achievements-section::after {
        height: 50px; /* 移动端适中的过渡带高度 */
    }
    
    /* 移动端调整数说研究院底部过渡带 */
    .statistics-section::after {
        height: 60px; /* 移动端适中高度 */
    }
    
    /* 移动端调整核心任务底部过渡带 */
    .core-mission-section::after {
        height: 70px; /* 移动端适中高度 */
    }
    
    .achievements-section .container {
        padding: 0 20px;
    }
    
    /* 数说研究院响应式优化 */
    .statistics-section {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
    
    .statistics-section .container {
        padding: 0 20px;
    }
    
    .news-module-title h2 {
        font-size: 18px; /* 平板端调整为18px，与通知公告模块保持一致 */
        padding: 10px 12px;
    }
    
    /* 移动端三栏布局改为单栏 */
    .three-columns-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .module-column {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
    }

    /* 友情链接响应式样式优化 */
    .links-row {
        flex-direction: row; /* 保持横向排列 */
        align-items: center;
        gap: 8px;
        flex-wrap: wrap; /* 允许换行 */
    }
    
    .links-label {
        margin-right: 10px; /* 减少右边距 */
        margin-bottom: 0;
        font-size: 15px; /* 稍微减小字体 */
        min-width: auto; /* 取消最小宽度限制 */
    }
    
    .link-item {
        margin: 2px 3px; /* 调整边距 */
        font-size: 15px; /* 移动端稍小字体 */
        padding: 4px 6px; /* 调整内边距 */
        flex-shrink: 0; /* 防止收缩 */
    }
    
    /* Footer响应式样式 */
.footer-content {
        flex-direction: column;
    gap: 20px;
    text-align: center;
        padding: 0 20px; /* 平板端调整左右留白 */
    }
    
    .links-content {
        padding: 0 20px; /* 平板端调整左右留白 */
}

    .footer-qr-codes {
    justify-content: center;
    gap: 20px;
}

    .positioning-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
}

.achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
}

.statistics-grid {
    grid-template-columns: repeat(3, 1fr);
        gap: 20px; /* 稍微增加间距 */
        padding: 0 15px;
    }
    
    .news-cards-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .statistics-item {
        padding: 30px 15px;
        min-height: 180px;
    }
    
    .stat-number {
        font-size: 56px; /* 中等屏幕适当减小 */
    }
    
    .stat-unit {
        font-size: 28px; /* 调整以匹配数字 */
    }
    
    .stat-number-container {
        gap: 6px; /* 减小间距 */
}

.stat-icon {
        font-size: 28px;
    margin-bottom: 15px;
}

    .banner-text h1 {
        font-size: 32px;
    }
    
    .banner-text p {
    font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .positioning-header h2,
    .statistics-section .section-header h2,
    .achievements-section .section-header h2 {
        font-size: 28px;
    }
    
    .featured-news-card .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
    
    .module-content {
        padding: 15px;
    }
    
    .notice-list .notice-item,
    .academic-list .academic-item {
        padding: 12px 15px;
    }
    
    .date-tag {
        font-size: 18px;
        padding: 8px 10px;
        min-width: 40px;
    }
    
    .video-wrapper {
        height: 230px; /* 增加平板端高度，更好占满容器 */
    }
}

@media (max-width: 480px) {
    .news-section,
    .three-columns-section,
    .positioning-section,
    .statistics-section,
    .core-mission-section,
.achievements-section {
        padding: 10px 0; /* 从15px进一步减少到10px */
    }
    
    /* 超小屏幕三栏布局优化 */
    .three-columns-layout {
        grid-template-columns: 1fr !important;
    gap: 15px;
}

    .module-column {
    width: 100%;
        max-width: none;
        margin-bottom: 0;
    }
    
    /* 超小屏幕视频高度调整 */
    .video-wrapper {
        height: 180px; /* 超小屏幕适当增加高度，更好占满容器 */
        border-radius: 6px;
    }
    
    .module-content {
        padding: 12px;
    }
    
    /* 超小屏幕下调整视频容器负margin */
    .module-column .video-container {
        margin: -12px !important; /* 对应12px的padding */
    }
    
    .module-header .module-title h2 {
    font-size: 14px;
        padding: 10px 12px;
    }
    
    /* 全宽背景区域的容器padding调整 */
    .news-section .container,
    .three-columns-section .container {
        padding: 0 15px;
    }
    
    /* 成果推介区域小屏幕优化 */
    .achievements-section .container {
        padding: 0 15px;
    }
    
    /* 超小屏幕进一步调整过渡带高度 */
    .achievements-section::after {
        height: 35px; /* 超小屏幕适中的过渡带高度 */
    }
    
    /* 超小屏幕调整数说研究院底部过渡带 */
    .statistics-section::after {
        height: 40px; /* 超小屏幕紧凑高度 */
    }
    
    /* 超小屏幕调整核心任务底部过渡带 */
    .core-mission-section::after {
        height: 50px; /* 超小屏幕紧凑高度 */
    }
    
    /* 数说研究院小屏幕优化 */
    .statistics-section .container {
        padding: 0 15px;
    }
    
    /* 友情链接小屏幕优化 */
    .links-section {
        padding: 8px 0; /* 进一步减少小屏幕的padding */
    }
    
    .links-content {
        gap: 12px; /* 稍微增加行间距 */
    }
    
    /* 超小屏幕进一步优化友情链接 */
    .links-row {
        gap: 6px; /* 减少项目间距 */
        line-height: 1.3; /* 增加行高 */
    }
    
    .links-label {
        font-size: 15px; /* 进一步减小标签字体 */
        margin-right: 8px; /* 进一步减少右边距 */
        width: 100%; /* 小屏幕下标签独占一行 */
        margin-bottom: 5px;
    }
    
    .link-item {
        font-size: 14px; /* 超小屏幕字体 */
        padding: 3px 5px; /* 更紧凑的内边距 */
        margin: 1px 2px; /* 更小的外边距 */
        border-radius: 2px; /* 更小的圆角 */
    }
}

/* 中等屏幕（481px-768px）友情链接优化 */
@media (min-width: 481px) and (max-width: 768px) {
    .links-label {
        width: auto !important; /* 中等屏幕标签不独占一行 */
        margin-bottom: 0 !important;
        margin-right: 12px !important;
        font-size: 16px !important;
    }
    
    .link-item {
        font-size: 16px !important;
        padding: 3px 6px !important;
        margin: 2px 3px !important;
    }
}

@media (max-width: 480px) {
    
    /* Footer小屏幕优化 */
.footer {
        padding: 12px 0; /* 从20px减少到12px */
}

.footer-content {
        padding: 0 15px; /* 小屏幕减少左右留白 */
    }
    
    .links-content {
        padding: 0 15px; /* 小屏幕减少左右留白 */
    }
    
    .footer-qr-codes {
    gap: 15px;
}

    .qr-code-item img {
        width: 60px;
        height: 60px;
    }
    
    .three-columns-layout {
        gap: 10px;
    }
    
    .module-header .module-title h2 {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .news-module-title h2 {
        font-size: 14px; /* 超小屏幕调整为14px，与通知公告模块保持一致 */
        padding: 8px 10px;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    gap: 15px;
        padding: 0 10px;
    }
    
    .mission-grid,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .statistics-item {
        padding: 25px 15px;
        min-height: 160px;
    }
    
    .stat-number {
        font-size: 48px; /* 小屏幕进一步减小但保持突出 */
    }
    
    .stat-unit {
        font-size: 24px; /* 调整以匹配数字 */
    }
    
    .stat-number-container {
        gap: 5px; /* 进一步减小间距 */
    }
    
    .stat-label {
    font-size: 14px;
    }
    
    .news-content h3 {
        font-size: 15px;
    }
    
    .news-content p {
        font-size: 13px;
    }
}

/* 优化通用样式 */
.section-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2; /* 确保标题在过渡带上方 */
}

.section-header h2 {
        font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.section-header p {
    font-size: 15px;
    color: #666;
    margin-top: 5px;
    opacity: 0.8;
}

.more-btn {
    text-align: center;
    margin-top: 25px;
}

/* 紧凑首页布局 */
.news-section,
.three-columns-section,
.positioning-section,
.statistics-section,
.core-mission-section,
.achievements-section {
    margin: 0;
}

/* 减少模块内部间距 */
.module-content {
    padding: 15px;
}

.positioning-grid,
.mission-grid,
.achievements-grid {
        gap: 20px;
    }
    
.three-columns-layout {
        gap: 20px;
    }
    
/* 响应式设计 */

/* 中等屏幕 - 确保三栏布局正确转换 */
@media (max-width: 992px) {
    .three-columns-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .module-column {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
    }
    
    /* 视频模块中等屏幕优化 */
    .video-wrapper {
        height: 250px; /* 增加高度，更好占满容器 */
        width: 100%;
        border-radius: 8px;
    }
    
    .module-content {
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    /* 大平板屏幕下三栏改为单栏 */
    .three-columns-layout {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    .module-column {
        width: 100%;
        max-width: none;
    }
    
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 60vh;
        min-height: 450px;
        margin-top: 60px;
    }
    
    .banner-text {
        max-width: 90%;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 28px;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }
    
    .banner-text p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .banner-content {
        padding: 0 15px;
        justify-content: center;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 45px;
        height: 45px;
        margin-top: -22px;
    }
    
    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 16px;
    }
    
    .swiper-pagination {
        bottom: 20px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .news-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .notice-item {
        flex-direction: column;
    }
    
    .notice-date {
        min-width: auto;
        padding: 15px;
    }
    
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .research-item {
        padding: 30px 15px;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(3, 1fr); /* 3列布局适合移动端 */
        gap: 20px;
        padding: 0 10px;
    }
    
    .stat-number {
        font-size: 42px; /* 保持在可读范围内 */
    }
    
    .stat-unit {
        font-size: 22px; /* 调整以匹配数字 */
    }
    
    .stat-number-container {
        gap: 4px; /* 最小间距 */
    }
    
    .industry-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .industry-nav a {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-right {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .statistics-section .section-header h2,
    .achievements-section .section-header h2 {
        font-size: 24px;
    }
    
    .about-section,
    .news-section,
    .notice-section,
    .research-section,
    .statistics-section,
    .industry-section {
        padding: 18px 0;
    }
}

/* 强制移除页面底部空白 - 彻底解决方案 */
html {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh;
}

/* 确保footer紧贴底部，无任何空白 */
.footer {
    margin-bottom: 0 !important;
    position: relative;
}

/* 防止任何元素在footer后产生空白 */
.footer::after {
    content: '';
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
}

/* 强制隐藏任何footer后的内容 */
.footer ~ * {
    display: none !important;
}

/* 确保没有任何内容在footer后面 */
.footer + *,
.footer ~ * {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* 移除body和html的任何底部空白 */
html:after,
body:after {
    content: none !important;
}

/* 滚动条能够滚动到底部，让footer完全可见 */
html {
    scroll-padding-bottom: 0 !important;
}

body {
    scroll-padding-bottom: 0 !important;
}