/* ================================================================
   雷新林律师 GEO 主题 — 主样式表 v4.2
   颜色：主色 #2c5aa0 深蓝 / 背景 #f5f6f7 浅灰 / 卡片 #ffffff
   字体：系统宋体（标题）/ 微软雅黑（正文）
   设计方向：对齐老站 B2 PRO + 自定义 HTML 审美
   ================================================================ */

:root {
    /* ── B2 蓝灰基线 ── */
    --c-primary: #2c5aa0;
    --c-primary-dark: #1e4378;
    --c-primary-bg: rgba(44,90,160,0.06);
    --c-primary-line: rgba(44,90,160,0.15);

    /* ── 中性色 ── */
    --c-dark: #1a1a1a;
    --c-dark-soft: #333333;
    --c-cta: #2c5aa0;
    --c-cta-hover: #1e4378;
    --c-bg: #f5f6f7;
    --c-bg-warm: #eef0f2;
    --c-card-bg: #ffffff;
    --c-white: #ffffff;
    --c-text: #1a1a1a;
    --c-text-soft: #555555;
    --c-text-muted: #667085;
    --c-border: #e0e0e0;
    --c-border-light: #f0f0f0;
    --c-accent-bg: #f2f5fa;
    --c-footer-bg: #1a1a1a;
    --c-footer-text: #b2bac2;

    /* ── 字体（纯现代无衬线，参考老站鸿蒙字体风格，考虑大陆网络环境）── */
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* ── 间距与尺寸 ── */
    --radius: 6px;
    --radius-sm: 3px;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-nav: 0 2px 16px rgba(0,0,0,0.06);
    --section-gap: 2rem;
    --max-width: 1200px;
    --max-content: 780px;
    --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Fallback for browsers without overflow: clip. */
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
}

/* Unified transition for interactive elements */
a, button {
    transition: color var(--transition),
                background-color var(--transition),
                border-color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
}

/* ================================================================
   Hero — 律师身份
   ================================================================ */
.home-hero {
    padding: 1.25rem 0 1rem;
}

.legacy-hero-banner.container {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #07182a;
    border-radius: var(--radius);
    line-height: 0;
}

.legacy-hero-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-card.container {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.75rem);
    height: auto;
    min-height: 0;
    margin-top: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(24, 39, 58, .07);
}

.hero-card__body {
    min-width: 0;
    max-width: none;
    padding: 0;
}

.hero-card__eyebrow {
    margin: 0 0 .6rem;
    color: var(--c-primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.hero-card__name {
    margin: 0 0 .45rem;
    color: var(--c-text);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: .025em;
}

.hero-card__name a {
    color: inherit;
    text-decoration: none;
}

.hero-card__name a:hover,
.hero-card__name a:focus-visible {
    color: var(--c-primary);
}

.hero-card__summary {
    max-width: none;
    margin: 0 0 .8rem;
    color: #3f4854;
    font-size: .96rem;
    line-height: 1.75;
}

.hero-card__meta {
    margin: 0;
    color: var(--c-text-muted);
    font-size: .82rem;
    line-height: 1.6;
}

.hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem 1.25rem;
    margin: 1.2rem 0 0;
}

.hero-card__credentials {
    display: grid;
    gap: .35rem;
    width: 100%;
    max-width: none;
    margin: 0 0 .85rem;
    padding: .7rem 0;
    border-top: 1px solid var(--c-border-light);
    border-bottom: 1px solid var(--c-border-light);
}

.hero-card__credentials > div {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: .75rem;
}

.hero-card__credentials dt {
    color: var(--c-text-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.hero-card__credentials dd {
    margin: 0;
    color: #3f4854;
    font-size: .88rem;
    line-height: 1.5;
}

.hero-card__honors span {
    display: block;
}

.hero-card__honors span + span {
    margin-top: .12rem;
}

.hero-card__credential-title {
    display: inline;
    margin-left: .32rem;
    color: #5b6675;
    font-size: .82rem;
    font-weight: 650;
    white-space: nowrap;
}

.hero-card__call {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem 1rem;
    color: var(--c-white);
    background: var(--c-primary);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}

.hero-card__call:hover,
.hero-card__call:focus-visible {
    color: var(--c-white);
    background: var(--c-primary-dark);
}

.hero-card__profile {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-primary);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}

.hero-card__profile:hover,
.hero-card__profile:focus-visible {
    color: var(--c-primary-dark);
    text-decoration: underline;
    text-underline-offset: .25em;
}

.hero-card__photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 250px;
    height: 370px;
    min-height: 0;
    overflow: hidden;
    background: #d9dde1;
    border-radius: 8px;
    box-shadow: 0 7px 22px rgba(24, 39, 58, .13);
    line-height: 0;
}

.hero-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.08);
    transform-origin: center center;
}

@media (max-width: 768px) {
    .home-hero {
        padding: .75rem 0;
    }

    .legacy-hero-banner.container {
        border-radius: 4px;
    }

    .hero-card.container {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0;
        height: auto;
        min-height: 0;
        margin-top: .85rem;
        padding: 0;
        overflow: hidden;
    }

    .hero-card__photo {
        display: none;
    }

    .hero-card__photo img {
        width: 100%;
        max-width: none;
        object-position: center 18%;
    }

    .hero-card__body {
        position: relative;
        max-width: none;
        padding: 1rem 1.1rem 1.05rem;
    }

    .hero-card__eyebrow {
        margin-bottom: .18rem;
        font-size: .7rem;
    }

    .hero-card__name {
        margin-bottom: 0;
        font-size: 1.65rem;
    }

    .hero-card__credentials {
        gap: .28rem;
        margin: .65rem 0 .55rem;
        padding: .58rem 0;
    }

    .hero-card__credentials > div {
        grid-template-columns: 4rem minmax(0, 1fr);
        gap: .5rem;
    }

    .hero-card__credentials dt {
        font-size: .71rem;
    }

    .hero-card__credentials dd {
        font-size: .8rem;
        line-height: 1.42;
    }

    .hero-card__credential-title {
        margin-left: .28rem;
        font-size: .72rem;
    }

    .hero-card__summary {
        display: none;
    }

    .hero-card__meta {
        font-size: .73rem;
    }

    .hero-card__actions {
        flex-wrap: nowrap;
        gap: .55rem;
        margin-top: .7rem;
    }

    .hero-card__call,
    .hero-card__profile {
        min-height: 36px;
        white-space: nowrap;
    }

    .hero-card__call {
        padding: .45rem .72rem;
        font-size: .8rem;
    }

    .hero-card__profile {
        font-size: .73rem;
    }
}

@media (max-width: 480px) {
    .hero-card.container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .hero-card__photo {
        width: 100%;
        height: 118px;
    }

    .hero-card__body {
        padding: .85rem .9rem .95rem;
    }

    .hero-card__name {
        font-size: 1.5rem;
    }

    .hero-card__credentials > div {
        grid-template-columns: 3.7rem minmax(0, 1fr);
        gap: .42rem;
    }

    .hero-card__credentials dd {
        font-size: .76rem;
    }

    .hero-card__meta {
        font-size: .68rem;
    }

    .hero-card__actions {
        gap: .42rem;
    }

    .hero-card__call {
        padding: .4rem .58rem;
        font-size: .75rem;
    }

    .hero-card__profile {
        font-size: .67rem;
    }
}

@media (max-width: 360px) {
    .hero-card__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-card__call {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .hero-card__profile {
        justify-content: center;
    }
}

/* ================================================================
   Services — 六项轻量专业目录
   ================================================================ */
.services-section {
    padding: 1.5rem 0 2rem;
}

.service-directory.container {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.8fr);
    gap: 0;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: #f1f4f8;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(24, 39, 58, .06);
}

.service-directory__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 270px;
    padding: 1.75rem 2rem;
    background: var(--c-primary-dark);
    text-align: left;
}

.service-directory__eyebrow {
    margin: 0 0 .45rem;
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.service-directory__intro h2 {
    margin: 0 0 .8rem;
    color: var(--c-white);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.25;
}

.service-directory__intro > p:last-child {
    max-width: 260px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    line-height: 1.75;
    text-wrap: balance;
}

.service-directory__intro > p:last-child span {
    display: inline;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: .55rem 1.15rem;
    background: #f1f4f8;
}

.service-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 86px;
    padding: .78rem 1.1rem;
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d9e0e8;
    border-radius: 0;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition);
}

.service-cell:nth-child(odd) {
    border-right: 1px solid #d9e0e8;
}

.service-cell:nth-last-child(-n+2) {
    border-bottom: 0;
}

.service-cell:hover,
.service-cell:focus-visible {
    background: rgba(255, 255, 255, .58);
}

.service-cell__number {
    flex: 0 0 auto;
    color: var(--c-primary);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.service-cell__content {
    flex: 1;
    min-width: 0;
}

.service-cell__title {
    margin: 0 0 .2rem;
    color: var(--c-text);
    font-size: 1rem;
    font-weight: 700;
}

.service-cell:hover .service-cell__title,
.service-cell:focus-visible .service-cell__title,
.service-cell:hover .service-cell__arrow,
.service-cell:focus-visible .service-cell__arrow {
    color: var(--c-primary);
}

.service-cell__keys {
    margin: 0;
    color: #4f5b6b;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.48;
}

.service-cell__keys-row {
    display: block;
    white-space: nowrap;
}

.service-cell__arrow {
    flex: 0 0 auto;
    color: var(--c-border);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .services-section {
        padding: 1rem 0 1.5rem;
    }

    .service-directory.container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .service-directory__intro {
        align-items: flex-start;
        min-height: 0;
        padding: 1rem 1.1rem;
        text-align: left;
    }

    .service-directory__eyebrow {
        margin-bottom: .2rem;
        font-size: .66rem;
    }

    .service-directory__intro h2 {
        margin-bottom: .35rem;
        font-size: 1.5rem;
    }

    .service-directory__intro > p:last-child {
        max-width: none;
        font-size: .73rem;
        line-height: 1.55;
        text-wrap: wrap;
    }

    .service-directory__intro > p:last-child span {
        display: block;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: .35rem .55rem;
    }

    .service-cell {
        gap: .5rem;
        min-height: 94px;
        padding: .7rem .6rem;
    }

    .service-cell__number {
        font-size: .62rem;
    }

    .service-cell__title {
        font-size: .86rem;
    }

    .service-cell__keys {
        font-size: .72rem;
        line-height: 1.42;
    }

    .service-cell__arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .service-cell {
        min-height: 92px;
        padding: .65rem .5rem;
    }

    .service-cell__title {
        font-size: .82rem;
    }

    .service-cell__keys {
        font-size: .72rem;
        line-height: 1.4;
    }
}

/* ================================================================
   Homepage Editorial Lists
   ================================================================ */
.article-card {
    min-width: 0;
    overflow: hidden;
    position: relative;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
}

.article-card__link {
    display: block;
    height: 100%;
    padding: 1.1rem 1.15rem;
    color: inherit;
    text-decoration: none;
}

.article-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--c-primary);
}

.article-card__body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.article-card__cat {
    align-self: flex-start;
    margin-bottom: .35rem;
    color: var(--c-primary);
    font-size: .7rem;
    font-weight: 650;
    letter-spacing: .06em;
}

.article-card__title {
    display: -webkit-box;
    margin: 0 0 .45rem;
    overflow: hidden;
    color: var(--c-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-card:hover,
.article-card:focus-within {
    border-color: var(--c-primary-line);
}

.article-card:hover .article-card__title,
.article-card:focus-within .article-card__title {
    color: var(--c-primary);
}

.article-card__excerpt {
    display: -webkit-box;
    margin: 0 0 .65rem;
    overflow: hidden;
    color: var(--c-text-soft);
    font-size: .82rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-card__date {
    margin-top: auto;
    color: var(--c-text-muted);
    font-size: .72rem;
}

.article-card__image {
    flex: 0 0 132px;
    width: 132px;
    min-height: 112px;
    overflow: hidden;
    background: var(--c-bg-warm);
}

.article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card--has-image .article-card__link {
    display: flex;
    padding: 0;
}

.article-card--has-image .article-card__body {
    flex: 1;
    padding: .9rem 1rem;
}

.article-card--has-image .article-card__accent {
    display: none;
}

.articles-grid {
    display: grid;
    gap: 1rem;
}

.articles-grid--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.articles-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cases-section {
    padding: 2rem 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-border-light);
    border-bottom: 1px solid var(--c-border-light);
}

.posts-section {
    padding: 2rem 0;
}

.cases-section .articles-grid,
.posts-section .articles-grid {
    gap: .85rem;
}

.cases-section .section-header,
.posts-section .section-header {
    margin-bottom: 1rem;
    padding-top: .4rem;
}

.cases-section .section-eyebrow,
.posts-section .section-eyebrow {
    font-size: .78rem;
    letter-spacing: .08em;
}

.cases-section .section-header h2,
.posts-section .section-header h2 {
    font-size: clamp(1.65rem, 2.4vw, 2rem);
}

.cases-section .section-header-link,
.posts-section .section-header-link {
    min-height: 38px;
    font-size: .84rem;
}

.posts-section .articles-grid--3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 992px) {
    .articles-grid--3col,
    .posts-section .articles-grid--3col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .articles-grid--3col,
    .articles-grid--2col,
    .posts-section .articles-grid--3col {
        grid-template-columns: 1fr;
    }

    .cases-section .article-card:nth-child(n+3),
    .posts-section .article-card:nth-child(n+4) {
        display: none;
    }

    .article-card__link {
        padding: .9rem 1rem;
    }

    .article-card__image {
        flex-basis: 104px;
        width: 104px;
        min-height: 104px;
    }

    .article-card--has-image .article-card__body {
        padding: .75rem .85rem;
    }

    .article-card__cat {
        margin-bottom: .2rem;
    }

    .article-card__title {
        margin-bottom: .3rem;
        font-size: .92rem;
        line-height: 1.45;
    }
}

/* ================================================================
   Skip Link (Accessibility)
   ================================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100000;
    background: var(--c-dark);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}
.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--c-primary);
    outline-offset: 2px;
}

/* ================================================================
   Focus Visible (Accessibility)
   ================================================================ */
:focus-visible {
    outline: 3px solid var(--c-primary);
    outline-offset: 3px;
}

main a:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    box-shadow: 0 0 0 3px var(--c-white), 0 0 0 6px var(--c-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-text);
}

a { color: var(--c-primary); text-decoration: none; transition: color 0.2s, background 0.2s; }
a:hover { color: var(--c-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* User-generated articles and profile URLs must never widen the viewport. */
.single-post-content,
.page-content,
.entity-profile-card {
    overflow-wrap: anywhere;
}

ul, ol { list-style-position: inside; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.site-main { min-height: 60vh; }

/* --- Section Titles (v3: eyebrow + top border + flex layout) --- */
.section-title {
    font-family: var(--font-sans);
    font-size: 1.85rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--c-dark);
    position: relative;
    padding-bottom: 1.25rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
    border-radius: 2px;
}

/* ================================================================
   Section Header — 全站统一标题组件
   ================================================================ */
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1.25rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--c-primary-line);
}

.section-eyebrow {
    color: var(--c-primary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 0;
    width: 100%;
    /* NO text-transform: uppercase */
}

.section-header h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    /* Remove color: var(--c-dark) — use inherited or var(--c-text) */
}

.section-header-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 0.25rem;
    transition: color var(--transition);
}

.section-header-link:hover {
    color: var(--c-primary);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: var(--c-cta);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(44,90,160,0.18);
    text-decoration: none;
    line-height: 1;
}
.btn-primary:hover {
    background: var(--c-cta-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44,90,160,0.24);
}

.btn-secondary {
    display: inline-block;
    border: 1.5px solid var(--c-primary-line);
    color: var(--c-primary);
    background: var(--c-white);
    padding: 11px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    text-decoration: none;
    line-height: 1;
}
.btn-secondary:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--c-primary);
    color: var(--c-primary);
    padding: 10px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.25s;
}
.btn-outline:hover {
    background: var(--c-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* ================================================================
   Header
   ================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229,221,210,.7);
    transition: background .36s cubic-bezier(.22,1,.36,1),
                border-color .36s cubic-bezier(.22,1,.36,1),
                box-shadow .36s cubic-bezier(.22,1,.36,1);
}
.site-header.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 28px rgba(43,36,32,.075);
    border-bottom-color: rgba(229,221,210,.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height .36s cubic-bezier(.22,1,.36,1);
}
.site-header.scrolled .header-inner { height: 60px; }
.site-header.scrolled .site-title { font-size: 1.1rem; }

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--c-text);
    position: relative;
}

/* 红色短线延续律所站的克制识别色，避免模板化的图标装饰。 */
.site-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.05em;
    margin-right: 9px;
    background: var(--c-primary);
    vertical-align: -0.12em;
    border-radius: 1px;
}

.header-nav-area {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* --- Main Navigation --- */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list a {
    color: var(--c-text-soft);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-cta);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list .current-menu-item > a,
.main-nav .nav-list .current_page_item > a {
    color: var(--c-cta);
}
.main-nav .nav-list a:hover::after,
.main-nav .nav-list .current-menu-item > a::after,
.main-nav .nav-list .current_page_item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Header Phone Button --- */
.header-phone-btn {
    background: var(--c-cta);
    color: #fff;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.93rem;
    white-space: nowrap;
    transition: all 0.25s;
}
.header-phone-btn:hover {
    background: var(--c-cta-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--c-primary);
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    forced-color-adjust: none;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-primary) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .9);
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 1px;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent !important;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-color-scheme: dark) {
    .mobile-menu-toggle {
        color: var(--c-primary);
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: var(--c-primary) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .92);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent !important;
    }
}

/* ================================================================
   Contact — 扁平咨询与执业信息
   ================================================================ */
.contact-banner {
    padding: 1rem 0 .5rem;
    background: var(--c-bg-warm);
}

.contact-banner__wrapper {
    display: grid;
    grid-template-columns: .95fr 1.55fr auto;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    padding-top: .85rem;
    padding-bottom: .85rem;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-primary);
}

.contact-banner__eyebrow {
    margin: 0 0 .35rem;
    color: var(--c-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.contact-banner__primary h2 {
    margin: 0 0 .25rem;
    color: var(--c-text);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.3;
}

.contact-banner__phone {
    display: inline-block;
    color: var(--c-primary);
    font-size: clamp(1.35rem, 2.25vw, 1.65rem);
    font-weight: 750;
    letter-spacing: .035em;
    line-height: 1.25;
    text-decoration: none;
}

.contact-banner__phone:hover,
.contact-banner__phone:focus-visible {
    color: var(--c-primary-dark);
}

.contact-banner__note {
    max-width: 390px;
    margin: .3rem 0 0;
    color: var(--c-text-muted);
    font-size: .76rem;
    line-height: 1.5;
}

.contact-banner__details {
    display: grid;
    gap: .28rem;
    min-width: 0;
    padding-left: 1rem;
    border-left: 1px solid var(--c-border);
}

.contact-detail {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: .6rem;
    align-items: baseline;
}

.contact-detail__label {
    display: block;
    margin-bottom: 0;
    color: var(--c-text-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.contact-detail p,
.contact-detail a {
    margin: 0;
    color: #3f4854;
    font-size: .82rem;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-detail__address span {
    display: inline;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
    color: var(--c-primary);
}

.contact-banner__wechat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .6rem;
    min-width: 178px;
    text-align: left;
}

.contact-banner__qr-box {
    flex: 0 0 108px;
    width: 108px;
    height: 108px;
    padding: 4px;
    overflow: hidden;
    background: var(--c-white);
    border: 1px solid var(--c-border);
}

.contact-banner__qr-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-banner__wechat-title {
    margin: 0 0 .1rem;
    color: var(--c-text);
    font-size: .86rem;
    font-weight: 700;
}

.contact-banner__wechat-sub {
    margin: 0;
    color: var(--c-text-muted);
    font-size: .68rem;
}

.contact-banner__footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: .15rem;
    padding: .5rem .65rem;
    color: var(--c-text-muted);
    background: #eef2f6;
    border-top: 1px solid #dce3eb;
    border-radius: 3px;
    font-size: .64rem;
    line-height: 1.45;
}

.contact-banner__footer p {
    margin: 0;
}

.contact-banner__footer .contact-banner__icp {
    margin-left: auto;
    text-align: right;
}

@media (max-width: 768px) {
    .contact-banner {
        padding: .55rem 0 .35rem;
        background: #e8edf3;
    }

    .contact-banner__wrapper.container {
        grid-template-columns: minmax(0, 1fr) 88px;
        grid-template-areas:
            "primary primary"
            "details wechat"
            "footer footer";
        align-items: start;
        gap: .5rem .65rem;
        padding: .6rem;
        background: #f7f9fc;
        border: 0;
        border-radius: 6px;
    }

    .contact-banner__primary {
        grid-area: primary;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .1rem .65rem;
        padding: .65rem .75rem;
        background: var(--c-primary-dark);
        border-radius: 4px;
    }

    .contact-banner__eyebrow {
        display: none;
    }

    .contact-banner__primary h2 {
        margin: 0;
        color: var(--c-white);
        font-size: .98rem;
    }

    .contact-banner__phone {
        color: var(--c-white);
        font-size: 1.08rem;
    }

    .contact-banner__phone:hover,
    .contact-banner__phone:focus-visible {
        color: var(--c-white);
    }

    .contact-banner__note {
        display: none;
    }

    .contact-banner__details {
        grid-area: details;
        grid-template-columns: 1fr;
        gap: .3rem;
        padding: .15rem 0 0 .1rem;
        border-top: 0;
        border-bottom: 0;
        border-left: 0;
    }

    .contact-banner__details .contact-detail:nth-child(3) {
        grid-column: auto;
    }

    .contact-detail {
        grid-template-columns: 3.7rem minmax(0, 1fr);
        gap: .35rem;
    }

    .contact-detail__label {
        font-size: .65rem;
    }

    .contact-detail p,
    .contact-detail a {
        font-size: .72rem;
        line-height: 1.35;
    }

    .contact-banner__wechat {
        grid-area: wechat;
        flex-direction: column;
        justify-content: flex-start;
        justify-self: stretch;
        align-items: center;
        gap: .25rem;
        min-width: 0;
        padding: .15rem 0 0;
        text-align: center;
    }

    .contact-banner__qr-box {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
        margin-inline: auto;
    }

    .contact-banner__wechat-title {
        display: none;
    }

    .contact-banner__wechat-sub {
        display: none;
    }

    .contact-banner__footer {
        grid-area: footer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 0;
        padding: .42rem .5rem;
        font-size: .58rem;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .contact-banner__wrapper.container {
        grid-template-columns: minmax(0, 1fr) 86px;
        gap: .45rem .5rem;
        padding: .52rem;
    }

    .contact-banner__primary {
        padding: .58rem .65rem;
    }

    .contact-banner__primary h2 {
        font-size: .9rem;
    }

    .contact-banner__phone {
        font-size: 1rem;
    }

    .contact-banner__details {
        gap: .25rem;
        padding-top: .1rem;
    }

    .contact-detail {
        grid-template-columns: 3.35rem minmax(0, 1fr);
        gap: .28rem;
    }

    .contact-detail__address span {
        display: block;
    }

    .contact-banner__qr-box {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
    }

    .contact-banner__wechat {
        gap: .12rem;
    }
}

/* ================================================================
   Single Post
   ================================================================ */
.single-post {
    padding: 3rem 0 var(--section-gap);
}

.single-post-header {
    margin-bottom: 2.5rem;
}
.single-post-header h1 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}
.single-post-meta {
    font-size: 0.88rem;
    color: var(--c-text-muted);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--c-border-light);
}
.single-post-cats a {
    color: var(--c-primary);
    font-weight: 600;
}
.single-post-tags a {
    color: var(--c-primary);
    font-size: 0.85em;
}

.single-post-content {
    max-width: var(--max-content);
    font-size: 1.05rem;
    line-height: 1.9;
}
.single-post-content h2 {
    font-size: 1.55rem;
    margin: 2.25rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--c-border-light);
}
.single-post-content h3 {
    font-size: 1.3rem;
    margin: 1.75rem 0 0.75rem;
}
.single-post-content h4 {
    font-size: 1.15rem;
    margin: 1.25rem 0 0.6rem;
}
.single-post-content p {
    margin-bottom: 1.25rem;
}
.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}
.single-post-content li {
    margin-bottom: 0.5rem;
}
.single-post-content blockquote {
    border-left: 4px solid var(--c-primary);
    padding: 1rem 1.5rem;
    margin: 1.75rem 0;
    background: var(--c-accent-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--c-text-soft);
    font-style: italic;
}
.single-post-content img {
    border-radius: var(--radius);
    margin: 1.5rem auto;
    box-shadow: var(--shadow-card);
}
.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.single-post-content th,
.single-post-content td {
    border: 1px solid var(--c-border-light);
    padding: 0.75rem 1rem;
    text-align: left;
}
.single-post-content th {
    background: var(--c-accent-bg);
    font-weight: 600;
    color: var(--c-primary);
}

/* --- Author Bio --- */
.article-author-bio {
    margin-top: 3rem;
    padding: 1.5rem 1.65rem;
    background: #fff;
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius);
    max-width: var(--max-content);
    border-top: 3px solid var(--c-primary);
    box-shadow: 0 10px 30px rgba(18, 42, 72, 0.06);
}
.author-bio-inner {
    display: grid;
    grid-template-columns: 112px minmax(250px, 1fr) minmax(205px, 0.68fr);
    gap: 1.35rem;
    align-items: center;
}
.author-bio-portrait {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #dbe4f0;
    box-shadow: 0 6px 18px rgba(18, 42, 72, 0.14);
}
.author-bio-photo {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.author-bio-kicker,
.author-bio-contact-label {
    margin: 0 0 0.18rem;
    color: var(--c-primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.author-bio-name {
    font-size: 1.24rem;
    font-weight: 700;
    margin: 0 0 0.18rem;
    font-family: var(--font-sans);
}
.author-bio-name a { color: var(--c-primary); }
.author-bio-firm {
    font-size: 0.92rem;
    color: var(--c-text);
    margin: 0 0 0.42rem;
    font-weight: 600;
}
.author-bio-summary {
    margin: 0;
    color: var(--c-text-soft);
    font-size: 0.86rem;
    line-height: 1.65;
}
.author-bio-contact {
    min-height: 90px;
    padding-left: 1.35rem;
    border-left: 1px solid var(--c-border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.author-bio-phone {
    margin: 0 0 0.35rem;
    line-height: 1.25;
}
.author-bio-phone a {
    color: var(--c-cta);
    font-size: 1.18rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}
.author-bio-service {
    margin: 0;
    font-size: 0.88rem;
    color: var(--c-text-soft);
}
.author-bio-service a { color: var(--c-primary); }

/* --- Service Link Block --- */
.single-post-service-link {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: var(--c-accent-bg);
    border-radius: var(--radius);
    border: 1px solid var(--c-border-light);
    max-width: var(--max-content);
}
.single-post-service-link p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.55rem;
    margin: 0;
}
.single-post-service-link a { font-weight: 600; }

/* --- Post Navigation --- */
.single-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border-light);
    max-width: var(--max-content);
    gap: 1rem;
}
.post-nav-prev,
.post-nav-next { font-size: 0.95rem; }
.post-nav-prev a,
.post-nav-next a { color: var(--c-primary); }

/* --- Breadcrumb --- */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    padding: 1rem 0;
    max-width: var(--max-content);
}
.breadcrumb a { color: var(--c-primary); font-weight: 500; }
.breadcrumb .sep { margin: 0 0.5rem; color: #ccc; }

/* ================================================================
   Page Lawyer
   ================================================================ */
.page-lawyer {
    padding: 3rem 0 var(--section-gap);
}
.page-lawyer-header {
    text-align: center;
    margin-bottom: 3rem;
}
.page-lawyer-header h1 {
    font-size: 2.25rem;
    color: var(--c-primary);
    margin-top: 1.5rem;
}
.lawyer-photo-large {
    border-radius: var(--radius);
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.page-lawyer-body h2 {
    font-size: 1.55rem;
    color: var(--c-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--c-border-light);
}
.page-lawyer-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--c-dark);
}
.page-lawyer-body p {
    margin-bottom: 1rem;
    line-height: 1.85;
    color: #444;
}
.page-lawyer-body ul {
    list-style: none;
    padding: 0;
}
.page-lawyer-body ul li {
    padding: 0.45rem 0;
    line-height: 1.65;
}
.page-lawyer-body ul li::before {
    content: '\2014\a0';
    color: var(--c-primary);
}
.page-lawyer-body .lawyer-honors span {
    display: block;
}
.page-lawyer-body .lawyer-honors {
    position: relative;
    padding-left: 1.35rem;
}
.page-lawyer-body .lawyer-honors::before {
    position: absolute;
    top: .45rem;
    left: 0;
    content: '\2014';
}
.page-lawyer-body .lawyer-honors span + span {
    margin-top: .18rem;
}
.page-lawyer-body blockquote {
    font-size: 1.3rem;
    color: var(--c-primary);
    font-style: normal;
    text-align: left;
    padding: 1rem 1.15rem;
    font-family: var(--font-sans);
}

.lawyer-philosophy blockquote {
    background: var(--c-accent-bg);
    border-left: 3px solid var(--c-primary);
    border-radius: var(--radius);
    font-weight: 650;
}

.lawyer-firm {
    margin-top: 2.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-primary);
    border-radius: var(--radius);
}

.page-lawyer-body .lawyer-firm > h2 {
    margin-top: .25rem;
}

.page-lawyer-body .lawyer-firm > p:not(.section-eyebrow) {
    max-width: 880px;
    line-height: 1.7;
}

.lawyer-firm__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: .8rem;
    margin-top: 1.25rem;
}

.lawyer-firm__thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    min-width: 0;
}

.lawyer-firm__photo {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--c-accent-bg);
    border-radius: var(--radius-sm);
}

.lawyer-firm__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.lawyer-firm__photo--main img {
    aspect-ratio: 3 / 2;
}

.lawyer-firm__photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .75rem .7rem .48rem;
    color: #fff;
    font-size: .76rem;
    line-height: 1.4;
    background: linear-gradient(transparent, rgba(10, 21, 35, .78));
}

.lawyer-services-overview .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--c-border);
    border-left: 1px solid var(--c-border);
}

.lawyer-services-overview .service-card {
    min-width: 0;
    min-height: 62px;
    padding: .8rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    color: var(--c-dark);
    background: #fff;
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.lawyer-services-overview .service-card:hover {
    color: var(--c-primary);
    background: var(--c-accent-bg);
}

.lawyer-services-overview .service-card h3 {
    margin: 0;
    color: inherit;
    font-size: 1rem;
}

.lawyer-services-overview .service-card span {
    color: var(--c-primary);
    font-weight: 700;
}

.page-lawyer-body .lawyer-firm__verify {
    margin: 1rem 0 0;
}

.lawyer-firm__verify a {
    color: var(--c-primary);
    font-weight: 700;
    text-decoration: none;
}

.lawyer-contact {
    background: linear-gradient(135deg, var(--c-accent-bg), #fff);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border-light);
}

.lawyer-contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.lawyer-contact__info dl {
    margin: 0 0 1rem;
}

.lawyer-contact__info dl > div {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: .65rem;
    padding: .35rem 0;
}

.lawyer-contact__info dt {
    color: var(--c-text-muted);
    font-weight: 700;
}

.lawyer-contact__info dd {
    margin: 0;
    color: var(--c-text-soft);
    overflow-wrap: anywhere;
}

.lawyer-contact__info a {
    color: var(--c-primary);
    font-weight: 700;
    text-decoration: none;
}

.lawyer-contact__wechat {
    min-width: 172px;
    padding: .75rem;
    text-align: center;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
}

.lawyer-contact__wechat img {
    display: block;
    width: 148px;
    height: 148px;
    margin: 0 auto;
    object-fit: contain;
}

.page-lawyer-body .lawyer-contact__wechat p {
    margin: .45rem 0 0;
    color: var(--c-text);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .lawyer-firm {
        margin-top: 2rem;
        padding: 1rem;
    }

    .lawyer-firm__gallery {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .lawyer-firm__thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: .45rem;
    }

    .lawyer-firm__photo--main img {
        aspect-ratio: 3 / 2;
    }

    .lawyer-firm__photo figcaption {
        padding: .65rem .45rem .35rem;
        font-size: .7rem;
    }

    .lawyer-firm__thumbs .lawyer-firm__photo {
        aspect-ratio: 16 / 10;
    }

    .lawyer-services-overview .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lawyer-services-overview .service-card {
        min-height: 56px;
        padding: .7rem .65rem;
    }

    .lawyer-services-overview .service-card h3 {
        font-size: .9rem;
    }

    .lawyer-contact {
        padding: 1.25rem;
    }

    .lawyer-contact__layout {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .lawyer-contact__wechat {
        min-width: 0;
        justify-self: center;
        padding: .65rem;
    }

    .lawyer-contact__wechat img {
        width: 126px;
        height: 126px;
    }
}

/* ================================================================
   Page Service
   ================================================================ */
.page-service {
    padding: 3rem 0 var(--section-gap);
}
.page-service-header {
    margin-bottom: 2rem;
}
.page-service-header h1 {
    font-size: 2rem;
    color: var(--c-primary);
    margin-bottom: 0;
}
.page-service-body h2 {
    font-size: 1.55rem;
    color: var(--c-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--c-border-light);
}
.page-service-body h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}
.page-service-body p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
    color: #444;
}
.page-service-body ul,
.page-service-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}
.page-service-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.service-overview { margin-bottom: 2rem; }
.service-overview h2 {
    font-size: 1.6rem;
    color: var(--c-primary);
    margin: 1.5rem 0 1rem;
}
.service-overview h3 { font-size: 1.25rem; margin: 1.25rem 0 0.75rem; }
.service-overview p { margin-bottom: 1rem; line-height: 1.9; }
.service-overview ul,
.service-overview ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.service-overview li { margin-bottom: 0.5rem; }

.service-overview__lead {
    max-width: 850px;
    color: var(--c-text-soft);
    font-size: 1rem;
}

.service-overview .service-scope-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    border-top: 1px solid var(--c-border);
}

.service-overview .service-scope-list li {
    position: relative;
    margin: 0;
    padding: .9rem 1rem .9rem 1.5rem;
    color: var(--c-text-soft);
    border-bottom: 1px solid var(--c-border);
    font-size: .9rem;
    line-height: 1.6;
}

.service-overview .service-scope-list li::before {
    content: '';
    position: absolute;
    top: 1.45rem;
    left: .35rem;
    width: 5px;
    height: 5px;
    background: var(--c-primary);
    border-radius: 50%;
}

@media (max-width: 600px) {
    .service-overview .service-scope-list {
        grid-template-columns: 1fr;
    }
}

.service-related-posts { margin-top: 2rem; }
.service-related-posts h2 {
    font-size: 1.5rem;
    color: var(--c-primary);
    margin-bottom: 1.5rem;
}

/* FAQ Items */
.service-faq { margin-bottom: 2rem; }
.faq-item {
    background: var(--c-white);
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.85rem;
    transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-item h4 {
    font-size: 1.08rem;
    color: var(--c-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}
.faq-item p { color: var(--c-text-soft); line-height: 1.7; }

/* Service CTA */
.service-cta {
    text-align: center;
    padding: 3rem;
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--c-accent-bg), #fff);
    border-radius: var(--radius);
    border: 1px solid var(--c-border-light);
}
.service-cta h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.service-cta p { margin-bottom: 1.5rem; color: var(--c-text-soft); }
.service-cta .btn-primary { font-size: 1.1rem; }

/* ================================================================
   Page Contact
   ================================================================ */
.page-contact {
    padding: 3rem 0 var(--section-gap);
}
.page-contact > h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--c-primary);
    font-size: 2rem;
}
.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.contact-detail-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--c-white);
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius);
    transition: box-shadow 0.3s, transform 0.3s;
}
.contact-detail-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}
.contact-detail-item h2 {
    font-size: 1.2rem;
    color: var(--c-primary);
    margin-bottom: 0.85rem;
}
.contact-detail-item p { color: var(--c-text-soft); margin-bottom: 0.5rem; }
.contact-detail-item img { margin: 0 auto; border-radius: var(--radius-sm); }
.contact-phone-large a {
    font-size: 1.8rem;
    color: var(--c-cta);
    font-weight: 700;
}
.contact-phone-large a:hover { color: var(--c-cta-hover); }
.contact-email {
    margin-top: 1rem;
    font-size: .9rem;
}
.contact-email span {
    color: var(--c-text-muted);
    font-size: .78rem;
    font-weight: 700;
}
.contact-email a {
    color: var(--c-text-soft);
    text-decoration: none;
}
.contact-email a:hover,
.contact-email a:focus-visible {
    color: var(--c-primary);
}

/* ================================================================
   Archive / Category Pages
   ================================================================ */
.archive-page {
    padding: 3rem 0 var(--section-gap);
}
.archive-header {
    margin-bottom: 2.5rem;
    text-align: center;
}
.archive-header h1 {
    font-size: 1.85rem;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
}
.archive-desc {
    color: var(--c-text-soft);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ================================================================
   Pagination
   ================================================================ */
.pagination { margin-top: 2.5rem; text-align: center; }
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius-sm);
    color: var(--c-text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    background: var(--c-white);
    transition: all 0.2s;
}
.pagination .page-numbers.current {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    font-weight: 600;
}
.pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: var(--c-primary);
    color: var(--c-primary);
}
.pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    font-weight: 600;
}

/* ================================================================
   404 Page
   ================================================================ */
.page-404 {
    padding: 5rem 0;
    text-align: center;
}
.page-404 h1 {
    font-size: 5rem;
    color: var(--c-primary);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    line-height: 1;
}
.page-404 p {
    margin-bottom: 1.5rem;
    color: var(--c-text-soft);
    font-size: 1.1rem;
}

/* ================================================================
   Generic Page
   ================================================================ */
.page-default {
    padding: 3rem 0 var(--section-gap);
}
.page-default h1 {
    font-size: 2rem;
    color: var(--c-primary);
    margin-bottom: 2rem;
}
.page-content {
    max-width: var(--max-content);
    font-size: 1.05rem;
    line-height: 1.9;
}
.page-content h2 { font-size: 1.55rem; margin: 2rem 0 1rem; }
.page-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content ul,
.page-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; list-style-position: outside; }
.page-content li { margin-bottom: 0.5rem; }
.page-content img { border-radius: var(--radius); margin: 1.5rem auto; }
.page-content blockquote {
    border-left: 4px solid var(--c-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--c-accent-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ================================================================
   Mobile Call Button (v3: glass effect + text label)
   ================================================================ */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 200;
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--c-primary);
    border-radius: 14px;
    border: 1px solid var(--c-primary-line);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.contact-section-visible .mobile-call-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}
.mobile-call-btn:active {
    transform: scale(0.96);
}
.mobile-call-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

/* Hide call button when mobile menu is open */
body:has(.mobile-menu-toggle[aria-expanded="true"]) .mobile-call-btn {
    display: none !important;
}

/* ================================================================
   Scroll Reveal (v3: CSS animation-timeline with JS fallback)
   ================================================================ */
@supports (animation-timeline: view()) {
    .section-header {
        animation: fadeUp linear;
        animation-timeline: view();
        animation-range: entry 0% entry 92%;
    }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   prefers-reduced-motion (v3: Accessibility)
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   WordPress Core Alignment Classes
   ================================================================ */
.alignleft { float: left; margin: 0.5rem 1.5rem 1.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 1.5rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; margin-bottom: 1.5rem; }
.wp-caption-text { font-size: 0.85rem; color: var(--c-text-muted); text-align: center; margin-top: 0.5rem; }
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.clearfix::after { content: ''; display: table; clear: both; }

/* ================================================================
   Responsive: Tablet (992px)
   ================================================================ */
@media (max-width: 992px) {
    :root { --section-gap: 3.5rem; }

    .service-cta { padding: 2rem; }
}

/* ================================================================
   Responsive: Tablet / Large Phone (768px)
   ================================================================ */
@media (max-width: 768px) {
    :root { --section-gap: 1.75rem; }
    .container { padding: 0 18px; }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
        padding-bottom: 1rem;
    }
    .section-title::after { width: 48px; height: 2px; }

    /* ---- Header ---- */
    .header-inner { height: 64px; }
    .site-header.scrolled .header-inner { height: 54px; }
    .site-title { font-size: 1.15rem; }
    .site-header.scrolled .site-title { font-size: 1rem; }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    /* v3: Floating popover menu — 宽度自适应文字 */
    .header-nav-area {
        display: flex;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: auto;
        right: 0.5rem;
        width: fit-content;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(229,221,210,0.7);
        border-radius: 10px;
        flex-direction: column;
        padding: 0.25rem 0;
        gap: 0;
        box-shadow: 0 2px 16px rgba(43,36,32,0.10);
        transform: scale(0.95);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform-origin: top right;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .header-nav-area.open {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .main-nav .nav-list li {
        margin: 0;
    }
    .main-nav .nav-list a {
        display: flex;
        justify-content: flex-end;
        text-align: right;
        padding: 0.4rem 1.25rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--c-dark);
        white-space: nowrap;
        border-bottom: 1px solid rgba(229,221,210,0.4);
    }
    .main-nav .nav-list li:last-child a {
        border-bottom: none;
    }
    .main-nav .nav-list a::after { display: none; }
    .main-nav .nav-list a:active {
        color: var(--c-primary);
        background: var(--c-accent-bg);
    }

    /* 手机端已有底部悬浮电话按钮，导航面板内不再重复 */
    .header-nav-area .header-phone-btn {
        display: none;
    }

    /* ---- Articles ---- */
    .cases-section { padding: 1.25rem 0; background: var(--c-card-bg); }
    .posts-section { padding: 1.25rem 0; }

    .cases-section .section-header,
    .posts-section .section-header {
        align-items: center;
        margin-bottom: .75rem;
        padding-top: .3rem;
    }

    .cases-section .section-eyebrow,
    .posts-section .section-eyebrow {
        display: none;
    }

    .cases-section .section-header h2,
    .posts-section .section-header h2 {
        font-size: 1.48rem;
        line-height: 1.25;
    }

    .cases-section .section-header-link,
    .posts-section .section-header-link {
        min-height: 40px;
        font-size: .8rem;
    }

    /* ---- Single Post ---- */
    .single-post { padding: 2rem 0 2.5rem; }
    .single-post-header { margin-bottom: 1.75rem; }
    .single-post-header h1 {
        font-size: 1.45rem;
        line-height: 1.4;
    }
    .single-post-meta {
        flex-direction: column;
        gap: 0.65rem;
        align-items: flex-start;
        padding-bottom: 1rem;
        font-size: 0.82rem;
    }
    .single-post-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    .single-post-content h2 { font-size: 1.3rem; margin-top: 1.75rem; }
    .single-post-content h3 { font-size: 1.15rem; }
    .single-post-content blockquote { padding: 0.75rem 1rem; }

    .article-author-bio {
        margin-top: 2rem;
        padding: 1.05rem;
    }
    .author-bio-inner {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 0.75rem 0.9rem;
        text-align: left;
    }
    .author-bio-portrait {
        width: 76px;
        height: 76px;
    }
    .author-bio-name { font-size: 1.06rem; }
    .author-bio-firm,
    .author-bio-service { font-size: 0.84rem; }
    .author-bio-summary { display: none; }
    .author-bio-contact {
        grid-column: 1 / -1;
        min-height: 0;
        padding: 0.75rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--c-border-light);
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0.18rem 0.75rem;
    }
    .author-bio-contact-label,
    .author-bio-phone { margin: 0; }
    .author-bio-phone {
        grid-column: 2;
        grid-row: 1;
    }
    .author-bio-service {
        grid-column: 1 / -1;
    }
    .author-bio-phone a { font-size: 1.05rem; }

    .single-post-service-link {
        padding: 0.85rem 1rem;
        font-size: 0.92rem;
    }

    .single-post-nav {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
        font-size: 0.9rem;
    }

    /* ---- Page Lawyer ---- */
    .page-lawyer { padding: 2rem 0 2.5rem; }
    .page-lawyer-header { margin-bottom: 2rem; }
    .page-lawyer-header h1 { font-size: 1.6rem; }
    .lawyer-photo-large { width: 180px; height: 180px; }
    .page-lawyer-body h2 { font-size: 1.3rem; }
    .page-lawyer-body h3 { font-size: 1.1rem; }
    .page-lawyer-body blockquote { font-size: 1.15rem; padding: 1rem; }

    /* ---- Page Service ---- */
    .page-service { padding: 2rem 0 2.5rem; }
    .page-service-header h1 { font-size: 1.4rem; }
    .page-service-body h2 { font-size: 1.3rem; }
    .service-cta { padding: 1.5rem; }
    .service-cta h2 { font-size: 1.3rem; }

    /* ---- Archive ---- */
    .archive-page { padding: 2rem 0 2.5rem; }
    .archive-header { margin-bottom: 1.75rem; }
    .archive-header h1 { font-size: 1.4rem; }

    /* ---- Contact Page ---- */
    .page-contact { padding: 2rem 0 2.5rem; }
    .page-contact > h1 { font-size: 1.6rem; margin-bottom: 2rem; }
    .contact-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-detail-item { padding: 1.5rem; }
    .contact-phone-large a { font-size: 1.35rem; }

    /* ---- Pagination ---- */
    .pagination { margin-top: 2rem; }
    .pagination .page-numbers {
        min-width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    /* ---- Mobile Call Button ---- */
    .mobile-call-btn {
        display: flex;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        right: 1rem;
        width: 54px;
        height: 54px;
    }
    .mobile-call-btn svg { width: 20px; height: 20px; }

    /* ---- 404 ---- */
    .page-404 { padding: 3.5rem 0; }
    .page-404 h1 { font-size: 3.5rem; }
}

/* ================================================================
   Responsive: Small Phone (480px)
   针对 iPhone SE / 小屏安卓 精细化调整
   ================================================================ */
@media (max-width: 480px) {
    :root { --section-gap: 1.5rem; }
    .container { padding: 0 14px; }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    /* ---- Header ---- */
    .header-inner { height: 56px; }
    .site-header.scrolled .header-inner { height: 50px; }
    .site-title { font-size: 1.05rem; }
    .site-header.scrolled .site-title { font-size: 0.95rem; }
    .site-title::before { width: 3px; margin-right: 7px; }
    .header-nav-area {
        right: 0.25rem;
        padding: 0.2rem 0;
    }
    .main-nav .nav-list a {
        padding: 0.35rem 1rem;
        font-size: 0.9rem;
    }
    .header-nav-area .header-phone-btn {
        display: none;
    }


    /* ---- Articles ---- */
    .cases-section { padding: 1.15rem 0; background: var(--c-card-bg); }
    .posts-section { padding: 1.15rem 0; }

    /* ---- Single Post ---- */
    .single-post-header h1 { font-size: 1.3rem; }
    .single-post-content h2 { font-size: 1.2rem; }
    .single-post-content h3 { font-size: 1.08rem; }
    .single-post-content { font-size: 0.95rem; }

    /* ---- Page Lawyer ---- */
    .page-lawyer-header h1 { font-size: 1.4rem; }
    .lawyer-photo-large { width: 150px; height: 150px; }

    /* ---- Page Service ---- */
    .page-service-header h1 { font-size: 1.25rem; }
    .service-cta { padding: 1.25rem; }
    .service-cta h2 { font-size: 1.15rem; }
    .service-cta .btn-primary { font-size: 1rem; padding: 12px 24px; }

    /* ---- Contact Page ---- */
    .contact-detail-grid { gap: 1rem; }
    .contact-detail-item { padding: 1.25rem 1rem; }
    .contact-phone-large a { font-size: 1.2rem; }

    /* ---- Mobile Button ---- */
    .mobile-call-btn {
        width: 48px;
        height: 48px;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        right: 0.75rem;
        border-radius: 12px;
        font-size: 0.58rem;
        gap: 0;
    }
    .mobile-call-btn svg {
        width: 18px;
        height: 18px;
    }


    /* ---- Pagination (更紧凑) ---- */
    .pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 0.85rem;
    }

    /* ---- 404 ---- */
    .page-404 h1 { font-size: 3rem; }
    .page-404 p { font-size: 1rem; }
}

/* ================================================================
   Responsive: Large Desktop (1400px+)
   大屏专属：竖排律师名、超大 Hero
   ================================================================ */
@media (min-width: 1400px) {
    .services-card { padding: 3rem; }
}
/* Entity verification hub */
.entity-page {
    max-width: var(--max-width);
    padding-top: 3rem;
    padding-bottom: var(--section-gap);
}

.entity-page-header {
    max-width: 780px;
    margin-bottom: 2rem;
}

.entity-facts {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.entity-person {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.entity-person img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center;
    box-shadow: 0 4px 18px rgba(23, 43, 71, .12);
}

.entity-fact-list > div {
    display: grid;
    grid-template-columns: 8.25rem minmax(0, 1fr);
    gap: .8rem;
    padding: .44rem 0;
    border-bottom: 1px solid var(--c-border);
}

.entity-fact-list dt {
    color: var(--c-text-muted);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.45;
}
.entity-fact-list dd {
    margin: 0;
    color: var(--c-text-soft);
    font-size: .94rem;
    line-height: 1.45;
}

.entity-verifications,
.entity-honors,
.entity-profiles,
.entity-note { margin-top: 4rem; }

.entity-verification-grid,
.entity-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.entity-verification-card,
.entity-profile-card {
    padding: 1.5rem;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.entity-verification-card h3,
.entity-profile-card h3 { margin-top: 0; }
.entity-verification-authority {
    color: var(--c-text-soft);
    font-weight: 600;
}
.entity-verification-card ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
    list-style-position: outside;
}
.entity-verification-card li { margin-bottom: .45rem; }
.entity-verification-meta {
    color: var(--c-text-muted);
    font-size: .88rem;
}
.entity-honor-summary,
.entity-honor-sources {
    max-width: 900px;
}
.entity-honor-summary > p,
.entity-honor-sources span { color: var(--c-text-soft); }
.entity-honor-sources {
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
}
.entity-honor-sources p { margin: 0 0 .85rem; }
.entity-honor-sources p:last-child { margin-bottom: 0; }
.entity-profile-name { font-weight: 700; }

@media (max-width: 768px) {
    .entity-person,
    .entity-verification-grid,
    .entity-profile-grid { grid-template-columns: 1fr; }

    .entity-verifications,
    .entity-honors,
    .entity-profiles,
    .entity-note { margin-top: 2.5rem; }

    .entity-page {
        padding-top: 2rem;
    }

    .entity-page-header {
        margin-bottom: 1.5rem;
    }

    .entity-facts {
        padding: 1rem;
    }

    .entity-person {
        gap: 1.25rem;
    }

    .entity-person img {
        width: 148px;
        margin-inline: auto;
    }

    .entity-fact-list > div {
        grid-template-columns: 7.4rem minmax(0, 1fr);
        gap: .5rem;
        padding: .4rem 0;
    }
}

@media (max-width: 480px) {
    .entity-person img {
        width: 140px;
    }

    .entity-fact-list > div {
        grid-template-columns: 7rem minmax(0, 1fr);
    }
}
