@charset "UTF-8";
/* ==========================================================================
   维普论文检测 · 前台主题
   建在 layui 2.x 之上：栅格、按钮、导航、卡片、表格、折叠面板都用 layui 原生类，
   这里只改皮肤和版式。放在 layui.css、style.css 之后加载。
   统一白底、稳重蓝色与中文排版；复用 layui 组件，仅维护主题与业务布局。
   ========================================================================== */

:root {
    --wp-blue: #1D4ED8;
    --wp-blue-d: #1E40AF;
    --wp-blue-l: #EFF6FF;
    --wp-navy: #0A1A33;
    --wp-ink: #0F172A;
    --wp-sub: #475569;
    --wp-mute: #64748B;
    --wp-line: #E2E8F0;
    --wp-paper: #F8FAFC;
    --wp-radius: 10px;
    --wp-shadow: 0 8px 24px -12px rgba(15, 23, 42, .14);
    --lay-color-primary: var(--wp-blue);
    --lay-color-accent: var(--wp-blue-d);
    --wp-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
    --wp-serif: var(--wp-sans);
    --wp-mono: var(--wp-sans);
}

/* ---------- 基础 ---------- */
/* style.css 把 html、body 设成 height:100%，body 只有一屏高，吸顶头部滚过一屏就跟着走了；
   这里改成至少一屏、随内容撑高（页脚贴底仍由 body 的 flex 列布局保证） */
body.wp, body.wp-member { height: auto; min-height: 100vh; }
body.wp {
    padding-top: 0;
    background: #fff;
    color: var(--wp-ink);
    font-family: var(--wp-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.wp a { color: inherit; }
.wp a:hover { color: var(--wp-blue); }
.wp-main { flex: 1 0 auto; }
/* 普通内页的内容容器。别叫 wp-page：卡密页的分页器用了 .wp-page a{border…}，同名会把整页链接都套上边框 */
.wp-shell { padding-top: 24px; padding-bottom: 40px; }
.wp .layui-container { max-width: 1200px; }

.wp-sec { padding: 56px 0; }
.wp-sec-alt { background: var(--wp-paper); }
.wp-sec-head { max-width: 760px; margin-bottom: 28px; }
.wp-sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.wp-h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--wp-ink);
}
.wp-lead {
    margin-top: 14px;
    font-size: 16px;
    color: var(--wp-sub);
}
/* 价格与步骤数字保持等高，便于扫描和比较。 */
.wp-est-price, .wp-pcard-price, .wp-pd-price, .wp-step-no { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- 按钮：layui-btn 换皮 ---------- */
.wp .layui-btn { border-radius: 6px; font-weight: 500; }
.wp .wp-btn { color: #fff; background: var(--wp-blue); border-color: var(--wp-blue); }
.wp .wp-btn:hover { background: var(--wp-blue-d); color: #fff; opacity: 1; }
.wp .wp-btn-ghost {
    background: transparent;
    border: 1px solid var(--wp-line);
    color: var(--wp-ink);
}
.wp .wp-btn-ghost:hover { border-color: var(--wp-blue); color: var(--wp-blue); }
.wp .wp-btn-light { background: #fff; color: var(--wp-navy); }
.wp .wp-btn-light:hover { color: var(--wp-blue); }
.wp .layui-btn-lg { height: 48px; line-height: 48px; padding: 0 28px; font-size: 16px; }

/* ---------- 顶栏 ---------- */
.wp-topbar {
    background: var(--wp-paper);
    color: var(--wp-sub);
    font-size: 12px;
    line-height: 34px;
}
.wp-topbar .layui-container { display: flex; justify-content: space-between; gap: 16px; }
.wp-topbar a { color: var(--wp-sub); margin-left: 18px; }
.wp-topbar a:hover { color: var(--wp-blue); }

/* ---------- 头部：layui-nav 去掉深色底 ---------- */
.wp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--wp-line);
}
.wp-header-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.wp-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wp-logo-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--wp-blue);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.wp-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.wp-logo-text b { font-size: 18px; color: var(--wp-ink); letter-spacing: .02em; }
.wp-logo-text small {
    font-family: var(--wp-serif);
    font-size: 10px;
    font-style: normal;
    letter-spacing: .16em;
    color: var(--wp-mute);
}
.wp-nav { flex: 1; min-width: 0; }
.wp-header .layui-nav { background: transparent; padding: 0; color: var(--wp-ink); }
.wp-header .layui-nav .layui-nav-item { line-height: 68px; }
.wp-header .layui-nav .layui-nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 68px;
    padding: 0 10px;
    line-height: 24px;
    color: var(--wp-ink);
    font-size: 15px;
}
.wp-header .layui-nav .layui-nav-item > a:hover,
.wp-header .layui-nav .layui-this > a { color: var(--wp-blue); }
.wp-header .layui-nav .layui-this:after,
.wp-header .layui-nav .layui-nav-bar { background-color: var(--wp-blue); height: 2px; }
/* 保留 layui 注入的箭头与展开行为；图标进入链接布局，不绝对定位挤到文字边缘。 */
.wp-header .layui-nav-item > a > .layui-nav-more { position: static; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 12px; width: 12px; height: 12px; margin: 0; line-height: 12px; color: var(--wp-mute); }
.wp-header .layui-nav-child { top: 62px; border-radius: 8px; box-shadow: var(--wp-shadow); }
.wp-header-act { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.wp-search {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--wp-sub);
}
.wp-search:hover { background: var(--wp-blue-l); }
/* 登录态由 userstate.js 填充，这里只管排版 */
.wp-header .wp-nav-user .layui-nav-item { display: flex; align-items: center; gap: 4px; height: 68px; line-height: 68px; }
.wp-header .wp-nav-user .layui-nav-item > a.layui-btn { display: inline-block; height: 32px; line-height: 32px; padding: 0 12px; margin: 0; }
.wp-header .wp-nav-user em { display: none; }
/* userstate.js 给注册按钮加了 layui-bg-red，那个类的文字色带 !important */
.wp-header .wp-nav-user .layui-btn-register { background: transparent !important; color: var(--wp-sub) !important; }
.wp-header .wp-nav-user .layui-btn-register:hover { color: var(--wp-blue) !important; }
.wp-header .wp-nav-user .layui-btn-login { background: transparent; border: 1px solid var(--wp-line); }
/* 用户名、头像与框架箭头同排居中，与搜索和主按钮共享垂直中心。 */
.wp-header .wp-nav-user .layui-nav-item > a.fly-nav-avatar { position: relative; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px; line-height: 24px; }
.wp-header .fly-nav-avatar cite { display: inline-block; max-width: 5em; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-header .fly-nav-avatar img { width: 28px; height: 28px; border-radius: 50%; }
.wp-header .wp-nav-user .layui-nav-child { left: auto; right: 0; }
.wp-burger {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    font-size: 22px;
    color: var(--wp-ink);
    cursor: pointer;
}

/* ---------- 首屏 ---------- */
.wp-hero { padding: 56px 0; background: #fff; }
.wp-hero .layui-container { position: relative; }
.wp-hero h1 {
    font-size: 44px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--wp-ink);
}
.wp-hero-def {
    margin-top: 22px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--wp-sub);
}
.wp-hero-def strong { color: var(--wp-ink); font-weight: 600; }
.wp-hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.wp-hero-cta .layui-btn + .layui-btn { margin-left: 0; }
.wp-hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--wp-sub); }
.wp-hero-trust li { display: flex; align-items: center; gap: 6px; }
.wp-hero-trust .layui-icon { color: var(--wp-blue); font-size: 16px; }

/* 首屏右侧的估价单：做成一张检测单据。别用 wp-quote，卡密页的报价条用了这个名字 */
.wp-est {
    position: relative;
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: 14px;
    box-shadow: var(--wp-shadow);
}
.wp-est-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 22px;
    border-bottom: 1px solid var(--wp-line);
}
.wp-est-head h2 { font-size: 16px; font-weight: 600; }
.wp-est-head span { font-family: var(--wp-mono); font-size: 13px; color: var(--wp-mute); letter-spacing: .08em; }
.wp-est-body { padding: 20px 22px 6px; }
.wp-est .layui-form-item { margin-bottom: 14px; }
.wp-est .layui-form-label { width: auto; padding: 0 0 6px; float: none; display: block; text-align: left; font-size: 13px; color: var(--wp-sub); }
.wp-est .layui-input-block { margin-left: 0; }
.wp-est .layui-input, .wp-est .layui-form-select .layui-input { height: 48px; border-radius: 6px; }
.wp-est-sum {
    margin: 4px 22px 0;
    padding: 16px 0;
    border-top: 1px solid var(--wp-line);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.wp-est-sum small { display: block; font-size: 12px; color: var(--wp-mute); }
.wp-est-price { font-family: var(--wp-mono); font-size: 34px; font-weight: 700; line-height: 1; color: var(--wp-ink); }
.wp-est-price i { font-style: normal; font-size: 18px; margin-right: 2px; color: var(--wp-sub); }
.wp-est-rule { font-size: 12px; color: var(--wp-mute); text-align: right; max-width: 55%; }
.wp-est-foot { padding: 0 22px 22px; }
.wp-est-foot .layui-btn { width: 100%; }
.wp-est-note { margin-top: 10px; font-size: 12px; color: var(--wp-mute); text-align: center; }
/* ---------- 服务分类卡片：layui-card 换皮 ---------- */
.wp-svc.layui-card {
    height: 100%;
    margin: 0;
    padding: 28px 26px 24px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    box-shadow: none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.wp-svc.layui-card:hover { border-color: var(--wp-blue); box-shadow: var(--wp-shadow); }
.wp-svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.wp-svc-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--wp-blue-l);
    color: var(--wp-blue);
}
.wp-svc-ico .layui-icon { font-size: 22px; }
.wp-svc-no { font-family: var(--wp-serif); font-size: 13px; font-style: normal; color: var(--wp-mute); }
.wp-svc h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.wp-svc h3 small { display: block; margin-top: 2px; font-family: var(--wp-serif); font-size: 12px; font-weight: 400; font-style: normal; letter-spacing: .08em; color: var(--wp-mute); }
.wp-svc p { margin-top: 10px; font-size: 14px; color: var(--wp-sub); min-height: 48px; }
.wp-svc-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--wp-line); display: flex; justify-content: space-between; align-items: baseline; }
.wp-svc-price b { font-family: var(--wp-mono); font-size: 22px; color: var(--wp-ink); }
.wp-svc-price b em { font-style: normal; font-family: var(--wp-sans); font-size: 12px; font-weight: 400; color: var(--wp-sub); margin-left: 3px; }
.wp-svc-price span { font-size: 13px; color: var(--wp-mute); }
.wp-svc-items { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.wp-svc-items a {
    font-size: 12px;
    line-height: 24px;
    padding: 0 9px;
    border-radius: 12px;
    background: var(--wp-paper);
    color: var(--wp-sub);
}
.wp-svc-items a:hover { background: var(--wp-blue-l); color: var(--wp-blue); }

/* ---------- 价目表：静态 layui-table ---------- */
.wp-table-wrap { overflow-x: auto; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); background: #fff; }
.wp .wp-price-table { margin: 0; min-width: 760px; }
.wp .wp-price-table caption { caption-side: bottom; padding: 12px 16px; text-align: left; font-size: 12px; color: var(--wp-mute); }
.wp .wp-price-table th { background: var(--wp-paper); font-weight: 600; color: var(--wp-ink); }
.wp .wp-price-table td, .wp .wp-price-table th { padding: 13px 16px; border-color: var(--wp-line); font-size: 14px; }
.wp .wp-price-table tr.wp-pgroup td {
    background: #fff;
    padding-top: 18px;
    font-family: var(--wp-serif);
    font-style: normal;
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--wp-blue);
}
.wp .wp-price-table tr.wp-pgroup td b { font-family: var(--wp-sans); font-style: normal; font-size: 14px; color: var(--wp-ink); margin-right: 8px; letter-spacing: 0; }
.wp .wp-price-table td.wp-price { font-family: var(--wp-mono); font-weight: 600; white-space: nowrap; }
.wp .wp-price-table td.wp-price small { font-family: var(--wp-sans); font-weight: 400; color: var(--wp-sub); margin-left: 2px; }
.wp .wp-price-table .wp-fmt { font-family: var(--wp-mono); font-size: 12px; color: var(--wp-sub); }
.wp .wp-price-table .layui-btn-xs { padding: 0 10px; }

/* ---------- 流程 01–04 ---------- */
.wp-step { position: relative; padding: 30px 26px 26px 0; border-top: 2px solid var(--wp-ink); }
.wp-step-no { font-family: var(--wp-serif); font-size: 56px; line-height: 1; color: var(--wp-blue); }
.wp-step h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.wp-step p { margin-top: 8px; font-size: 14px; color: var(--wp-sub); }

/* ---------- 常见问题：答案常显，不折叠（AI 与搜索引擎抓得到） ---------- */
.wp-faq { border-top: 1px solid var(--wp-line); }
.wp-faq-item { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 26px 0; border-bottom: 1px solid var(--wp-line); }
.wp-faq-item::before { content: "Q"; font-family: var(--wp-serif); font-size: 26px; font-style: normal; line-height: 1.1; color: var(--wp-blue); }
.wp-faq-item h3 { font-size: 18px; font-weight: 600; line-height: 1.5; }
.wp-faq-item p { grid-column: 2; margin-top: 8px; font-size: 15px; color: var(--wp-sub); }

/* ---------- 资讯 ---------- */
.wp-news-item { display: block; height: 100%; padding: 24px 0; border-top: 1px solid var(--wp-line); }
.wp-news-item time { font-family: var(--wp-mono); font-size: 12px; color: var(--wp-mute); }
.wp-news-item h3 { margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.wp-news-item p { margin-top: 8px; font-size: 14px; color: var(--wp-sub); }

/* ---------- 转化条 ---------- */
.wp-cta { padding: 36px 0; background: var(--wp-blue-l); color: var(--wp-ink); border-top: 1px solid var(--wp-line); }
.wp-cta .layui-container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wp-cta h2 { font-size: 28px; font-weight: 700; }
.wp-cta p { margin-top: 8px; color: var(--wp-sub); }

/* ---------- 页脚 ---------- */
.wp-footer { background: var(--wp-paper); color: var(--wp-sub); font-size: 14px; border-top: 1px solid var(--wp-line); }
.wp-footer-top { padding: 36px 0 24px; }
.wp-footer h4 { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--wp-ink); }
.wp-footer li { line-height: 2.1; }
.wp-footer a { color: var(--wp-sub); }
.wp-footer a:hover { color: var(--wp-blue); }
.wp-footer-brand .wp-logo-text b { color: var(--wp-ink); }
.wp-footer-brand p { margin-top: 16px; max-width: 360px; font-size: 13px; line-height: 1.9; }
.wp-footer-bottom {
    padding: 18px 0;
    border-top: 1px solid var(--wp-line);
    font-size: 12px;
    color: var(--wp-sub);
}
.wp-footer-bottom .layui-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.wp-footer-bottom a { color: var(--wp-sub); }

/* ==========================================================================
   内页
   ========================================================================== */

/* ---------- 页头：面包屑 + h1 + 定义句 ---------- */
.wp-pagehead { padding: 20px 0 32px; background: var(--wp-paper); border-bottom: 1px solid var(--wp-line); }
.wp-pagehead .layui-container { position: relative; }
.wp-pagehead.is-slim { padding: 16px 0; background: #fff; }
.wp-pagehead.is-slim::before { display: none; }
.wp-pagehead h1 { margin-top: 22px; font-size: 36px; line-height: 1.3; font-weight: 700; }
.wp-pagehead .wp-lead { max-width: 760px; }
.wp-pagehead-meta { margin-top: 14px; font-size: 13px; color: var(--wp-mute); }
.wp-pagehead-meta span + span::before { content: "·"; margin: 0 8px; }
.wp .wp-crumbs { font-size: 13px; }
.wp .wp-crumbs a, .wp .wp-crumbs span[lay-separator] { color: var(--wp-mute) !important; }
.wp .wp-crumbs a:hover { color: var(--wp-blue) !important; }
.wp .wp-crumbs a cite { color: var(--wp-sub); font-style: normal; }

/* ---------- 通用卡片 ---------- */
.wp-card { background: #fff; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); }

/* ---------- 产品页（版式参考 023.cn 产品页：图 / 标题价格 / 客服卡三栏 + 锚点标签 + 右侧相关推荐） ---------- */
.wp-pd-top { padding: 32px 0 40px; }
/* 商品图轮播：layui 会给容器写行内宽高，这里用 aspect-ratio 盖掉高度，保持方图、随列宽缩放 */
.wp .wp-pd-carousel { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); overflow: hidden; background: var(--wp-paper); }
.wp-pd-carousel [carousel-item] > div img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-pd-carousel .layui-carousel-arrow { width: 32px; height: 32px; line-height: 32px; font-size: 16px; background-color: rgba(10, 26, 51, .35); }
/* 底部缩略图：小尺寸引导，当前那张蓝框 */
.wp-pd-thumbs { margin-top: 10px; display: flex; gap: 8px; }
.wp-pd-thumbs button { width: 56px; height: 56px; padding: 0; border: 2px solid var(--wp-line); border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.wp-pd-thumbs button:hover { opacity: 1; }
.wp-pd-thumbs button.is-on { border-color: var(--wp-blue); opacity: 1; }
.wp-pd-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.wp .wp-badge { background: var(--wp-blue); }
.wp-pd-tags .layui-badge-rim { color: var(--wp-sub); }
.wp-pd-info h1 { font-size: 28px; line-height: 1.35; font-weight: 700; }
.wp-pd-price { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; color: var(--wp-blue); }
.wp-pd-yen { font-size: 20px; font-weight: 700; }
.wp-pd-price b { font-family: var(--wp-mono); font-size: 40px; line-height: 1; }
.wp-pd-unit { font-size: 14px; color: var(--wp-sub); }
.wp-pd-price em { flex-basis: 100%; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--wp-mute); }
.wp-pd-def { margin-top: 14px; font-size: 14px; line-height: 1.85; color: var(--wp-sub); }
.wp-pd-meta { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--wp-paper); font-size: 13px; }
.wp-pd-meta li { padding: 3px 0; color: var(--wp-ink); }
.wp-pd-meta span { display: inline-block; width: 72px; color: var(--wp-mute); }
/* 两个按钮等宽并排；原来按文字撑宽，一长就折成两行、宽度还不一样 */
.wp-pd-cta { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wp-pd-cta .layui-btn { width: 100%; margin: 0; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-pd-cta .layui-btn + .layui-btn { margin-left: 0; }
.wp-pd-updated { margin-top: 14px; font-size: 12px; color: var(--wp-mute); }
.wp-pd-service { height: 100%; padding: 22px 20px; border-radius: var(--wp-radius); background: var(--wp-paper); color: var(--wp-sub); border: 1px solid var(--wp-line); text-align: center; }
.wp-pd-service img { display: block; width: 132px; height: 132px; margin: 0 auto 12px; border-radius: 8px; background: #fff; padding: 6px; }
.wp-pd-service-t { font-size: 14px; color: var(--wp-sub); }
.wp-pd-phone { display: block; margin-top: 6px; font-family: var(--wp-mono); font-size: 22px; font-weight: 700; color: var(--wp-ink) !important; letter-spacing: .02em; }
.wp-pd-service ul { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--wp-line); text-align: left; font-size: 13px; }
.wp-pd-service li { padding: 4px 0; }
.wp-pd-service .layui-icon { margin-right: 6px; font-size: 13px; color: var(--wp-blue); }

/* 锚点标签：吸在头部下面 */
.wp-pd-tabs { position: sticky; top: 68px; z-index: 900; background: #fff; border-top: 1px solid var(--wp-line); border-bottom: 1px solid var(--wp-line); }
.wp-pd-tabs .layui-tab { margin: 0; }
.wp-pd-tabs .layui-tab-title { height: 52px; border-bottom: 0; }
.wp-pd-tabs .layui-tab-title li { line-height: 52px; padding: 0; margin-right: 28px; min-width: 0; }
.wp-pd-tabs .layui-tab-title li a { margin: 0; padding: 0; font-size: 15px; color: var(--wp-sub); }
.wp-pd-tabs .layui-tab-title .layui-this a { color: var(--wp-blue); font-weight: 600; }
.wp-pd-tabs .layui-tab-brief > .layui-tab-title .layui-this:after { border-bottom: 2px solid var(--wp-blue); height: 51px; top: 0; }
.wp-pd-body { padding: 32px 0 72px; background: var(--wp-paper); }
.wp-pd-sec { margin-bottom: 40px; scroll-margin-top: 136px; }
.wp-pd-h2 { position: relative; margin: 0 0 16px; padding-left: 14px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.wp-pd-h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; border-radius: 2px; background: var(--wp-blue); }
.wp-pd-sec > .wp-table-wrap + .wp-pd-h2 { margin-top: 36px; }
.wp-pd-h3 { margin: 28px 0 12px; font-size: 17px; font-weight: 700; }
.wp-pd-lead { margin: -4px 0 14px; font-size: 14px; color: var(--wp-sub); }
/* 计费示例只有三列，不需要价目表那个 760px 的最小宽度 */
.wp .wp-pd-sec .wp-price-table { min-width: 0; }

/* 六步流程；layui 栅格是浮动布局，卡片高度不一时会错行，这一行改成 flex */
.wp-flow.layui-row { display: flex; flex-wrap: wrap; }
.wp-flow.layui-row::before, .wp-flow.layui-row::after { display: none; }
.wp-flow-item { height: 100%; padding: 22px 20px; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); background: #fff; text-align: center; }
.wp-flow-item .layui-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wp-blue); color: #fff; font-size: 22px; }
.wp-flow-item h3 { margin-top: 12px; font-size: 16px; font-weight: 700; }
.wp-flow-item h3 b { margin-right: 6px; font-family: var(--wp-serif); font-weight: 400; color: var(--wp-blue); font-variant-numeric: lining-nums; }
.wp-flow-item p { margin-top: 6px; font-size: 13px; color: var(--wp-sub); }
.wp-pd-sec .wp-faq { background: #fff; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); padding: 0 24px; }
.wp-pd-sec .wp-faq-item:last-child { border-bottom: 0; }

/* 相关阅读 */
.wp-reads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wp-read { display: block; padding: 16px 18px; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); background: #fff; }
.wp-read h4 { font-size: 15px; font-weight: 700; line-height: 1.5; }
.wp-read p { margin-top: 6px; font-size: 13px; color: var(--wp-sub); }
.wp-read time { display: block; margin-top: 8px; font-family: var(--wp-mono); font-size: 12px; color: var(--wp-mute); }

/* 右侧相关推荐：价格卡片 */
.wp-rec { position: sticky; top: 136px; }
.wp-rec-title { position: relative; margin-bottom: 14px; padding-left: 14px; font-size: 18px; font-weight: 700; }
.wp-rec-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--wp-blue); }
.wp-rec-card { display: block; margin-bottom: 14px; padding: 18px 20px; border: 1px solid var(--wp-line); border-top: 3px solid var(--wp-blue); border-radius: var(--wp-radius); background: #fff; transition: box-shadow .2s, transform .2s; }
.wp-rec-card:hover { box-shadow: var(--wp-shadow); }
.wp-rec-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--wp-sub); }
.wp-rec-top em { font-style: normal; padding: 0 8px; line-height: 20px; border: 1px solid var(--wp-blue); border-radius: 4px; color: var(--wp-blue); }
.wp-rec-card h3 { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--wp-ink); }
.wp-rec-price { margin-top: 8px; color: var(--wp-blue); }
.wp-rec-price b { font-family: var(--wp-mono); font-size: 28px; }
.wp-rec-price small { margin-left: 4px; font-size: 12px; color: var(--wp-sub); }
.wp-rec-card p { margin-top: 6px; font-size: 13px; color: var(--wp-sub); }

/* ---------- 正文（产品介绍、文章） ---------- */
.wp-article { max-width: 840px; margin: 0 auto; padding: 36px 40px; }
.wp-content { font-size: 16px; line-height: 1.8; color: var(--wp-ink); word-break: break-word; }
.wp-content h2 { margin: 36px 0 14px; font-size: 24px; font-weight: 700; color: var(--wp-ink); }
.wp-content h3 { margin: 30px 0 12px; padding-left: 12px; border-left: 3px solid var(--wp-blue); font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--wp-ink); }
.wp-content > :first-child, .wp-content > .wp-detail-imgs + h3 { margin-top: 0; }
.wp-content p { margin: 0 0 14px; }
.wp-content ul, .wp-content ol { margin: 0 0 14px 1.4em; }
.wp-content ul { list-style: disc; }
.wp-content ol { list-style: decimal; }
.wp-content li { margin: 4px 0; list-style: inherit; }
.wp-content a { color: var(--wp-blue); }
.wp-content img { max-width: 100%; height: auto; border-radius: 6px; }
.wp-content .wp-detail-imgs { margin: 0 0 28px; }
.wp-content .wp-detail-imgs img { border-radius: 0; }
.wp-content .wp-detail-imgs img:first-child { border-radius: 8px 8px 0 0; }
.wp-content .wp-detail-imgs img:last-child { border-radius: 0 0 8px 8px; }
.wp-content table { width: 100%; margin: 0 0 18px; }
.wp-content .layui-table th { background: var(--wp-paper); }
.wp-content blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 3px solid var(--wp-blue); background: var(--wp-paper); color: var(--wp-sub); }

/* ---------- 侧栏卡片 ---------- */
.wp-side-card { padding: 22px; margin-bottom: 20px; }
.wp-side-card h2 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.wp-side-note { margin-top: 10px; font-size: 12px; color: var(--wp-mute); }
.wp-side-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--wp-line); font-size: 14px; }
.wp-side-list li:last-child { border-bottom: 0; }
.wp-side-list span { flex-shrink: 0; font-family: var(--wp-mono); font-size: 12px; color: var(--wp-sub); }
.wp-side-list time { flex-shrink: 0; font-family: var(--wp-mono); font-size: 12px; color: var(--wp-mute); }
.wp-side-cta { background: var(--wp-blue-l); border-color: var(--wp-line); color: var(--wp-ink); }
.wp-side-cta h2 { color: var(--wp-ink); }
.wp-side-cta p { font-size: 13px; color: var(--wp-sub); margin-bottom: 16px; }

/* ---------- 产品卡片 ---------- */
.wp-mt { margin-top: 28px; }
.wp-pcard.layui-card { display: flex; flex-direction: column; height: 100%; margin: 0; overflow: hidden; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.wp-pcard.layui-card:hover { border-color: var(--wp-blue); box-shadow: var(--wp-shadow); }
.wp-pcard-img { display: block; aspect-ratio: 1 / 1; background: var(--wp-paper); }
.wp-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.wp-pcard h3 { font-size: 16px; font-weight: 700; line-height: 1.45; }
.wp-pcard p { margin-top: 6px; font-size: 13px; color: var(--wp-sub); min-height: 38px; }
.wp-pcard-price { margin-top: auto; padding-top: 16px; font-family: var(--wp-mono); }
.wp-pcard-price b { font-size: 22px; color: var(--wp-ink); }
.wp-pcard-price em { margin-left: 4px; font-family: var(--wp-sans); font-style: normal; font-size: 12px; color: var(--wp-sub); }
.wp-pcard-act { margin-top: 14px; display: flex; gap: 8px; }
.wp-pcard-act .layui-btn { flex: 1; margin: 0; }

/* ---------- 分页：cms 分页器输出 ul.pagination，按 layui-laypage 的样子换皮 ---------- */
.wp .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; }
.wp .pagination .page-link { display: inline-block; min-width: 36px; height: 36px; line-height: 34px; padding: 0 12px; text-align: center; border: 1px solid var(--wp-line); border-radius: 6px; background: #fff; color: var(--wp-sub); font-size: 14px; }
.wp .pagination a.page-link:hover { border-color: var(--wp-blue); color: var(--wp-blue); }
.wp .pagination .active .page-link { background: var(--wp-blue); border-color: var(--wp-blue); color: #fff; }
.wp .pagination .disabled .page-link { color: var(--wp-mute); background: var(--wp-paper); }

/* ---------- 文章列表 ---------- */
.wp-sec-tight { padding: 40px 0 72px; }
.wp-alist { border-top: 1px solid var(--wp-line); }
.wp-aitem { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--wp-line); }
.wp-aitem-q { flex-shrink: 0; width: 28px; font-family: var(--wp-serif); font-size: 24px; font-style: normal; line-height: 1.2; color: var(--wp-blue); }
.wp-aitem h2 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.wp-aitem p { margin-top: 8px; font-size: 14px; color: var(--wp-sub); }
.wp-aitem-meta { margin-top: 10px; font-family: var(--wp-mono); font-size: 12px; color: var(--wp-mute); }
.wp-empty { padding: 40px 0; text-align: center; color: var(--wp-mute); }

/* ---------- 文章页 ---------- */
.wp-answer { margin-bottom: 26px; padding: 16px 18px 16px 20px; border-radius: 8px; background: var(--wp-blue-l); border-left: 3px solid var(--wp-blue); font-size: 15px; line-height: 1.8; color: var(--wp-ink); }
.wp-answer b { display: inline-block; margin-right: 10px; padding: 0 8px; border-radius: 4px; background: var(--wp-blue); color: #fff; font-size: 12px; line-height: 22px; vertical-align: 1px; }
.wp-tags { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--wp-line); display: flex; flex-wrap: wrap; gap: 8px; }
.wp-tags a { font-size: 13px; padding: 2px 10px; border-radius: 12px; background: var(--wp-paper); color: var(--wp-sub); }
.wp-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.wp-prevnext a { display: block; padding: 16px 18px; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); background: #fff; font-size: 14px; line-height: 1.6; }
.wp-prevnext a small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--wp-mute); }
.wp-prevnext a:only-child { grid-column: 1 / -1; }
.wp-entity dl > div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--wp-line); font-size: 14px; }
.wp-entity dl > div:last-child { border-bottom: 0; }
.wp-entity dt { color: var(--wp-mute); }
.wp-side-card h2 a:hover { color: var(--wp-blue); }

/* ---------- 搜索、标签 ---------- */
.wp-search-form { display: flex; gap: 10px; max-width: 760px; }
.wp-search-form .layui-form-select { width: 150px; flex-shrink: 0; }
.wp-search-form .layui-input { flex: 1; height: 44px; }
.wp-search-form .layui-btn { height: 44px; line-height: 44px; }
.wp-search-hot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--wp-mute); }
.wp-search-hot a { color: var(--wp-sub); }
.wp-sfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; font-size: 13px; color: var(--wp-mute); }
.wp-sfilter a { color: var(--wp-sub); }
.wp-sfilter a.is-on { color: var(--wp-blue); font-weight: 600; }
.wp-tagcloud { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-tagcloud a { padding: 6px 14px; border: 1px solid var(--wp-line); border-radius: 18px; background: #fff; font-size: 14px; }
.wp-tagcloud a span { margin-left: 6px; font-family: var(--wp-mono); font-size: 12px; color: var(--wp-mute); }

/* ---------- 会员中心：沿用前台头尾，去掉旧固定头部留的顶部空白 ---------- */
body.wp-member { margin-top: 0; padding-top: 0; }
.wp-member .wp-header { font-family: var(--wp-sans); }
.wp-member .fly-user-main { margin-top: 24px; margin-bottom: 40px; }
.wp-member .wp-footer { margin-top: 0; }

/* ---------- 窄屏 ---------- */
@media screen and (max-width: 992px) {
    .wp-hero h1 { font-size: 34px; }
    .wp-est { margin-top: 40px; }
}
/* 完整导航容纳不下时启用框架菜单，避免折行叠到首屏。 */
@media screen and (max-width: 1200px) {
    .wp-header-in { height: 58px; gap: 12px; }
    .wp-burger { display: block; width: 44px; height: 44px; flex-shrink: 0; }
    .wp-nav, .wp-header-act .wp-search, .wp-header-act .wp-btn { display: none; }
    .wp-header.is-open .wp-nav {
        display: block;
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--wp-line);
        box-shadow: var(--wp-shadow);
    }
    .wp-header.is-open .wp-nav .layui-nav-item { display: block; line-height: 48px; }
    .wp-header.is-open .wp-nav .layui-nav-item > a { height: 48px; padding: 0 20px; }
    .wp-header.is-open .wp-nav .layui-nav-child { position: static; border: 0; box-shadow: none; padding-left: 20px; }
    .wp-header .wp-nav-user .layui-nav-item { height: 58px; line-height: 58px; }
    /* userstate.js 在窄屏隐藏用户名，没头像时就只剩一个下拉箭头；头部这里留着用户名 */
    .wp-header .fly-nav-avatar cite.layui-hide-xs { display: inline-block !important; max-width: 6em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
}
@media screen and (max-width: 768px) {
    body.wp { font-size: 16px; }
    .wp-topbar { display: none; }
    .wp-sec { padding: 36px 0; }
    .wp-h2 { font-size: 24px; }
    .wp-hero { padding: 32px 0; }
    .wp-hero h1 { font-size: 28px; }
    .wp-hero-def { font-size: 15px; }
    .wp-step { padding-right: 0; }
    .wp-cta .layui-container { flex-direction: column; align-items: flex-start; }
    .wp-faq-item { grid-template-columns: 36px 1fr; }
    .wp-pagehead { padding: 18px 0 32px; }
    .wp-pagehead h1 { font-size: 26px; }
    .wp-article { padding: 22px 18px; }
    .wp-prevnext { grid-template-columns: 1fr; }
    .wp-pd-info h1 { font-size: 23px; }
    .wp-pd-price b { font-size: 32px; }
    .wp-pd-tabs { top: 58px; }
    .wp-pd-tabs .layui-tab-title li { margin-right: 18px; }
    .wp-pd-sec { scroll-margin-top: 116px; }
    .wp-rec { position: static; }
    .wp-reads { grid-template-columns: 1fr; }
    .wp-search-form { flex-wrap: wrap; }
    .wp-search-form .layui-form-select { width: 100%; }
}

/* 统一组件与业务布局：使用现有 layui 类，不引入新组件库。 */
.wp .layui-btn-normal { color: #fff; background: var(--wp-blue); }
.wp .layui-btn:focus-visible, .wp a:focus-visible, .wp button:focus-visible { outline: 2px solid var(--wp-blue); outline-offset: 3px; }
.wp .layui-input:focus, .wp .layui-textarea:focus { border-color: var(--wp-blue) !important; }
.wp .layui-card-header { height: auto; min-height: 48px; padding: 12px 20px; line-height: 24px; }
.wp-kicker { color: var(--wp-blue); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.wp-card-row.layui-row { display: flex; flex-wrap: wrap; }
.wp-card-row.layui-row::before, .wp-card-row.layui-row::after { display: none; }
.wp-card-row > div { display: flex; flex-direction: column; }
.wp-card-row .layui-card { flex: 1; }
.wp-svc { display: flex; flex-direction: column; }
.wp-svc .layui-btn { margin-top: 16px; align-self: flex-start; }
.wp-choice { height: 100%; padding: 20px; border: 1px solid var(--wp-line); border-radius: var(--wp-radius); background: #fff; }
.wp-choice h2, .wp-choice h3 { font-size: 18px; margin-bottom: 8px; }
.wp-choice p { color: var(--wp-sub); font-size: 14px; margin-bottom: 12px; }
.wp-choice a { color: var(--wp-blue); }
.wp-report-note { margin-top: 16px; font-size: 14px; color: var(--wp-sub); }
.wp-pcard-act .layui-btn + .layui-btn { margin-left: 0; }
@media (max-width: 768px) { .wp-svc.layui-card { padding: 20px; } .wp-est { margin-top: 24px; } .wp-hero-cta .layui-btn { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .wp *, .wp *::before, .wp *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* 检测和预检使用框架表单，主要输入与提交操作保持 48px。 */
.wp-panel .layui-input { height: 48px; }

.wp .wp-report-note a, .wp .wp-content a { color: var(--wp-blue); text-decoration: underline; text-underline-offset: 3px; }

@media screen and (max-width: 480px) {
    .wp-logo-text small { display: none; }
    .wp-header .fly-nav-avatar cite.layui-hide-xs { max-width: 4em; }
}
@media screen and (max-width: 360px) {
    .wp-header .wp-nav-user .layui-nav-item > a.layui-btn-register { display: none; }
    .wp-header .fly-nav-avatar img + cite.layui-hide-xs { display: none !important; }
    .wp-header .fly-nav-avatar cite.layui-hide-xs { max-width: 2em; }
}
