html, body {
    overflow-x: hidden;
}

/* 全屏搜索横幅容器 - 完美全屏无溢出 */
.full-search-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #2563eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    left: 0;
    right: 0;
    /* 防止内部元素溢出 */
    overflow: hidden;
}

/* 主标题 */
.search-main-title {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* 防止文字换行 */
    white-space: nowrap;
}

/* 副标题 */
.search-sub-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 40px 0;
    text-align: center;
}

/* 搜索表单容器 */
.search-form-wrap {
    width: 100%;
    max-width: 750px;
    display: flex;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 搜索输入框 */
.search-input {
    flex: 1;
    height: 58px;
    padding: 0 24px;
    font-size: 18px;
    color: #333333;
    border: none;
    outline: none;
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
    /* 清除浏览器默认样式 */
    -webkit-appearance: none;
    appearance: none;
}

/* 输入框占位符样式 */
.search-input::placeholder {
    color: #999999;
}

/* 搜索按钮 - 彻底修复显示不全问题 */
.search-btn {
    width: 140px !important; /* 强制宽度，覆盖所有冲突样式 */
    height: 58px !important;
    background-color: #1e40af !important;
    background-image: none !important; /* 清除网站默认按钮背景图 */
    color: #ffffff !important;
    border: none !important;
    font-size: 20px !important;
    font-weight: bold !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    /* 清除浏览器默认样式 */
    -webkit-appearance: none;
    appearance: none;
}

/* 搜索按钮悬停效果 */
.search-btn:hover {
    background-color: #1e3a8a !important;
}

/* 热搜标签 */
.search-hot-tags {
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.search-hot-tags a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 12px;
    transition: all 0.2s ease;
}

.search-hot-tags a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .full-search-banner {
        min-height: 350px;
        padding: 30px 15px;
    }
    .search-main-title {
        font-size: 28px;
        white-space: normal;
    }
    .search-sub-title {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .search-input {
        height: 50px;
        font-size: 16px;
        padding: 0 16px;
    }
    .search-btn {
        width: 100px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
}
/* 双栏文章列表容器 */
.policy-list-wrap {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

/* 单栏通用样式 */
.policy-list-box {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
    box-sizing: border-box;
    color: #fff;
}

/* 左边-最新政策 */
.policy-list-box.left {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
}

/* 右边-热门政策 */
.policy-list-box.right {
    background: linear-gradient(135deg, #e74c3c 0%, #f37c72 100%);
}

/* 标题样式 */
.policy-list-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-list-title::before {
    content: "";
    width: 36px;
    height: 36px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 左边标题图标 */
.policy-list-box.left .policy-list-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

/* 右边标题图标 */
.policy-list-box.right .policy-list-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z'/%3E%3C/svg%3E");
}

/* 列表样式 */
.policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.policy-list li {
    margin: 15px 0;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

/* 列表圆点 */
.policy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    line-height: 1;
}

/* 链接样式 */
.policy-list a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: all 0.25s ease;
}

/* 鼠标经过样式 */
.policy-list a:hover {
    color: #fff;
    text-decoration: underline;
    padding-left: 8px;
    opacity: 0.9;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .policy-list-wrap {
        flex-direction: column;
    }
    .policy-list-box {
        width: 100%;
    }
}








/* 整体容器 */
.city-module-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
}

/* 左侧主内容区 */
.city-main-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 右侧侧边栏 */
.city-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 通用模块盒子 */
.city-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
}

/* 模块标题 */
.city-box-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.city-box-title.red {
    color: #c00;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

/* --------------------------
   1. 热门城市模块（带图标+说明）
--------------------------- */
.hot-city-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.hot-city-tab {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.hot-city-tab.active {
    color: #c00;
    border-bottom-color: #c00;
    font-weight: bold;
}

.hot-city-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.hot-city-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.hot-city-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.hot-city-info {
    flex: 1;
}

.hot-city-name {
    font-size: 16px;
    color: #333;
    margin: 0 0 3px 0;
}

.hot-city-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.hot-city-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transition: all 0.2s ease;
}

.hot-city-item a:hover .hot-city-name {
    color: #0066cc;
}

/* --------------------------
   2. 省市社保查询模块
--------------------------- */
.province-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.province-btn {
    padding: 12px 10px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.province-btn:hover {
    background: #f0f7ff;
    border-color: #0066cc;
    color: #0066cc;
}

.province-btn.active {
    background: #f0f7ff;
    border-color: #0066cc;
    color: #0066cc;
    font-weight: bold;
}

/* 城市显示区域 */
.city-display-area {
    background: #f0f7ff;
    border-radius: 4px;
    padding: 15px 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}

.city-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.city-list a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.more-cities-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.more-cities-link:hover {
    text-decoration: underline;
}

/* --------------------------
   3. 右侧侧边栏模块
--------------------------- */
.sidebar-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    box-sizing: border-box;
}

.sidebar-box-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.sidebar-box-title.blue {
    color: #0066cc;
}

/* 社保查询电话 */
.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #c00;
    margin: 10px 0;
}

.phone-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 社保工具 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tool-item a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tool-item a:hover {
    color: #0066cc;
}

/* 最近更新 */
.latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.latest-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.latest-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px 0;
}

.latest-title a {
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.latest-title a:hover {
    color: #0066cc;
}

.latest-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .city-module-container {
        flex-direction: column;
    }
    .province-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hot-city-list {
        grid-template-columns: repeat(2, 1fr);
    }
}