/* ============================================================
   front2026.css - 法比特前台统一样式表 (基于Bootstrap 5)
   ============================================================
   版本: 2026.07
   说明: 在 front.css 基础上精简整合，移除冗余，统一CSS变量，紧凑型布局
   ============================================================ */

/* ============================================================
   1. CSS 变量 & 基础重置 - 紧凑型
   ============================================================ */
:root {
    /* 品牌色 */
    --primary: #f03c02;
    --primary-hover: #fd5c28;
    --primary-light: #fd490f;
    --primary-dark: #c53030;
    --primary-subtle: rgba(240, 60, 2, 0.08);
    --primary-bg: #fff5f2;
    --gradient: linear-gradient(135deg, #f03c02 0%, #fd490f 100%);

    /* 文字色 */
    --dark: #2b2320;
    --text: #333;
    --text-light: #718096;
    --text-muted: #5e6c84;

    /* 背景 & 边框 */
    --bg-light: #f8f9fc;
    --bg-gray: #ebe6e4;
    --border: #e8ecf1;

    /* 阴影 & 圆角 - 紧凑型 */
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-sm: 6px;

    /* 间距变量 - 紧凑型 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-section: 40px;

    /* 字体 & 过渡 */
    --font-body: "Open Sans", system-ui, -apple-system, sans-serif;
    --font-heading: "Muli", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    --transition: all 0.25s ease;
}

/* ============================================================
   2. 布局 & 通用 - 紧凑型
   ============================================================ */
body {
    font-family: var(--font-body);
    color: var(--text);
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: 70px;
    padding-top: 70px; 
}

a {
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

/* 确保 Bootstrap grid 布局正常 */
.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}
[class*="col-"] {
    box-sizing: border-box;
    max-width: 100%;
}

/* 主内容区 - 紧凑型 */
#page-content {
    padding-bottom: 0;
    min-height: auto;
}

/* ============================================================
   3. 底部页脚 (固定在浏览器底部，与内容间距为0)
   ============================================================ */
#common-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #1e293b;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
}

#common-footer a {
    color: #94a3b8;
    text-decoration: none;
}
#common-footer a:hover {
    color: #fff;
}

#common-footer .footer-copyright {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}
#common-footer .footer-beian {
    line-height: 1.6;
}
#common-footer .footer-beian-item {
    display: inline-block;
    margin: 0 0.5rem;
    white-space: nowrap;
}
@media (max-width: 576px) {
    #common-footer .footer-beian-item {
        display: block;
        margin: 0.25rem 0;
    }
}

/* ============================================================
   4. Header & 导航 (覆盖 Bootstrap Navbar)
   ============================================================ */
#header {
    height: 70px;
    transition: all 0.5s;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

#header .logo h1 {
    font-size: 28px;
    margin: 0;
    padding: 10px 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#header .logo h1 a,
#header .logo h1 a:hover {
    color: var(--dark);
}

/* Navbar */
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navbar li {
    position: relative;
    white-space: nowrap;
}
.navbar > ul > li {
    padding: 6px 0 6px 8px;
}
.navbar a {
    display: flex;
    align-items: center;
    padding: 6px 0 6px 6px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
}
.navbar a i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}
.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 6px;
    left: 0;
    background-color: var(--primary);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}
.navbar > ul > li > a:hover:before,
.navbar > ul > li > a.active:before {
    visibility: visible;
    transform: scaleX(0.7);
}
.navbar a:hover,
.navbar .active {
    color: var(--primary);
}

/* Dropdown */
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 6px);
    margin: 0;
    padding: 6px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
    max-height: none;
    overflow: visible;
}
.navbar .dropdown ul li {
    min-width: 200px;
    padding: 0;
    position: relative;
}
.navbar .dropdown ul a {
    padding: 8px 20px;
    font-size: 14px;
    color: #555;
}
.navbar .dropdown ul a:hover {
    color: var(--primary);
}
.navbar .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

/* 嵌套 Dropdown (二级子菜单) */
.navbar .dropdown .dropdown ul {
    left: 100%;
    top: 0;
    margin-left: 0;
    padding: 6px 0;
    min-width: 180px;
}
.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
    top: 0;
}
.navbar .dropdown .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .dropdown .dropdown > a i {
    margin-left: auto;
}

/* Mobile Nav */
.mobile-nav-toggle {
    display: none;
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
    .navbar ul {
        display: none;
    }
    .navbar-mobile {
        position: fixed;
        overflow: hidden;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        transition: 0.3s;
        z-index: 999;
    }
    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 70px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }
    .navbar-mobile > ul > li {
        padding: 0;
    }
    .navbar-mobile a {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* ============================================================
   5. 回到顶部
   ============================================================ */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 9999;
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
    color: #fff;
    text-align: center;
    line-height: 36px;
    font-size: 20px;
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
.back-to-top:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* ============================================================
   6. Hero / Carousel
   ============================================================ */
#hero {
    width: 100%;
    height: 70vh;
    background-size: cover;
    position: relative;
    margin-top: 70px;
    padding: 0;
}
#hero .carousel-item {
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#hero .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}
#hero .carousel-content {
    text-align: center;
}
#hero h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 48px;
    font-weight: 700;
}
#hero p {
    color: #fff;
    margin-bottom: 30px;
    font-size: 20px;
}
#hero .btn-get-started {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    transition: 0.5s;
    color: #fff;
    background: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}
#hero .btn-get-started:hover {
    background: var(--primary-hover);
}

/* ============================================================
   7. 面包屑 (Breadcrumbs)
   ============================================================ */
.breadcrumbs {
    padding: var(--spacing-sm) 0;
    background: #f8f9fc;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.breadcrumbs h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark);
    text-align: left;
}
.breadcrumbs h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
    text-align: left;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    justify-content: flex-start;
    align-items: center;
}
.breadcrumbs ol li + li {
    padding-left: 10px;
}
.breadcrumbs ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: #999;
    content: "/";
}

/* ============================================================
   8. 通用区块样式 (Section / Section-title)
   ============================================================ */
section {
    padding: var(--spacing-section) 0;
    overflow: hidden;
}
.section-bg {
    background-color: var(--bg-light);
}
.section-title {
    text-align: center;
    padding-bottom: var(--spacing-lg);
}
.section-title h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    position: relative;
    color: var(--dark);
}
.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: calc(50% - 20px);
}
.section-title p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================================
   9. CTA (Call to Action)
   ============================================================ */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), fixed center center;
    background-size: cover;
    padding: 80px 0;
}
.cta h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.cta p {
    color: #fff;
}
.cta .cta-btn {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 4px;
    transition: 0.5s;
    color: #fff;
    background: var(--primary);
    text-decoration: none;
}

/* ============================================================
   10. 服务 (Services / Icon-box)
   ============================================================ */
.services .icon-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.services .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.services .icon-box .icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.services .icon-box .icon i {
    color: var(--primary);
    font-size: 28px;
}
.services .icon-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0;
}
.services .icon-box h4 a {
    color: var(--dark);
    text-decoration: none;
}
.services .icon-box h4 a:hover {
    color: var(--primary);
}
.services .icon-box p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ============================================================
   11. 关于我们 (About-us) - 参考 front.css
   ============================================================ */
.about-us .content {
    padding: 30px 0;
}
.about-us .content h3 {
    font-weight: 700;
    font-size: 34px;
}
.about-us .content h4 {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 15px;
}
.about-us .content p {
    font-size: 15px;
    line-height: 1.7;
    text-indent: 2em;
    margin-bottom: 0;
    color: var(--text);
}
.about-us .content ul {
    list-style: none;
    padding: 0;
}
.about-us .content ul li {
    padding-bottom: 10px;
}
.about-us .content ul i {
    font-size: 18px;
    padding-right: 4px;
    color: var(--primary);
}
.about-us .content p:last-child {
    margin-bottom: 0;
}

/* 图标盒子 */
.about-us .content .icon-box {
    margin-top: 25px;
}
.about-us .content .icon-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0 10px 60px;
}
.about-us .content .icon-box i {
    font-size: 48px;
    float: left;
    color: var(--primary);
}
.about-us .content .icon-box p {
    font-size: 15px;
    color: #90847f;
    margin-left: 60px;
    text-indent: 0;
}

/* 图片区域 */
.about-us .image {
    background: url("../img/about.jpg") center center no-repeat;
    background-size: cover;
    min-height: 400px;
}

/* 律师页面 - 横向布局图标盒子（图标在左，文字在右） */
.about-us .content .icon-box-horizontal {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}
.about-us .content .icon-box-horizontal:hover {
    background: var(--primary-bg);
}
.about-us .content .icon-box-horizontal i {
    font-size: 32px;
    color: var(--primary);
    flex-shrink: 0;
}
.about-us .content .icon-box-horizontal .icon-box-content {
    flex: 1;
}
.about-us .content .icon-box-horizontal h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 5px 0;
}
.about-us .content .icon-box-horizontal p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    text-indent: 0;
    line-height: 1.5;
}

/* 响应式 */
@media (max-width: 991px) {
    .about-us .image {
        text-align: center;
    }
    .about-us .image img {
        max-width: 80%;
    }
}

@media (max-width: 667px) {
    .about-us .image img {
        max-width: 100%;
    }
}

/* ============================================================
   12. 特色功能 (Features / Tab)
   ============================================================ */
.features .nav-tabs {
    border: 0;
}
.features .nav-link {
    border: 1px solid var(--border);
    padding: 15px;
    transition: 0.3s;
    color: var(--dark);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.features .nav-link i {
    font-size: 32px;
    line-height: 0;
    margin-right: 10px;
}
.features .nav-link h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.features .nav-link:hover {
    border-color: var(--primary);
}
.features .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ============================================================
   13. 作品/案例 (Portfolio)
   ============================================================ */
.portfolio .portfolio-item {
    position: relative;
    border-radius: var(--radius-sm);
}
/* 首页和模板页面的 card 样式 */
.portfolio .portfolio-item .card,
.portfolio .card.lift {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.portfolio .portfolio-item .card:hover,
.portfolio .card.lift:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(240, 60, 2, 0.2);
    transform: translateY(-6px);
    background: var(--primary-bg);
}
.portfolio .portfolio-item .card:hover .card-title,
.portfolio .card.lift:hover .card-title {
    color: var(--primary);
}
.portfolio .card-body {
    padding: 1.25rem 1rem;
}
.portfolio .card-title {
    font-size: 0.9rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--dark);
    transition: color 0.3s ease;
}
.portfolio .card-title i {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.portfolio .card-text {
    font-size: 0.8rem;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.45;
    min-height: 2.32em;
    margin-top: 0.5rem;
}

/* 卡片网格间距 */
.portfolio-container {
    margin: 0 -0.5rem;
}
.portfolio-container > .row {
    margin: 0 -0.5rem;
}
.portfolio-container > .row > [class*="col-"] {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
   14. 团队 (Team)
   ============================================================ */
.team .member {
    position: relative;
    box-shadow: var(--shadow);
    padding: 30px;
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
}
.team .member .pic {
    overflow: hidden;
    width: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.team .member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
}
.team .member span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================================
   15. 联系 (Contact)
   ============================================================ */
.contact .info {
    padding: 30px;
    background: #fff;
    width: 100%;
    box-shadow: var(--shadow);
    border-radius: var(--radius-sm);
}
.contact .info i {
    font-size: 20px;
    color: var(--primary);
    float: left;
    width: 44px;
    height: 44px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: all 0.3s;
    margin-right: 15px;
}
.contact .info h4 {
    padding: 0 0 0 60px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}
.contact .info p {
    padding: 0 0 10px 60px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================================
   16. 分页 (Pagination)
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 20px;
}
.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}
.pagination li {
    margin: 0;
}
.pagination a {
    color: var(--dark);
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    display: inline-block;
    min-width: 40px;
    text-align: center;
}
.pagination a:hover,
.pagination .active a {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.2);
}
/* prev 和 next 样式 */
.pagination .prev a,
.pagination .next a {
    padding: 10px 20px;
    font-weight: 500;
}
.pagination .prev a:hover,
.pagination .next a:hover {
    background: var(--primary);
    color: #fff;
}
/* disabled 样式 */
.pagination .disabled a {
    color: #cbd5e1;
    border: 1px solid #d1d5db;
    cursor: not-allowed;
    pointer-events: none;
    background: #f8f9fc;
}
.pagination .disabled a:hover {
    background: #f8f9fc;
    color: #cbd5e1;
    box-shadow: none;
}

/* blog-pagination 样式 */
.blog-pagination {
    display: flex;
    justify-content: center;
    padding: 12px 0;
    margin-bottom: 15px;
}
.blog-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
}
.blog-pagination li {
    margin: 0;
}
.blog-pagination li a {
    color: var(--dark);
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 13px;
    display: inline-block;
    min-width: 36px;
    text-align: center;
    background: #fff;
}
.blog-pagination li a:hover,
.blog-pagination .active a {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(240, 60, 2, 0.2);
}
/* blog-pagination prev 和 next 样式 */
.blog-pagination .prev a,
.blog-pagination .next a {
    padding: 8px 16px;
    font-weight: 500;
    border: 1px solid var(--border);
}
.blog-pagination .prev a:hover,
.blog-pagination .next a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
/* blog-pagination disabled 样式 - 确保有边框 */
.blog-pagination .disabled a,
.blog-pagination .disabled span {
    color: #cbd5e1;
    border: 1px solid #d1d5db;
    cursor: not-allowed;
    pointer-events: none;
    background: #f8f9fc;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
}
.blog-pagination .disabled a:hover,
.blog-pagination .disabled span:hover {
    background: #f8f9fc;
    color: #cbd5e1;
    box-shadow: none;
}

/* ============================================================
   17. 工具页面 (Tools)
   ============================================================ */

/* 工具区域主容器 */
#tools {
    padding: 15px 0 30px;
    background: var(--bg-gray);
    min-height: 80vh;
}

#tools button {
    padding: 5px 20px;
    margin: 4px;
    transition: 0.4s;
    border-radius: var(--radius-sm);
}

#tools label {
    text-align: right;
}

/* 水平时间线区域 */
#section-horizontal-timeline {
    margin-bottom: 8px;
}

#section-horizontal-timeline h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

/* LPR利率页面样式 */
#tools .section-inner {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}
#tools .section-inner h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
}
#tools .section-inner p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}
#tools .section-inner a {
    color: #f03c02;
}

/* 工具表单卡片 */
#tools_form {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-card);
}

/* 表单网格 - Grid 布局 */
#tools_form .form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

#tools_form .form-field {
    grid-column: span 1;
}

/* 表单标签 */
#tools_form .form-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

#tools_form .form-label .text-danger {
    color: var(--primary) !important;
    font-size: 0.9rem;
}

/* 输入组 */
#tools_form .input-group {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    background: #fff;
    display: flex;
    align-items: stretch;
}

#tools_form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

#tools_form .form-control,
#tools_form .form-select {
    border: none;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--text);
    height: 38px;
    flex: 1;
    background: transparent;
}

#tools_form .form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 34px;
}

#tools_form .form-control::placeholder {
    color: var(--text-muted);
}

#tools_form .input-group-text {
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.82rem;
    padding: 8px 12px;
    font-weight: 500;
    height: 38px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#tools_form .input-group-text i {
    display: flex;
    align-items: center;
    justify-content: center;
}

#tools_form .input-group-text .fa-circle-question {
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

#tools_form .input-group-text .fa-circle-question:hover {
    transform: scale(1.15);
}

#tools_form .input-group:has(.form-control:disabled),
#tools_form .input-group:has(.form-select:disabled) {
    background: var(--bg-light);
    border-color: var(--border);
    opacity: 0.8;
}

#tools_form .form-control:disabled,
#tools_form .form-select:disabled {
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

#tools_form .form-control:disabled::-webkit-input-placeholder {
    color: var(--text-muted);
}

#tools_form .input-group-text:has(+ .form-control:disabled),
#tools_form .input-group:has(.form-control:disabled) .input-group-text {
    background: #e9ecef;
    color: var(--text-muted);
}

#tools_form select.form-select:disabled {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 34px;
}

/* 区块标题 */
#tools_form .form-section-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    margin: 16px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* 按钮 - 主按钮 */
#tools_form .btn {
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    transition: var(--transition);
    margin: 4px;
    min-width: 105px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#tools_form .btn i {
    margin-right: 6px;
    font-size: 1rem;
}

#tools_form .btn-primary {
    background: var(--gradient);
    color: #fff;
}

#tools_form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 60, 2, 0.3);
}

#tools_form .btn-outline-secondary {
    border: 1.5px solid #d1d5db;
    color: var(--text-secondary);
    background: transparent;
}

#tools_form .btn-outline-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-secondary);
}

#tools_form .btn-outline-danger {
    border: 1.5px solid #ef4444;
    color: #ef4444;
    background: transparent;
}

#tools_form .btn-outline-danger:hover {
    background: #fef2f2;
}

#tools_form .btn-calculate,
.btn-calculate {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    height: 42px;
    white-space: nowrap;
}

#tools_form .btn-calculate:hover,
.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 60, 2, 0.3);
    color: #fff;
}

#tools_form .btn-reset,
.btn-reset {
    background: #64748b;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    height: 42px;
    white-space: nowrap;
}

#tools_form .btn-reset:hover,
.btn-reset:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
    color: #fff;
}

#tools_form .btn-clear,
.btn-clear {
    background: #0891b2;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    height: 42px;
    white-space: nowrap;
}

#tools_form .btn-clear:hover,
.btn-clear:hover {
    background: #0e7490;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
    color: #fff;
}

/* 引导按钮 */
.btn-guide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: var(--transition);
    gap: 6px;
    text-decoration: none;
}

.btn-guide i {
    font-size: 1rem;
}

.btn-guide:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-2px);
}

/* 咨询按钮 */
#consult_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid #ef4444;
    color: #ef4444;
    background: transparent;
    transition: var(--transition);
    gap: 6px;
    cursor: pointer;
}

#consult_button i {
    font-size: 1rem;
}

#consult_button:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
}

/* 紫色按钮 */
.btn-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: var(--transition);
    gap: 6px;
    text-decoration: none;
}

.btn-purple i {
    font-size: 1rem;
}

.btn-purple:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-2px);
}

/* 工具结果区域 */
#tools_result {
    padding: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--border-card);
}

#tools_result .section-inner {
    padding: 28px 32px;
}

#tools_result .entry-single {
    margin-bottom: 20px;
}

#tools_result .entry {
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
}

#tools_result .result-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#tools_result .result-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

#tools_result .table-responsive {
    border-radius: var(--radius-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
}

#tools_result .table {
    margin-bottom: 0;
    width: 100%;
    min-width: 600px;
    table-layout: fixed;
}

#tools_result .table thead th {
    background: var(--bg-light);
    color: var(--text);
    font-weight: 400;
    padding: 12px 14px;
    border-bottom: 2px solid var(--border);
    font-size: 0.85rem;
    white-space: nowrap;
}

#tools_result .table thead th:nth-child(1) {
    width: 18%;
}

#tools_result .table thead th:nth-child(2) {
    width: 15%;
    min-width: 100px;
}

#tools_result .table thead th:nth-child(3) {
    width: auto;
}

#tools_result .table tbody td {
    padding: 11px 14px;
    vertical-align: top;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#tools_result .table tbody td:nth-child(1) {
    font-weight: 400;
    color: var(--text);
    white-space: nowrap;
}

#tools_result .table tbody td:nth-child(2) {
    text-align: right;
    min-width: 80px;
}

#tools_result .table tbody tr:hover {
    background: rgba(0, 0, 0, 0.015);
}

#tools_result .table tbody .text-danger {
    color: var(--primary) !important;
    font-weight: 400;
}

#tools_result .table tbody tr.table-info td,
#tools_result .table tbody tr.table-warning td,
#tools_result .table tbody tr.table-danger td {
    background: var(--bg-light) !important;
    font-weight: 400;
    color: var(--text);
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#tools_result .table tbody tr.table-primary td {
    background: var(--primary-bg) !important;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    padding: 14px;
}

#tools_result .table tbody tr.table-primary .total_fee_label {
    font-size: 1.15rem;
    color: var(--primary) !important;
    font-weight: 400;
}

/* 提示信息 */
.alert {
    border: none;
    background: transparent;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: center;
}

.alert-info {
    color: var(--text-secondary);
}

.alert-success {
    color: var(--text-secondary);
}

.note {
    text-align: center;
    border: none;
    background: transparent;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#tools_form .note {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-align: left;
}

/* 按钮组 */
#tools_form .button-group-wrapper,
.button-group-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

/* 标签页 (Converter tabs) */
#tools_form .nav-tabs .nav-link {
    border: none;
    padding: 0.7rem 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}
#tools_form .nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: transparent;
}

/* 批量转换表格 */
.batch-table {
    font-size: 0.85rem;
}
.batch-table th {
    background: var(--bg-light);
}

/* 结果卡片 (rmb-convert) */
.result-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.result-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}
.result-upper {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    padding: 0.5rem;
    background: var(--primary-bg);
    border-radius: var(--radius-sm);
    word-break: break-all;
}

/* ============================================================
   18. 推广页面 (Promote)
   ============================================================ */
#promote_footer {
    background: var(--dark);
    color: #fff;
    padding: 30px 0;
}
#promote_footer a {
    color: rgba(255,255,255,0.7);
}
#promote_footer a:hover {
    color: #fff;
}

/* ============================================================
   19. 法律专题页面 (Special / 2026)
   ============================================================ */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem 1.2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.feature-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

/* 步骤卡片 - 紧凑型 */
.step-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}
.step-header .step-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.step-header .step-icon {
    font-size: 1.5rem;
    color: #667eea;
    transition: var(--transition);
}
.step-card:hover .step-icon {
    color: var(--primary);
    transform: scale(1.1);
}
.step-header .step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    transition: var(--transition);
}
.step-card:hover .step-title {
    color: var(--primary);
}
.step-header .step-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(102, 126, 234, 0.1);
    line-height: 1;
}
.step-description {
    font-size: 13px;
    color: var(--text);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}
.step-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step-details li {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    padding-left: var(--spacing-md);
    position: relative;
}
.step-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
}

/* 服务卡片 */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 联系咨询按钮 */
.btn-consult {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 60, 2, 0.3);
    color: #fff;
}

/* ============================================================
   20. 律师页面 (Lawyer)
   ============================================================ */
.lawyer-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

/* 律师Hero */
.lawyer-hero {
    background: var(--gradient);
    padding: 120px 0 80px;
    color: #fff;
    margin-top: 70px;
}

/* 律师介绍卡片 */
.lawyer-intro .intro-content {
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* 律师标题徽章 */
.lawyer-title-badge {
    font-size: 16px;
    margin-left: 20px;
    color: var(--text-light);
}

/* ============================================================
   20.1 律师个人页面 (Resume) - 参考 front.css
   ============================================================ */
.resume {
    padding-top: 10px;
}

.resume .resume-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #45505b;
}

.resume .resume-item {
    padding: 0 0 5px 20px;
    margin-top: -2px;
    border-left: 2px solid var(--primary);
    position: relative;
}

.resume .resume-item h4 {
    line-height: 20px;
    font-size: 16px;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    color: var(--primary);
    margin-bottom: 10px;
}

.resume .resume-item p {
    line-height: 1.5;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    margin-bottom: 10px;
}

.resume .resume-item h5 {
    font-size: 14px;
    background: #f7f8f9;
    padding: 5px 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
}

.resume .resume-item ul {
    padding-left: 20px;
}

.resume .resume-item ul li {
    padding-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}

.resume .resume-item:last-child {
    padding-bottom: 0;
}

.resume .resume-item::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    left: -9px;
    top: 0;
    background: #fff;
    border: 2px solid var(--primary);
}

.person_info ul li {
    padding-bottom: 10px;
    font-size: 14px;
}

/* 律师页面顶部信息区 */
.resume .content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.resume .content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-top: 15px;
    margin-bottom: 15px;
}

.resume .content ul li {
    list-style: none;
    padding-bottom: 8px;
    font-size: 14px;
}

.resume .content ul li i {
    color: var(--primary);
}

.resume .content ul li strong {
    color: var(--dark);
}

/* 律师简介段落 */
.lawyer-intro-text {
    font-size: 14px;
    text-indent: 2em;
    line-height: 1.5;
    color: var(--text);
}

/* ============================================================
   21. 知识库 (Guide)
   ============================================================ */
#knowledge_search {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
#knowledge_search #knowledge_button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* 搜索结果卡片 */
.search-result-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-bottom: 1rem;
}
.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ============================================================
   22. 法律体检 (Legal Health)
   ============================================================ */
.legal-health-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.legal-health-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.legal-health-card .card-header {
    border: none;
    background: var(--gradient);
    padding: 1rem 1.5rem;
}
.legal-health-card .card-header h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}
.legal-health-card .card-header i {
    margin-right: 0.4rem;
}

/* 统一开始体检按钮 */
.btn-health-start {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-health-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 60, 2, 0.35);
    color: #fff;
}
.btn-health-start:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 法律体检分隔区域 */
.legal-health-divider {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}
.legal-health-divider h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-md);
}
.legal-health-divider h2::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: calc(50% - 20px);
}
.legal-health-divider p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

/* 问卷页 */
.question-page {
    display: none;
}
.question-page.active {
    display: block;
}
.page-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}
.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e8ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}
.page-dot.active {
    background: var(--gradient);
    width: 24px;
    border-radius: 6px;
}

/* 问卷选项美化 */
.options-list .form-check {
    position: relative;
    padding: 0;
    margin: 0;
}
.options-list .form-check .form-check-input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.options-list .form-check .form-check-label {
    display: block;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--text);
    position: relative;
    background: #fff;
}
.options-list .form-check .form-check-label::before {
    content: '';
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: #fff;
}
.options-list .form-check .form-check-label::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient);
    transition: all 0.2s ease;
}
.options-list .form-check .form-check-input[type="radio"]:checked + .form-check-label {
    border-color: var(--primary);
    background: var(--primary-subtle);
}
.options-list .form-check .form-check-input[type="radio"]:checked + .form-check-label::before {
    border-color: var(--primary);
}
.options-list .form-check .form-check-input[type="radio"]:checked + .form-check-label::after {
    transform: translateY(-50%) scale(0.65);
}
.options-list .form-check .form-check-label:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

/* 提交加载 */
.submit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(55, 81, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.submit-overlay.show {
    opacity: 1;
    visibility: visible;
}
.submit-dialog {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.submit-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e8ecef;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.submit-dialog h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.submit-dialog p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.progress-percent {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* 进度条吸顶 */
.progress-sticky {
    position: relative;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* 企业信息卡片头部统一渐变 */
.legal-health-card .card-header.bg-primary,
.legal-health-card .card-header.bg-info {
    background: var(--gradient) !important;
    border: none;
}

/* 表单控件样式 */
.card-body .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}
.card-body .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.5;
    height: auto;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--dark);
}
.card-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
    outline: none;
}
.card-body .form-control::placeholder {
    color: var(--text-light);
    font-size: 0.85rem;
}
.card-body .text-danger {
    color: #dc2626 !important;
}

/* 题目项样式 */
.question-item {
    transition: all 0.3s ease;
    border-radius: 8px;
}
.question-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.question-item .d-flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.question-item .d-flex .badge {
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.category-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--gradient);
    color: #fff;
    border-radius: 4px;
}

/* 隐藏问卷页码卡片头部 */
.question-page .card-header {
    display: none !important;
}

/* 隐藏选项中的风险标记 */
.options-list .form-check-label span {
    display: none !important;
}
.options-list .form-check-label i {
    display: none !important;
}
.question-item .d-flex > span:nth-child(3) {
    display: none !important;
}

/* 选项列表间距 */
.options-list {
    margin-top: 0.5rem !important;
    padding-left: 1rem !important;
}
.options-list .form-check {
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}
.options-list .form-check-input {
    margin-right: 0.5rem !important;
    margin-top: 0.1rem !important;
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* 导航卡片 */
#navigationCard {
    border: none !important;
    box-shadow: none !important;
}
#navigationCard .card-body {
    padding: 1rem;
}
#navigationCard .row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}
#navigationCard .col-6 {
    flex: 0 0 auto;
    width: auto;
}
#navigationCard .btn {
    min-width: 80px;
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    max-width: 120px;
    white-space: nowrap;
}
#navigationCard .btn-lg {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
}

/* ============================================================
   22b. 法律体检报告页样式
   ============================================================ */
.report-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 3rem 4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    position: relative;
}
.report-header {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #dc2626;
}
.report-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}
.report-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.report-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}
.report-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.report-meta-item strong {
    color: #333;
}

/* 章节标题 */
.report-section {
    margin-bottom: 3rem;
}
.section-header-orange {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    border-bottom: 2px solid #dc2626;
}
.section-header-orange .section-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
    margin: 0;
}
.section-header-orange .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
    margin: 0;
}
.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid #dc2626;
}

/* 引言部分 */
.report-intro p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
    text-indent: 2em;
}
.report-intro h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.75rem;
}

/* 风险级别表格 */
.risk-level-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}
.risk-level-table thead {
    background: #ea580c;
    color: #fff;
}
.risk-level-table thead th {
    padding: 0.875rem 0.75rem;
    text-align: left;
    font-weight: 600;
    border: none;
}
.risk-level-table tbody td {
    padding: 0.875rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}
.risk-level-table tbody tr:hover {
    background: #f9fafb;
}
.risk-level-table .level-col { width: 140px; font-weight: 500; }
.risk-level-table .score-col { width: 100px; font-weight: 600; color: #ea580c; }
.risk-level-table .desc-col { width: auto; }
.risk-level-table .star-row { color: #ea580c; font-size: 0.9rem; }

/* 分数展示 */
.score-display {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    margin: 2rem 0;
}
.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}
.score-circle.low { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.score-circle.medium { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.score-circle.high { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.score-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.score-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
}
.risk-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
}
.risk-badge.low { background: #dcfce7; color: #16a34a; }
.risk-badge.medium { background: #fef3c7; color: #d97706; }
.risk-badge.high { background: #fee2e2; color: #dc2626; }
.score-comment {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 1rem;
    line-height: 1.6;
}

/* 模块得分表格 */
.module-scores-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.module-scores-table thead { background: #f9fafb; }
.module-scores-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}
.module-scores-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}
.module-scores-table tbody tr:hover { background: #f9fafb; }
.module-scores-table tbody tr:last-child td { border-bottom: none; }
.score-cell { font-weight: 600; }
.score-cell.good { color: #16a34a; }
.score-cell.warning { color: #d97706; }
.score-cell.danger { color: #dc2626; }

/* 风险等级标签 */
.risk-level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}
.risk-level-badge.low { background: #dcfce7; color: #16a34a; }
.risk-level-badge.medium { background: #fef3c7; color: #d97706; }
.risk-level-badge.high { background: #fee2e2; color: #dc2626; }

/* 风险项 */
.risk-item {
    background: #fff;
    border-left: 4px solid #dc2626;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.risk-item-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.risk-question {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
}
.risk-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}
.risk-detail-item { display: flex; gap: 0.5rem; }
.risk-detail-label { color: #6b7280; white-space: nowrap; }
.risk-detail-value { color: #374151; }

/* 整改建议列表 */
.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.suggestion-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #3b82f6;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
}
.suggestion-content {
    flex: 1;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
}

/* 法律依据列表 */
.law-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.law-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.law-item:last-child { border-bottom: none; }
.law-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.law-content {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.8;
    padding-left: 1.5rem;
}

/* 免责声明 */
.disclaimer-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}
.disclaimer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}
.disclaimer-content {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.8;
}
.disclaimer-content p { margin-bottom: 0.75rem; }
.disclaimer-content p:last-child { margin-bottom: 0; }

/* 报告尾部 */
.report-footer {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 2px solid #e5e7eb;
}
.report-footer p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* 打印按钮 */
.print-btn {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
}
.print-btn .btn {
    background: var(--gradient);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #fff;
}
.print-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* 模块评估结果卡片 */
.module-result-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.module-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.module-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}
.module-result-score {
    font-size: 1.125rem;
    font-weight: 700;
}
.module-result-score.good { color: #16a34a; }
.module-result-score.warning { color: #d97706; }
.module-result-score.danger { color: #dc2626; }
.module-result-body { padding: 1.25rem; }
.module-result-empty {
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* 报告页响应式 */
@media (max-width: 768px) {
    .report-container { padding: 1.5rem; }
    .report-meta { flex-direction: column; gap: 0.5rem; }
    .risk-details { grid-template-columns: 1fr; }
    .print-btn { position: static; margin-bottom: 1rem; }
    .score-circle { width: 140px; height: 140px; }
    .score-value { font-size: 2.5rem; }
}

@media print {
    .print-btn { display: none; }
    .report-container { box-shadow: none; padding: 0; max-width: 100%; }
    .submit-overlay { display: none !important; }
    #header { display: none !important; }
    #common-footer { display: none !important; }
    .back-to-top { display: none !important; }
}

/* ============================================================
   23. IP列表与详情页 (简洁版)
   ============================================================ */
/* 区域容器 */
.ip-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* 区域标题 - 简洁下划线样式 */
.ip-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: #fff;
    border-bottom: 2px solid var(--border);
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.ip-section-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    margin: 0;
}
.ip-section-header h3 i {
    color: var(--primary);
}
.ip-section-header .ip-read-more a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}
.ip-section-header .ip-read-more a:hover {
    color: var(--primary);
}

/* 卡片列表容器 */
.ip-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
/* 左侧大容器内的卡片列表：两列布局 */
.col-lg-8 .ip-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
}
/* 右侧小容器内的卡片列表：单列布局 */
.col-lg-4 .ip-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
}

/* 列表卡片项 - 简洁 */
.ip-card-item {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
.ip-card-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(240, 60, 2, 0.1);
}
.ip-card-item:hover .ip-card-title {
    color: var(--primary);
}

/* 卡片正文 */
.ip-card-body {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.ip-card-title {
    font-size: 14px;
    font-weight: normal;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}
.ip-card-meta {
    font-size: 14px;
    color: var(--text-light);
}

/* 热门知产（右侧） */
.ip-card-item-hot {
    /* 移除左侧边框 */
}
.ip-card-item-hot:hover {
    /* 移除左侧边框样式 */
}

/* 侧边栏热门知产列表（详情页） */
.ip-card-list-sidebar {
    display: block;
    margin: 0;
    padding: 0;
}
.ip-card-list-sidebar .ip-card-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border-left: 3px solid var(--primary);
}
.ip-card-list-sidebar .ip-card-item:last-child {
    margin-bottom: 0;
}
.ip-card-list-sidebar .ip-card-item:hover {
    transform: translateX(3px);
    border-left-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.1);
}
.ip-card-list-sidebar .ip-card-item .ip-card-title {
    font-size: 14px;
    font-weight: normal;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}
.ip-card-list-sidebar .ip-card-item:hover .ip-card-title {
    color: var(--primary);
}
.ip-card-list-sidebar .ip-card-item .ip-card-meta {
    font-size: 14px;
    color: var(--text-light);
}
.ip-card-list-sidebar .ip-card-item .ip-card-meta i {
    margin-right: 4px;
}

/* 空状态 */
.ip-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

/* 侧边卡片（律师信息） */
.ip-side-card {
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

/* 联系律师按钮 */
.btn-ip-contact {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.btn-ip-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 60, 2, 0.35);
    color: #fff;
}

/* 标签 */
.ip-tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 4px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}
.ip-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* ip-index.php 内联 Footer */
.ip-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 2.5rem 0 0;
}
.ip-footer h1,
.ip-footer h4 {
    color: #f1f5f9;
    font-weight: 700;
}
.ip-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}
.ip-footer a:hover {
    color: var(--primary);
}
.ip-footer .ip-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* 响应式 */
@media (max-width: 768px) {
    /* 详情页响应式 */
    .blog .entry.entry-single {
        padding: var(--spacing-md);
    }
    .blog .entry.entry-single .entry-title {
        font-size: 1.25rem;
    }
    /* 列表页响应式 */
    .blog .entry {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    .blog .entry .entry-title {
        font-size: 1rem;
    }
    /* 侧边栏响应式 */
    .blog .sidebar {
        margin: var(--spacing-md) 0 0 0;
        padding: var(--spacing-md);
    }
    .blog .sidebar .sidebar-title {
        font-size: 1rem;
    }
    /* IP侧边栏卡片响应式 */
    .ip-side-card {
        padding: var(--spacing-md);
        margin-top: var(--spacing-md);
    }
    .ip-side-card img {
        max-width: 100px;
    }
    .ip-detail-article {
        padding: var(--spacing-sm);
    }
    .ip-card-item {
        padding: 0.6rem 0.8rem;
    }
    .col-lg-8 .ip-card-list {
        grid-template-columns: 1fr;
    }
    .ip-footer {
        padding: 1.5rem 0 0;
    }
}

/* ============================================================
   24. 博客 (Blog) - 法律问答、知识产权详情页共用
   ============================================================ */
.blog .entry {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.blog .entry .entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
}
.blog .entry .entry-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}
.blog .entry .entry-title a:hover {
    color: var(--primary);
}

/* 文章元信息 */
.blog .entry .entry-meta {
    margin-bottom: var(--spacing-md);
    color: #9c847b;
}
.blog .entry .entry-meta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}
.blog .entry .entry-meta ul li + li {
    padding-left: 20px;
}
.blog .entry .entry-meta i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
}
.blog .entry .entry-meta a {
    color: #847872;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

/* 文章内容 */
.blog .entry .entry-content p {
    line-height: 1.5;
    color: var(--text);
    text-indent: 2em;
    margin-bottom: 0.3rem;
}

/* 查看详情按钮 */
.blog .entry .entry-content .read-more {
    text-align: right;
    margin-top: 12px;
}
.blog .entry .entry-content .read-more a {
    display: inline-block;
    background: var(--gradient);
    color: #fff;
    padding: 8px 24px;
    transition: var(--transition);
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
}
.blog .entry .entry-content .read-more a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.3);
}

/* 详情页文章样式 (entry-single) */
.blog .entry.entry-single {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xl);
    margin-bottom: 0;
}
.blog .entry.entry-single .entry-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
    line-height: 1.4;
    color: var(--dark);
}

/* 字号调整按钮 - 紧凑型 */
.font-size-control {
    font-size: 20px;
    color: #9c847b;
    margin-bottom: var(--spacing-md);
}
.font-size-control i {
    cursor: pointer;
    transition: var(--transition);
    color: #836a61;
}
.font-size-control i:hover {
    color: var(--primary);
    transform: scale(1.1);
}
.font-size-control i#plus {
    color: #667eea;
}
.font-size-control i#dash {
    color: #e74c3c;
}

.blog .entry.entry-single .entry-meta {
    text-align: center;
    margin-bottom: 30px;
    color: #9c847b;
}
.blog .entry.entry-single .entry-meta ul {
    justify-content: center;
}
.blog .entry.entry-single .entry-meta .meta-date time {
    color: #f03c02;
    font-weight: 600;
    font-size: 15px;
}
.blog .entry.entry-single .entry-meta .meta-views span {
    background-color: #f8f9fa;
    padding: 2px 12px;
    border-radius: 12px;
    color: #6c757d;
    font-size: 13px;
    display: inline-block;
}
.blog .entry.entry-single .entry-meta .meta-views i {
    color: #f03c02;
}
.blog .entry.entry-single .entry-content {
    line-height: 1.5;
    font-size: 15px;
}
.blog .entry.entry-single .entry-content p {
    margin-bottom: 0.3rem;
    text-indent: 2em;
}
.blog .entry.entry-single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1rem auto;
    display: block;
}
.blog .entry.entry-single .detail-article {
    line-height: 1.9;
}
.blog .entry.entry-single .detail-article p {
    margin-bottom: 1rem;
    text-indent: 2em;
}
.blog .entry.entry-single .detail-article h2,
.blog .entry.entry-single .detail-article h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-indent: 0;
}
.blog .entry.entry-single .entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}
.blog .entry.entry-single .entry-footer i {
    color: #836a61;
    margin-right: 8px;
}
.blog .entry.entry-single .entry-footer ul {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog .entry.entry-single .entry-footer ul li {
    display: inline;
}
.blog .entry.entry-single .entry-footer ul a {
    color: #745f56;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}
.blog .entry.entry-single .entry-footer ul a:hover {
    color: var(--primary);
}
.blog .entry.entry-single .entry-tags {
    margin-top: 20px;
}
.blog .entry.entry-single .entry-tags .btn-outline-secondary {
    color: #745f56;
    border-color: #ded5d2;
    font-size: 13px;
    padding: 4px 12px;
    margin: 2px;
    transition: var(--transition);
    text-decoration: none;
}
.blog .entry.entry-single .entry-tags .btn-outline-secondary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* IP侧边栏卡片 (联系律师) */
.ip-side-card {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    text-align: center;
    margin: 0 0 var(--spacing-lg) var(--spacing-sm);
}
.ip-side-card img {
    /*max-width: 150px;*/
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}
.ip-side-card p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 8px;
}
.ip-side-card .ip-read-more {
    margin-top: 15px;
}
.ip-side-card .btn-ip-contact {
    display: inline-block;
    background: var(--gradient);
    color: #fff;
    padding: 10px 24px;
    transition: var(--transition);
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
}
.ip-side-card .btn-ip-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.3);
}

/* 博客侧边栏 */
.blog .sidebar {
    padding: var(--spacing-lg);
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius-sm);
    margin: 0 0 var(--spacing-lg) var(--spacing-sm);
}
.blog .sidebar .sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    padding: 0 0 0 0;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--dark);
    position: relative;
}
.blog .sidebar .sidebar-item {
    margin-bottom: var(--spacing-lg);
}

/* 侧边栏搜索 */
.blog .sidebar .search-form form {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog .sidebar .search-form form input[type=text] {
    border: 0;
    padding: 8px 12px;
    border-radius: 6px;
    width: calc(100% - 44px);
    font-size: 14px;
    background: transparent;
    outline: none;
}
.blog .sidebar .search-form form input[type=text]:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(240, 60, 2, 0.2);
}
.blog .sidebar .search-form form button {
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    border: 0;
    background: var(--gradient);
    color: #fff;
    transition: var(--transition);
    border-radius: 6px;
    line-height: 0;
    padding: 0 14px;
    font-size: 16px;
    cursor: pointer;
}
.blog .sidebar .search-form form button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.25);
}

/* 侧边栏分类 */
.blog .sidebar .categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog .sidebar .categories ul li + li {
    padding-top: 10px;
}
.blog .sidebar .categories ul a {
    color: var(--dark);
    transition: var(--transition);
    text-decoration: none;
}
.blog .sidebar .categories ul a:hover {
    color: var(--primary);
}
.blog .sidebar .categories ul a span {
    padding-left: 5px;
    color: #b4aca8;
    font-size: 14px;
}

/* 侧边栏热门文章 */
.blog .sidebar .recent-posts .post-item + .post-item {
    margin-top: 15px;
}
.blog .sidebar .recent-posts h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.blog .sidebar .recent-posts h4 a {
    color: var(--dark);
    transition: var(--transition);
    text-decoration: none;
}
.blog .sidebar .recent-posts h4 a:hover {
    color: var(--primary);
}
.blog .sidebar .recent-posts time {
    display: block;
    font-size: 14px;
    color: #b4aca8;
}

/* 侧边栏标签 */
.blog .sidebar .tags {
    margin-bottom: -10px;
}
.blog .sidebar .tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog .sidebar .tags ul li {
    display: inline-block;
}
.blog .sidebar .tags ul a {
    color: #745f56;
    font-size: 14px;
    padding: 6px 14px;
    margin: 0 6px 8px 0;
    border: 1px solid #ded5d2;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
    border-radius: 4px;
}
.blog .sidebar .tags ul a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   25. 价格表 (Pricing)
   ============================================================ */
.pricing .box {
    background: #fff;
    padding: 40px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.pricing .box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.pricing h3 {
    font-weight: 700;
    font-size: 22px;
}
.pricing h4 {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
}
.pricing h4 sup {
    font-size: 28px;
}

/* ============================================================
   26. 测试/推荐语 (Testimonials / Case-card)
   ============================================================ */
.case_card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.case_card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ============================================================
   27. 搜索 (Search / home-modern / template)
   ============================================================ */
#tools_search {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
#tools_search form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
#tools_search #search_key_word {
    flex: 1;
    min-width: 200px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
}
#tools_search #search_key_word:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
    outline: none;
}

/* 模板页面 */
.template_btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.template_btn:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* ============================================================
   28. 模态框 (支持Modal等)
   ============================================================ */
#supportModal .modal-content {
    border-radius: var(--radius);
    border: none;
}
#supportModal .modal-header {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius) var(--radius) 0 0;
}
#supportModal .modal-header .btn-close {
    filter: brightness(10);
}

/* ============================================================
   29. 报告页面 (Legal-Health Reports)
   ============================================================ */
.report-container {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    border: 1px solid var(--border);
}
.report-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
}
.report-risk-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
}
.report-risk-badge.low { background: #d4edda; color: #155724; }
.report-risk-badge.medium { background: #fff3cd; color: #856404; }
.report-risk-badge.high { background: #f8d7da; color: #721c24; }

/* 打印样式 */
@media print {
    #header, #common-footer, .back-to-top,
    .navbar, #tools_search, #consult_button {
        display: none !important;
    }
    #page-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }
    body {
        margin: 0;
        padding: 0;
    }
}

/* ============================================================
   30. 响应式调整
   ============================================================ */
@media (max-width: 991px) {
    #hero {
        height: 50vh;
    }
    #hero .carousel-item {
        height: 50vh;
    }
    #hero h2 {
        font-size: 32px;
    }
}
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    #hero h2 {
        font-size: 28px;
    }
    #hero p {
        font-size: 16px;
    }
    .breadcrumbs h2 {
        font-size: 20px;
    }
    #tools_form .form-field {
        flex: 0 0 50%;
        max-width: 50%;
        min-width: 0;
    }
    #tools_form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .col-lg-8 .ip-card-list {
        grid-template-columns: 1fr;
    }
    .report-container {
        padding: 1rem;
    }
}
@media (max-width: 576px) {
    .back-to-top {
        bottom: 5px;
        right: 5px;
        width: 34px;
        height: 34px;
        line-height: 30px;
        font-size: 16px;
    }
    #tools_form {
        padding: 15px;
    }
    .section-title h2 {
        font-size: 24px;
    }
}

/* ============================================================
   31. 补充样式 (从原 front.css 提取的页面依赖样式)
   ============================================================ */

/* 隐藏标题 (breadcrumbs中使用) */
.title_defined {
    display: none;
}
.breadcrumbs .title_defined {
    display: none !important;
}

/* New标签 */
.new-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    vertical-align: middle;
    margin-left: 4px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.new-tag-no-gap {
    display: inline-block;
    background-color: red;
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 2px;
    vertical-align: middle;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
}

/* 作品筛选 (Portfolio Filter) */
.filter-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.filter-container::-webkit-scrollbar {
    display: none;
}
.portfolio #portfolio-filter {
    padding: 0;
    margin: 0 auto 10px auto;
    list-style: none;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
}
.portfolio #portfolio-filter li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px 10px 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    color: #4d4643;
    transition: all 0.3s;
    border-radius: 50px;
    margin: 0 5px;
}
.portfolio #portfolio-filter li:hover,
.portfolio #portfolio-filter li.filter-active {
    color: #fff;
    background: var(--primary);
}
.filter-tip {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    margin-bottom: 20px;
}
@media (min-width: 992px) {
    .portfolio #portfolio-filter li {
        display: inline-block !important;
    }
}
@media (max-width: 600px) {
    .portfolio #portfolio-filter li {
        padding: 6px 15px 8px 15px;
        font-size: 12px;
    }
}

/* 测试/推荐语 (Testimonials) */
.testimonials .testimonial-item {
    box-sizing: content-box;
    padding: 40px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    background: #fff;
}
.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50px;
    border: 6px solid #fff;
    float: left;
    margin: 0 10px 0 0;
}
.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
}
.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
}
.testimonials .testimonial-item p {
    font-style: italic;
    margin: 15px 0 0 0;
    padding: 0;
}
.testimonials .case_card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border);
}
.testimonials .case_card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.testimonials .icon-title-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}
.testimonials .icon-title-container .testimonial-icon {
    font-size: 2rem;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}
.testimonials .icon-title-container .m h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 var(--spacing-xs) 0;
}
.testimonials .icon-title-container .m h4 {
    font-size: 13px;
    font-weight: 500;
    color: #667eea;
    margin: 0;
}
.testimonials .testimonial-content {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}
.testimonial-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

/* 过程/步骤项 */
.process_item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}
.process_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 60, 2, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* 区块背景交替 */
.section-bg {
    background-color: #f6f3f2;
}
.special-section.section-bg {
    background: var(--bg-light);
}

/* Icon-box 通用 (special 页面使用) */
.icon-box {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 24px 18px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
}
.icon-box::before {
    content: '';
    position: absolute;
    background: rgba(240, 60, 2, 0.03);
    right: -60px;
    bottom: -60px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    transition: var(--transition);
    z-index: 2;
}
.icon-box:hover::before {
    background: rgba(240, 60, 2, 0.1);
    right: -30px;
    bottom: -30px;
    width: 150px;
    height: 150px;
}
.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(240, 60, 2, 0.12);
}
.icon-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1;
    transition: var(--transition);
    display: block;
}
.icon-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    transition: var(--transition);
}
.icon-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}
.icon-box:hover i {
    color: var(--primary-dark);
}
.icon-box:hover h4 {
    color: var(--primary);
}

/* 颜色辅助类 */
.text-yellow,
.text-yellow i { color: #f6c23e; }
.text-teal,
.text-teal i { color: #20c9a6; }
.text-primary i { color: var(--primary); }
.text-success i { color: #36b9cc; }
.text-danger i { color: #e74a3b; }
.text-warning i { color: #f6c23e; }

/* 首页搜索区域 #tools_search 补充 */
#search_main {
    padding: 0;
    margin: 0 auto 16px auto;
    list-style: none;
    text-align: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#search_main::-webkit-scrollbar {
    display: none;
}
#search_main li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 22px 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #5a5c69;
    transition: all 0.3s ease;
    border-radius: 24px;
    margin: 0 3px;
    letter-spacing: 0.5px;
}
#search_main li:hover {
    color: var(--primary);
    background: rgba(240, 60, 2, 0.06);
}
#search_main li.filter-active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(240, 60, 2, 0.4);
}
#tools_search form {
    margin-top: 12px;
    background: none !important;
    border: 1px solid #e0e0e0;
    padding: 4px;
    position: relative;
    border-radius: var(--radius);
    text-align: left;
    transition: all 0.3s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
}
#tools_search form:focus-within {
    border-color: rgba(240, 60, 2, 0.5);
    box-shadow: 0 0 0 3px rgba(240, 60, 2, 0.15);
    background: none !important;
}
#tools_search #search_key_word {
    flex: 1;
    min-width: 100px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
    background: none;
    outline: none;
}
#tools_search #search_key_word:focus {
    border: none;
    box-shadow: none;
    outline: none;
}
#tools_search #search_button,
#tools_search input[type="button"] {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}
#tools_search #search_button:hover {
    background: var(--primary-hover);
}
#tools_search ul.item_details {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
#tools_search ul.item_details li {
    padding: 5px 15px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-light);
}
#tools_search ul.item_details li:hover,
#tools_search ul.item_details li.filter-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 首页链接卡片 (_linkCard.php) */
.link-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    color: var(--dark);
}
.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--dark);
}
.link-card h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--primary);
}
.link-card small {
    color: var(--text-light);
    font-size: 12px;
}

/* 列表页样式 (list pages) */
.list-page-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}
.list-page-item:last-child {
    border-bottom: none;
}
.list-page-item a {
    color: var(--dark);
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
}
.list-page-item a:hover {
    color: var(--primary);
}
.list-page-item .meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

/* 详情页 (detail/lawyer) */
.detail-article {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.detail-article h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}
.detail-article .content {
    line-height: 1.8;
    font-size: 15px;
}
.detail-article .content p {
    margin-bottom: 1rem;
}

/* 提示框 */
.alert-icon {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.alert-icon i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 模板页面 (template.php) - 搜索样式与首页面 #tools_search 一致 */
#template_position {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
#template_position form {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    margin-top: 12px;
    background: none;
    border: 1px solid #e0e0e0;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: 0.3s;
}
#template_position form:focus-within {
    border-color: rgba(240, 60, 2, 0.5);
    box-shadow: 0 0 0 3px rgba(240, 60, 2, 0.15);
}
#template_position #template_key_word {
    flex: 1;
    min-width: 100px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
    background: none;
    outline: none;
}
#template_position #template_key_word:focus {
    border: none;
    box-shadow: none;
    outline: none;
}
#template_position #template_position_button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}
#template_position #template_position_button:hover {
    background: var(--primary-hover);
}

/* 模板页面 - 搜索无结果提示 (默认隐藏，有show类时显示) */
.template_note {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.template_note.show {
    display: block;
    opacity: 1;
    visibility: visible;
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-top: 1rem;
}
.template_note.show h3 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
}
.template_note.show p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
    #template_position form {
        flex-wrap: wrap;
    }
    #template_position #template_key_word {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
    }
    #template_position #template_position_button {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
    }
    .template_note.show {
        padding: 1.5rem;
    }
}

/* 搜索页面 (search) */
.search-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 20px;
}
.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* ============================================================
   32. Special Controller 视图通用样式
   (适用于 special/*.php 视图文件)
   ============================================================ */

/* --- 通用页面容器 --- */
.special-page {
    padding: 10px 0 10px;
}
.special-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- 概述区域 --- */
.solution-intro {
    padding: 10px 0 20px;
}
.solution-intro .intro-content,
.solution-intro .card.intro-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.solution-intro .intro-content p,
.solution-intro .card.intro-card .card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}
.solution-intro .intro-content p:last-child,
.solution-intro .card.intro-card .card-text:last-child {
    margin-bottom: 0;
}
/* intro-card 内 icon-box 行间距 */
.intro-card .icon-box-row {
    margin-top: 1rem;
}

/* --- Section 通用 -- */
.special-section {
    padding: 10px 0;
}
.special-section.section-bg {
    background: var(--bg-light);
}
.special-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}
.special-section .section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.special-section .section-title p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* --- 流程卡片 (process-card) --- */
.process-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.process-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.process-card .process-icon,
.process-card .process-icon-dark,
.process-card .process-icon-light {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.process-card .process-icon i,
.process-card .process-icon-dark i,
.process-card .process-icon-light i {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1;
}
.process-card .process-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
.process-card .process-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(240, 60, 2, 0.08);
    line-height: 1;
}
.process-card .process-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.process-card .process-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.process-card .process-details li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
}
.process-card .process-details li:last-child {
    margin-bottom: 0;
}
.process-card .process-details li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-size: 1rem;
}

/* --- 方案卡片 (solution-card) --- */
.solution-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}
.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.solution-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.solution-card .solution-icon,
.solution-card .solution-icon-dark,
.solution-card .solution-icon-light {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.solution-card .solution-icon i,
.solution-card .solution-icon-dark i,
.solution-card .solution-icon-light i {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1;
}
.solution-card .solution-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
.solution-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}
.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.solution-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
    text-align: left;
}
.solution-card ul li:last-child {
    margin-bottom: 0;
}
.solution-card ul li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.9rem;
}
.solution-card .solution-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(240, 60, 2, 0.08);
    line-height: 1;
}

/* --- 法律依据卡片 (law-card) --- */
.law-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}
.law-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.law-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.law-card .law-icon,
.law-card .law-icon-dark,
.law-card .law-icon-light {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.law-card .law-icon i,
.law-card .law-icon-dark i,
.law-card .law-icon-light i {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1;
}
.law-card .law-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
.law-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}
.law-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.law-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
    text-align: left;
}
.law-card ul li:last-child {
    margin-bottom: 0;
}
.law-card ul li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.85rem;
}
.law-card .law-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(240, 60, 2, 0.08);
    line-height: 1;
}

/* --- 信息卡片 (info-card) --- */
.info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.info-card:hover {
    box-shadow: var(--shadow-hover);
}
.info-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.info-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.info-card p:last-child {
    margin-bottom: 0;
}
.info-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.info-card ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}
.info-card ul li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.9rem;
}
.info-card strong {
    color: var(--primary);
}

/* --- 公式框 (formula-box) --- */
.formula-box {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 22px;
    margin: 20px 0;
}
.formula-box p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.formula-box p:last-child {
    margin-bottom: 0;
}
.formula-box code {
    background: var(--primary-subtle);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* --- Hero Section (special 页面顶部) --- */
.hero-section {
    background: var(--gradient);
    color: #fff;
    padding: 20px 0;
}
.hero-section h1 {
    color: #fff;
    font-weight: 700;
}
.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}
.hero-section .hero-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin: 0 0.5rem;
}
.hero-section .hero-btn-primary {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
}
.hero-section .hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    border-color: #fff;
}
.hero-section .hero-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}
.hero-section .hero-btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* --- 联系横幅 (contact-banner) --- */
.contact-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-banner .container {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 auto;
}
.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.contact-banner h2,
.contact-banner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #fff;
    position: relative;
}
.contact-banner p {
    font-size: 14px;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}
.contact-banner .phone-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}
.contact-banner .phone-number i {
    font-size: 1.5rem;
    margin-right: 10px;
}
.contact-banner .phone-number:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}
.contact-banner a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.contact-banner a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* --- 联系按钮 (contact-btn) --- */
.contact-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff !important;
    text-decoration: none !important;
    border: none !important;
    transition: var(--transition);
}
.contact-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #fff !important;
}

/* --- 服务链接 (service-link) --- */
.service-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-top: 1rem;
    background: var(--primary);
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    border: 2px solid var(--primary);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
}
.service-link:hover {
    background: #fff;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* --- 婚姻/民事等服务流程样式 (services.style2) --- */
.services.style2 {
    background: var(--bg-light);
    padding: 20px 0;
}
.services.style2 .section-title {
    text-align: center;
    margin-bottom: 40px;
}
.services.style2 .section-title h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}
.services.style2 .section-title h2 {
    font-size: 2rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
}
.services.style2 .section-title p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- 垂直时间线 (timeline-section) --- */
.timeline-section {
    padding: 10px 0;
    background: var(--bg-light);
}
.timeline-section .timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}
.timeline-section .timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}
.timeline-section .timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--gradient);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
}
.timeline-section .timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.timeline-section .timeline-item p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 0;
}

/* --- 水平时间线 (timeline-container) --- */
.timeline-container {
    position: relative;
    padding: 20px 0;
}
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 0;
}
.timeline .timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}
.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
    margin-bottom: 15px;
    margin-top: 12px;
}
.timeline-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    width: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(240, 60, 2, 0.15);
}
.timeline-content .step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(240, 60, 2, 0.2);
    margin-bottom: 5px;
}
.timeline-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.timeline-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   垂直时间线 (vertical-timeline) - 工伤赔偿处理流程
   参考 front.css timeline-section 样式
   ============================================================ */
.vertical-timeline {
    position: relative;
    padding: 20px 0;
    margin: 0;
    list-style: none;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.vertical-timeline .timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    min-height: 40px;
}

.vertical-timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.vertical-timeline .timeline-marker {
    position: absolute;
    left: 12px;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(240, 60, 2, 0.2);
}

.vertical-timeline .timeline-content {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.vertical-timeline .timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 60, 2, 0.1);
}

.vertical-timeline .timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.vertical-timeline .timeline-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}

/* ===== Process Card (工伤流程卡片) ===== */
.process-card {
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    height: 100%;
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-card-header {
    /*padding: 10px 15px;*/
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
}

.process-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.process-card-body {
    padding: 10px 15px;
}

.process-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}

/* 不同步骤的颜色变体 */
.process-card-info .process-step-number {
    background: #0dcaf0;
}

.process-card-secondary .process-step-number {
    background: #6c757d;
}

.process-card-danger .process-step-number {
    background: #dc3545;
}

.process-card-warning .process-step-number {
    background: #ffc107;
    color: #212529;
}

.process-card-success .process-step-number {
    background: #198754;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .process-card-header {
        padding: 8px 12px;
    }
    
    .process-card-body {
        padding: 8px 12px;
    }
    
    .process-step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .process-card-title {
        font-size: 14px;
    }
    
    .process-card-desc {
        font-size: 12px;
    }
}

/* --- Responsive: Special Controller --- */
@media (max-width: 991.98px) {
    .special-section {
        padding: 10px 0;
    }
    .special-section .section-title {
        margin-bottom: 25px;
    }
    .special-section .section-title h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .special-page {
        padding: 10px 0 30px;
    }
    .special-section {
        padding: 10px 0;
    }
    .solution-intro {
        padding: 20px 0 15px;
    }
    .solution-intro .intro-content {
        padding: 15px;
    }
    .process-card,
    .solution-card,
    .law-card {
        padding: 20px 15px;
    }
    .process-card .process-icon,
    .process-card .process-icon-dark,
    .process-card .process-icon-light,
    .solution-card .solution-icon,
    .solution-card .solution-icon-dark,
    .solution-card .solution-icon-light,
    .law-card .law-icon,
    .law-card .law-icon-dark,
    .law-card .law-icon-light {
        width: 40px;
        height: 40px;
    }
    .process-card .process-icon i,
    .process-card .process-icon-dark i,
    .process-card .process-icon-light i,
    .solution-card .solution-icon i,
    .solution-card .solution-icon-dark i,
    .solution-card .solution-icon-light i,
    .law-card .law-icon i,
    .law-card .law-icon-dark i,
    .law-card .law-icon-light i {
        font-size: 1rem;
    }
    .process-card .process-title,
    .solution-card .solution-title,
    .law-card .law-title {
        font-size: 1.1rem;
    }
    .process-card .process-number,
    .solution-card .solution-number,
    .law-card .law-number {
        font-size: 2rem;
        top: 5px;
        right: 10px;
    }
    .special-section .section-title h2 {
        font-size: 1.25rem;
    }
    .contact-banner {
        padding: var(--spacing-lg) 0;
        margin-bottom: 65px; /* 移动端预留间距给 fixed footer，确保视觉间距约10px */
    }
    .contact-banner h2,
    .contact-banner h3 {
        font-size: 1.25rem;
    }
    .contact-banner p {
        font-size: 13px;
    }
    .contact-banner .phone-number {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
}

/* ============================================================
   33. 法律法规页面 (law/*.php)
   ============================================================ */

/* 法律法规快速定位搜索框 */
#law_position {
    background: #fff;
    border-radius: var(--radius);
    padding: 15px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
#law_position form {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    background: none;
    border: 2px solid #e3e6f0;
    padding: 3px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
#law_position form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(240, 60, 2, 0.1);
}
#law_position #law_key_word {
    flex: 1;
    min-width: 100px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
    background: none;
    outline: none;
    color: var(--text);
}
#law_position #law_key_word::placeholder {
    color: #a0a5b5;
}
#law_position #law_position_button {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
#law_position #law_position_button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.25);
}

/* 显示全部按钮 */
#law_reset_button {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
#law_reset_button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.25);
}

/* 法条样式 */
.entry-content .item_ {
    text-align: center;
    text-indent: 2em;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 1.5rem 0 1rem;
}
.entry-content p[class^="item"],
.entry-content p[class*=" item"] {
    line-height: 1.5;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 0.3rem;
    text-indent: 2em;
}

/* 数据来源样式 */
.entry-content .law-source {
    text-align: center;
    margin-bottom: 1rem;
}
.entry-content .law-source span {
    color: #000080;
    font-size: 14px;
}

/* 法案通过信息样式 */
.entry-content .law-info {
    text-align: center;
    color: #000080;
    font-family: "楷体", "楷体_GB2312", "KaiTi", serif;
    font-size: 14px;
    margin-bottom: 1rem;
}

/* ============================================================
   34. 咨询页面 (consult.php)
   ============================================================ */

/* 咨询简介区域 */
.consult-intro {
    padding: 40px 0 10px;
    text-align: center;
}
.consult-intro p {
    font-size: 0.95rem;
    color: #888;
    max-width: 560px;
    margin: 0 auto;
}
.consult-areas {
    padding: 20px 0 10px;
}
.consult-areas .area-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
    background: #f5f5f5;
    margin: 3px 2px;
    transition: var(--transition);
    text-decoration: none;
}
.consult-areas .area-tag i {
    margin-right: 6px;
    color: var(--primary);
}
.consult-areas .area-tag:hover {
    color: var(--primary);
    background: rgba(240, 60, 2, 0.06);
}

/* 咨询表单区域 */
.consult-form-section {
    padding: 20px 0 50px;
}
.consult-form-wrapper {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.consult-form-wrapper textarea {
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    padding: 14px;
    font-size: 15px;
    resize: vertical;
    min-height: 120px;
    transition: var(--transition);
    line-height: 1.6;
    width: 100%;
}
.consult-form-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(240, 60, 2, 0.08);
    outline: none;
}
.consult-form-wrapper textarea::placeholder {
    color: #bbb;
}

/* 咨询按钮 */
.btn-consult {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 32px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}
.btn-consult:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 60, 2, 0.25);
}
.btn-consult:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.btn-reset {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    padding: 9px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-reset:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* 咨询提示 */
.consult-notice {
    font-size: 0.82rem;
    color: #999;
    margin-top: 12px;
    line-height: 1.7;
}
.consult-notice i {
    color: var(--primary);
    margin-right: 4px;
}

/* 咨询结果显示 */
#result_html {
    margin-top: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
}
#result_html h1,
#result_html h2,
#result_html h3 {
    color: var(--dark);
    margin-top: 16px;
    font-weight: 700;
}
#result_html p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}
#result_html ul,
#result_html ol {
    padding-left: 20px;
    margin-bottom: 1rem;
}
#result_html li {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 0.5rem;
}
#result_html table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}
#result_html th,
#result_html td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    font-size: 0.9rem;
}
#result_html th {
    background: var(--bg-light);
    font-weight: 600;
}
#result_html blockquote {
    border-left: 3px solid var(--primary);
    padding: 8px 16px;
    margin: 12px 0;
    background: var(--bg-light);
    color: var(--text);
}

/* ============================================================
   35. 搜索页面 (search/*.php) - 律师执业便利手册
   ============================================================ */

/* 搜索页面头部 */
.page-header {
    background: var(--gradient);
    padding: 30px 0;
    margin-bottom: 20px;
}
.page-header-content {
    color: #fff;
}
.page-header-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}
.page-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 0.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}
.page-header-icon i {
    font-size: 1.1rem;
}
.page-header-search {
    max-width: 800px;
    margin: 0 auto;
}

/* 搜索输入组 */
.search-input-group {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.search-input-group .form-select {
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 6px 10px;
    font-size: 14px;
    background: #f8f9fc;
    flex: 0 0 auto;
    min-width: 80px;
    cursor: pointer;
}
.search-input-group input[type="text"] {
    flex: 1;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
    min-width: 200px;
}
.search-input-group input[type="text"]::placeholder {
    color: #999;
}
.search-input-group input[type="button"] {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.search-input-group input[type="button"]:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* 搜索结果卡片 */
.search-result-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.search-result-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}
.search-result-card .card-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
}
.search-result-card .card-footer {
    background: transparent;
    border-top: 1px solid var(--border);
    padding: 12px 0 0;
    margin-top: 15px;
}
.search-result-card .card-footer .text-muted {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 搜索无结果提示 */
.search-empty-alert {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.search-empty-alert .alert-icon-aside {
    font-size: 2rem;
    color: var(--primary);
}
.search-empty-alert .alert-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}
.search-empty-alert p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* step-icon 图标样式 */
.step-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

/* ============================================================
   36. 模板页面补充样式 (template.php)
   ============================================================ */

/* 模板页面头部 */
.template-position-header {
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 20px;
}
.template-position-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.template-position-date {
    font-size: 0.9rem;
    margin: 0;
    color: #dc3545;
}

/* portfolio-item 模板卡片样式补充 */
.portfolio .portfolio-item {
    margin-bottom: 20px;
}
.portfolio .portfolio-item .card {
    background: #fff;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}
.portfolio .portfolio-item .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 60, 2, 0.15);
    border-color: var(--primary);
}
.portfolio .portfolio-item .card-body {
    padding: 20px;
}
.portfolio .portfolio-item .card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--dark);
}
.portfolio .portfolio-item .card-text {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
    line-height: 1.5;
}
.portfolio .portfolio-item .text-yellow {
    color: #f59e0b;
}

/* lift 效果 */
.lift {
    transition: var(--transition);
}
.lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   23. 图片压缩工具样式 (Image Tool)
   ============================================================ */

.image-tool-wrapper {
    padding: 28px 32px;
}

.image-tool-wrapper .image-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.image-tool-wrapper .image-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.image-tool-wrapper .image-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.image-tool-wrapper .image-drop-zone {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 24px;
}

.image-tool-wrapper .image-drop-zone:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.image-tool-wrapper .image-drop-zone i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.image-tool-wrapper .image-drop-zone p {
    margin: 12px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.image-tool-wrapper .file-upload-wrapper {
    margin-top: 16px;
}

.image-tool-wrapper .file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.image-tool-wrapper .file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(240, 60, 2, 0.25);
}

.image-tool-wrapper .file-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 60, 2, 0.35);
}

.image-tool-wrapper .file-upload-btn:active {
    transform: translateY(0);
}

.image-tool-wrapper .file-upload-btn i {
    font-size: 1.1rem;
}

.image-tool-wrapper .image-settings-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    height: 100%;
}

.image-tool-wrapper .image-settings-card .card-header {
    background: var(--gradient);
    border-bottom: none;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
}

.image-tool-wrapper .image-settings-card .card-body {
    padding: 20px;
}

.image-tool-wrapper .image-settings-card .form-group {
    margin-bottom: 16px;
}

.image-tool-wrapper .image-settings-card .form-group:last-child {
    margin-bottom: 0;
}

.image-tool-wrapper .image-settings-card .col-form-label {
    font-size: 0.85rem;
    color: var(--text);
    padding-top: 8px;
    padding-bottom: 8px;
}

.image-tool-wrapper .image-settings-card .form-control,
.image-tool-wrapper .image-settings-card .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text);
    background: #fff;
    transition: var(--transition);
}

.image-tool-wrapper .image-settings-card .form-control:focus,
.image-tool-wrapper .image-settings-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
    outline: none;
}

.image-tool-wrapper .image-settings-card .help-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    padding: 0 12px;
}

.image-tool-wrapper .image-info-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    margin-bottom: 16px;
}

.image-tool-wrapper .image-info-card:last-child {
    margin-bottom: 0;
}

.image-tool-wrapper .image-info-card .card-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.image-tool-wrapper .image-info-card .card-header .btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.image-tool-wrapper .image-info-card .card-header .btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.image-tool-wrapper .image-info-card .card-body {
    padding: 16px;
}

.image-tool-wrapper .image-info-card .img-preview {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-tool-wrapper .image-info-card .img-preview img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.image-tool-wrapper .image-info-card dl.row {
    margin-bottom: 0;
}

.image-tool-wrapper .image-info-card dt {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    padding: 4px 0;
}

.image-tool-wrapper .image-info-card dd {
    font-size: 0.82rem;
    color: var(--text);
    padding: 4px 0;
}
.lift-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   37. 响应式补充
   ============================================================ */
@media (max-width: 768px) {
    /* 法律法规页面 */
    #law_position {
        padding: 15px;
    }
    #law_position form {
        flex-wrap: wrap;
    }
    #law_position #law_key_word {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
    }
    #law_position #law_position_button {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
    }

    /* 咨询页面 */
    .consult-intro {
        padding: 30px 0 10px;
    }
    .consult-form-wrapper {
        padding: 20px;
    }
    .btn-consult {
        padding: 10px 24px;
    }

    /* 搜索页面 */
    .search-input-group {
        flex-wrap: wrap;
    }
    .search-input-group .form-select {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
    }
    .search-input-group input[type="text"] {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
    }
    .search-input-group input[type="button"] {
        flex: 1 0 100%;
        border-radius: var(--radius-sm);
    }

    /* 模板页面 */
    .template-position-title {
        font-size: 1.25rem;
    }

    /* 工具表单响应式 */
    #tools_form {
        padding: 15px;
    }
    #tools_form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 0 10px;
    }
    #tools_form .form-field {
        grid-column: span 1;
        padding: 0;
        margin-bottom: 0;
    }
    #tools_form .button-group-wrapper {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ============================================================
   38. 律师页面 - 服务承诺与保障 (Guarantee)
   ============================================================ */

/* 服务保障卡片 - 紧凑型 */
.guarantee-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}
.guarantee-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.guarantee-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: #fff;
    font-size: 1.5rem;
}
.guarantee-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}
.guarantee-description {
    font-size: 13px;
    color: var(--text);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}
.guarantee-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.guarantee-features li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}
.guarantee-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 律师页面响应式 */
@media (max-width: 768px) {
    .about-us .content .icon-box {
        padding: var(--spacing-sm);
    }
    .about-us .content .icon-box i {
        font-size: 24px;
    }
    .step-card {
        padding: var(--spacing-md);
    }
    .step-header .step-title {
        font-size: 14px;
    }
    .testimonials .case_card {
        padding: var(--spacing-md);
    }
    .guarantee-card {
        padding: var(--spacing-md);
    }
    .guarantee-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ============================================================
   38. 日期选择面板 (custom.date.js)
   ============================================================ */
.erp-date-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 280px;
    font-family: var(--font-body);
    font-size: 14px;
}
.erp-date-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.erp-date-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.erp-date-nav:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--primary);
}
.erp-date-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
.erp-date-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 6px 6px 2px;
}
.erp-date-weekdays span {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}
.erp-date-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 4px 6px 6px;
}
.erp-date-day {
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    padding: 6px 0;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.erp-date-day:hover {
    background: var(--primary-bg);
    color: var(--primary);
}
.erp-date-day-other {
    color: var(--text-muted);
    opacity: 0.5;
}
.erp-date-day-today {
    border-color: var(--primary);
    font-weight: 600;
}
.erp-date-day-active {
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
}
.erp-date-day-active:hover {
    color: #fff;
}
.erp-date-panel-footer {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.erp-date-foot-btn {
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.erp-date-foot-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--primary);
}
.erp-date-foot-primary {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}
.erp-date-foot-primary:hover {
    color: #fff;
    opacity: 0.9;
}

/* ============================================================
   24. 律师推广页面样式 (Promote/Lawyer Pages)
   ============================================================ */

/* ===== 律师头部和导航 ===== */
.lawyer-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.lawyer-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.lawyer-header .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lawyer-header .brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.lawyer-header .brand span {
    color: var(--primary);
}

.lawyer-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.lawyer-nav a {
    padding: 8px 0 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
}

.lawyer-nav a:hover,
.lawyer-nav a.active {
    color: var(--primary);
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .lawyer-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .lawyer-nav.open {
        display: flex;
    }

    .lawyer-nav a {
        width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        border-bottom: 1px solid var(--border);
    }

    .lawyer-nav a:last-child {
        border-bottom: none;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 80px 0 40px;
    background: var(--gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.hero-section .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-section .hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.hero-section .hero-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.hero-contact-card {
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    padding: 18px;
}

.hero-contact-card h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.hero-contact-card h3 i {
    color: var(--primary);
    margin-right: 6px;
}

.hero-contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.hero-contact-card p i {
    width: 18px;
    color: var(--primary);
    margin-right: 6px;
}

.hero-contact-card a {
    color: #fff;
    text-decoration: none;
}

.hero-contact-card a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 35px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-contact-card {
        margin-top: 18px;
    }
}

/* ===== Lawyer Intro ===== */
.lawyer-intro {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
}

.lawyer-intro .row {
    display: flex;
    align-items: stretch;
}

.lawyer-intro .img-col {
    display: flex;
    align-items: stretch;
}

.lawyer-intro .img-col .profile-img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    border: 3px solid var(--primary);
    box-shadow: 0 3px 15px rgba(240, 60, 2, 0.2);
}

.lawyer-intro .intro-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text);
}

.lawyer-intro .qualifications {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 14px;
    border-left: 3px solid var(--primary);
}

.lawyer-intro .qualifications h4 {
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.lawyer-intro .qualifications ul {
    margin-bottom: 0;
    padding-left: 18px;
}

.lawyer-intro .qualifications li {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.85rem;
}

.lawyer-intro .qualifications li::marker {
    color: var(--primary);
}

@media (max-width: 768px) {
    .lawyer-intro {
        padding: 15px;
    }

    .lawyer-intro .row {
        display: block;
    }

    .lawyer-intro .img-col {
        display: block;
    }

    .lawyer-intro .img-col .profile-img {
        max-width: 200px;
        height: auto;
        margin: 0 auto 15px;
        display: block;
    }
}

/* ===== Feature Cards (Services) ===== */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.feature-card .icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--primary-subtle);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    margin-bottom: 0;
    vertical-align: middle;
    transition: var(--transition);
    flex-shrink: 0; /* 防止图标容器收缩 */
    position: relative; /* 为子元素绝对定位提供基准 */
}

.feature-card:hover .icon-wrap {
    background: var(--primary);
}

.feature-card .icon-wrap i {
    font-size: 1.1rem;
    color: var(--primary);
    transition: var(--transition);
    position: absolute; /* 绝对定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 向左向上移动自身宽高的50% */
}

.feature-card:hover .icon-wrap i {
    color: #fff;
}

.feature-card .feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* ===== Case Cards ===== */
.case-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.case-card .case-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-subtle);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    margin-bottom: 0;
    vertical-align: middle;
    flex-shrink: 0;
}

.case-card .case-icon i {
    font-size: 0.85rem;
    color: var(--primary);
}

.case-card .case-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.case-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-light);
}

.case-card > p {
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
}

.case-card .result {
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: 5px;
    border-left: 3px solid var(--primary);
}

.case-card .result strong {
    color: var(--primary);
    font-size: 0.75rem;
    display: block;
    margin-bottom: 2px;
}

.case-card .result span {
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.5;
}

/* ===== Contact Section ===== */
.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-item-box {
    text-align: center;
    padding: 14px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.contact-item-box:hover {
    background: var(--bg-light);
    box-shadow: var(--shadow-hover);
}

.contact-item-box i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-item-box h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item-box p {
    color: var(--text);
    font-size: 0.82rem;
    margin-bottom: 0;
}

.contact-item-box a {
    color: var(--primary);
    font-weight: 600;
}

.contact-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.contact-badges .badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
}

.badge-primary-custom {
    background: var(--primary);
    color: #fff;
}

.badge-secondary-custom {
    background: var(--bg-gray);
    color: var(--text-light);
}

/* ===== Lawyer Footer ===== */
.lawyer-footer {
    background: #1e293b; /* 与网站整体风格一致的深蓝灰色 */
    color: #e2e8f0;
    padding: 20px 0 15px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: -70px; /* 抵消 body padding-bottom，与浏览器底部无间隔 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.lawyer-footer h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.lawyer-footer p {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
}

.lawyer-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lawyer-footer ul li {
    margin-bottom: 6px;
}

.lawyer-footer ul li a {
    color: #94a3b8;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.lawyer-footer ul li a:hover {
    color: #fff;
    padding-left: 3px;
}

.lawyer-footer ul li a i {
    font-size: 12px;
    margin-right: 6px;
    color: var(--primary);
}

.lawyer-footer .contact-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #94a3b8;
}

.lawyer-footer .contact-item i {
    width: 16px;
    color: var(--primary);
    margin-right: 8px;
}

.lawyer-footer .contact-item a {
    color: #94a3b8;
    text-decoration: none;
}

.lawyer-footer .contact-item a:hover {
    color: #fff;
}

.lawyer-footer .qrcode-img {
    max-width: 100px;
    border-radius: 6px;
}

.lawyer-footer .copyright-text {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .lawyer-footer {
        display: none !important;
    }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
    line-height: 0;
}

.back-to-top i {
    line-height: 0;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    color: #fff;
}

/* ===== Section Backgrounds & Padding ===== */
.bg-section-light {
    background: var(--bg-light);
}

.section-padding {
    padding: var(--spacing-section) 0;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.2rem;
    }

    .contact-card {
        padding: 18px;
    }

    .hero-btns .btn-custom {
        width: 100%;
        justify-content: center;
    }
}
