/* 初始化 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


body {
    min-width: 1200px;
    background-color: #fff;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.main-header {
    width: 100%;
    height: 727px;
    position: relative;
}

/* Swiper 背景全屏 */
.headerSwiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.headerSwiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 顶部 Logo 和日期区域 */
.header-top-info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 98%;
}

.header-logo img {
    height: 80px;
    /* 根据实际 logo 大小调整 */
}

.header-date {
    text-align: right;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}

/* 底部导航栏容器 */
.header-navbar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 1400px;
}

/* 异形白色背景 */
.nav-white-bg {
    width: 1400px;
    /* 根据你提供的图片宽度比例调整 */
    height: 80px;
    margin: 0 auto;
    /* 关键：使用你提供的异形图片作为背景 */
    background: url('../img/navBlue.png') no-repeat center bottom;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: 0 5px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* 导航间距 */
    padding-top: 10px;
    /* 避开异形背景的弧度 */
}

.nav-item {
    text-decoration: none;
    color: #fff;
    /* color: #333; */
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    width: 135px;
    height: 65px;
    line-height: 65px;
    text-align: center;
    position: relative;
}

.nav-item>a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-item>a>img{
    margin-right: 8px;
    width: 27px;
    height: 25px;
}

/* 默认状态的蓝色横线（隐藏） */
.nav-item::after {
    content: "";
    position: absolute;
    bottom: 7px;
    /* 距离文字底部的距离 */
    left: 50%;
    /* 水平居中 */
    transform: translateX(-50%) scaleX(0);
    /* 居中并缩小到 0 */
    width: 120px;
    /* 横线的宽度，根据图片看大约是文字的一半 */
    height: 5px;
    /* 横线的厚度 */
    background-color: #fff;
    /* 蓝色 */
    border-radius: 3px;
    /* 圆角效果 */
    transition: transform 0.3s ease;
    /* 平滑展开动画 */
}

/* 鼠标悬浮时 和 处于激活状态时（文字变蓝） */
.nav-item:hover,
.nav-item.active {
    /* color: #215EE9; */
}

/* 鼠标悬浮时 和 处于激活状态时（横线显示） */
.nav-item:hover::after,
.nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
    /* 恢复到原始宽度 */
}

/* 侧边栏容器 */
.side-nav {
    width: 200px;
    background-color: #fff;
    border-top: 1px solid #eee;
    /* 顶部分割线 */
}

/* --- 二级菜单样式 --- */
.side-submenu {
    position: absolute;
    left: -30px;
    top: 70px;
    width: 180px;
    background-color: #fff;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* 鼠标悬浮一级菜单时，显示二级菜单 */
.has-submenu:hover .side-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    /* 回到原位 */
}

/* 二级菜单项样式 */
.side-submenu a {
    display: block;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    /* 二级菜单文字不加粗 */
    border-bottom: 1px solid #f5f5f5;
}

.side-submenu a:hover {
    background-color: #EEF4FF;
    color: #215EE9;
}

.side-submenu a:last-child {
    border-bottom: none;
}


/* ====================内容==================== */
.contentBox {
    width: 1200px;
    margin: 0 auto;
}

.headline-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.headline-bar {
    display: flex;
    align-items: center;
    background-color: #F7F7F7;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.headline-tag {
    width: 60px;
    height: 100%;
    background-color: #E6E6E6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #215EE9;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.headline-content {
    flex: 1;
    overflow: hidden;
    /* 必须隐藏溢出 */
    background-color: #F7F7F7;
    height: 70px;
    display: flex;
    align-items: center;
    position: relative;
}

.scroll-box {
    width: 100%;
    white-space: nowrap;
    /* 强制不换行 */
}

.scroll-text {
    display: inline-block;
    text-decoration: none;
    color: #215EE9;
    font-size: 26px;
    /* 根据需要调整字号 */
    font-weight: bold;

    /* 核心动画：名称 时间 匀速 无限循环 */
    animation: normal-marquee 15s linear infinite;
}

/* 鼠标悬停时暂停 */
.scroll-text:hover {
    animation-play-state: paused;
}

/* 定义动画：从右侧完全出来，到左侧完全消失 */
@keyframes normal-marquee {
    0% {
        transform: translateX(100%);
        /* 初始位置：在容器最右侧外面 */
    }

    100% {
        transform: translateX(-100%);
        /* 结束位置：在容器最左侧外面 */
    }
}

.news-module {
    width: 1200px;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
}

/* --- 左侧 Swiper --- */
.news-left {
    width: 580px;
    height: 420px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.newsSwiper {
    width: 100%;
    height: 100%;
}

.newsSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 20px;
    box-sizing: border-box;
    font-size: 16px;
    z-index: 10;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

/* 分页器靠右 */
.news-left .swiper-pagination {
    text-align: right;
    padding-right: 20px;
    bottom: 15px !important;
}

/* --- 右侧 Tab --- */
.news-right {
    width: 590px;
}

.tab-header {
    display: flex;
    background-color: #F4F7FB;
    height: 60px;
    align-items: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/* --- 1. 红色 NEWS 标签样式 --- */
.news-tag-red {
    background-color: #E60012;
    color: #fff;
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    margin-right: 15px;
    display: inline-block;
    flex-shrink: 0;
}

/* 标签右侧的小箭头效果 */
.news-tag-red::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 0;
    border-left: 10px solid #E60012;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* --- 2. 头条整体布局 --- */
.headline-item {
    padding: 10px 10px 10px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.headline-top {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.headline-title {
    font-size: 20px;
    /* 头条标题大字号 */
    font-weight: bold;
    color: #215EE9;
    /* 头条蓝色 */
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.headline-summary {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    margin: 0;
    padding-left: 5px;
    /* 限制显示两行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: justify;
}

.tab-item {
    width: 160px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

/* 选中状态：蓝色背景，白色文字 */
.tab-item.active {
    background-color: #215EE9;
    color: #fff;
}

/* 选中状态下的下箭头 */
.tab-item.active::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #215EE9;
}

.more-link {
    margin-left: auto;
    margin-right: 20px;
    color: #215EE9;
    font-style: italic;
    text-decoration: none;
    font-size: 14px;
}

/* 列表面板切换 */
.news-list-pane {
    display: none;
    padding-top: 10px;
}

.news-list-pane.active {
    display: block;
}

/* --- 新闻单项样式 --- */
.news-item {
    display: flex;
    align-items: center;
    padding: 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    cursor: pointer;
}

.date-box {
    width: 70px;
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}

.date-box .day {
    font-size: 18px;
    color: #215EE9;
    font-weight: bold;
    text-align: center;
}

.date-box .year {
    font-size: 14px;
    color: #ccc;
    text-align: center;
}

.news-item .title {
    flex: 1;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

/* --- 悬浮效果：背景变蓝，文字全变白 --- */
.news-item:hover {
    background-color: #215EE9;
}

.news-item:hover .day,
.news-item:hover .year,
.news-item:hover .title {
    color: #fff !important;
}

.video-carousel-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.video-slide-item {
    height: 200px;
    /* 根据实际需求调整高度 */
}

.video-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.video-card-inner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

/* --- 左上角“视频”标签 --- */
.video-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #215EE9;
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    z-index: 5;
    border-bottom-right-radius: 4px;
}

/* --- 悬浮遮罩层（初始隐藏） --- */
.video-hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(33, 94, 233, 0) 0%,
            rgba(33, 94, 233, 0.5) 50%,
            rgba(33, 94, 233, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

/* 播放按钮 */
.play-icon {
    font-size: 45px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: -20px;
}

/* 标题文字 */
.video-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* --- 鼠标悬浮触发状态 --- */
.video-card-inner:hover .video-hover-mask {
    opacity: 1;
}

/* 隐藏原本的视频标签，防止干扰文字 */
.video-card-inner:hover .video-tag {
    display: none;
}

.video-swiper-outer {
    position: relative;
    /* padding: 0 40px; */
}

.video-btn-prev,
.video-btn-next {
    color: #215EE9 !important;
    transition: all 0.3s;
}

.video-btn-prev {
    left: 0 !important;
}

.video-btn-next {
    right: 0 !important;
}

.video-btn-prev::after,
.video-btn-next::after {
    font-size: 24px !important;
    font-weight: bold;
}

.video-btn-prev:hover,
.video-btn-next:hover {
    transform: scale(1.2);
}


.gov-info-module {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 1200px;
}

/* --- 顶部大标题装饰 --- */
.gov-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background-image: url(../img/xian.png);
}

.gov-title-wrapper .line {
    flex: 1;
    height: 2px;
    /* background: linear-gradient(to right, rgba(33, 94, 233, 0), #215EE9, rgba(33, 94, 233, 0)); */
    /* 渐变线条 */
}

.gov-main-title {
    padding: 0 0 0 60px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.gov-main-title img {
    height: 40px;
    margin-right: 15px;
}

.gov-main-title span {
    color: #215EE9;
    /* “政务”两个字变蓝 */
}

/* --- 左右两栏布局 --- */
.gov-content-columns {
    display: flex;
    justify-content: space-between;
}

.gov-col {
    width: 580px;
}

.col-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.col-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    position: relative;
}

/* 标题下方的蓝色短线 */
.col-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #215EE9;
}

.gov-col .more-link {
    color: #215EE9;
    font-style: italic;
    font-size: 14px;
    text-decoration: none;
}

/* --- 特色 Banner 样式 --- */
.col-banner {
    width: 100%;
    height: 90px;
    border-radius: 6px;
    position: relative;
    padding: 20px 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    color: #fff;
    overflow: hidden;
}

.red-bg {
    background-image: url(../img/djgz.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    object-fit: cover;
}

.blue-bg {
    background-image: url(../img/llzs.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    object-fit: cover;
}

.col-banner em {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    width: 70%;
    margin: 0;
    font-style: italic;
}

.banner-more {
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.banner-more:hover {
    background: #fff;
    color: #333;
}

/* --- 蓝色方块列表 --- */
.square-dot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.square-dot-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 15px;
    line-height: 25px;
}

/* 绘制蓝色小方块 */
.square-dot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: #215EE9;
}

.square-dot-list a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.square-dot-list a:hover {
    color: #215EE9;
}

.grayBox {
    width: 100%;
    background-color: #F9F9F9;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.dept-section {
    margin-top: 40px;
}

/* 1. 证书卡片 */
.certificate-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.cert-card {
    width: 24%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. 职能描述文字 */
.dept-description {
    padding: 0 10px;
    margin-bottom: 40px;
}

.dept-description p {
    font-size: 16px;
    line-height: 2;
    color: #444;
    text-align: justify;
}

.dept-description p span {
    color: #215EE9;
    font-weight: bold;
}

/* 3. 部门图标导航 */
.dept-icon-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.dept-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dept-item img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.dept-item span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* 4. 合作伙伴滚动区域 */
.partner-section {
    display: flex;
    align-items: center;
    background: #F4F7FB;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.partner-label {
    width: 80px;
    font-size: 18px;
    font-weight: bold;
    color: #215EE9;
    line-height: 1.2;
    border-right: 2px solid #ddd;
    margin-right: 20px;
    z-index: 10;
    background: #F4F7FB;
    /* 防止滚动时遮盖 */
}

/* Swiper 容器 */
.partnerSwiper {
    flex: 1;
    overflow: hidden;
    /* 隐藏超出部分 */
    cursor: grab;
    /* 显示抓取手型 */
}

.partnerSwiper:active {
    cursor: grabbing;
    /* 按下时显示抓取中手型 */
}

/* 这里的样式保持和你之前的一致 */
.p-logo {
    width: auto !important;
    /* 宽度由内容图片决定 */
    background: #fff;
    padding: 10px 25px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.p-logo img {
    height: 40px;
    display: block;
    pointer-events: none;
    /* 防止图片被拖动导致干扰 */
}

/* ===========================脚============================ */
.main-footer {
    width: 100%;
    color: #fff;
}

/* 外层背景 100% 铺满 */
.footer-links-outer {
    width: 100%;
    background-color: #1459c0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 内层容器 1200px 居中 */
.links-content {
    width: 1200px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* 防止 Swiper 宽度溢出 */
}

.links-label {
    white-space: nowrap;
    font-weight: bold;
    color: #fff;
    margin-right: 20px;
    z-index: 10;
    /* 确保标题在最前 */
}

/* Swiper 实例 */
.footerLinksSwiper {
    flex: 1;
    height: 100%;
    cursor: grab;
}

.footerLinksSwiper:active {
    cursor: grabbing;
}

/* 单个链接滑块 */
.link-item {
    width: auto !important;
    /* 关键：宽度由文字长度决定 */
    display: flex;
    align-items: center;
}

.link-item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    white-space: nowrap;
    transition: opacity 0.3s;
    user-select: none;
    /* 防止拖拽时选中文字 */
}

.link-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- 版权信息外层（底色铺满） --- */
.footer-info-outer {
    width: 100%;
    background-color: #0d4ba8;
    /* 深蓝色 */
    padding: 20px 0;
}

.info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 徽章 */
.footer-logo-unit img {
    height: 85px;
}

/* 文字区域 */
.footer-text-area {
    flex: 1;
    text-align: center;
    padding: 0 50px;
}

.footer-text-area p {
    font-size: 13px;
    margin: 8px 0;
    line-height: 1.6;
    opacity: 0.8;
}

/* 二维码区域 */
.footer-qr-group {
    display: flex;
    gap: 30px;
}

.qr-box {
    text-align: center;
}

.qr-box img {
    width: 95px;
    height: 95px;
    background: #fff;
    padding: 3px;
    margin-bottom: 8px;
    display: block;
}

.qr-box span {
    font-size: 12px;
    opacity: 0.7;
}

.swiper-button-prev{
        margin-left: -60px;
}