/* 主体横幅 */
.hero-banner {
    height: 480px;
    background: url(../images/top_wzqh.png) no-repeat top center;
}

/* 栏目容器 */
.zyjs_wzqh {
    background-color: #f7f7f7;
    padding: 40px 0;
}

.zyjs_content {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zyjs_banner {
    width: 100%;
    height: 84px;
    margin-bottom: 20px;
    background: url(../images/zyjs_wzqh.png) no-repeat center center;
    background-size: 100% 100%;
    text-align: center;
}

.zyjs_banner h2 {
    font-size: 24px;
    color: #333;
    line-height: 84px;
}

/* ================= 3D 轮播图核心 ================= */
.carousel-wrapper {
    position: relative;
    width: 1200px;
    height: 531px;
    margin: 0 auto 30px auto;
    perspective: 1200px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
   
}

/* 轮播项基础 (图片 560x400) */
.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 500px;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    z-index: 1;
    transform-style: preserve-3d;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* ================= 三种状态变换 ================= */
.carousel-item.active {
    opacity: 1;
    z-index: 10;
    transform: translate(-50%, -50%) translate3d(0, 0, 0) rotateY(0deg);
}

.carousel-item.prev {
    opacity: 1;
    z-index: 5;
    transform: translate(-50%, -50%) translate3d(-55%, 0, -200px) rotateY(35deg);
    filter: brightness(0.6);
}

.carousel-item.next {
    opacity: 1;
    z-index: 5;
    transform: translate(-50%, -50%) translate3d(55%, 0, -200px) rotateY(-35deg);
    filter: brightness(0.6);
}

/* ================= 核心：红条（仅主图显示） ================= */
.red-bar {
    position: absolute;
    top: 0px;
    height: calc(100% + 0px);
    width: 60px;
    background-color: #b91d23;
    z-index: 5;
}

.red-bar.left {
    left: -60px;
}

/* 放在主图左侧外部 */
.red-bar.right {
    right: -60px;
}

/* 放在主图右侧外部 */

/* 🔥 未选中状态，彻底隐藏红条 */
.carousel-item:not(.active) .red-bar {
    display: none !important;
}

/* ================= 核心：底部半透明黑条 ================= */
/* 1. 侧边图黑条（正常宽度 100%） */
.bottom-bar {
    position: absolute;
    bottom: 11px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    padding: 0 10px;
    box-sizing: border-box;
}

.bottom-bar span {
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2. 主图黑条（加宽、最高层级、压住红条底部） */
.active-bar {
    left: -61px;
    width: calc(100% + 121px);
    z-index: 25;
}

/* ================= 左右导航箭头 ================= */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    /* 绝对顶层 */
    cursor: pointer;
}

.nav-arrow.prev {
    left: calc(50% - 380px);
}

.nav-arrow.next {
    right: calc(50% - 380px);
}

.nav-arrow:hover svg {
    stroke: #ffd700;
    transition: stroke 0.3s;
}

/* ================= 新闻列表 ================= */
.news-list {
    display: flex;
    justify-content: space-between;
    width: 1200px;
}

.news-list ul {
    list-style: none;
    width: 48%;
}

.news-list li {
	height: 50px;
    position: relative;
    padding: 15px 0 15px 20px;
    border-bottom: 1px dashed #b0b0b0;
    line-height: 1.6;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 25px;
    width: 6px;
    height: 6px;
    background-color: #cc1016;
}

.news-list a {
    color: #333;
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list a:hover {
    color: #b91d23;
}
/* ================= 工作要闻模块 ================= */
.gzyw_wzqh {
    background-color: #fff;
    padding: 40px 0 60px 0;
}

.gzyw_content {
    width: 1200px;
    margin: 0 auto;
}

/* --- 标题装饰 (复用前面中央精神的样式风格) --- */
.gzyw_content .title-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}
.gzyw_content .title-line {
    flex: 1;
    height: 4px;
    background: repeating-linear-gradient(45deg, #ccc, #ccc 4px, transparent 4px, transparent 8px);
}
.gzyw_content .title-center {
    border: 1px solid #b91d23;
    padding: 5px 40px;
    margin: 0 20px;
    text-align: center;
    position: relative;
    background: #fff;
}
.gzyw_content .title-center::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #b91d23;
}
.gzyw_content .title-center .stars {
    color: #b91d23;
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 5px;
}
.gzyw_content .title-center h2 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

/* --- 主体布局：左右分栏 --- */
.gzyw-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* --- 左侧轮播图 --- */
.gzyw-carousel-wrapper {
    position: relative;
    width: 580px;
    height: 360px;
    overflow: hidden;
}
.gzyw-carousel-wrapper .swiper-button-next,
.gzyw-carousel-wrapper .swiper-button-prev {
	width:60px;
	height: 60px;
}
.gzyw-carousel-wrapper .swiper-slide {
	position:relative;
}
.gzyw-carousel-wrapper .swiper-slide img{
	width: 100%;
	height: 100%
}
.gzyw-carousel-wrapper .swiper-slide p {
	width: 100%;
	height: 45px;
	line-height: 45px;
	color: #fff;
	text-align: center;
	position: absolute;
	bottom: 0;
	background: rgba(0,0,0,.6);
}
.gzyw-carousel-wrapper .swiper-button-next {
	right: 0;
	background: url(../images/wm_button_icon_left3.png) no-repeat;
	background-size: 100%;
}
.gzyw-carousel-wrapper .swiper-button-prev {
	left: 0;
	background: url(../images/wm_button_icon_left2.png) no-repeat;
	background-size: 100%;
}
/* 轮播图底部半透明黑条 */
.gzyw-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 15;
}
.gzyw-bottom-bar span {
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 半透明方块箭头 */
.gzyw-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background-color: rgba(185, 29, 35, 0.6); /* 半透明红色/黑色 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    cursor: pointer;
    transition: background-color 0.3s;
}
.gzyw-arrow:hover {
    background-color: rgba(185, 29, 35, 0.9);
}
.gzyw-prev { left: 0; }
.gzyw-next { right: 0; }

/* --- 右侧新闻列表 --- */
.gzyw-list {
    width: 600px;
    background-color: #f8f9fa; /* 浅灰底色 */
    padding: 20px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gzyw-list-item {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.gzyw-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.gzyw-list-item h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gzyw-list-item h3 a {
    color: #333;
    transition: color 0.3s;
}
.gzyw-list-item h3 a:hover {
    color: #b91d23;
}

.gzyw-list-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    /* 限制两行，超出显示省略号 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* --- 底部四大按钮 --- */
.gzyw-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.gzyw-btn {
    flex: 1;
	width: 280px;
    height: 80px;
}
.gzyw_banner {
    width: 100%;
    height: 84px;
    margin-bottom: 20px;
    background: url(../images/zyjs_wzqh.png) no-repeat center center;
    background-size: 100% 100%;
    text-align: center;
    line-height: 84px;
}
.gzyw_banner a{
    color: #000;
}
/* ================= 底部版权区域 ================= */
.site-footer {
    width: 100%;
    height: 200px; /* 根据实际背景图高度调整 */
    /* 🔥 替换为你实际的红色飘带背景图路径 */
    background: url('../images/wzqh_footer.png') no-repeat center center;
    background-size: 100% 100%;

    
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.footer-container {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 左侧图标区 --- */
.footer-left {
    display: flex;
    align-items: center;
    margin-right: 80px; /* 图标和右侧文字的间距 */
}

.footer-left .logo-sydw {
    height: 65px; /* 调整事业单位图标大小 */
    margin-right: 20px;
}

.footer-left .logo-zfwz {
    height: 45px; /* 调整找错图标大小 */
}

/* --- 右侧文字区 --- */
.footer-right {
    font-size: 14px;
    line-height: 1.8;
}

/* 第一行链接 */
.footer-links {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-links span {
    margin-right: 30px; /* 版权所有和后面链接的间距 */
}

.footer-links a {
    color: #fff;
    margin-right: 30px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8; /* 悬停微微变透明 */
    text-decoration: underline;
}

/* 下方信息文字 */
.footer-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9); /* 稍微降低一点纯度，显得更有质感 */
}

/* 警徽图标微调 (如果你有图片，用img标签代替) */
.police-icon {
    font-size: 14px;
    margin: 0 5px 0 10px;
    vertical-align: middle;
}