﻿/* ============================================
   新余市公安局渝水分局 - 政务门户样式
   配色：深蓝#004494 + 中国红#d62728
   风格：扁平化政府站，庄重严谨
   ============================================ */

/* ========== CSS变量 ========== */
:root {
    --primary-blue: #004494;
    --primary-blue-dark: #003366;
    --primary-blue-light: #1a5fb4;
    --accent-red: #d62728;
    --bg-white: #ffffff;
    --bg-gray: #f5f6f7;
    --bg-body: #eef2f6;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    --text-white: #ffffff;
    --border-color: #e8e8e8;
    --border-light: #f0f0f0;
}

/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-body);
    line-height: 1.7;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 68, 148, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 68, 148, 0.5);
}
a { color: var(--text-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-red); }
img { max-width: 100%; vertical-align: middle; border: 0; }
ul { list-style: none; }
.container { width: 80%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ========== 顶部信息条 (已移除，仅保留样式作备用) ========== */
.top-info {
    display: none;
}

/* ========== 顶部功能条 (日期 + 天气) ========== */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.top-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--primary-blue-dark);
    font-size: 13px;
    font-weight: 500;
}
.top-date {
    margin-right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.top-date .date-icon {
    font-size: 14px;
}
.top-weather {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 1px solid rgba(0, 51, 102, 0.2);
}
.weather-scroll-box {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.weather-scroll-content {
    display: inline-block;
    white-space: nowrap;
    animation: scrollWeather 30s linear infinite;
}
.weather-scroll-content:hover {
    animation-play-state: paused;
}
.weather-scroll-content span {
    margin-right: 50px;
    display: inline-block;
}
@keyframes scrollWeather {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== Logo 区 ========== */
.logo-header {
    position: relative;
    width: 100%;
}
.logo-header::before {
    content: '';
    display: block;
    padding-top: 17.5%; /* 假设图片更偏向这种比例，尝试让高度大一些，确保底部显示 */
}
.logo-header .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center; /* 关键：优先显示底部内容，如果裁切也只裁切顶部或两边 */
    z-index: 0;
}
.logo-header .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 1;
}
.logo-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 2; 
}
.logo-container-inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 20px; }
.emblem { width: 90px; height: 90px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; }
.emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.2)); }
.title-area { border-left: 2px solid var(--accent-red); padding-left: 20px; }
.main-title { font-size: 38px; font-weight: bold; color: var(--accent-red); line-height: 1.2; text-shadow: 2px 2px 4px rgba(255,255,255,0.9); letter-spacing: 2px; }
.main-title .sub-name { font-size: 26px; color: var(--primary-blue-dark); margin-left: 10px; font-weight: bold; text-shadow: 1px 1px 3px rgba(255,255,255,0.9); }
.sub-title { font-size: 13px; color: var(--primary-blue-dark); letter-spacing: 1px; margin-top: 8px; font-weight: bold; text-shadow: 1px 1px 2px rgba(255,255,255,0.9); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* ========== 搜索框 (已移除) ========== */
.header-search { display: none; }

/* ========== 主导航栏 ========== */
.main-nav {
    background: var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-top: -60px; /* 向上移动20px，缩减头部视觉高度 */
    box-shadow: 0 4px 12px rgba(0, 40, 80, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.main-nav::before { content: ''; display: block; height: 3px; background: linear-gradient(to right, var(--accent-red), var(--accent-red), #ff4d4d, var(--accent-red)); }

.main-nav.is-fixed {
    background: var(--primary-blue-dark); /* 滚动固定时颜色加深 */
    box-shadow: 0 8px 24px rgba(0, 40, 80, 0.12);
}

.nav-inner { display: flex; align-items: stretch; }
.nav-list { display: flex; justify-content: space-between; flex: 1; width: 100%; margin: 0 auto; padding: 0; }
.nav-list > li { flex: 1; position: relative; }
.nav-list > li > a { display: block; padding: 14px 8px; color: var(--text-white); font-size: 16px; text-align: center; font-weight: 500; border-right: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.nav-list > li:last-child > a { border-right: none; }
.nav-list > li > a:hover, .nav-list > li.active > a, .nav-list > li.open > a { background: var(--accent-red); color: white; }
.has-submenu > a::after { content: ''; display: inline-block; margin-left: 8px; width: 6px; height: 6px; border-right: 1.5px solid rgba(255,255,255,0.8); border-bottom: 1.5px solid rgba(255,255,255,0.8); transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.has-submenu:hover > a::after, .has-submenu.open > a::after { transform: rotate(225deg) translateY(-1px); }
.nav-submenu { position: absolute; top: 100%; left: 0; min-width: 100%; background: rgba(0, 51, 102, 0.96); box-shadow: 0 12px 24px rgba(0, 40, 80, 0.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s; z-index: 120; }
.nav-submenu li a { display: block; padding: 10px 16px; color: #eaf2ff; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; white-space: nowrap; }
.nav-submenu li:last-child a { border-bottom: none; }
.nav-submenu li a:hover { background: rgba(214, 39, 40, 0.95); color: #fff; }
.has-submenu:hover .nav-submenu, .has-submenu.open .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-tools { display: flex; align-items: center; position: relative; padding-left: 10px; }
.nav-search-toggle { width: 54px; border: none; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s; }
.nav-search-toggle:hover, .nav-search-toggle.active { background: rgba(255,255,255,0.08); }
.nav-search-toggle svg { width: 22px; height: 22px; display: block; }
.nav-search-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; padding: 12px; background: rgba(0, 51, 102, 0.97); border-radius: 8px; box-shadow: 0 12px 24px rgba(0, 40, 80, 0.22); display: flex; gap: 8px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s; z-index: 130; }
.nav-search-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-search-panel input { flex: 1; height: 36px; border: none; border-radius: 4px; padding: 0 12px; outline: none; font-size: 14px; }
.nav-search-panel button { height: 36px; padding: 0 16px; border: none; border-radius: 4px; background: var(--accent-red); color: #fff; cursor: pointer; font-size: 14px; }
.nav-search-panel button:hover { background: #bf1e1f; }
.nav-search-status { position: absolute; left: 12px; bottom: -24px; color: #d9e7ff; font-size: 12px; white-space: nowrap; }
.search-hit { color: var(--accent-red) !important; font-weight: bold; }

/* ========== Banner 轮播图区 ========== */
.banner-section { padding: 20px 0; background: transparent; }
.banner-wrapper { display: flex; gap: 20px; align-items: stretch; height: 440px; }

/* 轮播图 */
.banner-slider { width: 45%; height: 100%; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 40, 80, 0.08); position: relative; background: #000; flex-shrink: 0; }
.swiper-container { width: 100%; height: 100%; position: relative; }
.swiper-wrapper { width: 100%; height: 100%; position: relative; }
.swiper-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease; }
.swiper-slide.active { opacity: 1; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 80px 30px 25px; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 60%, transparent); color: white; }
.slide-caption h3 { font-size: 24px; font-weight: bold; letter-spacing: 2px; margin-bottom: 5px; }
.slide-caption p { font-size: 13px; opacity: 0.9; }

/* 指示器 - 右下角圆形+数字，当前展开文字 */
.swiper-indicators { position: absolute; bottom: 20px; right: 20px; z-index: 10; display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.swiper-indicator { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 16px; background: rgba(0, 0, 0, 0.6); color: rgba(255,255,255,0.8); cursor: pointer; transition: all 0.3s ease; overflow: hidden; }
.swiper-indicator:hover { background: rgba(0, 0, 0, 0.9); color: white; }
.swiper-indicator.active { width: auto; padding: 0 16px; background: var(--accent-red); color: white; }
.swiper-indicator .ind-num { font-size: 14px; font-weight: bold; font-family: Georgia, serif; font-style: italic; flex-shrink: 0; }
.swiper-indicator .ind-text { font-size: 14px; white-space: nowrap; max-width: 0; opacity: 0; overflow: hidden; transition: all 0.3s ease; margin-left: 0; }
.swiper-indicator.active .ind-text { max-width: 300px; opacity: 1; margin-left: 8px; }

/* 左右控制按钮 */
.swiper-button-prev, .swiper-button-next { position: absolute; top: 45%; transform: translateY(-50%); width: 40px; height: 50px; background: rgba(0,0,0,0.3); border: none; cursor: pointer; z-index: 11; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; transition: all 0.3s; }
.swiper-button-prev { left: 0; border-radius: 0 4px 4px 0; }
.swiper-button-next { right: 0; border-radius: 16px 0 0 4px; }
.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--accent-red); }

/* 右侧新闻公告 */
.banner-news {
    flex: 1;
    min-width: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-tabs { display: flex; background: #fff; }
.news-tabs span { flex: 1; padding: 12px; text-align: center; color: var(--text-gray); font-size: 14px; cursor: pointer; transition: all 0.2s; background: transparent; }
.news-tabs span:first-child { border-right: 1px solid var(--border-color); }
.news-tabs span.active { background: linear-gradient(180deg, #fffdf8 0%, #fdf2de 100%); color: var(--primary-blue-dark); font-weight: bold; box-shadow: none; }
.banner-news .news-list { flex: 1; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.banner-news .news-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
.banner-news .news-list li {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px dashed var(--border-light);
    font-size: 14px;
}
.banner-news .news-list li:hover { background: var(--bg-gray); }
.banner-news .news-list li .tag { background: var(--accent-red); color: white; padding: 2px 8px; font-size: 11px; margin-right: 10px; border-radius: 16px; flex-shrink: 0; }
.banner-news .news-list li.important a { color: var(--accent-red); font-weight: bold; }
.banner-news .news-list li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dark); }
.banner-news .news-list li a:hover { color: var(--accent-red); }
.banner-news .news-list li .date { color: var(--text-light); font-size: 12px; margin-left: 10px; flex-shrink: 0; font-family: Arial, sans-serif; }
.banner-news .more-link { display: block; padding: 12px; text-align: center; color: var(--text-gray); font-size: 13px; border-top: 1px solid var(--border-color); background: var(--bg-gray); }
.banner-news .more-link:hover { color: var(--accent-red); background: #fff; }

/* ========== 主体内容区 ========== */
.main-content { padding: 30px 0 0; background: transparent; }
.section-block { padding: 20px 0; background: transparent; }
.section-bg-gray { background: transparent; }

/* ========== 模块通用样式 ========== */
.module-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 0 0 20px;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.module-title {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid var(--primary-blue);
    margin-bottom: 20px;
    background: var(--bg-white);
}
.module-title h3 { font-size: 18px; color: var(--primary-blue); font-weight: bold; }
.more-link { margin-left: auto; font-size: 13px; color: var(--text-gray); padding: 0 10px; }
.more-link:hover { color: var(--accent-red); }

/* ========== 布局 ========== */
.layout-2col { display: grid; grid-template-columns: 1fr 400px; gap: 20px; }
.layout-2col-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col-main { flex: 1; }
.col-side { width: 400px; }
.col-equal { flex: 1; }

/* ========== 新闻列表 ========== */
.news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px dashed var(--border-light);
    font-size: 14px;
}
.news-list li:last-child { border-bottom: none; }
.news-list li a { color: var(--text-dark); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.news-list li a:hover { color: var(--accent-red); }
.news-list li a .dot { width: 5px; height: 5px; background: var(--primary-blue); border-radius: 50%; flex-shrink: 0; }
.news-list li .date { color: var(--text-light); font-size: 12px; margin-left: 15px; flex-shrink: 0; font-family: Arial, sans-serif; }

/* ========== NEW 角标 ========== */
.icon-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff4d4d, #d62728);
    color: #fff;
    font-size: 11px;
    font-style: italic;
    font-weight: bold;
    padding: 0 5px;
    border-radius: 4px 4px 4px 0;
    margin-left: 8px;
    line-height: 16px;
    height: 16px;
    vertical-align: middle;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(214, 39, 40, 0.3);
    flex-shrink: 0;
}

/* ========== 3列布局 ========== */
.layout-3col-equal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ========== 优雅文字模块 ========== */
.section-3col-text { padding: 10px 0 30px; }
.text-module {
    padding: 20px 25px;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
    height: 100%;
    overflow: hidden;
}
.text-module:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.module-title-elegant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.module-title-elegant h3 {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}
.elegant-news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 14px;
}
.elegant-news-list li:last-child {
    border-bottom: none;
}
.elegant-news-list li a {
    color: var(--text-dark);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    padding-left: 14px;
    transition: all 0.2s;
}
.elegant-news-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 50%;
    transition: all 0.2s;
}
.elegant-news-list li a:hover {
    color: var(--accent-red);
    padding-left: 18px;
}
.elegant-news-list li a:hover::before {
    width: 6px;
    height: 6px;
}
.elegant-news-list li .date {
    color: var(--text-light);
    font-size: 12px;
    margin-left: 15px;
    flex-shrink: 0;
    font-family: Arial, sans-serif;
}

/* ========== 公安要闻 ========== */
.news-focus { padding: 0 20px 20px; margin-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
.news-focus-img { position: relative; height: 220px; overflow: hidden; margin-bottom: 15px; border-radius: 16px; }
.news-focus-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-focus-img:hover img { transform: scale(1.05); }
.news-tag { position: absolute; top: 0; left: 0; background: var(--accent-red); color: white; padding: 5px 12px; font-size: 13px; font-weight: bold; }
.news-focus-title { font-size: 18px; line-height: 1.5; margin-bottom: 10px; font-weight: bold; }
.news-focus-title a { color: var(--text-dark); }
.news-focus-title a:hover { color: var(--accent-red); }
.news-focus-desc { color: var(--text-gray); font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.news-meta { display: flex; justify-content: space-between; color: var(--text-light); font-size: 12px; }

/* ========== 每日值班 ========== */
.col-side { display: flex; flex-direction: column; gap: 20px; }
.col-side .module-box { height: auto; flex-shrink: 0; }
.duty-board { padding: 0 20px; }
.duty-date-slider { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.slider-btn { background: none; border: none; font-size: 24px; color: var(--primary-blue); cursor: pointer; padding: 0 10px; transition: color 0.3s; }
.slider-btn:hover { color: var(--accent-red); }
.duty-date { flex: 1; text-align: center; padding: 15px; background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light)); color: white; border-radius: 12px; margin: 0 10px; transition: opacity 0.3s; }
.duty-date .day { font-size: 48px; font-weight: bold; line-height: 1; display: block; }
.duty-date .month { font-size: 13px; display: block; margin-top: 5px; opacity: 0.9; }
.duty-date .week { font-size: 13px; display: block; margin-top: 2px; opacity: 0.9; }
.duty-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.duty-table th { background: var(--bg-gray); color: var(--primary-blue); padding: 8px; text-align: left; font-weight: bold; border-bottom: 2px solid var(--primary-blue); }
.duty-table td { padding: 8px; border-bottom: 1px dashed var(--border-light); color: var(--text-normal); transition: background 0.3s; }
.duty-table tr:hover td { background: var(--bg-gray); }

/* ========== 内部登录 ========== */
.login-box {
    background: var(--bg-white);
    height: auto;
}
.login-form { padding: 0 20px 20px; }
.form-group { margin-bottom: 15px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form-control:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 68, 148, 0.1); }
.form-actions { display: flex; gap: 15px; }
.btn-login, .btn-reset { flex: 1; padding: 12px; border-radius: 6px; font-size: 16px; font-weight: bold; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; }
.btn-login { background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue)); color: white; border: none; box-shadow: 0 4px 10px rgba(0, 68, 148, 0.2); }
.btn-login:hover { background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)); box-shadow: 0 6px 15px rgba(0, 68, 148, 0.3); transform: translateY(-2px); }
.btn-reset { background: var(--bg-white); color: var(--text-normal); border: 1px solid var(--border-color); }
.btn-reset:hover { border-color: var(--primary-blue); color: var(--primary-blue); background: var(--bg-gray); transform: translateY(-2px); }

/* ========== 通知通报 ========== */
.title-tabs { display: flex; gap: 5px; margin-left: 20px; }
.title-tabs li { padding: 4px 12px; font-size: 13px; color: var(--text-gray); cursor: pointer; border-radius: 16px; transition: all 0.2s; }
.title-tabs li:hover, .title-tabs li.active { background: var(--bg-gray); color: var(--primary-blue); }
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.notice-item { display: flex; gap: 15px; padding: 20px; border-bottom: 1px dashed var(--border-color); border-right: 1px dashed var(--border-color); position: relative; }
.notice-item:nth-child(2n) { border-right: none; }
.notice-item:last-child, .notice-item:nth-last-child(2) { border-bottom: none; }
.notice-date { width: 70px; height: 70px; background: var(--bg-gray); border: 1px solid var(--border-color); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.notice-item:hover .notice-date { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }
.notice-date .day { font-size: 28px; font-weight: bold; color: var(--primary-blue); line-height: 1; }
.notice-date .month { font-size: 12px; color: var(--text-gray); margin-top: 4px; }
.notice-item:hover .notice-date .day, .notice-item:hover .notice-date .month { color: white; }
.notice-content { flex: 1; }
.notice-content h4 { font-size: 15px; font-weight: bold; margin-bottom: 6px; }
.notice-content h4 a { color: var(--text-dark); }
.notice-content h4 a:hover { color: var(--accent-red); }
.notice-content p { color: var(--text-gray); font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.notice-meta { display: flex; justify-content: space-between; color: var(--text-light); font-size: 12px; }
.notice-item .tag { position: absolute; top: 20px; right: 20px; padding: 2px 8px; font-size: 11px; border-radius: 16px; color: white; }
.tag-red { background: var(--accent-red); }
.notice-item.important h4 a { color: var(--accent-red); }

/* ========== 专题专栏 ========== */
.topic-container { overflow: hidden; padding: 10px 20px 0; }
.topic-track { display: flex; width: max-content; gap: 15px; animation: topicScroll 24s linear infinite; }
.topic-container:hover .topic-track { animation-play-state: paused; }
.topic-group { display: flex; gap: 15px; }
@keyframes topicScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7.5px)); }
}
.topic-item { width: 220px; flex-shrink: 0; display: block; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.topic-item:hover { border-color: var(--primary-blue); box-shadow: 0 8px 24px rgba(0, 40, 80, 0.08); transform: translateY(-3px); }
.topic-img { height: 120px; overflow: hidden; }
.topic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.topic-item:hover .topic-img img { transform: scale(1.1); }
.topic-name { padding: 10px; text-align: center; background: var(--bg-gray); color: var(--text-dark); font-weight: bold; font-size: 15px; transition: all 0.2s; }
.topic-item:hover .topic-name { background: var(--primary-blue); color: white; }
/* ========== 领导讲话 ========== */
.leader-section { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 0 20px; }
.leader-info { text-align: center; }
.leader-photo { width: 120px; height: 150px; margin: 0 auto 12px; border: 2px solid var(--primary-blue); background: var(--bg-gray); display: flex; align-items: center; justify-content: center; }
.photo-placeholder { color: var(--text-light); font-size: 13px; text-align: center; line-height: 1.4; }
.leader-info h4 { font-size: 18px; color: var(--accent-red); font-weight: bold; margin-bottom: 5px; }
.leader-info p { color: var(--text-gray); font-size: 13px; }
.leader-speeches .news-list { border-top: none; }

/* ========== 分局简报/部门动态 ========== */
.branch-tabs { padding: 0 20px; margin-bottom: 10px; }
.branch-tab-list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.branch-tab-list li { padding: 4px 12px; background: var(--bg-gray); color: var(--text-gray); font-size: 13px; cursor: pointer; border-radius: 12px; transition: all 0.2s; }
.branch-tab-list li:hover, .branch-tab-list li.active { background: var(--primary-blue); color: white; }
.service-panel { padding: 18px 20px 20px; }
.service-panel-window { overflow: hidden; }
.service-panel-track { display: flex; transition: transform 0.35s ease; }
.service-panel-page { min-width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-content: start; }
.service-mini-item { height: 118px; min-height: 118px; align-self: start; border: 1px solid #dbe2ea; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 8px; transition: all 0.2s; }
.service-mini-item:hover { border-color: #bfd0e3; box-shadow: 0 6px 18px rgba(0, 40, 80, 0.06); transform: translateY(-2px); }
.service-mini-icon { color: var(--primary-blue); display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.service-mini-icon svg { width: 30px; height: 30px; display: block; }
.service-mini-text { color: var(--text-dark); font-size: 15px; font-weight: bold; line-height: 1.2; text-align: center; letter-spacing: 0; }
.service-panel-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.service-panel-dot { width: 10px; height: 10px; border: none; border-radius: 50%; background: #c9d3df; cursor: pointer; transition: all 0.2s; padding: 0; }
.service-panel-dot.active { width: 26px; border-radius: 99px; background: var(--primary-blue); }

/* ========== 法治园地 ========== */
.law-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px; background: var(--bg-gray); margin: 0 20px; border-radius: 16px; }
.law-icon-item { text-align: center; transition: all 0.2s; }
.law-icon-item:hover { transform: translateY(-3px); }
.icon-circle { width: 50px; height: 50px; margin: 0 auto 5px; background: white; border: 2px solid var(--primary-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: all 0.2s; }
.law-icon-item:hover .icon-circle { background: var(--primary-blue); transform: rotate(360deg); }
.law-icon-item p { font-size: 12px; color: var(--text-gray); }

/* ========== 荣誉汇编 ========== */
.honor-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px; background: var(--bg-gray); margin: 0 20px 15px; border-radius: 16px; border-top: 2px solid var(--accent-red); }
.stat-item { text-align: center; padding: 8px; }
.stat-num { display: block; font-size: 28px; font-weight: bold; color: var(--accent-red); font-family: Arial, sans-serif; line-height: 1; }
.stat-label { display: block; font-size: 12px; color: var(--text-gray); margin-top: 5px; }

/* ========== 警营文化 ========== */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 20px; margin-bottom: 20px; }
.culture-item { border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.culture-item:hover { border-color: var(--primary-blue); box-shadow: 0 8px 24px rgba(0, 40, 80, 0.08); transform: translateY(-3px); }
.culture-item img { width: 100%; height: 160px; object-fit: cover; }
.culture-item h4 { padding: 12px 15px 5px; font-size: 15px; color: var(--text-dark); }
.culture-item:hover h4 { color: var(--accent-red); }
.culture-item p { padding: 0 15px 12px; color: var(--text-gray); font-size: 13px; line-height: 1.5; }

/* ========== 网站导航 ========== */
.sitemap-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; padding: 0 20px; }
.sitemap-col { background: var(--bg-white); border: 1px solid var(--border-color); border-top: 3px solid var(--primary-blue); padding: 15px; }
.sitemap-title { font-size: 15px; color: var(--primary-blue); font-weight: bold; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--border-color); text-align: center; }
.sitemap-list li { padding: 5px 0; border-bottom: 1px dashed var(--border-light); }
.sitemap-list li:last-child { border-bottom: none; }
.sitemap-list li a { display: block; padding-left: 10px; color: var(--text-gray); font-size: 13px; position: relative; }
.sitemap-list li a::before { content: '›'; position: absolute; left: 0; color: var(--primary-blue); }
.sitemap-list li a:hover { color: var(--accent-red); padding-left: 14px; }

/* ========== 服务中心 ========== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 0 20px; }
.service-item { background: var(--bg-white); border: 1px solid var(--border-color); border-top: 3px solid var(--primary-blue); border-radius: 16px; padding: 25px 10px; text-align: center; transition: all 0.3s; display: block; }
.service-item:hover { border-top-color: var(--accent-red); box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-5px); }
.service-icon { width: 50px; height: 50px; margin: 0 auto 12px; background: var(--bg-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.3s; }
.service-item:hover .service-icon { background: var(--primary-blue); transform: rotate(360deg); }
.service-item h4 { font-size: 14px; color: var(--text-dark); margin-bottom: 5px; font-weight: bold; }
.service-item:hover h4 { color: var(--primary-blue); }
.service-item p { font-size: 12px; color: var(--text-gray); }

/* ========== 综合应用 ========== */
.app-shortcut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 20px; }
.app-shortcut-item { min-height: 118px; border: 1px solid #dbe2ea; border-radius: 14px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 8px; transition: all 0.2s; }
.app-shortcut-item:hover { border-color: #bfd0e3; box-shadow: 0 6px 18px rgba(0, 40, 80, 0.06); transform: translateY(-2px); }
.app-shortcut-icon { color: var(--primary-blue); display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.app-shortcut-icon svg { width: 30px; height: 30px; display: block; }
.app-shortcut-text { color: var(--text-dark); font-size: 15px; font-weight: bold; line-height: 1.2; text-align: center; }

/* ========== 图片横幅 ========== */
.img-banner { position: relative; aspect-ratio: 21 / 5; max-height: 280px; overflow: hidden; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.img-banner img { width: 100%; height: 100%; object-fit: cover; }
.img-banner-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 60px; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); color: white; text-align: center; }
.img-banner-text h3 { font-size: 36px; letter-spacing: 6px; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.img-banner-text p { font-size: 16px; letter-spacing: 3px; opacity: 0.95; }

/* ========== 底部页脚 ========== */
.footer { background: var(--primary-blue); color: white; padding: 24px 0 0; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-col h4 { font-size: 16px; font-weight: bold; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer-col p { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.8; }
.footer-contact { color: rgba(255,255,255,0.85); font-size: 13px; }
.footer-contact li { padding: 5px 0; }
.footer-links li { padding: 5px 0; }
.footer-links li a { color: rgba(255,255,255,0.85); font-size: 13px; }
.footer-links li a:hover { color: white; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.8); font-size: 12px; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ========== 返回顶部 ========== */
.back-to-top { position: fixed; right: 30px; bottom: 50px; width: 50px; height: 50px; background: var(--primary-blue); color: white; border: none; border-radius: 16px; font-size: 22px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 99; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-red); transform: translateY(-3px); }

/* ========== 响应式 ========== */
@media (max-width: 1280px) {
    .service-grid { grid-template-columns: repeat(4, 1fr); }
    .sitemap-grid { grid-template-columns: repeat(3, 1fr); }
    .topic-item { width: 200px; }
    .banner-wrapper { height: 400px; }
    .banner-slider { width: 45%; }
    .footer-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
    .logo-header .container { flex-direction: column; gap: 20px; }
    .nav-inner { flex-wrap: wrap; }
    .nav-list { flex-wrap: wrap; min-width: 0; }
    .nav-list > li { flex: none; width: 20%; }
    .nav-tools { width: 100%; justify-content: flex-end; padding: 8px 0 10px; }
    .nav-search-panel { width: 100%; top: calc(100% + 4px); }
    .banner-wrapper { flex-direction: column; height: auto; }
    .banner-slider { width: 100%; aspect-ratio: 16 / 9; height: auto; }
    .banner-news { height: 350px; }
    .layout-2col { grid-template-columns: 1fr; }
    .layout-2col-equal { grid-template-columns: 1fr; }
    .layout-3col-equal { grid-template-columns: 1fr; }
    .notice-grid { grid-template-columns: 1fr; }
    .notice-item { border-right: none; }
    .culture-grid { grid-template-columns: 1fr; }
    .leader-section { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .topic-item { width: 180px; }
    .service-mini-item { height: 108px; min-height: 108px; }
}
@media (max-width: 768px) {
    .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; }
    .main-title { font-size: 24px; }
    .nav-list > li { width: 25%; }
    .banner-slider { aspect-ratio: 16 / 9; height: auto; }
    .banner-news { height: 350px; }
    .img-banner { aspect-ratio: auto; height: 180px; }
    .footer-links-grid { grid-template-columns: 1fr; gap: 14px; }
    .topic-container { padding: 10px 15px 0; }
    .topic-item { width: 160px; }
    .service-panel { padding: 16px 15px 18px; }
    .service-panel-page { gap: 10px; }
    .service-mini-item { height: 94px; min-height: 94px; padding: 12px 6px; gap: 8px; }
    .service-mini-icon svg { width: 24px; height: 24px; }
    .service-mini-text { font-size: 14px; }
    .app-shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 15px 18px; }
    .app-shortcut-item { min-height: 94px; padding: 12px 6px; gap: 8px; }
    .app-shortcut-icon svg { width: 24px; height: 24px; }
    .app-shortcut-text { font-size: 14px; }
}

/* ========== 内页布局 (列表/详情) ========== */
.page-layout { display: flex; gap: 30px; padding: 40px 20px; min-height: 600px; }
.page-sidebar { width: 260px; flex-shrink: 0; }
.page-main { flex: 1; min-width: 0; background: var(--bg-white); padding: 30px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 40, 80, 0.05); }

/* 左侧菜单 */
.sidebar-menu { background: var(--bg-gray); border-radius: 16px; overflow: hidden; }
.sidebar-title { background: var(--primary-blue); color: var(--text-white); padding: 18px 20px; font-size: 18px; text-align: center; font-weight: bold; letter-spacing: 1px; }
.sidebar-menu ul { list-style: none; }
.sidebar-menu li a { display: block; padding: 16px 20px; border-bottom: 1px solid var(--border-color); color: var(--text-dark); transition: all 0.3s; font-size: 15px; }
.sidebar-menu li:last-child a { border-bottom: none; }
.sidebar-menu li.active a, .sidebar-menu li a:hover { background: var(--bg-white); color: var(--primary-blue); border-left: 4px solid var(--primary-blue); padding-left: 16px; font-weight: bold; }

/* 面包屑导航 */
.breadcrumb { font-size: 14px; color: var(--text-gray); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
.breadcrumb a { color: var(--text-dark); }
.breadcrumb a:hover { color: var(--primary-blue); }
.breadcrumb span { color: var(--primary-blue); font-weight: bold; }

/* 列表页样式 */
.page-news-list li { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--border-light); }
.page-news-list li a { flex: 1; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 20px; display: flex; align-items: center; }
.page-news-list li .date { color: var(--text-light); width: 90px; text-align: right; }
.page-news-list li:hover a { color: var(--primary-blue); transform: translateX(5px); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-dark); transition: all 0.3s; }
.pagination a:hover, .pagination .active { background: var(--primary-blue); color: var(--text-white); border-color: var(--primary-blue); box-shadow: 0 4px 12px rgba(0, 68, 148, 0.2); }
.pagination .disabled { color: var(--text-light); cursor: not-allowed; background: var(--bg-gray); }

/* 详情页样式 */
.article-detail { padding: 10px 20px 40px; }
.article-title { font-size: 28px; color: var(--text-dark); text-align: center; margin-bottom: 20px; line-height: 1.4; }
.article-meta { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: center; gap: 30px; }
.article-content { font-size: 16px; color: #333; line-height: 2; text-align: justify; }
.article-content p { margin-bottom: 20px; text-indent: 2em; }
.article-content img { display: block; margin: 20px auto; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 40px; }
.article-content li { margin-bottom: 10px; }
.article-action-bar { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; }
.receipt-trigger { min-width: 108px; height: 38px; padding: 0 18px; border: 1px solid #cbd4df; background: #f5f7fa; color: #35506d; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.receipt-trigger:hover { background: #edf2f7; border-color: #b7c4d3; }
.receipt-modal { position: fixed; inset: 0; background: rgba(15, 27, 45, 0.35); display: none; align-items: center; justify-content: center; z-index: 1200; padding: 20px; }
.receipt-modal.show { display: flex; }
.receipt-dialog { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 14px; padding: 28px 26px 24px; box-shadow: 0 18px 48px rgba(0, 33, 71, 0.16); }
.receipt-dialog h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 10px; }
.receipt-dialog-desc { font-size: 13px; color: var(--text-gray); line-height: 1.8; margin-bottom: 18px; }
.receipt-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: none; background: transparent; color: #6b7c92; font-size: 24px; cursor: pointer; }
.receipt-form input { width: 100%; height: 42px; border: 1px solid #d6dce5; border-radius: 8px; padding: 0 14px; font-size: 14px; margin-bottom: 12px; outline: none; }
.receipt-form input:focus { border-color: #9fb5cc; box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.08); }
.receipt-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.receipt-cancel, .receipt-confirm { min-width: 88px; height: 38px; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.receipt-cancel { border: 1px solid #d6dce5; background: #fff; color: #5b6c7f; }
.receipt-confirm { border: 1px solid #bfc9d6; background: #eef2f6; color: #35506d; }
.receipt-cancel:hover { border-color: #b9c4d3; color: #35506d; }
.receipt-confirm:hover { background: #e5ebf2; border-color: #aebbc9; }
.receipt-status { min-height: 20px; margin-top: 12px; font-size: 13px; color: #59718b; }
.side-floating-banner { position: fixed; top: 50%; transform: translateY(-50%); width: 110px; z-index: 1100; }
.side-floating-left { left: 12px; }
.side-floating-right { right: 12px; }
.side-floating-link { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 28, 63, 0.16); background: #fff; }
.side-floating-link img { display: block; width: 100%; height: auto; }
.side-floating-close { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: none; border-radius: 50%; background: rgba(23, 42, 68, 0.72); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; z-index: 2; }
.side-floating-close:hover { background: rgba(23, 42, 68, 0.9); }

::selection { background: var(--primary-blue); color: white; }
/* ========== 底部网站导航 ========== */
.footer-links-section { background: transparent; padding: 0 0 16px; border-top: none; border-bottom: none; }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.footer-select-box select {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 18px;
    font-size: 15px;
    color: #4d596a;
    background: #fff;
    border: 1px solid #d6dce5;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M3.5 6L8 10.5L12.5 6' stroke='%23939dad' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}
.footer-select-box select:hover, .footer-select-box select:focus { border-color: #b9c4d3; box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.08); }
@media (max-width: 1500px) {
    .side-floating-banner { width: 90px; }
}
@media (max-width: 1280px) {
    .side-floating-banner { display: none; }
}
