/* ============================================================================
   凌云官网 · 设计系统（lawfirm.css）
   ----------------------------------------------------------------------------
   建于 2026-10，方向：稳重权威型 —— 深蓝为轴、大量留白、宋体标题、克制动效。

   为什么要有这个文件：
     改造前站点上叠着 5 层 CSS（page.min.css 388KB 商用主题 / newjpress.min.css
     122KB / 两个项目 style.css / jp.css / 每页各自的 inline style），
     没有一处设计变量，改一个颜色要在几个文件里翻，还得靠 !important 打架。
     结果就是「每个页头渐变都不一样」——artlist 用紫蓝 #2b5876→#4e4376，
     首页用 #2f77d0，彼此不搭。

   这个文件是**覆盖层 + 新组件库**，不是重写框架：
     · 所有颜色/间距/圆角都收敛成变量（改一处，全站生效）
     · 新组件一律 `lf-` 前缀，与老样式零冲突
     · 老页面可以逐页迁移，不必一次全改 —— 迁移一页，删一页的 inline style

   加载顺序：必须在 jp.css 之后（见 _layout.html），这样覆盖才生效。
   ============================================================================ */

:root {
    /* ---------- 品牌深蓝体系 ----------
       #2f77d0 是所内已定的主色，不改。其余是它的梯度。 */
    --lf-brand: #2f77d0;
    --lf-brand-600: #2565b8;
    --lf-brand-800: #1b4f8f;
    --lf-brand-900: #123a6b;
    --lf-navy: #0f2b4d;          /* 首屏遮罩、页脚底色 */
    --lf-brand-soft: #eef4fc;    /* 浅蓝底，用于区块交替 */
    --lf-brand-line: #d6e3f5;

    /* ---------- 点缀 ----------
       暖金只用在「荣誉 / 奖章」一处，是点睛不是主色。
       注意：改造前 jp.css 里 .btn-info:hover 的阴影仍是旧金色 rgba(183,140,74,.4)，
       主色换代时漏改的残留 —— 这里显式定义，避免再出现同类问题。 */
    --lf-gold: #b78c4a;
    --lf-gold-soft: #f7f1e6;

    /* ---------- 中性色阶 ---------- */
    --lf-ink: #1a1f26;           /* 正文 */
    --lf-ink-2: #4a5561;         /* 次要文字 */
    --lf-ink-3: #8a95a1;         /* 辅助信息 */
    --lf-line: #e6eaef;          /* 分割线 */
    --lf-bg: #ffffff;
    --lf-bg-soft: #f6f8fb;

    /* ---------- 排版 ----------
       标题走宋体（思源宋体已本地化，只加载用到的分片），正文走系统无衬线。
       衬线标题是无衬线正文的锚 —— 律所要的「厚重」主要来自这一处对比。 */
    --lf-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
    --lf-sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", sans-serif;

    /* ---------- 节奏 ---------- */
    --lf-radius: 4px;
    --lf-radius-lg: 6px;
    --lf-shadow-sm: 0 1px 3px rgba(15, 43, 77, .06);
    --lf-shadow-md: 0 6px 24px rgba(15, 43, 77, .08);
    --lf-shadow-lg: 0 12px 40px rgba(15, 43, 77, .12);
    --lf-section-y: 84px;        /* 区块上下留白，全站统一 */
    --lf-container: 1200px;
}

/* 内容区收窄一点：1200px 比原来宽屏铺满更「稳重」，阅读行宽也更舒服 */
.container {
    max-width: var(--lf-container);
}

body {
    font-family: var(--lf-sans);
    color: var(--lf-ink);
    -webkit-font-smoothing: antialiased;
}

/* 标题统一用衬线。
   注意：框架里 h1{color} 这类规则会覆盖父元素的继承色 —— 想给标题上色，
   必须写到标题自己身上，靠父元素 color 是无效的。 */
h1, h2, h3, h4, .lf-h {
    font-family: var(--lf-serif);
    color: var(--lf-ink);
    letter-spacing: .5px;
}

a {
    transition: color .2s ease;
}


/* ============================================================================
   1. 区块（section）
   ============================================================================ */

.lf-section {
    padding: var(--lf-section-y) 0;
    background: var(--lf-bg);
}

.lf-section--soft {
    background: var(--lf-bg-soft);
}

.lf-section--brand {
    background: var(--lf-brand-900);
    color: #fff;
}

.lf-section--tight {
    padding: 48px 0;
}

.lf-section--flush-top {
    padding-top: 0;
}

/* 深底区块里的标题要跟着变白 */
.lf-section--brand h1, .lf-section--brand h2, .lf-section--brand h3,
.lf-section--brand h4, .lf-section--brand .lf-h {
    color: #fff;
}

.lf-section--brand .lf-head__desc {
    color: rgba(255, 255, 255, .78);
}


/* ============================================================================
   2. 区块标题（lf-head）
   ----------------------------------------------------------------------------
   结构：中文大标题 + 英文小字 + 右侧「更多」链接 + 一条贯穿的细线。
   为什么要加英文小字：中文标题只有 4-6 个字时视觉分量不够，配一行小号
   大写字能立刻把「这是区块标题」的信号立起来，且不需要把字号撑得很大。
   ============================================================================ */

.lf-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 42px;
    border-bottom: 1px solid var(--lf-line);
    padding-bottom: 18px;
}

.lf-head__left {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.lf-head__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    position: relative;
    padding-left: 16px;
}

/* 标题左侧的短竖线 —— 全站区块标题的统一记号 */
.lf-head__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--lf-brand);
    border-radius: 2px;
}

.lf-head__title a {
    color: inherit;
}

.lf-head__title a:hover {
    color: var(--lf-brand);
}

.lf-head__en {
    font-family: var(--lf-sans);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lf-ink-3);
    margin: 0;
}

.lf-head__desc {
    color: var(--lf-ink-2);
    font-size: 14px;
    margin: 8px 0 0;
}

.lf-head__more {
    font-size: 13px;
    color: var(--lf-ink-3);
    white-space: nowrap;
}

.lf-head__more i {
    margin-left: 4px;
    transition: transform .2s ease;
    display: inline-block;
}

.lf-head__more:hover {
    color: var(--lf-brand);
}

.lf-head__more:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .lf-head {
        margin-bottom: 28px;
    }

    .lf-head__title {
        font-size: 22px;
    }

    .lf-head__en {
        display: none;
    }
}


/* ============================================================================
   3. 按钮
   ============================================================================ */

.lf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 15px;
    line-height: 1;
    border-radius: var(--lf-radius);
    border: 1px solid var(--lf-brand);
    background: var(--lf-brand);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all .22s ease;
}

.lf-btn:hover {
    background: var(--lf-brand-600);
    border-color: var(--lf-brand-600);
    color: #fff;
    box-shadow: 0 6px 18px rgba(47, 119, 208, .28);
    transform: translateY(-1px);
}

/* 描边款：用在深底或与实心按钮并排时 */
.lf-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.lf-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    box-shadow: none;
    color: #fff;
}

.lf-btn--outline {
    background: transparent;
    color: var(--lf-brand);
}

.lf-btn--outline:hover {
    background: var(--lf-brand);
    color: #fff;
}

.lf-btn--sm {
    padding: 9px 20px;
    font-size: 13px;
}


/* ============================================================================
   4. 首屏（lf-hero）
   ----------------------------------------------------------------------------
   改造前的首屏是 height:100vh 的整屏图片 + 一行标语，没有主次、没有下一步动作。
   现在：图 + 深蓝遮罩（保证任何底图上文字都读得清）+ 主标题 + 副标题 + 双 CTA。
   高度降到 72vh —— 让「下面还有内容」这件事在首屏就能被看见，
   否则访客会以为整站只有一张图（这是整屏 hero 最常见的副作用）。
   ============================================================================ */

.lf-hero {
    position: relative;
    min-height: 560px;
    /* 首屏占满整屏（用户拍板）。
       ⚠️ 以前是 height:72vh + max-height:760px，当初的理由是「让访客看出下面还有内容」；
       整屏后这件事交给压在下沿的数据条来完成（.index-stats 的 -56px 上提）。
       max-height 必须去掉，否则大屏上会被卡在 760px 撑不满。 */
    height: 100vh;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 手机浏览器地址栏会伸缩，100vh 会溢出一点点 —— svh 是「最小可视高度」，更稳 */
@supports (height: 100svh) {
    @media (min-width: 992px) {
        .lf-hero {
            height: 100svh;
        }
    }
}

.lf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;   /* 压在背景图层之上、文字之下 */
    /* 左深右浅：文字在左，所以左边压得更暗 */
    background: linear-gradient(100deg,
    rgba(15, 43, 77, .90) 0%,
    rgba(15, 43, 77, .74) 38%,
    rgba(15, 43, 77, .40) 100%);
}

/* 背景图独立图层：用 transform 缩放做 Ken Burns，全程只在 GPU 合成层跑，
   不触发整块视口重绘。原来动画 background-position 会让 100vh 的大图每帧重绘，
   滚动时与重绘争抢主线程 → 卡顿（2026-10-15 修正）。
   背景图由 index.html 的 --lf-hero-img 变量传入，基础规则不再写死 image。 */
.lf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--lf-hero-img);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.06);
    animation: lfHeroZoom 26s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes lfHeroZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.12); }
}

/* 尊重「减少动态效果」系统偏好：关掉背景缩放与数据条跑马灯（对晕动敏感的用户友好） */
@media (prefers-reduced-motion: reduce) {
    .lf-hero::after { animation: none; }
    .lf-stat-track { animation: none; }
}

.lf-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.lf-hero__eyebrow {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    margin: 0 0 18px;
}

.lf-hero__title {
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 2px;
    margin: 0 0 18px;
    max-width: 18em;
}

.lf-hero__sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .86);
    line-height: 1.9;
    margin: 0 0 32px;
    max-width: 34em;
}

.lf-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .lf-hero {
        height: auto;
        min-height: 480px;
        padding: 90px 0 70px;
    }

    .lf-hero__title {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .lf-hero__sub {
        font-size: 14px;
    }

    .lf-hero__actions .lf-btn {
        padding: 11px 22px;
        font-size: 14px;
    }
}


/* ============================================================================
   5. 数据条（跑马灯版）
   ----------------------------------------------------------------------------
   【2026-10-14】四格并排 → 无缝横向跑马灯：条目支持后台自由增删（1~8 条，
   键位 jpress_index_stat{i}_num/_unit/_label），内容复制两份首尾相接循环左移，
   鼠标悬停暂停，系统开启「减弱动态效果」时静止并可横向拖动。
   ============================================================================ */

.lf-stat-marquee {
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    background: #fff;
    box-shadow: var(--lf-shadow-md);
    overflow: hidden;
}

.lf-stat-track {
    display: flex;
    width: max-content;
    animation: lfMarquee 30s linear infinite;
    will-change: transform;
}

/* 悬停暂停 —— 用户想看清某个数字时不要跟它捉迷藏 */
.lf-stat-marquee:hover .lf-stat-track {
    animation-play-state: paused;
}

@keyframes lfMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }   /* track 内容复制了两份，走一半 = 回到起点，无缝 */
}

.lf-stat {
    flex: 0 0 auto;
    padding: 30px 56px;
    text-align: center;
    border-right: 1px solid var(--lf-line);
}

.lf-stat__num {
    font-family: var(--lf-serif);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--lf-brand);
    letter-spacing: 1px;
}

.lf-stat__unit {
    font-size: 15px;
    color: var(--lf-brand);
    margin-left: 3px;
    font-family: var(--lf-sans);
}

.lf-stat__label {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--lf-ink-2);
    letter-spacing: 1px;
}

/* 减弱动态效果：不滚，改成可手动横向滑动 */
@media (prefers-reduced-motion: reduce) {
    .lf-stat-track { animation: none; }
    .lf-stat-marquee { overflow-x: auto; }
}

@media (max-width: 767px) {
    .lf-stat {
        padding: 22px 34px;
    }

    .lf-stat__num {
        font-size: 28px;
    }

    .lf-stat__label {
        font-size: 13px;
    }
}


/* ============================================================================
   6. 专业领域卡（lf-field）
   ----------------------------------------------------------------------------
   改造前是「深色背景图 + 6 个纯文字块」，没有任何边界，读起来像一段长文。
   现在改为白卡网格：图标 + 标题 + 两行摘要，hover 时上浮 + 左侧出现主色条。
   ============================================================================ */

.lf-grid {
    display: grid;
    gap: 20px;
}

.lf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lf-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
    .lf-grid--3, .lf-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .lf-grid--2, .lf-grid--3, .lf-grid--4 { grid-template-columns: 1fr; }
}

.lf-field {
    display: block;
    position: relative;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    padding: 30px 26px;
    text-decoration: none;
    overflow: hidden;
    transition: all .25s ease;
}

.lf-field::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lf-brand);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.lf-field:hover {
    transform: translateY(-3px);
    border-color: var(--lf-brand-line);
    box-shadow: var(--lf-shadow-md);
}

.lf-field:hover::after {
    transform: scaleY(1);
}

.lf-field__num {
    font-family: var(--lf-serif);
    font-size: 13px;
    color: var(--lf-ink-3);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 14px;
}

.lf-field__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--lf-ink);
    margin: 0 0 10px;
    line-height: 1.4;
}

.lf-field:hover .lf-field__title {
    color: var(--lf-brand);
}

.lf-field__desc {
    font-size: 14px;
    line-height: 1.85;
    color: var(--lf-ink-2);
    margin: 0;
    /* 摘要统一截断到 3 行，保证卡片高度一致 —— 参差不齐的卡片高度是最显乱的一种 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-field__more {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--lf-brand);
    opacity: 0;
    transform: translateX(-6px);
    transition: all .25s ease;
}

.lf-field:hover .lf-field__more {
    opacity: 1;
    transform: translateX(0);
}


/* ============================================================================
   7. 律师卡（lf-lawyer）
   ----------------------------------------------------------------------------
   这块是本次改造里价值最高的一个 ——
   改造前首页「专业团队」是**一张 logo.jpg 图片**：换一个律师要重做一张图，
   而且图片里的姓名职务对搜索引擎和 AI 完全不可见。
   站内 lawyer_info 表里有 464 名未删除律师、454 人有头像、字段齐全，
   直接把卡片渲染出来，既好维护又对 AI 可见。
   ============================================================================ */

.lf-lawyer {
    display: block;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all .25s ease;
}

.lf-lawyer:hover {
    transform: translateY(-3px);
    box-shadow: var(--lf-shadow-md);
    border-color: var(--lf-brand-line);
}

.lf-lawyer__photo {
    position: relative;
    width: 100%;
    padding-top: 125%;           /* 4:5 竖构图，标准证件照比例 */
    background: var(--lf-bg-soft);
    overflow: hidden;
}

.lf-lawyer__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* 人像通常偏上，从 20% 处裁能保住脸 */
    transition: transform .5s ease;
}

.lf-lawyer:hover .lf-lawyer__photo img {
    transform: scale(1.04);
}

.lf-lawyer__body {
    padding: 18px 18px 22px;
    text-align: center;
}

.lf-lawyer__name {
    font-family: var(--lf-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--lf-ink);
    margin: 0 0 7px;
    letter-spacing: 1px;
}

.lf-lawyer:hover .lf-lawyer__name {
    color: var(--lf-brand);
}

/* 姓名与职务之间那条短横线，是这套卡的识别记号 */
.lf-lawyer__line {
    width: 22px;
    height: 2px;
    background: var(--lf-brand);
    margin: 0 auto 12px;
    opacity: .55;
}

.lf-lawyer__job {
    font-size: 13px;
    color: var(--lf-ink-2);
    margin: 0;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-lawyer__station {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--lf-ink-3);
    border: 1px solid var(--lf-line);
    border-radius: 20px;
    padding: 2px 10px;
}

/* 头像是空的情况：不要留一个破图，用首字占位 */
.lf-lawyer__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lf-lawyer__photo--empty span {
    font-family: var(--lf-serif);
    font-size: 44px;
    color: var(--lf-ink-3);
    opacity: .5;
}


/* ============================================================================
   8. 新闻卡（lf-news）
   ============================================================================ */

.lf-news {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all .25s ease;
}

.lf-news:hover {
    transform: translateY(-3px);
    box-shadow: var(--lf-shadow-md);
    border-color: var(--lf-brand-line);
}

.lf-news__cover {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: var(--lf-bg-soft);
    overflow: hidden;
}

.lf-news__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.lf-news:hover .lf-news__cover img {
    transform: scale(1.05);
}

.lf-news__date {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(15, 43, 77, .85);
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 6px 12px;
}

.lf-news__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lf-news__title {
    font-family: var(--lf-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--lf-ink);
    line-height: 1.6;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
}

.lf-news:hover .lf-news__title {
    color: var(--lf-brand);
}

.lf-news__desc {
    font-size: 13px;
    line-height: 1.85;
    color: var(--lf-ink-2);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 首条新闻放大：一屏里需要一个视觉重心，否则三张等大卡片会显得平 */
.lf-news--lead .lf-news__cover {
    padding-top: 66%;
}

.lf-news--lead .lf-news__title {
    font-size: 21px;
    -webkit-line-clamp: 3;
    min-height: 0;
}


/* ============================================================================
   9. 内页页头（lf-pagehead）
   ----------------------------------------------------------------------------
   【2026-10-14 二改】用户反馈「顶部空着太大」→ 高度整体压扁（约 320px → 210px），
   布局改两栏：左侧标题+英文副题，右下角面包屑（主流企业站做法，右端不再空旷）。
   背景仍为云海图（option lf_pagehead_bg 可配）+ 深蓝遮罩 + 依次浮入。
   ============================================================================ */

.lf-pagehead {
    position: relative;
    background-color: var(--lf-navy);   /* 背景图未加载 / 加载失败时的兜底色 */
    background-size: cover;
    background-position: center 32%;
    padding: 104px 0 44px;      /* 上方留出固定导航的高度 */
    overflow: hidden;
}

/* 深蓝渐变遮罩：压住照片细节，让标题像印在夜色云海上 */
.lf-pagehead::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(6, 12, 24, .58) 0%,
        rgba(8, 18, 36, .74) 62%,
        rgba(10, 22, 44, .9) 100%);
}

/* 底部一条细光带，与下一节内容柔和过渡 */
.lf-pagehead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(47, 119, 208, 0) 0%,
        rgba(47, 119, 208, .85) 50%,
        rgba(47, 119, 208, 0) 100%);
}

/* 两栏：左标题、右面包屑（底对齐），消除右半边的空旷感 */
.lf-pagehead__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.lf-pagehead__title {
    font-family: var(--lf-serif);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 3px;
}

.lf-pagehead__sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .62);
    margin: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.lf-pagehead__crumb {
    flex: 0 0 auto;
    text-align: right;
    padding-bottom: 4px;
}

.lf-crumb {
    margin-top: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.lf-crumb a {
    color: rgba(255, 255, 255, .75);
}

.lf-crumb a:hover {
    color: #fff;
}

.lf-crumb i {
    margin: 0 8px;
    font-style: normal;
    opacity: .5;
}

/* 入场动效：标题 → 英文副题 → 面包屑 依次浮入（与首页 hero 的 lfHeroIn 同族，
   换名 lfPageIn 避免与 index.html 内嵌 keyframes 混淆） */
@keyframes lfPageIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .lf-pagehead__main  { animation: lfPageIn .8s ease-out .08s both; }
    .lf-pagehead__crumb { animation: lfPageIn .8s ease-out .3s both; }
}

@media (max-width: 767px) {
    .lf-pagehead {
        padding: 84px 0 32px;
    }

    /* 手机上回到上下堆叠，面包屑贴在标题下面 */
    .lf-pagehead__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .lf-pagehead__title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .lf-pagehead__sub {
        letter-spacing: 2px;
    }

    .lf-pagehead__crumb {
        text-align: left;
        padding-bottom: 0;
    }
}


/* ============================================================================
   10. 工具类 + 兼容修正
   ============================================================================ */

.lf-center { text-align: center; }
.lf-mt-0 { margin-top: 0; }
.lf-mb-0 { margin-bottom: 0; }
.lf-mt-40 { margin-top: 40px; }
.lf-mb-40 { margin-bottom: 40px; }

/* 图片一律不超出容器 —— 后台编辑贴进来的大图经常撑破布局 */
.lf-section img, .lf-pagehead img {
    max-width: 100%;
}

/* 空态：列表为空时不要留一片空白让人以为页面坏了 */
.lf-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--lf-ink-3);
    font-size: 14px;
    background: var(--lf-bg-soft);
    border: 1px dashed var(--lf-line);
    border-radius: var(--lf-radius-lg);
}

/* ⚠️ 修正历史遗留：主色从金色换成 #2f77d0 时，jp.css 里
   .btn-info:hover 的阴影还是旧金色 rgba(183,140,74,.4)。 */
.btn-info:hover {
    box-shadow: 0 2px 10px rgba(47, 119, 208, .4);
}


/* ============================================================================
   11. 旧页头统一（过渡期兜底）
   ----------------------------------------------------------------------------
   站上还有 30 多个模板各自内联写着紫蓝渐变
   （linear-gradient(-20deg, #2b5876, #4e4376)），跟主色体系完全不搭，
   是"一眼看着乱"的最大来源。

   逐个改的收益很低（其中大半是 JPress 自带演示模板，律所根本不用），
   所以这里用一条 !important 规则把它们统一压成深蓝 ——
   内联 style 的优先级最高，不用 !important 压不住。

   主力页面（分类列表 / 文章详情 / 律师团队 / 关于我们）已经真正换成了
   pagehead 组件，带标题和面包屑；等其余模板都迁移完，这条规则可以删掉。
   ============================================================================ */

.l-header[style*="linear-gradient"],
.header[style*="linear-gradient"] {
    background-image: none !important;
    background-color: var(--lf-navy) !important;
}

/* 无内容的窄页头：文章详情页用，只做视觉分隔，标题由正文自己承担 */
.lf-pagehead--slim {
    padding: 96px 0 36px;
}


/* ============================================================================
   12. 文章正文排版（lf-article）
   ----------------------------------------------------------------------------
   后台富文本编辑器贴进来的内容五花八门：字号乱、图片撑破容器、
   段落之间没有间距、表格没有边框。这里统一收口。
   ============================================================================ */

.lf-article {
    font-size: 16px;
    line-height: 1.95;
    color: var(--lf-ink);
    word-break: break-word;
}

.lf-article p {
    margin: 0 0 1.15em;
}

.lf-article img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lf-radius);
    margin: 1.3em 0;
    display: block;
}

.lf-article h2 {
    font-family: var(--lf-serif);
    font-size: 22px;
    margin: 1.9em 0 .85em;
    padding-left: 13px;
    border-left: 3px solid var(--lf-brand);
    line-height: 1.5;
}

.lf-article h3 {
    font-family: var(--lf-serif);
    font-size: 18px;
    margin: 1.6em 0 .75em;
}

.lf-article blockquote {
    margin: 1.4em 0;
    padding: 14px 22px;
    background: var(--lf-brand-soft);
    border-left: 3px solid var(--lf-brand);
    color: var(--lf-ink-2);
    font-size: 15px;
}

.lf-article ul, .lf-article ol {
    margin: 0 0 1.2em;
    padding-left: 1.6em;
}

.lf-article li {
    margin-bottom: .5em;
}

.lf-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 14px;
}

.lf-article th, .lf-article td {
    border: 1px solid var(--lf-line);
    padding: 10px 12px;
    line-height: 1.7;
}

.lf-article th {
    background: var(--lf-bg-soft);
    font-weight: 700;
}

.lf-article a {
    color: var(--lf-brand);
}

/* 文章标题与元信息 */
.lf-article-title {
    font-family: var(--lf-serif);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 16px;
    letter-spacing: .5px;
}

.lf-article-meta {
    font-size: 13px;
    color: var(--lf-ink-3);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--lf-line);
    margin-bottom: 30px;
}

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

@media (max-width: 767px) {
    .lf-article-title {
        font-size: 22px;
    }

    .lf-article {
        font-size: 15.5px;
        line-height: 1.9;
    }
}


/* ============================================================================
   13. 侧栏（lf-side）
   ----------------------------------------------------------------------------
   分类列表页、文章详情页右侧的「热门文章 / 标签 / 关于」共用一套样式。
   ============================================================================ */

.lf-side-title {
    font-family: var(--lf-serif);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lf-brand);
    display: inline-block;
}

.lf-side-block {
    margin-bottom: 38px;
}

.lf-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf-side-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--lf-line);
    font-size: 14px;
    line-height: 1.7;
}

.lf-side-list li:last-child {
    border-bottom: none;
}

.lf-side-list a {
    color: var(--lf-ink);
}

.lf-side-list a:hover {
    color: var(--lf-brand);
}

.lf-side-list .lf-side-date {
    display: block;
    font-size: 12px;
    color: var(--lf-ink-3);
    margin-top: 2px;
}

/* ============================================================================
   14. 荣誉资质（GEO 阶段 2）
   ----------------------------------------------------------------------------
   行业调研的两条结论直接决定了这一节的形态：

   ① 荣誉页的价值不在「展示」而在「被引用」——
      满屏第三方奖项 logo 会被读成「cluttered badge board」。
      所以每张卡片**必须**有文字（名称 + 一句话说明），
      纯图卡片在这里是反模式。

   ② 扫描件对 AI 隐形 —— 证书照片 AI 提取不到任何文字，
      所以摘要（.lf-honor__desc）不是装饰，是这个页面能被 AI 读到的唯一通道。

   另外刻意**不做图片轮播**：轮播里非首屏的内容，AI 和搜索引擎都读不到。
   卡片墙全部内容一次渲染进 HTML，筛选只做视觉层（前端 data-year 过滤），
   保证「看得见的」和「抓得到的」是同一份内容。
   ============================================================================ */

/* 页面开头的「速答」块。GEO 硬要求：每页开头 40–80 字能被直接摘走的答案。 */
.lf-honor-lead {
    position: relative;
    background: var(--lf-brand-soft);
    border-radius: var(--lf-radius);
    padding: 22px 26px 22px 30px;
    margin-bottom: 32px;
}

.lf-honor-lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    background: var(--lf-brand);
    border-radius: 0 3px 3px 0;
}

.lf-honor-lead p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--lf-ink-2);
}

/* 年份筛选：胶囊按钮。纯前端过滤，不产生新路由。 */
.lf-honor-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.lf-honor-filter__btn {
    border: 1px solid var(--lf-line);
    background: #fff;
    color: var(--lf-ink-2);
    font-size: 13.5px;
    line-height: 1;
    padding: 9px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s ease;
}

.lf-honor-filter__btn:hover {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

.lf-honor-filter__btn.is-active {
    background: var(--lf-brand);
    border-color: var(--lf-brand);
    color: #fff;
}

.lf-honor-filter__n {
    opacity: .7;
    margin-left: 2px;
}

.lf-honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.lf-honor {
    display: block;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all .25s ease;
}

.lf-honor:hover {
    transform: translateY(-3px);
    border-color: var(--lf-brand-line);
    box-shadow: var(--lf-shadow-md);
    text-decoration: none;
}

/* 证书图区域：横向比例（荣誉证书基本都是横的） */
.lf-honor__cert {
    position: relative;
    width: 100%;
    padding-top: 72%;
    background: var(--lf-bg-soft);
    overflow: hidden;
}

.lf-honor__cert img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.lf-honor:hover .lf-honor__cert img {
    transform: scale(1.04);
}

/* 没有证书图时的占位。用奖杯图标而不是破图。
   注意：这里**不**用首字占位 —— 荣誉名称的首字（如「全」「云」）
   放在图框里毫无信息量，反不如一个稳定的荣誉符号。 */
.lf-honor__cert--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f6f9fd 0%, #eaf1fa 100%);
}

.lf-honor__cert--empty i {
    font-size: 40px;
    color: var(--lf-brand);
    opacity: .32;
}

.lf-honor__body {
    padding: 16px 18px 20px;
}

/* 年份用暖金 —— 这是全站唯一让金色出场的地方，
   因为「哪一年拿的奖」正是荣誉最需要被看见的那个信息。 */
.lf-honor__year {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--lf-gold);
    margin-bottom: 6px;
}

.lf-honor__title {
    font-family: var(--lf-serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--lf-ink);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-honor:hover .lf-honor__title {
    color: var(--lf-brand);
}

.lf-honor__desc {
    font-size: 13px;
    line-height: 1.75;
    color: var(--lf-ink-3);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 详情页里的荣誉标记与「一句话说明」块 */
.lf-honor-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--lf-gold);
    border: 1px solid rgba(183, 140, 74, .35);
    background: rgba(183, 140, 74, .06);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 18px;
}

.lf-honor-answer {
    background: var(--lf-brand-soft);
    border-radius: var(--lf-radius);
    padding: 20px 24px;
    margin: 0 0 28px;
}

.lf-honor-answer__t {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--lf-brand);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.lf-honor-answer__c {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--lf-ink);
    margin: 0;
}

/* 详情页底部的「同分类其他荣誉」 */
.lf-honor-more {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--lf-line);
}

.lf-honor-more__t {
    font-family: var(--lf-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--lf-ink);
    margin: 0 0 18px;
}

.lf-honor-more__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.lf-honor-more__item {
    display: block;
    padding: 14px 16px;
    background: var(--lf-bg-soft);
    border-radius: var(--lf-radius);
    font-size: 14px;
    line-height: 1.65;
    color: var(--lf-ink);
    text-decoration: none;
    transition: all .2s ease;
}

.lf-honor-more__item:hover {
    background: var(--lf-brand-soft);
    color: var(--lf-brand);
    text-decoration: none;
}

.lf-honor-more__item span {
    display: block;
    font-size: 12px;
    color: var(--lf-ink-3);
    margin-top: 4px;
}

@media (max-width: 1100px) {
    .lf-honor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .lf-honor-grid,
    .lf-honor-more__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lf-honor-grid,
    .lf-honor-more__grid {
        grid-template-columns: 1fr;
    }

    .lf-honor-lead {
        padding: 18px 20px 18px 24px;
    }
}


/* ============================================================================
   16. 公开材料与视频专区（GEO 阶段 3）
   ----------------------------------------------------------------------------
   这两页的信息架构跟荣誉页不一样，是刻意不一样的：
     · 荣誉是「卡片墙」—— 每一项都要争取一次点击；
     · 材料是「清单」  —— 目标是让人一眼扫到，点开就走，条目之间不抢注意力；
     · 视频是「播放列表」—— 目标是让播放器和文字提要同时进入视野。
   用同一套卡片去套三种意图，结果就是三页都别扭。
   ============================================================================ */

/* ---------- 速答块（通用） ----------
   荣誉页的 .lf-honor-lead 是同一形态的早期版本；新页面统一用这个类。
   老的保留不动 —— 改一处动全身的代价比多一个类名大。 */
.lf-lead {
    position: relative;
    background: var(--lf-bg-soft);
    border-radius: var(--lf-radius);
    padding: 20px 24px 20px 28px;
    margin-bottom: 40px;
}

.lf-lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: var(--lf-brand);
    border-radius: 3px;
}

.lf-lead p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--lf-ink-2);
}

/* 空态里的补充路线（「先去看看荣誉页」那种），比主提示弱一级 */
.lf-empty__hint {
    margin-top: 10px;
    font-size: 14px;
    color: var(--lf-ink-3);
}

/* ---------- 材料分组 ---------- */
.lf-material-group {
    margin-bottom: 52px;
}

.lf-material-group:last-of-type {
    margin-bottom: 40px;
}

.lf-material-group__head {
    border-bottom: 1px solid var(--lf-line);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.lf-material-group__t {
    font-family: var(--lf-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--lf-ink);
    margin: 0;
}

.lf-material-group__d {
    margin: 6px 0 0;
    font-size: 13.5px;
    color: var(--lf-ink-3);
}

/* ---------- 材料清单 ---------- */
.lf-material-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf-material + .lf-material {
    border-top: 1px solid var(--lf-line);
}

.lf-material__link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    text-decoration: none;
    border-radius: var(--lf-radius);
    transition: background .2s ease;
}

.lf-material__link:hover {
    background: var(--lf-brand-soft);
    text-decoration: none;
}

.lf-material__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: var(--lf-radius);
    background: var(--lf-brand-soft);
    color: var(--lf-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.lf-material__link:hover .lf-material__icon {
    background: var(--lf-brand);
    color: #fff;
}

.lf-material__body {
    flex: 1 1 auto;
    min-width: 0;
}

.lf-material__name {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lf-ink);
}

.lf-material__link:hover .lf-material__name {
    color: var(--lf-brand);
}

/* 摘要就是这份材料对 AI 的全部可见性，所以不做行数钳制 —— 宁可多占两行。 */
.lf-material__desc {
    display: block;
    margin-top: 5px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--lf-ink-3);
}

.lf-material__meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-size: 12.5px;
    color: var(--lf-ink-3);
    white-space: nowrap;
    padding-top: 2px;
}

.lf-material__kind {
    color: var(--lf-brand);
    background: var(--lf-brand-soft);
    border-radius: 2px;
    padding: 2px 8px;
    font-size: 12px;
}

/* ---------- 两页互跳卡片 ---------- */
.lf-material-more {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--lf-line);
}

.lf-material-more__card {
    display: block;
    background: var(--lf-bg-soft);
    border-radius: var(--lf-radius);
    padding: 24px 26px;
    text-decoration: none;
    transition: all .2s ease;
}

.lf-material-more__card:hover {
    background: var(--lf-brand-soft);
    text-decoration: none;
    transform: translateY(-2px);
}

.lf-material-more__card i {
    font-size: 22px;
    color: var(--lf-brand);
}

.lf-material-more__t {
    display: block;
    font-family: var(--lf-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--lf-ink);
    margin: 10px 0 6px;
}

.lf-material-more__card:hover .lf-material-more__t {
    color: var(--lf-brand);
}

.lf-material-more__d {
    display: block;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--lf-ink-3);
}

/* ---------- 视频专区 ---------- */
.lf-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.lf-video {
    background: var(--lf-bg);
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    overflow: hidden;
    transition: box-shadow .2s ease;
}

.lf-video:hover {
    box-shadow: var(--lf-shadow-md);
}

.lf-video__player {
    background: #000;
    line-height: 0;
}

/* 固定 16:9：视频元数据要等浏览器读到文件头才知道尺寸，
   不给比例的话每条视频加载时都会把下面的内容往上顶一次。 */
.lf-video__player video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
}

.lf-video__body {
    padding: 18px 20px 22px;
}

.lf-video__title {
    font-family: var(--lf-serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--lf-ink);
    margin: 0 0 8px;
}

.lf-video__meta {
    margin: 0 0 14px;
    font-size: 12.5px;
    color: var(--lf-ink-3);
}

.lf-video__meta i {
    margin-right: 3px;
}

/* 内容提要 —— 页面上真正能被 AI 读到的部分，给它正文级的分量。 */
.lf-video__brief {
    background: var(--lf-bg-soft);
    border-radius: var(--lf-radius);
    padding: 14px 16px;
}

.lf-video__brief-t {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--lf-brand);
    margin: 0 0 6px;
}

.lf-video__brief-c {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: var(--lf-ink-2);
}

@media (max-width: 990px) {
    .lf-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .lf-material-more {
        grid-template-columns: 1fr;
    }

    .lf-material__link {
        flex-wrap: wrap;
        gap: 12px;
    }

    .lf-material__meta {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
}

/* ============================================================
   17. 全站检索 + 在线联系浮条（新增）
   1 导航栏检索图标与下拉输入框  2 检索结果页  3 浮条二维码弹层
   ============================================================ */

/* 17.1 导航栏检索 */
.nav-navbar .nav-search {
    position: relative;
}

.nav-navbar .nav-search > .nav-link {
    cursor: pointer;
}

.nav-search__panel {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    z-index: 1200;
    width: 320px;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(15, 43, 77, .16);
}

.nav-search.open .nav-search__panel {
    display: block;
}

.nav-search__panel input {
    width: 100%;
    height: 42px;
    padding: 0 46px 0 12px;
    box-sizing: border-box;
    border: 1px solid #dbe2ea;
    border-radius: 4px;
    color: #1c2b3a;
    font-size: 14px;
    outline: none;
}

.nav-search__panel input:focus {
    border-color: var(--lf-brand, #2f77d0);
}

.nav-search__panel button {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--lf-navy, #0f2b4d);
    cursor: pointer;
}

/* 17.2 检索结果页 */
.lf-searchbar {
    display: flex;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto 34px;
}

.lf-searchbar input {
    flex: 1;
    height: 52px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    font-size: 16px;
    color: #1c2b3a;
}

.lf-searchbar input:focus {
    border-color: var(--lf-brand, #2f77d0);
    outline: none;
}

.lf-searchbar button {
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 6px;
    background: var(--lf-brand, #2f77d0);
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    cursor: pointer;
}

.lf-search-meta {
    margin: 0 0 26px;
    color: #41546b;
}

.lf-block {
    margin: 0 0 48px;
}

.lf-block__title {
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 4px solid var(--lf-brand, #2f77d0);
    font-size: 20px;
    line-height: 1.2;
    color: var(--lf-navy, #0f2b4d);
}

.lf-block__count {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #6b7a8d;
}

.lf-muted {
    color: #6b7a8d;
}

.lf-more {
    margin: 16px 0 0;
}

.lf-pagelist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf-pagelist li {
    padding: 14px 0;
    border-bottom: 1px dashed #e3e8ef;
}

.lf-pagelist li .lf-muted {
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

/* 17.3 在线联系浮条：二维码弹层 + 留言提示 */
.l-side .ul .li.sideewm .ewBox.son {
    box-sizing: border-box;
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(15, 43, 77, .14);
}

.l-side .ul .li.sideewm .ewBox.son img {
    display: block;
    width: 100%;
    height: auto;
}

.l-side .ul .li.sideewm .ewBox.son::after {
    content: "微信扫码 添加律师咨询";
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7a8d;
    text-align: center;
}

.lf-contact-tip {
    margin-bottom: 10px;
    font-size: 14px;
}

.lf-contact-tip.ok {
    color: #1a7f43;
}

.lf-contact-tip.error {
    color: #dd4b39;
}

@media (max-width: 991px) {
    .nav-search__panel {
        right: auto;
        left: 0;
        width: 280px;
    }

    .lf-searchbar {
        flex-direction: column;
    }

    .lf-searchbar button {
        height: 46px;
    }
}

/* ============================================================
   18. 分所卡片网格（主站「凌云分所」入口页 artlist_branch.html）
   整卡可点；地址最多两行省略；CTA 常驻底部，卡片等高。
   ============================================================ */

.lf-branch-lead {
    margin-bottom: 36px;
}

.lf-branch-lead .lf-lead {
    margin: 0;
    color: var(--lf-ink-2);
}

.lf-branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 20px;
}

.lf-branch-card {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 22px;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    text-decoration: none;
    transition: all .25s ease;
    overflow: hidden;
}

.lf-branch-card:hover {
    transform: translateY(-3px);
    border-color: var(--lf-brand-line);
    box-shadow: var(--lf-shadow-md);
    text-decoration: none;
}

.lf-branch-card__city {
    font-family: var(--lf-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--lf-navy);
    line-height: 1.25;
    letter-spacing: .5px;
}

.lf-branch-card__name {
    margin-top: 6px;
    font-size: 13px;
    color: var(--lf-ink-3);
    line-height: 1.6;
}

.lf-branch-card__meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--lf-line);
    flex: 1 0 auto;
}

.lf-branch-card__meta p {
    display: flex;
    align-items: flex-start;
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--lf-ink-2);
    line-height: 1.6;
}

.lf-branch-card__meta p:last-child {
    margin-bottom: 0;
}

.lf-branch-card__meta i {
    flex: 0 0 auto;
    width: 16px;
    margin-right: 8px;
    text-align: center;
    color: var(--lf-brand);
    font-size: 13px;
    line-height: 1.6;
}

/* 地址可能很长：最多两行，超出省略，避免把整排卡片撑高 */
.lf-branch-card__meta span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-branch-card__cta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    letter-spacing: .5px;
    color: var(--lf-brand);
}

.lf-branch-card__cta i {
    margin-left: 6px;
    transition: transform .25s ease;
}

.lf-branch-card:hover .lf-branch-card__cta i {
    transform: translateX(4px);
}


/* ============================================================
   19. 律师列表页（lawyers.html）重做
   ------------------------------------------------------------
   改造前这页是旧站结构：筛选区是「竖排 area-list + float:left」，
   字体硬写「微软雅黑」，选中色是旧主题亮蓝 #50a1ff；
   卡片是 card shadow-1 + 图片底部深色遮罩 —— 跟首页 lf-lawyer
   完全两套语言，用户反馈「跟官网不一样」。

   这里把整页收进设计系统：
     · 筛选区 → 白卡 + 横向胶囊标签（选中态品牌蓝实底）
     · 卡片   → 直接复用首页 .lf-lawyer（结构由 JS 拼，见 lawyers.html）
     · 空态   → 复用 .lf-empty
   ============================================================ */

/* ---------- 19.1 筛选面板 ---------- */

.lf-filter {
    padding: 26px 30px 22px;
    margin-bottom: 38px;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    box-shadow: var(--lf-shadow-sm);
}

.lf-filter__row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--lf-line);
}

.lf-filter__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.lf-filter__label {
    flex: 0 0 auto;
    width: 88px;
    padding-top: 7px;
    font-size: 13px;
    color: var(--lf-ink-3);
    letter-spacing: .5px;
    line-height: 1.6;
}

.lf-filter__body {
    flex: 1 1 auto;
    min-width: 0;
}

.lf-filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 胶囊标签：默认白底灰边，hover 变蓝边，选中蓝底白字 */
.lf-filter__list a {
    display: inline-block;
    padding: 0 14px;
    height: 32px;
    line-height: 30px;
    border: 1px solid var(--lf-line);
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    color: var(--lf-ink-2);
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.lf-filter__list a:hover {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

.lf-filter__list a.area-moren {
    background: var(--lf-brand);
    border-color: var(--lf-brand);
    color: #fff;
}

/* 筛选区里的姓名搜索：输入框 + 按钮同一行，高度与胶囊对齐 */
.lf-filter__search {
    display: flex;
    gap: 10px;
    max-width: 460px;
}

.lf-filter__search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    background: var(--lf-bg-soft);
    font-size: 14px;
    color: var(--lf-ink);
    outline: none;
    transition: all .2s ease;
}

.lf-filter__search input:focus {
    border-color: var(--lf-brand);
    background: #fff;
}

.lf-filter__search button {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--lf-radius);
    background: var(--lf-brand);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease;
}

.lf-filter__search button:hover {
    background: var(--lf-brand-600);
}

/* ---------- 19.2 结果区 ---------- */

/* 结果计数：滚动加载没有分页器，得有个东西告诉用户「翻到哪了」 */
.lf-result-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 22px;
    font-size: 13px;
    color: var(--lf-ink-3);
}

.lf-result-meta b {
    font-family: var(--lf-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--lf-brand);
    letter-spacing: .5px;
}

/* 网格：与首页 .lf-grid--4 同一套栅格（27px 间距由 grid gap 控制，
   所以 JS 拼出来的卡片外层不能再用 row/col 的负 margin 体系） */
#lawyer_page {
    margin: 0;
}

#lawyer_page .lf-grid {
    margin: 0;
}

/* 滚动加载中的指示条（原页面没有任何加载反馈，用户不知道还有没有） */
.lf-loading {
    padding: 26px 0 8px;
    text-align: center;
    font-size: 13px;
    color: var(--lf-ink-3);
}

.lf-loading i {
    margin-right: 6px;
    color: var(--lf-brand);
}

@media (max-width: 767px) {
    .lf-filter {
        padding: 20px 18px 16px;
        margin-bottom: 26px;
    }

    /* 手机上标签换行会顶掉左标签，改成上下堆叠 */
    .lf-filter__row {
        flex-direction: column;
        gap: 8px;
    }

    .lf-filter__label {
        width: auto;
        padding-top: 0;
    }

    .lf-filter__list a {
        height: 30px;
        line-height: 28px;
        padding: 0 12px;
    }

    .lf-filter__search {
        max-width: none;
    }
}


/* ============================================================
   20. 搜索框重做（导航栏浮层 + 检索结果页）
   ------------------------------------------------------------
   改造前导航栏浮层是「320px 白盒子 + 绝对定位按钮」，
   结果页是「灰边输入框 + 蓝方块按钮」，都跟深蓝导航不搭。

   新做法：一个整体的搜索条 —— 图标在左、输入框居中、按钮在右，
   全部用 flex 布局（不再用 absolute 硬定位，改高度也不会错位）。
   ============================================================ */

/* ---------- 20.1 导航栏浮层 ---------- */

.nav-search__panel {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    z-index: 1200;
    width: 380px;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    box-shadow: var(--lf-shadow-lg);
}

/* 浮层上方的小三角，视觉上把它「挂」在搜索图标下面 */
.nav-search__panel::before {
    content: "";
    position: absolute;
    right: 20px;
    top: -6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid var(--lf-line);
    border-top: 1px solid var(--lf-line);
    transform: rotate(45deg);
}

.nav-search.open .nav-search__panel {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 输入框自带放大镜图标（用背景图，省一个 DOM 节点） */
.nav-search__panel input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 6px 0 42px;
    box-sizing: border-box;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    background: var(--lf-bg-soft)
        url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a95a1' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E")
        no-repeat 14px center / 17px 17px;
    font-size: 14px;
    color: var(--lf-ink);
    outline: none;
    transition: all .2s ease;
}

.nav-search__panel input::placeholder {
    color: var(--lf-ink-3);
}

.nav-search__panel input:focus {
    border-color: var(--lf-brand);
    background-color: #fff;
}

.nav-search__panel button {
    /* ⚠️ 必须显式清掉 17.1 节的 position:absolute / right / top / width ——
       flex 布局里按钮一旦被绝对定位/限宽就会脱离文档流、内容溢出面板 */
    position: static;
    right: auto;
    top: auto;
    width: auto;
    flex: 0 0 auto;
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--lf-radius);
    background: var(--lf-brand);
    color: #fff;
    font-size: 14px;
    letter-spacing: .5px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease;
}

.nav-search__panel button:hover {
    background: var(--lf-brand-600);
}

/* 按钮里原本只有一个图标（aria-label 叫「搜索」）—— 窄屏只留图标 */
.nav-search__panel button .lf-btn-text {
    margin-left: 5px;
}

/* ---------- 20.2 检索结果页 ---------- */

.lf-search-hero {
    max-width: 760px;
    margin: 0 auto 46px;
}

.lf-searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: 999px;
    box-shadow: var(--lf-shadow-sm);
    transition: all .25s ease;
}

.lf-searchbar:focus-within {
    border-color: var(--lf-brand);
    box-shadow: 0 6px 26px rgba(47, 119, 208, .16);
}

.lf-searchbar input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 8px 0 46px;
    box-sizing: border-box;
    border: 0;
    background: transparent
        url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a95a1' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E")
        no-repeat 16px center / 19px 19px;
    font-size: 16px;
    color: var(--lf-ink);
    outline: none;
}

.lf-searchbar input::placeholder {
    color: var(--lf-ink-3);
}

.lf-searchbar button {
    flex: 0 0 auto;
    height: 52px;
    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    background: var(--lf-brand);
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease;
}

.lf-searchbar button:hover {
    background: var(--lf-brand-600);
}

/* 未输入关键词时的引导：给几个常用词，比一句「请输入关键词」有用 */
.lf-search-hint {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--lf-ink-3);
}

.lf-search-hint a {
    display: inline-block;
    margin: 0 3px;
    padding: 2px 12px;
    border: 1px solid var(--lf-line);
    border-radius: 16px;
    color: var(--lf-ink-2);
    font-size: 13px;
}

.lf-search-hint a:hover {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

/* 检索结果页里的律师卡也统一成首页那套（原来用的是 card shadow-1） */
.lf-search-lawyers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 文章结果：横向图文条，比原来的 card 更省纵向空间 */
.lf-result-item {
    display: flex;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid var(--lf-line);
}

.lf-result-item:last-child {
    border-bottom: 0;
}

.lf-result-item__thumb {
    flex: 0 0 auto;
    width: 190px;
    height: 122px;
    border-radius: var(--lf-radius);
    overflow: hidden;
    background: var(--lf-bg-soft);
}

.lf-result-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.lf-result-item:hover .lf-result-item__thumb img {
    transform: scale(1.04);
}

.lf-result-item__body {
    flex: 1 1 auto;
    min-width: 0;
}

.lf-result-item__title {
    margin: 2px 0 10px;
    font-family: var(--lf-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--lf-ink);
}

.lf-result-item__title a {
    color: inherit;
}

.lf-result-item__title a:hover {
    color: var(--lf-brand);
}

.lf-result-item__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--lf-ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .nav-search__panel {
        right: auto;
        left: 0;
        width: 300px;
    }

    .nav-search__panel button .lf-btn-text {
        display: none;
    }

    .lf-search-lawyers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .lf-searchbar {
        flex-direction: column;
        border-radius: var(--lf-radius-lg);
        padding: 8px;
    }

    .lf-searchbar input {
        width: 100%;
        height: 46px;
    }

    .lf-searchbar button {
        width: 100%;
        height: 46px;
        padding: 0;
    }

    .lf-result-item {
        gap: 14px;
    }

    .lf-result-item__thumb {
        width: 116px;
        height: 78px;
    }

    .lf-result-item__title {
        font-size: 16px;
    }
}


/* ============================================================
   21. 文章栏目列表页（artlist.html）重做
   ------------------------------------------------------------
   改造前：lf-grid--2 的 2 列大图卡。问题是这个站的文章封面
   大多共用同一张「凌云资讯」图 —— 一屏 4 张几乎相同的蓝色大图，
   视觉重复感极强（用户反馈「不太好看」）。

   新做法（对标主流律所/媒体 news listing）：
     · 首条 = 左图右文的横向大卡（视觉重心）
     · 其余 = 行式媒体条（小图 + 标题 + 摘要 + 日期），图片退居配角
     · 侧栏热门文章 = 排名数字列表（前 3 名大号品牌蓝数字）
     · 标签 = 品牌胶囊；分页 = 胶囊按钮
   ============================================================ */

/* ---------- 21.0 同级栏目切换条 ----------
   放在列表页顶部：把「父级栏目下的所有兄弟栏目」列成一排胶囊，
   解决「进了一个栏目就出不去、要回顶部导航绕一圈」的问题。

   为什么写在全局 CSS 而不是各模板的 #define css() 里：
   兄弟栏目可能分布在不同模板 —— 同一组里既有 style 为空的（走 artlist.html），
   也有 style=honor/branch/line/case 的（走 artlist_<style>.html）。
   样式放全局，各处只需要 include 同一段标记，不用重复维护。

   标记位置：artlist.html、artlist_honor.html 顶部（速答块之后）。
   计数 .lf-subnav__n 直接取 category.count —— 它是 DB 里的缓存值，
   省掉每页几十次 count 查询。 */

.lf-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--lf-line);
}

.lf-subnav__item {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid var(--lf-line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--lf-ink-2);
    background: #fff;
    transition: all .2s ease;
}

.lf-subnav__item:hover {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

/* 当前栏目：品牌蓝实底。用 id 比对，不依赖「第一个」或「标题相等」这类脆弱判据。 */
.lf-subnav__item.is-active {
    background: var(--lf-brand);
    border-color: var(--lf-brand);
    color: #fff;
}

.lf-subnav__n {
    font-size: 12px;
    opacity: .65;
}

/* ---------- 21.1 首条大卡 ---------- */

.lf-feat {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 34px;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all .25s ease;
}

.lf-feat:hover {
    transform: translateY(-3px);
    border-color: var(--lf-brand-line);
    box-shadow: var(--lf-shadow-md);
}

.lf-feat__cover {
    position: relative;
    min-height: 300px;
    background: var(--lf-bg-soft);
    overflow: hidden;
}

.lf-feat__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.lf-feat:hover .lf-feat__cover img {
    transform: scale(1.04);
}

.lf-feat__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 38px;
}

.lf-feat__meta {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--lf-brand);
    margin-bottom: 14px;
}

.lf-feat__title {
    font-family: var(--lf-serif);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--lf-ink);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-feat:hover .lf-feat__title {
    color: var(--lf-brand);
}

.lf-feat__desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--lf-ink-2);
    margin: 0 0 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-feat__more {
    font-size: 13px;
    letter-spacing: .5px;
    color: var(--lf-brand);
}

.lf-feat__more i {
    margin-left: 5px;
    transition: transform .25s ease;
    display: inline-block;
}

.lf-feat:hover .lf-feat__more i {
    transform: translateX(4px);
}

/* ---------- 21.2 行式媒体条 ---------- */

.lf-newslist {
    border-top: 1px solid var(--lf-line);
}

.lf-newsrow {
    display: flex;
    gap: 26px;
    padding: 26px 0;
    border-bottom: 1px solid var(--lf-line);
    text-decoration: none;
}

.lf-newsrow__thumb {
    flex: 0 0 auto;
    width: 218px;
    height: 140px;
    border-radius: var(--lf-radius);
    overflow: hidden;
    background: var(--lf-bg-soft);
}

.lf-newsrow__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.lf-newsrow:hover .lf-newsrow__thumb img {
    transform: scale(1.05);
}

.lf-newsrow__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.lf-newsrow__title {
    font-family: var(--lf-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--lf-ink);
    margin: 2px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-newsrow:hover .lf-newsrow__title {
    color: var(--lf-brand);
}

.lf-newsrow__desc {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--lf-ink-2);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-newsrow__meta {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--lf-ink-3);
    letter-spacing: .5px;
}

/* ---------- 21.3 侧栏热门排行 ---------- */

.lf-side-rank {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: rank;
}

.lf-side-rank li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--lf-line);
}

.lf-side-rank li:last-child {
    border-bottom: none;
}

.lf-side-rank__no {
    flex: 0 0 auto;
    width: 26px;
    font-family: var(--lf-serif);
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    color: var(--lf-ink-3);
}

/* 前 3 名：大号品牌蓝数字 */
.lf-side-rank__no.is-top {
    font-size: 24px;
    color: var(--lf-brand);
}

.lf-side-rank__body {
    flex: 1 1 auto;
    min-width: 0;
}

.lf-side-rank__body a {
    display: block;
    font-size: 14px;
    line-height: 1.65;
    color: var(--lf-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-side-rank__body a:hover {
    color: var(--lf-brand);
}

.lf-side-rank__date {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--lf-ink-3);
}

/* ---------- 21.4 标签胶囊 ---------- */

.lf-tagpill {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 6px 15px;
    border: 1px solid var(--lf-line);
    border-radius: 18px;
    background: #fff;
    font-size: 13px;
    color: var(--lf-ink-2);
    text-decoration: none;
    transition: all .2s ease;
}

.lf-tagpill:hover {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

/* ---------- 21.5 分页胶囊 ---------- */

.lf-pagewrap .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 44px 0 0;
}

.lf-pagewrap .page-item a,
.lf-pagewrap .page-item span {
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    padding: 0 14px;
    text-align: center;
    border: 1px solid var(--lf-line);
    border-radius: 20px !important;
    background: #fff;
    color: var(--lf-ink-2);
    font-size: 14px;
    transition: all .2s ease;
}

.lf-pagewrap .page-item a:hover {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

.lf-pagewrap .page-item.active a,
.lf-pagewrap .page-item.active span {
    background: var(--lf-brand);
    border-color: var(--lf-brand);
    color: #fff;
}

.lf-pagewrap .page-item.disabled span {
    color: var(--lf-ink-3);
    background: var(--lf-bg-soft);
}

/* ---------- 21.6 手机端 ---------- */

@media (max-width: 991px) {
    .lf-feat {
        grid-template-columns: 1fr;
    }

    .lf-feat__cover {
        min-height: 0;
        padding-top: 56%;
    }

    .lf-feat__body {
        padding: 24px 22px 26px;
    }
}

@media (max-width: 767px) {
    .lf-newsrow {
        gap: 14px;
        padding: 20px 0;
    }

    .lf-newsrow__thumb {
        width: 116px;
        height: 80px;
    }

    .lf-newsrow__title {
        font-size: 15.5px;
        margin-bottom: 6px;
    }

    .lf-newsrow__desc {
        display: none;   /* 手机端行式条只留 标题+日期，扫得快 */
    }

    .lf-feat__title {
        font-size: 19px;
    }
}

/* ============================================================================
   22. 律师详情页（lawyer.html）
   ----------------------------------------------------------------------------
   改造前：空页头（紫色渐变条，里面什么都没有）+ Bootstrap 老 grid +
   词条式「参考资料」排版（lemma-summary / lemma-reference 是百度百科的词条样式，
   明显是从百科抄来的），头衔用 <h1> 里塞 <small>。

   新做法：
     · 左侧固定栏（sticky）= 照片 + 基本信息；右侧 = 简介 + 三个 tab
       —— 律师页的信息是「档案型」的，让身份信息跟着滚动是浪费；
         钉住之后读者在任何一段都能看到「这是谁、哪个所的、做什么的」。
     · 专业领域用 chip 展示（workArea 字段本身就是逗号分隔的多值）

   ⚠️ 照片用 aspect-ratio 3:4 而不是固定高度：
      律师照片的实际比例五花八门（有的横有的竖），固定高度会把横图裁得很难看。
   ============================================================================ */

.lf-lw {
    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.lf-lw__side {
    position: sticky;
    top: 24px;
}

.lf-lw__photo {
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    background: var(--lf-bg-soft);
    box-shadow: var(--lf-shadow-sm);
}

.lf-lw__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* 无照片：品牌色渐变块 + 姓名首字。
   不用灰色占位图 —— 灰块看起来像「页面坏了」，有色块看起来像「设计如此」。 */
.lf-lw__photo--empty {
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--lf-brand-soft), #dce8f8);
}

.lf-lw__photo--empty span {
    font-family: var(--lf-serif);
    font-size: 44px;
    font-weight: 700;
    color: var(--lf-brand);
    opacity: .45;
}

.lf-lw__meta {
    margin-top: 22px;
}

.lf-lw__row {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--lf-line);
    font-size: 14px;
    line-height: 1.6;
}

.lf-lw__row:last-child {
    border-bottom: 0;
}

.lf-lw__k {
    flex: none;
    width: 68px;
    color: var(--lf-ink-3);
}

.lf-lw__v {
    color: var(--lf-ink);
    word-break: break-word;
}

/* 值里有真换行时保留（article_lawerdetails.html 的「社会职务」是
   多行文本，库里存的就是换行分隔；不保留会挤成一坨）。 */
.lf-lw__v--pre {
    white-space: pre-line;
}

.lf-lw__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lf-lw__chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--lf-brand-soft);
    color: var(--lf-brand-800);
    font-size: 12.5px;
    line-height: 1.7;
}

/* 职务徽标：放在照片上方，一眼看出级别 */
.lf-lw__job {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--lf-ink-2);
    line-height: 1.7;
}

/* ---------- 右侧主区 ---------- */

.lf-lw__brief {
    padding: 18px 22px;
    background: var(--lf-bg-soft);
    border-left: 3px solid var(--lf-brand);
    border-radius: var(--lf-radius);
    font-size: 15px;
    line-height: 1.9;
    color: var(--lf-ink-2);
    margin-bottom: 28px;
    white-space: pre-line;   /* 摘要里有换行（「业务专长：」之后）要保留 */
}

/* tab 条：复用设计系统的胶囊风格，不用 Bootstrap 的 nav-tabs */
.lf-lw__tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--lf-line);
    margin-bottom: 26px;
}

/* tab：既支持 <button>（lawyer.html）也支持 <a>（article_lawerdetails.html），
   所以两种元素都要抹平默认样式 —— a 要额外去掉下划线与链接色。 */
.lf-lw__tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 12px 4px;
    margin-bottom: -1px;
    font-size: 15.5px;
    font-family: inherit;
    line-height: 1.5;
    color: var(--lf-ink-2);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.lf-lw__tab:hover,
.lf-lw__tab:focus {
    color: var(--lf-brand);
    text-decoration: none;
}

.lf-lw__tab + .lf-lw__tab {
    margin-left: 22px;
}

.lf-lw__tab:hover {
    color: var(--lf-brand);
}

.lf-lw__tab.is-active {
    color: var(--lf-brand);
    border-bottom-color: var(--lf-brand);
    font-weight: 600;
}

.lf-lw__panel {
    display: none;
}

.lf-lw__panel.is-active {
    display: block;
}

/* 相关文章 / 律师动态：行式条，与前几轮的新闻行保持同一语言 */
.lf-lw__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lf-lw__list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--lf-line);
}

.lf-lw__list li:last-child {
    border-bottom: 0;
}

.lf-lw__item {
    display: block;
}

.lf-lw__item:hover .lf-lw__item-t {
    color: var(--lf-brand);
}

.lf-lw__item-t {
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lf-ink);
    margin: 0 0 8px;
    transition: color .2s ease;
}

.lf-lw__item-m {
    font-size: 13px;
    color: var(--lf-ink-3);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.lf-lw__item-d {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--lf-ink-2);
}

/* 「加载更多」：一个克制的文字按钮，不做成实心大按钮抢戏 */
.lf-lw__more {
    display: block;
    width: 100%;
    margin: 24px 0 0;
    padding: 12px;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    background: #fff;
    color: var(--lf-ink-2);
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
}

.lf-lw__more:hover:not(:disabled) {
    border-color: var(--lf-brand);
    color: var(--lf-brand);
}

.lf-lw__more:disabled {
    cursor: default;
    color: var(--lf-ink-3);
    background: var(--lf-bg-soft);
}

@media (max-width: 991px) {
    .lf-lw {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .lf-lw__side {
        position: static;
    }

    /* 手机端照片不再占满整屏宽 —— 240px 上限并居中，
       否则 3:4 的比例会让照片高达 500px+，把简介挤到首屏外 */
    .lf-lw__photo,
    .lf-lw__photo--empty {
        max-width: 240px;
        margin: 0 auto;
    }

    .lf-lw__meta {
        max-width: 240px;
        margin: 18px auto 0;
    }
}

/* ============================================================================
   第 23 节 · 无障碍（A11y）与移动端
   ----------------------------------------------------------------------------
   目标：键盘/读屏用户可用，触屏点击区够大，动画尊重「减少动态」偏好。
   ============================================================================ */

/* 跳转链接：默认移出视口，键盘聚焦时滑入 */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 18px;
    background: var(--lf-navy, #0f2b4d);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: top .2s ease;
}
.skip-link:focus {
    top: 16px;
    color: #fff;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* 全局焦点样式：键盘聚焦才有（鼠标点击不显示），对比足够 */
:focus-visible {
    outline: 3px solid var(--lf-brand, #1b4d8f);
    outline-offset: 2px;
    border-radius: 4px;
}
/* 旧浏览器兜底：focus 也给出可见轮廓 */
a:focus,
button:focus,
.lf-tool:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--lf-brand, #1b4d8f);
    outline-offset: 2px;
}

/* 移动端：触屏点击区与排版 */
@media (max-width: 767px) {
    /* 导航/工具按钮最小点击高度，避免误触 */
    .navbar .nav-link,
    .lf-tool,
    .lf-btn,
    .lf-foot-sep + a,
    footer a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    /* 文章目录在窄屏移入正文流下方，不再占侧栏 */
    .lf-toc {
        position: static !important;
        margin: 0 0 20px;
    }

    /* 工具条按钮撑满一行，方便拇指点 */
    .lf-article-tools .lf-tool {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* ============================================================================
   网站地图页（page_sitemap-page.html）
   ============================================================================ */
.lf-sitemap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}
.lf-sitemap__t {
    font-size: 16px;
    font-weight: 700;
    color: var(--lf-ink, #1a2233);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lf-line, #e6eaef);
}
.lf-sitemap__list { list-style: none; margin: 0; padding: 0; }
.lf-sitemap__list li { margin: 0 0 8px; }
.lf-sitemap__list a {
    color: var(--lf-ink-2, #4a5561);
    text-decoration: none;
}
.lf-sitemap__list a:hover { color: var(--lf-brand, #1b4d8f); }
.lf-sitemap__sub { list-style: none; margin: 6px 0 0; padding-left: 16px; }
.lf-sitemap__sub li { margin: 0 0 6px; font-size: 13px; }

@media (max-width: 767px) {
    .lf-sitemap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* 尊重「减少动态效果」：关掉全站持续/入场动画，仅保留必要交互 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .lf-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
   24. 信息公开整合页（page_information.html）
   ------------------------------------------------------------
   把「公开材料」与「视频专区」整合进同一个一级栏目。
   · .lf-info-nav        顶部分类速览（锚点跳转胶囊）
   · .lf-material-group  锚点跳转时为吸顶导航留出位移
   ============================================================ */

/* 分类速览：只显示有内容的分组，胶囊式锚点直达 */
.lf-info-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 30px;
}

.lf-info-nav a {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid #d8e2ef;
    border-radius: 999px;
    color: #2c5a8c;
    background: #f5f9fd;
    font-size: 14px;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}

.lf-info-nav a:hover,
.lf-info-nav a:focus-visible {
    background: #2c5a8c;
    color: #fff;
    border-color: #2c5a8c;
}

/* 锚点跳转时为吸顶导航留出位移，避免标题被遮住 */
.lf-material-group {
    scroll-margin-top: 92px;
}

@media (max-width: 767px) {
    .lf-info-nav {
        gap: 8px;
        margin-bottom: 22px;
    }
    .lf-info-nav a {
        padding: 6px 13px;
        font-size: 13px;
    }
}

/* ============================================================
   25. 业务领域列表页（artlist_service.html）
   ------------------------------------------------------------
   3 列等高卡片网格，顶部图片 + 标题叠加，下方摘要。
   ============================================================ */

/* 速答块：页面顶部一句摘要
   2026-10-16 改版：视觉规格与荣誉页 .lf-honor-lead 完全对齐
   （浅蓝底 + 左侧品牌色竖条 + 左对齐），此前是"居中、无底色"的孤例，
   和其他内页放在一起显得突兀。类名保留 .lf-service-lead 不改，模板零改动。 */
.lf-service-lead {
    position: relative;
    background: var(--lf-brand-soft);
    border-radius: var(--lf-radius);
    padding: 22px 26px 22px 30px;
    margin-bottom: 32px;
}

.lf-service-lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    background: var(--lf-brand);
    border-radius: 0 3px 3px 0;
}

.lf-service-lead p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--lf-ink-2);
}

/* 卡片网格：3 列 → 2 列 → 1 列 */
.lf-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lf-service-card {
    display: flex;
    flex-direction: column;
    background: var(--lf-bg);
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}

.lf-service-card:hover,
.lf-service-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--lf-shadow-lg);
}

/* 顶部图片区 16:9，标题压在底部渐变上 */
.lf-service-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--lf-navy);
}

.lf-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lf-service-card:hover .lf-service-card__media img,
.lf-service-card:focus-visible .lf-service-card__media img {
    transform: scale(1.04);
}

.lf-service-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    font-size: 42px;
}

.lf-service-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 18px 14px;
    background: linear-gradient(to top, rgba(15, 43, 77, .82), rgba(15, 43, 77, 0));
}

.lf-service-card__title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

/* 卡片 body：摘要 + 了解更多 */
.lf-service-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.lf-service-card__desc {
    flex: 1 1 auto;
    margin: 0 0 14px;
    color: var(--lf-ink-2);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lf-brand);
    font-size: 14px;
    font-weight: 500;
    transition: gap .2s ease;
}

.lf-service-card:hover .lf-service-card__more,
.lf-service-card:focus-visible .lf-service-card__more {
    gap: 10px;
}

@media (max-width: 991px) {
    .lf-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .lf-service-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .lf-service-card__title {
        font-size: 18px;
    }
    /* 与 .lf-honor-lead 的小屏内边距一致（lawfirm.css §15 的 575px 档） */
    .lf-service-lead {
        padding: 18px 20px 18px 24px;
    }
}
