/*
Theme Name: 上海居住证积分网
Theme URI: http://www.shzhiyingedu.cn
Author: shzhiyun
Description: 完全复刻 www.shzhiyingedu.cn 老网站样式
Version: 3.0
*/

/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

a { color: #333; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #004080; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 声明条 ===== */
.disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    height: 30px;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 30px;
    background: #f9f9f9;
    color: #666;
}

/* ===== 头部 ===== */
.header {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.left-section { display: flex; align-items: center; }

.logo { display: inline-block; vertical-align: middle; }
.logo img { height: 68px; width: auto; }

.slogan {
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    color: #666;
    margin-left: 10px;
}

.right-section-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    width: 200px;
    font-size: 14px;
}

.search-button {
    padding: 10px 20px;
    background-color: #004080;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.search-button:hover { background-color: #002b5c; }

.hot-search {
    background-color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.hot-search a { color: #007bff; text-decoration: none; }
.hot-search a:hover { text-decoration: underline; }

.service-hotline {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 13px;
    color: #666;
}

.phone-number {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid red;
    border-radius: 5px;
    margin-top: 5px;
}

.phone-icon { margin-right: 5px; }

.highlight { color: red; text-decoration: none; font-size: 16px; font-weight: bold; }

/* ===== 主导航 ===== */
.nav {
    background-color: #004080;
    margin-bottom: 15px;
}

.nav-content { max-width: 1200px; margin: 0 auto; }

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item { position: relative; }

.nav-item a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    background-color: transparent;
    transition: background-color 0.3s;
    font-size: 14px;
}

.nav-item.active a,
.nav-item a:hover { background-color: #002b5c; color: #fff; }

/* ===== 子导航 ===== */
.sub-nav {
    background-color: #f9f9f9;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 20px;
    box-sizing: border-box;
}

.sub-nav-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.sub-nav-group {
    width: 23%;
    min-width: 200px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
}

.sub-nav-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.sub-nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.sub-nav-items li { width: 33.33%; margin-bottom: 10px; }
.sub-nav-items a { color: #666; text-decoration: none; font-size: 16px; }
.sub-nav-items a:hover { color: #007bff; }

/* ===== 移动端底部导航 ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0,0,0,.1);
    padding: 10px 0;
    z-index: 100;
    width: 100%;
}

.mobile-nav-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-nav-item { text-align: center; }
.mobile-nav-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}
.mobile-nav-item a i { font-size: 24px; margin-bottom: 5px; }

/* ===== 首页主容器 ===== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== 首页三列布局 (8:10:6) ===== */
.home-three-col {
    align-items: flex-start;
    gap: 20px;
}
.left-column {
    flex: 0 0 33.33%;
    max-width: 380px;
}
.middle-column {
    flex: 1 1 auto;
    min-width: 0;
}
.right-column {
    flex: 0 0 25%;
    max-width: 300px;
}

/* ===== 下方双栏布局 (18:6) ===== */
.additional-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 20px;
    align-items: flex-start;
}
.news-column {
    flex: 0 0 75%;
    max-width: 880px;
}
.additional-column {
    flex: 0 0 25%;
    max-width: 300px;
    display: block;
}

/* ===== 6个新闻栏目 2列3行 ===== */
.news-sub-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.news-sub-column {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
}

/* ===== 首页卡片通用样式 ===== */
.home-card,
.left-item-card,
.middle-item-card,
.right-item,
.right-item-card,
.news-card,
.additional-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
    box-shadow: none !important;
    margin-bottom: 20px;
}

.middle-item-card { margin-bottom: 20px; }

/* ===== 新闻列表圆点 ===== */
.news-dot {
    color: #004080;
    margin-right: 4px;
    font-weight: bold;
}

/* ===== 右列/下方二维码样式 ===== */
.qr-code {
    text-align: center;
    padding: 10px 0;
}
.qr-code img {
    width: 100%;
    height: auto;
    max-width: 200px;
    display: block;
    margin: 0 auto 10px;
}
.qr-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    font-weight: bold;
}
.qr-text p {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
}
.qr-text p:first-child {
    font-weight: bold;
    color: #333;
}

/* ===== 新闻头部 ===== */
.news-header {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

.separator {
    height: 1px;
    background-color: #ddd;
    margin: 5px 0;
}

/* ===== 图标 ===== */
.square-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #004080;
    margin-right: 8px;
    vertical-align: middle;
}

.blue-icon {
    display: inline-block;
    width: 3px;
    height: 16px;
    background-color: #004080;
    margin-right: 8px;
    vertical-align: middle;
}

.view-more {
    color: #999;
    cursor: pointer;
    text-align: right;
    background-color: transparent;
    padding: 0;
    font-size: 12px;
    float: right;
    margin-left: auto;
}

.view-more:hover { color: #004080; }

/* ===== 新闻列表 ===== */
.news-list { padding: 0; list-style: none; }

.news-item {
    margin: 10px 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-item:hover { background-color: #f9f9f9; }

.news-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.news-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #666;
    flex: 1;
    font-weight: 400;
}

.news-item:hover .news-title { color: #004080; }

.news-time {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
    font-weight: 400;
    white-space: nowrap;
}

/* ===== 轮播图 ===== */
.carousel {
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.carousel-inner { width: 100%; height: 100%; position: relative; }

.carousel-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active { opacity: 1; position: relative; }
.carousel-item img { width: 100%; height: 300px; object-fit: cover; }

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active { background: #004080; }

/* ===== 积分落户办事指南 ===== */
.points-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.point-item {
    background-color: #f9f9f9;
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin: 5px;
    flex: 1 1 30%;
    text-align: center;
    color: #333;
    transition: all 0.3s ease;
}

.point-item:hover { background-color: #004080; }
.point-item:hover a { color: #fff !important; }
.point-item a { color: #333; text-decoration: none; font-size: 16px; }

/* ===== 工具箱 ===== */
.tool-box {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-item {
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
    font-size: 14px;
    color: #333;
}

.tool-item:hover {
    background-color: #004080;
    color: #fff;
    font-weight: bold;
}

/* ===== 热门落户方式 ===== */
.hot-landing-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.method-item {
    background-color: #f9f9f9;
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin: 5px;
    flex: 1 1 30%;
    text-align: center;
    color: #333;
    transition: all 0.3s ease;
}

.method-item:hover { background-color: #004080; }
.method-item:hover a { color: #fff !important; }
.method-item a { color: #333; text-decoration: none; font-size: 13px; }

/* ===== 办理流程 ===== */
.process-container {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.process-header {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.process-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.process-item {
    background-color: #004080;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    flex: 1;
    text-align: left;
    margin: 0 5px;
    min-height: 80px;
}

.process-item:hover { background-color: #002b5c; }

.step-arrow {
    color: #3a8ee6;
    font-size: 20px;
    margin: 0 5px;
    flex-shrink: 0;
}

.process-step .step-number {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

.process-step .step-title {
    font-size: 13px;
    text-align: left;
    color: #fff;
}

/* ===== 二维码 ===== */
.qr-code { text-align: center; }
.qr-code img { width: 120px; height: 120px; display: inline-block; }

.qr-text {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

/* ===== 常见问答 ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.faq-item { margin-bottom: 10px; }

.faq-question {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.faq-question a { color: #333; text-decoration: none; }
.faq-question a:hover { color: #004080; }

.faq-answer {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.faq-answer a { color: #666; text-decoration: none; }
.faq-answer a:hover { color: #004080; }

.faq-answer > a {
    display: block;
}

.faq-answer > a > div {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 资讯板块（6个栏目） ===== */
.additional-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* ===== 积分模拟器页面 ===== */
.jifen-system {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.jifen-title-desc {
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
}

.jifen-title {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

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

.jifen-biaodan {
    margin-top: 20px;
    margin-bottom: 0;
}

.jifen-form-wrapper {
    border: 1px solid #e0e0e0;
    margin: 0 auto;
    max-width: 1200px;
    margin-bottom: 0 !important;
}

.jifen-wenda {
    width: 600px;
    margin: 0 auto;
}

.jifen-step-box {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.jifen-question-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.jifen-question-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.jifen-option-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.jifen-option-item {
    margin: 10px;
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #333;
}

.jifen-option-item:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.jifen-option-item input[type="radio"],
.jifen-option-item input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.jifen-option-item:has(input:checked) {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.jifen-option-label {
    flex: 1;
}

.jifen-option-score {
    margin-left: 10px;
    color: #ff6b6b;
    font-weight: bold;
}

.jifen-option-score.negative {
    color: #ff4d4d;
}

.jifen-option-with-input {
    flex-wrap: wrap;
}

.jifen-input-box {
    width: 100px;
    margin: 0 5px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.jifen-option-unit {
    font-size: 14px;
    color: #666;
    margin: 0 5px;
}

.jifen-button-group {
    text-align: center;
    margin-top: 30px;
}

.jifen-btn {
    cursor: pointer;
    font-size: 14px;
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.jifen-btn-prev {
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    background-color: #fff;
    width: 150px;
}

.jifen-btn-prev:hover {
    background-color: #fff5f5;
}

.jifen-btn-next,
.jifen-btn-submit {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
    width: 300px;
    border: 1px solid #ff6b6b;
}

.jifen-btn-next:hover,
.jifen-btn-submit:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}

/* 提交成功弹窗 */
.jifen-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.jifen-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.jifen-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.jifen-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.jifen-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.jifen-modal-close:hover {
    color: #333;
}

.jifen-modal-body {
    padding: 20px;
    text-align: center;
}

.jifen-modal-score {
    margin-bottom: 20px;
}

.jifen-score-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.jifen-score-value {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
}

.jifen-score-value.pass {
    color: #67c23a;
}

.jifen-score-value.fail {
    color: #ff6b6b;
}

.jifen-score-tip {
    font-size: 14px;
    color: #666;
}

.jifen-modal-no {
    font-size: 14px;
    color: #333;
    margin: 15px 0;
    line-height: 1.6;
}

.jifen-modal-qr img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .jifen-wenda {
        width: 100%;
    }

    .jifen-option-group {
        margin: 10px 0;
    }

    .jifen-option-item {
        flex: 1 1 100%;
        margin: 5px 0;
    }

    .jifen-btn-next,
    .jifen-btn-submit {
        width: 100%;
    }

    .jifen-btn-prev {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ===== 落户资格测评页面 (zigeceping) ===== */
.evaluation-system {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.evaluation-system .breadcrumb {
    margin-bottom: 10px;
    font-size: 14px;
    margin-top: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.evaluation-system .outer-container {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    margin-top: 10px;
    background: #fff;
}

.evaluation-system .title-container {
    margin-bottom: 10px;
}

.evaluation-system .system-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.evaluation-system .system-desc {
    font-size: 16px;
    color: #999;
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
}

.evaluation-system .form-container {
    margin-top: 10px;
}

.evaluation-system .form-wrapper {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
}

.evaluation-system .form-border {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 25px 20px;
}

.evaluation-system .evaluation-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.evaluation-system .form-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.evaluation-system .form-label {
    width: 100px;
    text-align: right;
    padding-right: 12px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.evaluation-system .form-control {
    flex: 1;
}

.evaluation-system .form-control input,
.evaluation-system .form-control select {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.evaluation-system .form-control input:focus,
.evaluation-system .form-control select:focus {
    border-color: #004080;
}

.evaluation-system .tip-text {
    font-size: 14px;
    color: #f56c6c;
    margin: 10px 0 15px;
    text-align: center;
    line-height: 1.6;
}

.evaluation-system .button-group {
    display: flex;
    justify-content: center;
    margin: 20px 0 15px;
    gap: 30px;
}

.evaluation-system .button-group .btn {
    width: 200px;
    font-size: 16px;
}

.evaluation-system .agreement {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.evaluation-system .agreement a {
    color: #004080;
    text-decoration: none;
}

.evaluation-system .agreement a:hover {
    text-decoration: underline;
}

.evaluation-system .agreement-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.evaluation-system .agreement-label input {
    margin-right: 6px;
}

.evaluation-system .eval-error-msg {
    background: #fef0f0;
    color: #f56c6c;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #fbc4c4;
}

/* 资格测评按钮样式 */
.btn {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: 0.1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.btn-primary {
    color: #fff;
    background-color: #004080;
    border-color: #004080;
}

.btn-primary:hover {
    background: #003366;
    border-color: #003366;
}

.btn-primary:disabled {
    background: #99b3d6;
    border-color: #99b3d6;
    cursor: not-allowed;
}

.btn-info {
    color: #fff;
    background-color: #909399;
    border-color: #909399;
}

.btn-info:hover {
    background: #7d8085;
    border-color: #7d8085;
}

/* 资格测评弹窗 */
.eval-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.eval-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.eval-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
}

.eval-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.eval-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.eval-modal-close:hover {
    color: #333;
}

.eval-modal-body {
    padding: 25px 20px;
    text-align: center;
}

.eval-modal-footer {
    padding: 15px 20px 25px;
    text-align: center;
}

.eval-modal-footer .btn {
    width: 200px;
}

.eval-qr-box {
    margin-bottom: 15px;
}

.eval-qr-box img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: block;
}

.eval-submit-no {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-top: 10px;
}

.eval-submit-no strong {
    color: #004080;
    font-size: 16px;
}

/* ===== 个税计算器页面 (gesuijisuan) ===== */
.calc-system {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.calc-title-desc {
    text-align: center;
    margin: 20px auto;
    max-width: 1200px;
}

.calc-title {
    font-size: 22px;
    font-weight: 700;
    color: #004080;
}

.calc-desc {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.calc-biaodan {
    margin-top: 20px;
    margin-bottom: 0;
}

.calc-form-wrapper {
    border: 1px solid #e0e0e0;
    margin: 0 auto;
    max-width: 1200px;
    background: #fff;
}

.calc-wenda {
    width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.calc-step-box {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.calc-question-title {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

.calc-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.calc-label {
    margin-right: 10px;
    font-size: 14px;
    color: #333;
}

.calc-input-box {
    width: 200px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.calc-input-box:focus {
    border-color: #004080;
}

.calc-unit {
    margin-left: 10px;
    font-size: 14px;
    color: #333;
}

.calc-radio-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.calc-radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
    justify-content: center;
}

.calc-radio-row {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s;
}

.calc-radio-row:hover {
    border-color: #004080;
}

.calc-radio-row:has(input:checked) {
    border-color: #004080;
    background: #f0f5ff;
    color: #004080;
}

.calc-radio-row input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.calc-radio-label {
    margin-right: 10px;
    font-size: 14px;
    color: #333;
}

.calc-radio-row:has(input:checked) .calc-radio-label {
    color: #004080;
    font-weight: 500;
}

.calc-button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 20px;
}

.calc-btn {
    flex: 1;
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 14px;
    border: 1px solid #dcdfe6;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.calc-btn:hover {
    color: #004080;
    border-color: #004080;
}

.calc-btn-next,
.calc-btn-submit {
    background-color: #004080;
    border-color: #004080;
    color: #fff;
    width: 45%;
}

.calc-btn-next:hover,
.calc-btn-submit:hover {
    background: #003366;
    border-color: #003366;
    color: #fff;
}

.calc-btn-next:disabled,
.calc-btn-submit:disabled {
    background: #99b3d6;
    border-color: #99b3d6;
    cursor: not-allowed;
}

.calc-btn-prev {
    background: #fff;
    color: #333;
    width: 45%;
}

.calc-btn-prev:hover {
    color: #004080;
    border-color: #004080;
    background: #f0f5ff;
}

/* 个税计算器弹窗 */
.calc-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.calc-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.calc-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
}

.calc-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.calc-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.calc-modal-close:hover {
    color: #333;
}

.calc-modal-body {
    padding: 25px 20px;
    text-align: center;
}

.calc-modal-qr img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: block;
}

/* 个税计算器移动端适配 */
@media (max-width: 768px) {
    .calc-wenda {
        width: 100%;
        padding: 10px 0;
    }

    .calc-step-box {
        padding: 10px;
    }

    .calc-radio-row {
        flex-wrap: wrap;
        padding: 10px;
    }

    .calc-input-box {
        width: 100%;
        margin-top: 8px;
    }

    .calc-btn-next,
    .calc-btn-submit,
    .calc-btn-prev {
        width: 100%;
    }

    .calc-button-group {
        flex-direction: column;
        gap: 10px;
    }

    .evaluation-system .form-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .evaluation-system .form-label {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 6px;
    }

    .evaluation-system .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .evaluation-system .button-group .btn {
        width: 100%;
    }
}

/* ===== 页脚 ===== */
.footer {
    color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    background-color: #333;
    margin-top: 20px;
}

.footer-links {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.footer-links h1 {
    font-size: 14px;
    margin-bottom: 10px;
}

.links-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.links-wrapper p { margin: 0; }

.content-wrapper {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    margin-left: 50px;
}

.footer-column:first-child { margin-left: 0; }
.footer-column h1 { font-size: 14px; margin-bottom: 10px; }
.footer-column p { margin: 5px 0; }

.qrcode img { width: 100px; height: 100px; display: block; }
.qrcode p { margin-top: 10px; }

.footer-info {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ===== 面包屑 ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 13px;
    color: #666;
}

.breadcrumb a { color: #004080; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .separator { margin: 0 5px; color: #999; }

/* ===== 文章列表页 ===== */
.archive-title,
.page-title {
    max-width: 1200px;
    margin: 20px auto 10px;
    padding: 0 20px;
    font-size: 22px;
    color: #004080;
}

.article-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.article-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.article-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.article-item h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-item h2 a { color: #333; }
.article-item h2 a:hover { color: #004080; }

.article-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 12px;
    color: #999;
}

.article-meta span { margin-right: 15px; }

/* ===== 文章详情页 ===== */
.single-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.single-article h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.4;
}

.article-info {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-info span { margin: 0 10px; }

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.article-content p { margin-bottom: 15px; }
.article-content h2 { font-size: 20px; margin: 20px 0 10px; color: #004080; }
.article-content h3 { font-size: 17px; margin: 15px 0 10px; color: #333; }
.article-content img { max-width: 100%; height: auto; margin: 10px 0; }
.article-content a { color: #007bff; text-decoration: underline; }
.article-content ul, .article-content ol { margin: 10px 0 10px 20px; }
.article-content li { margin-bottom: 5px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article-content th, .article-content td { border: 1px solid #ddd; padding: 8px; }

/* ===== 分页 ===== */
.pagination {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.pagination .page-numbers.current { background: #004080; color: #fff; border-color: #004080; }
.pagination .page-numbers:hover:not(.current) { background: #f9f9f9; color: #004080; }

/* ===== 404页面 ===== */
.error404 .main-container { text-align: center; padding: 60px 20px; }
.error404 h1 { font-size: 72px; color: #004080; margin-bottom: 20px; }
.error404 p { font-size: 18px; color: #666; margin-bottom: 20px; }

/* ===== 文章列表页布局 ===== */
.archive-layout,
.single-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.archive-main,
.single-main { flex: 1; }

.archive-sidebar,
.single-sidebar { flex: 0 0 300px; }

.left-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
}

.left-card h3 {
    font-size: 16px;
    color: #004080;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.side-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
}

.side-card-body h3 {
    font-size: 15px;
    color: #004080;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.side-card-body .tool-item {
    margin: 5px 0;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.side-card-body .tool-item:hover { background: #004080; }
.side-card-body .tool-item:hover a { color: #fff !important; }
.side-card-body .tool-item a { color: #333; text-decoration: none; font-size: 13px; }

.side-card-body .hot-landing-methods { gap: 5px; }
.side-card-body .method-item { flex: 1 1 45%; margin: 3px; padding: 8px; }

.archive-pagination {
    margin-top: 20px;
    text-align: center;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.archive-pagination .page-numbers.current { background: #004080; color: #fff; border-color: #004080; }

/* ===== 文章详情页 ===== */
.article-header {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-info {
    font-size: 12px;
    color: #999;
}

.blog-info span { margin-right: 15px; }
.blog-info a { color: #004080; text-decoration: none; }

.article-content-wrapper {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    background: #fff;
    margin-bottom: 15px;
}

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.article-content p { margin-bottom: 15px; }
.article-content h2 { font-size: 20px; margin: 20px 0 10px; color: #004080; }
.article-content h3 { font-size: 17px; margin: 15px 0 10px; color: #333; }
.article-content img { max-width: 100%; height: auto; margin: 10px 0; }
.article-content a { color: #007bff; text-decoration: underline; }
.article-content ul, .article-content ol { margin: 10px 0 10px 20px; }
.article-content li { margin-bottom: 5px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article-content th, .article-content td { border: 1px solid #ddd; padding: 8px; }

.post-tags {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
}

.post-tags a {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 5px 5px 0;
    background: #f0f0f0;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.post-tags a:hover { background: #004080; color: #fff; }

.article-nav-wrapper {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    margin-bottom: 15px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.article-nav .nav-item { flex: 1; padding: 0 10px; }
.article-nav .nav-item:last-child { text-align: right; }
.article-nav a { color: #004080; text-decoration: none; }

.related-articles-wrapper {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
}

.related-articles h3 {
    font-size: 16px;
    color: #004080;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.related-articles ul { list-style: none; padding: 0; }
.related-articles li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-articles li:last-child { border-bottom: none; }
.related-articles a { color: #333; text-decoration: none; font-size: 13px; flex: 1; }
.related-articles a:hover { color: #004080; }
.related-articles .date { color: #999; font-size: 12px; margin-left: 10px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .disclaimer { display: none; }

    .header-content {
        flex-direction: row;
        align-items: center;
    }

    .left-section { flex: 1; }
    .right-section-new { flex: 1; justify-content: flex-end; }
    .search-bar-container { display: none; }
    .slogan { display: none; }
    .service-hotline { margin-left: auto; }

    .logo img { height: auto; width: 90%; max-width: 200px; }

    .nav { display: none; }
    .sub-nav { display: none; }

    .mobile-bottom-nav { display: block; }

    .content-container { flex-direction: column; }
    .left-column { flex: 0 0 100%; margin: 0; max-width: 100%; }
    .middle-column { flex: 0 0 100%; margin: 0; }
    .right-column { flex: 0 0 100%; margin: 0; max-width: 100%; }
    .home-three-col { gap: 0; }
    .additional-container { flex-direction: column; gap: 0; }
    .news-column { flex: 0 0 100%; max-width: 100%; }
    .additional-column { flex: 0 0 100%; max-width: 100%; }
    .news-sub-column { flex: 0 0 100%; }

    .carousel { height: 200px; }
    .carousel-item img { height: 200px; }

    .process-container { display: none; }

    .content-wrapper { flex-direction: column; }
    .footer-column { margin-left: 0; margin-bottom: 20px; }

    .footer-info p:not(.keep-on-mobile) { display: none; }
    .footer-links { display: none; }

    body { padding-bottom: 60px; }
}
