/* =========================================================
   律师详情页样式（lawyer.html）
   从模板内联 <style> 抽离（原 lawyer.html 行 5-578），样式未变
   ========================================================= */

/* ===================== 深色主题基础 ===================== */
body {
    background-color: #101415;
    color: #e0e3e5;
    font-family: 'Hanken Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
body.dot-grid {
    background-image: radial-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    background-color: #101415;
}
.container.pages {
    background-color: transparent;
}

/* ===================== 字体 ===================== */
.font-serif {
    font-family: 'Libre Caslon Text', Georgia, 'Songti SC', serif;
}

/* ===================== 玻璃卡片 ===================== */
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}
.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.champagne-border-hover {
    transition: all 0.3s ease;
}
.champagne-border-hover:hover {
    border-color: rgba(212, 175, 55, 0.5);
}
.champagne-glow {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* ===================== Hero Section ===================== */
.lawyer-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
    padding: 32px 0;
}
@media (min-width: 992px) {
    .lawyer-hero {
        grid-template-columns: 5fr 7fr;
    }
}
.lawyer-photo-wrap {
    position: relative;
}
.lawyer-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: rgba(212, 175, 55, 0.1);
    filter: blur(48px);
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: -1;
}
.lawyer-photo-wrap:hover::before {
    opacity: 1;
}
.lawyer-photo {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #fff;
}
.lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    transition: transform 0.7s ease;
}
.lawyer-photo:hover img {
    transform: scale(1.02);
}

.lawyer-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.lawyer-eyebrow {
    color: #d4af37;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}
.lawyer-name {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #e0e3e5;
}
@media (min-width: 768px) {
    .lawyer-name { font-size: 64px; }
}
.lawyer-name .gold-dot {
    color: #d4af37;
    font-style: italic;
}
.lawyer-exp {
    font-size: 24px;
    color: #c6c6cd;
    font-style: italic;
    font-family: 'Libre Caslon Text', Georgia, serif;
    margin-top: 8px;
}
.lawyer-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #c6c6cd;
    max-width: 672px;
}
.lawyer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
}
.lawyer-btn {
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.lawyer-btn-primary {
    background: #d4af37;
    color: #283044;
    border: 1px solid #d4af37;
}
.lawyer-btn-primary:hover {
    transform: translateY(-2px);
}
.lawyer-btn-outline {
    background: transparent;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
}
.lawyer-btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* ===================== 主体内容布局 ===================== */
.lawyer-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}
@media (min-width: 992px) {
    .lawyer-body {
        grid-template-columns: 8fr 4fr;
    }
}
.lawyer-main {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ===================== Section 通用 ===================== */
.lawyer-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.lawyer-section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #e0e3e5;
    margin: 0;
}
.lawyer-section-title .line {
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.3);
}

.lawyer-intro-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lawyer-intro-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #c6c6cd;
    margin: 0;
}

/* ===================== 执业领域网格 ===================== */
.practice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .practice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.practice-card {
    padding: 24px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}
.practice-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
}
.practice-card .icon {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-block;
}
.practice-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #e0e3e5;
    margin: 0 0 8px 0;
}
.practice-card p {
    font-size: 12px;
    color: #c6c6cd;
    line-height: 1.6;
    margin: 0;
}

/* ===================== 代表性案例 ===================== */
.case-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.case-item {
    padding: 32px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-left: 4px solid #d4af37;
    transition: all 0.3s ease;
}
.case-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}
.case-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}
.case-item-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: #e0e3e5;
    margin: 0;
    transition: color 0.3s ease;
}
.case-item:hover .case-item-head h3 {
    color: #d4af37;
}
.case-tag {
    padding: 4px 12px;
    background: rgba(58, 48, 0, 0.4);
    color: #d4af37;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.case-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #c6c6cd;
    margin: 0;
}

/* ===================== 荣誉奖项 ===================== */
.honor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.honor-item {
    padding: 16px 24px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.honor-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}
.honor-item .icon {
    color: #d4af37;
    font-size: 20px;
}
.honor-item span {
    font-size: 14px;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: #e0e3e5;
}

/* ===================== 侧边栏 ===================== */
.lawyer-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    padding: 32px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 112px;
}
#lawyerTagsCard { margin-top: 16px; }
#lawyerTagsRender { margin-top: 8px; line-height: 2.2; }
.sidebar-card .sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: #e0e3e5;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card .sidebar-title .icon {
    color: #d4af37;
    font-size: 24px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-row .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-row .icon-wrap .icon {
    color: #d4af37;
    font-size: 20px;
}
.contact-row .label {
    font-size: 12px;
    color: #c6c6cd;
    margin-bottom: 4px;
}
.contact-row .value {
    font-weight: 500;
    color: #e0e3e5;
}

.ai-match-box {
    padding: 16px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    margin-bottom: 24px;
}
.ai-match-box .tag {
    font-size: 12px;
    color: #d4af37;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.ai-match-box p {
    font-size: 12px;
    color: #c6c6cd;
    line-height: 1.6;
    margin: 0;
}
.ai-match-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: #e0e3e5;
    color: #101415;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.ai-match-btn:hover {
    background: #d4af37;
}
.ai-match-btn .arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
}
.ai-match-btn:hover .arrow {
    transform: translateX(4px);
}
.sidebar-divider {
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

/* ===================== 面包屑 ===================== */
.breadcrumb-bar {
    color: #c6c6cd;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 16px 0;
}
.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}
.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: rgba(198, 198, 205, 0.5);
}
.breadcrumb-item.active {
    color: rgba(198, 198, 205, 0.8);
}
.breadcrumb-bar a {
    color: #c6c6cd;
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb-bar a:hover {
    color: #d4af37;
}

/* ===================== 上一篇/下一篇 ===================== */
.prev-next {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #c6c6cd;
}
.prev-next .prev-item,
.prev-next .next-item {
    display: block;
}
.prev-next a {
    color: #d4af37;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.prev-next a:hover {
    opacity: 0.8;
}

/* ===================== Animation ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.lawyer-hero > *,
.lawyer-intro-card,
.practice-card,
.case-item,
.honor-item,
.sidebar-card {
    animation: fadeInUp 0.7s ease backwards;
}
.practice-card:nth-child(2) { animation-delay: 0.1s; }
.practice-card:nth-child(3) { animation-delay: 0.2s; }

/* ===================== 滑块图（轻量样式） ===================== */
.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
}
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
    .lawyer-name { font-size: 36px; }
    .lawyer-section-title h2 { font-size: 22px; }
    .lawyer-btn { padding: 12px 24px; font-size: 16px; }
    .case-item, .lawyer-intro-card { padding: 20px; }
    .sidebar-card { position: static; }
}
