/* ============ 基础 ============ */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Microsoft YaHei",Arial,sans-serif;font-size:14px;color:#333;background:#f0f2f5;line-height:1.7}
a{color:#16324f;text-decoration:none}
a:hover{color:#e87a2e}
img{max-width:100%}
.container{width:1200px;margin:0 auto}

/* ============ 面包屑 ============ */
.breadcrumb{font-size:13px;color:#999;padding:14px 0 4px}
.breadcrumb a{color:#16324f}
.breadcrumb a:hover{color:#e87a2e}
.breadcrumb .sep{margin:0 6px;color:#ccc}

/* ============ 头部 ============ */
.site-header{background:#fff;box-shadow:0 2px 10px rgba(22,50,79,.1)}
.topbar{background:#16324f;color:#a8b8cc;font-size:13px;height:34px;line-height:34px}
.topbar .container{display:flex;justify-content:space-between;align-items:center}
.topbar a{color:#a8b8cc}
.topbar a:hover{color:#fff}
.topbar .sep{margin:0 8px;color:#3d5a7d}
.header-main{padding:16px 0}
.header-main .container{display:flex;justify-content:space-between;align-items:center}
.site-logo a{font-size:28px;font-weight:700;color:#16324f;letter-spacing:1px}
.site-logo a:hover{color:#e87a2e}
.logo-sub{margin-top:2px;font-size:12px;color:#999;letter-spacing:1px}
.site-search form{display:flex;height:38px;border:2px solid #e87a2e;border-radius:4px;overflow:hidden}
.search-input{width:300px;border:none;padding:0 12px;font-size:14px;outline:none}
.search-btn{width:78px;border:none;background:#e87a2e;color:#fff;font-size:14px;cursor:pointer}
.search-btn:hover{background:#d4671f}
.site-nav{background:#16324f}
.nav-list{display:flex;list-style:none}
.nav-list li{position:relative}
.nav-list li a{display:block;padding:0 28px;height:50px;line-height:50px;color:#fff;font-size:16px;font-weight:600}
.nav-list li a:hover{background:#1d4a75}
.nav-list li.active a{background:#e87a2e;color:#fff}
.nav-list li.active a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffa366}

@media(max-width:768px){
  .container{width:100%;padding:0 12px}
  .header-main .container{flex-direction:column;gap:12px;padding:12px}
  .site-logo a{font-size:24px}
  .search-input{width:200px}
  .nav-list{flex-wrap:wrap}
  .nav-list li a{padding:0 16px;height:44px;line-height:44px;font-size:14px}
  .topbar-contact{display:none}
}

/* ============ 首页 ============ */
.home-layout{display:flex;gap:24px;padding:20px 0 40px}
.home-layout .main-content{flex:7;min-width:0}
.home-layout .sidebar{flex:3;min-width:0}

/* Hero */
.hero{background:linear-gradient(135deg,#16324f 0%,#1d4a75 70%,#26598c 100%);border-radius:10px;padding:44px 40px;margin-bottom:22px;box-shadow:0 4px 16px rgba(22,50,79,.2)}
.hero-title{font-size:34px;font-weight:700;color:#fff;letter-spacing:2px;margin-bottom:10px}
.hero-desc{font-size:15px;color:#a8b8cc;letter-spacing:1px}

/* 区块标题 */
.sec-title{font-size:20px;font-weight:700;color:#16324f;position:relative;padding-left:14px;margin-bottom:16px}
.sec-title::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;border-radius:2px;background:#e87a2e}

/* 精选推荐 */
.featured{background:#fff;border-radius:10px;padding:22px 24px;margin-bottom:22px;box-shadow:0 2px 8px rgba(22,50,79,.06)}
.featured-list{list-style:none}
.featured-list li{padding:12px 0;border-bottom:1px dashed #e8eaf0}
.featured-list li:last-child{border-bottom:none}
.featured-list a{font-size:15px;color:#16324f}
.featured-list a:hover{color:#e87a2e}
.featured-date{float:right;font-size:12px;color:#aaa}

/* 栏目卡片 */
.home-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}
.col-card{background:#fff;border-radius:10px;padding:20px 22px;box-shadow:0 2px 8px rgba(22,50,79,.06);border-top:3px solid #e87a2e;transition:transform .2s,box-shadow .2s}
.col-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(22,50,79,.12)}
.col-title{font-size:17px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f0f1f5}
.col-title a{color:#16324f}
.col-title a:hover{color:#e87a2e}
.col-list{list-style:none}
.col-list li{padding:7px 0}
.col-list a{font-size:14px;color:#555;line-height:1.5;display:block}
.col-list a:hover{color:#e87a2e}
.col-list .d{float:right;font-size:12px;color:#bbb}

/* 最新文章流 */
.latest{background:#fff;border-radius:10px;padding:22px 24px;box-shadow:0 2px 8px rgba(22,50,79,.06)}
.latest-list{list-style:none}
.latest-item{padding:18px 0;border-bottom:1px solid #f0f1f5}
.latest-item:last-child{border-bottom:none}
.latest-title{font-size:17px;margin-bottom:6px}
.latest-title a{color:#16324f}
.latest-title a:hover{color:#e87a2e}
.latest-intro{font-size:13px;color:#888;line-height:1.7;margin-bottom:8px}
.latest-meta{font-size:12px;color:#aaa}
.latest-meta a{color:#e87a2e}

/* 侧边栏 */
.sidebar .widget{background:#fff;border-radius:10px;padding:18px 20px;margin-bottom:18px;box-shadow:0 2px 8px rgba(22,50,79,.06)}
.widget-title{font-size:16px;font-weight:700;color:#16324f;position:relative;padding-left:12px;margin-bottom:14px}
.widget-title::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:2px;background:#e87a2e}
.widget-list{list-style:none}
.widget-list li{padding:8px 0;border-bottom:1px dashed #eef0f4;font-size:14px}
.widget-list li:last-child{border-bottom:none}
.widget-list a{color:#555;display:block}
.widget-list a:hover{color:#e87a2e}
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag-link{display:inline-block;padding:4px 12px;font-size:12px;color:#4a6a8f;background:#eef3f9;border-radius:12px}
.tag-link:hover{background:#e87a2e;color:#fff}

/* ============ 列表页 ============ */
.list-layout{display:flex;gap:24px;padding:0 0 40px}
.list-layout .main-content{flex:7;min-width:0}
.list-layout .sidebar{flex:3;min-width:0}
.list-head{background:#fff;border-radius:10px;padding:22px 24px;margin-bottom:20px;border-left:4px solid #e87a2e;box-shadow:0 2px 8px rgba(22,50,79,.06)}
.list-title{font-size:22px;color:#16324f;margin-bottom:8px}
.list-intro{font-size:13px;color:#888;line-height:1.7}
.article-list{list-style:none}
.article-item{background:#fff;border-radius:10px;padding:20px 24px;margin-bottom:14px;box-shadow:0 2px 8px rgba(22,50,79,.06);transition:transform .2s,box-shadow .2s}
.article-item:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(22,50,79,.1)}
.article-title{font-size:18px;margin-bottom:8px}
.article-title a{color:#16324f}
.article-title a:hover{color:#e87a2e}
.article-intro{font-size:13px;color:#888;margin-bottom:10px;line-height:1.7}
.article-meta{font-size:12px;color:#aaa}
.article-meta a{color:#e87a2e}
.pagination{padding:16px 0;text-align:center}
.pagination a,.pagination .pagecur{display:inline-block;padding:5px 13px;margin:0 3px;border-radius:4px;font-size:13px;color:#16324f;background:#fff;border:1px solid #e0e3ea}
.pagination a:hover{background:#e87a2e;color:#fff;border-color:#e87a2e}
.pagination .pagecur{background:#e87a2e;color:#fff;border-color:#e87a2e}

/* ============ 内容页 ============ */
.show-layout{display:flex;gap:24px;padding:0 0 40px}
.show-layout .main-content{flex:7;min-width:0}
.show-layout .sidebar{flex:3;min-width:0}
.show-article{background:#fff;border-radius:10px;padding:32px;box-shadow:0 2px 8px rgba(22,50,79,.06)}
.show-title{font-size:24px;color:#16324f;margin-bottom:12px}
.show-meta{font-size:12px;color:#aaa;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #f0f1f5}
.show-meta a{color:#e87a2e}
.show-content{font-size:15px;color:#444;line-height:1.9}
.show-content h2{font-size:18px;color:#16324f;margin:24px 0 10px;padding-left:10px;border-left:3px solid #e87a2e}
.show-content h3{font-size:16px;color:#16324f;margin:18px 0 8px}
.show-content p{text-indent:2em;margin-bottom:14px}
.show-prevnext{padding:14px 0;font-size:13px;color:#888}
.show-prevnext a{color:#16324f}
.show-prevnext a:hover{color:#e87a2e}

/* ============ 页脚 ============ */
.site-footer{background:#16324f;color:#a8b8cc;margin-top:40px}
.footer-main{padding:40px 0 30px;border-top:4px solid #e87a2e}
.footer-cols{display:flex;justify-content:space-between;gap:40px}
.footer-col .footer-title{font-size:16px;color:#fff;margin-bottom:16px;font-weight:600}
.footer-col .footer-title a{color:#fff}
.footer-col .footer-title a:hover{color:#e87a2e}
.footer-about{flex:2}
.footer-about .footer-desc{margin-bottom:8px;font-size:13px}
.footer-about .footer-icp{font-size:12px;color:#7d93ad}
.footer-nav{flex:1}
.footer-links{list-style:none}
.footer-links li{margin-bottom:8px}
.footer-links a{color:#a8b8cc;font-size:14px}
.footer-links a:hover{color:#fff}
.footer-contact{flex:1}
.footer-contact-list{list-style:none}
.footer-contact-list li{margin-bottom:8px;font-size:14px}
.footer-bottom{background:#0f2436;height:44px;line-height:44px}
.footer-bottom .container{display:flex;justify-content:center;align-items:center;height:100%}
.footer-bottom p{font-size:13px;color:#7d93ad}

@media(max-width:768px){
  .home-layout,.list-layout,.show-layout{flex-direction:column}
  .home-columns{grid-template-columns:1fr}
  .footer-cols{flex-direction:column;gap:24px}
  .hero{padding:30px 20px}
  .hero-title{font-size:26px}
}

/* ===== 手机端悬浮客服条 ===== */
.mobile-kefu{display:none}
.mk-wx-pop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1000;align-items:center;justify-content:center}
.mk-wx-pop.show{display:flex}
.mk-wx-box{background:#fff;border-radius:12px;padding:26px 22px 22px;text-align:center;width:270px;position:relative;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.mk-wx-close{position:absolute;top:8px;right:12px;border:none;background:none;font-size:22px;color:#999;cursor:pointer;line-height:1}
.mk-wx-title{font-size:17px;color:#16324f;font-weight:600;margin:0 0 12px}
.mk-wx-num{font-size:15px;color:#333;margin:0 0 16px}
.mk-wx-num span{color:#16a34a;font-weight:600}
.mk-wx-copy{width:100%;background:#16a34a;color:#fff;border:none;border-radius:8px;padding:11px;font-size:15px;cursor:pointer}
.mk-wx-copy:active{opacity:.85}

@media(max-width:768px){
  .mobile-kefu{display:flex;position:fixed;left:8px;right:8px;bottom:8px;z-index:999;background:#16a34a;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.22);overflow:hidden}
  .mk-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 0 8px;color:#fff;text-decoration:none;border-right:1px solid rgba(255,255,255,.28);-webkit-tap-highlight-color:transparent}
  .mk-item:last-child{border-right:none}
  .mk-item:active{background:rgba(255,255,255,.2)}
  .mk-ico{width:22px;height:22px;margin-bottom:4px;background-size:contain;background-repeat:no-repeat;background-position:center}
  .mk-item span{font-size:11px;line-height:1.3;white-space:nowrap}
  .mk-ico-home{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010.5%2012%203l9%207.5%22%2F%3E%3Cpath%20d%3D%22M5%209.5V21h14V9.5%22%2F%3E%3C%2Fsvg%3E")}
  .mk-ico-tel{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M6.62%2010.79a15.05%2015.05%200%200%200%206.59%206.59l2.2-2.2a1%201%200%200%201%201.02-.24c1.12.37%202.33.57%203.57.57a1%201%200%200%201%201%201V20a1%201%200%200%201-1%201A17%2017%200%200%201%203%204a1%201%200%200%201%201-1h3.5a1%201%200%200%201%201%201c0%201.24.2%202.45.57%203.57a1%201%200%200%201-.25%201.02l-2.2%202.2z%22%2F%3E%3C%2Fsvg%3E")}
  .mk-ico-wechat{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M9.5%205C6.1%205%203.4%207.3%203.4%2010.1c0%201.6.8%203%202%203.9l-.5%201.6c-.1.3.2.5.4.3l1.8-1c.6.1%201.1.2%201.7.2l.3-.3c-.4-.9-.6-1.8-.6-2.7%200-3%202.7-5.4%206-5.4h.4C14.1%206.3%2012%205%209.5%205zM6.8%207.6a.85.85%200%201%201%200%201.7.85.85%200%200%201%200-1.7zm4.8%200a.85.85%200%201%201%200%201.7.85.85%200%200%201%200-1.7z%22%2F%3E%3Cpath%20d%3D%22M21%2013.4c0-2.5-2.4-4.4-5.4-4.4s-5.4%201.9-5.4%204.4c0%202.4%202.4%204.4%205.4%204.4.7%200%201.4-.1%202-.3l1.6.9c.2.1.5-.1.4-.3l-.4-1.4c1.2-.8%201.8-1.8%201.8-3.3zM14%2011a.75.75%200%201%201%200%201.5.75.75%200%200%201%200-1.5zm3.2%200a.75.75%200%201%201%200%201.5.75.75%200%200%201%200-1.5z%22%2F%3E%3C%2Fsvg%3E")}
  .mk-ico-contact{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M12%2012a4.5%204.5%200%201%200%200-9%204.5%204.5%200%200%200%200%209zm0%202c-4.42%200-8%202.69-8%206v2h16v-2c0-3.31-3.58-6-8-6z%22%2F%3E%3C%2Fsvg%3E")}
}

/* ===== 悬浮客服：桌面版（右侧橙红悬浮竖排） ===== */
@media(min-width:769px){
  .mobile-kefu{display:flex;flex-direction:column;position:fixed;right:18px;bottom:120px;z-index:999;background:#e87a2e;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.22);overflow:hidden}
  .mk-item{flex:none;width:74px;padding:11px 0 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-decoration:none;border-right:none;border-bottom:1px solid rgba(255,255,255,.28);transition:background .2s}
  .mk-item:last-child{border-bottom:none}
  .mk-item:hover{background:rgba(255,255,255,.18)}
  .mk-ico{width:24px;height:24px;margin-bottom:4px;background-size:contain;background-repeat:no-repeat;background-position:center}
  .mk-item span{font-size:12px;line-height:1.3;white-space:nowrap}
}
