/* 数据安全工程师初级考试栏目首页公共样式 */
:root{--category-ink:#18201d;--category-muted:#6c746f;--category-line:#d9ded9;--category-paper:#fbfaf5;--category-green:#1f5a4b;--category-hero:#163f35;--category-shadow:0 12px 34px rgba(24,32,29,.07)}
.category-home-page{overflow-x:hidden}
.category-home-page .site-frame{display:block;width:100%;border:0;overflow:hidden}
.category-home-page .site-frame-header{height:128px;background:#fffefa}
.category-home-page .site-frame-footer{height:260px;margin-top:75px;background:#fbfaf5}
.category-home-page .simple-breadcrumb{width:100%;height:50px;margin:0 0 50px;padding:0 clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:flex-start;color:#6c746f;font-size:13px;line-height:1.6}
.category-home-page .simple-breadcrumb a,.category-home-page .simple-breadcrumb span{min-width:0;padding:0;display:inline;border:0;background:transparent;color:inherit;font-size:13px;line-height:1.6;text-decoration:none;white-space:nowrap}
.category-home-page .simple-breadcrumb a:hover,.category-home-page .simple-breadcrumb a:focus-visible{color:var(--category-green);outline:none}
.category-home-page .simple-breadcrumb .separator{margin:0 8px;color:#9aa29d}
.category-home-page .site-frame-course-nav{height:56px;margin:0 0 80px;background:transparent}
.category-home-page .course-mode-frame{display:block;height:64px;margin-bottom:75px;background:transparent}
.category-home-page .learning-layout{width:100%;margin:0;padding:0;display:grid;grid-template-columns:300px minmax(0,1fr);gap:32px;align-items:start;box-sizing:border-box}
.category-home-page .learning-layout>main,.category-home-page .learning-layout>.home{min-width:0;width:100%;max-width:none;margin:0;box-sizing:border-box}
.category-home-page .section-sidebar{position:static;top:auto;width:300px;min-width:300px;max-width:300px;align-self:start;padding:18px;background:var(--category-paper);border:1px solid var(--category-line);border-bottom:0;border-radius:16px;box-shadow:0 8px 24px rgba(24,32,29,.05);box-sizing:border-box}
.category-home-page .section-sidebar-title{margin:0 0 12px;padding:0 4px 12px;color:var(--category-muted);border-bottom:1px solid var(--category-line);font-size:12px;font-weight:600;letter-spacing:.12em;text-align:left}
.category-home-page .section-nav{width:100%;min-width:0;display:flex;flex-direction:column;gap:7px;padding:0;background:transparent;border:0!important;border-bottom:1px solid #eceeea!important}
.category-home-page .nav-group{margin:0;border:1px solid #e1e3df;border-radius:10px;background:#fffefa;overflow:hidden}
.category-home-page .nav-group summary{min-height:46px;padding:10px 12px;display:grid;grid-template-columns:24px minmax(0,1fr) auto;column-gap:8px;align-items:center;cursor:pointer;list-style:none;color:var(--category-ink);font-size:13px;line-height:1.35;font-weight:700;text-align:left}
.category-home-page .nav-group summary::-webkit-details-marker{display:none}
.category-home-page .nav-group summary::after{content:"+";grid-column:3;grid-row:1 / span 2;align-self:center;justify-self:end;color:var(--category-green);font:700 17px Arial,sans-serif}
.category-home-page .nav-group[open] summary{color:var(--category-green);background:#f1eee5;border-bottom:1px solid #e1e3df}
.category-home-page .nav-group[open] summary::after{content:"−"}
.category-home-page .group-index{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--category-green);color:#fff;font-size:12px;font-weight:700}
.category-home-page .group-title{min-width:0;text-align:left;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.category-home-page .group-count{color:#7a837e;font-size:11px;white-space:nowrap}
.category-home-page .group-sections{padding:4px 12px 8px}
.category-home-page .section-nav .section-link{min-height:38px;padding:8px 0;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;justify-items:start;gap:8px;border-bottom:1px solid #eceeea;border-radius:0;background:transparent;color:var(--category-ink);font-size:12px;line-height:1.35;text-align:left;text-decoration:none}
.category-home-page .section-nav a.section-link:hover,.category-home-page .section-nav a.section-link:focus-visible{color:var(--category-green);outline:none}
.category-home-page .section-number{width:30px;display:inline-flex;align-items:center;justify-content:flex-start;color:inherit;font:700 14px Arial,sans-serif}
.category-home-page .section-name{width:100%;min-width:0;font-weight:700;text-align:left}
.category-home-page .home-hero{height:72px;min-height:0;margin:0 0 34px;padding:0 30px;display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr) minmax(120px,1fr);align-items:center;gap:20px;border:0;border-radius:18px;background:var(--category-hero);color:#fff;box-shadow:var(--category-shadow);overflow:hidden;box-sizing:border-box}
.category-home-page .home-hero .eyebrow{margin:0 0 7px;color:#d8ece5;font-size:12px;font-weight:800;letter-spacing:.12em}
.category-home-page .home-hero .eyebrow:first-child{justify-self:start;margin:0;text-align:left}
.category-home-page .home-hero h1{justify-self:center;margin:0;color:#fff;font-family:SimSun,"Songti SC",serif;font-size:42px;font-weight:700;line-height:1.2;text-align:center}
.category-home-page .home-hero .eyebrow:last-child{justify-self:end;margin:0;text-align:right}
.category-home-page .home-hero .lead{max-width:920px;margin:12px 0 0;color:#d8ece5;font-size:14px;line-height:1.85}
.category-home-page .back-to-top{position:fixed;right:18px;bottom:18px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--category-green);color:#fff;text-decoration:none}
@media(max-width:900px){.category-home-page .learning-layout{width:calc(100% - 28px);margin:0 auto;grid-template-columns:minmax(0,1fr);gap:18px}.category-home-page .section-sidebar{width:100%;min-width:0;max-width:none;padding:10px 14px;border-bottom:1px solid var(--category-line);border-radius:12px}.category-home-page .section-sidebar-title{display:block;margin-bottom:6px;padding-bottom:10px}.category-home-page .section-nav{gap:0}.category-home-page .nav-group{margin-bottom:8px}}
@media(max-width:860px){.category-home-page .simple-breadcrumb{padding-left:16px;padding-right:16px}}
@media(max-width:860px){.category-home-page .site-frame-course-nav{height:240px;margin-bottom:15px}.category-home-page .course-mode-frame{height:224px;margin-bottom:20px}}
@media(max-width:720px){.category-home-page .home-hero{height:72px;min-height:0;padding:0 20px;grid-template-columns:minmax(82px,1fr) minmax(0,2fr) minmax(82px,1fr);gap:10px}.category-home-page .home-hero h1{font-size:34px}}
@media(max-width:520px){.category-home-page .learning-layout{width:calc(100% - 20px);margin:14px auto 0}.category-home-page .section-sidebar{padding:10px 14px}}


/* 清除 home-hero 左右文字可能继承的色块与蒙层 */
.category-home-page .home-hero{position:relative;isolation:isolate}
.category-home-page .home-hero .eyebrow{
  position:relative!important;z-index:2!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;outline:0!important;box-shadow:none!important;text-shadow:none!important;
  filter:none!important;backdrop-filter:none!important;opacity:1!important;
}
.category-home-page .home-hero .eyebrow::before,
.category-home-page .home-hero .eyebrow::after{content:none!important;display:none!important;background:none!important;box-shadow:none!important}

/* Category home progress widget and navigation sidebar stack */
.category-home-page .sidebar-stack{width:300px;min-width:300px;max-width:300px;align-self:start;display:flex;flex-direction:column;gap:0;box-sizing:border-box}
.category-home-page .study-progress-frame{display:block;width:100%;height:150px;margin:0 0 -10px;border:0;overflow:hidden;background:transparent}
.category-home-page .sidebar-stack>.section-sidebar{width:100%;min-width:0;max-width:none;margin:0}
@media(max-width:900px){.category-home-page .sidebar-stack{width:100%;min-width:0;max-width:none}.category-home-page .study-progress-frame{width:100%;height:132px}}
