/* ==========================================================================
   健检说官网 · 设计系统
   风格：克制专业蓝 —— 白底、深蓝主色、大留白
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
    --brand: #1A56DB;
    --brand-dark: #123A9A;
    --brand-light: #EBF3FF;
    --ink: #0F172A;
    --gray-900: #1E293B;
    --gray-700: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50: #F8FAFC;
    --white: #fff;

    /* 科技感强调色（扁平化：全部使用纯色块，不使用渐变） */
    --cyan: #06A4D4;
    --cyan-dark: #0482AA;
    --cyan-soft: #E4F6FC;
    --grass: #0EA372;
    --grass-dark: #0A7C57;
    --grass-soft: #E4F8F1;
    --violet: #6D5AE6;
    --violet-soft: #EEEBFF;
    --amber: #E8930C;
    --amber-soft: #FDF3E2;

    --radius-s: 8px;
    --radius: 12px;
    --radius-l: 20px;

    --shadow-s: 0 1px 3px rgba(15, 23, 42, .06);
    --shadow: 0 4px 24px rgba(15, 23, 42, .06);
    --shadow-l: 0 12px 40px rgba(15, 23, 42, .10);

    --section-y: 96px;
    --container: 1200px;
    --nav-h: 72px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 768px) {
    :root {
        --section-y: 56px;
        --nav-h: 60px;
    }
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .5em;
    color: var(--ink);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -.01em;
}

h1 {
    font-size: clamp(28px, 4vw, 44px);
}

h2 {
    font-size: clamp(24px, 3vw, 34px);
}

h3 {
    font-size: clamp(19px, 2vw, 22px);
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--brand-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

/* ---------- 3. 布局 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-y) 0;
}

.section--gray {
    background: var(--gray-50);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

/* 扁平化标签：实心色块 + 直角小圆角 */
.section-head .eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #fff;
    background: var(--brand);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* 标题下的短色条，增加色彩层次 */
.section-head h2 {
    position: relative;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    background: var(--cyan);
    border-radius: 2px;
    margin: 16px auto 0;
}

.section-head--left h2::after {
    margin-left: 0;
}

.section-head p {
    color: var(--gray-500);
    font-size: 17px;
    margin: 0;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

/* ---------- 4. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-s);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s var(--ease);
    text-align: center;
}

/* 扁平化按钮：纯色 + 实心下边缘，不用模糊阴影 */
.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 3px 0 var(--brand-dark);
}

.btn--primary:hover {
    background: #1B62F0;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--brand-dark);
}

.btn--primary:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 var(--brand-dark);
}

/* 科技青次要按钮 */
.btn--accent {
    background: var(--cyan);
    color: #fff;
    box-shadow: 0 3px 0 var(--cyan-dark);
}

.btn--accent:hover {
    background: #17B4E4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--cyan-dark);
}

.btn--ghost {
    border-color: var(--gray-300);
    color: var(--gray-900);
    background: #fff;
}

.btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn--light {
    background: #fff;
    color: var(--brand);
}

.btn--light:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn--block {
    width: 100%;
}

/* ---------- 5. 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--ink);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--brand);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 15px;
    color: var(--gray-700);
    border-radius: var(--radius-s);
    white-space: nowrap;
}

.nav-menu>li>a:hover,
.nav-menu>li.is-active>a {
    color: var(--brand);
    background: var(--brand-light);
}

.nav-menu .has-sub>a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-l);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .18s var(--ease);
}

.nav-menu>li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu a {
    padding: 9px 12px;
    font-size: 14px;
    border-radius: var(--radius-s);
}

.sub-menu a small {
    display: block;
    color: var(--gray-400);
    font-size: 12px;
    line-height: 1.4;
}

.nav-cta {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-s);
    background: #fff;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--gray-900);
    display: block;
}

/* ---------- 6. 顶部提示条 ---------- */
.notice-bar {
    background: #FFFBEB;
    border-bottom: 1px solid #FDE68A;
    color: #92400E;
    font-size: 13px;
    padding: 8px 0;
}

.notice-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-bar strong {
    font-weight: 700;
}

.notice-bar p {
    margin: 0;
}

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    padding: 92px 0 84px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

/* 扁平化几何装饰：纯色块 + 直角圆角，不使用渐变 */
.hero::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 340px;
    height: 340px;
    background: var(--brand-light);
    border-radius: 48px;
    transform: rotate(16deg);
}

.hero::after {
    content: "";
    position: absolute;
    top: 70px;
    right: 210px;
    width: 128px;
    height: 128px;
    background: var(--cyan-soft);
    border-radius: 28px;
    transform: rotate(16deg);
}

.hero .container {
    position: relative;
}

.hero-title {
    position: relative;
    max-width: 900px;
    margin-bottom: 26px;
    padding-top: 20px;
    font-size: clamp(30px, 4.6vw, 52px);
    line-height: 1.32;
    letter-spacing: -.015em;
    text-wrap: balance;
}

/* 标题上方的短色条 */
.hero-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 5px;
    background: var(--cyan);
    border-radius: 3px;
}

/* 桌面端在逗号处断行，移动端不断 */
.br-desktop {
    display: inline;
}

.hero-lead {
    font-size: 17.5px;
    line-height: 1.95;
    letter-spacing: .01em;
    color: var(--gray-500);
    max-width: 720px;
    margin-bottom: 36px;
}

.hero-lead-line {
    display: block;
}

.hero-lead-line+.hero-lead-line {
    margin-top: 6px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid var(--gray-200);
    padding-top: 32px;
}

.hero-facts>div {
    position: relative;
    padding-left: 14px;
    border-left: 3px solid var(--brand);
}

.hero-facts>div:nth-child(2) {
    border-left-color: var(--cyan);
}

.hero-facts>div:nth-child(3) {
    border-left-color: var(--grass);
}

.hero-facts>div:nth-child(4) {
    border-left-color: var(--violet);
}

.hero-facts .num {
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.hero-facts .label {
    font-size: 14px;
    color: var(--gray-500);
}

/* ---------- 8. 卡片与网格 ---------- */
.grid {
    display: grid;
    gap: 24px;
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    position: relative;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .25s var(--ease);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 顶部色条：hover 时显现，扁平化强调 */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand);
    opacity: 0;
    transition: opacity .25s var(--ease);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gray-300);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-title a {
    color: var(--ink);
}

.card-title a:hover {
    color: var(--brand);
}

.card-text {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 16px;
    flex: 1;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    padding-top: 14px;
    border-top: 1px dashed var(--gray-200);
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-meta span+span::before {
    content: "";
    width: 1px;
    height: 12px;
    background: var(--gray-300);
    margin-right: 4px;
}

/* 产品卡片（带封面） */
.pcard {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s var(--ease);
}

.pcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--cyan);
}

.cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.cover--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    padding: 16px;
    line-height: 1.4;
    aspect-ratio: 16 / 9;
}

.pcard-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 产品线配色（扁平纯色块 + 直角小圆角） */
.pcard-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.pcard-tag--yanxue {
    color: var(--brand-dark);
    background: var(--brand-light);
}

.pcard-tag--training {
    color: var(--cyan-dark);
    background: var(--cyan-soft);
}

.pcard-tag--wellness {
    color: var(--grass-dark);
    background: var(--grass-soft);
}

/* 案例行业标签 */
.pcard-tag--case {
    color: #4B3BC4;
    background: var(--violet-soft);
}

.pcard-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.45;
}

.pcard-title a {
    color: var(--ink);
}

.pcard-title a:hover {
    color: var(--brand);
}

.pcard-summary {
    font-size: 14px;
    color: var(--gray-500);
    flex: 1;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pcard-meta {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- 9. 数据指标条 ---------- */
/* 数据指标：白底彩色卡片，左侧色条区分 */
.stats {
    background: var(--white);
    padding: 8px 0 var(--section-y);
}

.stats .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-s);
    padding: 22px 24px;
}

.stat-item:nth-child(2) {
    border-left-color: var(--cyan);
}

.stat-item:nth-child(3) {
    border-left-color: var(--grass);
}

.stat-item:nth-child(4) {
    border-left-color: var(--violet);
}

.stat-item .num {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 4px;
    color: var(--ink);
}

.stat-item .label {
    font-size: 14px;
    color: var(--gray-500);
}

/* ---------- 10. Logo 墙 ---------- */
.logo-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.logo-wall span {
    font-size: 14px;
    color: var(--gray-700);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-bottom: 2px solid var(--brand-light);
    border-radius: 6px;
    padding: 8px 20px;
}

.logo-wall span:nth-child(3n+2) {
    border-bottom-color: var(--cyan-soft);
}

.logo-wall span:nth-child(3n) {
    border-bottom-color: var(--grass-soft);
}

/* 带 Logo 图片的机构 */
.logo-wall__item {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
}

/* 名单下方的省略号：表示未列全（纯装饰，对屏幕阅读器隐藏） */
.logo-wall-more {
    margin: 20px 0 0;
    text-align: center;
    font-size: 22px;
    line-height: 1;
    letter-spacing: .35em;
    text-indent: .35em;
    color: var(--gray-400);
    user-select: none;
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 12px 0;
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: 8px;
    color: var(--gray-300);
}

.breadcrumb a {
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--brand);
}

/* ---------- 12. 正文排版 ---------- */
.prose {
    max-width: 780px;
}

.prose h2 {
    margin-top: 1.6em;
    font-size: 26px;
}

.prose h3 {
    margin-top: 1.4em;
    font-size: 20px;
}

.prose p,
.prose li {
    color: var(--gray-700);
    font-size: 16.5px;
}

.prose ul li {
    margin-bottom: 6px;
}

/* 正文插图（公众号文章迁移） */
.post-figure {
    margin: 26px 0;
}

.post-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-s);
    border: 1px solid var(--gray-200);
}

/* 首页三大产品线：每条一个配色，形成色彩层次 */
.cat-card {
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand);
}

.cat-card--yanxue::after {
    background: var(--brand);
}

.cat-card--training::after {
    background: var(--cyan);
}

.cat-card--wellness::after {
    background: var(--grass);
}

.cat-card .card-text {
    padding-top: 4px;
}

/* 直答块左侧色条 */
.answer-block {
    background: var(--brand-light);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 22px 26px;
    margin-bottom: 32px;
}

.answer-block .label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--brand);
    display: block;
    margin-bottom: 8px;
}

.answer-block p {
    margin: 0;
    font-size: 17px;
    color: var(--ink);
    line-height: 1.8;
}

/* 信息表 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.info-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--ink);
    width: 140px;
    white-space: nowrap;
}

.info-table tr:last-child td,
.info-table tr:last-child th {
    border-bottom: none;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 要点列表 */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--gray-700);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-light);
    border: 2px solid var(--brand);
}

.check-list--cross li::before {
    background: #FEF2F2;
    border-color: #F87171;
}

/* 对比表 */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 640px;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top;
}

.compare-table thead th {
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    border: none;
}

.compare-table tbody tr:hover {
    background: var(--gray-50);
}

/* ---------- 13. 折叠面板（FAQ） ---------- */
.accordion {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.accordion-item+.accordion-item {
    border-top: 1px solid var(--gray-200);
}

.accordion-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 52px 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    position: relative;
    font-family: var(--font);
    line-height: 1.6;
}

.accordion-q::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 26px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
    transition: transform .2s var(--ease);
}

.accordion-item.is-open .accordion-q::after {
    transform: rotate(-135deg);
    border-color: var(--brand);
}

/* 展开项左侧色条 */
.accordion-item.is-open {
    background: var(--brand-light);
}

.accordion-a {
    display: none;
    padding: 0 52px 20px 22px;
    color: var(--gray-700);
    font-size: 15.5px;
}

.accordion-item.is-open .accordion-a {
    display: block;
}

.faq-group {
    margin-bottom: 40px;
}

.faq-group-title {
    font-size: 19px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-group-title::before {
    content: "";
    width: 3px;
    height: 18px;
    background: var(--brand);
    border-radius: 2px;
}

/* ---------- 14. 产品详情 ---------- */
.detail-hero {
    position: relative;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 52px 0 44px;
    overflow: hidden;
}

/* 扁平几何装饰 */
.detail-hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: var(--brand-light);
    border-radius: 32px;
    transform: rotate(16deg);
}

.detail-hero::after {
    content: "";
    position: absolute;
    top: 40px;
    right: 150px;
    width: 72px;
    height: 72px;
    background: var(--cyan-soft);
    border-radius: 18px;
    transform: rotate(16deg);
}

.detail-hero .container {
    position: relative;
}

.detail-hero h1 {
    max-width: 860px;
    margin-bottom: 14px;
}

.detail-sub {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.spec-item {
    background: var(--gray-50);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius-s);
    padding: 18px 20px;
}

.spec-grid .spec-item:nth-child(2) {
    border-left-color: var(--cyan);
}

.spec-grid .spec-item:nth-child(3) {
    border-left-color: var(--grass);
}

.spec-grid .spec-item:nth-child(4) {
    border-left-color: var(--violet);
}

.spec-item .k {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.spec-item .v {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

/*
 * 侧栏作为一个整体吸顶。
 * 注意：不要给单张卡片设置 position: sticky —— 多张卡片各自 sticky
 * 会在滚动时相互重叠。所有卡片放在 aside 内，由 aside 统一吸顶。
 */
.two-col>aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    /* 侧栏内容超过一屏时可内部滚动，避免底部被截断 */
    max-height: calc(100vh - var(--nav-h) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.two-col>aside::-webkit-scrollbar {
    width: 6px;
}

.two-col>aside::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.side-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 26px;
}

.side-card h3 {
    font-size: 17px;
    margin-bottom: 14px;
}

/* 企业微信二维码 */
.qr-card {
    text-align: center;
    padding: 24px;
}

.qr-img {
    width: 168px;
    height: 168px;
    object-fit: contain;
    margin: 0 auto 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-s);
    background: #fff;
    padding: 6px;
}

.qr-placeholder {
    width: 168px;
    height: 168px;
    margin: 0 auto 12px;
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-s);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--gray-400);
    background: #fff;
}

.qr-placeholder span {
    font-size: 14px;
    font-weight: 600;
}

.qr-placeholder small {
    font-size: 12px;
}

.qr-label {
    margin: 0;
    font-size: 14.5px;
    color: var(--gray-700);
}

/* 时间线（课程模块） */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 28px;
    border-left: 2px solid var(--gray-200);
}

.timeline li {
    position: relative;
    padding-bottom: 28px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--cyan);
}

.timeline .day {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 4px;
}

.timeline .ttl {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.timeline .desc {
    color: var(--gray-500);
    font-size: 15px;
}

/* 讲师卡片 */
.ins-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.ins-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.ins-name {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}

.ins-title {
    font-size: 13px;
    color: var(--brand);
    margin-bottom: 10px;
}

.ins-bio {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ---------- 15. 表单 ---------- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.field label .req {
    color: #DC2626;
    margin-left: 2px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-s);
    font-size: 15px;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    transition: border-color .2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, .1);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field-hint {
    font-size: 12.5px;
    color: var(--gray-400);
    margin-top: 6px;
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-s);
    margin-bottom: 20px;
    font-size: 14.5px;
}

.alert--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.alert--success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.alert ul {
    margin: 0;
    padding-left: 1.2em;
}

/* ---------- 16. CTA 区 ---------- */
.cta-band {
    position: relative;
    background: var(--brand-dark);
    color: #fff;
    padding: 64px 0;
    text-align: center;
    overflow: hidden;
}

/* 扁平几何装饰：半透明纯色块 */
.cta-band::before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -70px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .07);
    border-radius: 36px;
    transform: rotate(20deg);
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -60px;
    width: 150px;
    height: 150px;
    background: var(--cyan);
    opacity: .2;
    border-radius: 28px;
    transform: rotate(20deg);
}

.cta-band .container {
    position: relative;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, .82);
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: 17px;
}

.cta-band .btn--light {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
    background: var(--ink);
    border-top: 4px solid var(--brand);
    color: rgba(255, 255, 255, .68);
    padding: 64px 0 0;
    font-size: 14.5px;
}

/* 页脚栏目标题前的小色块 */
.footer-col h4::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col a {
    color: rgba(255, 255, 255, .68);
}

.footer-col a:hover {
    color: #fff;
}

.footer-about p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.footer-contact li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 20px 0 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
}

/* ---------- 18. 分页 ---------- */
.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pager a {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-s);
    color: var(--gray-700);
    font-size: 15px;
}

.pager a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.pager a.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ---------- 19. 其他组件 ---------- */
.tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.tag-filter a {
    padding: 7px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 14px;
    color: var(--gray-700);
    background: #fff;
}

.tag-filter a:hover,
.tag-filter a.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.post-meta {
    font-size: 13.5px;
    color: var(--gray-400);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.post-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.post-item:first-child {
    padding-top: 0;
}

.post-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.post-item p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 10px;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
    font-size: 14.5px;
}

.post-nav a {
    color: var(--gray-500);
}

.post-nav a:hover {
    color: var(--brand);
}

.post-nav .next {
    text-align: right;
}

.sample-flag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    color: #92400E;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    padding: 1px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 6px;
}

.empty {
    text-align: center;
    padding: 64px 0;
    color: var(--gray-400);
}

/* 滚动淡入 */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- 20. 二级/三级页面视觉增强 ---------- */

/* --- 页面头部（二级列表页通用）：浅底 + 扁平几何装饰 --- */
.page-hero {
    position: relative;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 60px 0 52px;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: var(--brand-light);
    border-radius: 40px;
    transform: rotate(16deg);
}

.page-hero::after {
    content: "";
    position: absolute;
    top: 62px;
    right: 172px;
    width: 96px;
    height: 96px;
    background: var(--cyan-soft);
    border-radius: 22px;
    transform: rotate(16deg);
}

.page-hero .container {
    position: relative;
}

.page-hero .eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #fff;
    background: var(--brand);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 14px;
}

/* 标题上方的短色条 */
.page-hero h1::before {
    content: "";
    display: block;
    width: 48px;
    height: 5px;
    background: var(--cyan);
    border-radius: 3px;
    margin-bottom: 20px;
}

.page-hero .lead {
    font-size: 17px;
    line-height: 1.85;
    color: var(--gray-500);
    max-width: 760px;
    margin: 0;
}

/* 栏目配色：不同二级页用不同主色，形成层次 */
.page-hero--cyan::before { background: var(--cyan-soft); }
.page-hero--cyan::after  { background: var(--brand-light); }
.page-hero--grass::before { background: var(--grass-soft); }
.page-hero--grass::after  { background: var(--cyan-soft); }
.page-hero--violet::before { background: var(--violet-soft); }
.page-hero--violet::after  { background: var(--brand-light); }
.page-hero--amber::before { background: var(--amber-soft); }
.page-hero--amber::after  { background: var(--cyan-soft); }

/* --- 文章分类标签 --- */
.post-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.post-cat:hover {
    filter: brightness(.96);
}

.post-cat--industry   { color: var(--brand-dark); background: var(--brand-light); }
.post-cat--knowledge  { color: var(--cyan-dark);  background: var(--cyan-soft); }
.post-cat--operation  { color: var(--grass-dark); background: var(--grass-soft); }
.post-cat--yanxue-log { color: #4B3BC4;           background: var(--violet-soft); }
.post-cat--admission  { color: #92400E;           background: var(--amber-soft); }
.post-cat--case       { color: #4B3BC4;           background: var(--violet-soft); }

/* --- 文章列表卡片：日期块 + 内容 + 可选缩略图 --- */
.post-list {
    display: grid;
    gap: 18px;
}

.post-card {
    position: relative;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px 24px;
    overflow: hidden;
    transition: all .25s var(--ease);
}

.post-card--cover {
    grid-template-columns: 84px minmax(0, 1fr) 180px;
}

/* 左侧色条：hover 时显现 */
.post-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--brand);
    opacity: 0;
    transition: opacity .25s var(--ease);
}

.post-card:hover::before { opacity: 1; }

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gray-300);
}

/* 日期块 */
.post-date {
    background: var(--gray-50);
    border-radius: var(--radius-s);
    padding: 12px 8px;
    text-align: center;
    border-bottom: 3px solid var(--brand);
}

.post-date .d {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}

.post-date .m {
    display: block;
    font-size: 12.5px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* 日期块下边框按序轮换配色 */
.post-list .post-card:nth-child(4n+2) .post-date { border-bottom-color: var(--cyan); }
.post-list .post-card:nth-child(4n+3) .post-date { border-bottom-color: var(--grass); }
.post-list .post-card:nth-child(4n+4) .post-date { border-bottom-color: var(--violet); }

.post-body { min-width: 0; }

.post-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--brand); }

.post-excerpt {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--gray-400);
}

.post-foot .more {
    color: var(--brand);
    font-weight: 600;
}

.post-thumb {
    width: 180px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius-s);
    border: 1px solid var(--gray-200);
}

/* 详情页头部内的元信息行 */
.detail-hero .hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 13.5px;
    color: var(--gray-500);
    margin-bottom: 14px;
}

.detail-hero .hero-meta a { color: var(--gray-500); }
.detail-hero .hero-meta a:hover { color: var(--brand); }

/* 头部元信息行内的分类标签不占下边距 */
.detail-hero .hero-meta .post-cat { margin-bottom: 0; }

/* --- 正文排版增强 --- */
/* 二级标题：前置小色块 + 下分隔线 */
.prose h2 {
    margin-top: 1.8em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 25px;
}

.prose h2::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

.prose h3 {
    margin-top: 1.5em;
    color: var(--brand-dark);
    font-size: 20px;
}

.prose ul {
    padding-left: 1.3em;
}

.prose ul li {
    margin-bottom: 8px;
}

.prose ul li::marker {
    color: var(--brand);
}

/* 正文表格：深色表头 + 悬停高亮 */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-s);
    overflow: hidden;
}

.prose thead th {
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: none;
}

.prose tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.prose tbody tr:hover { background: var(--gray-50); }
.prose tbody tr:last-child td { border-bottom: none; }

/* 正文引用块 */
.prose blockquote {
    margin: 26px 0;
    padding: 18px 24px;
    background: var(--gray-50);
    border-left: 4px solid var(--cyan);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.prose blockquote p {
    margin: 0;
    color: var(--gray-700);
}

/* 正文内链加下划标识，便于识别 */
.prose p a,
.prose li a {
    font-weight: 600;
    border-bottom: 1px solid var(--brand-light);
}

.prose p a:hover,
.prose li a:hover {
    border-bottom-color: var(--brand);
}

/* --- 案例：挑战 / 方案 / 结果 三段卡片 --- */
.case-blocks {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
}

.case-block {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    padding: 22px 26px;
}

.case-block--challenge { border-left-color: var(--amber); }
.case-block--solution  { border-left-color: var(--cyan); }
.case-block--result    { border-left-color: var(--grass); }

.cb-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.cb-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
}

.case-block--challenge .cb-label { color: #B45309; }
.case-block--solution .cb-label  { color: var(--cyan-dark); }
.case-block--result .cb-label    { color: var(--grass-dark); }

.case-block p {
    margin: 0;
    color: var(--gray-700);
    font-size: 15.5px;
}

/* --- 区块小标题（相关推荐 / 其他案例等） --- */
.block-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.block-head::before {
    content: "";
    width: 4px;
    height: 22px;
    background: var(--cyan);
    border-radius: 2px;
    flex-shrink: 0;
}

.block-head h2 {
    margin: 0;
    font-size: 24px;
}

/* --- 产品分类区块标题 --- */
.cat-block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 4px solid var(--brand);
}

.cat-block-head--training { border-left-color: var(--cyan); }
.cat-block-head--wellness { border-left-color: var(--grass); }

.cat-block-head h2 {
    margin: 0;
}

.cat-block-head h2 a { color: var(--ink); }
.cat-block-head h2 a:hover { color: var(--brand); }

/* 新增强化组件的响应式 */
@media (max-width: 860px) {
    .post-card,
    .post-card--cover {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .post-thumb { display: none; }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 40px 0 34px;
    }

    .page-hero::before { width: 180px; height: 180px; }
    .page-hero::after  { right: 120px; top: 50px; width: 70px; height: 70px; }

    .post-card,
    .post-card--cover {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
    }

    .post-date {
        display: flex;
        align-items: baseline;
        gap: 8px;
        width: fit-content;
        padding: 6px 14px;
        text-align: left;
    }

    .post-date .d { font-size: 20px; }
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1024px) {
    .grid--3,
    .grid--4,
    .hero-facts,
    .stats .grid,
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* 单列布局下取消吸顶，侧栏回到正常文档流 */
    .two-col>aside {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--gray-200);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 2px;
        box-shadow: var(--shadow);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu>li>a {
        padding: 12px 14px;
    }

    .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        min-width: 0;
        padding: 4px;
        margin: 0 0 6px;
        display: none;
    }

    .nav-menu>li.is-open>.sub-menu {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 60px 0 52px;
    }

    .br-desktop {
        display: none;
    }

    .hero-title {
        font-size: clamp(26px, 7vw, 36px);
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .hero-lead {
        font-size: 16.5px;
        line-height: 1.9;
        margin-bottom: 28px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15.5px;
    }

    .container {
        padding: 0 18px;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .hero-facts,
    .stats .grid,
    .spec-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav .next {
        text-align: left;
    }

    .card,
    .pcard-body {
        padding: 20px;
    }

    .section-head {
        margin-bottom: 36px;
    }
}

/* 分类页 Banner 广告位
   默认(未传图)与全站二级页标题区一致：浅灰底 + 右上浅色几何 + 深色大字 + 彩色短条；
   上传横幅图后为品牌深蓝图片横幅 */
.cat-banner {
    position: relative;
    padding: 64px 0 58px;
    background: var(--gray-50);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--gray-200);
    color: var(--ink);
    overflow: hidden;
}
.cat-banner::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: var(--brand-light);
    border-radius: 40px;
    transform: rotate(16deg);
}
.cat-banner::after {
    content: '';
    position: absolute;
    top: 56px;
    right: 170px;
    width: 96px;
    height: 96px;
    background: var(--cyan-soft);
    border-radius: 22px;
    transform: rotate(16deg);
}
.cat-banner > .container { position: relative; z-index: 1; }
.cat-banner h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.26;
    margin: 0 0 16px;
    max-width: 900px;
    color: var(--ink);
}
.cat-banner h1::before {
    content: '';
    display: block;
    width: 48px;
    height: 5px;
    background: var(--cyan);
    border-radius: 3px;
    margin-bottom: 20px;
}
.cat-banner-sub {
    font-size: 17px;
    line-height: 1.85;
    color: var(--gray-500);
    margin: 0 0 28px;
    max-width: 760px;
}
/* 主按钮沿用站点实心主按钮视觉 */
.cat-banner .btn--light {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 3px 0 var(--brand-dark);
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cat-banner .btn--light:hover {
    background: #1B62F0;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--brand-dark);
}

/* 已上传横幅图：深色图片横幅，遮罩统一品牌深蓝 */
.cat-banner.has-image { color: #fff; }
.cat-banner.has-image::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    transform: none;
    background: linear-gradient(100deg, rgba(8,24,66,.86) 0%, rgba(18,58,154,.66) 55%, rgba(18,58,154,.3) 100%);
}
.cat-banner.has-image::after { display: none; }
.cat-banner.has-image h1 { color: #fff; }
.cat-banner.has-image h1::before { background: rgba(255,255,255,.9); }
.cat-banner.has-image .cat-banner-sub { color: rgba(255,255,255,.88); }
.cat-banner.has-image .btn--light {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 3px 0 rgba(8,24,66,.25);
}
.cat-banner.has-image .btn--light:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
    box-shadow: 0 4px 0 rgba(8,24,66,.2);
}
@media (max-width: 860px) {
    .cat-banner { padding: 44px 0 40px; }
    .cat-banner h1 { font-size: 28px; }
    .cat-banner::before { width: 180px; height: 180px; }
    .cat-banner::after { right: 130px; top: 44px; width: 70px; height: 70px; }
    .cat-banner-sub { font-size: 15px; }
}


/* 修复：hero 装饰色块在手机端遮住大标题 */
.page-hero::before, .page-hero::after,
.hero::before, .hero::after {
    z-index: 0 !important;
}
.page-hero > .container,
.hero > .container {
    position: relative;
    z-index: 1;
}
/* 手机端进一步缩小或隐藏装饰块 */
@media (max-width: 768px) {
    .hero::before { width: 160px; height: 160px; top: -40px; right: -40px; }
    .hero::after { display: none; }
    .page-hero::before { width: 140px; height: 140px; top: -50px; right: -40px; }
    .page-hero::after { display: none; }
}




/* 修复 v3：通用处理所有 hero 头部 */
@media (max-width: 768px) {
    section[class*="hero"]::before,
    section[class*="hero"]::after,
    .cat-banner::before,
    .cat-banner::after {
        display: none !important;
    }
}
.hero-title,
section[class*="hero"] h1,
.cat-banner h1 {
    position: relative;
    z-index: 2;
}
