/* ============================================
   公共样式文件 - common.css
   包含：基础重置、公共组件、工具类
   ============================================ */

/* 字体定义 */
/* @font-face {
    font-family: 'SourceHanSerifCN';
    src: url('SourceHanSerifCN-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */
@font-face {
    font-family: 'CustomFont';
    src: local('Arial');
    unicode-range: U+0041-005A, U+0061-007A, U+0020-002F, U+003A-0040, U+005B-0060, U+007B-007E;
}

@font-face {
    font-family: 'CustomFont';
    src: url('SourceHanSerifCN-Regular.woff') format('woff');
    unicode-range: U+0030-0039, U+4E00-9FFF, U+3000-303F;
}

/* ============================================
   1. 基础样式重置
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    font-family: 'CustomFont', STSongti-SC, Microsoft YaHei, Simsun, SimHei, sans-serif;
    color: #333;
    line-height: 1.6;
}
button{
    font-family: 'CustomFont', STSongti-SC, Microsoft YaHei, Simsun, SimHei, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   2. 布局容器
   ============================================ */
.container {
    max-width: 1220px;
    margin: 0 auto;
}
/* 主要内容区域 */
.main-content {
    padding: 20px 0;
}
/* ============================================
   3. 顶部工具栏
   ============================================ */
.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 13px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: #999;
    transition: color 0.3s;
    text-decoration: none;
    color: #333333;
    font-size: 18px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-btn {
    display: inline-block;
    padding: 0 8px;
    background-color: #125B94;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 24px;
    line-height: 33px;
    border: none;
    cursor: pointer;
}

.top-bar-btn:hover {
    background-color: #0f4a7a;
    color: #fff;
}

/* 关怀版切换按钮特殊样式 */
.top-bar-btn.care-toggle {
    position: relative;
    line-height: 33px;
}

.top-bar-btn.care-toggle .toggle-text {
    display: inline-block;
}

/* 关怀模式激活时的按钮样式 */
body.care-mode .top-bar-btn.care-toggle {
    background-color: #ff6b35;
}

body.care-mode .top-bar-btn.care-toggle:hover {
    background-color: #ff5522;
}

/* ============================================
   4. 头部导航
   ============================================ */
.header {
    background: linear-gradient(180deg, rgba(49, 152, 233, 0.15) 0%, rgba(255, 255, 255, 0.15) 22%,rgba(255, 255, 255, 0.15) 100%);
    padding: 50px 0 0;
}

.header-content {
    flex-direction: column;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 100%;
    max-width: 457px;
    min-width: 100px;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.search-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.search-box {
    max-width: 912px;
    min-width: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 100px;
    padding: 8px 20px 8px 12px;
    box-sizing: border-box;
    height: 60px;
}

.search-box input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-box .search-icon-btn,
.search-box .search-btn {
    padding: 5px 8px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    margin-left: 5px;
}

/* .search-box .search-icon-btn:hover,
.search-box .search-btn:hover {
    opacity: 0.7;
} */

.search-box .search-icon-btn img,
.search-box .search-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.search-box .search-btn {
    margin-left: 8px;
    padding-left: 18px;
    border-left: 1px solid #e5e5e5;
}

/* ============================================
   5. 主导航菜单
   ============================================ */
.main-nav {
    background-color: #fff;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 30px;
}

.main-nav .container {
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu a {
    display: block;
    padding: 12px 0;
    color: #333333;
    text-align: center;
    transition: all 0.3s;
    font-size: 26px;
    position: relative;
}

.nav-menu a:hover {
    color: #115A94;
}

.nav-menu a.active {
    color: #115A94;
}

.nav-menu a.active::after,.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #115A94;
    border-radius: 2px 2px 0 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}
/* ============================================
   6. 公共组件样式
   ============================================ */

/* 内容块通用样式 */
.content-block {
    background-color: #fff;
    margin-bottom: 40px;
}

.block-header {
    padding: 20px 0;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 26px;
    color: #333333;
    line-height: 1;
    font-weight: bold;
}
.block-header h1,h2,h3,h4,h5,h6{
    font-size: 26px;
    color: #333333;
    font-weight: bold;
}
.block-header a{
    font-weight: bold;
}
.block-header a:hover{
    color: #115A94;
}

.block-content {
    font-size: 14px;
    padding: 20px 0 0;
}
.text16{
    font-size: 16px;
    color: #333333;
}
.text18{
    font-size: 18px;
    color: #333333;
}
.text20{
    font-size: 20px;
    color: #333333;
}
.text22{
    font-size: 22px;
    color: #333333;
}
/* 列表样式 */
.news-item-list,
.announcement-list,
.message-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item-list li,
.announcement-list li,
.message-list li {
    padding: 11px 0;
    transition: background-color 0.3s;
}

.news-item-list li:first-child,
.announcement-list li:first-child,
.message-list li:first-child{
    padding-top: 0;
}

.news-item-list li:last-child,
.announcement-list li:last-child,
.message-list li:last-child {
    padding-bottom: 0;
}

.news-item-list a,
.announcement-list a,
.message-list a {
    color: #333;
    font-size: 20px;
    line-height: 1.3;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.news-item-list a:hover,
.announcement-list a:hover,
.message-list a:hover {
    color: #115A94;
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* 更多链接 */
.more-link {
    display: block;
    align-items: center;
    color: #115A94;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.more-link span {
    margin-left: 5px;
}

/* 标签页按钮 */
.tab-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    color: #333;
    transition: color 0.3s;
    line-height: 1;
    font-weight: bold;
    /* font-family: 'SourceHanSerifCN',STSongti-SC, STSongti-SC, Microsoft YaHei, Simsun, SimHei, Arial; */
}

.tab-btn.active {
    color: #125B94;
}

/* ============================================
   7. 底部导航
   ============================================ */
.footer {
    color: #333;
    border-top: 1px solid #e5e5e5;
}

/* 默认显示桌面版底部，隐藏移动版底部 */
.desktop-footer {
    display: block;
}

.mobile-footer {
    display: none;
}

.footer-nav {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.footer-nav-links {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-nav-item-wrapper {
    position: relative;
    flex: 1;
}

.footer-nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border: 1px solid #D2D2D2;
    color: #333;
    font-size: 14px;
    position: relative;
    width: 100%;
    padding: 0 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #fff;
    z-index: 10;
}

.footer-nav-item:hover {
    color: #0066cc;
    border-color: #0066cc;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 10px;
    color: #333;
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-nav-item-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: #0066cc;
}

/* 下拉菜单样式 */
.footer-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #D2D2D2;
    border-bottom: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    z-index: 1000;
    margin-bottom: -1px;
    min-width: 100%;
}

.footer-nav-item-wrapper:hover .footer-dropdown-menu {
    display: block;
}

.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-list li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-list li:last-child {
    border-bottom: none;
}

.dropdown-list a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-list a:hover {
    background-color: #f5f5f5;
    color: #0066cc;
    /* padding-left: 20px; */
}

/* 下拉菜单滚动条样式 */
.footer-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.footer-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.footer-dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.footer-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.footer-bottom {
    padding: 30px 0;
    background-color: #fff;
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-left {
    flex: 1;
    display: flex;
    gap: 20px;
}

.footer-gov-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-gov-logo img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-links .divider {
    color: #ccc;
    margin: 0 5px;
}

.footer-info {
    color: #333;
    font-size: 14px;
    line-height: 2;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-license {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-license span {
    margin: 0;
}

.police-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.police-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 45px;
}

.footer-error-report {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.footer-error-report img {
    width: 106px;
}

.footer-social {
    display: flex;
    gap: 54px;
}

.social-icon-wrapper {
    position: relative;
}

.social-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.3s;
    overflow: visible;
    position: relative;
    cursor: pointer;
}

.social-icon .icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s;
}

.social-icon .qrcode-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 72px;
    height: 72px;
    max-width: 100px;
    object-fit: contain;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.social-icon .qrcode-image.show {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   8. 浮动助手
   ============================================ */
.floating-assistant {
    position: fixed;
    right: 30px;
    top: 510px;
    z-index: 1000;
    width: 302px;
    background: #e4f6ff;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
}

.assistant-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: #7F7F7F;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7F7F7F;
    border-radius: 50%;
    background: #fff;
}

.assistant-close:hover {
    color: #333;
}

.assistant-icon {
    max-width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -50px;
}

.assistant-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.assistant-content {
    flex: 1;
}

.assistant-title {
    font-size: 20px;
    color: #1A8BD5;
    margin-bottom: 4px;
    line-height: 1.4;
}

.assistant-desc {
    font-size: 16px;
    color: #7F7F7F;
    line-height: 1.2;
    margin-bottom: 0;
}

.floating-assistant.hidden {
    display: none;
}

/* ============================================
   9. 移动端导航
   ============================================ */
/* 移动端头部工具栏按钮 - 默认隐藏 */
.mobile-header-actions {
    display: none;
}

.mobile-action-btn {
    width: 30px;
    height: 30px;
    background-color: #115A94;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0;
    position: relative;
}

.mobile-action-btn:hover {
    background-color: #0066cc;
}

.mobile-action-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 关怀版图标 */
.care-icon {
    font-size: 11px;
    color: #fff;
    line-height: 1.1;
}

/* 菜单图标 (三条横线) */
.menu-icon {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
}

/* 搜索图标 */
.search-icon {
    font-size: 20px;
    color: #fff;
    line-height: 1;
}

/* 移动端导航抽屉 */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-nav-drawer.active {
    visibility: visible;
    opacity: 1;
}

.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 768px;
    background-color: #f5f5f5;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    background-color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    color: #115A94;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.mobile-nav-close:hover {
    color: #0066cc;
}

.mobile-nav-title {
    font-size: 22px;
    font-weight: 600;
    color: #115A94;
    margin: 0;
    flex: 1;
    text-align: center;
    padding-right: 30px;
}

.mobile-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 8px 5px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-tab {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 3px;
    transition: all 0.3s;
    white-space: nowrap;
}

.mobile-nav-tab:hover {
    background-color: #f0f0f0;
    color: #115A94;
}

.mobile-care-tab {
    color: #115A94;
    font-weight: 500;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    margin-top: 8px;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-nav-menu a:hover {
    background-color: #f8f8f8;
    color: #115A94;
    padding-left: 25px;
}

.mobile-nav-menu a.active {
    color: #115A94;
    font-weight: 500;
}

/* 移动端搜索抽屉 */
.mobile-search-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-search-drawer.active {
    visibility: visible;
    opacity: 1;
}

.mobile-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-search-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 768px;
    background-color: #f5f5f5;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-search-drawer.active .mobile-search-content {
    transform: translateY(0);
}

.mobile-search-header {
    background-color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-search-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    color: #115A94;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-search-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    flex: 1;
    text-align: center;
    margin: 0;
    padding-right: 30px;
}

.mobile-search-body {
    background-color: #fff;
    padding: 20px;
    margin: 8px 0;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 100px;
    padding: 8px 12px;
}

.mobile-search-box input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 0;
    background: transparent;
}

.mobile-search-box input[type="text"]::placeholder {
    color: #999;
}

.mobile-search-submit-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.mobile-search-submit-btn img {
    width: 24px;
    height: 24px;
}

/* ============================================
   10. 分页样式（公共组件）
   ============================================ */
#glpage a, #glpage span{
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #d2d2d2;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}
.pagination-section {
    margin-top: 50px;
}

.pagination ,#glpage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn,
.page-number {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #d2d2d2;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover,
.page-number:hover , #glpage span {
    background-color: #f5f5f5;
    border-color: #115A94;
    color: #115A94;
}

.page-number.active , #glpage span{
    background-color: #115A94;
    border-color: #115A94;
    color: #fff;
}

.page-number.active:hover,  #glpage span{
    background-color: #0066cc;
    border-color: #0066cc;
}

._bold{
    font-weight: bold;
}
#assist-open{
    cursor: pointer;
}
/* 分页响应式 */
@media screen and (max-width: 768px) {
    .pagination {
        gap: 5px;
    }

    .page-btn,
    .page-number {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 35px;
    }
}
/* ============================================
   11. 响应式设计
   ============================================ */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    /* .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        z-index: 100;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    } .mobile-menu-toggle {
        display: block;
    }*/

    .footer-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .block-header {
        font-size: 24px;
    }
    .block-header h1,h2,h3,h4,h5,h6{
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 12px;
    }
    .container {
        padding: 0 10px;
    }
    .top-bar {
        display: none;
    }

    .header {
        padding: 10px 0 0;
    }

    .header-content {
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: space-between;
    }

    .logo-section {
        flex: 1;
    }

    .logo-img {
        max-height: 40px;
    }

    /* 隐藏桌面搜索框 */
    .search-section {
        display: none;
    }

    /* 显示移动端工具栏按钮 */
    .mobile-header-actions {
        display: flex;
        gap: 8px;
    }

    /* 隐藏桌面导航栏 */
    .main-nav {
        display: none;
    }

    /* 隐藏桌面版底部，显示移动版底部 */
    .desktop-footer {
        display: none;
    }

    .mobile-footer {
        display: block;
    }

    .footer-content-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .assistant-title {
        font-size: 16px;
    }

    .assistant-desc {
        font-size: 13px;
    }

    /* Footer下拉菜单移动端样式 */
    .footer-nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-nav-item-wrapper {
        flex: 1 1 calc(50% - 5px);
        min-width: 150px;
    }

    .footer-dropdown-menu {
        max-height: 200px;
    }

    .dropdown-list a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .block-header {
        font-size: 20px;
    }
    .block-header h1,h2,h3,h4,h5,h6{
        font-size: 20px;
    }
    .tab-btn{
        font-size: 24px;
    }
    .block-title h3{
        font-size: 24px;
    }
}

/* ============================================
   12. 移动端底部样式
   ============================================ */
.mobile-footer-content {
    background-color: #fff;
    padding: 20px 0;
}

.mobile-footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mobile-footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mobile-footer-gov-logo img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.mobile-footer-error-report img {
    width: 106px;
    height: auto;
    object-fit: contain;
}

.mobile-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-footer-links a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-footer-links a:hover {
    color: #115A94;
}

.mobile-footer-links .divider {
    color: #ccc;
    margin: 0 2px;
}

.mobile-footer-info {
    text-align: center;
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}

.mobile-footer-info p {
    margin-bottom: 5px;
}

.mobile-footer-info p:last-child {
    margin-bottom: 0;
}
.mobile-footer-social-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-social-item {
    position: relative;
}

.mobile-social-link {
    color: #333;
    font-size: 13px;
    display: block;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-social-link:hover {
    color: #115A94;
}

.mobile-qrcode-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.mobile-qrcode-popup.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(-5px);
}

.mobile-qrcode-popup img {
    width: 150px;
    height: 150px;
    display: block;
}
.mobile-footer-license {
    text-align: center;
    color: #333;
    font-size: 13px;
    line-height: 1.8;
}

.mobile-footer-license p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.mobile-footer-license p:last-child {
    margin-bottom: 0;
}

.mobile-footer-license .police-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mobile-footer-license .police-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.mobile-footer-social-section {
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.mobile-footer-social-label {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

.mobile-footer-social-label span {
    text-align: center;
    flex: 1;
}

.mobile-footer-social {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.mobile-footer-social .social-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.3s;
    overflow: hidden;
}

.mobile-footer-social .social-icon:hover {
    transform: translateY(-3px);
}

.mobile-footer-social .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

a img{
    transition: transform 0.3s;
}
a:hover img{
    transform: scale(1.02);
}

/* ============================================
   13. IE10+ 兼容性
   ============================================ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .content-grid {
        display: -ms-flexbox;
    }

    .hero-content {
        display: -ms-flexbox;
    }

    .header-content {
        display: -ms-flexbox;
    }
}
/* 超出省略 */
.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}