/* 政工师评审官网样式 v2 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#333;line-height:1.8;background:#f9fafb}
a{color:#2563eb;text-decoration:none}
a:hover{text-decoration:underline}

/* 导航栏 */
.navbar{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);position:sticky;top:0;z-index:100}
.nav-container{max-width:1000px;margin:0 auto;padding:12px 20px;display:flex;justify-content:space-between;align-items:center}
.logo{font-size:20px;font-weight:bold;color:#1e40af}
.nav-links a{margin-left:20px;color:#555;font-size:15px}
.nav-links a:hover{color:#2563eb}

/* 首页Hero */
.hero{background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff;padding:50px 20px;text-align:center}
.hero h1{font-size:32px;margin-bottom:12px}
.hero p{font-size:16px;opacity:.95;margin-bottom:8px}
.hero-cta{background:rgba(255,255,255,.2);display:inline-block;padding:8px 20px;border-radius:6px;margin-top:10px;font-weight:bold}
.hero-qr{width:140px;height:140px;border-radius:8px;border:3px solid #fff;margin-top:15px}

/* 分区首页 */
.container{max-width:1000px;margin:30px auto;padding:0 20px}
.cat-section{margin-bottom:40px}
.cat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;border-bottom:2px solid #e5e7eb;padding-bottom:10px}
.cat-header h2{font-size:20px;color:#1e40af}
.view-all{font-size:14px;color:#2563eb}

/* 文章卡片 */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.post-card{background:#fff;border-radius:8px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.08);transition:box-shadow .2s;text-decoration:none;color:#333;display:block}
.post-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.12);text-decoration:none;transform:translateY(-2px)}
.card-cat{display:inline-block;background:#dbeafe;color:#1e40af;font-size:12px;padding:2px 8px;border-radius:4px;margin-bottom:8px}
.card-title{font-size:15px;line-height:1.4;margin-bottom:10px;color:#222}
.card-meta{font-size:13px;color:#888}
.card-meta span{margin-right:12px}

/* 页面标题 */
.page-title{font-size:26px;color:#1e40af;margin-bottom:12px}
.page-desc{color:#888;margin-bottom:25px}

/* 省份卡片 */
.prov-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-bottom:30px}
.prov-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;text-align:center;text-decoration:none;color:#333;transition:all .2s}
.prov-card:hover{border-color:#2563eb;background:#eff6ff;text-decoration:none}
.prov-name{display:block;font-size:18px;font-weight:bold;color:#1e40af;margin-bottom:4px}
.prov-count{display:block;font-size:13px;color:#888}

/* 文章页 */
.post-container{max-width:760px;margin:30px auto;padding:0 20px}
.post-title{font-size:28px;line-height:1.3;margin-bottom:12px;color:#1a1a1a}
.post-meta{font-size:14px;color:#888;margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #e5e7eb}
.post-meta span,.post-meta a{margin-right:15px}
.meta-cat{background:#dbeafe;color:#1e40af;padding:2px 10px;border-radius:4px}
.meta-prov{background:#f0fdf4;color:#15803d;padding:2px 10px;border-radius:4px}

/* 正文排版 */
.post-content{font-size:16px;line-height:1.9}
.post-content h2{font-size:22px;margin:30px 0 15px;color:#1e40af;padding-bottom:8px;border-bottom:2px solid #e5e7eb}
.post-content h3{font-size:18px;margin:25px 0 10px;color:#222}
.post-content p{margin-bottom:16px}
.post-content blockquote{border-left:4px solid #2563eb;background:#eff6ff;padding:12px 16px;margin:16px 0;color:#555;border-radius:0 4px 4px 0}
.post-content ul,.post-content ol{margin:16px 0 16px 24px}
.post-content li{margin-bottom:6px}
.post-content table{width:100%;border-collapse:collapse;margin:16px 0;font-size:15px}
.post-content th,.post-content td{border:1px solid #e5e7eb;padding:10px;text-align:left}
.post-content th{background:#f3f4f6;font-weight:bold}
.post-content hr{border:none;border-top:1px solid #e5e7eb;margin:30px 0}
.post-content strong{color:#1a1a1a}
.post-content img{max-width:100%;height:auto}

/* 作者框（企微） */
.author-box{margin-top:40px;padding:24px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:8px}
.author-box h3{color:#1e40af;margin-bottom:10px}
.author-box p{margin-bottom:8px}
.wx-cta{text-align:center;margin-top:15px}
.wx-id{font-size:18px;font-weight:bold;color:#1e40af;margin-bottom:10px}
.wx-qr{width:180px;height:180px;border-radius:8px;border:3px solid #fff}

/* 页脚 */
.footer{text-align:center;padding:30px 20px;color:#888;font-size:14px;border-top:1px solid #e5e7eb;margin-top:40px}

/* 响应式 */
@media(max-width:768px){
.nav-links a{margin-left:10px;font-size:14px}
.post-grid,.prov-grid{grid-template-columns:1fr}
.hero h1{font-size:24px}
.post-title{font-size:22px}
.cat-header h2{font-size:18px}
}
