/* ==========================================================================
   备考频道 · 主样式（与主站 ai.arkvip.cn 视觉同源）
   ========================================================================== */

:root{
  --blue:#0b5ed7;
  --blue-dark:#083e91;
  --navy:#071b3a;
  --ink:#13233d;
  --muted:#61708a;
  --line:#dfe7f2;
  --soft:#f4f8fd;
  --white:#fff;
  --cyan:#42b8ef;
  --shadow:0 18px 50px rgba(24,73,134,.12);
  --radius:18px;
  --radius-sm:10px;
  --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif;
  background:#fff;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  font-size:15px;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
a:hover{color:var(--blue)}
button{font:inherit}
svg{display:block;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}

.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}

.skip-link{position:fixed;z-index:999;left:16px;top:-100px;background:#fff;color:#071b3a;padding:10px 16px;border:2px solid var(--blue);border-radius:8px}
.skip-link:focus{top:12px}

.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header{
  height:76px;
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.95);
  border-bottom:1px solid rgba(215,226,240,.8);
  backdrop-filter:blur(16px);
  transition:.25s;
}
.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between}

.brand{display:flex;align-items:center;gap:11px;line-height:1.25}
.brand-mark{
  width:39px;height:39px;
  display:grid;place-items:center;
  background:var(--blue);
  color:#fff;
  border-radius:10px;
  box-shadow:0 8px 18px rgba(11,94,215,.22);
  flex:none;
}
.brand-mark svg{width:25px;stroke-width:2}
.brand-mark svg path:first-child{fill:#fff;stroke:none}
.brand-mark .mark-line{stroke:#83c9f4}
.brand-text strong{display:block;color:var(--navy);font-size:16px;letter-spacing:.02em}
.brand-text small{display:block;color:#728099;font-size:11px;letter-spacing:.18em;margin-top:3px}

.main-nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:600}
.main-nav>a:not(.btn){position:relative;color:#3d4b62;padding:25px 0;transition:.2s}
.main-nav>a:not(.btn):after{
  content:"";position:absolute;left:0;right:0;bottom:14px;height:2px;
  background:var(--blue);transform:scaleX(0);transform-origin:left;transition:.25s;
}
.main-nav>a:not(.btn):hover{color:var(--blue)}
.main-nav>a:not(.btn):hover:after{transform:scaleX(1)}
.main-nav .btn{margin-left:6px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:12px 22px;
  background:var(--blue);
  color:#fff;
  font-size:14px;font-weight:600;
  border:none;border-radius:999px;
  cursor:pointer;
  transition:.2s;
}
.btn:hover{background:var(--blue-dark);color:#fff}
.btn-sm{padding:9px 18px;font-size:13px}
.btn-back{background:rgba(11,94,215,.08);color:var(--blue)}
.btn-back:hover{background:var(--blue);color:#fff}

.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--navy);transition:.25s}

/* ==========================================================================
   页面 Hero
   ========================================================================== */
.page-hero{
  padding:56px 0 44px;
  background:linear-gradient(125deg,#f4f9ff,#fff);
  border-bottom:1px solid #e4edf7;
}
.page-title{
  font-size:32px;color:var(--navy);margin:0 0 10px;font-weight:700;letter-spacing:-.01em;
}
.page-sub{color:var(--muted);font-size:14px;margin:0}

/* ==========================================================================
   布局
   ========================================================================== */
.site-main{min-height:50vh;padding-bottom:0}
.layout{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:44px;
  padding:36px 0 0;
}
@media(max-width:980px){.layout{grid-template-columns:1fr;gap:32px}}

/* ==========================================================================
   文章卡片（列表页）
   ========================================================================== */
.post-card{
  display:grid;
  grid-template-columns:1fr 220px;
  gap:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  margin-bottom:18px;
  transition:.25s;
  align-items:center;
}
.post-card:hover{
  border-color:#bcd8f8;
  box-shadow:0 12px 30px rgba(24,73,134,.1);
  transform:translateY(-2px);
}
@media(max-width:640px){.post-card{grid-template-columns:1fr}}

.post-tag{
  display:inline-block;
  font-size:11px;color:var(--blue);font-weight:700;
  letter-spacing:.1em;
  padding:4px 10px;
  background:#eff6ff;border-radius:4px;
  margin-bottom:10px;
}
.post-tag:hover{background:var(--blue);color:#fff}

.post-title{
  font-size:19px;font-weight:700;line-height:1.5;
  margin:0 0 10px;color:var(--navy);
}
.post-title a{color:inherit}
.post-title a:hover{color:var(--blue)}

.post-excerpt{
  font-size:14px;color:var(--muted);line-height:1.75;
  margin:0 0 12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

.post-meta{
  display:flex;flex-wrap:wrap;gap:14px;
  font-size:12px;color:#8b98aa;
}

.post-cover{
  display:block;width:100%;height:150px;border-radius:12px;overflow:hidden;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
}
.post-cover img{width:100%;height:100%;object-fit:cover;display:block}
.post-cover-text{
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:44px;font-weight:800;
}
.post-cover-text span{opacity:.85}

/* 分页 */
.pagination{
  display:flex;gap:8px;justify-content:center;flex-wrap:wrap;
  margin-top:36px;
}
.pagination a,
.pagination span{
  padding:9px 16px;
  border:1px solid var(--line);border-radius:10px;
  background:#fff;color:var(--muted);
  font-size:13px;font-weight:500;
  transition:.2s;
}
.pagination .current{
  background:var(--blue);color:#fff;border-color:var(--blue);
}
.pagination a:hover{border-color:var(--blue);color:var(--blue)}

/* ==========================================================================
   侧栏
   ========================================================================== */
.widget{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  margin-bottom:18px;
}
.widget-title{
  font-size:16px;color:var(--navy);font-weight:700;
  margin:0 0 14px;padding-bottom:12px;
  border-bottom:1px solid var(--line);
}
.widget-list{list-style:none;margin:0;padding:0}
.widget-list li{padding:8px 0;border-bottom:1px dashed var(--line);font-size:13.5px;color:var(--muted)}
.widget-list li:last-child{border-bottom:none}
.widget-list a{color:var(--muted)}
.widget-list a:hover{color:var(--blue)}
.widget-list .count,
.widget-list .post-count{color:#9aa7bb;font-size:11.5px;margin-left:4px}

.search-form{display:flex;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.search-field{
  flex:1;border:none;outline:none;
  padding:10px 14px;font-size:13.5px;
  background:#fff;color:var(--ink);
}
.search-submit{
  border:none;background:var(--blue);color:#fff;
  padding:10px 18px;font-size:13px;font-weight:600;
  cursor:pointer;transition:.2s;
}
.search-submit:hover{background:var(--blue-dark)}

/* TOC */
.widget-toc .toc-list{font-size:13px}
.widget-toc .toc-list a{
  display:block;
  padding:6px 0 6px 14px;
  border-left:2px solid var(--line);
  color:var(--muted);
  line-height:1.5;
  transition:.2s;
}
.widget-toc .toc-list a:hover{color:var(--blue);border-left-color:var(--blue)}
.widget-toc .toc-list a.active{
  color:var(--blue);
  border-left-color:var(--blue);
  font-weight:600;
}
.widget-toc .toc-list a.lv3{padding-left:28px;font-size:12.5px}
.widget-toc .toc-list a.lv4{padding-left:42px;font-size:12px}

/* ==========================================================================
   文章详情页
   ========================================================================== */
.single-header{
  padding:56px 0 40px;
  background:linear-gradient(125deg,#f4f9ff,#fff);
  border-bottom:1px solid #e4edf7;
}
.breadcrumbs{font-size:12px;color:#7a899e;margin-bottom:16px}
.breadcrumbs a{color:var(--blue)}
.breadcrumbs .crumb-sep{margin:0 6px;color:#b6c3d6}
.breadcrumbs .crumb-current{color:#7a899e}

.single-tag{
  display:inline-block;
  font-size:11px;color:var(--blue);font-weight:700;letter-spacing:.1em;
  padding:4px 10px;background:#fff;border:1px solid var(--line);border-radius:4px;
  margin-bottom:18px;
}
.single-tag:hover{border-color:var(--blue)}
.single-title{
  font-size:36px;color:var(--navy);font-weight:800;line-height:1.3;
  margin:0 0 20px;letter-spacing:-.015em;
  max-width:880px;
}
.single-meta{
  display:flex;flex-wrap:wrap;gap:18px;
  font-size:13px;color:var(--muted);
}
.single-meta span{display:inline-flex;align-items:center;gap:6px}
.single-meta span + span::before{content:"·";color:#b6c3d6}

.single-cover{
  margin:0 0 28px;border-radius:var(--radius);overflow:hidden;
}
.single-cover img{width:100%;height:auto;display:block}

.entry-content{
  font-size:16px;line-height:1.9;color:#2b3b55;
}
.entry-content h2{
  font-size:22px;color:var(--navy);
  margin:44px 0 16px;padding-bottom:10px;
  border-bottom:1px solid var(--line);
  scroll-margin-top:96px;
}
.entry-content h3{
  font-size:18px;color:var(--navy);
  margin:30px 0 12px;
  scroll-margin-top:96px;
}
.entry-content h4{
  font-size:16px;color:var(--navy);
  margin:24px 0 10px;
  scroll-margin-top:96px;
}
.entry-content p{margin:0 0 18px}
.entry-content ul,.entry-content ol{margin:0 0 20px;padding-left:24px}
.entry-content li{margin-bottom:9px}
.entry-content strong{color:var(--navy)}
.entry-content a{color:var(--blue);border-bottom:1px solid rgba(11,94,215,.3);transition:.2s}
.entry-content a:hover{border-bottom-color:var(--blue)}
.entry-content img{max-width:100%;height:auto;border-radius:12px;margin:8px 0}
.entry-content blockquote{
  margin:20px 0;padding:18px 22px;
  background:#f0f7ff;border-left:4px solid var(--blue);
  color:#53657d;border-radius:0 10px 10px 0;
  font-size:14.5px;
}
.entry-content blockquote p:last-child{margin-bottom:0}
.entry-content code{
  background:#f0f4f9;padding:2px 6px;border-radius:4px;
  font-family:Consolas,Menlo,monospace;font-size:13.5px;color:#c7254e;
}
.entry-content pre{
  background:#0f172a;color:#e2e8f0;
  padding:18px 22px;border-radius:12px;
  overflow-x:auto;font-size:13.5px;line-height:1.7;
  margin:20px 0;
}
.entry-content pre code{background:none;color:inherit;padding:0}
.entry-content table{
  width:100%;border-collapse:collapse;margin:18px 0 26px;
  font-size:14.5px;
}
.entry-content th,.entry-content td{
  padding:12px 14px;text-align:left;border:1px solid var(--line);
}
.entry-content thead th{background:#eef4fd;color:var(--navy);font-weight:700}

/* 标签 */
.post-tags{display:flex;flex-wrap:wrap;gap:9px;margin:28px 0 0}
.post-tags .tag{
  display:inline-block;
  padding:6px 14px;
  border:1px solid var(--line);border-radius:999px;
  font-size:13.5px;color:var(--muted);background:#fff;
  transition:.2s;
}
.post-tags .tag:hover{border-color:var(--blue);color:var(--blue);background:#f5f9ff}

/* 上一篇/下一篇 */
.post-nav{
  display:flex;justify-content:space-between;align-items:flex-start;gap:24px;
  margin-top:40px;padding-top:24px;border-top:1px solid var(--line);
}
.post-nav:empty{display:none}
.post-nav a{
  display:flex;flex-direction:column;max-width:46%;
  padding:2px 0;
  transition:.2s;
}
.post-nav a:hover{color:var(--blue)}
.post-nav-label{font-size:12px;color:var(--muted);margin-bottom:4px}
.post-nav-title{
  font-size:14px;color:var(--navy);font-weight:600;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.post-nav a:hover .post-nav-title{color:var(--blue)}
.post-nav-prev{text-align:left}
.post-nav-next{text-align:right;margin-left:auto}
.post-nav-solo{width:100%;max-width:100%}
@media(max-width:640px){.post-nav{flex-direction:column;gap:14px}.post-nav a{max-width:100%}.post-nav-next{text-align:left;margin-left:0}}

/* 相关阅读 */
.related-posts{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.related-title{font-size:18px;color:var(--navy);margin:0 0 16px}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:640px){.related-grid{grid-template-columns:1fr}}
.related-item{
  display:block;
  padding:14px 16px;
  border:1px solid var(--line);border-radius:12px;
  background:#fff;transition:.2s;
}
.related-item:hover{border-color:var(--blue);background:#f7fbff}
.related-item-title{
  display:block;
  font-size:14px;color:var(--navy);font-weight:600;line-height:1.5;margin-bottom:6px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.related-item-date{font-size:12px;color:#9aa7bb}

/* 评论区 */
.comments-area{margin-top:44px;padding-top:32px;border-top:1px solid var(--line)}
.comments-title{font-size:18px;color:var(--navy);margin:0 0 20px}
.comment-list{list-style:none;margin:0 0 24px;padding:0}
.comment-list .comment{padding:16px 0;border-bottom:1px dashed var(--line)}
.comment-list .comment-author{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.comment-list .comment-author img{border-radius:50%}
.comment-list .comment-author .fn{font-weight:600;color:var(--navy);font-size:14px}
.comment-list .comment-metadata{font-size:12px;color:#9aa7bb;margin-left:auto}
.comment-list .comment-content{font-size:14px;line-height:1.8;color:#31425e}
.comment-list .reply{margin-top:8px;font-size:12px}
.comment-list .children{list-style:none;padding-left:40px;margin-top:12px}

.comment-form{display:flex;flex-direction:column;gap:14px}
.comment-form .comment-notes{font-size:13px;color:var(--muted);margin:0 0 8px}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width:100%;padding:12px 14px;
  border:1px solid var(--line);border-radius:10px;
  font:inherit;font-size:14px;color:var(--ink);
  background:#fff;
  transition:border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,94,215,.08)}
.comment-form textarea{min-height:120px;resize:vertical}
.comment-form .form-submit{margin:0}
.comment-form .submit{
  padding:12px 28px;background:var(--blue);color:#fff;
  border:none;border-radius:999px;
  font-size:14px;font-weight:600;cursor:pointer;
  transition:.2s;
  align-self:flex-start;
}
.comment-form .submit:hover{background:var(--blue-dark)}
.comment-reply-title{font-size:18px;color:var(--navy);margin:0 0 16px}

/* 空状态 */
.empty-state{
  padding:48px 24px;text-align:center;
  background:#fff;border:1px dashed var(--line);border-radius:var(--radius);
  color:var(--muted);font-size:14px;
}
.empty-state ul{list-style:none;padding:0;margin:14px 0;display:inline-block;text-align:left}
.empty-state li{padding:6px 0}
.empty-404 .search-form{max-width:400px;margin:20px auto 0}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer{
  background:#071b3a;color:#8b98aa;
  padding:44px 0 24px;
  margin-top:0;
  font-size:13.5px;
}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;
  padding-bottom:28px;border-bottom:1px solid #132f5a;
}
@media(max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}}
.footer-col h4{
  color:#fff;font-size:14px;font-weight:700;
  margin:0 0 14px;letter-spacing:.02em;
}
.footer-col a{display:block;color:#8b98aa;padding:4px 0;font-size:13px;transition:.2s}
.footer-col a:hover{color:#fff}
.footer-brand .brand-mark{width:36px;height:36px}
.footer-brand .brand-text strong{color:#fff}
.footer-brand .brand-text small{color:#728099}
.footer-desc{margin-top:14px;font-size:13px;line-height:1.8;color:#728099}
.footer-desc a{color:var(--cyan)}
.footer-desc a:hover{color:#fff}

.footer-declare{
  padding-top:20px;text-align:center;
  font-size:12px;color:#61708a;line-height:1.9;
}
.footer-declare p{margin:0}

/* ==========================================================================
   移动端
   ========================================================================== */
@media(max-width:860px){
  .nav-toggle{display:flex}
  .main-nav{
    position:fixed;inset:76px 0 auto 0;
    max-height:calc(100vh - 76px);
    overflow:auto;
    display:none;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;
    padding:15px 24px 28px;
    border-bottom:1px solid #dae5f1;
    box-shadow:0 20px 40px rgba(13,49,93,.14);
  }
  .main-nav.open{display:flex}
  .main-nav>a:not(.btn){padding:14px 4px;border-bottom:1px solid #edf1f6}
  .main-nav>a:not(.btn):after{display:none}
  .main-nav .btn{margin:14px 0 0;align-self:flex-start}
  .site-header{height:68px}
  .main-nav{inset:68px 0 auto 0;max-height:calc(100vh - 68px)}
  .brand-mark{width:35px;height:35px}
  .brand-text strong{font-size:14px}
  .brand-text small{font-size:9px}
  .page-title{font-size:26px}
  .single-title{font-size:22px}
  .post-card{padding:18px}
  .post-title{font-size:17px}
  .entry-content{font-size:15px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important}
}

/* ==========================================================================
   P0-4 文章页字号行高调整（养老师版式）
   ========================================================================== */
.entry-content{
  font-size:16px;
  line-height:1.85;
}
.entry-content p{margin:0 0 1.5em}

/* ==========================================================================
   P0-5 多级编号列表（一、/（一）/1./①）
   ========================================================================== */
.entry-content ol.list-lv1,
.entry-content ol.list-lv2,
.entry-content ol.list-lv4{list-style:none;padding-left:0}

.entry-content ol.list-lv1{counter-reset:lv1}
.entry-content ol.list-lv1 > li{
  counter-increment:lv1;
  padding-left:36px;position:relative;margin-bottom:12px;
}
.entry-content ol.list-lv1 > li::before{
  content:counter(lv1, cjk-ideographic) "、";
  position:absolute;left:0;top:0;
  font-weight:700;color:var(--navy);
}

.entry-content ol.list-lv2{counter-reset:lv2}
.entry-content ol.list-lv2 > li{
  counter-increment:lv2;
  padding-left:44px;position:relative;margin-bottom:10px;
}
.entry-content ol.list-lv2 > li::before{
  content:"（" counter(lv2, cjk-ideographic) "）";
  position:absolute;left:0;top:0;
  color:var(--ink);
}

.entry-content ol.list-lv3{list-style:decimal;padding-left:32px}
.entry-content ol.list-lv3 > li{margin-bottom:8px}

.entry-content ol.list-lv4{counter-reset:lv4}
.entry-content ol.list-lv4 > li{
  counter-increment:lv4;
  padding-left:32px;position:relative;margin-bottom:8px;
}
.entry-content ol.list-lv4 > li::before{
  content:"①";
  position:absolute;left:0;top:0;
}
/* ①②③...圆圈数字字体回退（不依赖 counter 样式）*/
.entry-content ol.list-lv4 > li:nth-child(1)::before{content:"①"}
.entry-content ol.list-lv4 > li:nth-child(2)::before{content:"②"}
.entry-content ol.list-lv4 > li:nth-child(3)::before{content:"③"}
.entry-content ol.list-lv4 > li:nth-child(4)::before{content:"④"}
.entry-content ol.list-lv4 > li:nth-child(5)::before{content:"⑤"}
.entry-content ol.list-lv4 > li:nth-child(6)::before{content:"⑥"}
.entry-content ol.list-lv4 > li:nth-child(7)::before{content:"⑦"}
.entry-content ol.list-lv4 > li:nth-child(8)::before{content:"⑧"}
.entry-content ol.list-lv4 > li:nth-child(9)::before{content:"⑨"}
.entry-content ol.list-lv4 > li:nth-child(10)::before{content:"⑩"}

/* ==========================================================================
   P0-6 关键信息加粗强化
   ========================================================================== */
.entry-content .key-date,
.entry-content strong.key-date{
  font-weight:700;
  color:var(--navy);
  background:#fff8e6;
  padding:2px 8px;
  border-radius:4px;
}

.entry-content .key-phone,
.entry-content strong.key-phone{
  font-weight:700;
  color:#dc2626;
  font-family:Consolas,Menlo,monospace;
  font-size:17px;
  letter-spacing:.02em;
}

.entry-content .key-link,
.entry-content a.key-link{
  font-weight:700;
  color:var(--blue);
  border-bottom:2px solid var(--blue);
  text-decoration:none;
}

/* ==========================================================================
   P1-15 内链样式优化
   ========================================================================== */
.entry-content a{color:var(--blue);text-decoration:none;border-bottom:1px solid transparent;transition:.2s}
.entry-content a:hover{border-bottom-color:var(--blue)}
/* 外链加 ↗ 角标（非本站 http 链接）*/
.entry-content a[href^="http"]:not([href*="ai.arkvip.cn"]):not([href*="arkvip.cn"]):not(.key-link):not(.official-link):not(.official-phone)::after{
  content:"↗";
  font-size:.85em;
  margin-left:2px;
  color:var(--muted);
}

/* ==========================================================================
   P1-13 表格样式升级（掘金版式）
   ========================================================================== */
.entry-content table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:20px 0 28px;
  font-size:14.5px;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
}
.entry-content thead th{
  background:var(--blue);
  color:#fff;
  font-weight:700;
  padding:12px 14px;
  text-align:left;
  border:none;
}
.entry-content tbody td{
  padding:12px 14px;
  border:none;
  border-top:1px solid var(--line);
}
.entry-content tbody tr:hover{background:#f0f7ff}
.entry-content tbody tr:first-child td{border-top:none}

/* ==========================================================================
   P0-1 报名快捷卡（首页横条）
   ========================================================================== */
.urgent-enroll-bar{
  padding:18px 0 0;
  background:linear-gradient(125deg,#f4f9ff,#fff);
}
.enroll-card{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:linear-gradient(135deg,#0b5ed7,#083e91);
  color:#fff;
  padding:18px 24px;
  border-radius:var(--radius);
  box-shadow:0 12px 28px rgba(11,94,215,.25);
}
.enroll-info{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.enroll-tag{
  background:var(--accent,#f59e0b);
  color:#fff;
  padding:3px 10px;
  border-radius:4px;
  font-size:12px;font-weight:700;
  letter-spacing:.05em;
  flex:none;
}
.enroll-title{font-size:16px;font-weight:700}
.enroll-deadline{font-size:13px;opacity:.92}
.btn-enroll{
  background:#fff;color:var(--blue);
  font-weight:700;
  flex:none;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.btn-enroll:hover{background:#f0f7ff;color:var(--blue-dark)}
@media(max-width:640px){
  .enroll-card{flex-direction:column;align-items:flex-start;padding:20px}
  .btn-enroll{width:100%;justify-content:center}
}

/* ==========================================================================
   P0-2 首页栏目分区（养老师版式）
   ========================================================================== */
.home-sections{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin:32px 0 40px;
}
@media(max-width:860px){.home-sections{grid-template-columns:1fr;gap:20px;margin:32px 0 32px}}

.home-cat-section{}
.cat-head{
  display:flex;align-items:baseline;justify-content:space-between;
  padding-bottom:10px;margin-bottom:14px;
  border-bottom:2px solid var(--navy);
}
.cat-title{
  font-size:20px;font-weight:700;color:var(--navy);
  margin:0;letter-spacing:.02em;
}
.cat-more{
  font-size:13px;color:var(--muted);
  transition:.2s;
}
.cat-more:hover{color:var(--blue)}
.cat-list{
  list-style:none;margin:0;padding:0;
  counter-reset:cat-item;
}
.cat-list li{
  counter-increment:cat-item;
  padding:9px 0 9px 30px;
  position:relative;
  border-bottom:1px dashed #edf1f6;
  font-size:14.5px;
  line-height:1.6;
}
.cat-list li:last-child{border-bottom:none}
.cat-list li::before{
  content:counter(cat-item);
  position:absolute;left:0;top:11px;
  width:20px;height:20px;
  background:#f0f4f9;color:var(--muted);
  border-radius:4px;
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  transition:.2s;
}
.cat-list li:hover::before{background:var(--blue);color:#fff}
.cat-list a{color:var(--ink);display:block}
.cat-list a:hover{color:var(--blue)}

/* ==========================================================================
   P0-3 常见问题编号列表（首页尾部）
   ========================================================================== */
.home-faq{
  padding:32px 0;
  background:var(--soft);
  border-top:1px solid var(--line);
  margin-top:0;
}
.faq-list{
  list-style:none;margin:0;padding:0;
  counter-reset:faq-item;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px 32px;
}
@media(max-width:640px){.faq-list{grid-template-columns:1fr}}
.faq-list li{
  counter-increment:faq-item;
  padding:10px 0 10px 32px;
  position:relative;
  font-size:14.5px;
  line-height:1.6;
}
.faq-list li::before{
  content:counter(faq-item);
  position:absolute;left:0;top:12px;
  width:22px;height:22px;
  background:var(--blue);color:#fff;
  border-radius:4px;
  font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.faq-list a{color:var(--ink);display:block}
.faq-list a:hover{color:var(--blue)}

/* ==========================================================================
   P0-7 文章页文末「官方信息」卡（简化版：纯白 + 蓝边）
   ========================================================================== */
.official-info-card{
  margin:36px 0 24px;
  padding:22px 24px;
  background:#fff;
  border:1px solid var(--line);
  border-left:4px solid var(--blue);
  border-radius:10px;
}
.official-title{
  margin:0 0 16px;
  font-size:15px;font-weight:700;color:var(--navy);
  display:flex;align-items:center;gap:8px;
}
.official-title::before{
  content:"";
  width:3px;height:14px;
  background:var(--blue);
  border-radius:2px;
}
.official-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media(max-width:640px){.official-grid{grid-template-columns:1fr}}
.official-item{
  padding:12px 0;
  border:none;
}
.official-label{
  font-size:12px;color:var(--muted);
  margin-bottom:4px;
}
.official-phone{
  display:inline-block;
  font-family:Consolas,Menlo,monospace;
  font-size:17px;font-weight:700;color:var(--navy);
  letter-spacing:.02em;
}
.official-phone:hover{color:var(--blue)}
.official-link{
  display:inline-block;
  font-size:14px;font-weight:600;color:var(--blue);
  border-bottom:1px solid transparent;
  transition:.2s;
}
.official-link:hover{border-bottom-color:var(--blue)}
.official-note{
  margin:14px 0 0;
  padding-top:12px;
  border-top:1px dashed var(--line);
  font-size:12px;color:var(--muted);
  line-height:1.7;
}

/* ==========================================================================
   P1-12 内容类型徽章（post-tag 增强）
   ========================================================================== */
.post-tag.badge-policy{background:#dbeafe;color:#1e40af}      /* 政策-蓝 */
.post-tag.badge-guide{background:#d1fae5;color:#065f46}       /* 攻略-绿 */
.post-tag.badge-exam{background:#fef3c7;color:#92400e}        /* 真题-橙 */
.post-tag.badge-exp{background:#ede9fe;color:#5b21b6}         /* 经验-紫 */
.post-tag.badge-news{background:#e0f2fe;color:#0369a1}        /* 资讯-青 */
.post-tag.badge-faq{background:#f1f5f9;color:#475569}         /* 常见-灰 */

/* ==========================================================================
   响应式调整（沿用原 860px 断点新增内容）
   ========================================================================== */
@media(max-width:860px){
  .home-sections{grid-template-columns:1fr}
  .faq-list{grid-template-columns:1fr}
  .official-grid{grid-template-columns:1fr}
}

/* ==========================================================================
   P1-9 TOC 升级：激活项主色加粗 + 左侧蓝条 + 吸顶跟随
   ========================================================================== */
@media(min-width:981px){
  .widget-toc{position:sticky;top:96px}
}
.widget-toc .toc-list a{
  position:relative;
  padding-left:16px;
  transition:color .2s,border-color .2s,background .2s;
}
.widget-toc .toc-list a::before{
  content:"";
  position:absolute;left:0;top:8px;bottom:8px;
  width:3px;
  background:transparent;
  border-radius:2px;
  transition:background .2s;
}
.widget-toc .toc-list a:hover{color:var(--blue)}
.widget-toc .toc-list a.active{
  color:var(--blue);
  font-weight:700;
  background:linear-gradient(90deg,rgba(11,94,215,.08),transparent);
}
.widget-toc .toc-list a.active::before{background:var(--blue)}

/* ==========================================================================
   P1-10 阅读进度条（顶部）
   ========================================================================== */
.reading-progress{
  position:fixed;
  top:0;left:0;
  width:0;height:3px;
  background:linear-gradient(90deg,var(--blue),#42b8ef);
  z-index:1000;
  transition:width .1s linear;
  box-shadow:0 0 8px rgba(11,94,215,.4);
}

/* ==========================================================================
   P1-11 悬浮工具条（右侧贴边）
   ========================================================================== */
.float-toolbar{
  position:fixed;
  right:22px;bottom:100px;
  z-index:200;
  display:flex;
  flex-direction:column;
  gap:8px;
  opacity:0;
  transform:translateX(10px);
  pointer-events:none;
  transition:opacity .25s,transform .25s;
}
.float-toolbar.show{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.ft-btn{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--muted);
  cursor:pointer;
  box-shadow:0 4px 14px rgba(7,27,58,.12);
  transition:.2s;
  padding:0;
}
.ft-btn svg{width:18px;height:18px}
.ft-btn:hover{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(11,94,215,.25);
}
.ft-btn.ft-copied{
  background:var(--green,#10b981);
  color:#fff;
  border-color:var(--green,#10b981);
}
@media(max-width:640px){
  .float-toolbar{right:14px;bottom:80px}
  .ft-btn{width:40px;height:40px}
  .ft-btn svg{width:16px;height:16px}
}

/* ==========================================================================
   P1-19 图片灯箱
   ========================================================================== */
.lightbox{
  position:fixed;inset:0;
  z-index:1000;
  display:flex;align-items:center;justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s;
}
.lightbox.open{
  opacity:1;
  pointer-events:auto;
}
.lightbox-backdrop{
  position:absolute;inset:0;
  background:rgba(15,23,42,.92);
  backdrop-filter:blur(4px);
}
.lightbox-inner{
  position:relative;
  max-width:90vw;max-height:90vh;
  display:flex;align-items:center;justify-content:center;
}
.lightbox-img{
  max-width:100%;max-height:90vh;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close{
  position:absolute;top:-40px;right:0;
  width:36px;height:36px;
  background:rgba(255,255,255,.1);
  color:#fff;
  border:1px solid rgba(255,255,255,.3);
  border-radius:50%;
  font-size:22px;line-height:1;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:.2s;
}
.lightbox-close:hover{background:rgba(255,255,255,.2)}
.entry-content img{cursor:zoom-in}

/* ==========================================================================
   P1-14 步骤条组件
   ========================================================================== */
.step-list{
  list-style:none;
  margin:24px 0;
  padding:0;
  counter-reset:step;
}
.step-item{
  position:relative;
  padding-left:56px;
  margin-bottom:18px;
  counter-increment:step;
}
.step-item::before{
  content:counter(step);
  position:absolute;left:0;top:0;
  width:36px;height:36px;
  background:var(--blue);
  color:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:16px;
  box-shadow:0 4px 12px rgba(11,94,215,.25);
}
.step-item::after{
  content:"";
  position:absolute;left:17px;top:38px;
  width:2px;height:calc(100% - 20px);
  background:linear-gradient(180deg,var(--blue),#bcd8f8);
}
.step-item:last-child::after{display:none}
.step-item strong{
  display:block;
  font-size:16px;font-weight:700;color:var(--navy);
  margin-bottom:4px;
}
.step-item p{
  margin:0;
  font-size:14.5px;color:var(--muted);
  line-height:1.7;
}

/* ==========================================================================
   P1-16 侧栏报名大卡（增强 widget）
   ========================================================================== */
.widget-enroll-card{
  background:linear-gradient(135deg,#0b5ed7,#083e91);
  color:#fff;
  border:none;
  padding:22px;
}
.widget-enroll-card .widget-title{color:#fff;border-bottom-color:rgba(255,255,255,.2)}
.widget-enroll-card .enroll-desc{font-size:13px;opacity:.9;margin-bottom:14px;line-height:1.7}
.widget-enroll-card .enroll-phone{
  font-family:Consolas,Menlo,monospace;
  font-size:22px;font-weight:800;
  margin:12px 0;
  letter-spacing:.02em;
  color:#fcd34d;
}
.widget-enroll-card .btn{
  width:100%;justify-content:center;
  background:#fff;color:var(--blue);
  font-weight:700;
}
.widget-enroll-card .btn:hover{background:#f0f7ff;color:var(--blue-dark)}

/* ==========================================================================
   三期打磨 · 6 项
   ========================================================================== */

/* ① 首页 Hero 重构（报名快捷卡融入 Hero） */
.home-hero{
  padding:64px 0 48px;
  background:linear-gradient(125deg,#f4f9ff,#fff);
  border-bottom:1px solid #e4edf7;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:44px;
  align-items:center;
}
@media(max-width:960px){.hero-grid{grid-template-columns:1fr;gap:28px}}
.hero-eyebrow{
  font-size:12px;color:var(--blue);font-weight:700;letter-spacing:.12em;
  margin-bottom:14px;text-transform:uppercase;
}
.hero-title{
  font-size:38px;font-weight:800;line-height:1.25;letter-spacing:-.01em;
  color:var(--navy);
  margin:0 0 16px;
}
.hero-lead{
  font-size:15px;color:var(--muted);line-height:1.75;margin:0;
  max-width:560px;
}
@media(max-width:640px){.hero-title{font-size:28px}}

/* Hero 右侧报名大卡（融合 urgent-enroll-bar 和 widget-enroll-card 气质） */
.hero-card{
  background:linear-gradient(135deg,#0b5ed7,#083e91);
  color:#fff;
  padding:26px 24px;
  border-radius:var(--radius);
  box-shadow:0 16px 40px rgba(11,94,215,.2);
  position:relative;
}
.hero-card-tag{
  display:inline-block;
  font-size:11px;font-weight:700;letter-spacing:.15em;
  padding:4px 10px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.25);
  border-radius:99px;
  margin-bottom:12px;
  text-transform:uppercase;
}
.hero-card-title{
  font-size:17px;font-weight:700;line-height:1.5;
  margin-bottom:10px;
}
.hero-card-desc{
  font-size:13px;opacity:.9;line-height:1.7;
  margin-bottom:18px;
}
.hero-card-btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:11px 22px;
  background:#fff;color:var(--blue);
  font-size:14px;font-weight:700;
  border-radius:999px;
  transition:.2s;
}
.hero-card-btn:hover{background:#f0f7ff;color:var(--blue-dark);transform:translateY(-1px)}

/* ② 栏目分区加视觉锚点（栏目标志 + 顶部色条） */
.home-cat-section{
  position:relative;
  padding:22px 22px 18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  transition:border-color .2s, box-shadow .2s;
}
.home-cat-section:hover{
  border-color:#bcd8f8;
  box-shadow:0 8px 24px rgba(24,73,134,.06);
}
.home-cat-section::before{
  content:"";
  position:absolute;top:0;left:22px;
  width:32px;height:3px;
  background:var(--blue);
  border-radius:0 0 2px 2px;
}
.cat-head{margin-bottom:12px}
.cat-title{
  font-size:17px;
  letter-spacing:.01em;
}
.cat-list li{
  font-size:14px;
  padding:8px 0 8px 26px;
}
.cat-list li::before{
  width:18px;height:18px;
  font-size:10.5px;
  background:#f0f4f9;color:var(--muted);
}

/* ③ TOC 吸顶位置：96px → 88px，留呼吸感 */
@media(min-width:981px){
  .widget-toc{position:sticky;top:88px}
}

/* ④ 文章页标题放大 + 间距优化 */
.single-title{
  font-size:36px;
  line-height:1.3;
  letter-spacing:-.015em;
  font-weight:800;
}
@media(max-width:640px){.single-title{font-size:26px}}

.single-header{
  padding:56px 0 36px;
}

/* ⑤ 官方信息卡简化（去渐变，纯白 + 蓝边） */
.official-info-card{
  background:#fff;
  border:1.5px solid var(--blue);
  box-shadow:none;
  border-radius:14px;
  padding:22px;
}
.official-title{
  font-size:16px;
  letter-spacing:.01em;
}
.official-item{
  background:transparent;
  border:none;
  padding:0;
}
.official-grid{gap:24px}

/* ⑥ 步骤条圆圈缩小（36px → 28px） */
.step-item{
  padding-left:44px;
  margin-bottom:16px;
}
.step-item::before{
  width:28px;height:28px;
  font-size:13px;font-weight:700;
  box-shadow:0 2px 8px rgba(11,94,215,.18);
}
.step-item::after{
  left:13px;top:32px;
  width:1.5px;
  height:calc(100% - 18px);
}
.step-item strong{font-size:15px}

/* ==========================================================================
   四期打磨 · 4 项
   ========================================================================== */

/* ① Hero 标题字间距更克制（中文不需要负字距） */
.hero-title{
  letter-spacing:0;
  line-height:1.3;
}

/* ④ FAQ 编号块改淡蓝（克制，跟徽章呼应） */
.faq-list li::before{
  background:#dbeafe;
  color:#1e40af;
  border:1px solid #bfdbfe;
}

/* ⑤ 栏目分区加副标 */
.cat-head{
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}
.cat-head-top{
  display:flex;align-items:baseline;justify-content:space-between;
  width:100%;
}
.cat-sub{
  font-size:12px;color:var(--muted);
  letter-spacing:.01em;
  font-weight:400;
}

/* ⑩ 按钮/标签圆角统一（按钮胶囊 999px / 标签 4px / 卡片 14px） */
.btn,
.hero-card-btn,
.btn-enroll{border-radius:999px}
.post-tag,
.single-tag,
.faq-list li::before,
.cat-list li::before{border-radius:4px}
.home-cat-section,
.widget,
.related-item,
.official-info-card,
.post-nav a{border-radius:0}
