﻿

@font-face { font-family: 'Noto Sans SC'; font-style: normal; font-weight: 500; font-display: swap; src: url(font.ttf) format('truetype'); }
/* 方案1：经典政务红 */
:root { 
    /* CSS变量定义 - 用于统一管理颜色和效果 */
    --gov-primary-color: #cc0000; /* 主色调 */
    --gov-secondary-color: #a30000; /* 辅助色 */
    --gov-accent-color: #d4af37; /* 强调色 */
    --gov-light-color: #fef7f7; /* 浅色背景 */
    --gov-text-color: #333333; /* 主要文字颜色 */
    --gov-border-color: #e8d4d6; /* 边框颜色 */
    --gov-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 通用阴影 */
    --gov-transition: all 0.3s ease; /* 过渡动画 */
    
    /* ZYUI 兼容变量 - 同步设置 */
    --gov-zy-primary: #cc0000;
    --gov-zy-primary-dark: #a30000;
    --gov-zy-primary-light: #fef7f7;
    --gov-zy-primary-rgb: 204, 0, 0;
    
    /* 同时设置全局主题色（如果其他地方用了） */
    --gov-global-primary-color: #cc0000;
}

/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; }

/* 主体样式 */
body { background-color: #f9f9f9; color: var(--gov-text-color); line-height: 1.6; }

/* 链接通用样式 */
a { text-decoration: none; color: #333; transition: var(--gov-transition); }

a:hover { color: var(--gov-primary-color); }

/* 列表样式重置 */
ul { list-style: none; }

/* 主容器 - 限制最大宽度并居中 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 顶部头部区域 */
.header {  background: linear-gradient(135deg, var(--gov-primary-color) 0%, var(--gov-secondary-color) 100%); color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: relative; }

/* 头部装饰性斜角效果 */
.header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>'); background-size: cover; }

/* 顶部工具栏 - 包含日期和快捷链接 */
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); position: relative; z-index: 1; }

/* 顶部链接组 */
.top-links a { margin-left: 15px; color: rgba(255, 255, 255, 0.9); }
.top-links a:hover { color: white; }

/* Logo区域布局 */
.logo-area { display: flex; align-items: center; padding: 25px 0; position: relative; z-index: 1; }

/* Logo样式 - 圆形徽标设计 */
.logo { height: 110px; width: 110px; background-color: white; display: flex; align-items: center; justify-content: center; color: var(--gov-primary-color); font-weight: bold; margin-right: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); font-size: 18px; position: relative; overflow: hidden; }

/* Logo闪光动画效果 */
.logo::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent); transform: rotate(45deg); animation: shine 3s infinite; }

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }

    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }

}

/* 网站标题 */
.site-title { font-family: "Noto Serif SC",serif, "Microsoft YaHei"; font-weight: 900; font-size: 55px;  color: white; letter-spacing: 1px; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); cursor: pointer; }

/* 网站副标题 */
.site-subtitle { font-size: 22px; color: rgba(255, 255, 255, 0.9); letter-spacing: 1px; margin-top: -10px; cursor: pointer; }

/* 搜索框样式 */
.search-container { margin-left: auto; display: flex; align-items: center; position: relative; max-width: 300px; width: 100%; }
.search-box { display: flex; background: rgba(255, 255, 255, 0.9); border-radius: 10px; padding: 8px 15px; width: 100%; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transition: var(--gov-transition); }
.search-box:focus-within { background: white; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.search-input { border: none; background: transparent; outline: none; width: 100%; padding: 8px 10px; font-size: 16px; color: #333; }
.search-input::placeholder { color: #888; }
.search-button { background: var(--gov-primary-color); border: none; border-radius: 5px; width: 68px; height: 36px; display: flex; align-items: center; justify-content: center; color: white; cursor: pointer; transition: var(--gov-transition); }
.search-button:hover { background: var(--gov-secondary-color); transform: scale(1.05); }

/* 主导航栏 */
.main-nav { background-color: var(--gov-primary-color); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: relative; }

/* 导航列表布局 */
.nav-list { display: flex; }

/* 导航项 */
.nav-item { position: relative; }
.nav-item:first-child a:first-child { padding-left: 40px; padding-right: 40px; }

/* 导航链接样式 */
.nav-link { cursor: pointer; display: block; align-items: center; width: 155px; padding: 18px 0px; text-align: center; color: white; font-size: 18px; font-weight: 500; transition: var(--gov-transition); position: relative; white-space: nowrap; }
.nav-link:hover,
.nav-link.active { background-color: rgba(255, 255, 255, 0.15); color: white; }
.nav-link:hover { font-size: 20px; padding: 16px 0px; color: #f6ea04; }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background-color: white; }

/* 下拉菜单图标 */
.dropdown-icon { font-size: 12px; transition: transform 0.3s ease; }

/* 下拉菜单容器 */
.dropdown-menu { position: absolute; top: 100%; left: 0; width: 155px; background: white; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 1000; overflow: hidden; pointer-events: none; /* 防止鼠标事件 */ }

/* 鼠标悬停时显示下拉菜单 */
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; /* 恢复鼠标事件 */ }
.dropdown:hover .dropdown-icon { transform: rotate(180deg); }

/* 下拉菜单项 */
.dropdown-item { display: block; color: #333; font-size: 16px; text-align: center; padding: 12px 0px; text-decoration: none; transition: all 0.3s ease; border-bottom: 1px solid #f5f5f5; }
.dropdown-item:last-child { border-bottom: none; }

/* 下拉菜单项悬停效果 */
.dropdown-item:hover { background: var(--gov-primary-color); color: white; padding-left: 25px; }

/* 下拉菜单箭头 */
.dropdown-menu::before { content: ''; position: absolute; top: -6px; left: 20px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid white; }

/* 平滑过渡动画 */
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }

    to { opacity: 1; transform: translateY(0); }

}

/* 为下拉菜单项添加延迟动画 */
.dropdown-item { opacity: 0; transform: translateX(-10px); animation: slideInRight 0.3s ease forwards; }
.dropdown:hover .dropdown-item:nth-child(1) { animation-delay: 0.1s; }
.dropdown:hover .dropdown-item:nth-child(2) { animation-delay: 0.2s; }
.dropdown:hover .dropdown-item:nth-child(3) { animation-delay: 0.3s; }
.dropdown:hover .dropdown-item:nth-child(4) { animation-delay: 0.4s; }
.dropdown:hover .dropdown-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }

}

/* 幻灯片和新闻区域布局 */
.slider-news-section { display: flex; margin: 30px 0; gap: 25px; border-radius: 8px; box-shadow: var(--gov-shadow); padding: 20px; background: #fff; }

/* 幻灯片容器 */
.slider-container { width: 50%; position: relative; height: 370px; overflow: hidden; border-radius: 15px; box-shadow: var(--gov-shadow); cursor: pointer; /* 整个幻灯片区域可点击 */ }

/* 单张幻灯片 */
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; border-radius: 15px; }
.slide.active { opacity: 1; }

/* 幻灯片内容区域 */
.slide-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); color: white; padding: 25px; border-radius: 0 0 15px 15px; transition: var(--gov-transition); }

/* 鼠标悬停时幻灯片效果变化 */
.slider-container:hover .slide-content { background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); }
.slider-container:hover .slide-title { color: #fff; font-weight: 500; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.slider-container:hover .slide-desc { color: #fff; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }

/* 幻灯片标题 */
.slide-title { font-size: 22px; margin-bottom: 8px; font-weight: 500; }

/* 幻灯片描述 */
.slide-desc { font-size: 16px; opacity: 0.9; }

/* 幻灯片控制按钮容器 */
.slider-controls { position: absolute; bottom: 20px; right: 20px; display: flex; }

/* 幻灯片控制点 */
.slider-btn { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); margin-left: 10px; cursor: pointer; transition: var(--gov-transition); }
.slider-btn.active { background: white; transform: scale(1.2); }

/* 左右切换箭头：默认隐藏，鼠标经过幻灯片时淡入 */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; padding: 0; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer; opacity: 0; transition: var(--gov-transition); z-index: 5; /* 压在圆点/内容之上 */ }
.slider-arrow:hover { background: rgba(0, 0, 0, 0.6); }
.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }
.slider-container:hover .slider-arrow { opacity: 1; }
/* 关键：hover 出箭头 */

/* 触屏没有 hover，箭头常驻淡显 */
@media (hover: none) {
    .slider-arrow { opacity: 0.85; }
}



/* 新闻容器 */
.news-container { flex: 1; overflow: hidden; height: 370px; display: flex; flex-direction: column; }

/* 头条新闻区域 */
.headline-news { padding: 20px; }

/* 头条新闻标题 */
.headline-title { font-size: 25px; font-weight: bold; line-height: 1.4; color: var(--gov-primary-color); text-align: center; }
.headline-title a { color: var(--gov-primary-color); }
.headline-title a:hover { color: var(--gov-primary-color); font-size: 28px; }

/* 新闻标签切换栏 */
.news-tabs { display: flex; border-bottom: 1px solid #eaeaea; background-color: #f8f8f8; }

/* 单个新闻标签 */
.news-tab { flex: 1; text-align: center; padding: 12px 5px; font-size: 18px; font-weight: 500; cursor: pointer; border-bottom: 3px solid transparent; transition: var(--gov-transition); color: #666; background-color: #f8f8f8; font-weight: 500; }
.news-tab.active { color: var(--gov-primary-color); border-bottom: 3px solid var(--gov-primary-color); background-color: #fff; font-weight: 500; }
.news-tab:hover { background-color: #f0f0f0; color: var(--gov-primary-color); font-size: 19px; }

/* 新闻内容区域 */
.news-content { display: none; padding: 20px; flex: 1; overflow: hidden; }
.news-content.active { display: block; }

/* 通用列表样式 (u-e可能是unordered list enhanced的缩写) */
.u-e li { padding: 10px 15px; border-bottom: 1px dashed #eaeaea; display: flex; justify-content: space-between; align-items: center; transition: var(--gov-transition); }
.u-e li:hover { background-color: #f9f9f9; padding-left: 8px; border-radius: 4px; }
.u-e li:hover a { color: var(--gov-primary-color); }
.u-e li:last-child { border-bottom: none; }

/* 列表链接样式 - 带箭头指示器 */
.u-e li a { flex: 1; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; font-weight: 500; color: #333; position: relative; padding-left: 15px; /* 为箭头留出空间 */ }
.u-e li a::before { content: '»'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--gov-primary-color); font-size: 14px; font-weight: bold; }
.u-e li span { color: #888; font-size: 14px; min-width: 40px; text-align: right; }

/* 政务公开和领导分工区域布局 */
.gov-leader-section { display: flex; margin: 30px 0; gap: 25px; }

/* 政务公开容器 */
.gov-container { flex: 2; background-color: #fff; border-radius: 8px; box-shadow: var(--gov-shadow); overflow: hidden; border: 1px solid #eaeaea; }

/* 领导分工容器 */
.leader-container { flex: 1; background-color: #fff; border-radius: 8px; box-shadow: var(--gov-shadow); overflow: hidden; border: 1px solid #eaeaea; }

/* 区块标题样式 */

.block-title{background:var(--gov-secondary-color);background:linear-gradient(135deg,var(--gov-primary-color)0%,var(--gov-secondary-color)100%);color:#fff;padding:15px 20px;font-size:18px;font-weight:500;display:flex;justify-content:space-between;align-items:center;justify-content:flex-start;}
.block-title i{margin-left:5px;transition:var(--gov-transition);}

/* 更多链接样式 */
.block-title{background:var(--gov-secondary-color);background:linear-gradient(135deg,var(--gov-primary-color)0%,var(--gov-secondary-color)100%);color:#fff;padding:15px 20px;font-size:18px;font-weight:500;display:flex;justify-content:space-between;align-items:center;justify-content:flex-start;}
.more-link{color:#fff;font-size:14px;font-weight:normal;display:flex;align-items:center;margin-left:auto;}
.more-link i{margin-left:5px;transition:var(--gov-transition);}
.more-link:hover i{color:#faff09}
.more-link:hover{transform:translateX(3px);color:#faff09}

/* 区块内容区域 */
.block-content { padding: 0; display: flex; height: 400px; }

/* 政务公开左侧标签栏 */
.gov-tabs { display: flex; flex-direction: column; border-right: 1px solid #eaeaea; width: 160px; flex-shrink: 0; }

/* 政务标签项 */
.gov-tab { padding: 15px 20px; font-size: 16px; cursor: pointer; border-bottom: 1px solid #eaeaea; transition: var(--gov-transition); color: #666; display: flex; align-items: center; }
.gov-tab i { margin-right: 10px; width: 20px; text-align: center; }
.gov-tab.active { color: var(--gov-primary-color); background-color: #f9f9f9; border-right: 4px solid var(--gov-primary-color); font-weight: 500; }
.gov-tab:hover { background-color: #f0f0f0; color: var(--gov-primary-color); padding-left: 8px; }

/* 政务内容区域 */
.gov-content { display: none; padding: 20px; flex: 1; overflow-y: auto; }
.gov-content.active { display: block; }

/* 领导分工内容区域 */
.leader-content { padding: 20px; height: 400px; overflow-y: auto; }

/* 主要领导展示区域 */
.leader-main { display: flex; padding: 15px 20px; border-bottom: 1px solid #eaeaea; margin-bottom: 10px; background: #f9f9f9; border-radius: 8px; }

/* 领导照片占位符 */
.leader-photo { width: 90px; height: 110px; background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); margin-right: 20px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #666; font-size: 14px; text-align: center; border: 1px solid #e0e0e0; cursor: pointer; }
.leader-photo {width: 90px; height: 110px; }

/* 领导信息区域 */
.leader-info { flex: 1; cursor: pointer; }
.leader-info :hover { color: var(--gov-primary-color); }

/* 领导姓名 */
.leader-name { font-weight: 500; font-size: 18px; margin-bottom: 8px; color: #333; }

/* 领导职位 */
.leader-position { font-size: 16px; color: #666; }

/* 领导列表布局 */
.leader-list { display: flex; flex-wrap: wrap; gap: 0; }

/* 领导列表项 */
.leader-item{width:100%;margin:5px 0;padding:7px 15px;border:1px dashed #eaeaea;display:flex;justify-content:center;align-items:center;transition:var(--gov-transition);box-sizing:border-box;font-weight:500;font-size:16px;color:#333;background-color:#f8f8f8;border-radius:4px;cursor:pointer;}
.leader-item:nth-child(even){background-color:#f9f9f9;}
.leader-item:hover{background-color:#fff5f5;color:var(--gov-primary-color);padding-left:18px;border-radius:4px;}

/* 图说风采区域 */
.gallery-section { margin: 30px 0; background-color: #fff; border-radius: 8px; box-shadow: var(--gov-shadow); overflow: hidden; border: 1px solid #eaeaea; }

/* 画廊容器 */
.gallery-container { position: relative; overflow: hidden; height: 280px; padding: 20px; margin: 0 20px; }

/* 画廊滚动轨道 */
.gallery-track { display: flex; height: 100%; animation: scrollGallery 40s linear infinite; }

/* 鼠标悬停时暂停滚动 */
.gallery-container:hover .gallery-track { animation-play-state: paused; }

/* 画廊单项 */
.gallery-item { width:320px;margin-right: 20px; flex: 0 0 25%; height: 100%; position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: var(--gov-transition); cursor: pointer; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); }

/* 画廊图片 */
.gallery-image { width: 100%; height: 100%; object-fit: cover; transition: var(--gov-transition); }
.gallery-item:hover .gallery-image { transform: scale(1.05); }

/* 画廊标题区域 */
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); color: white; padding: 15px; transition: var(--gov-transition); }
.gallery-item:hover .gallery-caption { transform: translateY(0); background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); }

/* 画廊标题 */
.gallery-title { font-size: 16px; font-weight: 500; margin-bottom: 5px; }

/* 画廊描述 */
.gallery-desc { font-size: 14px; line-height: 1.4; opacity: 0.9; }

/* 画廊滚动动画 */
@keyframes scrollGallery {
    0% { transform: translateX(0); }

    100% { transform: translateX(-100%); }

}

/* 政府信息公开链接区域 */
.gov-links-section { margin: 30px 0; background-color: #fff; border-radius: 8px; box-shadow: var(--gov-shadow); overflow: hidden; border: 1px solid #eaeaea; padding: 20px 10px; }
.gov-links-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gov-link { color: #fff; font-size: 18px; padding: 15px 20px; border-radius: 4px; transition: var(--gov-transition); background: var(--gov-secondary-color); background: linear-gradient(135deg, var(--gov-primary-color) 0%, var(--gov-secondary-color) 100%); border: 1px solid #eaeaea; text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; z-index: 1; }

/* 悬停效果增强 */
.gov-link:hover { color: #f6ea04; transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6); animation-play-state: paused; /* 悬停时暂停脉搏动画 */ }

/* 网站链接区域 */
.links-section { margin: 30px 0; background-color: #fff; border-radius: 8px; box-shadow: var(--gov-shadow); padding: 25px; border: 1px solid #eaeaea; }

/* 链接容器布局 */
.links-container { display: flex; gap: 25px; }

/* 链接分组 */
.link-group { flex: 1; }

/* 链接选择下拉框 */
.link-select { width: 100%; padding: 12px 15px; border: 1px solid #eaeaea; border-radius: 6px; background-color: #fff; font-size: 16px; color: var(--gov-text-color); cursor: pointer; transition: var(--gov-transition); appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; }
.link-select:hover { border-color: var(--gov-primary-color); box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1); }

/* 页脚区域 */
.footer { background: var(--gov-secondary-color); background: linear-gradient(135deg, var(--gov-primary-color) 0%, var(--gov-secondary-color) 100%); color: #fff; padding: 40px 0 30px; margin-top: 50px; }

/* 页脚链接布局 */
.footer-links { display: flex; justify-content: center; margin-bottom: 25px; }

/* 页脚链接 */
.footer-link { color: #fff; margin: 0 20px; font-size: 16px; transition: var(--gov-transition); }
.footer-link:hover { color: #f6f113; padding-left: 8px;  }

/* 版权信息 */
.copyright { text-align: center; padding-top: 25px; margin-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; color: #fff; line-height: 1.8; }
.copyright img { vertical-align: middle; }

/* 栏目页样式 - 与首页同宽 */
.category-container { background: #fff; border-radius: 8px; box-shadow: var(--gov-shadow); padding: 30px; margin: 30px auto;  max-width: 1200px; }

/* 面包屑导航 */
.breadcrumb { padding: 15px 0; margin-bottom: 25px; border-bottom: 1px solid var(--gov-border-color); font-size: 14px; color: #666; }
.breadcrumb a { color: #666; transition: var(--gov-transition); margin:0 5px;}
.breadcrumb a:hover { color: var(--gov-primary-color); }
.breadcrumb span { color: var(--gov-primary-color); font-weight: 500; margin: 0 5px; }

/* 左右布局 */
.category-layout { display: flex; gap: 30px; }

/* 左侧栏目列表 */
.category-sidebar { width: 250px; flex-shrink: 0; }
.sidebar-block { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); border: 1px solid var(--gov-border-color); }
.sidebar-title { background: var(--gov-secondary-color); background: linear-gradient(135deg, var(--gov-primary-color) 0%, var(--gov-secondary-color) 100%); color: white; padding: 15px 20px; font-size: 16px; font-weight: 600; border-radius: 8px 8px 0 0; }
.sidebar-title i { margin-right: 8px; }

/* 侧边栏菜单 */
.sidebar-menu { padding: 10px 0; }
.menu-item { border-bottom: 1px solid #f5f5f5; }
.menu-item:last-child { border-bottom: none; }
.menu-item a { display: flex; align-items: center; padding: 12px 20px; color: #666; transition: var(--gov-transition); text-decoration: none; }
.menu-item a:hover { background: var(--gov-light-color); color: var(--gov-primary-color); padding-left: 8px; }
.menu-item.active a { background: var(--gov-light-color); color: var(--gov-primary-color); border-right: 5px solid var(--gov-primary-color); }
.menu-item i { width: 20px; text-align: center; margin-right: 10px; font-size: 14px; }
.menu-count { margin-left: auto; background: var(--gov-primary-color); color: white; padding: 2px 8px; border-radius: 12px; font-size: 12px; min-width: 30px; text-align: center; }

/* 右侧内容区域 */
.category-content { flex: 1; min-width: 0; }

/* 内容列表 */
.content-list { margin-bottom: 20px; }
.content-item { display: flex; padding: 20px;  border-bottom: 1px solid #f0f0f0; transition: var(--gov-transition); gap: 20px; }
.content-item:hover { background: var(--gov-light-color); border-radius: 8px; transform: translateX(5px); }
.item-date { width: 70px; flex-shrink: 0; text-align: center; background: var(--gov-primary-color); color: white; border-radius: 8px; padding: 12px 8px; }
.date-day { display: block; font-size: 24px; font-weight: 700; line-height: 1; }
.date-month { display: block; font-size: 14px; margin-top: 5px; }
.item-info { flex: 1; }
.item-title { margin: 0 0 10px 0; font-size: 18px; line-height: 1.4; }
.item-title a { color: #333; text-decoration: none; transition: var(--gov-transition); }
.item-title a:hover { color: var(--gov-primary-color); }
.item-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-left: 10px; vertical-align: middle; }
.item-tag.new { background: #ff6b6b; color: white; }
.item-tag.hot { background: #ffa726; color: white; }
.item-desc { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-meta { display: flex; gap: 20px; font-size: 13px; color: #888; }
.meta-item { display: flex; align-items: center; gap: 5px; }
.meta-item i { font-size: 12px; }

/* 分页控件 */
/* 分页控件 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gov-border-color); font-size: 14px; }
.pagination span,
.pagination a { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--gov-border-color); border-radius: 6px; color: #666; font-size: 14px; transition: var(--gov-transition); text-decoration: none; min-height: 36px; min-width: 36px; justify-content: center; box-sizing: border-box; }
.pagination a:hover { border-color: var(--gov-primary-color); color: var(--gov-primary-color); background: var(--gov-light-color); }
.pagination .current { background: var(--gov-primary-color); color: white; border-color: var(--gov-primary-color); font-weight: 500; }
.pagination .disabled { color: #999; border-color: #e0e0e0; background-color: #f5f5f5; cursor: not-allowed; pointer-events: none; }
.pagination a:first-of-type:not(.page-jump),
.pagination span:first-of-type:not(.page-jump) { padding: 8px 16px; margin-right: 8px; }
.pagination span:first-child { border: none; background: none; color: #666; padding: 0 8px; min-width: auto; font-size: 13px; margin-right: 16px; }
.pagination .page-jump { width: 80px; padding: 8px 12px; border: 1px solid var(--gov-border-color); border-radius: 6px; font-size: 14px; text-align: center; margin-left: 16px; outline: none; transition: var(--gov-transition); }
.pagination .page-jump:focus { border-color: var(--gov-primary-color); box-shadow: 0 0 0 2px rgba(var(--gov-primary-color-rgb, 0, 123, 255), 0.1); }
.pagination span:not(.current):not(.disabled):not(:first-child) { border: none; background: none; color: #666; cursor: default; padding: 0 4px; min-width: auto; }

/* 新闻内容页样式 */
/* 新闻标题区域 */
.news-header {margin:30px auto;width:90%; padding-bottom: 20px; border-bottom: 4px solid var(--gov-primary-color); }
.news-title { font-size: 28px; font-weight: 600; line-height: 1.4; margin-bottom: 15px; text-align: center; color: var(--gov-primary-color); }
.news-info { text-align: center; font-size: 14px; color: #666; }
.info-item { margin: 0 15px; }

/* 新闻正文 */
.news-body {margin:30px auto;width:96%; font-size: 16px; color: #333; margin-bottom: 30px; }
.news-body p { margin-bottom: 20px; text-indent: 2em; }
.news-body strong { color: #333; font-weight: 600; }
.news-body div { box-sizing: border-box; margin: 0; padding: 0; }

/* 清除浮动和定位 */
.news-body div { float: none; position: static; display: block; }
.news-body a { color: var(--gov-primary-color); font-weight: bold; }
.news-body img { max-width: 100%; }

/* 方案1: 完全重置tbody样式 */
.news-body tbody { display: table-row-group !important; vertical-align: baseline !important; border-color: transparent !important; border-spacing: 0 !important; border-collapse: separate !important; }
.news-body tbody { all: initial; /* 重置所有样式 */ display: table-row-group; }
.news-body table { border-collapse: collapse !important; width: 100% !important; }
.news-body td,
.news-body th { border: 1px solid #ddd !important; padding: 8px !important; text-align: center !important; vertical-align: top !important; /* 改为顶部对齐 */ }
.news-body iframe { display:block;width：100%;}

/* 上一篇下一篇 */
.news-navigation { justify-content: space-between; margin: 30px 0; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #e9ecef; }
.news-nav-item { width:100%; }
.news-nav-item span { color: #666; font-size: 14px; }
.news-nav-item a { color: #333; text-decoration: none; margin-left: 5px; }
.news-nav-item a:hover { color: var(--gov-primary-color); font-size: 16px; }

/* 4K屏幕适配 - zoom方案 (3840px及以上) */
@media screen and (min-width: 1920px) {
    /* 整体缩放 - 使用zoom属性放大1.0倍 */
    body { zoom: 1.0; }

    /* 容器 - 增加最大宽度适应放大后的布局 */
    .container { max-width: 1560px; }

    /* 政务公开标签 - 增加宽度适应放大后的布局 */
    .gov-tabs { width: 260px; }

    /* 幻灯片容器 - 全宽显示，调整高度 */
    .slider-container { width: 680px; height: 430px; }

    /* 新闻容器 - 全宽显示，调整高度 */
    .news-container { height: 430px; }

    .category-container { max-width: 1560px; }

    .category-sidebar { width: 320px; }

}

/* 响应式设计 - 平板设备 */
@media (max-width: 1024px) {
    .slider-container { width: 500px; }

}

/* 响应式设计 - 小屏幕设备 (480px及以下) */
@media (max-width: 820px) {

    .logo { height: 90px; width: 90px; font-size: 14px; }

    /* 网站标题 */
    .site-title { font-size: 43px; }

    /* 网站副标题 */
    .site-subtitle { font-size: 18px; }

    .nav-item:first-child a:first-child { padding-left: 30px; padding-right: 30px; }

    .leader-item { width: 45%; }

    .slider-container { width: 300px; }

    .news-tab { padding: 12px 0px; }

}

/* 响应式设计 - 移动设备 (768px及以下) */
@media (max-width: 768px) {
    .logo-area { flex-wrap: wrap; }

    .search-container { margin-left: 0; margin-top: 15px; max-width: 100%; order: 3; }

    .logo { height: 100px; width: 100px; font-size: 14px; }

    /* 网站标题 */
    .site-title { font-size: 48px; }

    /* 网站副标题 */
    .site-subtitle { font-size: 20px; }

    /* 顶部链接 - 垂直排列 */
    .top-links a { display: block; width: 100%; }

    /* 主导航 - 换行显示 */
    .nav-list { flex-wrap: wrap; }

    /* 导航链接 - 调整内边距和字体大小 */
    .nav-link { padding: 18px 20px; font-size: 15px; }

    /* 幻灯片和新闻区域 - 垂直排列 */
    .slider-news-section { flex-direction: column; }

    /* 幻灯片容器 - 全宽显示，调整高度 */
    .slider-container { width: 100%; height: 300px; }

    /* 新闻容器 - 自适应高度 */
    .news-container { height: auto; }

    /* 幻灯片标题 - 调整字体大小 */
    .slide-title { font-size: 18px; }

    /* 政务公开和领导区域 - 垂直排列 */
    .gov-leader-section { flex-direction: column; }

    /* 区块内容 - 垂直排列，自适应高度 */
    .block-content { flex-direction: column; height: auto; }

    /* 政务公开标签 - 改为水平排列 */
    .gov-tabs { flex-direction: row; width: 100%; border-right: none; border-bottom: 1px solid #eaeaea; flex-wrap: wrap; }

    /* 政务公开标签项 - 等分宽度，居中对齐 */
    .gov-tab { flex: 1; min-width: 120px; text-align: center; border-right: 1px solid #eaeaea; border-bottom: none; }

    /* 激活的政务公开标签 - 底部边框高亮 */
    .gov-tab.active { border-right: none; border-bottom: 4px solid var(--gov-primary-color); }

    /* 网站链接容器 - 垂直排列 */
    .links-container { flex-direction: column; }

    /* 新闻标签 - 换行显示 */
    .news-tabs { flex-wrap: wrap; }

    /* 新闻标签项 - 每行显示3个 */
    .news-tab { flex: 1 0 33.333%; padding: 12px 5px; font-size: 15px; }

    /* 画廊项 - 每行显示2个 */
    .gallery-item { flex: 0 0 50%; }

    /* 领导项 - 调整宽度为46.5%以适应间距 */
    .leader-item { width: 46.5%; }

    /* 画廊容器 - 启用水平滚动 */
    .gallery-container { overflow-x: auto; }

    /* 画廊轨道 - 加快滚动速度 */
    .gallery-track { animation: scrollGallery 5s linear infinite; }

    .gov-tab { background-color: #f8f8f8; padding: 15px 30px; }

    .gov-tab i { display: none; }

    /*栏目页*/
    .category-container { padding: 20px; margin: 20px 15px; }

    .category-layout { flex-direction: column; gap: 20px; }

    .category-sidebar { width: 100%; }

    .content-item { flex-direction: column; gap: 15px; }

    .item-date { width: 60px; align-self: flex-start; }

    .item-meta { flex-wrap: wrap; gap: 10px; }

    .pagination { flex-wrap: wrap; gap: 5px; }

}

/* 响应式设计 - 小屏幕设备 (480px及以下) */
@media (max-width: 480px) {
    .search-box { padding: 6px 12px; }

    .search-input { font-size: 14px; }

    .search-button { width: 68px; height: 32px; }

    /* 画廊项 - 每行显示1个，全宽显示 */
    .gallery-item { flex: 0 0 100%; }

    /* Logo - 缩小尺寸适应小屏幕 */
    .logo { height: 80px; width: 80px; font-size: 14px; }

    /* 网站标题 */
    .site-title { font-size: 38px; }

    /* 网站副标题 */
    .site-subtitle { font-size: 16px; }

    .gov-tab i { display: none; }

    /*栏目页*/
    .category-container { padding: 15px; margin: 15px 10px; }

    .content-title { font-size: 20px; }

    .item-title { font-size: 16px; }

    .item-desc { font-size: 13px; }

    .page-link { padding: 8px 12px; font-size: 13px; }

}

/* 响应式设计 - 小屏幕设备 (393px及以下) */
@media (max-width: 393px) {
    .nav-item { width: 48%; text-align: center; }

    .nav-item a { padding: 13px 15px; }

    .nav-item:first-child a:first-child { padding: 13px 15px; }

}

/* 响应式设计 - 小屏幕设备 (393px及以下) */
@media (max-width: 375px) {
    /* 网站标题 */
    .site-title { font-size: 32px; }

    /* 网站副标题 */
    .site-subtitle { font-size: 14px; }

    .nav-item { width: 48%; text-align: center; }

    .nav-item a { padding: 13px 15px; }

    .nav-item:first-child a:first-child { padding: 13px 15px; }

}

/* 响应式设计 - 小屏幕设备 (393px及以下) */
@media (max-width: 360px) {
    /* 网站标题 */
    .site-title { font-size: 32px; }

    /* 网站副标题 */
    .site-subtitle { font-size: 14px; }

    .nav-item { width: 48%; text-align: center; }

    .nav-item a { padding: 13px 15px; }

    .nav-item:first-child a:first-child { padding: 13px 15px; }

}

/* 响应式设计 - 小屏幕设备 (393px及以下) */
@media (max-width: 280px) {
    .logo { height: 60px; width: 60px; font-size: 14px; }

    /* 网站标题 */
    .site-title { font-size: 20px; }

    /* 网站副标题 */
    .site-subtitle { display: none; }

    .nav-item { width: 48%; text-align: center; }

    .nav-item a { padding: 13px 15px; }

    .nav-item:first-child a:first-child { padding: 13px 15px; }

}

/* 确认弹窗框架样式 */
.confirm-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 9999; animation: fadeIn 0.3s ease; }
.confirm-modal { background: white; border-radius: 12px; width: 90%; max-width: 450px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; animation: slideUp 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; }

    to { opacity: 1; }

}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }

    to { transform: translateY(0); opacity: 1; }

}

/* 标题 */
.confirm-header { background: var(--gov-secondary-color); background: linear-gradient(135deg,var(--gov-primary-color)0%,var(--gov-secondary-color)100%); color: white; padding: 20px; text-align: center; }
.confirm-header i { font-size: 32px; display: inline-block; vertical-align: middle; }
.confirm-header h3 { margin: 0; font-size: 20px; font-weight: 600; display: inline-block; vertical-align: middle; margin-left: 10px; }

/* 内容 */
.confirm-body { padding: 30px 25px; text-align: center; font-size: 16px; line-height: 1.6; color: #444; border-bottom: 1px solid #eee; white-space: normal; word-wrap: break-word; word-break: break-word; }
.confirm-body p { margin: 0; white-space: normal; word-wrap: break-word; }

/* 底部 */
.confirm-footer { padding: 20px; display: flex; justify-content: center; gap: 15px; }

/* 按钮 */
.confirm-btn { padding: 12px 30px; border: none; border-radius: 6px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-width: 120px; }
.confirm-cancel { background: #f8f9fa; color: #495057; border: 1px solid #dee2e6; }
.confirm-cancel:hover { background: #e9ecef; color: #dc3545; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.confirm-ok { background: var(--gov-secondary-color); background: linear-gradient(135deg, var(--gov-primary-color) 0%, var(--gov-secondary-color) 100%); color: white; border: none; }
.confirm-ok:hover { background: linear-gradient(135deg, var(--gov-secondary-color) 0%, var(--gov-primary-color) 100%); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3); }
.confirm-btn i { margin: 0 5px; }

/* 响应式调整 */
@media (max-width: 480px) {
    .confirm-modal { width: 95%; }

    .confirm-body { padding: 20px 15px; font-size: 15px; }

    .confirm-footer { flex-direction: column; gap: 10px; }

    .confirm-btn { width: 100%; }

}

