/* 萨古鲁智慧中文网站 — ishayoga.net + isha.sadhguru.org 风格 */

:root {
    --primary: #CD6725;
    --primary-dark: #A0500D;
    --secondary: #1a1a1a;
    --text: #232323;
    --text-light: #69727d;
    --bg: #f8f5f0;
    --bg-white: #ffffff;
    --border: #e8e0d5;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--primary-dark); }

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

/* ========== 主导航（与 ishayoga.net 一致） ========== */
.main-header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    gap: 10px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    white-space: nowrap;
}

.logo span { color: var(--secondary); }

.nav-menu { display: flex; list-style: none; align-items: center; gap: 0; }
.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: block;
    padding: 20px 14px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 100;
    list-style: none;
    border-radius: 0 0 4px 4px;
}

.dropdown-parent:hover .dropdown,
.dropdown-parent.active .dropdown { display: block; }

.dropdown li { width: 100%; }

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown a:hover {
    background: var(--primary);
    color: #fff;
    padding-left: 22px;
}

.header-search { display: flex; align-items: center; }

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: 20px;
    padding: 6px 12px;
    border: 1px solid var(--border);
}

.search-box input {
    border: none;
    background: none;
    font-size: 13px;
    width: 110px;
    outline: none;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
    color: var(--secondary);
}

/* ========== Hero 三大栏目卡（参照 isha.sadhguru.org 首页三图） ========== */
.hero-section { background: var(--bg); }

.hero-mmm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.mmm-card {
    position: relative;
    display: block;
    overflow: hidden;
    height: 460px;
    background: var(--secondary);
}

.mmm-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: transform 0.8s ease, opacity 0.4s ease;
}

.mmm-card:hover img { transform: scale(1.06); opacity: 1; }

/* 底部渐变遮罩 */
.mmm-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    pointer-events: none;
}

.mmm-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px 26px 24px;
    color: #fff;
    z-index: 2;
}

.mmm-body .cat-label {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.mmm-body h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.mmm-body p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
}

.mmm-body .arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.mmm-card:hover .arrow { color: #ffd9c2; }

/* ========== 广告栏（CTA 深色细条） ========== */
.ad-banner {
    background: var(--secondary);
    padding: 14px 0;
    border-top: 3px solid var(--primary);
}

.ad-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
}

.ad-item {
    background: var(--secondary);
    padding: 10px 24px;
    text-align: center;
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.ad-item strong { color: #fff; display: block; font-size: 13px; margin-bottom: 2px; }

/* ========== ② 订阅条（参考 isha.sadhguru.org Newsletter） ========== */
.quote-sub {
    background: #f3ece2;
    border-bottom: 1px solid var(--border);
}

.sub-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
    flex-wrap: wrap;
}

.sub-text h2 {
    font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.sub-text p { font-size: 13px; color: var(--text-light); }

.sub-form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }

.sub-form input {
    flex: 1;
    border: 1px solid var(--border);
    background: #fff;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
    transition: border 0.3s;
}

.sub-form input:focus { border-color: var(--primary); }

.sub-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.sub-form button:hover { background: var(--primary-dark); }

/* ========== ③ 深色引言区 ========== */
.quote-big {
    background: linear-gradient(160deg, #2a2217 0%, #1a1a1a 70%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 72px;
    color: var(--primary);
    line-height: 0.6;
    display: block;
    margin-bottom: 18px;
}

.quote-text {
    font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
    font-size: 22px;
    line-height: 1.9;
    max-width: 780px;
    margin: 0 auto 18px;
    color: rgba(255,255,255,0.95);
}

.quote-by { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 1px; }

/* ========== ④ CTA 三色卡（参考 isha 活动卡） ========== */
.cta-section { background: var(--bg); padding: 55px 0 10px; }

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cta-card {
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    color: #fff;
    border-radius: 6px;
    min-height: 210px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

.cta-orange { background: linear-gradient(135deg, #d97a2f, #b85a12); }
.cta-navy   { background: linear-gradient(135deg, #2e4a7a, #1b2f52); }
.cta-brown  { background: linear-gradient(135deg, #6b4a2f, #432c19); }

.cta-kicker {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cta-card h3 {
    font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
    font-size: 24px;
    margin-bottom: 8px;
}

.cta-card p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 20px; }

.cta-btn {
    margin-top: auto;
    display: inline-block;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 18px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    transition: background 0.3s;
}

.cta-card:hover .cta-btn { background: rgba(255,255,255,0.28); }

/* ========== ⑤ 装饰横幅 ========== */
.deco-banner { line-height: 0; }
.deco-banner img { width: 100%; height: auto; display: block; max-height: 110px; object-fit: cover; object-position: center; }

/* ========== ⑥ 区块通用 ========== */
.latest-section, .cat-detail-section {
    background: var(--bg);
    padding: 45px 0 60px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
    padding-left: 14px;
    position: relative;
    line-height: 1.3;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 2px; bottom: 2px;
    width: 5px;
    background: var(--primary);
}

.section-more { font-size: 13px; font-weight: 600; }
.section-more:hover { color: var(--primary); }

/* ========== 文章卡片网格 ========== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    background: var(--bg-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.post-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; }

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-thumb img { transform: scale(1.05); }

.post-cat {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.post-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }

.post-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-title a { color: var(--text); }
.post-title a:hover { color: var(--primary); }

.post-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: var(--text-light);
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
}

.pagination a:hover, .pagination span.current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.75);
    padding: 50px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 12px; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* ========== 文章详情页 ========== */
.article-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d2d2d 100%);
    color: #fff;
    padding: 42px 0 36px;
}

.article-hero .breadcrumb { color: rgba(255,255,255,0.55); font-size: 12px; margin-bottom: 14px; }
.article-hero .breadcrumb a { color: rgba(255,255,255,0.55); }
.article-hero .breadcrumb a:hover { color: #fff; }

.article-cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

.article-hero h1 {
    font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: 900px;
}

.article-meta { display: flex; gap: 18px; font-size: 12px; color: rgba(255,255,255,0.6); }

.article-body { background: var(--bg); padding: 40px 0 60px; }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.article-main {
    background: #fff;
    border-radius: 8px;
    padding: 34px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-width: 0;
}

.article-cover { margin: -34px -40px 30px; border-radius: 8px 8px 0 0; overflow: hidden; }
.article-cover img { width: 100%; display: block; max-height: 460px; object-fit: cover; }

.article-content { font-size: 16px; line-height: 2; color: #333; word-break: break-word; }
.article-content p { margin-bottom: 18px; }
.article-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0; }
.article-content h1, .article-content h2, .article-content h3 { margin: 26px 0 12px; line-height: 1.4; }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 20px 0;
    padding: 12px 20px;
    background: #faf6f0;
    color: #555;
}
.article-content a { color: var(--primary); text-decoration: underline; }

.article-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }

.side-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.side-card h3 {
    font-size: 15px;
    color: var(--secondary);
    padding-left: 10px;
    border-left: 4px solid var(--primary);
    margin-bottom: 16px;
}

.side-post {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.side-post:last-child { border-bottom: none; }
.side-post img { width: 56px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.side-post span { font-size: 13px; line-height: 1.4; color: var(--text); }
.side-post:hover span { color: var(--primary); }

.side-links { list-style: none; }
.side-links li { margin-bottom: 8px; }
.side-links a { color: var(--text); font-size: 13px; }
.side-links a:hover { color: var(--primary); }

@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .side-card { flex: 1; min-width: 240px; }
    .article-main { padding: 22px 18px; }
    .article-cover { margin: -22px -18px 22px; }
    .article-hero h1 { font-size: 24px; }
}

/* ========== 分类详情页头（复用 cat-head 定义于下方） ========== */
.cat-head { background: linear-gradient(135deg, var(--secondary) 0%, #2d2d2d 100%); color: #fff; padding: 36px 0 30px; }
.cat-head h1 { font-size: 28px; margin-bottom: 6px; }
.cat-head .cat-desc { font-size: 13px; color: rgba(255,255,255,0.75); }

.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }

/* ========== 栏目横幅 hero（参照原站子栏目首屏） ========== */
.cat-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1a1a1a;
}

.cat-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.cat-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,5,0.92) 0%, rgba(10,8,5,0.35) 55%, rgba(10,8,5,0.25) 100%);
}

.cat-hero-body {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 46px;
    width: 100%;
}

.cat-hero .breadcrumb { color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.cat-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.cat-hero .breadcrumb a:hover { color: #fff; }

.cat-hero-label {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.cat-hero h1 {
    font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
    font-size: 52px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.cat-hero-sub { font-size: 16px; color: rgba(255,255,255,0.92); margin-bottom: 10px; letter-spacing: 1px; }

.cat-hero-quote {
    max-width: 720px;
    font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    font-style: italic;
}

/* ========== 栏目官方介绍 ========== */
.cat-intro { background: #fff; padding: 50px 0 20px; border-bottom: 1px solid var(--border); }

.cat-intro-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cat-intro-tag {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.cat-intro-head h2 { font-size: 22px; color: var(--secondary); }

.cat-intro-body {
    font-size: 15px;
    line-height: 2;
    color: #3a3a3a;
    max-width: 880px;
}
.cat-intro-body p { margin-bottom: 14px; }
.cat-intro-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.cat-intro-body h1, .cat-intro-body h2, .cat-intro-body h3 { margin: 18px 0 8px; }
.cat-intro-body blockquote { border-left: 4px solid var(--primary); padding: 8px 18px; background: #faf6f0; margin: 12px 0; }
.cat-intro-body iframe { max-width: 100%; }
.cat-intro-body .wp-video, .cat-intro-body video { max-width: 100%; }
.cat-intro-body a { color: var(--primary); }

/* ========== 栏目文章列表区 ========== */
.cat-articles { background: var(--bg); padding: 45px 0 60px; }

@media (max-width: 768px) {
    .cat-hero { min-height: 300px; }
    .cat-hero-body { padding-top: 60px; padding-bottom: 30px; }
    .cat-hero h1 { font-size: 34px; }
    .cat-hero-quote { font-size: 13px; }
    .cat-intro { padding: 30px 0 10px; }
}


/* ========== 响应式（手机适配） ========== */
@media (max-width: 1024px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .mmm-card { height: 400px; }
    .mmm-body h2 { font-size: 22px; }
    .cta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { height: 56px; }
    .logo { font-size: 17px; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        z-index: 999;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    .nav-menu.active { display: flex; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border-top: none;
        background: var(--bg);
        border-radius: 0;
        min-width: 0;
    }

    .dropdown-parent.open .dropdown { display: block; }
    .dropdown a { padding: 11px 20px 11px 34px; white-space: normal; }

    .menu-toggle { display: block; }
    .header-search { display: none; }

    /* Hero 三卡：手机上改为上下堆叠但每张仍是全宽横幅 */
    .hero-mmm { grid-template-columns: 1fr; }
    .mmm-card { height: 220px; }
    .mmm-body { padding: 18px 20px 16px; }
    .mmm-body h2 { font-size: 19px; margin-bottom: 4px; }
    .mmm-body p { font-size: 12px; margin-bottom: 6px; }
    .mmm-body .cat-label { margin-bottom: 8px; }

    .ad-inner { grid-template-columns: 1fr; gap: 1px; }

    .latest-section, .cat-detail-section { padding: 30px 0 40px; }
    .section-title { font-size: 17px; }
    .posts-grid { grid-template-columns: 1fr; gap: 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .post-thumb { aspect-ratio: 16/9; }

    /* 手机：订阅条竖排、CTA 单列、引言缩小 */
    .sub-inner { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
    .sub-form { width: 100%; max-width: none; }
    .quote-big { padding: 46px 0; }
    .quote-text { font-size: 18px; line-height: 1.8; }
    .quote-mark { font-size: 52px; }
    .cta-section { padding: 36px 0 6px; }
    .cta-grid { grid-template-columns: 1fr; gap: 16px; }
    .cta-card { min-height: 170px; padding: 26px 24px; }
    .deco-banner img { max-height: 60px; }
}

@media (max-width: 380px) {
    .mmm-card { height: 190px; }
}

/* ── 分页器(2026-09 加)── */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 44px 0 10px;
    flex-wrap: wrap;
}
.pager-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 24px;
    border: 1px solid var(--border, #e3ded6);
    background: var(--bg-white, #fff);
    color: var(--text, #2e2a26);
    text-decoration: none;
    font-size: 14px;
    transition: all .25s;
}
.pager-btn:hover { background: var(--primary, #a86034); color: #fff; border-color: var(--primary, #a86034); }
.pager-off { opacity: .38; cursor: default; }
.pager-off:hover { background: var(--bg-white, #fff); color: var(--text, #2e2a26); border-color: var(--border, #e3ded6); }
.pager-info { color: var(--text-light, #8a8378); font-size: 13px; }


/* ══ 课程落地页(参照原站模板)══ */
.lp-hero{position:relative;min-height:460px;display:flex;align-items:center;overflow:hidden;background:#1c1a17}
.lp-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.lp-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,18,16,.35),rgba(20,18,16,.78))}
.lp-hero-body{position:relative;z-index:2;padding:70px 0;text-align:center;color:#fff}
.lp-hero-label{display:inline-block;font-size:13px;letter-spacing:2px;color:#e8a76a;margin:14px 0 10px}
.lp-hero-body h1{font-size:44px;line-height:1.2;margin:6px 0 18px;font-weight:700}
.lp-hero-quote{max-width:760px;margin:0 auto 8px;font-size:17px;line-height:1.9;color:#f2ece4}
.lp-hero-author{font-size:14px;color:#cfc6ba;margin-bottom:26px}
.lp-btn{display:inline-block;padding:13px 40px;background:#c8763c;color:#fff;border-radius:3px;
        font-size:16px;letter-spacing:1px;text-decoration:none;transition:.2s}
.lp-btn:hover{background:#b0632f}

.lp-sec{padding:64px 0}
.lp-sec:nth-of-type(even){background:#faf8f5}
.lp-h2{font-size:28px;text-align:center;color:#2b2724;margin:0 0 14px;font-weight:700;letter-spacing:2px}
.lp-rule{width:56px;height:3px;background:#c8763c;margin:0 auto 34px}
.lp-intro-text{max-width:820px;margin:0 auto;font-size:17px;line-height:2.05;color:#3d3833;text-align:justify}

.lp-bene-grid{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:26px 34px;
              max-width:1000px;margin:0 auto;padding:0}
.lp-bene{display:flex;align-items:center;gap:14px;font-size:16px;color:#3d3833;line-height:1.6}
.lp-bene-ico{flex:0 0 46px;width:46px;height:46px;display:flex;align-items:center;justify-content:center}
.lp-bene-ico img{max-width:46px;max-height:46px;object-fit:contain}
.lp-dot{width:10px;height:10px;border-radius:50%;background:#c8763c;display:block}

.lp-rec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;max-width:1000px;margin:0 auto}
.lp-rec{margin:0;padding:26px 28px;background:#fff;border-left:3px solid #c8763c;border-radius:3px;
        box-shadow:0 1px 3px rgba(0,0,0,.05)}
.lp-rec p{margin:0 0 12px;font-size:15.5px;line-height:1.95;color:#3d3833}
.lp-rec cite{font-style:normal;font-size:13px;color:#8c8378;letter-spacing:.5px}

.lp-more .posts-grid,.lp-related .posts-grid{margin-top:8px}

@media(max-width:900px){
  .lp-hero-body h1{font-size:32px}
  .lp-bene-grid{grid-template-columns:1fr 1fr;gap:20px}
  .lp-rec-grid{grid-template-columns:1fr}
  .lp-sec{padding:44px 0}
}
@media(max-width:600px){
  .lp-hero{min-height:360px}
  .lp-hero-body h1{font-size:27px}
  .lp-hero-quote{font-size:15px}
  .lp-bene-grid{grid-template-columns:1fr}
}


/* ══ 下拉分组 + 关于页(2026-09-16 改版)══ */
.dropdown li.dd-group{font-size:12px;letter-spacing:2px;color:#a89e93;padding:12px 16px 5px;
    border-top:1px solid #efeae4;margin-top:6px;cursor:default}
.dropdown li.dd-group:first-child{border-top:none;margin-top:0;padding-top:6px}
.dropdown li.dd-sub a{padding-left:30px;font-size:14px;color:#6b6158}
.dropdown li.dd-sub a:hover{color:#c8763c}
.dropdown{min-width:230px}
.dropdown li a{white-space:nowrap}

.ab-hero{background:#f7f4f0;padding:56px 0 40px;border-bottom:1px solid #ece6df}
.ab-hero .breadcrumb{font-size:13px;color:#a29889;margin-bottom:14px}
.ab-hero .breadcrumb a{color:#a29889}
.ab-hero h1{font-size:38px;color:#2b2724;margin:0 0 12px;font-weight:700;letter-spacing:1px}
.ab-lead{font-size:18px;color:#6b6158;line-height:1.9;margin:0}

.ab-main{padding:8px 0 72px}
.ab-sec{padding:48px 0 8px;border-bottom:1px solid #f0ebe5}
.ab-sec:last-child{border-bottom:none}
.ab-sec h2{font-size:25px;color:#2b2724;margin:0 0 22px;font-weight:700;
    padding-left:16px;border-left:4px solid #c8763c;line-height:1.3}
.ab-sec p{font-size:16.5px;line-height:2.05;color:#3d3833;margin:0 0 16px;max-width:860px}
.ab-stats{display:flex;gap:56px;margin:30px 0 8px;flex-wrap:wrap}
.ab-stats div{display:flex;flex-direction:column;gap:6px}
.ab-stats strong{font-size:32px;color:#c8763c;font-weight:700}
.ab-stats span{font-size:14px;color:#8c8378}

.ab-faq details{background:#fff;border:1px solid #ece7e1;border-radius:8px;margin-bottom:12px;
    padding:18px 22px;max-width:880px}
.ab-faq details[open]{border-color:#e6d5c6;background:#fffdfb}
.ab-faq summary{font-size:17px;color:#2b2724;cursor:pointer;font-weight:600;list-style:none}
.ab-faq summary::-webkit-details-marker{display:none}
.ab-faq summary::before{content:"+";color:#c8763c;font-weight:700;margin-right:10px}
.ab-faq details[open] summary::before{content:"−"}
.ab-faq p{margin:14px 0 0;font-size:16px;line-height:1.95;color:#4a443d}
.ab-faq a{color:#c8763c;text-decoration:underline}

.ab-contact{background:#fff;border:1px solid #ece7e1;border-radius:8px;padding:30px 32px;max-width:880px}
.ab-mail{font-size:26px;margin:10px 0 14px}
.ab-mail a{color:#c8763c;font-weight:600;text-decoration:none}
.ab-mail a:hover{text-decoration:underline}
.ab-note{font-size:14px;color:#8c8378}

@media(max-width:820px){
  .ab-hero h1{font-size:28px}
  .ab-lead{font-size:16px}
  .ab-stats{gap:32px}
  .ab-stats strong{font-size:26px}
  .ab-sec{padding:34px 0 6px}
  .dropdown li.dd-sub a{padding-left:22px}
}


/* ══ 深色禅意皮肤(仅 html[data-theme="dark"] body)══ */
:root{
  --dk-bg:#131211; --dk-bg2:#191816; --dk-card:#1c1a17;
  --dk-line:#2c2721; --dk-line2:#3a332b;
  --dk-ink:#e9e3d9; --dk-ink2:#a89f92; --dk-ink3:#7b7367;
  --dk-gold:#cfa96a; --dk-gold2:#e0c48f;
}
html[data-theme="dark"] body{background:var(--dk-bg);color:var(--dk-ink)}

/* — 顶栏 — */
html[data-theme="dark"] body .main-header{background:rgba(19,18,17,.96);border-bottom:1px solid var(--dk-line);
  backdrop-filter:saturate(1.2) blur(10px)}
html[data-theme="dark"] body .logo{color:var(--dk-gold)}
html[data-theme="dark"] body .logo span{color:var(--dk-ink3)}
html[data-theme="dark"] body .menu-toggle{color:var(--dk-ink2)}
html[data-theme="dark"] body .nav-menu > li > a{color:var(--dk-ink2)}
html[data-theme="dark"] body .nav-menu > li > a:hover{color:var(--dk-gold2)}
html[data-theme="dark"] body .nav-menu > li.active > a{color:var(--dk-gold);border-bottom-color:var(--dk-gold)}
html[data-theme="dark"] body .dropdown{background:var(--dk-bg2);border:1px solid var(--dk-line);
  box-shadow:0 12px 32px rgba(0,0,0,.55)}
html[data-theme="dark"] body .dropdown li a{color:var(--dk-ink2)}
html[data-theme="dark"] body .dropdown li a:hover{color:var(--dk-gold2);background:rgba(207,169,106,.08)}
html[data-theme="dark"] body .dropdown li.dd-group{color:var(--dk-ink3);border-top-color:var(--dk-line)}
html[data-theme="dark"] body .dropdown li.dd-sub a{color:var(--dk-ink3)}
html[data-theme="dark"] body .header-search input{background:var(--dk-bg2);border:1px solid var(--dk-line);
  color:var(--dk-ink)}
html[data-theme="dark"] body .header-search input::placeholder{color:var(--dk-ink3)}
html[data-theme="dark"] body .header-search button{color:var(--dk-ink2)}

/* — 经典三幅大图并列 — */
html[data-theme="dark"] body .hero-section{background:var(--dk-bg);padding:26px 0 8px}
html[data-theme="dark"] body .mmm-card{background:#000}
html[data-theme="dark"] body .mmm-card img{opacity:.62;filter:saturate(.85) contrast(1.05)}
html[data-theme="dark"] body .mmm-card:hover img{opacity:.78}
html[data-theme="dark"] body .mmm-body h2{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.8)}
html[data-theme="dark"] body .mmm-body p{color:rgba(255,255,255,.72)}
html[data-theme="dark"] body .mmm-body .arrow{color:var(--dk-gold2)}
html[data-theme="dark"] body .mmm-card::after{background:linear-gradient(180deg,rgba(10,9,8,.15),rgba(10,9,8,.92))}

/* — 通用区块 — */
html[data-theme="dark"] body .section-title{color:var(--dk-ink)}
html[data-theme="dark"] body .section-more{color:var(--dk-gold)}
html[data-theme="dark"] body .section-more:hover{color:var(--dk-gold2)}

/* — 卡片 — */
html[data-theme="dark"] body .post-card{background:var(--dk-card);border:1px solid var(--dk-line);
  box-shadow:none}
html[data-theme="dark"] body .post-card:hover{border-color:var(--dk-line2);transform:translateY(-2px)}
html[data-theme="dark"] body .post-title a{color:var(--dk-ink)}
html[data-theme="dark"] body .post-title a:hover{color:var(--dk-gold2)}
html[data-theme="dark"] body .post-excerpt{color:var(--dk-ink2)}
html[data-theme="dark"] body .post-meta{color:var(--dk-ink3)}
html[data-theme="dark"] body .post-cat{background:rgba(207,169,106,.14);color:var(--dk-gold2)}

/* — 每日智慧大字 — */
html[data-theme="dark"] body .quote-big{background:var(--dk-bg2);border-top:1px solid var(--dk-line);
  border-bottom:1px solid var(--dk-line)}
html[data-theme="dark"] body .quote-mark{color:var(--dk-gold);opacity:.35}
html[data-theme="dark"] body .quote-text{color:var(--dk-ink)}
html[data-theme="dark"] body .quote-by{color:var(--dk-ink3)}

/* — 订阅条 — */
html[data-theme="dark"] body .quote-sub{background:linear-gradient(135deg,#1d1a16,#221d17);
  border-top:1px solid var(--dk-line);border-bottom:1px solid var(--dk-line)}
html[data-theme="dark"] body .sub-text h2{color:var(--dk-ink)}
html[data-theme="dark"] body .sub-text p{color:var(--dk-ink2)}
html[data-theme="dark"] body .sub-form input{background:var(--dk-bg);border:1px solid var(--dk-line2);
  color:var(--dk-ink)}
html[data-theme="dark"] body .sub-form button{background:var(--dk-gold);color:#1a1611}
html[data-theme="dark"] body .sub-form button:hover{background:var(--dk-gold2)}

/* — 三色 CTA 卡 — */
html[data-theme="dark"] body .cta-card{background:var(--dk-card);border:1px solid var(--dk-line)}
html[data-theme="dark"] body .cta-card h3{color:var(--dk-ink)}
html[data-theme="dark"] body .cta-card p{color:var(--dk-ink2)}
html[data-theme="dark"] body .cta-kicker{color:var(--dk-gold)}
html[data-theme="dark"] body .cta-btn{color:var(--dk-gold2)}
html[data-theme="dark"] body .cta-orange,html[data-theme="dark"] body .cta-navy,html[data-theme="dark"] body .cta-brown{
  background:linear-gradient(150deg,#1e1b17,#171614)}

/* — 栏目头/面包屑 — */
html[data-theme="dark"] body .cat-head,html[data-theme="dark"] body .cat-hero{background:var(--dk-bg2)}
html[data-theme="dark"] body .cat-head h1,html[data-theme="dark"] body .cat-hero h1{color:var(--dk-ink)}
html[data-theme="dark"] body .cat-desc,html[data-theme="dark"] body .cat-hero-sub{color:var(--dk-ink2)}
html[data-theme="dark"] body .breadcrumb,html[data-theme="dark"] body .breadcrumb a{color:var(--dk-ink3)}
html[data-theme="dark"] body .cat-hero-label{color:var(--dk-gold)}
html[data-theme="dark"] body .cat-hero-quote{color:var(--dk-ink2)}
html[data-theme="dark"] body .cat-intro{background:var(--dk-bg)}
html[data-theme="dark"] body .cat-intro-head h2{color:var(--dk-ink)}
html[data-theme="dark"] body .cat-intro-tag{background:rgba(207,169,106,.14);color:var(--dk-gold2)}
html[data-theme="dark"] body .cat-intro-body{color:var(--dk-ink2)}
html[data-theme="dark"] body .cat-intro-body a{color:var(--dk-gold2)}
html[data-theme="dark"] body .cat-detail-section,html[data-theme="dark"] body .latest-section,html[data-theme="dark"] body .cat-articles{
  background:var(--dk-bg)}

/* — 分页 — */
html[data-theme="dark"] body .pager-btn{background:var(--dk-card);border:1px solid var(--dk-line);color:var(--dk-ink2)}
html[data-theme="dark"] body .pager-btn:hover{border-color:var(--dk-gold);color:var(--dk-gold2)}
html[data-theme="dark"] body .pager-off{opacity:.35}
html[data-theme="dark"] body .pager-info{color:var(--dk-ink3)}

/* — 课程落地页(深色) — */
html[data-theme="dark"] body .lp-hero-shade{background:linear-gradient(180deg,rgba(12,11,10,.4),rgba(12,11,10,.88))}
html[data-theme="dark"] body .lp-sec{background:var(--dk-bg)}
html[data-theme="dark"] body .lp-sec:nth-of-type(even){background:var(--dk-bg2)}
html[data-theme="dark"] body .lp-h2{color:var(--dk-ink)}
html[data-theme="dark"] body .lp-rule{background:var(--dk-gold)}
html[data-theme="dark"] body .lp-intro-text{color:var(--dk-ink2)}
html[data-theme="dark"] body .lp-bene{color:var(--dk-ink2)}
html[data-theme="dark"] body .lp-bene-ico img{filter:sepia(1) saturate(2.4) hue-rotate(-12deg) brightness(1.15)}
html[data-theme="dark"] body .lp-rec{background:var(--dk-card);border-left-color:var(--dk-gold);
  box-shadow:none}
html[data-theme="dark"] body .lp-rec p{color:var(--dk-ink2)}
html[data-theme="dark"] body .lp-rec cite{color:var(--dk-ink3)}

/* — 页脚 — */
html[data-theme="dark"] body .site-footer{background:#0e0d0c;border-top:1px solid var(--dk-line)}
html[data-theme="dark"] body .site-footer h3{color:var(--dk-ink)}
html[data-theme="dark"] body .site-footer p{color:var(--dk-ink3)}
html[data-theme="dark"] body .footer-links a{color:var(--dk-ink3)}
html[data-theme="dark"] body .footer-links a:hover{color:var(--dk-gold2)}
html[data-theme="dark"] body .footer-bottom{border-top:1px solid var(--dk-line)}
html[data-theme="dark"] body .footer-bottom p{color:var(--dk-ink3)}

/* — 关于页 — */
html[data-theme="dark"] body .ab-hero{background:var(--dk-bg2);border-bottom-color:var(--dk-line)}
html[data-theme="dark"] body .ab-hero h1{color:var(--dk-ink)}
html[data-theme="dark"] body .ab-lead{color:var(--dk-ink2)}
html[data-theme="dark"] body .ab-sec{border-bottom-color:var(--dk-line)}
html[data-theme="dark"] body .ab-sec h2{color:var(--dk-ink);border-left-color:var(--dk-gold)}
html[data-theme="dark"] body .ab-sec p{color:var(--dk-ink2)}
html[data-theme="dark"] body .ab-stats strong{color:var(--dk-gold)}
html[data-theme="dark"] body .ab-stats span{color:var(--dk-ink3)}
html[data-theme="dark"] body .ab-faq details{background:var(--dk-card);border-color:var(--dk-line)}
html[data-theme="dark"] body .ab-faq details[open]{background:var(--dk-bg2);border-color:var(--dk-line2)}
html[data-theme="dark"] body .ab-faq summary{color:var(--dk-ink)}
html[data-theme="dark"] body .ab-faq p{color:var(--dk-ink2)}
html[data-theme="dark"] body .ab-faq a{color:var(--dk-gold2)}
html[data-theme="dark"] body .ab-contact{background:var(--dk-card);border-color:var(--dk-line)}
html[data-theme="dark"] body .ab-mail a{color:var(--dk-gold2)}
html[data-theme="dark"] body .ab-note{color:var(--dk-ink3)}

/* — 搜索页 — */
html[data-theme="dark"] body .search-hero,html[data-theme="dark"] body .search-page{background:var(--dk-bg)}
html[data-theme="dark"] body .search-box input{background:var(--dk-bg2);border-color:var(--dk-line);color:var(--dk-ink)}

@media(max-width:820px){
  html[data-theme="dark"] body .hero-section{padding:14px 0 4px}
}


/* 补:深色下这几条区块原本是浅底,会露出亮条 */
html[data-theme="dark"] body .cta-section{background:var(--dk-bg)}
html[data-theme="dark"] body .hero-section,html[data-theme="dark"] body .latest-section,
html[data-theme="dark"] body .cat-detail-section,html[data-theme="dark"] body .cat-articles{background:var(--dk-bg)}
html[data-theme="dark"] body .deco-banner{display:none}
html[data-theme="dark"] body .section-header{border-bottom-color:var(--dk-line)}
html[data-theme="dark"] body .cat-head,html[data-theme="dark"] body .cat-hero{background:var(--dk-bg)}

/* 搜索页深色 */
html[data-theme="dark"] body .search-hero{background:var(--dk-bg2);border-bottom:1px solid var(--dk-line)}
html[data-theme="dark"] body .search-hero h1{color:var(--dk-ink)}
html[data-theme="dark"] body .search-form input[type=text],html[data-theme="dark"] body .search-input{
  background:var(--dk-bg);border:1px solid var(--dk-line2);color:var(--dk-ink)}
html[data-theme="dark"] body .search-form button{background:var(--dk-gold);color:#1a1611}
html[data-theme="dark"] body .search-result,html[data-theme="dark"] body .result-item{background:var(--dk-card);
  border-color:var(--dk-line)}
html[data-theme="dark"] body .search-result h3 a,html[data-theme="dark"] body .result-item h3 a{color:var(--dk-ink)}
html[data-theme="dark"] body .search-result p,html[data-theme="dark"] body .result-item p{color:var(--dk-ink2)}
html[data-theme="dark"] body .search-count,html[data-theme="dark"] body .result-meta{color:var(--dk-ink3)}
html[data-theme="dark"] body mark{background:rgba(207,169,106,.28);color:var(--dk-gold2)}


/* ══ 正文页去白化(宣纸米白)══ */
:root{
  --paper:#fdfbf6;          /* 正文卡底 */
  --paper2:#f6f2ea;         /* 侧栏/次级块 */
  --paper-line:#e9e1d4;     /* 暖色描边 */
  --paper-ink:#33302a;      /* 暖调正文色 */
  --paper-ink2:#5f594f;
  --paper-ink3:#8b8377;
}

/* 正文卡:不再是死白 */
.article-main{background:var(--paper);border:1px solid var(--paper-line);
  box-shadow:0 2px 14px rgba(80,64,40,.07)}
.article-body{background:linear-gradient(180deg,#f4efe6 0%,var(--bg) 240px)}

/* 正文文字转暖 */
.article-content,.article-content p,.article-content li{color:var(--paper-ink)}
.article-content strong{color:#241f19}
.article-content h1,.article-content h2,.article-content h3,
.article-content h4{color:#241f19}
.article-content a{color:var(--primary);border-bottom:1px solid rgba(205,103,37,.3)}
.article-content hr{border:none;border-top:1px solid var(--paper-line)}

/* 引文框:橙左边框 → 暖金,底色不再是纯白 */
.article-content blockquote{
  background:#faf5ec;border-left:3px solid #d59a5a;border-radius:0 6px 6px 0;
  padding:16px 20px;margin:20px 0;color:var(--paper-ink2)}
.article-content blockquote p:last-child{margin-bottom:0}

/* 图片:暖色描边,压在米白上不飘 */
.article-content img{border:1px solid var(--paper-line);border-radius:6px}

/* 引用/代码块 */
.article-content pre,.article-content .box{
  background:#faf6ee;border:1px solid var(--paper-line);color:var(--paper-ink2)}

/* hero:深色收尾带一点暖,不要一刀切 */
.article-hero{background:linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 60%,#3a342c 100%)}
.article-hero h1{text-shadow:0 1px 12px rgba(0,0,0,.25)}

/* 侧栏 */
.article-side .side-card,.article-side > div{background:var(--paper);
  border:1px solid var(--paper-line)}
.article-side h3,.article-side .side-title{color:#241f19}
.article-side a{color:var(--paper-ink2)}
.article-side a:hover{color:var(--primary)}
.article-meta{color:var(--paper-ink3)}

/* 相关文章卡 */
.related-posts .post-card,.article-side .post-card{background:var(--paper);
  border:1px solid var(--paper-line);box-shadow:none}
.related-posts .post-title a,.article-side .post-title a{color:#241f19}

/* 目录/标签 */
.article-cat{color:#fff}

@media(max-width:820px){
  .article-main{padding:24px 20px;border-radius:10px}
  .article-content{font-size:16.5px;line-height:1.95}
}


/* ══ 隐藏原站抓来的主题外壳 ══
   从 ishayoga.net 抓文章时,整篇 WordPress 主题外壳被抓进正文存库了。
   只藏「无用的社交组件」和「原站自己的导航残留」;
   带内容的板块(精选导读 / 相关推荐 / 标签)必须留 —— 那是用户要看的。
   ⚠️ 只隐藏这些「组件」,不碰 .entry-content(那是正文)。 */
.entry-action,
.entry-action-num,
.btn-zan,
.entry-bar,
.entry-bar-inner,
.entry-bar-info,
.entry-share,
.share-bar,
.sharebar,
.j-heart,
.j-mobile-share,
.j-share,
.post-actions,
.article-share,
.entry-comments,
.comment-list,
.comment-respond,
.entry-copyright,
.wpcom-icon,
.meta-item,
.info-item {
  display: none !important;
}

/* 下面这些**保留显示**(原先被误藏,已恢复):
   .entry-related-posts / .entry-related-title / .entry-related  = 精选导读、相关推荐
   .entry-tag / .entry-specials                                  = 标签
   .entry-page-prev / .entry-page-next                           = 原站上一篇下一篇(留着也无妨)
*/

/* 版权行/分享条被隐藏后可能留下空段落,收一下留白 */
.article-content p:empty,
.article-content div:empty { display: none !important; }
/* 版权行/分享条被隐藏后可能留下空段落,收一下留白 */
.article-content p:empty,
.article-content div:empty { display: none !important; }


/* ══ 正文页深色(跟随读者选择)══ */
html[data-theme="dark"] body .article-body{background:linear-gradient(180deg,#16140f 0%,#121110 240px)}
html[data-theme="dark"] body .article-main{background:#1a1815;border:1px solid #2c2721;
  box-shadow:none}
html[data-theme="dark"] body .article-content,
html[data-theme="dark"] body .article-content p,
html[data-theme="dark"] body .article-content li{color:#ddd6ca}
html[data-theme="dark"] body .article-content strong{color:#f3ece0}
html[data-theme="dark"] body .article-content h1,
html[data-theme="dark"] body .article-content h2,
html[data-theme="dark"] body .article-content h3,
html[data-theme="dark"] body .article-content h4{color:#f3ece0}
html[data-theme="dark"] body .article-content a{color:#e0c48f;border-bottom-color:rgba(224,196,143,.35)}
html[data-theme="dark"] body .article-content blockquote{background:#211d18;
  border-left-color:#cfa96a;color:#c9c1b3}
html[data-theme="dark"] body .article-content img{border-color:#2c2721}
html[data-theme="dark"] body .article-content pre,
html[data-theme="dark"] body .article-content .box{background:#211d18;border-color:#2c2721;color:#c9c1b3}
html[data-theme="dark"] body .article-content hr{border-top-color:#2c2721}
html[data-theme="dark"] body .article-side .side-card,
html[data-theme="dark"] body .article-side > div{background:#1a1815;border-color:#2c2721}
html[data-theme="dark"] body .article-side h3,
html[data-theme="dark"] body .article-side .side-title{color:#f3ece0}
html[data-theme="dark"] body .article-side a{color:#c9c1b3}
html[data-theme="dark"] body .article-side a:hover{color:#e0c48f}
html[data-theme="dark"] body .article-meta{color:#7b7367}
html[data-theme="dark"] body .related-posts .post-card,
html[data-theme="dark"] body .article-side .post-card{background:#1a1815;border-color:#2c2721}
html[data-theme="dark"] body .related-posts .post-title a,
html[data-theme="dark"] body .article-side .post-title a{color:#f3ece0}
html[data-theme="dark"] body .article-hero{background:linear-gradient(135deg,#141311 0%,#221f1a 100%)}

/* ══ 主题开关按钮 ══ */
.theme-toggle{background:none;border:1px solid currentColor;border-radius:20px;
  width:34px;height:34px;line-height:1;cursor:pointer;font-size:15px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;opacity:.75;
  transition:opacity .2s,transform .2s;vertical-align:middle}
.theme-toggle:hover{opacity:1;transform:rotate(15deg)}
.main-header .theme-toggle{color:#8b8377;margin-left:10px}
html[data-theme="dark"] body .main-header .theme-toggle{color:#cfa96a;border-color:#3a332b}
@media(max-width:820px){
  .theme-toggle{width:30px;height:30px;font-size:14px}
}


/* ══ 新分类版式(首页/主题/频道/图库)══ */
.nh-quote{background:linear-gradient(180deg,#f4efe6,#fbf9f5);padding:56px 0;text-align:center;
  border-bottom:1px solid var(--paper-line)}
.nh-quote-tag{display:inline-block;font-size:12px;letter-spacing:3px;color:#c8763c;
  border:1px solid rgba(200,118,60,.35);border-radius:20px;padding:4px 14px;margin-bottom:18px}
.nh-quote-text{font-size:26px;line-height:1.85;color:#2b2724;margin:0 auto 14px;max-width:760px;
  font-family:"Songti SC","Noto Serif SC",Georgia,serif}
.nh-quote-by{font-size:14px;color:#8c8378;margin-bottom:6px}
.nh-quote-more{font-size:14px;color:#c8763c;text-decoration:none}

.nh-sec{padding:54px 0}
.nh-sec-alt{background:#faf8f4}
.nh-head{display:flex;align-items:baseline;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.nh-head h2{font-size:26px;color:#2b2724;margin:0;font-weight:700;letter-spacing:1px}
.nh-head span{font-size:14px;color:#9a9186}

.nh-fmt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.nh-fmt{display:flex;flex-direction:column;gap:6px;padding:24px 22px;background:#fff;
  border:1px solid var(--paper-line);border-radius:10px;text-decoration:none;
  transition:transform .18s,border-color .18s}
.nh-fmt:hover{transform:translateY(-2px);border-color:#d9b98e}
.nh-fmt-name{font-size:21px;color:#241f19;font-weight:600}
.nh-fmt-desc{font-size:13px;color:#9a9186;line-height:1.6}
.nh-fmt-num{margin-top:8px;font-size:26px;color:#c8763c;font-weight:700}
.nh-fmt-num em{font-size:13px;font-style:normal;color:#a89e93;margin-left:2px}
.nh-fmt-arrow{font-size:15px;color:#c8763c;margin-top:2px}

.nh-topic-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.nh-topic{display:flex;align-items:baseline;gap:14px;padding:16px 20px;background:#fff;
  border:1px solid var(--paper-line);border-radius:8px;text-decoration:none}
.nh-topic:hover{border-color:#d9b98e}
.nh-topic-name{font-size:18px;color:#241f19;font-weight:600;flex:0 0 auto}
.nh-topic-desc{font-size:13px;color:#9a9186;flex:1 1 auto}
.nh-topic-num{font-size:15px;color:#c8763c;font-weight:600}
.nh-more-links{margin-top:20px}
.nh-more-links a{font-size:15px;color:#c8763c;text-decoration:none}

/* 形式角标 */
.post-badge{position:absolute;left:10px;top:10px;background:rgba(20,18,16,.72);color:#f0e7d8;
  font-size:12px;padding:3px 10px;border-radius:3px;letter-spacing:.5px}
.post-badge-video{background:rgba(24,54,58,.8)}
.post-badge-quote{background:rgba(72,48,20,.82)}
.post-badge-poem{background:rgba(48,32,56,.8)}
.post-topic{color:#b9a88f;margin-right:8px}

/* 主题页/频道页头 */
.tp-head{background:#f7f4ef;padding:46px 0 30px;border-bottom:1px solid var(--paper-line)}
.tp-head h1{font-size:34px;color:#241f19;margin:12px 0 10px;font-weight:700}
.tp-desc{font-size:15px;color:#7a7267;margin:0 0 18px}
.tp-filters{display:flex;gap:10px;flex-wrap:wrap}
.tp-filters a{font-size:14px;color:#7a7267;text-decoration:none;padding:6px 14px;
  border:1px solid var(--paper-line);border-radius:18px;background:#fff}
.tp-filters a.on{background:#c8763c;border-color:#c8763c;color:#fff}
.tp-body{padding:40px 0 64px}
.empty-hint{color:#9a9186}

/* 图库 */
.gal-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.gal-item{position:relative;display:block;border-radius:6px;overflow:hidden;background:#eee;
  aspect-ratio:4/3}
.gal-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.gal-item:hover img{transform:scale(1.06)}
.gal-cap{position:absolute;left:0;right:0;bottom:0;padding:14px 10px 8px;font-size:12px;
  color:#fff;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.72));
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:900px){
  .nh-fmt-grid{grid-template-columns:repeat(2,1fr)}
  .nh-topic-list{grid-template-columns:1fr}
  .gal-grid{grid-template-columns:repeat(3,1fr)}
  .nh-quote-text{font-size:21px}
  .tp-head h1{font-size:27px}
}

/* —— 深色下的这套(读者选深色时) —— */
html[data-theme="dark"] body .nh-quote{background:linear-gradient(180deg,#1b1815,#171614);
  border-bottom-color:#2c2721}
html[data-theme="dark"] body .nh-quote-tag{color:#cfa96a;border-color:rgba(207,169,106,.35)}
html[data-theme="dark"] body .nh-quote-text{color:#ece5d9}
html[data-theme="dark"] body .nh-quote-by{color:#7b7367}
html[data-theme="dark"] body .nh-quote-more{color:#e0c48f}
html[data-theme="dark"] body .nh-sec{background:#131211}
html[data-theme="dark"] body .nh-sec-alt{background:#181715}
html[data-theme="dark"] body .nh-head h2{color:#ece5d9}
html[data-theme="dark"] body .nh-head span{color:#7b7367}
html[data-theme="dark"] body .nh-fmt,
html[data-theme="dark"] body .nh-topic{background:#1c1a17;border-color:#2c2721}
html[data-theme="dark"] body .nh-fmt:hover,
html[data-theme="dark"] body .nh-topic:hover{border-color:#4a4034}
html[data-theme="dark"] body .nh-fmt-name,
html[data-theme="dark"] body .nh-topic-name{color:#ece5d9}
html[data-theme="dark"] body .nh-fmt-desc,
html[data-theme="dark"] body .nh-topic-desc{color:#7b7367}
html[data-theme="dark"] body .nh-fmt-num,
html[data-theme="dark"] body .nh-topic-num,
html[data-theme="dark"] body .nh-fmt-arrow,
html[data-theme="dark"] body .nh-more-links a{color:#cfa96a}
html[data-theme="dark"] body .tp-head{background:#181715;border-bottom-color:#2c2721}
html[data-theme="dark"] body .tp-head h1{color:#ece5d9}
html[data-theme="dark"] body .tp-desc{color:#8b8377}
html[data-theme="dark"] body .tp-filters a{background:#1c1a17;border-color:#2c2721;color:#a89f92}
html[data-theme="dark"] body .tp-filters a.on{background:#cfa96a;border-color:#cfa96a;color:#17140f}
html[data-theme="dark"] body .tp-body{background:#131211}
html[data-theme="dark"] body .gal-item{background:#201e1b}
html[data-theme="dark"] body .post-topic{color:#8b8377}


/* ══ 频道页按主题分组 ══ */
.ch-group{margin-bottom:38px}
.ch-group-head{display:flex;align-items:baseline;gap:12px;margin:0 0 16px;
  padding-bottom:10px;border-bottom:1px solid var(--paper-line)}
.ch-group-head h2{font-size:19px;color:#241f19;margin:0;font-weight:700;letter-spacing:.5px}
.ch-group-head h2::before{content:"";display:inline-block;width:4px;height:15px;
  background:#c8763c;border-radius:2px;margin-right:10px;vertical-align:-2px}
.ch-group-head span{font-size:13px;color:#9a9186}
.ch-group-more{margin-left:auto;font-size:13px;color:#c8763c;text-decoration:none}
.ch-group-more:hover{text-decoration:underline}
.ch-group .posts-grid{margin-top:0}

html[data-theme="dark"] body .ch-group-head{border-bottom-color:#2c2721}
html[data-theme="dark"] body .ch-group-head h2{color:#ece5d9}
html[data-theme="dark"] body .ch-group-head h2::before{background:#cfa96a}
html[data-theme="dark"] body .ch-group-head span{color:#7b7367}
html[data-theme="dark"] body .ch-group-more{color:#e0c48f}

@media(max-width:820px){
  .ch-group{margin-bottom:28px}
  .ch-group-head h2{font-size:17px}
}


/* ══ 借用原站:横向滚动 + 图片遮罩 ══
   原站的「精选导读 / 相关推荐」是横向可滑动的,图片还带一层渐变遮罩。
   这里用纯 CSS 实现(scroll-snap + mask),不加载任何 JS。 */

/* ① 「精选导读 / 相关推荐」横向滚动 */
.entry-related-posts .post-loop,
.entry-related .post-loop,
.entry-related-posts ul.post-loop,
.related-scroll {
  display: flex !important;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
}
.entry-related-posts .post-loop > *,
.entry-related .post-loop > *,
.related-scroll > * {
  flex: 0 0 232px;
  max-width: 232px;
  scroll-snap-align: start;
  margin: 0 !important;
}
.entry-related-posts .post-loop::-webkit-scrollbar,
.related-scroll::-webkit-scrollbar { height: 6px; }
.entry-related-posts .post-loop::-webkit-scrollbar-thumb,
.related-scroll::-webkit-scrollbar-thumb {
  background: #d8cfc2; border-radius: 3px;
}
/* 原站那排「精选导读」的标题 */
.entry-related-title {
  font-size: 18px; font-weight: 700; color: #241f19;
  margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid #c8763c; line-height: 1.3;
}
/* 小屏上卡片窄一点,一屏露出两张半(提示可滑) */
@media (max-width: 820px) {
  .entry-related-posts .post-loop > *,
  .entry-related .post-loop > *,
  .related-scroll > * { flex: 0 0 68%; max-width: 68%; }
}

/* ② 卡片图渐变遮罩(和原站一样,标题压得住) */
.post-thumb { position: relative; }
.post-thumb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(180deg, rgba(16,14,12,0), rgba(16,14,12,.55));
  pointer-events: none; opacity: .9;
}
.post-thumb img {
  -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.82) 100%);
          mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.82) 100%);
}

/* 频道页分组里的卡片也给同样的遮罩 */
.ch-group .post-thumb::after,
.posts-grid .post-thumb::after { content: ""; }

html[data-theme="dark"] body .entry-related-title { color: #ece5d9; border-left-color: #cfa96a; }
html[data-theme="dark"] body .entry-related-posts .post-loop::-webkit-scrollbar-thumb,
html[data-theme="dark"] body .related-scroll::-webkit-scrollbar-thumb { background: #3a332b; }

/* ══ 备案号样式 ══ */
.site-icp{margin-top:10px;font-size:12.5px;color:#9a9186;letter-spacing:.2px}
.site-icp a{color:#9a9186;text-decoration:none}
.site-icp a:hover{color:#c8763c;text-decoration:none}
html[data-theme="dark"] body .site-icp,
html[data-theme="dark"] body .site-icp a{color:#7b7367}
html[data-theme="dark"] body .site-icp a:hover{color:#cfa96a}


/* ══ 页脚底部(版权 + 备案号)══ */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:34px; padding:20px 0 24px;
  text-align:center; font-size:12.5px; line-height:1.9;
  color:rgba(255,255,255,.42); letter-spacing:.2px;
}
.footer-bottom p{margin:0;display:flex;align-items:center;justify-content:center;
  flex-wrap:wrap;gap:8px}
.footer-bottom .footer-sep{opacity:.45}
.footer-bottom .footer-icp{color:rgba(255,255,255,.42);text-decoration:none;
  transition:color .2s}
.footer-bottom .footer-icp:hover{color:#cfa96a}
@media(max-width:600px){
  .footer-bottom{font-size:11.5px}
  .footer-bottom p{gap:4px}
  .footer-bottom p span:first-child{flex:1 0 100%}
}

/* ══════════ 方向 D:统一品牌(关中栖心)══════════ */
:root{
  /* —— 以下令牌照抄 bhakty.cn/assets/css/site2.css —— */
  --d-bg:#08080d; --d-bg2:#0e0e16; --d-panel:#12121c; --d-panel2:#171724;
  --d-line:rgba(255,255,255,.07); --d-line2:rgba(255,255,255,.16);
  --d-txt:#d7d8e0; --d-dim:#9597ab; --d-faint:#66687e; --d-head:#f2efe4;
  --d-gold:#d4af37; --d-gold2:#e9d9a4; --d-cin:#c0392b; --d-cin2:#a92f22;
  --d-serif:"Noto Serif SC","Songti SC","STSong","Source Han Serif SC","SimSun",serif;
  --d-sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Noto Sans SC",sans-serif;
  --d-r:18px;
}

/* ══ 深色模式 = 关中栖心品牌色 ══ */
html[data-theme="dark"] body{background:var(--d-bg);color:var(--d-txt);
  font-family:var(--d-sans)}

/* 标题一律衬线(品牌识别的主要来源) */
html[data-theme="dark"] body h1,
html[data-theme="dark"] body h2,
html[data-theme="dark"] body h3,
html[data-theme="dark"] body .section-title,
html[data-theme="dark"] body .post-title,
html[data-theme="dark"] body .post-title a,
html[data-theme="dark"] body .logo,
html[data-theme="dark"] body .tp-hero h1,
html[data-theme="dark"] body .cat-hero h1{font-family:var(--d-serif);color:var(--d-head)}

/* 顶栏 */
html[data-theme="dark"] body .site-header{
  position:sticky;top:0;z-index:900;background:rgba(8,8,13,.9);
  -webkit-backdrop-filter:saturate(150%) blur(14px);backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid var(--d-line)}
html[data-theme="dark"] body .logo{letter-spacing:4px;font-size:18px}
html[data-theme="dark"] body .nav-menu > li > a{color:var(--d-dim);font-size:13px}
html[data-theme="dark"] body .nav-menu > li > a:hover,
html[data-theme="dark"] body .nav-menu > li.active > a{color:var(--d-gold)}
html[data-theme="dark"] body .dropdown{
  background:var(--d-panel);border:1px solid var(--d-line);border-radius:var(--d-r);
  box-shadow:0 18px 40px rgba(0,0,0,.5);padding:8px}
html[data-theme="dark"] body .dropdown a{color:var(--d-dim);border-radius:10px}
html[data-theme="dark"] body .dropdown a:hover{background:#191922;color:var(--d-gold)}
html[data-theme="dark"] body .theme-toggle{color:var(--d-dim)}
html[data-theme="dark"] body .theme-toggle:hover{color:var(--d-gold)}

/* 卡片 */
html[data-theme="dark"] body .post-card{
  background:var(--d-panel);border:1px solid var(--d-line);border-radius:var(--d-r);
  overflow:hidden;transition:transform .28s,border-color .28s}
html[data-theme="dark"] body .post-card:hover{
  transform:translateY(-4px);border-color:rgba(212,175,55,.4)}
html[data-theme="dark"] body .post-thumb::after{
  content:"";position:absolute;inset:auto 0 0 0;height:50%;pointer-events:none;
  background:linear-gradient(180deg,rgba(18,18,28,0),rgba(18,18,28,.9))}
html[data-theme="dark"] body .post-title,
html[data-theme="dark"] body .post-title a{font-size:15px;line-height:1.62}
html[data-theme="dark"] body .post-card:hover .post-title a{color:var(--d-gold2)}
html[data-theme="dark"] body .post-excerpt{color:var(--d-faint);font-size:11.5px;line-height:1.75}
html[data-theme="dark"] body .post-badge{
  background:rgba(8,8,13,.75);border:1px solid var(--d-line2);color:var(--d-cin);
  border-radius:999px;padding:3px 11px;font-size:10.5px;backdrop-filter:blur(6px)}
html[data-theme="dark"] body .post-meta span,
html[data-theme="dark"] body .post-topic{color:var(--d-faint);font-size:11px}

/* 分类 chips */
html[data-theme="dark"] body .tp-filters,
html[data-theme="dark"] body .ch-filters{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 6px}
html[data-theme="dark"] body .tp-filters a,
html[data-theme="dark"] body .ch-filters a{
  font-size:12.5px;padding:7px 16px;border:1px solid var(--d-line2);
  border-radius:999px;color:var(--d-dim);transition:all .2s}
html[data-theme="dark"] body .tp-filters a:hover,
html[data-theme="dark"] body .ch-filters a:hover{border-color:rgba(212,175,55,.5);color:var(--d-gold2)}
html[data-theme="dark"] body .tp-filters a.on,
html[data-theme="dark"] body .ch-filters a.on{
  background:var(--d-gold);border-color:var(--d-gold);color:#14120a;font-weight:600}

/* 区块标题前的小竖条改金色 */
html[data-theme="dark"] body .section-title::before{background:var(--d-gold)}
html[data-theme="dark"] body .ch-group-head h2::before{background:var(--d-gold)}
html[data-theme="dark"] body .ch-group-head{border-bottom-color:var(--d-line)}
html[data-theme="dark"] body .ch-group-head h2{color:var(--d-head)}
html[data-theme="dark"] body .ch-group-head span{color:var(--d-faint)}
html[data-theme="dark"] body .ch-group-more{color:var(--d-gold)}

/* 页面头 */
html[data-theme="dark"] body .tp-hero,
html[data-theme="dark"] body .cat-hero,
html[data-theme="dark"] body .page-hero{
  background:linear-gradient(180deg,#0c0c14,var(--d-bg));border-bottom:1px solid var(--d-line)}

/* 分页 */
html[data-theme="dark"] body .pager-btn{
  background:var(--d-panel);border:1px solid var(--d-line);border-radius:12px;color:var(--d-dim)}
html[data-theme="dark"] body .pager-btn:hover{border-color:var(--d-gold);color:var(--d-gold2)}
html[data-theme="dark"] body .pager-info{color:var(--d-faint)}

/* 归档(每日智慧) */
html[data-theme="dark"] body .arch-y{background:var(--d-panel);border-color:var(--d-line);color:var(--d-txt)}
html[data-theme="dark"] body .arch-y.on{background:var(--d-gold);border-color:var(--d-gold);color:#14120a}
html[data-theme="dark"] body .arch-months a{background:var(--d-panel2);border-color:var(--d-line);color:var(--d-dim)}
html[data-theme="dark"] body .arch-months a.on{background:var(--d-cin);border-color:var(--d-cin);color:#fff}

/* 课程落地页 */
html[data-theme="dark"] body .lp-step,
html[data-theme="dark"] body .lp-faq-item{
  background:var(--d-panel);border-color:var(--d-line);border-radius:var(--d-r)}
html[data-theme="dark"] body .lp-step-no{background:var(--d-gold);color:#14120a}
html[data-theme="dark"] body .lp-voice{background:var(--d-bg2);border-left-color:var(--d-cin)}
html[data-theme="dark"] body .lp-h2{font-family:var(--d-serif);color:var(--d-head)}
html[data-theme="dark"] body .lp-rule{background:var(--d-gold)}
html[data-theme="dark"] body .lp-related-title{border-left-color:var(--d-gold);color:var(--d-head)}

/* 页脚 */
html[data-theme="dark"] body .site-footer{background:#06060a;border-top:1px solid var(--d-line)}
html[data-theme="dark"] body .site-footer h3{font-family:var(--d-serif);color:var(--d-gold);font-size:14px}
html[data-theme="dark"] body .site-footer p{color:var(--d-faint)}
html[data-theme="dark"] body .footer-links a{color:var(--d-faint)}
html[data-theme="dark"] body .footer-links a:hover{color:var(--d-gold)}
html[data-theme="dark"] body .footer-bottom{border-top:1px solid var(--d-line);color:var(--d-faint);font-size:12px}
html[data-theme="dark"] body .footer-icp{color:var(--d-faint)}
html[data-theme="dark"] body .footer-icp:hover{color:var(--d-gold)}

/* 首页 Hero 三卡 */
html[data-theme="dark"] body .mmm-card{border-radius:var(--d-r);border:1px solid var(--d-line);overflow:hidden}
html[data-theme="dark"] body .mmm-card::after{
  content:"";position:absolute;inset:auto 0 0 0;height:64%;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,8,13,0),rgba(8,8,13,.95))}
html[data-theme="dark"] body .mmm-body{position:relative;z-index:2}
html[data-theme="dark"] body .mmm-body h2{font-family:var(--d-serif);color:var(--d-head)}

/* 正文页保持浅色(纸感),但标题换衬线以统一识别 */
body.article-page .article-hero h1,
body.article-page .article-main h1,
body.article-page .article-main h2,
body.article-page .article-main h3,
.category-page .cat-hero h1{font-family:var(--d-serif)}
body .article-main a:hover{color:var(--d-cin2)}

@media(max-width:820px){
  html[data-theme="dark"] body .post-excerpt{display:none}
  html[data-theme="dark"] body .post-title,
  html[data-theme="dark"] body .post-title a{font-size:14px}
  html[data-theme="dark"] body .mmm-card{height:200px}
}
/* ══════════ 方向 D 结束 ══════════ */


/* ══ 他是谁(主线人物页)══ */
.sd-hero{padding:56px 0 8px;background:linear-gradient(180deg,#0c0c14,#08080d)}
.sd-hero-inner{max-width:1080px;margin:0 auto;padding:0 26px;display:grid;
  grid-template-columns:1.15fr .85fr;gap:38px;align-items:center}
.sd-kicker{font-size:11.5px;letter-spacing:3px;color:var(--d-gold,#d4af37)}
.sd-hero h1{font-family:var(--d-serif,"Songti SC",serif);font-size:56px;
  color:var(--d-head,#f2efe4);line-height:1.1;margin:12px 0 10px;letter-spacing:2px}
.sd-sub{font-size:14px;color:var(--d-gold,#d4af37);letter-spacing:.6px;margin-bottom:20px}
.sd-lead{font-size:15px;line-height:2.1;color:var(--d-txt,#d7d8e0);max-width:520px}
.sd-hero-photo{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.08);
  aspect-ratio:4/5;background:#12121c}
.sd-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.sd-sec{max-width:1080px;margin:0 auto;padding:56px 26px 8px}
.sd-sec h2{font-family:var(--d-serif,"Songti SC",serif);font-size:23px;
  color:var(--d-head,#f2efe4);letter-spacing:1px}
.sd-rule{width:40px;height:2px;background:var(--d-gold,#d4af37);margin:14px 0 30px}
.sd-timeline{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.sd-node{background:var(--d-panel,#12121c);border:1px solid rgba(255,255,255,.07);
  border-radius:18px;padding:24px 26px}
.sd-year{display:inline-block;font-size:12px;letter-spacing:1.6px;color:var(--d-cin,#c0392b);
  border:1px solid rgba(192,57,43,.4);border-radius:999px;padding:3px 12px;margin-bottom:12px}
.sd-node h3{font-family:var(--d-serif,"Songti SC",serif);font-size:16.5px;
  color:var(--d-head,#f2efe4);margin-bottom:9px}
.sd-node p{font-size:14px;line-height:2;color:var(--d-txt,#d7d8e0);opacity:.86}
.sd-quotes{display:flex;flex-direction:column;gap:16px}
.sd-quote{margin:0;padding:22px 26px;background:#0e0e16;border-left:3px solid #d4af37;
  border-radius:0 18px 18px 0;font-family:var(--d-serif,"Songti SC",serif);
  font-size:16px;line-height:1.95;color:#f2efe4}
.sd-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.sd-card{background:var(--d-panel,#12121c);border:1px solid rgba(255,255,255,.07);
  border-radius:18px;padding:24px 26px}
.sd-card h3{font-family:var(--d-serif,"Songti SC",serif);font-size:16px;
  color:#d4af37;margin-bottom:9px}
.sd-card p{font-size:13.5px;line-height:1.95;color:#9597ab}
.sd-rels{display:flex;flex-wrap:wrap;gap:10px}
.sd-rel{font-size:13px;padding:9px 16px;border:1px solid rgba(255,255,255,.16);
  border-radius:999px;color:#d7d8e0;text-decoration:none}
.sd-rel:hover{border-color:rgba(212,175,55,.55);color:#e9d9a4}
.sd-more{margin-top:24px;font-size:13.5px}
.sd-more a{color:#d4af37;text-decoration:none}
@media(max-width:820px){
  .sd-hero{padding:32px 0 4px}
  .sd-hero-inner{grid-template-columns:1fr;gap:24px}
  .sd-hero h1{font-size:38px}
  .sd-hero-photo{max-width:280px}
  .sd-timeline,.sd-cards{grid-template-columns:1fr}
  .sd-sec{padding:38px 20px 6px}
}

/* ══════════ 横屏(矮视口)可滚动修复 ══════════ */
/* ① 兜底:任何情况下页面都要能滚 */
html{overflow-y:auto;height:auto}
body{overflow-y:auto;min-height:0}
.wrap,.container{max-width:100%}

/* ② 矮视口(手机横屏)专用:把按视口高度算的东西全放开 */
@media (max-height:520px){
  /* 菜单:不再浮层锁屏,改成推到内容上方的一块 */
  .nav-menu.active{
    position:relative !important;
    top:auto !important;left:auto !important;right:auto !important;
    max-height:none !important;overflow:visible !important;
    display:flex;flex-direction:column;
  }
  .nav-menu{max-height:none !important}
  /* 首屏大图:横屏时不该占满一屏 */
  .mmm-card{height:150px !important}
  .hero-mmm .mmm-card{height:150px !important}
  .lp-hero{min-height:0 !important;padding:28px 0 !important}
  .sd-hero{padding:22px 0 !important}
  .sd-hero-photo{max-height:210px}
  .article-hero{padding:24px 0 20px !important}
  .tp-hero,.cat-hero,.page-hero{padding:22px 0 !important}
  .hero,.hero-section{min-height:0 !important}
  /* 正文页左右边距收一点,横屏能多放字 */
  .article-main{padding:22px 20px 40px !important}
  .article-cover{margin:-18px -20px 20px !important}
  /* 任何残留在视口高度上的 sticky/fixed 内容区都不要卡住滚动 */
  [style*="height:100vh"]{height:auto !important}
}

/* ③ 横屏 + 宽度仍 <820 的机型:两列卡片,信息更紧凑 */
@media (orientation:landscape) and (max-width:900px) and (max-height:520px){
  .posts-grid{grid-template-columns:repeat(2,1fr) !important;gap:14px}
  .post-thumb{aspect-ratio:16/9}
  .footer-grid{grid-template-columns:repeat(3,1fr) !important;gap:18px}
}
/* ══════════ 横屏修复结束 ══════════ */

/* ══════════ 菜单可滚 + 横屏紧凑 ══════════ */
/* ① 页面本体:任何情况都能滚 */
html{overflow-y:auto !important;height:auto !important;max-height:none !important}
body{overflow-y:auto !important;height:auto !important;min-height:0 !important}

/* ② 菜单展开:占满剩余视口高度 + 自身可滚(touch 惯性) */
.nav-menu{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.nav-menu.active{
  position:fixed !important;
  top:56px !important; left:0 !important; right:0 !important; bottom:0 !important;
  max-height:none !important;
  height:auto !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding-bottom:34px;
}
/* 菜单里的链接点起来更稳(不被 sticky 头挡住) */
.nav-menu.active > li > a{scroll-margin-top:64px}

/* ③ 横屏矮视口:菜单两列,一屏看全 */
@media (orientation:landscape) and (max-height:560px){
  .nav-menu.active{
    top:0 !important;              /* 矮屏时连顶栏一起盖,腾出最大高度 */
    display:grid !important;
    grid-template-columns:1fr 1fr;
    align-content:start;
    gap:0 6px;
    padding:10px 10px 40px;
    background:#08080d;
  }
  .nav-menu.active > li{width:auto !important}
  .nav-menu.active > li > a{
    padding:9px 13px !important;
    font-size:13px !important;
    border-bottom:1px solid rgba(255,255,255,.07) !important;
    justify-content:flex-start !important;
    gap:6px;
  }
  .nav-menu.active .dropdown a{padding:7px 13px !important;font-size:12.5px !important}
  .nav-menu.active .dropdown{background:#0e0e16 !important;border-radius:10px;margin:2px 0 8px}
  /* 首页三卡 / 大图在横屏一律压扁,别把内容推到屏幕外 */
  .mmm-card,.hero-mmm .mmm-card{height:132px !important}
  .lp-hero,.hero,.hero-section{min-height:0 !important;padding:22px 0 !important}
  .article-hero{padding:20px 0 16px !important}
}
/* ══════════ 菜单横屏修复结束 ══════════ */

/* ══════════ 全站深色:正文页也深 ══════════ */
/* 正文页容器 */
html[data-theme="dark"] body .article-main,
html[data-theme="dark"] body .article-wrap,
html[data-theme="dark"] body .article-body,
html[data-theme="dark"] body .article-container{
  background:#0e0e16 !important;color:#d7d8e0 !important;
  border-color:rgba(255,255,255,.07) !important}

/* 标题 */
html[data-theme="dark"] body .article-hero{background:linear-gradient(180deg,#0c0c14,#08080d) !important;
  border-bottom:1px solid rgba(255,255,255,.07)}
html[data-theme="dark"] body .article-hero h1,
html[data-theme="dark"] body .article-main h1,
html[data-theme="dark"] body .article-main h2,
html[data-theme="dark"] body .article-main h3,
html[data-theme="dark"] body .article-main h4{
  color:#f2efe4 !important;font-family:var(--d-serif,"Songti SC",serif)}
html[data-theme="dark"] body .article-main h2::before,
html[data-theme="dark"] body .article-main h3::before{background:#d4af37 !important}

/* 正文:行距放大到 2.05,深底长文靠行距缓解 */
html[data-theme="dark"] body .article-main p,
html[data-theme="dark"] body .article-content p,
html[data-theme="dark"] body .entry-content p{
  color:#d7d8e0 !important;line-height:2.05 !important}
html[data-theme="dark"] body .article-main{font-size:16.5px;line-height:2.05}
html[data-theme="dark"] body .article-main li,
html[data-theme="dark"] body .article-main td,
html[data-theme="dark"] body .article-main th{color:#c9cad6 !important}

/* 面包屑 / 元信息 */
html[data-theme="dark"] body .breadcrumb,
html[data-theme="dark"] body .breadcrumb a{color:#66687e !important}
html[data-theme="dark"] body .breadcrumb a:hover{color:#d4af37}

/* 正文里的图片:加一圈细描边,深底不糊边 */
html[data-theme="dark"] body .article-main img{
  border-radius:12px;border:1px solid rgba(255,255,255,.07)}

/* 引用块 / 提示块 / 表格:一律深底,不留白块 */
html[data-theme="dark"] body .article-main blockquote{
  background:#12121c !important;border-left:3px solid #d4af37 !important;
  color:#e9d9a4 !important;border-radius:0 12px 12px 0}
html[data-theme="dark"] body .article-main table{background:#12121c !important}
html[data-theme="dark"] body .article-main th{background:#171724 !important;color:#f2efe4 !important}
html[data-theme="dark"] body .article-main td{border-color:rgba(255,255,255,.07) !important}
html[data-theme="dark"] body .article-main hr{border-color:rgba(255,255,255,.09) !important}

/* 「精选导读 / 相关推荐」原站残留块也一起深 */
html[data-theme="dark"] body .entry-related-posts,
html[data-theme="dark"] body .entry-related,
html[data-theme="dark"] body .entry-related-title{background:transparent !important}
html[data-theme="dark"] body .entry-related-posts a,
html[data-theme="dark"] body .entry-related a{color:#d7d8e0 !important}
html[data-theme="dark"] body .entry-related-posts a:hover,
html[data-theme="dark"] body .entry-related a:hover{color:#e9d9a4 !important}

/* 正文里的强调色 */
html[data-theme="dark"] body .article-main a{color:#e9d9a4}
html[data-theme="dark"] body .article-main a:hover{color:#d4af37}
html[data-theme="dark"] body .article-main strong,
html[data-theme="dark"] body .article-main b{color:#f2efe4}

/* 课程落地页其他浅色区块也一起收 */
html[data-theme="dark"] body .lp-intro-text,
html[data-theme="dark"] body .lp-bene-item,
html[data-theme="dark"] body .lp-rec{color:#d7d8e0 !important}
html[data-theme="dark"] body .lp-sec .container{background:transparent}

/* 关于页 */
html[data-theme="dark"] body .ab-sec p,
html[data-theme="dark"] body .ab-contact,
html[data-theme="dark"] body .ab-card{color:#d7d8e0 !important;
  background:#12121c !important;border-color:rgba(255,255,255,.07) !important}
html[data-theme="dark"] body .ab-sec h2,
html[data-theme="dark"] body .ab-card h3{color:#f2efe4 !important;
  font-family:var(--d-serif,"Songti SC",serif)}
/* ══════════ 全站深色结束 ══════════ */


/* ══ 首页:品牌区 + 栏目 ══ */
.hb-brand{padding:46px 0 10px}
.hb-brand-in{display:grid;grid-template-columns:.95fr 1.05fr;gap:44px;align-items:center}
.hb-photo{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.07);
  aspect-ratio:4/5;background:#12121c}
.hb-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hb-kick{font-size:11.5px;letter-spacing:3.4px;color:#d4af37}
.hb-brand h1{font-family:var(--d-serif,"Songti SC",serif);font-size:54px;color:#f2efe4;
  line-height:1.1;margin:10px 0;letter-spacing:3px}
.hb-role{font-size:14px;color:#d4af37;letter-spacing:.6px;margin-bottom:18px}
.hb-lead{font-size:15px;line-height:2.05;color:#d7d8e0;max-width:500px}
.hb-btn{display:inline-block;margin-top:22px;font-size:13.5px;padding:11px 22px;
  border:1px solid rgba(212,175,55,.5);border-radius:999px;color:#e9d9a4;text-decoration:none}
.hb-btn:hover{background:rgba(212,175,55,.1)}

.hb-sec{margin-top:50px}
.hb-head h2{font-family:var(--d-serif,"Songti SC",serif);font-size:21px;color:#f2efe4;letter-spacing:.8px}
.hb-rule{width:38px;height:2px;background:#d4af37;margin:12px 0 22px}

.hb-cols{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.hb-col{background:#12121c;border:1px solid rgba(255,255,255,.07);border-radius:18px;
  overflow:hidden;display:flex;flex-direction:column;text-decoration:none;
  transition:transform .26s,border-color .26s}
.hb-col:hover{transform:translateY(-4px);border-color:rgba(212,175,55,.45)}
.hb-col-ph{height:118px;background:#171724;position:relative}
.hb-col-ph img{width:100%;height:100%;object-fit:cover;display:block}
.hb-col-ph::after{content:"";position:absolute;inset:auto 0 0 0;height:55%;pointer-events:none;
  background:linear-gradient(180deg,rgba(18,18,28,0),rgba(18,18,28,.92))}
.hb-col-b{padding:16px;flex:1;display:flex;flex-direction:column}
.hb-col-b h3{font-family:var(--d-serif,"Songti SC",serif);font-size:19px;color:#f2efe4;
  margin-bottom:7px;letter-spacing:1px}
.hb-col-b p{font-size:12.5px;color:#66687e;line-height:1.7;flex:1}
.hb-go{margin-top:12px;font-size:12px;color:#d4af37}

.hb-grid{margin-top:0}

@media(max-width:900px){ .hb-cols{grid-template-columns:repeat(2,1fr)} }
@media(max-width:820px){
  .hb-brand{padding:28px 0 4px}
  .hb-brand-in{grid-template-columns:1fr;gap:22px}
  .hb-brand h1{font-size:38px}
  .hb-photo{max-width:250px;aspect-ratio:1/1}
  .hb-cols{gap:12px}
  .hb-col-ph{height:96px}
  .hb-col-b{padding:12px}
  .hb-col-b h3{font-size:16px;margin-bottom:4px}
  .hb-col-b p{display:none}
  .hb-go{font-size:11px;margin-top:8px}
}

/* ══════════ 禁止横向溢出(图片/视频/表格)══════════ */
/* ① 媒体与表格一律不超过容器 */
img, svg, video, iframe, canvas, embed, object{max-width:100%}
img{height:auto}
/* 卡片/封面的图是靠 height:100% + object-fit 铺满的 —— 不能把高度改成 auto */
.post-thumb img,.hb-col-ph img,.hb-photo img,.mmm-card img,
.lp-hero img,.article-cover img,.gal-item img,.card .ph img,.sd-hero-photo img{
  height:100% !important;max-width:100%}
/* 表格允许自己横向滚,不撑破页面 */
table{max-width:100%}
.article-main table,.entry-content table{display:block;overflow-x:auto;max-width:100%}
/* 长英文/URL 不撑宽 */
.article-main p,.article-main li,.post-title,.post-excerpt,.hb-lead{
  overflow-wrap:break-word;word-break:break-word}

/* ② 兜底:任何情况都不出现横向滚动条 */
html{overflow-x:hidden !important;max-width:100% !important}
body{overflow-x:hidden !important;max-width:100% !important;width:100%}
.container,.wrap{max-width:100%}

/* ③ 手机上再收一层:所有网格不许超出 */
@media(max-width:900px){
  .posts-grid,.hb-cols,.grid6,.cgrid,.sd-timeline,.sd-cards,.lp-voice-grid,.footer-grid,
  .nh-fmt-grid,.tchips{max-width:100%}
  .hb-col,.post-card,.card{min-width:0}
}
/* ══════════ 防溢出结束 ══════════ */

/* ══════════ 网格子项不许被内容撑宽 ══════════ */
/* ⛔ Grid/Flex 子项默认 min-width:auto,会被大图顶宽 —— 一律归零 */
.hb-col,.hb-col-b,.post-card,.card,.hb-grid > *, .posts-grid > *,
.tp-body .posts-grid > *, .ch-group .posts-grid > *,
.lp-related .post-loop > *, .tchip,.footer-col,.sd-node,.sd-card{
  min-width:0;max-width:100%}
.hb-col-ph,.post-thumb,.card .ph,.hb-photo,.article-cover{
  min-width:0;overflow:hidden}
.hb-col-ph img,.post-thumb img,.card .ph img,.hb-photo img,
.article-cover img,.gal-item img,.mmm-card img{
  max-width:100%;display:block}

/* 网格列一律 minmax(0,1fr),不留 auto 最小值 */
.hb-cols{grid-template-columns:repeat(5,minmax(0,1fr))}
.grid6,.cgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.posts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){
  .hb-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .posts-grid,.grid6,.cgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .posts-grid,.grid6,.cgrid,.hb-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* ══════════ 网格防撑宽结束 ══════════ */
