/* ============================================================
   轻壹 · 站点门户首页 /  全站内容聚合门户
   类前缀 qp- 隔离；零 JS；PC-only
   ============================================================ */

body { background: #FFFFFF; }

.qp-wrap {
    position: relative;
    padding: 0 0 10px;
    min-width: 1160px;
}

/* ---------- 通用按钮 ---------- */
.qp-hbtn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 34px; border-radius: 999px;
    font-size: 14.5px; font-weight: 600; letter-spacing: 3px;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.qp-hbtn.qp-hbtn-primary {
    background: linear-gradient(135deg, #E3C98E 0%, #c9a96a 55%, #B08D52 100%);
    color: #20365A;
    box-shadow: 0 8px 24px rgba(150, 118, 58, .35);
}
.qp-hbtn.qp-hbtn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(150, 118, 58, .48); color: #182C4C; }
.qp-hbtn.qp-hbtn-ghost {
    border: 1px solid rgba(201, 169, 106, .65);
    color: #f2e6cd; background: rgba(201, 169, 106, .08);
}
.qp-hbtn.qp-hbtn-ghost:hover { border-color: #E0C58C; background: rgba(201, 169, 106, .18); transform: translateY(-2px); }
.qp-hbtn.qp-hbtn-blue {
    background: linear-gradient(135deg, #5E9CD2, #4A8CC4);
    color: #fff; box-shadow: 0 10px 26px rgba(74, 140, 196, .32);
}
.qp-hbtn.qp-hbtn-blue:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(74, 140, 196, .42); color: #fff; }

/* ---------- 0. 全站检索条（仅首页，卡片式不通栏） ---------- */
.ep-searchbar {
    margin: 14px 0 0;
    background: linear-gradient(180deg, #FDFCFA 0%, #FAF8F3 100%);
    border: 1px solid rgba(201, 165, 92, 0.3);
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(60, 48, 20, 0.05);
}
.ep-searchbar-inner {
    padding: 0 18px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.ep-sb-brand {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    font-family: "STSong", "SimSun", serif;
    font-size: 15px; font-weight: 700; letter-spacing: 2px; color: #33291A;
    padding-right: 16px;
    border-right: 1px solid rgba(201, 165, 92, 0.3);
}
.ep-sb-brand i { color: #A8873F; font-size: 13px; }
.ep-sb-tabs { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ep-sb-tab {
    border: none; background: transparent; cursor: pointer;
    padding: 5px 13px; border-radius: 15px;
    font-size: 12.5px; letter-spacing: 1px; color: #6B6154;
    font-family: inherit;
    transition: background .2s ease, color .2s ease;
}
.ep-sb-tab:hover { color: #33291A; background: rgba(201, 165, 92, 0.14); }
.ep-sb-tab.is-active {
    color: #F5EBD3; font-weight: 600;
    background: linear-gradient(135deg, #3A3226, #262013);
    box-shadow: 0 3px 8px rgba(38, 32, 19, 0.25);
}
.ep-sb-form { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.ep-sb-input {
    width: 320px; height: 36px;
    padding: 0 16px;
    font-size: 13px; color: #33291A; letter-spacing: .5px;
    background: #fff;
    border: 1px solid rgba(201, 165, 92, 0.38);
    border-right: none;
    border-radius: 18px 0 0 18px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ep-sb-input::placeholder { color: #B4A98F; }
.ep-sb-input:focus {
    border-color: #C9A55C;
    box-shadow: 0 0 0 3px rgba(201, 165, 92, 0.15);
}
.ep-sb-btn {
    height: 36px; padding: 0 22px; flex-shrink: 0;
    border: none; border-radius: 0 18px 18px 0; cursor: pointer;
    font-size: 13px; letter-spacing: 2px; color: #2A2115;
    font-weight: 600; font-family: inherit;
    background: linear-gradient(135deg, #E0C58B, #C9A55C 60%, #B08D46);
    box-shadow: 0 3px 10px rgba(176, 141, 70, 0.35);
    transition: filter .2s ease, box-shadow .2s ease;
}
.ep-sb-btn:hover { filter: brightness(1.06); box-shadow: 0 5px 14px rgba(176, 141, 70, 0.45); }
.ep-sb-btn i { margin-right: 5px; font-size: 12px; }

/* ---------- 1. Hero：左品牌banner + 右小助手面板 ---------- */
.qp-hero {
    display: grid;
    grid-template-columns: minmax(0, 2.9fr) minmax(0, 1fr);
    gap: 16px;
    margin: 14px 0 0;
}

/* 1a. 左侧轮播 banner */
.qp-hbanner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 424px;
}
.qp-hb-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity .9s ease;
}
.qp-hb-slide.is-active { opacity: 1; pointer-events: auto; }
/* 主题一 · 藏青（品牌） */
.qp-hb-slide--navy .qp-hbanner-bg {
    background:
        radial-gradient(640px 360px at 82% 10%, rgba(143, 188, 224, .22), transparent 64%),
        radial-gradient(1.8px 1.8px at 14% 22%, rgba(224,197,140,.75), transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 14%, rgba(255,255,255,.6), transparent 100%),
        radial-gradient(1.6px 1.6px at 48% 26%, rgba(224,197,140,.5), transparent 100%),
        radial-gradient(1.4px 1.4px at 62% 12%, rgba(255,255,255,.5), transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 48%, rgba(224,197,140,.35), transparent 100%),
        linear-gradient(133deg, #15294C 0%, #1E3D68 46%, #2C5C8E 100%);
}
/* 主题二 · 松墨绿（腧穴） */
.qp-hb-slide--acu {
    background:
        radial-gradient(640px 360px at 82% 10%, rgba(210, 226, 214, .14), transparent 64%),
        linear-gradient(133deg, #122019 0%, #1E3A31 46%, #2F5348 100%);
}
/* 主题三 · 檀褐（医家） */
.qp-hb-slide--doc {
    background:
        radial-gradient(640px 360px at 82% 10%, rgba(224, 197, 140, .13), transparent 64%),
        linear-gradient(133deg, #1E150E 0%, #37281A 46%, #54402A 100%);
}
.qp-hbanner-bg {
    position: absolute; inset: 0; overflow: hidden;
}
.qp-hb-mts { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
/* 金印 */
.qp-hb-seal {
    position: absolute; right: 26px; top: 26px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: "STSong", "SimSun", serif; font-size: 20px;
    color: #20365A;
    background: linear-gradient(135deg, #E6CE97, #c9a96a 55%, #AC8A4D);
    box-shadow: 0 5px 16px rgba(150, 118, 58, .4), inset 0 1px 1px rgba(255,255,255,.45);
}
/* 水印发光大字（腧穴/医家 slide） */
.qp-hb-water {
    position: absolute; right: 26px; bottom: -46px;
    font-family: "STSong", "SimSun", serif;
    font-size: 300px; line-height: 1;
    color: rgba(228, 202, 150, .07);
    pointer-events: none;
}
/* 轮播圆点 */
.qp-hb-dots {
    position: absolute; right: 26px; bottom: 20px; z-index: 5;
    display: flex; align-items: center; gap: 7px;
}
.qp-hb-dot {
    width: 16px; height: 3px; padding: 0;
    border: none; border-radius: 2px; cursor: pointer;
    background: rgba(255, 255, 255, .28);
    transition: width .3s ease, background .3s ease;
}
.qp-hb-dot:hover { background: rgba(255, 255, 255, .5); }
.qp-hb-dot.is-active { width: 30px; background: #D8BC82; }

.qp-hbanner-inner { position: relative; z-index: 2; padding: 44px 48px 40px; max-width: 76%; }
.qp-hb-over {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 18px;
    font-size: 12px; letter-spacing: 3px; color: rgba(242, 230, 205, .92);
}
.qp-hb-over span:last-child { font-size: 10px; letter-spacing: 2.5px; color: rgba(224, 197, 140, .55); }
.qp-hb-over-line { width: 30px; height: 1px; background: linear-gradient(90deg, #c9a96a, rgba(201,169,106,.2)); }
.qp-hb-title {
    margin: 0 0 16px;
    font-family: "STSong", "SimSun", serif;
    font-size: 68px; font-weight: 700; letter-spacing: 10px;
    color: #fff; line-height: 1.05;
    text-shadow: 0 4px 24px rgba(10, 26, 48, .4);
}
.qp-hb-title em {
    font-style: normal; font-weight: 700;
    background: linear-gradient(120deg, #EBD49E 0%, #c9a96a 45%, #E3C98E 70%, #A9854A 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #c9a96a;
    animation: qp-gold-flow 7s ease-in-out infinite;
}
.qp-hb-title--sm { font-size: 54px; letter-spacing: 8px; }
.qp-hb-sub {
    margin: 0 0 26px;
    font-size: 14.5px; letter-spacing: 2px; color: rgba(255,255,255,.85);
    line-height: 1.95;
}
.qp-hb-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.qp-hbanner .qp-hbtn { padding: 11px 28px; font-size: 13.5px; letter-spacing: 2px; }
.qp-hb-more {
    font-size: 13px; letter-spacing: 2px; color: rgba(224, 197, 140, .85);
    transition: color .2s ease, gap .2s ease;
}
.qp-hb-more i { margin-left: 4px; }
.qp-hb-more:hover { color: #EBD49E; }
.qp-hb-data {
    margin: 0; padding-top: 18px;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(201,169,106,.6), rgba(201,169,106,.1) 60%, transparent) 1;
    font-size: 12.5px; letter-spacing: 1px; color: rgba(255,255,255,.6);
}
.qp-hb-data b { font-size: 15px; font-weight: 700; color: #E3C98E; margin: 0 2px; }

/* 1b. 右侧小助手面板 */
.qp-hpanel {
    background: #fff;
    border: 1px solid #E4EAE5;
    border-radius: 16px;
    padding: 22px 22px 18px;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 18px rgba(38, 70, 58, .05);
}
.qp-hp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.qp-hp-ico {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
    background: linear-gradient(135deg, #4C756B, #3A5F58);
    box-shadow: 0 4px 12px rgba(58, 95, 88, .28);
}
.qp-hp-txt h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: 2px; color: #274038; }
.qp-hp-txt p { margin: 3px 0 0; font-size: 10.5px; letter-spacing: 1.5px; color: #93A29A; }
.qp-hp-all {
    margin-left: auto; flex-shrink: 0;
    font-size: 12px; letter-spacing: 1px; color: #7A8B83;
    display: flex; align-items: center; gap: 3px;
    transition: color .2s ease, gap .2s ease;
}
.qp-hp-all:hover { color: #3A5F58; gap: 7px; }
.qp-hp-list { flex: 1; display: flex; flex-direction: column; }
.qp-hp-item {
    flex: 1;
    display: flex; align-items: center; gap: 13px;
    padding: 0 10px; margin: 0 -10px;
    border-radius: 10px;
    border-bottom: 1px solid #F0F4F1;
    transition: background .2s ease;
}
.qp-hp-item:last-child { border-bottom: none; }
.qp-hp-item:hover { background: #F4F8F6; }
.qp-hp-item-ico {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #3A5F58;
    background: linear-gradient(135deg, #EAF2EE, #DFEAE4);
    border: 1px solid #E1EAE5;
    transition: background .2s ease, color .2s ease;
}
.qp-hp-item:hover .qp-hp-item-ico { background: linear-gradient(135deg, #4C756B, #3A5F58); color: #fff; border-color: transparent; }
.qp-hp-item-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qp-hp-item-name { font-size: 14.5px; font-weight: 600; letter-spacing: 1px; color: #274038; }
.qp-hp-item-desc { font-size: 11.5px; color: #93A29A; letter-spacing: .5px; }
.qp-hp-item-arrow {
    margin-left: auto; font-size: 14px; color: #C6CFC9;
    transition: color .2s ease, transform .2s ease;
}
.qp-hp-item:hover .qp-hp-item-arrow { color: #3A5F58; transform: translateX(3px); }
.qp-hp-note {
    margin: 12px 0 0; padding-top: 12px;
    border-top: 1px dashed #E2E8E2;
    font-size: 11px; letter-spacing: .5px; color: #A5ADA7;
}
.qp-hp-note i { color: #B9C3BD; margin-right: 4px; }

/* Hero 入场 */
.qp-hbanner-inner > *, .qp-hpanel > * {
    animation: qp-rise .9s cubic-bezier(.22,.61,.36,1) both;
}
.qp-hb-title { animation-delay: .1s; }
.qp-hb-sub { animation-delay: .2s; }
.qp-hb-actions { animation-delay: .3s; }
.qp-hb-data { animation-delay: .4s; }
.qp-hp-head { animation-delay: .1s; }
.qp-hp-list { animation-delay: .25s; }
.qp-hp-note { animation-delay: .4s; }

/* ---------- 2. 五馆数据概览条 ---------- */
.qp-datastrip {
    display: grid; grid-template-columns: repeat(5, 1fr);
    margin: 18px 0 0;
    background: #fff;
    border: 1px solid #E9EEF2;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(36, 60, 84, .04);
    overflow: hidden;
}
.qp-dblock {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 20px 22px;
    transition: background .25s ease;
}
.qp-dblock + .qp-dblock { border-left: 1px solid #F0F3F6; }
/* hover：格顶浮出主题色细线 + 底色微染 */
.qp-dblock::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: currentColor; opacity: 0; transition: opacity .25s ease;
}
.qp-dblock:hover::before { opacity: 1; }
.qp-dblock--topic { color: #3E80A8; }
.qp-dblock--acupoint { color: #2F5348; }
.qp-dblock--lit { color: #2E5C7E; }
.qp-dblock--doctor { color: #7A5230; }
.qp-dblock--qy { color: #3A5F58; }
.qp-dblock:hover { background: color-mix(in srgb, currentColor 4%, #fff); }
.qp-dblock-ico {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: currentColor;
    background: color-mix(in srgb, currentColor 9%, #fff);
    border: 1px solid color-mix(in srgb, currentColor 16%, #fff);
    transition: background .25s ease, color .25s ease;
}
.qp-dblock:hover .qp-dblock-ico { background: currentColor; }
.qp-dblock:hover .qp-dblock-ico i { color: #fff; }
.qp-dblock-body { display: flex; flex-direction: column; min-width: 0; }
.qp-dblock-num {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px; font-weight: 700; color: #23282D; line-height: 1.1;
}
.qp-dblock-label { font-size: 12px; color: #6E7880; margin-top: 3px; letter-spacing: .5px; }
.qp-dblock-en {
    font-size: 9px; letter-spacing: 2px; margin-top: 2px;
    color: #B4BCC3; text-transform: uppercase;
}
.qp-dblock-arrow {
    margin-left: auto; font-size: 13px; color: #D3D9DE; flex-shrink: 0;
    transition: color .25s ease, transform .25s ease;
}
.qp-dblock:hover .qp-dblock-arrow { color: currentColor; transform: translateX(4px); }

/* ---------- 3. 区块标题 ---------- */
.qp-sec { margin-top: 56px; }
.qp-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.qp-head-no {
    font-family: Georgia, "STSong", serif;
    font-size: 11.5px; letter-spacing: 2.5px; color: #5E9CD2; opacity: .7;
}
.qp-head-title {
    margin: 0; font-size: 22px; font-weight: 700; letter-spacing: 3px; color: #23282D;
}
.qp-head-desc {
    margin: 0; font-size: 13px; color: #9AA2AA; letter-spacing: .5px;
}
.qp-head-more {
    margin-left: auto; font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px;
    color: #8A929B; display: flex; align-items: center; gap: 4px;
    transition: color .2s ease, gap .2s ease;
}
.qp-head-more:hover { color: #5E9CD2; gap: 8px; }

/* ---------- 4. 全站动态信息流 ---------- */
.qp-feed { border-top: 1px solid #E8ECF0; }
.qp-feed-row {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 16px 8px 16px 4px;
    border-bottom: 1px solid #E8ECF0;
    transition: background-color .2s ease;
}
.qp-feed-row:hover { background: rgba(94, 156, 210, .04); }
.qp-feed-main { min-width: 0; display: flex; align-items: center; gap: 14px; }
.qp-feed-title {
    margin: 0; font-size: 15px; font-weight: 600; color: #2A3036; letter-spacing: .3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .2s ease;
}
.qp-feed-row:hover .qp-feed-title { color: #3E80A8; }
.qp-feed-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.qp-feed-cat {
    font-size: 11px; font-weight: 600; letter-spacing: .5px;
    padding: 2px 10px; border-radius: 999px;
}
.qp-feed-cat--topic { color: #3E80A8; background: #EBF3FA; }
.qp-feed-cat--acupoint { color: #2F5348; background: #E8F3EF; }
.qp-feed-cat--literature { color: #2E5C7E; background: #E8F0F6; }
.qp-feed-cat--doctor { color: #7A5230; background: #F5EEE6; }
.qp-feed-hits { font-size: 12px; color: #9AA2AA; }
.qp-feed-date {
    flex-shrink: 0; font-family: Georgia, serif; font-size: 12.5px; color: #9AA2AA;
}

/* ---------- 5. 双栏布局 ---------- */
.qp-twocol {
    display: grid; grid-template-columns: 1fr 380px; gap: 36px;
}

/* ---------- 6. 中医专题卡片 ---------- */
.qp-tcards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.qp-tcard {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 18px 18px 16px; border-radius: 12px;
    background: #F8FAFC; border: 1px solid #EDF1F5;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qp-tcard:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.06); border-color: #D6E3F0; }
.qp-tcard-seal {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: "STSong", "SimSun", serif; font-size: 20px; color: #3E80A8;
    background: #EBF3FA;
}
.qp-tcard-body { min-width: 0; flex: 1; }
.qp-tcard-name {
    display: block; font-size: 15px; font-weight: 700; color: #23282D; letter-spacing: 1px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qp-tcard-count { font-size: 12px; color: #9AA2AA; margin-top: 4px; display: block; }
.qp-tcard-go { color: #B6BCC3; font-size: 16px; transition: color .2s ease, transform .2s ease; }
.qp-tcard:hover .qp-tcard-go { color: #3E80A8; transform: translateX(3px); }
.qp-tcard.is-soon { opacity: .55; }
.qp-tcard.is-soon .qp-tcard-seal { background: #E8ECF0; color: #9AA2AA; }

/* 小信息流（区块内副列表） */
.qp-sfeed { margin-top: 18px; border-top: 1px solid #E8ECF0; }
.qp-sfeed-row {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 6px 13px 4px;
    border-bottom: 1px solid #E8ECF0;
    transition: background-color .2s ease;
}
.qp-sfeed-row:hover { background: rgba(94, 156, 210, .04); }
.qp-sfeed-datebox {
    flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
    width: 38px;
}
.qp-sfeed-datebox b { font-size: 18px; font-weight: 700; color: #3E80A8; line-height: 1; }
.qp-sfeed-datebox i { font-size: 10px; color: #9AA2AA; margin-top: 2px; }
.qp-sfeed-title {
    flex: 1; min-width: 0;
    font-size: 14px; color: #2A3036; letter-spacing: .3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .2s ease;
}
.qp-sfeed-row:hover .qp-sfeed-title { color: #3E80A8; }
.qp-sfeed-hits { flex-shrink: 0; font-size: 12px; color: #9AA2AA; }

/* ---------- 7. 文献书格 ---------- */
.qp-lshelf {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.qp-lcard {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 14px 14px; border-radius: 10px;
    background: #F8FAFC; border: 1px solid #EDF1F5;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qp-lcard:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.06); border-color: #D6E3F0; }
.qp-lcard-name { font-size: 14px; font-weight: 700; color: #23282D; letter-spacing: .5px; }
.qp-lcard-count { font-size: 12px; color: #9AA2AA; display: flex; align-items: center; justify-content: space-between; }
.qp-lcard-count i { color: #B6BCC3; transition: color .2s ease; }
.qp-lcard:hover .qp-lcard-count i { color: #2E5C7E; }

/* ---------- 8. 腧穴经络快捷入口 ---------- */
.qp-meri {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.qp-meri-item {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: #F0F6F2; border: 1px solid #E2ECE6;
    font-size: 12.5px; color: #2F5348;
    transition: background-color .2s ease, transform .2s ease;
}
.qp-meri-item:hover { background: #DDECE4; transform: translateY(-1px); }
.qp-meri-item.is-empty { opacity: .4; pointer-events: none; }
.qp-meri-n { font-size: 11px; font-weight: 700; color: #4A8A6E; background: rgba(47,83,72,.1); padding: 1px 7px; border-radius: 999px; }

/* 腧穴卡片 */
.qp-acards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.qp-acard {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 12px; border-radius: 10px;
    background: #F8FAFC; border: 1px solid #EDF1F5;
    transition: transform .2s ease, box-shadow .2s ease;
}
.qp-acard:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.qp-acard-seal {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: "STSong", "SimSun", serif; font-size: 16px; color: #2F5348;
    background: #E8F3EF;
}
.qp-acard-body { flex: 1; min-width: 0; }
.qp-acard-name { display: block; font-size: 14px; font-weight: 600; color: #23282D; white-space: nowrap; }
.qp-acard-py { font-size: 11px; color: #9AA2AA; }
.qp-acard-tag { flex-shrink: 1; min-width: 0; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #4A8A6E; background: #E2ECE6; padding: 2px 8px; border-radius: 999px; }

/* ---------- 9. 小助手 ---------- */
.qp-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qp-tool {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    padding: 20px 14px 16px; border-radius: 12px;
    background: #F4F6F3; border: 1px solid #E8EBE6;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qp-tool:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: #D0D8D0; }
.qp-tool i { font-size: 22px; color: #3A5F58; margin-bottom: 4px; }
.qp-tool-name { font-size: 14px; font-weight: 700; color: #23282D; letter-spacing: 1px; }
.qp-tool-desc { font-size: 11px; color: #8A929B; line-height: 1.5; }

/* ---------- 11. 终卷 CTA（藏青金收卷，版面宽度） ---------- */
.qp-final {
    position: relative;
    margin: 70px 0 26px; padding: 68px 24px 56px;
    text-align: center; border-radius: 22px; overflow: hidden;
    background:
        radial-gradient(560px 260px at 16% -80px, rgba(201, 169, 106, .22), transparent 70%),
        radial-gradient(680px 320px at 86% 112%, rgba(94, 156, 210, .16), transparent 70%),
        linear-gradient(155deg, #1B3A5C 0%, #12293F 52%, #0D1F33 100%);
    border: 1px solid rgba(201, 169, 106, .28);
    box-shadow: 0 24px 54px rgba(13, 31, 51, .26), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* 顶部金线 */
.qp-final::before {
    content: ""; position: absolute; z-index: 0;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 197, 140, .8), transparent);
    pointer-events: none;
}
/* 右下「行」字水印 */
.qp-final::after {
    content: "行"; position: absolute; z-index: 0;
    right: 34px; bottom: -62px; line-height: 1;
    font-family: "STSong", "SimSun", serif; font-size: 210px; font-weight: 700;
    color: rgba(224, 197, 140, .06);
    pointer-events: none;
}
.qp-final > * { position: relative; z-index: 1; }
.qp-final-over { margin: 0 0 14px; font-size: 11px; letter-spacing: 5px; color: rgba(224, 197, 140, .78); }
.qp-final-title { margin: 0 0 12px; font-family: "STSong", "SimSun", serif; font-size: 34px; font-weight: 700; letter-spacing: 5px; color: #F3E7CB; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.qp-final-sub { margin: 0 0 28px; font-size: 14px; letter-spacing: 2px; color: rgba(226, 234, 242, .68); }
.qp-final .qp-hbtn { padding: 14px 38px; font-size: 14px; }
.qp-final-note { margin: 26px 0 0; font-size: 12px; letter-spacing: 1px; color: rgba(226, 234, 242, .42); }

/* ---------- 动效 ---------- */
@keyframes qp-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes qp-gold-flow {
    0%, 55%   { background-position: 0% 50%; }
    85%, 100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .qp-hb-title em { animation: none; }
    .qp-hbanner-inner > *, .qp-hpanel > * { animation: none; opacity: 1; transform: none; }
}

/* ==================== 12. 杂志编排（2026-10-29） ==================== */
.qp-head--mag { align-items: flex-end; }
.qp-head-side {
    margin-left: auto; font-size: 12px; color: #98A0A8; letter-spacing: .5px;
}
.qp-head-side b {
    margin: 0 3px; font-family: Georgia, "STSong", serif; font-size: 15px;
    font-weight: 700; color: #3E80A8;
}

/* 12a. 全站动态：大头条 + 侧栏 + 列表 */
.qp-fm { display: grid; grid-template-columns: 1.42fr 1fr; gap: 18px; }
.qp-fm-lead {
    position: relative; display: flex; flex-direction: column;
    min-height: 272px; padding: 26px 30px 22px; border-radius: 16px;
    background: linear-gradient(135deg, #F7FBFE 0%, #ECF5FC 58%, #E7F1FA 100%);
    border: 1px solid #DCEAF6; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.qp-fm-lead::before {
    content: "“"; position: absolute; right: 26px; top: 2px;
    font-family: Georgia, serif; font-size: 100px; line-height: 1;
    color: rgba(94, 156, 210, .11); pointer-events: none;
}
.qp-fm-lead::after {
    content: ""; position: absolute; right: -52px; bottom: -78px;
    width: 230px; height: 230px; border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 156, 210, .15), transparent 66%);
    pointer-events: none;
}
.qp-fm-lead:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(62, 128, 168, .13); }
.qp-fm-lead-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.qp-fm-lead-flag {
    font-size: 10.5px; letter-spacing: 1.5px; color: #8FA6B8;
    padding-left: 10px; border-left: 1px solid #D6E5F1;
}
.qp-fm-lead-title {
    position: relative; z-index: 1;
    margin: 18px 0 0; max-width: 92%;
    font-size: 25px; line-height: 1.45; font-weight: 700; letter-spacing: .8px; color: #1F2D3D;
}
.qp-fm-lead-desc {
    position: relative; z-index: 1;
    margin: 12px 0 0; font-size: 13.5px; line-height: 1.85; color: #5F6B76;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-fm-lead-foot {
    position: relative; z-index: 1; margin-top: auto; padding-top: 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.qp-fm-lead-meta { font-size: 12px; color: #8FA0AE; letter-spacing: .4px; }
.qp-fm-lead-meta i { margin-right: 4px; }
.qp-fm-lead-go {
    font-size: 12.5px; font-weight: 600; color: #3E80A8; letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 5px;
}
.qp-fm-lead:hover .qp-fm-lead-go { gap: 9px; }

.qp-fm-side { display: flex; flex-direction: column; justify-content: space-between; }
.qp-fm-side-row {
    display: flex; align-items: center; gap: 12px;
    flex: 1; min-height: 84px; padding: 12px 4px 12px 2px;
    border-bottom: 1px dashed #E5EBF1;
    transition: padding .2s ease;
}
.qp-fm-side-row:last-child { border-bottom: 0; }
.qp-fm-side-row:hover { padding-left: 8px; }
.qp-fm-side-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.qp-fm-side-body strong {
    font-size: 14px; line-height: 1.5; font-weight: 600; color: #2A333C;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-fm-side-row:hover .qp-fm-side-body strong { color: #3E80A8; }
.qp-fm-side-body em { font-style: normal; font-size: 11.5px; color: #9AA4AE; letter-spacing: .3px; }
.qp-fm-side-go { flex-shrink: 0; font-size: 14px; color: #C2CCD6; transition: color .2s ease, transform .2s ease; }
.qp-fm-side-row:hover .qp-fm-side-go { color: #5E9CD2; transform: translateX(3px); }

.qp-fm-list {
    margin-top: 16px; padding-top: 6px; border-top: 1px solid #E8ECF0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px;
}
.qp-fm-list-row {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 2px; border-bottom: 1px solid #F0F3F6;
    transition: background-color .2s ease;
}
.qp-fm-list-row:hover { background: rgba(94, 156, 210, .04); }
.qp-fm-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: #B9C6D2; }
.qp-fm-dot--topic { background: #3E80A8; }
.qp-fm-dot--acupoint { background: #2F5348; }
.qp-fm-dot--literature { background: #2E5C7E; }
.qp-fm-dot--doctor { background: #A67C52; }
.qp-fm-list-title {
    min-width: 0; flex: 1; font-size: 13px; color: #3A444E; letter-spacing: .2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qp-fm-list-row:hover .qp-fm-list-title { color: #3E80A8; }
.qp-fm-list-date { flex-shrink: 0; font-family: Georgia, serif; font-size: 11.5px; color: #A2ABB4; }

/* 12b. 上排：专题 + 文献 */
.qp-magrow--top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; }

.qp-tm { display: grid; grid-template-columns: 236px 1fr; gap: 16px; }
.qp-tm-dir {
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px 14px 13px; border-radius: 14px;
    background: linear-gradient(180deg, #FBFDFE, #F6FAFC);
    border: 1px solid #EAF0F5;
}
.qp-tm-dir-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.qp-tm-dir-head span { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #2F3A44; }
.qp-tm-dir-head em { font-style: normal; font-family: Georgia, serif; font-size: 9px; letter-spacing: 1px; color: #AEbbc7; }
.qp-tm-lead { margin: 0; font-size: 11.5px; line-height: 1.75; color: #8794A0; }
.qp-tm-rows { display: flex; flex-direction: column; gap: 6px; }
.qp-tm-row {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 8px;
    padding: 9px 11px 8px; border-radius: 9px;
    background: #FFFFFF; border: 1px solid #EDF2F6;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.qp-tm-row:hover { background: #F5FAFD; border-color: #DCEAF4; transform: translateX(2px); }
.qp-tm-name { font-size: 13px; font-weight: 600; color: #2F3A44; letter-spacing: .8px; }
.qp-tm-row:hover .qp-tm-name { color: #3E80A8; }
.qp-tm-n { font-size: 11px; color: #8FA0AE; white-space: nowrap; }
.qp-tm-bar { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: #EDF2F6; overflow: hidden; }
.qp-tm-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #A9CDE8, #5E9CD2); }
.qp-tm-row--soon {
    grid-template-columns: 1fr auto; padding: 7px 11px;
    background: transparent; border-color: transparent;
}
.qp-tm-row--soon:hover { background: #F7FAFD; border-color: transparent; }
.qp-tm-row--soon .qp-tm-name { font-size: 12px; font-weight: 500; color: #A6B2BD; }
.qp-tm-row--soon:hover .qp-tm-name { color: #7E96A8; }
.qp-tm-chip {
    font-size: 9.5px; letter-spacing: .5px; color: #B4C0CA;
    padding: 2px 7px; border-radius: 999px;
    background: #F5F8FB; border: 1px dashed #E2EAF1;
}
.qp-tm-tip {
    display: flex; gap: 8px; padding: 11px 12px; border-radius: 10px;
    background: #F2F8FC; border: 1px dashed #D8E7F2;
}
.qp-tm-tip i { flex-shrink: 0; margin-top: 2px; font-size: 11px; color: #7FAAC8; }
.qp-tm-tip p { margin: 0; font-size: 11px; line-height: 1.7; color: #7D8E9C; }
.qp-tm-foot {
    margin-top: auto;
    display: flex; gap: 14px; padding-top: 11px; border-top: 1px dashed #E4EBF1;
    font-size: 10.5px; color: #9AA4AE; letter-spacing: .5px;
}
.qp-tm-foot b { font-family: Georgia, serif; font-size: 14px; color: #3E80A8; margin-right: 3px; }

.qp-tm-latest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qp-tm-card {
    display: flex; flex-direction: column; gap: 7px;
    min-height: 132px; padding: 14px 15px; border-radius: 11px;
    background: #FFFFFF; border: 1px solid #E9EEF3;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qp-tm-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(62, 128, 168, .1); border-color: #D9E7F3; }
.qp-tm-date { font-family: Georgia, serif; font-size: 11.5px; letter-spacing: 1px; color: #8CB3D2; }
.qp-tm-card strong {
    font-size: 13.5px; line-height: 1.55; font-weight: 600; color: #2A333C;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-tm-card:hover strong { color: #3E80A8; }
.qp-tm-ex {
    font-size: 11px; line-height: 1.65; color: #8B97A2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-tm-meta { margin-top: auto; font-size: 11px; color: #9AA4AE; letter-spacing: .3px; }

.qp-lm { display: flex; flex-direction: column; gap: 10px; }
#qp-lit { display: flex; flex-direction: column; }
#qp-lit .qp-lm { flex: 1; }
.qp-lm-book {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 15px; border-radius: 12px;
    background: #F8FAFC; border: 1px solid #EDF1F5;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qp-lm-book:hover { transform: translateX(3px); box-shadow: 0 8px 20px rgba(46, 92, 126, .09); border-color: #DCE8F1; background: #FBFDFE; }
.qp-lm-cover {
    width: 46px; height: 58px; flex-shrink: 0; border-radius: 4px 8px 8px 4px;
    display: flex; align-items: center; justify-content: center;
    font-family: "STSong", "SimSun", serif; font-size: 20px; color: #7A5230;
    background: linear-gradient(135deg, #FBF3E6, #F1E1CA);
    border-left: 3px solid #C9A96A; box-shadow: inset 0 0 0 1px rgba(201, 169, 106, .22);
}
.qp-lm-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.qp-lm-cat {
    align-self: flex-start; font-style: normal; font-size: 10px; letter-spacing: .5px;
    color: #A67C52; background: #F6EEDD; padding: 2px 8px; border-radius: 999px;
}
.qp-lm-body strong {
    font-size: 14px; line-height: 1.45; font-weight: 600; color: #2A333C;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-lm-book:hover .qp-lm-body strong { color: #2E5C7E; }
.qp-lm-meta { font-size: 11px; color: #9AA4AE; }
.qp-lm-go { flex-shrink: 0; font-size: 13px; color: #C2CCD6; transition: color .2s ease, transform .2s ease; }
.qp-lm-book:hover .qp-lm-go { color: #5E9CD2; transform: translateX(3px); }
.qp-lm-foot { margin-top: auto; }
.qp-lm-cats {
    display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
    padding: 11px 0 0; border-top: 1px dashed #E6EBF0;
}
.qp-lm-cats-t { font-size: 10px; letter-spacing: 1.5px; color: #A9B5C0; margin-right: 2px; }
.qp-lm-tag {
    padding: 2px 7px; border-radius: 999px; font-size: 10px; letter-spacing: .2px;
    color: #8A7A64; background: #FAF6EF; border: 1px solid #EFE5D6;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.qp-lm-tag:hover { color: #7A5230; border-color: #E0CDAF; background: #FFFBF4; }
.qp-lm-tag--empty { opacity: .62; }
.qp-lm-note {
    margin: 10px 0 0; padding-top: 0;
    font-size: 11.5px; line-height: 1.7; color: #9AA4AE;
}
.qp-lm-note i { margin-right: 5px; color: #C9A96A; }

/* 12c. 腧穴：循经条 */
.qp-am-meri {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px; border-radius: 14px;
    background: #F7FAF8; border: 1px solid #E8EFEB;
}
.qp-am-cap {
    flex-shrink: 0; padding-right: 16px; border-right: 1px solid #DFE9E3;
    font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #2F5348;
}
.qp-am-cap span {
    display: block; margin-top: 2px; font-family: Georgia, serif;
    font-size: 9px; letter-spacing: 1px; color: #9FBCAE; font-weight: 400;
}
.qp-am-meri .qp-meri { flex: 1; gap: 7px; }
.qp-am-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.qp-am-card {
    display: flex; align-items: center; gap: 11px;
    padding: 15px 15px 14px; border-radius: 12px;
    background: #FFFFFF; border: 1px solid #E9EEF3;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qp-am-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(47, 83, 72, .1); border-color: #D8E5DE; }
.qp-am-seal {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: "STSong", "SimSun", serif; font-size: 19px; color: #2F5348;
    background: linear-gradient(135deg, #EFF7F2, #DDEBE2);
}
.qp-am-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.qp-am-top { display: flex; align-items: center; gap: 8px; }
.qp-am-name { min-width: 0; flex: 1; font-size: 15px; font-weight: 700; color: #25322D; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-am-card:hover .qp-am-name { color: #2F5348; }
.qp-am-py { font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .5px; color: #98A6A1; text-transform: uppercase; }
.qp-am-loc {
    margin-top: 2px; font-size: 11px; line-height: 1.6; color: #7E8F89;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-am-tag {
    flex-shrink: 0; font-size: 10px; color: #4A8A6E; background: #EEF7F1;
    padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.qp-am-go { flex-shrink: 0; font-size: 12px; color: #C8D3CE; transition: color .2s ease, transform .2s ease; }
.qp-am-card:hover .qp-am-go { color: #4A8A6E; transform: translateX(3px); }

/* 12c-2. 随机医者 spotlight 三卡 */
.qp-dspot {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin-bottom: 18px;
}
.qp-dspot-card {
    position: relative;
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 38px 15px 16px; border-radius: 14px;
    background: linear-gradient(135deg, #FDFAF3 0%, #FFFFFF 78%);
    border: 1px solid #F0E6D6;
    box-shadow: 0 2px 8px rgba(150, 115, 70, .05);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.qp-dspot-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
    background: linear-gradient(90deg, var(--qpa, #8A5A34), var(--qpb, #D3A97B));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.qp-dspot-card:hover {
    transform: translateY(-3px); border-color: #E4D2B4;
    box-shadow: 0 10px 24px rgba(150, 115, 70, .14);
}
.qp-dspot-card:hover::before { transform: scaleX(1); }
.qp-dspot-seal {
    flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: "STSong", "SimSun", serif; font-size: 20px; font-weight: 700; color: #FFFDF7;
    background: linear-gradient(150deg, #A5683A 0%, #8A5A34 60%, #7A4C2A 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 244, 224, .35), 0 3px 7px rgba(138, 90, 52, .3);
    transition: transform .3s ease;
}
.qp-dspot-card:hover .qp-dspot-seal { transform: rotate(-5deg) scale(1.06); }
.qp-dspot-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.qp-dspot-name {
    font-family: "STSong", "SimSun", serif;
    font-size: 16.5px; font-weight: 700; letter-spacing: 1px; color: #3D2C1B;
    display: flex; align-items: center; gap: 7px;
}
.qp-dspot-name em {
    font-style: normal;
    font-size: 10px; letter-spacing: 1px; color: #A5855C;
    padding: 2px 7px 1px; border-radius: 999px;
    background: #F7EEDF; border: 1px solid #EBDCC2;
}
.qp-dspot-years {
    font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .6px; color: #B79B7E;
}
.qp-dspot-quote {
    font-size: 12px; line-height: 1.75; color: #7A6A56;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.qp-dspot-go {
    position: absolute; right: 12px; top: 14px;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #C4A26F; border: 1px solid #EBDCC2; background: #FCF7EE;
    transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.qp-dspot-card:hover .qp-dspot-go { background: #8A5A34; border-color: #8A5A34; color: #FFF6E6; transform: translateX(2px); }
/* 候选池 9 张，默认只显示前 3 张；JS 每次加载洗牌后仍取前 3 */
.qp-dspot .qp-dspot-card:nth-child(n+4) { display: none; }
/* 三张可见卡按位置区分配色：1 赭金（默认）/ 2 黛蓝 / 3 青绿 */
.qp-dspot-card:nth-child(2) { background: linear-gradient(135deg, #F6FAFD 0%, #FFFFFF 78%); border-color: #DEE9F1; }
.qp-dspot-card:nth-child(2)::before { background: linear-gradient(90deg, #3E6B8A, #7FA8C4); }
.qp-dspot-card:nth-child(2):hover { border-color: #C4D8E4; box-shadow: 0 10px 24px rgba(62, 107, 138, .14); }
.qp-dspot-card:nth-child(2) .qp-dspot-seal {
    background: linear-gradient(150deg, #4E7D9E 0%, #3E6B8A 60%, #2F5A76 100%);
    box-shadow: inset 0 0 0 2px rgba(232, 243, 250, .35), 0 3px 7px rgba(62, 107, 138, .3);
}
.qp-dspot-card:nth-child(2) .qp-dspot-name { color: #24435C; }
.qp-dspot-card:nth-child(2) .qp-dspot-name em { color: #5B87A6; background: #EDF4F9; border-color: #D4E3ED; }
.qp-dspot-card:nth-child(2) .qp-dspot-years { color: #8FA9BC; }
.qp-dspot-card:nth-child(2) .qp-dspot-quote { color: #5E7181; }
.qp-dspot-card:nth-child(2) .qp-dspot-go { color: #7FA0B8; border-color: #D4E3ED; background: #F4F9FC; }
.qp-dspot-card:nth-child(2):hover .qp-dspot-go { background: #3E6B8A; border-color: #3E6B8A; color: #EDF5FA; }
.qp-dspot-card:nth-child(3) { background: linear-gradient(135deg, #F5FAF7 0%, #FFFFFF 78%); border-color: #DCEAE2; }
.qp-dspot-card:nth-child(3)::before { background: linear-gradient(90deg, #2F6B54, #7FB49B); }
.qp-dspot-card:nth-child(3):hover { border-color: #C2DCCB; box-shadow: 0 10px 24px rgba(47, 107, 84, .14); }
.qp-dspot-card:nth-child(3) .qp-dspot-seal {
    background: linear-gradient(150deg, #3E7F64 0%, #2F6B54 60%, #265A45 100%);
    box-shadow: inset 0 0 0 2px rgba(232, 246, 238, .35), 0 3px 7px rgba(47, 107, 84, .3);
}
.qp-dspot-card:nth-child(3) .qp-dspot-name { color: #1F4636; }
.qp-dspot-card:nth-child(3) .qp-dspot-name em { color: #558A6E; background: #EBF4EE; border-color: #CFE3D6; }
.qp-dspot-card:nth-child(3) .qp-dspot-years { color: #8CA99A; }
.qp-dspot-card:nth-child(3) .qp-dspot-quote { color: #5C7167; }
.qp-dspot-card:nth-child(3) .qp-dspot-go { color: #7FA793; border-color: #CFE3D6; background: #F2F9F5; }
.qp-dspot-card:nth-child(3):hover .qp-dspot-go { background: #2F6B54; border-color: #2F6B54; color: #EBF6F0; }

/* 12d. 医家：朝代谱系竖版时间轴 + 今日有缘 + 双榜 */
/* 时间轴主体 */
.qp-dyn-vline {
    position: relative;
    padding: 6px 18px 6px 0; border-radius: 16px;
    background: linear-gradient(180deg, #FDFAF5 0%, #FFFFFF 85%);
    border: 1px solid #F1E9DD;
}
/* 贯穿竖轴：两端渐隐 */
.qp-dyn-vline::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 127px; width: 2px;
    background: linear-gradient(180deg, rgba(211, 169, 123, 0) 0%, #D3A97B 4%, #C89A69 50%, #D3A97B 96%, rgba(211, 169, 123, 0) 100%);
    pointer-events: none;
}
.qp-dyn-vrow {
    position: relative;
    display: flex; align-items: center;
    min-height: 66px; padding: 10px 0;
    border-bottom: 1px dashed #F3EADC;
    transition: background-color .22s ease;
}
.qp-dyn-vrow:last-child { border-bottom: 0; }
.qp-dyn-vrow:hover { background: rgba(250, 245, 237, .55); }
/* 左侧：朝代名 + 人数徽标 */
.qp-dyn-vside {
    width: 118px; flex-shrink: 0; align-self: stretch;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.qp-dyn-vname {
    font-family: "STSong", "SimSun", serif;
    font-size: 16px; font-weight: 700; letter-spacing: 2px; color: #4A3826;
    white-space: nowrap;
}
/* 人数：描金小徽标 */
.qp-dyn-vn {
    display: inline-flex; align-items: baseline; gap: 2px;
    padding: 3px 10px 2px; border-radius: 999px;
    font-size: 9.5px; letter-spacing: 1px; color: #A5855C;
    background: linear-gradient(180deg, #FBF5EA 0%, #F6ECDC 100%);
    border: 1px solid #E9D9BF;
    box-shadow: 0 1px 2px rgba(160, 125, 80, .10), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.qp-dyn-vn b {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px; font-weight: 700; color: #8A5A34; letter-spacing: 0;
}
/* 节点：空心金环，人数越多越大；清代呼吸光晕 */
.qp-dyn-vnode {
    position: relative; z-index: 1; flex-shrink: 0;
    width: 12px; height: 12px; border-radius: 50%; margin: 0 6px 0 3px;
    background: #FFFDF8;
    border: 2px solid #C89A69;
    box-shadow: 0 0 0 2px rgba(200, 154, 105, .22);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.qp-dyn-vnode::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%;
    background: #8A5A34;
}
.qp-dyn-vrow.is-md .qp-dyn-vnode { width: 15px; height: 15px; }
.qp-dyn-vrow.is-md .qp-dyn-vnode::after { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
.qp-dyn-vrow.is-lg .qp-dyn-vnode {
    width: 20px; height: 20px; border-color: #B07B44;
    background: radial-gradient(circle, #FFFDF8 30%, #F3E3CC 100%);
    animation: qpNodePulse 3.2s ease-in-out infinite;
}
.qp-dyn-vrow.is-lg .qp-dyn-vnode::after { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.qp-dyn-vrow:hover .qp-dyn-vnode { transform: scale(1.3); box-shadow: 0 0 0 3px rgba(200, 154, 105, .4), 0 0 14px rgba(138, 90, 52, .3); }
@keyframes qpNodePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200, 154, 105, .28), 0 0 10px rgba(138, 90, 52, .25); }
    50%      { box-shadow: 0 0 0 6px rgba(200, 154, 105, .1), 0 0 18px rgba(138, 90, 52, .4); }
}
/* 右侧：人物 chips */
.qp-dyn-vmain {
    flex: 1; min-width: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    padding-left: 10px;
}
.qp-dyn-person {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 10px 5px 6px; border-radius: 8px;
    background: #FFFFFF; border: 1px solid #F0E7DA;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}
.qp-dyn-person i {
    flex-shrink: 0; width: 21px; height: 21px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-style: normal; font-family: "STSong", "SimSun", serif; font-size: 12.5px; color: #8A5A34;
    background: linear-gradient(135deg, #F7EDDD, #EBDAC3);
    transition: color .22s ease, background-color .22s ease;
}
.qp-dyn-person span {
    min-width: 0; font-size: 12px; color: #5B4A3A; letter-spacing: .3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qp-dyn-person:hover {
    transform: translateY(-2px); border-color: #E4CFAF; background: #FFFDF8;
    box-shadow: 0 6px 14px rgba(138, 90, 52, .12);
}
.qp-dyn-person:hover i { color: #FFFDF8; background: linear-gradient(135deg, #C89A69, #8A5A34); }
.qp-dyn-empty {
    font-size: 10.5px; color: #C4B39E; letter-spacing: 1px;
    padding: 6px 12px; border: 1px dashed #EBDFCE; border-radius: 8px;
}
.qp-dyn-more {
    font-size: 10.5px; letter-spacing: .5px; color: #A67C52;
    padding: 5px 10px; border-radius: 999px; border: 1px dashed #E4CFAF;
    transition: color .22s ease, border-color .22s ease, background-color .22s ease;
}
.qp-dyn-more em { font-style: normal; margin-left: 2px; }
.qp-dyn-more:hover { color: #8A5A34; border-color: #C89A69; background: #FFFDF8; }
.qp-dm-note {
    margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed #F0E8DC;
    font-size: 11.5px; color: #A2968A;
}
.qp-dm-note i { margin-right: 5px; color: #C9A96A; }

/* 12e. 终卷快捷入口 */
.qp-final-links {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
    margin: -14px 0 26px;
}
.qp-final-links a {
    padding: 7px 16px; border-radius: 999px;
    font-size: 12.5px; letter-spacing: .8px; color: rgba(240, 230, 208, .85);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(224, 197, 140, .32);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.qp-final-links a:hover { background: rgba(224, 197, 140, .16); border-color: rgba(224, 197, 140, .65); transform: translateY(-2px); }

@media (max-width: 1180px) {
    .qp-fm { grid-template-columns: 1fr; }
    .qp-magrow--top { grid-template-columns: 1fr; gap: 0; }
    .qp-dspot { grid-template-columns: 1fr; }
    /* 竖版时间轴窄屏适配：侧栏收窄，轴心同步左移 */
    .qp-dyn-vline::before { left: 109px; }
    .qp-dyn-vside { width: 100px; }
    .qp-dyn-vname { font-size: 14px; letter-spacing: 2px; }
    .qp-am-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   13. 视觉强化：章节色 / 标题条 / 卡片动效（2026-10-29）
   ============================================================ */

/* 13a. 每馆一个强调色，供标题条与卡片强调线复用 */
#qp-feed  { --qpa: #3E80A8; --qpb: #8CC0E3; --qps: #EFF7FD; }
#qp-topic { --qpa: #3E80A8; --qpb: #8CC0E3; --qps: #EFF7FD; }
#qp-lit   { --qpa: #A67C52; --qpb: #DBBB86; --qps: #FBF4E9; }
#qp-acu   { --qpa: #2F5348; --qpb: #86B49D; --qps: #EFF7F2; }
#qp-doc   { --qpa: #8A5A34; --qpb: #D3A97B; --qps: #FBF3E9; }

/* 13b. 章节标题：彩色胶囊编号 + 左色条 + 渐变底条 */
.qp-head, .qp-head--mag {
    align-items: center; flex-wrap: nowrap;
    padding: 13px 18px 13px 16px;
    margin-bottom: 20px;
    border-radius: 13px;
    border: 1px solid #EDF1F5;
    border-left: 3px solid var(--qpa, #3E80A8);
    background: linear-gradient(100deg, var(--qps, #EFF7FD) 0%, rgba(255, 255, 255, .92) 58%, #FFFFFF 100%);
}
.qp-head-desc { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-head-more { flex-shrink: 0; white-space: nowrap; }
/* 窄栏（专题/文献并列）内的标题条做紧凑处理 */
#qp-topic .qp-head-no, #qp-lit .qp-head-no {
    padding: 4px 9px 3px; font-size: 9.5px; letter-spacing: 1.4px;
}
#qp-topic .qp-head-title, #qp-lit .qp-head-title { font-size: 18px; letter-spacing: 2px; }
#qp-topic .qp-head-desc, #qp-lit .qp-head-desc { font-size: 11.5px; }
#qp-topic .qp-head-more, #qp-lit .qp-head-more { padding: 6px 11px; font-size: 11.5px; letter-spacing: .5px; }
#qp-topic .qp-head, #qp-lit .qp-head { gap: 10px; padding: 11px 13px 11px 12px; }
.qp-head-no {
    padding: 5px 12px 4px; border-radius: 999px;
    font-size: 10.5px; letter-spacing: 2px; color: #FFFFFF; opacity: 1;
    background: linear-gradient(135deg, var(--qpb, #8CC0E3), var(--qpa, #3E80A8));
    box-shadow: 0 5px 14px rgba(62, 128, 168, .24);
}
.qp-head-title { position: relative; padding-left: 12px; }
.qp-head-title::before {
    content: ""; position: absolute; left: 0; top: 50%; margin-top: -10px;
    width: 4px; height: 20px; border-radius: 3px;
    background: linear-gradient(180deg, var(--qpb, #8CC0E3), var(--qpa, #3E80A8));
}
.qp-head-more {
    padding: 7px 15px; border-radius: 999px;
    font-size: 12px; letter-spacing: 1px; color: var(--qpa, #3E80A8);
    background: #FFFFFF; border: 1px solid #E2ECF4;
}
.qp-head-more:hover {
    color: #FFFFFF; border-color: transparent;
    background: linear-gradient(135deg, var(--qpb, #8CC0E3), var(--qpa, #3E80A8));
    box-shadow: 0 7px 18px rgba(62, 128, 168, .26);
    gap: 8px;
}

/* 13c. 卡片顶部强调线（hover 扫入） */
.qp-tm-card, .qp-am-card, .qp-lm-book { position: relative; }
.qp-tm-card::before, .qp-am-card::before, .qp-lm-book::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    border-radius: 11px 11px 0 0; pointer-events: none;
    background: linear-gradient(90deg, var(--qpb, #8CC0E3), var(--qpa, #3E80A8));
    transform: scaleX(0); transform-origin: left center;
    transition: transform .42s cubic-bezier(.22, .61, .36, 1);
}
.qp-tm-card:hover::before, .qp-am-card:hover::before, .qp-lm-book:hover::before { transform: scaleX(1); }

/* 13d. 印章 / 书册 / 双榜的微动效 */
.qp-am-seal { transition: transform .38s cubic-bezier(.34, 1.56, .64, 1), box-shadow .38s ease; }
.qp-am-card:hover .qp-am-seal { transform: scale(1.08) rotate(-4deg); box-shadow: 0 9px 18px rgba(47, 83, 72, .18); }
.qp-lm-cover { transition: transform .38s cubic-bezier(.34, 1.56, .64, 1), box-shadow .38s ease; }
.qp-lm-book:hover .qp-lm-cover { transform: translateY(-2px) rotate(-3deg); box-shadow: 3px 8px 16px rgba(122, 82, 48, .22); }
.qp-dblock-ico i { transition: transform .32s ease; }
.qp-dblock:hover .qp-dblock-ico i { transform: rotate(-8deg) scale(1.12); }
.qp-dblock-num { transition: color .25s ease, transform .25s ease; }
.qp-dblock:hover .qp-dblock-num { transform: translateY(-2px); }

/* 13e. 循经胶囊：hover 实心填充 */
.qp-meri-item { transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease; }
.qp-meri-item:hover {
    color: #FFFFFF; border-color: transparent; transform: translateY(-2px);
    background: linear-gradient(135deg, #5C9A7E, #2F5348);
    box-shadow: 0 6px 14px rgba(47, 83, 72, .22);
}
.qp-meri-item:hover .qp-meri-name, .qp-meri-item:hover .qp-meri-n { color: #FFFFFF; }
.qp-meri-item:hover .qp-meri-n { background: rgba(255, 255, 255, .22); }

/* 13f. 头条卡：光斑缓慢漂移 + 卡片浮起 */
.qp-fm-lead::after { animation: qpOrb 9s ease-in-out infinite; will-change: transform; }
@keyframes qpOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-16px, -12px) scale(1.12); }
}

/* 13g. Hero 金印轻浮 */
.qp-hb-seal { animation: qpSeal 6.5s ease-in-out infinite; }
@keyframes qpSeal {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-7px) rotate(2deg); }
}

/* 13h. 终卷：标题金线下划线与按钮呼吸圈 */
.qp-final-title { position: relative; display: inline-block; }
.qp-final-title::after {
    content: ""; position: absolute; left: 50%; bottom: -10px;
    width: 54px; height: 3px; margin-left: -27px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(224, 197, 140, 0), #E0C58C, rgba(224, 197, 140, 0));
}
.qp-final .qp-hbtn { position: relative; }
.qp-final .qp-hbtn::after {
    content: ""; position: absolute; inset: -6px; border-radius: 999px;
    border: 1px solid rgba(224, 197, 140, .5);
    animation: qpRipple 2.8s ease-out infinite;
    pointer-events: none;
}
@keyframes qpRipple {
    0%   { transform: scale(.94); opacity: .7; }
    70%  { transform: scale(1.12); opacity: 0; }
    100% { transform: scale(1.12); opacity: 0; }
}

/* 13i. 滚动入场（需 html.qp-anim，避免无 JS 时内容不可见） */
html.qp-anim .qp-sec > * {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}
html.qp-anim .qp-sec.is-in > * { opacity: 1; transform: none; }
html.qp-anim .qp-sec.is-in > *:nth-child(1) { transition-delay: .04s; }
html.qp-anim .qp-sec.is-in > *:nth-child(2) { transition-delay: .14s; }
html.qp-anim .qp-sec.is-in > *:nth-child(3) { transition-delay: .24s; }
html.qp-anim .qp-sec.is-in > *:nth-child(4) { transition-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
    html.qp-anim .qp-sec > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .qp-fm-lead::after, .qp-hb-seal, .qp-final .qp-hbtn::after { animation: none !important; }
}

/* ============================================================
   14. 全站动态 V2：头条 + 术语卡墙 + 速递带（2026-11-19）
   ============================================================ */
.qp-fm--v2 {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.qp-fm-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.qp-fm-main .qp-fm-lead { min-height: 216px; padding: 22px 26px 18px; }
.qp-fm-main .qp-fm-lead-title { margin-top: 14px; font-size: 23px; }
.qp-fm-main .qp-fm-side { flex: 1; }
.qp-fm-main .qp-fm-side-row { min-height: 58px; padding: 9px 4px 9px 2px; }

/* ---------- 中医术语卡 ---------- */
.qp-termbox {
    position: relative;
    display: flex; flex-direction: column;
    padding: 16px 16px 14px;
    border-radius: 16px;
    border: 1px solid #E6EAF1;
    background:
        radial-gradient(420px 180px at 88% -8%, rgba(194, 154, 84, .10), transparent 62%),
        linear-gradient(165deg, #FCFBF7 0%, #F7FAFC 72%, #F5F8FB 100%);
    box-shadow: 0 10px 26px rgba(31, 45, 61, .05);
    overflow: hidden;
}
.qp-termbox::after {
    content: "術";
    position: absolute; right: 10px; bottom: -14px;
    font-family: "STSong", Georgia, serif;
    font-size: 96px; line-height: 1;
    color: rgba(122, 106, 52, .06);
    pointer-events: none;
}
.qp-termbox-head {
    position: relative; z-index: 1;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    padding: 0 2px 11px; margin-bottom: 12px;
    border-bottom: 1px solid #E9EDF3;
}
.qp-termbox-txt { display: flex; flex-direction: column; gap: 3px; }
.qp-termbox-title {
    position: relative; padding-left: 11px;
    font-size: 16px; font-weight: 700; letter-spacing: 2px; color: #1F2D3D;
}
.qp-termbox-title::before {
    content: ""; position: absolute; left: 0; top: 50%; margin-top: -8px;
    width: 3px; height: 16px; border-radius: 2px;
    background: linear-gradient(180deg, #D9C089, #A67C52);
}
.qp-termbox-en { font-style: normal; font-size: 10px; letter-spacing: 1.6px; color: #A6ADB6; padding-left: 11px; }
.qp-termbox-more {
    flex-shrink: 0; font-size: 11.5px; letter-spacing: 1px; color: #A67C52;
    display: inline-flex; align-items: center; gap: 4px;
    padding-bottom: 2px; transition: gap .2s ease, color .2s ease;
}
.qp-termbox-more:hover { gap: 8px; color: #8A5A2B; }

.qp-terms {
    position: relative; z-index: 1;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}
.qp-term-card {
    --tc: #2E5C7E; --tb: #E9F1F8; --tl: #D3E3F0;
    position: relative;
    display: flex; flex-direction: column; gap: 5px;
    padding: 11px 12px 10px;
    border-radius: 10px;
    background: var(--tb);
    border: 1px solid var(--tl);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.qp-term-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--tc); opacity: .55;
    transition: opacity .22s ease, width .22s ease;
}
.qp-term-card:hover {
    transform: translateY(-3px);
    border-color: var(--tc);
    box-shadow: 0 10px 20px rgba(31, 45, 61, .10);
}
.qp-term-card:hover::before { opacity: 1; width: 4px; }
.qp-term-tag {
    align-self: flex-start;
    font-size: 10px; letter-spacing: 1px; color: var(--tc);
    padding: 1px 7px; border-radius: 3px;
    background: rgba(255, 255, 255, .66);
}
.qp-term-name {
    font-size: 14.5px; font-weight: 700; line-height: 1.42; color: #25313C;
    letter-spacing: .5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .22s ease;
}
.qp-term-card:hover .qp-term-name { color: var(--tc); }
.qp-term-meta { margin-top: auto; font-size: 10.5px; color: #929BA4; letter-spacing: .3px; }

/* ---------- 速递带 ---------- */
.qp-fm-ribbon {
    margin-top: 16px; padding-top: 4px;
    border-top: 1px solid #E8ECF0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    gap: 0 28px;
}
.qp-fm-ribbon-row {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 2px;
    border-bottom: 1px solid #F0F3F6;
    transition: background-color .2s ease, padding-left .2s ease;
}
.qp-fm-ribbon-row:hover { background: rgba(94, 156, 210, .04); padding-left: 6px; }
.qp-fm-ribbon-title {
    min-width: 0; flex: 1;
    font-size: 12.5px; color: #3A444E; letter-spacing: .2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qp-fm-ribbon-row:hover .qp-fm-ribbon-title { color: #3E80A8; }
.qp-fm-ribbon-date { flex-shrink: 0; font-family: Georgia, serif; font-size: 11px; color: #A2ABB4; }

@media (max-width: 1180px) {
    .qp-fm--v2 { grid-template-columns: 1fr; }
    .qp-fm-ribbon { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .qp-fm-main .qp-fm-lead { min-height: 0; padding: 20px 18px 16px; }
    .qp-fm-main .qp-fm-lead-title { font-size: 20px; }
    .qp-terms { grid-template-columns: 1fr 1fr; gap: 8px; }
    .qp-term-name { font-size: 13.5px; }
    .qp-fm-ribbon { grid-template-columns: 1fr; }
}