﻿@charset "UTF-8";
/* =========================================================
   金桔网 响应式补充样式
   桌面端（>=1200px）完全保持原模板样式，本文件仅在平板/手机端覆盖
   ========================================================= */

/* ---------- 平板及以下（<=1199px）：头部由固定改为文档流 ---------- */
@media screen and (max-width: 1199px) {
.mainbody .main-container .articel-details .post-meta li{display:inline-block;}
.mainbody .main-container .articel-details .post-meta li:last-child span{margin-left:2px !important;}                            
#footers .middle .bottom p{text-align: left !important;}                                    
header#header{position:static;height:auto;border-bottom:3px solid #2561B8}
#header .container-fluid{padding-left:15px;padding-right:15px}
/* 取消 bootstrap row 的负边距，避免内容被推到屏幕外 */
#header .row{margin-left:0;margin-right:0}
.header-main{width:auto;max-width:1199px;margin:0 auto;padding:8px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}
#top-header > div{float:none !important}

/* 第一行：logo */
#navWrapper{width:auto !important;min-width:0;min-height:0;padding:0 12px 0 0;position:relative;order:1;-webkit-box-ordinal-group:1;-ms-flex-order:0;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}
#navScroller{overflow:visible}
#navScroller .site-name{float:none;height:auto;line-height:1;padding:0}
#logo{position:static !important;left:auto !important;display:block;height:auto !important;line-height:0}
#logo img{height:42px;width:auto}

/* 第一行：搜索框（与 logo 并排） */
header .search{position:static !important;top:auto !important;right:auto !important;
  order:2;-webkit-box-ordinal-group:2;-ms-flex-order:1;
  -webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%;
  width:auto !important;min-width:0;max-width:180px;margin:0 0 0 auto;padding:0 !important;
  display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}
header .search .keys{width:auto !important;min-width:0;height:38px !important;line-height:38px;
  -webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%;
  padding:0 10px;font-size:14px;border:1px solid #ddd;border-right:0;
  border-radius:2px 0 0 2px;-webkit-box-sizing:border-box;box-sizing:border-box}
header .search .btn{position:static !important;top:auto !important;right:auto !important;
  height:38px !important;line-height:38px;padding:0 16px;margin:0;font-size:14px;
  -webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;border-radius:0 2px 2px 0}

/* 第二行：导航 */
#top-header > .col-sm-8{order:3;-webkit-box-ordinal-group:3;-ms-flex-order:2;
  -webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;
  width:100% !important;min-width:0;padding:8px 0 0}
.header-menu-box,.header-menu-box .row,.header-box .home-menu{width:100%}
.header-box .home-menu{background-color:#fff;padding-left:0}
.header-box .home-menu ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0;padding:0}
.header-box .home-menu ul li{float:none;height:auto;line-height:1.5;padding:0 0 0 24px;white-space:nowrap;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}
.header-box .home-menu ul li:last-child{padding-right:4px}
.header-box .home-menu ul li a{display:inline-block;padding:8px 0;font-size:16px}

/* 主体容器 */
body .mainbody{width:auto;max-width:1199px;margin:0 auto;padding:0}
#detail{width:auto;border:none}
#detail .main-container{width:100% !important;margin-left:0 !important}

/* 面包屑等内联宽度的详情容器 */
#detail .container-fluid{padding-left:15px;padding-right:15px;}

/* 平板/手机端：主内容与右侧“随机文章”改为上下堆叠，右栏移到主内容下方 */
.mainbody .main-container.col-xs-9{width:100%;float:none}
.mainbody .col-md-3.col-xs-3{width:100%;float:none;margin-top:15px}

/* ---------------- 首页焦点图：保持 PC 端“左图右列表”的排列方式，但整体自适应 ---------------- */
.left-frame .row.slider-box{margin-right:0;margin-left:0;margin-top:0}
.carousel .ProductIntroduction{max-width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;
  -webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;
  background-color:#fff;overflow:hidden}
/* 左：图片 */
.carousel .ProductExhibition_wrap{order:1;-webkit-box-ordinal-group:1;-ms-flex-order:0;
  -webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:auto;min-width:0;height:auto;position:relative}
.carousel .ProductExhibition_box{position:absolute;top:0;left:0;width:100%;height:100%}
.carousel .ProductExhibition_box .Exhibition_Img{position:absolute;top:0;left:0;width:100%;height:100%;border:0 !important;display:none}
.carousel .ProductExhibition_box .Exhibition_Img.showimg1{display:block}
.carousel .ProductExhibition_box .Exhibition_Img img{display:block;width:100% !important;height:100% !important;-o-object-fit:cover;object-fit:cover;-o-object-position:left;object-position:left;background-color: #f0f0f0;}
/* 右：标题列表 */
.carousel .ProductExhibition{order:2;-webkit-box-ordinal-group:2;-ms-flex-order:1;
  -webkit-box-flex:0;-ms-flex:0 0 34%;flex:0 0 34%;
  float:none;width:34%;max-width:34%;height:auto;background-color:#fff}
.carousel .ProductExhibition .Exhibition_num{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;width:100%}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;
  width:auto;height:84px;min-height:0;margin-left:0 !important;
  padding:10px 10px 10px 14px;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item .title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:15px;line-height:1.45;font-weight:400;width:100%;overflow-wrap:break-word;word-break:normal}
.carousel .icon_LImg,.carousel .icon_RImg{display:none}

/* 页脚 */
body #footers{height:auto;padding:12px 0 6px}
body #footers .middle{width:auto;height:auto;padding:0 15px;-webkit-box-sizing:border-box;box-sizing:border-box}
body #footers .middle .top{height:auto;padding-bottom:10px}
body #footers .middle .top .pic{float:none;width:auto;height:auto;margin:6px auto 10px;text-align:center}
body #footers .middle .top .pic img{margin:0 auto;display:inline-block}
body #footers .middle .top .rights{float:none;width:auto;height:auto;margin-top:6px}
body #footers .middle .top .rights .about{position:static;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:start;padding:0;margin:0 0 8px;left:auto;top:auto}
body #footers .middle .top .rights ul li{float:none;margin:0 12px;line-height:32px}
body #footers .middle .top .rights .fc-tip-text,body #footers .middle .top .rights .fc-tip-text2{padding-left:0;padding-top:8px;text-align:left;line-height:1.8}
body #footers .middle .top .rights .links{margin-left: -8px;position:static;width:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:start;padding:0;left:auto;top:auto;margin-top:4px}
body #footers .middle .top .rights .links li{float:none;margin:0 12px;line-height:30px}
body #footers .middle .bottom{height:auto;padding:8px 0 10px;line-height:1.8}
body #footers .middle .bottom p{margin:6px 0;word-break:break-all}
}

/* ---------- 平板（<=991px） ---------- */
@media screen and (max-width: 991px) {
.mainbody .main-container{margin-top:10px;padding-left:15px;padding-right:15px;}
.mainbody .main-container .left-frame{padding-right:15px;-webkit-box-sizing:border-box;box-sizing:border-box;}

/* 焦点图：标题列表略收窄 */
.carousel .ProductExhibition{-ms-flex-preferred-size:36%;flex-basis:36%;width:36%;max-width:36%}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item{height:80px;padding:10px 12px 10px 14px}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item .title{font-size:15px}

/* 详情页 */
.mainbody .main-container .articel-details .articel-main{padding:20px 24px 28px}
.mainbody .main-container .articel-details .articel-main .post-title{font-size:22px}
.mainbody .main-container .articel-details .post-content img{width:100% !important;max-width:100% !important;height:auto !important}
.mainbody .main-container .articel-details .post-content video{min-width:0 !important;max-width:100% !important}

/* 侧栏 */
body #index .right-recm,body .right-recm{padding-top:8px !important;}
}

/* ---------- 平板 + 手机：文章卡片两列（首页 / 列表页 / 搜索页共用） ---------- */
@media screen and (max-width: 991px) {
body .post-list{padding-left:0}
body .post-list .post .row{margin-left:0 !important;margin-right:0 !important}
body .post-list .post .post-item{width:50%;max-width:50%;height:auto;min-height:0;
  margin-left:0;margin-top:0;padding:10px 10px 12px;
  display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;
  -webkit-box-sizing:border-box;box-sizing:border-box}

/* 卡片分隔线：容器只画左/上，卡片只画右/下 —— 每条线只画一次，相邻卡片共用同一条 1px 线，不叠加也不重合。
   index.css 末尾的 .post-item:nth-child(2n-1)/(2n) 会删掉部分边框（特异性更高），这里必须用 !important 压住。 */
@supports (display:grid){
body .post-list .post .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  -webkit-box-sizing:border-box;box-sizing:border-box;
  border:0 !important;border-left:1px solid #d8d8d8 !important;border-top:1px solid #d8d8d8 !important}
/* bootstrap 的 .row:before/:after 清浮动伪元素在 grid 里会占掉一个格子，必须去掉 */
body .post-list .post .row:before,body .post-list .post .row:after{display:none;content:none}
body .post-list .post .row > .post-item{width:auto !important;max-width:none !important;min-width:0;
  margin:0 !important;float:none;
  border:0 !important;
  border-right:1px solid #d8d8d8 !important;
  border-bottom:1px solid #d8d8d8 !important;
  background-color:#fff}
}
body .post-list .post .post-item .contentImg{display:block;width:100%;height:auto;aspect-ratio:16 / 10;
  overflow:hidden;background-color:#f5f5f5}
body .post-list .post .post-item .contentImg img{display:block;width:100% !important;height:100% !important;
  margin-top:0 !important;-webkit-transform:none !important;transform:none !important;
  -o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}
body .post-list .post .post-item .post-discription{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;
  -webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding-bottom:0;border-bottom: none !important;}
body .post-list .post .post-item .post-discription .post-title{height:auto !important;min-height:3.1em;margin:8px 0 0 !important;
  font-size:15px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body .post-list .post .post-item .post-discription .post-title a{overflow-wrap:break-word;word-break:normal;}
body .post-list .post .post-meta.content-des{position:static;float:none;margin-top:auto;padding:6px 0 0;font-size:12px;line-height:1.6;color:#999;}
body .post-list .post .post-meta.content-des .pushTime{margin-left:0 !important;margin-right:5px !important}
}

/* ---------- 手机（<=767px） ---------- */
@media screen and (max-width: 767px) {
.header-box .home-menu ul li:first-child{padding-left:0;}
.header-box .home-menu ul li{padding-left:18px}
.header-box .home-menu ul li a{font-size:15px}

/* 焦点图：图片与列表比例按屏幕收窄 */
.carousel .ProductExhibition{-ms-flex-preferred-size:38%;flex-basis:38%;width:38%;max-width:38%}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item{height:66px;padding:8px 8px 8px 10px}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item .title{font-size:13px;line-height:1.45}

/* 侧栏 */
body .right-recm .pannel-box{padding-left:0;}

/* 分页 */
.page{padding:18px 6px}
.page .first,.page .prev,.page .current,.page .num,.page .next,.page .end{padding:6px 10px;margin:0 2px;font-size:13px}
.page .rows{display:block;margin-top:8px;font-size:12px;color:#999}

/* 详情页 */
.mainbody .main-container .articel-details .articel-main{padding:16px 15px 22px}
.mainbody .main-container .articel-details .articel-main .post-title{font-size:19px;line-height:1.6}
.mainbody .main-container .articel-details .post-content{margin-top:18px;font-size:15px}
.b-prev-next li{line-height:1.7;margin-bottom:6px}
.b-prev-next li a{word-break:break-all}

/* 页脚 */
body #footers .middle .top .rights ul li{margin:0 8px}
body #footers .middle .top .rights .links li{margin:0 8px}
body #footers .middle .bottom{font-size:12px}
}

/* ---------- 小屏手机（<=575px） ---------- */
@media screen and (max-width: 575px) {
header .container-fluid{padding-left:12px;padding-right:12px}
#logo img{height:30px}
.header-main{padding-bottom:6px}
header#header{border-bottom-width:3px}
header .search{max-width:150px;}
header .search .keys{height:36px !important;line-height:36px;font-size:13px;padding:0 8px}
header .search .btn{height:36px !important;line-height:36px;padding:0 8px;font-size:13px}

.carousel .ProductExhibition{-ms-flex-preferred-size:35%;flex-basis:35%;width:35%;max-width:35%}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item{height:50px;padding:6px 8px 6px 10px}
.carousel .ProductExhibition .Exhibition_num .Exhibition_item .title{font-size:12px;line-height:1.4}

/* 文章卡片两列 */
body .post-list .post .post-item{padding:8px 8px 10px}
body .post-list .post .post-item .post-discription .post-title{font-size:14px;line-height:1.5}
body .post-list .post .post-meta.content-des{font-size:10px;border-top: 1px dashed #ccc; }
body .post-list .post .post-item .contentImg{aspect-ratio:4 / 3}

/* 详情页 */
.mainbody .main-container .articel-details .articel-main{padding:14px 12px 20px}
.mainbody .main-container .articel-details .articel-main .post-title{font-size:18px}
body .mainbody .main-container .marquee{font-size:15px}

/* 页脚 */
body #footers .middle .top .rights .fc-tip-text,body #footers .middle .top .rights .fc-tip-text2{font-size:12px}
body #footers .middle .top .rights .about{margin-bottom:4px;margin-left: -10px;}
body #footers .middle .bottom p{font-size:12px}
}

/* ==== 首页：说明/分页区块（.b-page）移到“随机文章”下方后的样式 ==== */
@media screen and (max-width: 1199px) {
    .mainbody .col-md-3 > .row.b-page-moved{margin-left:0;margin-right:0;margin-top:12px}
    .mainbody .col-md-3 > .row.b-page-moved > .b-page{width:100%;padding-left:0;padding-right:0;margin-bottom: 1px;}
    .mainbody .col-md-3 > .row.b-page-moved .page{padding:14px 14px 18px}
    .mainbody .col-md-3 > .row.b-page-moved .page p span{font-size:15px !important;line-height:1.7 !important}
}

/* ==== 列表页 / 搜索页：分页仍放在内容列 .left-frame 最下面 ==== */
@media screen and (max-width: 1199px) {
    .mainbody .left-frame > .row.b-page-moved{margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}
    .mainbody .left-frame > .row.b-page-moved > .b-page{width:100%;padding-left:0;padding-right:0}
    .mainbody .left-frame > .row.b-page-moved .page{padding:16px 10px 20px}
}

@media screen and (max-width: 575px) {
    .mainbody .col-md-3 > .row.b-page-moved .page{padding:14px 8px 18px}
    .mainbody .col-md-3 > .row.b-page-moved .page p span{font-size:13px !important}
    .mainbody .col-md-3 > .row.b-page-moved .page .first,
    .mainbody .col-md-3 > .row.b-page-moved .page .prev,
    .mainbody .col-md-3 > .row.b-page-moved .page .current,
    .mainbody .col-md-3 > .row.b-page-moved .page .num,
    .mainbody .col-md-3 > .row.b-page-moved .page .next,
    .mainbody .col-md-3 > .row.b-page-moved .page .end{padding:6px 10px;margin:0 2px;font-size:13px}
    .mainbody .col-md-3 > .row.b-page-moved .page .rows{display:block;margin-top:8px;font-size:12px}

    .mainbody .left-frame > .row.b-page-moved .page{padding:14px 6px 18px}
}
