.zxtz-layout {
    background-color: #f3f3f9;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.06);
    min-width: 320px;
    /* 添加最小宽度防止过度挤压 */
}

.notice {
    width: 100%;
    height: 70px;
    display: flex;
    max-width: 1200px;
    min-width: 320px;
    /* 添加最小宽度 */
    margin: 0 auto;
    align-items: center;
    box-sizing: border-box;
    /* 确保内边距不影响总宽度 */
}

.notice img {
    width: 65px;
    height: 56px;
    min-width: 65px;
    /* 防止图片被压缩 */
}

.tab-switch {
    display: flex;
    width: 310px;
    justify-content: space-between;
    align-items: center;
}

.fwzx-layout {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.fwzx-border {
    border-bottom: 1px solid #dddddd;
    height: 49px;
    position: relative;
    min-width: 300px;
}

.fwzx-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.fwzx-icon {
    height: 48px;
    flex-shrink: 0;
}

.service-btn-container {
    display: flex;
    gap: clamp(5px, 1.5vw, 15px);
    font-size: clamp(14px, 1.6vw, 18px);
    align-items: center;
    flex-wrap: wrap;
}

.fwzx-switch {
    white-space: nowrap;
    cursor: pointer;
    padding: 5px 10px;
}

.hydj-icon {
    border-bottom: 1px solid #dddddd;
    height: 87px;
    position: relative;
    /* 添加相对定位 */
    display: flex;
    /* 使用弹性布局 */
    align-items: center;
    /* 垂直居中 */
}

.hydj-img {
    height: 87px;
    flex-shrink: 0;
    /* 防止图片被压缩 */
}

.hydj-morelink {
    display: inline-flex;
    /* 使用弹性布局 */
    align-items: center;
    /* 垂直居中 */
}

.hydj-offset {
    margin-left: 5px;
}

.hyzl-gap {
    border-bottom: 1px solid #dddddd;
    height: 49px;
    margin-top: 38px;
}

.bszx-gap {
    border-bottom: 1px solid #dddddd;
    height: 49px;
}

.hyzx-gap {
    border-bottom: 1px solid #dddddd;
    height: 49px;
}

/* 未选中状态 */
.service-btn a {
    color: #000;
    /* 默认颜色 */
    text-decoration: none;
    /* 去掉下划线 */
}

/* 选中状态 */
.service-btn.active a {
    color: #004993;
    /* 选中时颜色 */
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dddddd;
    height: 49px;
}

.inner-pic2 {
    height: 48px;
    flex-shrink: 0;
}

.more-link {
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 0;
    white-space: nowrap;
}

.more-link a:hover {
    color: #b5282e;
}

/* 默认样式适用于大屏（宽度大于1200px） */
.service-center {
    width: 100%;
}

.service-btn {
    padding: 5px 10px;
    font-size: clamp(14px, 1.6vw, 18px);
}

/* 保持按钮间隔和对齐 */
.service-center>div {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

/* 当页面宽度小于768px时，隐藏按钮区域 */
@media (max-width: 768px) {

    /* 隐藏按钮区域 */
    .service-btn-container {
        display: none !important;
    }


    /* 保证更多链接显示 */
    .more-link3 {
        display: block !important;
    }
}

/* 当页面宽度大于1200px时保持原有布局 */
@media (min-width: 1200px) {

    /* 显示按钮区域 */
    .service-btn-container {
        display: flex !important;
    }

    /* 保证更多链接正常显示 */
    .more-link3 {
        display: block !important;
    }
}

.more-link3 {
    text-align: right;
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    float: right;
    padding: 10px 0;
    flex: 1;
    margin-left: auto;
}

.more-link3 a:hover {
    color: #b5282e;
}

.swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 !important;
    box-sizing: border-box;
}

.swiper-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.swiper-slide {
    width: 330px !important;
    /* 固定宽度为330px */
    box-sizing: border-box;
    margin: 0;
}

.carousel-container {
    position: relative;
    width: 580px;
    /* 你可以根据右侧宽度调整 */
    height: 390px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 0;
    margin: 0;
}

.carousel-slides li {
    list-style: none;
    min-width: 100%;
    position: relative;
}

.carousel-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 15px 12px;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease, transform 0.3s ease;
    /* 加入 transform 动画 */
}

.carousel-caption:hover {
    color: #8AC0FF;
    /* 字体淡蓝色 */
}

.carousel-dots {
    position: absolute;
    bottom: 18px;
    right: 15px;
    display: flex;
    gap: 6px;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
}

.carousel-dots span.active {
    opacity: 1;
    background: #fff;
}

/* 外层容器：左右布局 + 自动换行 */
.section1-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* 左右间距 */
    padding: 25px 0;
}

/* 左边轮播图区域 */
.section1-carousel {
    flex: 1 1 30%;
    min-width: 300px;
}

/* 右边分栏区域 */
.section1-sidebar {
    flex: 1 1 35%;
    min-width: 280px;
}

/* 响应式：页面放大到一定程度时改为上下布局 */
@media screen and (max-width: 1200px) {
    .section1-wrapper {
        flex-direction: column;
    }

    .section1-carousel,
    .section1-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.new-list ul li {
    width: 100%;
    /* 确保 li 有宽度 */
    box-sizing: border-box;
}

.new-list ul li a {
    display: block;
    font-size: 16px;
    color: #000;
    line-height: 48px;
    padding-left: 12px;
    padding-right: 120px;
    /* 给日期预留空间 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    /* 让日期绝对定位 */
}

.news-date {
    position: absolute;
    right: 12px;
    top: 0;
    line-height: 48px;
    /* 保持和 a 标签一致 */
    float: right;
    font-size: 0.9em;
    margin-left: 15px;
}

.tab-content {
    display: none;
    padding: 5px 0;
}

.tab-content.active {
    display: block;
}

.service-tab-content {
    display: none;
    padding: 5px 0;
}

.service-tab-content.active {
    display: block;
}

.svg-hover {
    transition: all 0.3s ease;
    overflow: visible;
}

.svg-hover:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.hover-area {
    cursor: pointer;
}

.hover-area:hover {
    /* stroke: gold; */
    stroke-width: 2;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3列 */
    column-gap: 115px;
    /* 列间距 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.imgWrap {
    background-image: url(../images/s2-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    position: relative;
    line-height: 1.93;
    /* 基础行高 */
    font-size: 16px;
    color: #000;
}

.news-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px dashed #dddddd;
}

.news-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.news-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg {
    font-size: 18px;
    color: #111;
    margin-left: 20px;
    flex: 1;
    /* 使标题区域占据剩余空间 */
    min-width: 200px;
    /* 防止标题区域过窄 */
    overflow: hidden;
    /* 防止内容溢出 */
    text-overflow: ellipsis;
    /* 超出显示省略号 */
    white-space: nowrap;
    /* 防止文字换行 */
}

.msg a {
    color: #111;
    transition: color 0.3s ease;
    font-size: clamp(14px, 1.6vw, 18px);
    /* 响应式字体大小 */
    text-decoration: none;
    display: block;
}

.news-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.news-tab {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dddddd;
}

.tab-header {
    text-align: center;
    cursor: pointer;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    padding: 0 15px;
    /* 保持原有 padding */
    line-height: 43px;
    /* 保持原有 line-height */
    display: inline-block;
    /* 保证文字居中 */
    vertical-align: middle;
    /* 保证垂直居中 */
}

.tab-header.active {
    color: #004993;
    background-color: #f0f5ff;
    /* 不修改 line-height，避免文字上移 */
    border-radius: 4px 4px 4px 4px;
}


.spacer {
    width: auto;
}

.more-link {
    text-align: right;
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    float: right;
    padding: 10px 0;
    flex: 1;
}

.more-link a:hover {
    color: #b5282e;
}

.more-link2 {
    text-align: right;
    color: #8c8c8c;
    font-size: 18px;
    font-weight: 400;
    float: right;
    padding: 50px 0 0 0;
    flex: 1;
    position: absolute;
    /* 绝对定位 */
    right: 0;
    /* 固定在右侧 */
    top: 50%;
    /* 垂直居中 */
    transform: translateY(-66%);
    /* 精确垂直居中 */
    white-space: nowrap;
    /* 防止文字换行 */
}

.more-link2 a:hover {
    color: #b5282e;
}

.news-content {
    padding: 5px 0;
}

.divider {
    position: relative;
    margin: 20px 0;
    text-align: center;
}

.divider-line {
    border: 3px solid dash #dddddd;
}

.divider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 10px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    line-height: 1.5;
}

.news-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.dot-icon::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #1890ff;
    border-radius: 50%;
    margin-right: 10px;
}

.news-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.hot-new {
    display: flex;
    gap: 10px;
}

.new-switch {
    min-width: 0;
}

.news {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.slideBox {
    height: 100%;
}

.zxtz-layout .msg {
    height: 30px;
    /* 显示一个标题高度 */
    overflow: hidden;
    position: relative;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

.scroll-container a {
    display: block;
    line-height: 30px;
    color: #111;
    text-decoration: none;
}

.scroll-container:hover {
    animation-play-state: paused;
}