/*
Theme Name: 见田律所
Theme URI: https://www.jtlawyer.com.cn
Author: 见田律所技术部
Author URI: https://www.jtlawyer.com.cn
Description: 见田律师事务所官方网站主题，深海蓝专业风格，适配律所品牌形象。
Version: 1.0.0
License: GPL v2 or later
Text Domain: jiantian
*/

/* ============================================
   全局变量 —— 深海蓝 · 专业沉稳
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

:root {
    --bg-main: #f8fafc;
    --bg-elevated: #f1f4f8;
    --bg-card: #ffffff;
    --bg-alt: #f4f7fb;
    --bg-soft: #eef2f7;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --text-pale: #999999;
    --accent: #162f5f;
    --accent-dark: #0f2347;
    --accent-deep: #0a1628;
    --accent-light: #2a4d7a;
    --shadow-dark: rgba(0, 0, 0, 0.07);
    --shadow-light: rgba(255, 255, 255, 0.80);
    --radius-card: 20px;
    --radius-sm: 14px;
    --radius-btn: 40px;
    --shadow-neumo: 6px 6px 18px var(--shadow-dark), -4px -4px 14px var(--shadow-light);
    --shadow-neumo-soft: 4px 4px 10px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
    --shadow-neumo-inset: inset 6px 6px 16px var(--shadow-dark), inset -4px -4px 12px var(--shadow-light);
    --shadow-neumo-inset-soft: inset 4px 4px 10px var(--shadow-dark), inset -3px -3px 8px var(--shadow-light);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-light: 1px solid rgba(0, 0, 0, 0.05);
    --border-soft: 1px solid rgba(0, 0, 0, 0.07);
    --border-accent: 1px solid rgba(22, 47, 95, 0.20);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ----- 通用标题 ----- */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, var(--accent) 40%, var(--accent-light) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title .divider {
    width: 56px;
    height: 3px;
    background: var(--accent);
    margin: 14px auto 0;
    border-radius: 6px;
    opacity: 0.7;
}
.section-title p {
    color: var(--text-light);
    font-size: 17px;
    margin-top: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* ----- 按钮 ----- */
.btn {
    padding: 14px 40px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    background: var(--bg-card);
    color: var(--text-dark);
    box-shadow: var(--shadow-neumo);
}
.btn i {
    font-size: 15px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(22, 47, 95, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 47, 95, 0.30);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-dark);
    box-shadow: var(--shadow-neumo);
    border: var(--border-accent);
}
.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 24px var(--shadow-dark), -6px -6px 18px var(--shadow-light);
    border-color: var(--accent-dark);
}

/* ----- 滚动条 ----- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 20px;
}

/* ============================================
   通用组件：面包屑、分页、卡片等
   ============================================ */
.breadcrumb-wrap {
    padding: 24px 0 12px;
    background: var(--bg-elevated);
    border-bottom: var(--border-soft);
}
.breadcrumb-wrap .breadcrumb {
    font-size: 14px;
    color: var(--text-light);
}
.breadcrumb-wrap .breadcrumb a {
    color: var(--accent);
    transition: var(--transition);
}
.breadcrumb-wrap .breadcrumb a:hover {
    color: var(--text-dark);
}
.breadcrumb-wrap .breadcrumb .sep {
    margin: 0 8px;
    color: var(--text-pale);
}
.breadcrumb-wrap .breadcrumb .current {
    color: var(--text-mid);
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pagination .page-btn,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    background: var(--bg-card);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-soft);
    transition: var(--transition);
    cursor: pointer;
}
.pagination .page-btn:hover,
.pagination .page-numbers:hover {
    box-shadow: var(--shadow-neumo);
    transform: translateY(-2px);
    color: var(--text-dark);
}
.pagination .page-btn.active,
.pagination .page-numbers.current {
    background: var(--bg-elevated);
    box-shadow: var(--shadow-neumo-inset-soft);
    color: var(--accent);
    border-color: var(--accent);
}
.pagination .page-btn.arrow {
    font-size: 16px;
    padding: 0 20px;
}
.pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
    cursor: default;
}

/* ============================================
   右侧固定悬浮咨询栏（全局）
   ============================================ */
.float-consult {
    position: fixed;
    right: 24px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}
.float-item {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.float-item:hover {
    transform: scale(1.08);
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
}
.float-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-50%) scale(0.95);
}
.float-item:hover .float-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.float-tooltip.qr-tooltip {
    white-space: normal;
    width: 160px;
    padding: 12px;
    text-align: center;
}
.float-tooltip.qr-tooltip .qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-pale);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.float-tooltip.qr-tooltip .qr-label {
    font-size: 12px;
    color: var(--text-light);
}
.toast-copy {
    position: fixed;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-dark);
    color: #fff;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
    letter-spacing: 0.3px;
}
.toast-copy.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .float-consult {
        right: 16px;
        bottom: 100px;
    }
    .float-item {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .float-tooltip {
        right: 58px;
        padding: 8px 14px;
        font-size: 13px;
    }
    .float-tooltip.qr-tooltip {
        width: 140px;
    }
    .float-tooltip.qr-tooltip .qr-placeholder {
        width: 100px;
        height: 100px;
    }
    .toast-copy {
        bottom: 170px;
        font-size: 13px;
        padding: 8px 20px;
    }
}

/* ============================================
   头部导航
   ============================================ */
header {
    background: var(--bg-card);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: var(--border-soft);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.logo-wrapper {
    display: flex;
    align-items: center;
}
.logo {
    font-family: 'Georgia', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px 6px 16px;
    border-radius: var(--radius-btn);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
.logo i {
    color: var(--accent);
    font-size: 22px;
}
.logo span {
    color: var(--accent);
}
.logo img {
    max-height: 40px;
    width: auto;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
    transition: var(--transition);
    cursor: default;
    white-space: nowrap;
}
.header-phone i {
    color: var(--accent);
    font-size: 16px;
}
.header-phone:hover {
    box-shadow: var(--shadow-neumo);
    transform: translateY(-1px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px 12px;
    border-radius: var(--radius-btn);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
nav ul li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    padding: 8px 18px;
    border-radius: 40px;
    transition: var(--transition);
    letter-spacing: 0.2px;
    background: transparent;
}
nav ul li a:hover,
nav ul li a.active,
nav ul li.current-menu-item a {
    color: var(--text-dark);
    background: var(--bg-elevated);
    box-shadow: inset 3px 3px 8px var(--shadow-dark), inset -3px -3px 8px var(--shadow-light);
    border: var(--border-light);
}
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: var(--bg-card);
    border: none;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-neumo-soft);
    transition: var(--transition);
    border: var(--border-light);
}
.hamburger:hover {
    box-shadow: var(--shadow-neumo-inset-soft);
}

@media (max-width: 1024px) {
    .header-inner {
        justify-content: space-between;
    }
    .header-phone {
        font-size: 14px;
        padding: 6px 14px;
    }
}
@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 8px;
    }
    .logo-wrapper {
        flex: 1;
    }
    .header-phone {
        order: 2;
        margin-left: auto;
    }
    .hamburger {
        order: 3;
        display: block;
    }
    nav {
        order: 4;
        width: 100%;
    }
    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 20px 16px;
        margin-top: 12px;
        border-radius: var(--radius-card);
        background: var(--bg-card);
        box-shadow: var(--shadow-neumo);
        border: var(--border-light);
    }
    nav ul.show {
        display: flex;
    }
    nav ul li a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .logo {
        font-size: 22px;
        padding: 4px 14px 4px 12px;
    }
}
@media (max-width: 600px) {
    .header-phone {
        font-size: 13px;
        padding: 4px 12px;
        gap: 4px;
    }
    .header-phone i {
        font-size: 14px;
    }
}

/* ============================================
   首页专属样式（Banner, About, Practice, Team, Honors, Service, News）
   ============================================ */
/* ---- Banner ---- */
.banner {
    padding: 0;
    background: var(--bg-main);
    border-bottom: var(--border-soft);
    position: relative;
    overflow: hidden;
}
.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.25;
    z-index: 2;
}
.banner-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 7;
    min-height: 280px;
    background: var(--bg-main);
}
.banner-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.banner-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-elevated);
    overflow: hidden;
}
.banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    z-index: 1;
    pointer-events: none;
}
.banner-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(22, 47, 95, 0.06);
    z-index: 1;
}
.deco-1 {
    top: 15%;
    right: 10%;
    width: 80px;
    height: 80px;
}
.deco-2 {
    bottom: 20%;
    left: 8%;
    width: 40px;
    height: 40px;
    background: rgba(22, 47, 95, 0.08);
}
.deco-3 {
    top: 30%;
    left: 5%;
    width: 20px;
    height: 20px;
    background: rgba(22, 47, 95, 0.05);
}
.banner-slide .slide-content {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    padding: 30px 50px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    position: relative;
    z-index: 2;
}
.banner-slide h1 {
    font-family: 'Georgia', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.banner-slide h1 i {
    color: var(--accent);
    margin-right: 12px;
}
.banner-slide h1 .gold {
    color: var(--accent);
}
.banner-slide p {
    font-size: 18px;
    color: var(--text-mid);
    margin-bottom: 28px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.8;
}
.banner-slide .btn-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 40px;
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-elevated);
    box-shadow: inset 2px 2px 6px var(--shadow-dark), inset -2px -2px 6px var(--shadow-light);
    cursor: pointer;
    transition: var(--transition);
    border: var(--border-light);
}
.banner-dots span.active {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent);
    transform: scale(1.15);
}
@media (max-width: 768px) {
    .banner-carousel {
        aspect-ratio: 16 / 7;
        min-height: 200px;
    }
    .banner-slide .slide-content {
        padding: 20px 24px;
    }
    .banner-slide h1 {
        font-size: 28px;
    }
    .banner-slide p {
        font-size: 16px;
    }
    .deco-1,
    .deco-2,
    .deco-3 {
        display: none;
    }
}
@media (max-width: 480px) {
    .banner-slide h1 {
        font-size: 22px;
    }
    .banner-slide p {
        font-size: 14px;
    }
}

/* ---- Keyword Cloud ---- */
.keyword-cloud {
    padding: 36px 0 44px;
    background: var(--bg-card);
    border-bottom: var(--border-soft);
}
.keyword-cloud .cloud-title {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.keyword-cloud .cloud-title i {
    color: var(--accent);
    margin-right: 8px;
}
.keyword-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}
.keyword-tag {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 40px;
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    cursor: default;
}
.keyword-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neumo);
    color: var(--accent);
}
.keyword-tag i {
    margin-right: 6px;
    color: var(--accent);
    font-size: 13px;
}

/* ---- About ---- */
.about {
    padding: 72px 0;
    background: var(--bg-main);
    border-bottom: var(--border-soft);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-text h3 {
    font-family: 'Georgia', serif;
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.about-text p {
    color: var(--text-mid);
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.9;
}
.about-carousel {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    min-height: 220px;
    aspect-ratio: 4/3;
}
.about-carousel .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}
.about-carousel .slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--accent);
    background: var(--bg-card);
}
.about-carousel .slide .placeholder-text {
    font-size: 17px;
    color: var(--text-light);
    background: var(--bg-elevated);
    padding: 10px 32px;
    border-radius: 40px;
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
    letter-spacing: 0.3px;
}
.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 40px;
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
.carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-elevated);
    box-shadow: inset 2px 2px 6px var(--shadow-dark), inset -2px -2px 6px var(--shadow-light);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dots span.active {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent);
    transform: scale(1.15);
}
.stats-highlight {
    margin-top: 48px;
    padding: 24px 32px;
    background: var(--bg-elevated);
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow-neumo-inset-soft);
}
.stats-highlight span {
    font-size: 15px;
    color: var(--text-mid);
}
.stats-highlight strong {
    font-size: 18px;
    color: var(--text-dark);
    margin-right: 4px;
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .stats-highlight {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ---- Practice Tabs ---- */
.practice-tabs {
    padding: 72px 0;
    background: var(--bg-card);
    border-bottom: var(--border-soft);
}
.practice-tabs .container-inner {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 50px 40px 60px;
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
}

/* ===== 选项卡导航：2排居中 ===== */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-bottom: 40px;
    padding: 16px 20px;
    border-radius: var(--radius-card);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
    width: 100%;
    max-width: 100%;
}

.tab-btn {
    flex: 0 1 auto;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: default;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.tab-btn i {
    margin-right: 8px;
    color: var(--accent);
}
.tab-btn:hover {
    color: var(--text-dark);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
.tab-btn.active {
    color: var(--text-dark);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-inset-soft);
    color: var(--accent);
    border: var(--border-light);
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0.6;
}

.tabs-content {
    position: relative;
    min-height: 260px;
}
.tab-panel {
    display: none;
    gap: 40px;
    align-items: center;
    animation: fadeIn 0.5s ease;
}
.tab-panel.active {
    display: flex;
}
@keyframes fadeIn {
    0% { opacity: 0.4; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.panel-image {
    flex: 0 0 38%;
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--accent);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
}
.panel-image span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 12px;
    font-family: 'Georgia', serif;
}
.panel-image small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 4px;
}
.panel-desc {
    flex: 1;
}
.panel-desc h3 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.panel-desc p {
    color: var(--text-mid);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}
.panel-desc ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.panel-desc ul li {
    font-size: 15px;
    color: var(--text-mid);
    position: relative;
    padding-left: 20px;
}
.panel-desc ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 10px;
    top: 3px;
}
@media (max-width: 768px) {
    .practice-tabs .container-inner {
        padding: 30px 18px;
    }
    .tab-panel.active {
        flex-direction: column;
        gap: 28px;
    }
    .panel-image {
        flex: 1 1 auto;
        width: 100%;
        min-height: 140px;
        font-size: 48px;
    }
    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    .tabs-nav {
        gap: 6px 10px;
        padding: 12px 14px;
    }
}
@media (max-width: 480px) {
    .tabs-nav {
        gap: 4px 8px;
        padding: 10px 10px;
    }
    .tab-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    .tab-btn i {
        margin-right: 4px;
        font-size: 11px;
    }
}
/* ---- Team (首页 & 律师列表) ---- */
.team {
    padding: 72px 0;
    background: var(--bg-main);
    border-bottom: var(--border-soft);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.team-member {
    display: block;
    transition: var(--transition);
    text-align: center;
    padding: 28px 20px 24px;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    position: relative;
    cursor: pointer;
}
.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 8px 8px 28px var(--shadow-dark), -8px -8px 28px var(--shadow-light);
}
.team-member:hover .team-line {
    width: 52px;
    opacity: 0.8;
}
.team-photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    margin-bottom: 18px;
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
}
.team-photo .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: var(--text-pale);
    background: var(--bg-elevated);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 14px;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0.6;
}
.team-info h4 {
    font-family: 'Georgia', serif;
    font-size: 19px;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}
.team-info .position {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    margin-top: 2px;
}
.team-info .fields {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .team-member {
        padding: 18px 12px 16px;
    }
    .team-photo .placeholder {
        font-size: 32px;
    }
    .team-info h4 {
        font-size: 16px;
    }
    .team-info .fields {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
}

/* ---- Honors Scroll ---- */
.honors-scroll {
    padding: 72px 0;
    background: var(--bg-card);
    border-bottom: var(--border-soft);
    overflow: hidden;
}
.honors-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
}
.honors-track {
    display: flex;
    gap: 28px;
    transition: transform 0.8s ease;
    will-change: transform;
    width: max-content;
}
.honor-item {
    flex: 0 0 220px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 26px 18px 24px;
    text-align: center;
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    transition: var(--transition);
    position: relative;
}
.honor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.honor-item:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
}
.honor-img {
    width: 100%;
    height: 120px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--text-pale);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
}
.honor-item h4 {
    font-family: 'Georgia', serif;
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.honor-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}
.honor-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}
.honor-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-elevated);
    box-shadow: inset 2px 2px 6px var(--shadow-dark), inset -2px -2px 6px var(--shadow-light);
    cursor: pointer;
    transition: var(--transition);
    border: var(--border-light);
}
.honor-dots span.active {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent);
    transform: scale(1.15);
}
@media (max-width: 600px) {
    .honor-item {
        flex: 0 0 170px;
        padding: 18px 12px 16px;
    }
    .honor-img {
        height: 90px;
        font-size: 26px;
    }
}

/* ---- Service Integrated ---- */
.service-integrated {
    padding: 72px 0;
    background: var(--bg-main);
    border-bottom: var(--border-soft);
}
.service-integrated .advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: var(--border-soft);
}
.adv-item {
    text-align: center;
    padding: 30px 18px 26px;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    transition: var(--transition);
    position: relative;
}
.adv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.adv-item:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
}
.adv-item i {
    font-size: 38px;
    color: var(--accent);
    margin-bottom: 14px;
}
.adv-item h4 {
    font-family: 'Georgia', serif;
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.adv-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}
.service-integrated .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.step-item {
    text-align: center;
    padding: 26px 16px 24px;
    border-radius: var(--radius-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    transition: var(--transition);
    position: relative;
}
.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
}
.step-item .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    margin-bottom: 14px;
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
}
.step-item h4 {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.step-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}
.step-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent);
    opacity: 0.35;
}
@media (max-width: 992px) {
    .service-integrated .advantages,
    .service-integrated .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .step-item:not(:last-child)::after {
        display: none;
    }
    .service-integrated .advantages {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
}
@media (max-width: 600px) {
    .service-integrated .advantages,
    .service-integrated .steps {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .adv-item {
        padding: 20px 12px 18px;
    }
    .step-item {
        padding: 18px 12px 16px;
    }
}

/* ---- News Tabs (首页) ---- */
.news-tabs {
    padding: 72px 0;
    background: var(--bg-card);
    border-bottom: var(--border-soft);
}
.news-tabs .news-nav {
    display: flex;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 40px;
    padding: 12px 20px;
    border-radius: var(--radius-card);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
    flex-wrap: wrap;
}
.news-tab-btn {
    padding: 8px 26px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: default;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.2px;
}
.news-tab-btn i {
    margin-right: 8px;
    color: var(--accent);
}
.news-tab-btn:hover {
    color: var(--text-dark);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
.news-tab-btn.active {
    color: var(--text-dark);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-inset-soft);
    color: var(--accent);
    border: var(--border-light);
}
.news-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0.6;
}
.news-panels {
    position: relative;
}
.news-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    animation: fadeIn 0.5s ease;
}
.news-panel.active {
    display: grid;
}
.news-item {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    transition: var(--transition);
    padding: 0;
    position: relative;
}
.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.news-item:hover {
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
    transform: translateY(-2px);
}
.news-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    color: var(--text-dark);
    text-decoration: none;
    width: 100%;
    height: 100%;
    gap: 16px;
    border-radius: var(--radius-card);
}
.news-title {
    font-family: 'Georgia', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
    min-width: 0;
    word-break: break-word;
    transition: color 0.2s;
    line-height: 1.4;
}
.news-item-link:hover .news-title {
    color: var(--accent);
}
.news-date {
    font-size: 14px;
    color: var(--text-light);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-date i {
    font-size: 13px;
    opacity: 0.7;
}
@media (max-width: 768px) {
    .news-panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-item-link {
        padding: 14px 18px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .news-title {
        font-size: 15px;
        flex: 1 1 100%;
        margin-bottom: 2px;
    }
    .news-date {
        font-size: 13px;
        flex: 0 0 auto;
    }
}

/* ============================================
   案例列表页 & 新闻列表页 通用卡片
   ============================================ */
.cases-grid-section {
    padding: 40px 0 48px;
    background: var(--bg-main);
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    min-height: 360px;
}
.case-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    padding: 24px 24px 28px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 8px 8px 28px var(--shadow-dark), -8px -8px 28px var(--shadow-light);
}
.case-card .card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-elevated);
    padding: 2px 14px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    align-self: flex-start;
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.case-card h3 {
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.case-card:hover h3 {
    color: var(--accent);
}
.case-card .case-summary {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-card .case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
    border-top: var(--border-light);
    padding-top: 14px;
    margin-top: 4px;
}
.case-card .case-meta i {
    margin-right: 4px;
    color: var(--accent);
}
.case-card .case-meta .read-more {
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.case-card .case-meta .read-more:hover {
    transform: translateX(4px);
}
.no-cases {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
}
.no-cases i {
    font-size: 48px;
    color: var(--text-pale);
    margin-bottom: 16px;
    display: block;
}

/* 案例分类选项卡 */
.cases-tabs {
    padding: 32px 0 8px;
    background: var(--bg-main);
    border-bottom: var(--border-light);
}
.tabs-nav-scroll {
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.tabs-nav-scroll::-webkit-scrollbar {
    height: 4px;
}
.tabs-nav-scroll::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 10px;
}
.tabs-nav-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;        /* 必须有 */
    justify-content: center; /* 居中 */
    width: 100%;            /* 防止溢出 */
    max-width: 100%;
}
.tab-btn {
    flex: 0 1 auto;         /* 允许收缩，不要用 0 0 auto */
    white-space: nowrap;    /* 文字不换行 */
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-card);
    border: var(--border-light);
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-neumo-soft);
    letter-spacing: 0.2px;
}
.tab-btn i {
    margin-right: 8px;
    color: var(--accent);
}
.tab-btn:hover {
    color: var(--text-dark);
    box-shadow: var(--shadow-neumo);
    transform: translateY(-2px);
}
.tab-btn.active {
    color: var(--text-dark);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-inset-soft);
    border-color: var(--accent);
    color: var(--accent);
}
.tab-btn.active i {
    color: var(--accent);
}

/* 新闻列表页（category）专有样式 */
.news-page {
    padding: 40px 0 72px;
    background: var(--bg-main);
}
.news-page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 28px;
}
.news-categories .cat-btn {
    padding: 8px 24px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-card);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-soft);
    transition: var(--transition);
    letter-spacing: 0.2px;
    cursor: pointer;
}
.news-categories .cat-btn i {
    margin-right: 6px;
    color: var(--accent);
}
.news-categories .cat-btn:hover {
    color: var(--text-dark);
    box-shadow: var(--shadow-neumo);
    transform: translateY(-1px);
}
.news-categories .cat-btn.active {
    color: var(--text-dark);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-neumo-inset-soft);
    border-color: var(--accent);
    color: var(--accent);
}
.news-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: var(--border-light);
}
.news-list-header .total {
    font-size: 15px;
    color: var(--text-light);
}
.news-list-header .total strong {
    color: var(--text-dark);
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-card {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    padding: 20px 24px 20px 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    align-items: stretch;
}
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0.15;
    border-radius: 0 4px 4px 0;
}
.news-card:hover {
    box-shadow: 8px 8px 28px var(--shadow-dark), -8px -8px 28px var(--shadow-light);
    transform: translateY(-3px);
}
.news-card .card-thumb {
    flex: 0 0 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-pale);
    min-height: 120px;
    aspect-ratio: 4/3;
}
.news-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.news-card .card-body .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.news-card .card-body .meta .tag {
    display: inline-block;
    padding: 2px 14px;
    border-radius: 40px;
    background: var(--bg-elevated);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-soft);
}
.news-card .card-body h3 {
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}
.news-card .card-body h3 a:hover {
    color: var(--accent);
}
.news-card .card-body .summary {
    color: var(--text-mid);
    font-size: 15px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-card .card-body .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: var(--border-light);
}
.news-card .card-body .card-footer .read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-card .card-body .card-footer .read-more:hover {
    color: var(--text-dark);
    gap: 10px;
}
.news-card .card-body .card-footer .views {
    font-size: 13px;
    color: var(--text-pale);
}
.news-card .card-body .card-footer .views i {
    margin-right: 4px;
}
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        padding: 18px 18px 20px;
    }
    .news-card .card-thumb {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16/9;
        min-height: auto;
        font-size: 36px;
    }
    .news-card .card-body h3 {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .news-card .card-body h3 {
        font-size: 16px;
    }
    .news-categories .cat-btn {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* ---- 侧边栏通用 ---- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.sidebar .widget,
.page-sidebar .widget {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    padding: 24px 22px 28px;
    transition: var(--transition);
    position: relative;
}
.sidebar .widget::before,
.page-sidebar .widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    opacity: 0.4;
}
.sidebar .widget:hover,
.page-sidebar .widget:hover {
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
}
.sidebar .widget .widget-title,
.page-sidebar .widget .widget-title {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar .widget .widget-title i,
.page-sidebar .widget .widget-title i {
    color: var(--accent);
}
.hot-list {
    list-style: none;
    padding: 0;
}
.hot-list li {
    padding: 12px 0;
    border-bottom: var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.hot-list li:last-child {
    border-bottom: none;
}
.hot-list li .hot-index {
    flex: 0 0 26px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-pale);
    text-align: center;
    line-height: 1.6;
}
.hot-list li .hot-index.top {
    color: var(--accent);
}
.hot-list li .hot-link {
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
    line-height: 1.5;
}
.hot-list li .hot-link:hover {
    color: var(--accent);
}
.hot-list li .hot-link small {
    display: block;
    font-size: 12px;
    color: var(--text-pale);
    font-weight: 400;
    margin-top: 2px;
}
.cat-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cat-cloud .cat-tag {
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 13px;
    color: var(--text-mid);
    background: var(--bg-elevated);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-soft);
    transition: var(--transition);
}
.cat-cloud .cat-tag:hover {
    box-shadow: var(--shadow-neumo);
    transform: translateY(-2px);
    color: var(--accent);
}
.cat-cloud .cat-tag i {
    margin-right: 4px;
    color: var(--accent);
    font-size: 11px;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud .tag-item {
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-elevated);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-soft);
    transition: var(--transition);
}
.tag-cloud .tag-item:hover {
    box-shadow: var(--shadow-neumo);
    transform: translateY(-2px);
    color: var(--accent);
}
.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-mid);
    margin-bottom: 14px;
    line-height: 1.6;
}
.contact-info p i {
    width: 20px;
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-info p:last-child {
    margin-bottom: 0;
}
.contact-info .work-hour {
    font-size: 14px;
    color: var(--text-light);
}
.contact-info .contact-btn {
    margin-top: 16px;
    display: inline-block;
}

/* ============================================
   页面（Page）专有样式
   ============================================ */
.page-content {
    padding: 44px 0 72px;
    background: var(--bg-main);
}
.page-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.page-main {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    padding: 40px 44px 48px;
    transition: var(--transition);
    position: relative;
}
.page-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 4px;
    background: var(--accent);
    border-radius: 0 0 6px 0;
    opacity: 0.4;
}
.page-main:hover {
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.08), -8px -8px 30px var(--shadow-light);
}
.page-header-title h1 {
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: var(--border-soft);
}
.page-body {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.9;
}
.page-body p {
    margin-bottom: 1.5em;
}
.page-body h2 {
    font-family: 'Georgia', serif;
    font-size: 26px;
    color: var(--text-dark);
    margin-top: 1.8em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    position: relative;
}
.page-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 4px;
}
.page-body h3 {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 1.4em;
    margin-bottom: 12px;
}
.page-body ul,
.page-body ol {
    padding-left: 24px;
    margin-bottom: 1.5em;
}
.page-body li {
    margin-bottom: 0.5em;
}
.page-body blockquote {
    margin: 1.5em 0;
    padding: 16px 28px;
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--text-mid);
    font-style: italic;
    box-shadow: var(--shadow-neumo-inset-soft);
}
.page-body .image-placeholder {
    width: 100%;
    aspect-ratio: 16/7;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin: 1.8em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-pale);
    border: var(--border-soft);
    box-shadow: var(--shadow-neumo-inset-soft);
    background-size: cover;
    background-position: center;
}
@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .page-main {
        padding: 24px 18px 28px;
    }
    .page-header-title h1 {
        font-size: 26px;
    }
    .page-body {
        font-size: 15px;
    }
}

/* ============================================
   文章详情页（single）专有样式
   ============================================ */
.article-page {
    padding: 44px 0 72px;
    background: var(--bg-main);
}
.article-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.article-main {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    padding: 40px 44px 48px;
    transition: var(--transition);
    position: relative;
}
.article-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 4px;
    background: var(--accent);
    border-radius: 0 0 6px 0;
    opacity: 0.4;
}
.article-main:hover {
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.08), -8px -8px 30px var(--shadow-light);
}
.article-header {
    margin-bottom: 28px;
    border-bottom: var(--border-soft);
    padding-bottom: 24px;
}
.article-header .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.article-header .article-meta .tag {
    display: inline-block;
    padding: 2px 16px;
    border-radius: 40px;
    background: var(--bg-elevated);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-soft);
}
.article-header .article-meta .date i,
.article-header .article-meta .author i {
    margin-right: 4px;
}
.article-header .article-title {
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 8px;
}
.article-header .article-subtitle {
    font-size: 17px;
    color: var(--text-mid);
    font-weight: 400;
    margin-top: 4px;
}
.article-body {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.9;
}
.article-body p {
    margin-bottom: 1.5em;
}
.article-body h3 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: var(--text-dark);
    margin: 1.8em 0 0.8em;
    font-weight: 600;
}
.article-body h4 {
    font-family: 'Georgia', serif;
    font-size: 20px;
    color: var(--text-dark);
    margin: 1.4em 0 0.6em;
    font-weight: 500;
}
.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 1.5em;
}
.article-body li {
    margin-bottom: 0.5em;
}
.article-body blockquote {
    margin: 1.5em 0;
    padding: 16px 28px;
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--text-mid);
    font-style: italic;
    box-shadow: var(--shadow-neumo-inset-soft);
}
.article-body .image-placeholder {
    width: 100%;
    aspect-ratio: 16/7;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin: 1.8em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-pale);
    border: var(--border-soft);
    box-shadow: var(--shadow-neumo-inset-soft);
    background-size: cover;
    background-position: center;
}
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 40px 0 32px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-card);
    border: var(--border-soft);
    box-shadow: var(--shadow-neumo-soft);
    transition: var(--transition);
}
.article-nav:hover {
    box-shadow: var(--shadow-neumo);
}
.article-nav .nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.article-nav .nav-item.next {
    text-align: right;
    align-items: flex-end;
}
.article-nav .nav-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-nav .nav-item.next .nav-label {
    flex-direction: row-reverse;
}
.article-nav .nav-label i {
    font-size: 12px;
    color: var(--accent);
}
.article-nav .nav-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    line-height: 1.4;
    word-break: break-word;
}
.article-nav .nav-title:hover {
    color: var(--accent);
}
.article-nav .nav-empty {
    font-size: 14px;
    color: var(--text-pale);
    font-weight: 400;
}
.article-nav .nav-divider {
    width: 1px;
    background: var(--border-soft);
    flex-shrink: 0;
}
.article-footer {
    margin-top: 8px;
    padding-top: 28px;
    border-top: var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.article-footer .share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}
.article-footer .share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
    color: var(--text-mid);
    transition: var(--transition);
}
.article-footer .share a:hover {
    box-shadow: var(--shadow-neumo);
    transform: translateY(-2px);
    color: var(--accent);
}
.article-footer .back-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.article-footer .back-link:hover {
    color: var(--text-dark);
    gap: 12px;
}
.related-list {
    list-style: none;
    padding: 0;
}
.related-list li {
    padding: 12px 0;
    border-bottom: var(--border-light);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.related-list li:last-child {
    border-bottom: none;
}
.related-list li .related-thumb {
    flex: 0 0 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-pale);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
    overflow: hidden;
}
.related-list li .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-list li .related-info {
    flex: 1;
}
.related-list li .related-info a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    line-height: 1.4;
}
.related-list li .related-info a:hover {
    color: var(--accent);
}
.related-list li .related-info .rel-date {
    display: block;
    font-size: 12px;
    color: var(--text-pale);
    margin-top: 2px;
}
@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .article-main {
        padding: 24px 18px 28px;
    }
    .article-header .article-title {
        font-size: 26px;
    }
    .article-body {
        font-size: 15px;
    }
    .article-body h3 {
        font-size: 22px;
    }
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .sidebar {
        grid-template-columns: 1fr;
    }
    .article-nav {
        flex-direction: column;
        gap: 16px;
        padding: 16px 18px;
    }
    .article-nav .nav-item.next {
        text-align: left;
        align-items: flex-start;
    }
    .article-nav .nav-divider {
        display: none;
    }
}
@media (max-width: 480px) {
    .article-header .article-title {
        font-size: 22px;
    }
    .article-body {
        font-size: 14px;
    }
    .article-nav .nav-title {
        font-size: 13px;
    }
}

/* ============================================
   律师详情页（single-lawyer）专有样式
   ============================================ */
.page-nav {
    padding: 24px 0 12px;
    background: var(--bg-main);
    border-bottom: var(--border-light);
}
.page-nav .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-light);
    transition: var(--transition);
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    background: var(--bg-card);
    box-shadow: var(--shadow-neumo-soft);
    border: var(--border-light);
}
.page-nav .back-link:hover {
    color: var(--accent);
    box-shadow: var(--shadow-neumo);
    transform: translateX(-4px);
}
.lawyer-detail {
    padding: 48px 0 60px;
    background: var(--bg-alt);
    border-bottom: var(--border-light);
}
.detail-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}
.detail-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 32px 24px 28px;
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    text-align: center;
    position: sticky;
    top: 100px;
}
.lawyer-avatar {
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: var(--text-pale);
    box-shadow: var(--shadow-neumo-inset-soft);
    border: var(--border-light);
    max-width: 200px;
    overflow: hidden;
}
.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-sidebar .lawyer-name {
    font-family: 'Georgia', serif;
    font-size: 28px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}
.detail-sidebar .lawyer-title {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.3px;
}
.detail-sidebar .lawyer-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 18px;
    border-radius: 40px;
    background: var(--bg-elevated);
    color: var(--text-mid);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.sidebar-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 8px;
}
.sidebar-tags span {
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--bg-elevated);
    color: var(--text-mid);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.sidebar-info {
    text-align: left;
    font-size: 14px;
    color: var(--text-mid);
}
.sidebar-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: var(--border-light);
}
.sidebar-info .info-item:last-child {
    border-bottom: none;
}
.sidebar-info .info-item i {
    width: 20px;
    color: var(--accent);
    margin-top: 4px;
    font-size: 15px;
}
.sidebar-info .info-item .label {
    font-weight: 500;
    color: var(--text-dark);
}
.sidebar-info .info-item .value {
    color: var(--text-light);
}
.detail-content {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 40px 44px;
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
}
.content-section {
    margin-bottom: 36px;
}
.content-section:last-child {
    margin-bottom: 0;
}
.content-section .section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}
.content-section h2 {
    font-family: 'Georgia', serif;
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.content-section p {
    color: var(--text-mid);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
}
.content-section p:last-child {
    margin-bottom: 0;
}
.lawyer-bio p:last-child {
    margin-bottom: 0;
}
.content-section .case-block {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    margin: 20px 0 10px;
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.content-section .case-block h4 {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.content-section .case-block p {
    font-size: 15px;
    margin-bottom: 0;
}
.content-section .service-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 16px 0 8px;
}
.content-section .service-fields span {
    font-size: 14px;
    padding: 6px 20px;
    border-radius: 40px;
    background: var(--bg-elevated);
    color: var(--text-mid);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.consult-cta {
    margin-top: 40px;
    padding: 32px 36px;
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    text-align: center;
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.consult-cta h3 {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.consult-cta p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}
.consult-cta .btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .detail-sidebar {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    .detail-content {
        padding: 32px 28px;
    }
}
@media (max-width: 600px) {
    .detail-content {
        padding: 24px 18px;
    }
    .content-section h2 {
        font-size: 22px;
    }
    .content-section .case-block {
        padding: 18px 16px;
    }
    .consult-cta {
        padding: 24px 18px;
    }
    .consult-cta h3 {
        font-size: 19px;
    }
    .detail-sidebar .lawyer-avatar {
        max-width: 140px;
        font-size: 52px;
    }
    .detail-sidebar .lawyer-name {
        font-size: 24px;
    }
}

/* ============================================
   搜索页（search）专有样式
   ============================================ */
.search-page {
    padding: 40px 0 72px;
    background: var(--bg-main);
}
.search-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: var(--border-soft);
}
.search-header h1 {
    font-family: 'Georgia', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.search-form-wrap {
    max-width: 500px;
    margin-bottom: 16px;
}
.search-form-wrap form {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-btn);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}
.search-form-wrap form:focus-within {
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
    border-color: var(--accent);
}
.search-form-wrap input[type="text"] {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}
.search-form-wrap input[type="text"]::placeholder {
    color: var(--text-pale);
}
.search-form-wrap button {
    padding: 14px 24px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.search-form-wrap button:hover {
    background: var(--accent-dark);
}
.search-count {
    font-size: 16px;
    color: var(--text-light);
}
.search-count strong {
    color: var(--text-dark);
}
.search-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.search-item {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    padding: 20px 24px;
    transition: var(--transition);
    align-items: flex-start;
}
.search-item:hover {
    box-shadow: 8px 8px 28px var(--shadow-dark), -8px -8px 28px var(--shadow-light);
    transform: translateY(-3px);
}
.search-item .search-thumb {
    flex: 0 0 120px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated);
    border: var(--border-light);
    box-shadow: var(--shadow-neumo-inset-soft);
}
.search-item .search-thumb i {
    font-size: 36px;
    color: var(--text-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.search-item .search-info {
    flex: 1;
}
.search-item .search-info h3 {
    font-family: 'Georgia', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.search-item .search-info h3 a:hover {
    color: var(--accent);
}
.search-item .search-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.search-item .search-meta i {
    margin-right: 4px;
    color: var(--accent);
}
.search-item .search-excerpt {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
}
.no-results i {
    font-size: 64px;
    color: var(--text-pale);
    margin-bottom: 20px;
    opacity: 0.5;
}
.no-results h3 {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.no-results p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto 24px;
}
.no-results .suggest-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .search-item {
        flex-direction: column;
        padding: 16px 18px;
    }
    .search-item .search-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: 140px;
    }
    .search-header h1 {
        font-size: 28px;
    }
    .search-form-wrap {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .search-item .search-info h3 {
        font-size: 16px;
    }
    .no-results h3 {
        font-size: 20px;
    }
}

/* ============================================
   404 页面专有样式
   ============================================ */
.error-404 {
    padding: 80px 0 100px;
    background: var(--bg-main);
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.error-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: 'Georgia', serif;
    font-size: 120px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.6;
}
.error-number .error-icon {
    font-size: 80px;
    color: var(--text-pale);
    opacity: 0.4;
}
.error-content h1 {
    font-family: 'Georgia', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.error-content p {
    font-size: 18px;
    color: var(--text-mid);
    margin-bottom: 32px;
}
.error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.error-search {
    padding-top: 32px;
    border-top: var(--border-soft);
}
.error-search p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.error-search form {
    display: flex;
    max-width: 420px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-btn);
    box-shadow: var(--shadow-neumo);
    border: var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}
.error-search form:focus-within {
    box-shadow: 8px 8px 24px var(--shadow-dark), -8px -8px 24px var(--shadow-light);
    border-color: var(--accent);
}
.error-search input[type="text"] {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
}
.error-search input[type="text"]::placeholder {
    color: var(--text-pale);
}
.error-search button {
    padding: 14px 24px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.error-search button:hover {
    background: var(--accent-dark);
}
.error-links {
    margin-top: 32px;
    padding-top: 28px;
    border-top: var(--border-soft);
}
.error-links h4 {
    font-family: 'Georgia', serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.error-recent {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}
.error-recent .recent-link {
    font-size: 14px;
    color: var(--text-mid);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.error-recent .recent-link i {
    color: var(--accent);
    font-size: 12px;
}
.error-recent .recent-link:hover {
    color: var(--accent);
}
@media (max-width: 768px) {
    .error-number {
        font-size: 80px;
    }
    .error-number .error-icon {
        font-size: 50px;
    }
    .error-content h1 {
        font-size: 28px;
    }
    .error-content p {
        font-size: 16px;
    }
    .error-404 {
        padding: 60px 0 80px;
    }
}
@media (max-width: 480px) {
    .error-number {
        font-size: 60px;
    }
    .error-number .error-icon {
        font-size: 36px;
    }
    .error-content h1 {
        font-size: 22px;
    }
    .error-recent {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   底部样式（已在 footer.php 中定义，此处作为后备）
   ============================================ */