/*
Theme Name: 万事帮企业主题
Theme URI: https://wanshihelp.com/
Author: 青岛万事帮
Author URI: https://wanshihelp.com/
Description: 万事帮企业主题 v3：为 PHP 8.3 从零重写，不依赖任何插件（无 WPJAM、无 Codestar、无 jQuery、无第三方轮播库）。外观与旧站一致：公告栏、导航、横幅轮播、服务展示、新闻中心、页脚五栏。服务/新闻仍读文章分类，旧文章无需迁移。
Version: 3.0.13
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wanshihelp-v3
Tags: blue, white, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments
*/

/* ============ reset ============ */
*,*::before,*::after{box-sizing:border-box}
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0}
fieldset,img{border:0}
img{max-width:100%;height:auto}
body{font:14px/1.7 "PingFang SC","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#333;background:#fff;-webkit-text-size-adjust:100%}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.4}
a{color:#2365ac;text-decoration:none}
a:hover{color:#2365ac;text-decoration:underline}
ul,ol{list-style:none}
input,button,textarea,select{font-family:inherit;font-size:16px}
button{cursor:pointer}
.clearfix::after{content:"";display:block;clear:both}
html,body{overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.page-width{width:1120px;max-width:100%;margin:0 auto;padding-left:15px;padding-right:15px}
#wrapper{min-height:100vh}
::selection{background:#2365ac;color:#fff}

/* ============ 公告栏 ============ */
#hellobar{width:100%;background:#316eb1;color:#fff;overflow:hidden}
#hellobar .hellobar-inner{padding:13px 0}
#hellobar p{font-size:14px;line-height:1.6}
#hellobar .hellobar-close{float:right;cursor:pointer;font-size:18px;line-height:1.4;font-style:normal}
#hellobar .hellobar-icon{margin-right:4px;font-style:normal}
#hellobar .hellobar-animate{display:inline-block;white-space:nowrap}
@media (max-width:767px){
  /* 原来 Xin 手机上公告是横向滚动字幕（15 秒循环），v3 之前改成了换行静止显示，现改回原来滚动的样子 */
  #hellobar .hellobar-animate{animation:wsh-words-loop 15s linear infinite normal}
}
@keyframes wsh-words-loop{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@-webkit-keyframes wsh-words-loop{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}

/* ============ 桌面头 ============ */
.default-top{display:block;background-color:#f9f7f8}
.default-top .top-main{border-bottom:1px solid #eee}
.default-top .logo{float:left;padding:10px 0}
.default-top .logo img{height:80px;width:auto;max-width:none;display:block}
.default-top .top-main-content{float:right}
.default-top .main-nav ul{display:flex;align-items:center;height:100px}
.default-top .main-nav li{margin-left:5px;position:relative}
.default-top .main-nav a{display:block;line-height:100px;padding:0 12px;font-size:17px;color:#222}
.default-top .main-nav a:hover{color:#2365ac;text-decoration:none}
.default-top .main-nav .current-menu-item>a,.default-top .main-nav .current-post-ancestor>a{color:#2365ac}
.default-top .main-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.12);z-index:100}
.default-top .main-nav li:hover>.sub-menu,.default-top .main-nav li.sub-open>.sub-menu{display:block}
.default-top .main-nav .sub-menu a{line-height:1.5;padding:10px 16px;font-size:15px;white-space:nowrap}
.default-top .header-search{float:left;margin-left:10px;position:relative}
.default-top .header-search-toggle{border:0;background:none;font-size:20px;line-height:100px;color:#222;padding:0 6px}
#search-form{display:none;position:absolute;top:100%;right:0;width:320px;background:#fff;padding:10px;box-shadow:0 4px 16px rgba(0,0,0,.15);z-index:100}
#search-form.open{display:block}
#search-form fieldset{border:0;display:flex;gap:6px}
#search-form input[type=text]{flex:1;min-width:0;height:38px;border:1px solid #ddd;padding:0 10px;font-size:16px}
#search-form input[type=submit]{height:38px;padding:0 16px;border:0;background:#2365ac;color:#fff}

/* ============ 手机头 ============ */
.touch-top{display:none}
@media (max-width:1120px){
  .default-top{display:none}
  .touch-top{display:block;background:#fff}
  .touch-top-wrapper{padding:15px;position:relative}
  .touch-top-wrapper .touch-logo img{height:40px;width:auto;max-width:none;display:block}
  .touch-top-wrapper .touch-navigation{position:absolute;right:10px;top:15px}
  .touch-top-wrapper .drawer-menu{display:flex;align-items:center;gap:6px;font-size:18px;color:#222;height:70px}
  .touch-top-wrapper .drawer-menu .menu-icon{display:inline-block;width:22px;height:16px;position:relative}
  .touch-top-wrapper .drawer-menu .menu-icon::before,.touch-top-wrapper .drawer-menu .menu-icon::after,
  .touch-top-wrapper .drawer-menu .menu-icon i{content:"";position:absolute;left:0;right:0;height:2px;background:#222}
  .touch-top-wrapper .drawer-menu .menu-icon::before{top:0}
  .touch-top-wrapper .drawer-menu .menu-icon i{top:7px}
  .touch-top-wrapper .drawer-menu .menu-icon::after{bottom:0}
  .touch-toggle-content{display:none}
  .touch-toggle-content.open{display:block;animation:wsh-drawer-down .3s ease}
  @keyframes wsh-drawer-down{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
  /* 抽屉菜单：按原来 Xin 的样式——蓝底白字，48px 一行，子菜单默认收起，点父级展开 */
  .drawer-section{max-height:70vh;max-height:70dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#2365ac;padding:20px 20px 60px}
  .drawer-section .touch-menu li{border-bottom:1px solid rgba(255,255,255,.09);position:relative}
  .drawer-section .touch-menu a{display:block;height:48px;line-height:48px;padding:0 0 0 10px;font-size:18px;color:#fff}
  .drawer-section .touch-menu a:hover,.drawer-section .touch-menu a:active{background:#fff;color:#333;text-decoration:none}
  .drawer-section .touch-menu .sub-menu{display:none;margin:0;padding:10px 10px 10px 20px;border-top:1px solid rgba(255,255,255,.09)}
  .drawer-section .touch-menu .sub-open>.sub-menu{display:block}
  .drawer-section .touch-menu .sub-menu li:last-child{border-bottom:0}
  .drawer-section .touch-menu .sub-menu a{height:38px;line-height:38px;padding:0 0 0 5px;font-size:16px}
  .drawer-section .touch-menu .menu-item-has-children>a::after{content:"";display:inline-block;width:8px;height:8px;margin-left:8px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
  .drawer-section .touch-menu .sub-open>a::after{transform:rotate(-135deg) translateY(-1px)}
}
@media (max-width:767px){
  .touch-top-wrapper .touch-logo img{height:30px}
  .touch-top-wrapper .drawer-menu{height:50px}
}
@media (max-width:430px){
  .drawer-section .touch-menu a{font-size:16px}
}

/* ============ 横幅轮播 ============ */
.wsh-banner{position:relative;background:#ecedef;overflow:hidden}
.wsh-banner .banner-track{position:relative}
/* 两张图比例差很多（图1 690×275，图2 1050×667）：原来按原图高度显示，手机上轮播到图2 时横幅高达 238px、切回图1 又只剩 149px，还留灰底空档。统一按图1 的 690:275 裁切，高度固定不跳 */
.wsh-banner .banner-slide{display:none;aspect-ratio:690/275}
.wsh-banner .banner-slide:first-child{display:block}
.wsh-banner .banner-slide .carousel-img{height:100%}
.wsh-banner .banner-slide img{width:100%;height:100%;object-fit:cover;display:block}
.wsh-banner.is-ready .banner-track{display:flex;transition:transform .5s ease}
.wsh-banner.is-ready .banner-slide{display:block;flex:0 0 100%;min-width:0}
.wsh-banner .banner-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:5}
.wsh-banner .banner-dots button{width:10px;height:10px;border:0;border-radius:50%;background:rgba(255,255,255,.6);padding:0;cursor:pointer}
.wsh-banner .banner-dots button.active{width:20px;border-radius:5px;background:#fff}
.wsh-banner .banner-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:24px;line-height:1;display:none;align-items:center;justify-content:center}
.wsh-banner:hover .banner-arrow{display:flex}
.wsh-banner .banner-arrow.prev{left:20px}
.wsh-banner .banner-arrow.next{right:20px}
@media (max-width:767px){
  .wsh-banner .banner-arrow{display:none !important}
}

/* ============ 首页模块通用 ============ */
.module-full-screen{padding:45px 0}
.module-full-screen-title{text-align:center;margin-bottom:30px}
.module-full-screen-title h2{font-size:26px;color:#333}
.module-full-screen-title h3{font-size:14px;color:#888;font-weight:400}
.module-title-content{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px}
.module-title-content .mark-left,.module-title-content .mark-right{display:block;width:40px;height:2px;background:#2365ac;opacity:.5}
.module-full-screen-more{text-align:center;margin-top:25px}
.module-full-screen-more a{display:inline-block;padding:8px 30px;border:1px solid #2365ac;color:#2365ac;border-radius:20px;font-size:15px}
.module-full-screen-more a:hover{background:#2365ac;color:#fff;text-decoration:none}
.module-full-screen-hl{color:#fff}
.module-full-screen-hl .module-full-screen-title h2,.module-full-screen-hl .module-full-screen-title h3{color:#fff}
html.js [data-animate]{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
html.js [data-animate].wsh-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html.js [data-animate]{opacity:1;transform:none;transition:none}
  .wsh-banner.is-ready .banner-track{transition:none}
}

/* 新闻模块（类型1） */
.entry-list-time-hl .entry-list{display:grid;grid-template-columns:1fr 1fr;gap:20px 40px}
.entry-list-time-hl .entry-item{position:relative;padding-left:100px;border-bottom:1px dotted #ccc;min-height:80px;padding-bottom:15px}
.entry-list-time-hl .time{position:absolute;left:0;top:0;width:75px;background:#f2f2f2;text-align:center}
.entry-list-time-hl .time-day{display:block;line-height:50px;border-bottom:1px solid #e1e1e1;color:#666;font-size:30px}
.entry-list-time-hl .time-date{display:block;color:#999;line-height:22px;font-size:12px}
.entry-list-time-hl .entry-title h2{font-size:16px}
.entry-list-time-hl .entry-title a{color:#333}
.entry-list-time-hl .entry-title a:hover{color:#2365ac}
.entry-list-time-hl .entry-summary p{font-size:13px;color:#888;line-height:1.7}
@media (max-width:767px){
  .entry-list-time-hl .entry-list{grid-template-columns:1fr}
  .entry-list-time-hl .entry-item{padding-left:80px}
  .entry-list-time-hl .time{width:60px}
  .entry-list-time-hl .time-day{line-height:40px;font-size:26px}
}

/* 产品轮播（类型2） */
.product-carousel{position:relative}
.product-carousel .carousel-viewport{overflow-x:auto;scroll-snap-type:x mandatory;display:flex;gap:20px;padding-bottom:6px;scrollbar-width:none}
.product-carousel .carousel-viewport::-webkit-scrollbar{display:none}
.product-carousel .product-card{flex:0 0 calc(25% - 15px);scroll-snap-align:start;text-align:center}
.product-carousel .product-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:#f2f2f2}
.product-carousel .product-card h2{font-size:15px;margin-top:10px}
.product-carousel .product-card a{color:#333}
.product-carousel .carousel-arrow{position:absolute;top:38%;width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.4);color:#fff;font-size:20px;z-index:5}
.product-carousel .carousel-arrow.prev{left:-10px}
.product-carousel .carousel-arrow.next{right:-10px}
@media (max-width:1023px){.product-carousel .product-card{flex-basis:calc(33.333% - 14px)}}
@media (max-width:767px){.product-carousel .product-card{flex-basis:calc(50% - 10px)}.product-carousel .carousel-arrow{display:none}}

/* 关于模块（类型3） */
.about-module .about-grid{display:flex;gap:40px;align-items:center}
.about-module .about-grid>*{flex:1;min-width:0}
.about-module .about-grid img{width:100%;display:block}
.about-module .about-title{font-size:22px;color:#333;margin-bottom:12px}
.about-module .about-desc{font-size:16px;color:#555;line-height:1.9}
@media (max-width:767px){.about-module .about-grid{flex-direction:column;gap:20px}}

/* 服务网格（类型4） */
#product-modular{display:flex;flex-wrap:wrap;gap:20px 2%}
#product-modular li{flex:0 0 23.5%;text-align:center;display:flex}
#product-modular .scrollable-item{width:100%;display:flex;flex-direction:column}
#product-modular .scrollable-img{aspect-ratio:263/180;background:#f2f2f2;overflow:hidden}
#product-modular .scrollable-img img{width:100%;height:100%;object-fit:cover;display:block}
#product-modular h2{font-size:15px;margin-top:10px}
#product-modular h2 a{color:#333}
@media (max-width:1024px){#product-modular li{flex-basis:31.33%}}
@media (max-width:767px){
  #product-modular li{flex-basis:48.5%}
  #product-modular .scrollable-img{aspect-ratio:263/180}
  #product-modular .scrollable-img img{object-fit:contain}
  #product-modular h2 a{display:block}
}

/* 图文链接（类型5） */
.link-cards{display:flex;gap:3%}
.link-cards .link-card{flex:1;min-width:0;position:relative;overflow:hidden}
.link-cards .link-card img{width:100%;display:block}
.link-cards .link-name-default{position:absolute;left:0;right:0;bottom:0;padding:10px 14px;background:rgba(0,0,0,.55);color:#fff}
.link-cards .link-name-default h3{font-size:16px}
.link-cards .link-overlay{position:absolute;inset:0;background:rgba(35,101,172,.85);color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;opacity:0;transition:opacity .3s}
.link-cards .link-card:hover .link-overlay{opacity:1}
.link-cards .link-overlay h3{font-size:18px;margin-bottom:8px}
.link-cards .link-overlay p{font-size:14px}
.link-cards .link-more{display:inline-block;margin-top:12px;padding:6px 20px;border:1px solid #fff;border-radius:16px;font-size:14px}
@media (max-width:767px){.link-cards{flex-direction:column;gap:20px}}

/* 合作伙伴（类型6） */
.partner-list{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.partner-list li{flex:0 0 180px;text-align:center}
.partner-list img{max-width:100%;height:auto}

/* 特点（类型7） */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.feature-box{display:flex;gap:14px}
.feature-box .box-icon{flex:0 0 auto}
.feature-box .icon-rounded{display:inline-flex;width:52px;height:52px;border-radius:50%;background:#2365ac;color:#fff;align-items:center;justify-content:center;font-size:24px;font-style:normal}
.feature-box h6{font-size:16px;margin-bottom:6px}
.feature-box p{font-size:14px;color:#666}
@media (max-width:767px){.feature-grid{grid-template-columns:1fr 1fr;gap:20px}}
@media (max-width:430px){.feature-grid{grid-template-columns:1fr}}

/* 数字统计（类型8） */
.count-up-sec{background:#072948 url(assets/images/count-bg.jpg) no-repeat center/cover;padding:76px 0;position:relative}
.count-up-sec-overlay{position:absolute;inset:0;background:rgba(7,41,72,.55)}
.count-up-sec .page-width{position:relative}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;color:#fff}
.stats-grid .counter{font-size:42px;font-weight:700;line-height:1.2}
.stats-grid h4{font-size:16px;font-weight:400;margin-top:6px}
@media (max-width:767px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:30px 10px}.stats-grid .counter{font-size:32px}}

/* ============ 内页横幅 ============ */
.inner-banner{background:#ecedef;overflow:hidden}
.inner-banner img{width:100%;height:auto;display:block}

/* ============ 内页布局 ============ */
.main{padding:30px 0 50px}
.main .content{float:right;width:calc(100% - 330px)}
.main .content.no-sidebar{width:100%;float:none}
.main .sidebar{float:left;width:300px}
@media (max-width:1023px){
  .main .content,.main .sidebar{float:none;width:100%}
  .main .sidebar{margin-top:40px}
}
.page-title{margin-bottom:20px;border-bottom:1px solid #eee;padding-bottom:12px}
.breadcrumbs{font-size:14px;color:#666}
.breadcrumbs a{color:#2365ac}
.breadcrumbs .sep{margin:0 6px;color:#999}
.article-title h1{font-size:26px;margin-bottom:12px}
.entry-meta{font-size:13px;color:#888;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:8px 20px}
.article-content{font-size:15px;line-height:2}
.article-content p{margin-bottom:14px}
.article-content img{max-width:100%;height:auto}
.entry-tags{margin-top:20px;font-size:14px;color:#888}
.detail-bottom{margin-top:30px;border-top:1px solid #eee;padding-top:20px}
.detail-bottom .prev-next{display:flex;justify-content:space-between;gap:10px;margin-bottom:20px}
.detail-bottom .prev-next a{font-size:14px}
.produc-cat{background:#ecedef}

/* 产品文章页 */
.product-detail{display:flex;gap:30px}
.product-detail .product-gallery{flex:0 0 45%}
.product-detail .product-gallery img{width:100%;display:block}
.product-detail .product-info{flex:1;min-width:0}
.product-detail .product-info h2{font-size:24px;margin-bottom:14px}
.product-abstract{font-size:15px;color:#555;line-height:1.9;margin:14px 0}
.product-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.product-buttons a{display:inline-block;padding:8px 22px;border:1px solid #666;color:#666;border-radius:4px}
.product-buttons a:hover{border-color:#2365ac;color:#2365ac;text-decoration:none}
@media (max-width:767px){.product-detail{flex-direction:column}}

/* 归档列表 */
.news-list .entry-item{position:relative;padding-left:100px;border-bottom:1px dotted #ccc;min-height:80px;padding-bottom:15px;margin-bottom:15px}
.news-list .time{position:absolute;left:0;top:0;width:75px;background:#f2f2f2;text-align:center}
.news-list .time-day{display:block;line-height:50px;border-bottom:1px solid #e1e1e1;color:#666;font-size:30px}
.news-list .time-date{display:block;color:#999;line-height:22px;font-size:12px}
.news-list .entry-title h2{font-size:17px}
.news-list .entry-title a{color:#333}
.news-list .entry-summary p{font-size:14px;color:#888}
.news-img-list .news-item{display:flex;gap:18px;border-bottom:1px dotted #ccc;padding-bottom:18px;margin-bottom:18px}
.news-img-list .media-left{flex:0 0 220px}
.news-img-list .media-left img{width:100%;aspect-ratio:380/306;object-fit:cover;display:block;background:#f2f2f2}
.news-img-list h4{font-size:17px;margin-bottom:8px}
.news-img-list h4 a{color:#333}
.news-img-list .info{font-size:13px;color:#999;margin-bottom:8px}
.news-img-list .des{font-size:14px;color:#888}
@media (max-width:767px){.news-img-list .media-left{flex-basis:120px}.news-img-list .media-left img{aspect-ratio:1/1}}
.product-list ul{display:flex;flex-wrap:wrap;gap:20px 2%}
.product-list li{flex:0 0 31.33%;text-align:center}
.product-list .portfolio-img{aspect-ratio:1/1;background:#f2f2f2;overflow:hidden}
.product-list .portfolio-img img{width:100%;height:100%;object-fit:cover;display:block}
.product-list h2{font-size:15px;margin-top:10px}
.product-list h2 a{color:#333}
@media (max-width:767px){.product-list li{flex-basis:48.5%}}
.produc-menu-children{background:#f7f7f7;padding:12px 0;margin-bottom:25px}
.produc-menu-children ul{display:flex;flex-wrap:wrap;gap:6px 18px}
.produc-menu-children a{color:#333;font-size:15px}
.produc-menu-children a:hover{color:#2365ac}

/* 分页 */
.pagination{margin-top:30px;text-align:center}
.pagination a,.pagination span{display:inline-block;min-width:34px;height:34px;line-height:34px;padding:0 8px;margin:0 3px;border:1px solid #ddd;color:#333;font-size:14px}
.pagination a:hover{border-color:#2365ac;color:#2365ac;text-decoration:none}
.pagination .current{background:#2365ac;border-color:#2365ac;color:#fff}

/* 相关推荐 */
.related{margin-top:30px}
.related h2{font-size:18px;margin-bottom:14px;border-bottom:1px solid #eee;padding-bottom:8px}
.related ul{list-style:disc inside}
.related li{padding:6px 0;border-bottom:1px dotted #eee}
.related li a{color:#333}
.related .related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;list-style:none}
.related .related-grid li{border:0;padding:0;text-align:center}
.related .related-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:#f2f2f2}
.related .related-grid h2{font-size:14px;border:0;padding:0;margin-top:8px}
@media (max-width:767px){.related .related-grid{grid-template-columns:repeat(2,1fr)}}

/* ============ 侧栏 ============ */
.sidebar{position:sticky;top:30px}
@media (max-width:1023px){.sidebar{position:static}}
.sidebar .widget{margin-bottom:30px}
.sidebar .widget__title-text{padding:13px 15px;font-size:16px;color:#fff;background:#0059a9}
.sidebar .widget ul{border:1px solid #eee;border-top:0}
.widget_SpecialCatPosts li,.widget_SpecialCatBigPicPosts li{display:flex;gap:12px;padding:12px 14px;border-bottom:1px solid #f2f2f2;align-items:center}
.widget_SpecialCatPosts li:last-child,.widget_SpecialCatBigPicPosts li:last-child{border-bottom:0}
.widget_SpecialCatPosts img{width:80px;height:60px;object-fit:cover;flex:0 0 auto;background:#f2f2f2}
.widget_SpecialCatBigPicPosts img{width:110px;height:88px;object-fit:cover;flex:0 0 auto;background:#f2f2f2}
.widget_SpecialCatPosts h4,.widget_SpecialCatBigPicPosts h4{font-size:14px;font-weight:400;line-height:1.6}
.widget_SpecialCatPosts h4 a,.widget_SpecialCatBigPicPosts h4 a{color:#333}
.widget_SpecialCatPosts h4 a:hover,.widget_SpecialCatBigPicPosts h4 a:hover{color:#2365ac}
.widget_tag_cloud a,.hot-tags a{display:inline-block;padding:4px 12px;margin:0 6px 8px 0;border:1px solid #ddd;color:#666;font-size:13px !important;border-radius:14px}
.widget_tag_cloud a:hover,.hot-tags a:hover{border-color:#2365ac;color:#2365ac;text-decoration:none}

/* ============ 页脚 ============ */
.footer{background-color:#222;color:#fff;font-size:13px;overflow:hidden}
.footer a{color:#e5e5e5}
.footer a:hover{color:#fff}
.footer-main .page-width{padding-top:45px;padding-bottom:35px}
.footer-cols{display:flex;gap:30px}
.footer-cols .footer-col{flex:1;min-width:0}
.footer-cols h3{font-size:16px;color:#fff;margin-bottom:16px}
.footer-cols li{padding:4px 0}
.footer-cols li a{font-size:13px}
.footer-qr{text-align:center}
.footer-qr img{width:130px;display:inline-block;padding-bottom:5px}
.site-footer{background-color:#222;color:#999;text-align:center;line-height:2;padding:14px 0;font-size:13px}
.site-footer .footer-menu{margin-bottom:6px}
.site-footer .footer-menu li{display:inline-block;padding:0 5px}
.site-footer .footer-menu a{color:#777}
.site-footer a{color:#999}
@media (max-width:767px){
  .footer-main .page-width{display:none}
  .site-footer{padding-left:15px;padding-right:15px}
}

/* ============ 右侧客服挂件 ============ */
.consultation{width:50px;position:fixed;bottom:3%;right:1.8%;z-index:999}
.consultation li{position:relative;margin-bottom:6px}
.consultation .ico{width:50px;height:50px;display:block;background:#2365ac;border-radius:4px;padding:9px}
.consultation .popup{display:none;position:absolute;right:58px;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #eee;box-shadow:0 4px 16px rgba(0,0,0,.15);padding:12px;text-align:center;white-space:nowrap;z-index:1000}
.consultation li:hover .popup,.consultation li.open .popup{display:block}
.consultation .popup img{width:130px;display:block;margin:0 auto 6px}
.consultation .popup em{font-style:normal;font-size:13px;color:#666}
@media (max-width:1024px){.consultation{display:none}}

/* ============ 手机底部栏 ============ */
.mobi-bar{display:none;width:100%;background:#333;position:fixed;bottom:0;left:0;z-index:999}
.mobi-bar li{flex:1;text-align:center}
.mobi-bar a{display:block;padding:12px 0;color:#fff;font-size:14px}
.mobi-bar a i{font-style:normal}
.mobile_btn{display:none;position:fixed;z-index:98;bottom:0;left:0;right:0;text-align:center;background:#fff;border-top:1px solid #f2f2f2;padding:8px 0 4px}
.mobile_btn ul{display:flex}
.mobile_btn li{flex:1}
.mobile_btn a{display:block;font-size:13px;color:#333}
.mobile_btn a i{display:block;font-size:20px;font-style:normal;margin-bottom:2px}
.mobile_btn a i svg{display:block;width:24px;height:24px;margin:0 auto;color:#2365ac}
.mobile-foot-weixin-dropdown{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:1000;align-items:center;justify-content:center}
.mobile-foot-weixin-dropdown.open{display:flex}
.mobile-foot-weixin-dropdown .tooltip-weixin-inner{background:#fff;padding:24px;text-align:center;border-radius:8px;max-width:86vw}
.mobile-foot-weixin-dropdown .tooltip-weixin-inner img{width:180px}
.mobile-foot-weixin-dropdown .close-weixin{position:absolute;top:16px;right:16px;width:36px;height:36px;cursor:pointer}
.mobile-foot-weixin-dropdown .close-weixin::before,.mobile-foot-weixin-dropdown .close-weixin::after{content:"";position:absolute;top:17px;left:6px;width:24px;height:2px;background:#fff}
.mobile-foot-weixin-dropdown .close-weixin::before{transform:rotate(45deg)}
.mobile-foot-weixin-dropdown .close-weixin::after{transform:rotate(-45deg)}
@media (max-width:767px){
  .mobi-bar{display:flex}
  .mobile_btn{display:block}
  .mobile_btn.has-mobi-bar{bottom:44px}
  body.has-bottom-bars #wrapper{margin-bottom:100px}
  body.has-mobi-bar-only #wrapper{margin-bottom:50px}
  body.has-foot-menu-only #wrapper{margin-bottom:56px}
}

/* ============ 评论 ============ */
.comments-area{margin-top:30px}
.comments-area .comments-title{font-size:18px;margin-bottom:20px}
.comment-list li{margin-bottom:20px;border-bottom:1px solid #f2f2f2;padding-bottom:16px}
.comment-wrapper{display:flex;gap:14px}
.comment-author-avatar img{border-radius:50%;width:48px;height:48px}
.comment-content{flex:1;min-width:0}
.comment-author-name{font-size:15px}
.comment-metadata{font-size:12px;color:#999;margin:4px 0 8px}
.comment-metadata .reply-link{margin-left:10px}
.comment-form label{display:block;margin:10px 0 4px;font-size:14px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1px solid #ddd;padding:9px 10px;font-size:16px}
.comment-form textarea{min-height:110px}
.comment-form .submit{margin-top:12px;background:#2365ac;color:#fff;border:0;padding:10px 26px;font-size:15px}
.comment-form .comment-notes{font-size:13px;color:#888}

/* ============ 搜索/404 ============ */
.search-title,.not-found h1{font-size:24px;margin-bottom:16px}
.not-found{text-align:center;padding:80px 0}
.not-found .big-404{font-size:120px;line-height:1;color:#2365ac;font-weight:100}
.not-found p{font-size:18px;color:#777;margin:16px 0 24px}
.not-found .back-home{display:inline-block;padding:10px 30px;border:2px solid #777;border-radius:25px;color:#777}
.not-found .back-home:hover{border-color:#2365ac;color:#2365ac;text-decoration:none}
