/* ============================================================
   留存道 · 专栏样式 20261010
   风格：亚麻底 + 鼠尾草绿，整理收纳的清爽与秩序感
   覆盖全部 bs-* 类与旧模板遗留类，五页共用
   ============================================================ */
:root{
  --ink:#33403a;
  --sage:#5f7d6d;
  --sage-deep:#43604f;
  --sage-light:#e9efe9;
  --linen:#f6f4ee;
  --card:#ffffff;
  --line:#e3dfd4;
  --clay:#b7855a;
  --muted:#7c857f;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",system-ui,sans-serif;
  color:var(--ink);background:var(--linen);line-height:1.75;font-size:15px;
}
img{max-width:100%;height:auto;border:0}
a{color:var(--sage-deep);text-decoration:none}
a:hover{color:var(--sage)}
.bs-wrap{max-width:1080px;margin:0 auto;padding:0 20px}

/* ---------- 顶部工具条 ---------- */
.bs-utility{background:var(--sage-deep);color:#eef2ee;font-size:13px}
.bs-utility .bs-wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px}
.bs-utility a{color:#fff;opacity:.9}
.bs-utility span{opacity:.75}

/* ---------- 头部 ---------- */
.bs-header{display:flex;align-items:center;gap:28px;padding:18px 20px;background:var(--card);border-bottom:1px solid var(--line)}
.bs-brand{display:inline-flex;align-items:baseline;gap:10px;flex-shrink:0}
.bs-brand .brand-cn{font-size:30px;font-weight:700;letter-spacing:6px;color:var(--sage-deep)}
.bs-brand .brand-en{font-size:11px;letter-spacing:3px;color:var(--muted);text-transform:uppercase}
.bs-brand img{max-height:56px;width:auto}
.bs-nav{display:flex;gap:4px;flex:1;flex-wrap:wrap}
.bs-nav a{padding:8px 16px;border-radius:20px;font-size:15px;color:var(--ink)}
.bs-nav a:hover{background:var(--sage-light)}
.bs-nav a[aria-current],.bs-nav a.active{background:var(--sage);color:#fff}
.bs-phone{flex-shrink:0;text-align:right;line-height:1.3}
.bs-phone small{display:block;font-size:11px;color:var(--muted);letter-spacing:1px}
.bs-phone{font-size:19px;font-weight:700;color:var(--sage-deep)}

/* ---------- 首页 Hero ---------- */
.bs-home .bs-hero{position:relative;background:linear-gradient(160deg,#eef2ec 0%,var(--linen) 70%);overflow:hidden}
.bs-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;padding-top:64px;padding-bottom:64px}
.bs-hero-copy h1{font-size:40px;line-height:1.35;font-weight:700;letter-spacing:1px;margin-bottom:18px}
.bs-hero-copy h1 em{font-style:normal;color:var(--sage)}
.bs-hero-copy p{font-size:16px;color:var(--muted);margin-bottom:26px}
.bs-hero-caption{margin-top:22px;font-size:12.5px;color:var(--muted);letter-spacing:2px}
.bs-hero-caption::before{content:"";display:inline-block;width:26px;height:1px;background:var(--sage);vertical-align:middle;margin-right:10px}
/* CSS 收纳盒图形（无照片依赖） */
.bs-hero-visual{position:relative;min-height:340px}
.bs-box{position:absolute;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 28px rgba(67,96,79,.10)}
.bs-box.b1{width:62%;height:52%;left:0;top:8%;display:flex;flex-direction:column;justify-content:flex-end;padding:16px}
.bs-box.b2{width:46%;height:34%;right:0;top:0;background:var(--sage-light);border-color:#d7e2d9}
.bs-box.b3{width:52%;height:30%;right:6%;bottom:4%}
.bs-box .fold{height:12px;border-radius:6px;background:var(--sage-light);margin:6px 14px 0}
.bs-box .fold.w80{width:80%}.bs-box .fold.w60{width:60%}.bs-box .fold.w40{width:40%}
.bs-box .tag{position:absolute;top:-12px;right:14px;background:var(--clay);color:#fff;font-size:12px;padding:3px 12px;border-radius:12px;letter-spacing:2px}
.bs-box .cap{font-size:12px;color:var(--muted);padding:10px 14px 4px;letter-spacing:1px}
.bs-hero-image{margin:0}
.bs-hero-image img{width:100%;height:auto;border-radius:18px;box-shadow:0 16px 40px rgba(67,96,79,.16);border:6px solid #fff;display:block}

/* ---------- 按钮 / 链接 ---------- */
.bs-button{display:inline-block;background:var(--sage);color:#fff;padding:13px 34px;border-radius:26px;font-size:15px;letter-spacing:2px;transition:background .2s}
.bs-button:hover{background:var(--sage-deep);color:#fff}
.bs-text-link{display:inline-block;margin-top:14px;font-size:14px;color:var(--sage-deep);border-bottom:1px solid var(--sage)}
.bs-text-link:hover{color:var(--sage)}

/* ---------- 区块 ---------- */
.bs-section{padding:58px 0 8px}
.bs-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px;gap:16px;flex-wrap:wrap}
.bs-section-head h2{font-size:27px;font-weight:700;letter-spacing:1px;line-height:1.4}
.bs-section-head>a{font-size:14px;color:var(--sage-deep);white-space:nowrap}
.bs-kicker{display:block;font-size:12px;letter-spacing:4px;color:var(--clay);text-transform:uppercase;margin-bottom:8px}
.bs-intro{color:var(--muted);font-size:14.5px;margin-bottom:22px;max-width:720px}
.bs-course-note{font-size:12.5px;color:var(--muted);background:var(--sage-light);border-left:3px solid var(--sage);padding:10px 16px;border-radius:0 8px 8px 0;margin:22px 0 30px}

/* ---------- 课程目录（SQL 标签 dl/dd） ---------- */
.bs-catalog{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.bs-catalog dd.row1{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.bs-catalog dd.row1:hover{box-shadow:0 12px 30px rgba(67,96,79,.13);transform:translateY(-2px)}
.bs-catalog .row-data{padding:18px 20px 16px}
.bs-catalog .row-data h3{font-size:17.5px;line-height:1.5;margin-bottom:10px}
.bs-catalog .row-data h3 a{color:var(--ink)}
.bs-catalog .row-data h3 a:hover{color:var(--sage)}
.bs-catalog .row-img{margin:0 0 12px;border-radius:10px;overflow:hidden;background:var(--sage-light);aspect-ratio:29/14}
.bs-catalog .row-img img{width:100%;height:100%;object-fit:cover;display:block}
.bs-catalog .row-date,.bs-catalog .row-place,.bs-catalog .row-fee{font-size:13.5px;color:var(--muted);padding:3px 0}
.bs-catalog .row-date span,.bs-catalog .row-place span,.bs-catalog .row-fee span{color:var(--ink)}

/* ---------- 学习方向 ---------- */
.bs-learning{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:40px;margin:34px 0}
.bs-learning h2{font-size:25px;font-weight:700;line-height:1.45;margin-bottom:14px}
.bs-learning>p{color:var(--muted);font-size:14.5px}
.bs-learning-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bs-learning-list article{background:var(--linen);border-radius:12px;padding:18px 18px 16px;border:1px solid var(--line)}
.bs-learning-list article span{display:inline-block;font-size:12px;letter-spacing:2px;color:var(--clay);margin-bottom:8px}
.bs-learning-list h3{font-size:16.5px;margin-bottom:6px}
.bs-learning-list p{font-size:13.5px;color:var(--muted);line-height:1.7}

/* ---------- 方法区（替代照片） ---------- */
.bs-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:8px 0 6px}
.bs-method{background:var(--card);border:1px solid var(--line);border-top:3px solid var(--sage);border-radius:12px;padding:24px 22px}
.bs-method .no{font-size:13px;letter-spacing:3px;color:var(--clay);margin-bottom:10px}
.bs-method h3{font-size:18px;margin-bottom:8px;letter-spacing:1px}
.bs-method p{font-size:13.5px;color:var(--muted)}
.bs-method ul{margin-top:10px;list-style:none}
.bs-method li{font-size:13px;color:var(--muted);padding:3px 0 3px 16px;position:relative}
.bs-method li::before{content:"";position:absolute;left:2px;top:12px;width:6px;height:6px;border-radius:50%;background:var(--sage)}

/* ---------- 动态 ---------- */
.bs-news ul{list-style:none;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:8px 24px}
.bs-news li{display:flex;justify-content:space-between;gap:18px;padding:13px 4px;border-bottom:1px dashed var(--line);font-size:14.5px}
.bs-news li:last-child{border-bottom:0}
.bs-news li a{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bs-news li a:hover{color:var(--sage)}
.bs-news li span{color:var(--muted);font-size:13px;white-space:nowrap}

/* ---------- FAQ ---------- */
.bs-faq details{background:var(--card);border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}
.bs-faq summary{cursor:pointer;padding:16px 22px;font-size:15.5px;font-weight:600;list-style:none;position:relative;padding-right:44px}
.bs-faq summary::-webkit-details-marker{display:none}
.bs-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--sage);font-weight:400}
.bs-faq details[open] summary::after{content:"–"}
.bs-faq details p{padding:0 22px 18px;color:var(--muted);font-size:14px}

/* ---------- 报名 ---------- */
.bs-registration{display:grid;grid-template-columns:.85fr 1.15fr;gap:44px;background:var(--sage-deep);color:#eef3ee;border-radius:20px;padding:44px;margin:46px 0 40px;align-items:center}
.bs-registration .bs-kicker{color:#cfe0d3}
.bs-registration h2{font-size:26px;color:#fff;margin-bottom:12px}
.bs-registration p{color:#cfe0d3;font-size:14.5px}
.bs-registration>a{display:inline-block;margin-top:16px;font-size:21px;font-weight:700;color:#fff;letter-spacing:1px}
.bs-registration form{background:#fff;border-radius:14px;padding:26px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bs-registration label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}
.bs-registration label em{color:var(--clay);font-style:normal}
.bs-registration .bs-full{grid-column:1/-1}
.bs-registration input,.bs-registration textarea{border:1px solid var(--line);border-radius:8px;padding:11px 13px;font-size:14px;color:var(--ink);background:var(--linen);font-family:inherit}
.bs-registration input:focus,.bs-registration textarea:focus{outline:2px solid var(--sage);outline-offset:0;background:#fff}
.bs-registration button{grid-column:1/-1;background:var(--sage);color:#fff;border:0;border-radius:26px;padding:13px;font-size:15px;letter-spacing:2px;cursor:pointer}
.bs-registration button:hover{background:var(--sage-deep)}
.bs-form-note{grid-column:1/-1;font-size:12px;color:var(--muted);text-align:center}

/* ---------- 面包屑 / 目录页 ---------- */
.bs-crumb{padding:16px 0 0;font-size:13px;color:var(--muted)}
.bs-crumb a{color:var(--muted)}
.bs-crumb b{color:var(--sage-deep);font-weight:600}
.bs-directory h1,.bs-news-directory h1{font-size:26px;font-weight:700;padding:16px 0 6px}
.bs-course .bs-intro{margin-top:8px}

/* ---------- 文章页 ---------- */
.bs-article-grid{display:grid;grid-template-columns:1fr 300px;gap:34px;padding:26px 0 10px;align-items:start}
.bs-article h1{font-size:25px;line-height:1.5;margin-bottom:14px}
.bs-body{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:28px 30px;font-size:15px}
.bs-body p{margin:0 0 14px}
.bs-body img{border-radius:10px;margin:8px 0}
.bs-body table{width:100%;border-collapse:collapse;margin:10px 0}
.bs-body td,.bs-body th{border:1px solid var(--line);padding:8px 12px;font-size:14px}
.bs-sidebar>div{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;margin-bottom:18px}
.bs-sidebar h3{font-size:16px;margin-bottom:12px;padding-bottom:10px;border-bottom:2px solid var(--sage-light)}
.bs-sidebar ul{list-style:none}
.bs-sidebar li{padding:7px 0;border-bottom:1px dashed var(--line);font-size:13.5px}
.bs-sidebar li:last-child{border-bottom:0}
.bs-sidebar li a{color:var(--ink);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bs-sidebar li a:hover{color:var(--sage)}
.bs-contact{text-align:center}
.bs-contact .bs-button{margin:10px 0 14px}
/* 文章元信息（旧类兼容） */
.content-info{font-size:13px;color:var(--muted);margin-bottom:16px;padding-bottom:12px;border-bottom:1px dashed var(--line)}
.classmore{margin-top:22px;padding-top:14px;border-top:1px dashed var(--line);font-size:13.5px;color:var(--muted)}
.bs-course_article{margin:14px 0;font-size:14.5px;color:var(--muted)}

/* ---------- 旧列表类兼容（news.html 等） ---------- */
.content{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px 26px}
.content-left{float:left;width:100%}
.content-left-list1{list-style:none}
.content-left-list1 li{padding:12px 4px;border-bottom:1px dashed var(--line);font-size:14.5px;display:flex;justify-content:space-between;gap:16px}
.content-left-list1 li a{color:var(--ink)}
.content-left-list1 li a:hover{color:var(--sage)}
.content-left-list1 li span{color:var(--muted);font-size:13px;white-space:nowrap}
.left1{font-size:13px;color:var(--muted)}
.clearfix::after{content:"";display:table;clear:both}

/* ---------- 页脚 ---------- */
.footer{background:var(--sage-deep);color:#cfe0d3;text-align:center;padding:30px 16px;font-size:13px;line-height:2.1;margin-top:30px}
.footer a{color:#fff;opacity:.9}

/* ---------- 手机底部 ---------- */
.fixed-bottom{display:none}

/* ---------- 响应式 ---------- */
@media(max-width:900px){
  .bs-hero-grid{grid-template-columns:1fr;padding-top:40px;padding-bottom:44px}
  .bs-hero-copy h1{font-size:30px}
  .bs-hero-visual{min-height:250px;margin-top:6px}
  .bs-learning{grid-template-columns:1fr;padding:26px}
  .bs-methods{grid-template-columns:1fr}
  .bs-registration{grid-template-columns:1fr;padding:28px}
  .bs-registration form{grid-template-columns:1fr}
  .bs-article-grid{grid-template-columns:1fr}
  .bs-catalog{grid-template-columns:1fr}
  .bs-learning-list{grid-template-columns:1fr}
  .bs-header{flex-wrap:wrap;gap:12px}
  .bs-nav{order:3;width:100%}
  .bs-phone{margin-left:auto}
}
@media(max-width:640px){
  body{font-size:14px}
  .bs-section{padding:40px 0 4px}
  .bs-hero-copy h1{font-size:25px}
  .bs-brand .brand-cn{font-size:24px;letter-spacing:4px}
  .fixed-bottom{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:99;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(51,64,58,.08)}
  .fixed-bottom a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 10px;font-size:11px;color:var(--muted)}
  .fixed-bottom a:active{color:var(--sage-deep)}
  .fixed-bottom img{width:22px;height:22px;filter:invert(1) brightness(.55);-webkit-filter:invert(1) brightness(.55)}
  .footer{padding-bottom:74px}
  .bs-catalog .row-img{aspect-ratio:5/3}
}

/* 2026-10-10 首屏图片下方标注所推广课程（留存道整理师创业全能班 319739） */
.bs-hero-course{margin:14px 6px 0}
.bs-hero-course a{display:flex;align-items:center;gap:12px;padding:12px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none;box-shadow:0 8px 20px rgba(67,96,79,.08);transition:border-color .2s}
.bs-hero-course a:hover{border-color:var(--sage)}
.bs-hero-course small{font-size:12px;color:var(--muted);letter-spacing:.08em;white-space:nowrap}
.bs-hero-course strong{font-size:17px;color:var(--sage-deep);font-weight:700}
.bs-hero-course span{margin-left:auto;font-size:14px;color:var(--sage);white-space:nowrap}
@media(max-width:640px){.bs-hero-course{margin:10px 0 0}.bs-hero-course a{flex-wrap:wrap;gap:4px 10px;padding:10px 14px}.bs-hero-course strong{font-size:15px}.bs-hero-course span{font-size:13px}}
