/* ============================================================
   财瑞君 · PbootCMS 主题补充样式
   说明：主样式沿用原站 skin/css（resetcommon/style/index/news），
        本文件仅补充分页、侧边栏、留言表单等 PbootCMS 特有元素。
   主色：#9c0000
   ============================================================ */

/* ---------- 分页（PbootCMS 数字条） ---------- */
.apage { text-align: right; padding: 10px 0 20px; }
.apage a { display: inline-block; line-height: 30px; height: 30px; min-width: 30px; text-align: center; }
.apage .cur { border: 1px solid #D5D5D5; background-color: #9C0001; color: #fff; }
.no-data { text-align: center; color: #999; font-size: 16px; padding: 60px 0; }

/* ---------- 侧边悬浮客服 ---------- */
.side-bar { position: fixed; right: 12px; bottom: 90px; z-index: 999; width: 52px; }
.side-bar .side-item { position: relative; display: block; width: 52px; height: 52px; margin-bottom: 4px;
    background: #9c0000; border-radius: 6px; text-align: center; cursor: pointer; transition: background .2s; }
.side-bar .side-item svg { margin-top: 13px; }
.side-bar .side-item:hover { background: #7a0000; }
.side-bar .side-pop { display: none; position: absolute; right: 60px; top: 0; white-space: nowrap;
    background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 2px 10px rgba(0,0,0,.12);
    padding: 8px 14px; font-size: 14px; color: #333; line-height: 24px; border-radius: 4px; }
.side-bar .side-pop b { display: block; color: #9c0000; font-size: 15px; }
.side-bar .side-pop span { display: block; color: #666; }
.side-bar .side-pop-img { padding: 5px; line-height: 0; }
.side-bar .side-pop-img img { width: 120px; height: 120px; display: block; }
.side-bar .side-item:hover .side-pop { display: block; }

/* ---------- 在线留言表单 ---------- */
.ly-form { max-width: 720px; margin: 0 auto; padding: 10px 0 40px; }
.ly-form h3 { font-size: 24px; color: #9c0000; font-weight: normal; padding-bottom: 12px; border-bottom: 2px solid #eee; margin-bottom: 10px; }
.ly-form .ly-tip { font-size: 14px; color: #777; line-height: 26px; margin-bottom: 20px; }
.ly-form .ly-row { margin-bottom: 16px; overflow: hidden; }
.ly-form .ly-row label { float: left; width: 110px; text-align: right; font-size: 15px; color: #333; line-height: 40px; }
.ly-form .ly-row label i { color: #9c0000; font-style: normal; margin-right: 3px; }
.ly-form .ly-row input[type=text],
.ly-form .ly-row textarea { width: 540px; border: 1px solid #ddd; padding: 9px 12px; font-size: 14px;
    font-family: "Microsoft Yahei"; color: #333; outline: none; border-radius: 3px; float: left; }
.ly-form .ly-row textarea { height: 140px; resize: vertical; }
.ly-form .ly-row input:focus, .ly-form .ly-row textarea:focus { border-color: #9c0000; }
.ly-form .ly-row input.ly-code { width: 160px; margin-right: 10px; }
.ly-form .ly-row img { height: 40px; cursor: pointer; float: left; }
.ly-form .ly-submit { padding-left: 110px; }
.ly-form .ly-submit button { width: 180px; height: 44px; background: #9c0000; color: #fff; border: 0;
    font-size: 18px; font-family: "Microsoft Yahei"; border-radius: 4px; cursor: pointer; }
.ly-form .ly-submit button:hover { background: #7a0000; }

/* ---------- 标签聚合页 ---------- */
.tag-list li { line-height: 40px; border-bottom: 1px dashed #e5e5e5; font-size: 15px; }
.tag-list li span { float: right; color: #999; font-size: 13px; }

/* ---------- 内容页细节修正 ---------- */
.n_info_con h1 { font-size: 22px; line-height: 34px; color: #222; font-weight: bold; text-align: center; padding: 10px 0 16px; }
.n_info_con .n_tit { font-size: 13px; color: #888; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 16px; }
.n_info_con .n_tit span { margin-right: 18px; }
#cntrBody { font-size: 15px; line-height: 30px; color: #333; }
#cntrBody p { margin: 8px 0; }
#cntrBody img { max-width: 100%; height: auto; }
.n_info_con2 .info_b .p_list_ul li { line-height: 32px; font-size: 14px; }
.info_key { font-size: 13px; color: #888; line-height: 26px; padding: 10px 0; border-top: 1px dashed #e5e5e5; }

/* 列表页图片占位 */
.news-list .image img { width: 240px; object-fit: cover; }
.pd_list_dl dt img { object-fit: cover; }

/* 页脚友情链接 */
.f_bot span a { color: #666; padding: 0 4px; }
.f_bot span a:hover { color: #9c0000; }

/* 导航当前栏目 */
.h_nav ul li.cur a { color: #9c0000; background: #ffe400; border-radius: 7px; }

/* 通栏广告图 */
.topadcs { height: 300px; overflow: hidden; }
.topadcs .fullad { display: block; height: 300px; background-position: center top; }

/* 表单单选/复选兼容 */
input[type=submit], button { font-family: "Microsoft Yahei"; }

/* ---------- 分页数字（PbootCMS 输出 page-num） ---------- */
.apage .page-num { display:inline-block; border:1px solid #d4e3e9; background:#fff; padding:0 10px; margin-right:5px; line-height:30px; height:30px; }
.apage .page-num:hover { border-color:#9C0001; color:#9C0001; }
.apage .page-num-current { background:#9C0001; color:#fff; border-color:#9C0001; }

/* ---------- 侧栏栏目树：默认只展开当前分组，hover 时展开 ---------- */
.leib2 .nr ul { display: none; }
.leib2 .nr ul.cur { display: block; }
.leib2 .nr h3:hover + ul { display: block; }
.leib2 .nr h3.cur > a { color: #9C0001; }
.leib2 .nr ul li.cur > a { color: #9C0001; }

/* ---------- 网站地图 ---------- */
.map_main { padding: 20px 0 40px; }
.sitemap_con .map_top { border-bottom: 2px solid #9C0001; margin-bottom: 20px; }
.sitemap_con .map_top a { display: inline-block; padding: 0 22px; line-height: 34px; color: #333; }
.sitemap_con .map_top a.cur { background: #9C0001; color: #fff; }
.sitemap_con .map_group { margin-bottom: 22px; }
.sitemap_con .map_group h3 { font-size: 18px; font-weight: normal; color: #9C0001; margin-bottom: 10px; }
.sitemap_con .map_group h3 a { color: #9C0001; }
.sitemap_con .map_group dl { overflow: hidden; border-bottom: 1px dashed #e2e2e2; padding: 8px 0; }
.sitemap_con .map_group dt { float: left; width: 160px; font-weight: bold; }
.sitemap_con .map_group dd { float: left; width: 780px; }
.sitemap_con .map_group dd a { display: inline-block; margin: 0 14px 6px 0; color: #555; }
.sitemap_con .map_group dd a:hover { color: #9C0001; }

/* ---------- 悬浮侧栏（复刻原站 side-contact 动效） ---------- */
.side-contact li.moving { transition: right .25s ease; }
.side-contact li.moving:hover { right: 0 !important; }
.side-contact .ewm_code { display: none; }
.side-contact .ewm_code.on { display: block; }
/* 注意：勿给 .side-contact li.ewm a 设 display:block —— resetcommon.css 的
   .side-contact li a{width:100px} 会让 block 锚点撑到 100px，导致二维码图标右移出框。
   原站该锚点为 inline，图标由 li 的 text-align:center 居中。 */

/* ===== 最新资讯/News 区块（g-news，复刻原站各页内嵌样式） ===== */
.g-news{margin-bottom:30px;}
.g-news h2{font-size: 24px;color: #A41C2A;font-weight: normal;height: 87px;line-height: 99px;border-bottom: 1px solid #ccc;margin-bottom:20px;}
.g-news h2 b{color: #c5c5c5;font-size: 22px;font-weight: normal;padding:0 7px;font-family: Arial;}
.g-news h2 em{font-size: 14px;color: #333;font-weight: normal;display: inline-block;font-family: Arial;text-transform: capitalize;}
.g-news .news_c1{height: 45px;width:600px; float:left; margin:0 auto;border-bottom: 1px solid #eee;}
.g-news .news_c1 dl dt{width: 128px;height: 130px;float: left;font-size: 22px;color: #000;font-weight: normal;font-family: Arial;padding-top: 5px;}
.g-news .news_c1 dl dt em{font-size: 18px;color: #000;font-weight: normal;font-family: Arial;display: block;padding-left: 73px;}
.g-news .news_c1 .wz{float: left;width: 396px;padding-left: 26px;}
.g-news .news_c1 .wz h3{ width: 396px; overflow:hidden;}
.g-news .news_c1 .wz h3 a{font-size: 18px;color: #333;font-weight: normal;display: block;padding-top: 5px;}
.g-news .news_c1 .wz p{font-size: 14px;color: #666;font-weight: normal;display: block;padding-top: 14px;line-height: 24px;}
.g-news .news_c1 .nones{float: left;width: 239px;padding-left: 31px;padding-top: 32px;}
.g-news .news_c1 .nones img{width:270px; height:120px;}
.g-news .nobor01{border-bottom:0;}

/* ===== 荣誉资质（ryzz）：证书列表改为 4 个一列 ===== */
/* 原 dl.dl_2 为 310px+7px 内边距（每行 3 个），现压缩为 300px/项 以在 1200px 容器内排 4 列 */
.a_fz_con_3_3 dl.dl_2 { width: 286px; }
.a_fz_con_3_3 dl.dl_2 dt { width: 286px; }
.a_fz_con_3_3 dl.dl_2 dt img { width: 278px; object-fit: contain; }
.a_fz_con_3_3 dl.dl_2 dd { width: 286px; }
