/* portal01 - 蓝白科技门户风 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;color:#1a1a2e;background:#f5f7fa;line-height:1.7}
a{color:#2563eb;text-decoration:none}
a:hover{color:#1d4ed8}
img{max-width:100%;border-radius:8px}

/* header */
#site-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:1000;box-shadow:0 1px 8px rgba(0,0,0,.06)}
#site-header .inner{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;align-items:center;height:60px;gap:24px}
.site-logo{font-size:20px;font-weight:700;color:#1e40af;white-space:nowrap}
.site-logo span{color:#2563eb}
.site-nav{display:flex;gap:4px;flex:1}
.site-nav a{padding:6px 14px;border-radius:6px;color:#374151;font-size:14px;transition:.2s}
.site-nav a:hover{background:#eff6ff;color:#2563eb}

/* hero */
.hero{background:linear-gradient(135deg,#1e40af 0%,#2563eb 50%,#3b82f6 100%);padding:56px 24px;text-align:center;color:#fff}
.hero h1{font-size:2.2rem;font-weight:800;margin-bottom:12px;text-shadow:0 2px 4px rgba(0,0,0,.2)}
.hero p{font-size:1.05rem;opacity:.9;max-width:600px;margin:0 auto 28px}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.hero-tags a{background:rgba(255,255,255,.15);color:#fff;padding:5px 14px;border-radius:20px;font-size:13px;border:1px solid rgba(255,255,255,.3);transition:.2s}
.hero-tags a:hover{background:rgba(255,255,255,.25)}

/* main layout */
.main-wrap{max-width:1280px;margin:0 auto;padding:32px 24px;display:grid;grid-template-columns:1fr 300px;gap:28px}
@media(max-width:900px){.main-wrap{grid-template-columns:1fr}.sidebar{display:none}}

/* section */
.section{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.section-title{font-size:17px;font-weight:700;color:#1e40af;margin-bottom:18px;padding-bottom:10px;border-bottom:2px solid #eff6ff;display:flex;align-items:center;gap:8px}
.section-title::before{content:'';display:inline-block;width:4px;height:18px;background:#2563eb;border-radius:2px}

/* article list */
.arc-list{list-style:none}
.arc-item{padding:14px 0;border-bottom:1px solid #f3f4f6;display:flex;gap:12px}
.arc-item:last-child{border-bottom:none}
.arc-num{width:28px;height:28px;background:#eff6ff;color:#2563eb;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}
.arc-item:nth-child(-n+3) .arc-num{background:#2563eb;color:#fff}
.arc-info h3{font-size:14px;margin-bottom:4px}
.arc-info h3 a{color:#1f2937;transition:.2s}
.arc-info h3 a:hover{color:#2563eb}
.arc-meta{font-size:12px;color:#9ca3af}

/* tag cloud */
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag-cloud a{background:#eff6ff;color:#2563eb;padding:5px 12px;border-radius:20px;font-size:13px;border:1px solid #dbeafe;transition:.2s}
.tag-cloud a:hover{background:#2563eb;color:#fff}

/* sidebar */
.sidebar .section{margin-bottom:20px}
.s-list{list-style:none}
.s-list li{padding:8px 0;border-bottom:1px solid #f3f4f6;font-size:13px}
.s-list li:last-child{border-bottom:none}
.s-list a{color:#374151;transition:.2s}
.s-list a:hover{color:#2563eb}

/* article page */
.article-wrap{max-width:1280px;margin:0 auto;padding:32px 24px;display:grid;grid-template-columns:1fr 300px;gap:28px}
@media(max-width:900px){.article-wrap{grid-template-columns:1fr}}
.article-body{background:#fff;border-radius:12px;padding:32px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.article-title{font-size:1.6rem;font-weight:800;color:#111827;margin-bottom:12px;line-height:1.4}
.article-meta{font-size:13px;color:#9ca3af;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #f3f4f6}
.article-content{line-height:1.9;color:#374151}
.article-content h2,.article-content h3{color:#1e40af;margin:24px 0 12px;font-weight:700}
.article-content p{margin-bottom:14px}
.article-content ul,.article-content ol{padding-left:24px;margin-bottom:14px}
.article-content table{width:100%;border-collapse:collapse;margin:16px 0}
.article-content table th,.article-content table td{border:1px solid #e5e7eb;padding:8px 12px;text-align:left;font-size:14px}
.article-content table th{background:#eff6ff;color:#1e40af}
.related-title{font-size:15px;font-weight:700;color:#1e40af;margin:28px 0 14px;padding-top:20px;border-top:1px solid #f3f4f6}
.related-list{list-style:none}
.related-list li{padding:6px 0;font-size:13px}
.related-list a{color:#374151}
.related-list a:hover{color:#2563eb}

/* site footer */
#site-footer{background:#1e293b;color:#94a3b8;padding:28px 24px;margin-top:40px;text-align:center;font-size:13px}
#site-footer a{color:#64748b}
#site-footer a:hover{color:#94a3b8}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-bottom:12px}

/* mobile */
@media(max-width:600px){
  .hero h1{font-size:1.5rem}
  .main-wrap,.article-wrap{padding:16px 12px}
  .section{padding:16px}
  .article-body{padding:20px}
}
