/* 黄色仓库 全站样式 - blhahc.cn */
*{box-sizing:border-box}
body{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;margin:0;padding:0;color:#2b3a2c;background:#f5f9f4;line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:#2e7d4f;text-decoration:none}
a:hover{color:#1b5e20;text-decoration:underline}
img{max-width:100%;height:auto;display:block}

/* 顶栏 */
.topbar{background:#1b5e20;color:#fff;font-size:13px;padding:6px 0}
.topbar .wrap{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.topbar a{color:#e8f5e9}

/* 头部 */
header.site-header{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.06);position:sticky;top:0;z-index:50}
header .wrap{max-width:1200px;margin:0 auto;padding:14px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:16px}
header .brand{display:flex;align-items:center;gap:10px;text-decoration:none}
header .brand img{width:46px;height:46px;border-radius:8px}
header .brand h1{font-size:22px;margin:0;color:#1b5e20;font-weight:700}
header .brand h1 small{display:block;font-size:12px;font-weight:400;color:#6e8470}
header nav{flex:1}
header nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
header nav li a{display:inline-block;padding:8px 12px;color:#33453a;font-size:14px;font-weight:600;border-radius:6px}
header nav li a:hover{background:#e8f5e9;text-decoration:none}
.search-box{display:flex;gap:6px}
.search-box input{padding:8px 12px;border:1px solid #cfd8d4;border-radius:24px;outline:none;font-size:14px;width:220px}
.search-box button{padding:8px 18px;background:#2e7d4f;color:#fff;border:none;border-radius:24px;cursor:pointer;font-size:14px}
.search-box button:hover{background:#1b5e20}

/* 主搜索框（头部下方） */
.hero-search{background:linear-gradient(90deg,#e8f5e9,#fff);padding:14px 16px;border-bottom:1px solid #e0ebe1}
.hero-search form{max-width:760px;margin:0 auto;display:flex;gap:8px}
.hero-search input{flex:1;padding:12px 16px;border:1px solid #cfd8d4;border-radius:30px;font-size:15px;outline:none}
.hero-search button{padding:12px 28px;background:#2e7d4f;color:#fff;border:none;border-radius:30px;cursor:pointer;font-weight:600}

/* Banner */
.banner{position:relative;overflow:hidden}
.banner img{width:100%;max-height:480px;object-fit:cover}
.banner-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(13,40,18,.55);color:#fff;padding:24px 32px;border-radius:16px;text-align:center;max-width:90%;backdrop-filter:blur(2px)}
.banner-text h2{margin:0 0 8px;font-size:28px}
.banner-text p{margin:0;font-size:15px;line-height:1.8;opacity:.95}

/* 面包屑 */
.breadcrumb{background:#eef5ec;padding:10px 16px;font-size:13px;color:#5b6e5c}
.breadcrumb .wrap{max-width:1200px;margin:0 auto}
.breadcrumb a{color:#2e7d4f}

/* 主体 */
main{max-width:1200px;margin:24px auto;padding:0 16px}
section.card{background:#fff;border-radius:14px;padding:22px 24px;margin-bottom:22px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
section.card h2,section.card h3{margin-top:0;color:#1b5e20;border-left:4px solid #2e7d4f;padding-left:10px}
section.card p{margin:8px 0}

/* 视频卡片网格 */
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.video-card{border:1px solid #ecf1ec;border-radius:10px;overflow:hidden;background:#fafdfa;transition:transform .2s,box-shadow .2s}
.video-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(46,125,79,.18)}
.video-thumbnail{position:relative;cursor:pointer;background:#000}
.video-thumbnail img{width:100%;height:160px;object-fit:cover;opacity:.95;transition:opacity .2s}
.video-thumbnail:hover img{opacity:.7}
.play-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(0,0,0,.7);color:#fff;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;opacity:0;transition:opacity .2s;pointer-events:none}
.video-thumbnail:hover .play-btn,.video-thumbnail:focus-within .play-btn{opacity:1}
.video-card .meta{padding:10px 12px}
.video-card h4{margin:6px 0;font-size:15px;line-height:1.5}
.video-card .stats{font-size:12px;color:#6c8270;margin:4px 0 8px}
.tag{display:inline-block;background:#e8f5e9;color:#1b5e20;padding:2px 8px;font-size:11px;border-radius:10px;margin:1px 2px}

/* 专家卡片 */
.expert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.expert-card{background:#fafdfa;border:1px solid #ecf1ec;border-radius:10px;padding:14px;text-align:center}
.expert-card img{width:96px;height:96px;border-radius:50%;object-fit:cover;margin:0 auto 8px;border:3px solid #e8f5e9}
.expert-card h4{margin:6px 0 2px;color:#1b5e20}
.expert-card .role{font-size:12px;color:#6c8270;margin-bottom:6px}
.expert-card .bio{font-size:13px;color:#3a4a3c;text-align:left;min-height:64px}
.expert-card .creds{font-size:12px;color:#5b6e5c;margin:6px 0}
.expert-card .actions{display:flex;gap:6px;justify-content:center;margin-top:8px}
.btn{display:inline-block;padding:6px 12px;background:#2e7d4f;color:#fff;border:none;border-radius:18px;font-size:12px;cursor:pointer;text-decoration:none}
.btn.outline{background:#fff;color:#2e7d4f;border:1px solid #2e7d4f}
.btn:hover{background:#1b5e20;color:#fff;text-decoration:none}

/* FAQ */
.faq details{background:#fafdfa;border:1px solid #ecf1ec;border-radius:8px;margin-bottom:8px;padding:10px 14px}
.faq summary{cursor:pointer;font-weight:600;color:#1b5e20}
.faq details[open]{background:#f1f8f1}

/* 用户评价 */
.review-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.review-card{background:#fafdfa;border-left:3px solid #2e7d4f;padding:12px 14px;border-radius:6px;font-size:14px}
.review-card .user{font-weight:600;color:#1b5e20;margin-bottom:4px}
.review-card .stars{color:#f9a825;font-size:13px;margin-bottom:4px}

/* 合作品牌 Logo 墙 */
.partners-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin-top:12px}
.partner{background:#fff;border:1px solid #ecf1ec;border-radius:8px;padding:14px;text-align:center;font-size:13px;color:#5b6e5c}
.partner span{display:block;font-size:24px;margin-bottom:4px}

/* How-To 步骤 */
.howto-steps{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-top:12px}
.step{background:#fafdfa;border-radius:10px;padding:14px;text-align:center;border:1px solid #ecf1ec}
.step img{width:100%;height:140px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.step .num{display:inline-block;background:#2e7d4f;color:#fff;width:26px;height:26px;border-radius:50%;line-height:26px;font-weight:700;margin-bottom:6px}

/* MCP 服务前端 */
.mcp-app{background:linear-gradient(135deg,#e8f5e9,#f5f9f4);padding:18px;border-radius:12px}
.mcp-app .row{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.mcp-app input{flex:1;min-width:160px;padding:10px 14px;border:1px solid #cfd8d4;border-radius:6px}
.mcp-app .out{margin-top:12px;background:#fff;padding:12px;border-radius:6px;min-height:60px;font-size:13px;color:#3a4a3c;border:1px dashed #cfd8d4}

/* 模块栏 */
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.module{background:#fafdfa;border:1px solid #ecf1ec;border-radius:10px;padding:14px;text-align:center;transition:.2s}
.module:hover{border-color:#2e7d4f;background:#f1f8f1}
.module h4{margin:6px 0;color:#1b5e20}
.module p{font-size:13px;color:#5b6e5c;margin:4px 0}

/* 分享 */
.share-bar{display:flex;flex-wrap:wrap;gap:8px}
.share-bar button{padding:8px 16px;background:#fff;border:1px solid #2e7d4f;color:#2e7d4f;border-radius:24px;cursor:pointer;font-size:13px}
.share-bar button:hover{background:#2e7d4f;color:#fff}

/* 联系信息 */
.contact-info{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.contact-info .item{background:#fafdfa;border-radius:8px;padding:12px;border:1px solid #ecf1ec}
.contact-info .item strong{color:#1b5e20}

/* 侧边栏（内页） */
.layout{display:grid;grid-template-columns:1fr 280px;gap:20px}
.sidebar{display:flex;flex-direction:column;gap:18px}
.sidebar .widget{background:#fff;border-radius:10px;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.sidebar .widget h4{margin-top:0;color:#1b5e20;border-left:3px solid #2e7d4f;padding-left:8px}
.sidebar .widget ul{list-style:none;margin:0;padding:0}
.sidebar .widget li{padding:6px 0;border-bottom:1px dashed #ecf1ec;font-size:14px}
.sidebar .widget li:last-child{border-bottom:none}

/* 页脚 */
footer.site-footer{background:#1b3a22;color:#cfe1d2;padding:30px 16px 16px;margin-top:30px}
footer .wrap{max-width:1200px;margin:0 auto}
footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin-bottom:18px}
footer h5{color:#fff;margin:0 0 8px;font-size:15px}
footer a{color:#a5d6a7}
footer .qr{display:flex;gap:12px}
footer .qr img{width:90px;height:90px;background:#fff;border-radius:6px;padding:4px}
footer .copyright{border-top:1px solid #2e5a37;padding-top:12px;text-align:center;font-size:13px;color:#a5d6a7}

/* 响应式 */
@media (max-width:980px){
  .layout{grid-template-columns:1fr}
  header nav ul{justify-content:flex-start}
  .search-box input{width:100%}
  .banner-text h2{font-size:20px}
  .banner-text p{font-size:13px}
}
@media (max-width:600px){
  header .wrap{flex-direction:column;align-items:stretch}
  header .brand{justify-content:center}
  header nav ul{justify-content:center}
  .video-thumbnail .play-btn{opacity:1}
  .banner-text{padding:14px 18px}
}

/* —— 黄色仓库扩展样式补强 —— */
.howto-steps .step{position:relative;background:#fafdfa;border:1px solid #ecf1ec;border-radius:10px;padding:14px;text-align:center}
.howto-steps .step img{width:100%;height:120px;object-fit:cover;border-radius:6px;margin-bottom:8px}
.howto-steps .step .num{position:absolute;top:-10px;left:-10px;width:32px;height:32px;border-radius:50%;background:#2e7d4f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.partners-wall .partner{background:#fafdfa;border:1px dashed #cfd8d4;border-radius:8px;padding:10px 8px;font-size:13px;color:#1b5e20;text-align:center}
.partners-wall .partner span{display:block;font-size:18px;margin-bottom:4px}
.expert-card{background:#fff;border:1px solid #ecf1ec;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px}
.expert-card img{width:100%;height:180px;object-fit:cover;border-radius:10px}
.expert-card h4{margin:6px 0 0;color:#1b5e20}
.expert-card .role{color:#2e7d4f;font-size:13px;font-weight:600}
.expert-card .bio{font-size:13px;color:#4d5d4f;line-height:1.6}
.expert-card .creds{font-size:12px;color:#5b6e5c;background:#f5f9f4;border-radius:6px;padding:8px;line-height:1.7}
.expert-card .actions{display:flex;gap:6px;margin-top:6px}
.expert-card .btn{flex:1;padding:8px;border:none;border-radius:6px;background:#2e7d4f;color:#fff;font-size:13px;cursor:pointer}
.expert-card .btn.outline{background:#fff;color:#2e7d4f;border:1px solid #2e7d4f}
.faq details{background:#fafdfa;border:1px solid #ecf1ec;border-radius:8px;padding:10px 14px;margin-bottom:8px}
.faq summary{cursor:pointer;font-weight:600;color:#1b5e20}
.faq details[open]{background:#f1f8e9}
.share-bar button{padding:6px 12px;border-radius:20px;border:1px solid #cfd8d4;background:#fff;color:#1b5e20;cursor:pointer;font-size:13px}
.share-bar button:hover{background:#2e7d4f;color:#fff}
.mcp-app{background:linear-gradient(120deg,#e8f5e9,#fff);border:1px dashed #2e7d4f;border-radius:14px;padding:18px;margin-bottom:20px}
.mcp-app .row .pill{padding:8px 14px;background:#fff;border:1px solid #cfd8d4;border-radius:20px;font-size:13px;color:#1b5e20}
.module{background:#fafdfa;border:1px solid #ecf1ec;border-radius:10px;padding:14px}
.module h4{margin:0 0 6px;color:#1b5e20;font-size:15px}
.module p{font-size:13px;color:#4d5d4f;margin:0 0 8px}
.tag{display:inline-block;background:#e8f5e9;color:#1b5e20;border-radius:12px;font-size:12px;padding:2px 10px;margin-right:4px}
.card{background:#fff;border-radius:12px;padding:18px;margin-bottom:18px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.card h2{color:#1b5e20;border-left:4px solid #2e7d4f;padding-left:10px;margin-top:0}
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
@media (max-width:980px){.expert-card img{height:160px}.howto-steps .step img{height:100px}}
@media (max-width:600px){.video-thumbnail img{height:140px}.expert-card img{height:200px}.partners-wall{grid-template-columns:repeat(2,1fr)}}
