@charset "utf-8";

* { -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft Yahei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #e9edf0;
    /* 为底部固定菜单预留高度，避免内容被遮挡 */
    padding-bottom: 56px;
    -webkit-text-size-adjust: 100%;
}

ul, ol, dl, form, p { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { border: 0; outline: 0; max-width: 100%; }
a { text-decoration: none; color: #333; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: normal; }

.L { float: left; }
.R { float: right; }
.C { clear: both; }
.RA { position: relative; }
.A { position: absolute; }
.YH { font-family: "Microsoft Yahei", Arial, SimSun; }

/* ---------- 页面容器：手机满屏，电脑居中 ---------- */
.Wrapper {
    display: block;
    width: 100%;
    max-width: 750px;
    min-height: calc(100vh - 56px);
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

/* ---------- 顶部幻灯片（纯 CSS 横滑，可手指滑动） ---------- */
.BannerSwipe {
    display: -webkit-box;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.BannerSwipe::-webkit-scrollbar { display: none; }
.BannerSwipe .ocitem {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
}
.BannerSwipe .ocitem img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- 蓝色栏目分隔条 ---------- */
.SectionBar {
    display: block;
    height: 40px;
    line-height: 40px;
    padding: 0 8px;
    background: #187ec6;
    color: #fff;
    font-size: 16px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.SectionBar a { color: #fff; }
/* 内容页“返回上一页”用的左对齐样式 */
.SectionBar.is-left {
    height: 50px;
    line-height: 50px;
    padding: 0 12px;
    text-align: left;
}
.SectionBar.is-left a { font-size: 14px; font-weight: 700; }

/* ---------- 产品格子（2 列） ---------- */
.productsgrid {
    display: block;
    padding: 8px 0 14px;
    overflow: hidden;
}
.productsgrid .pitem {
    float: left;
    width: 46%;
    margin: 6px 0 6px 2.5%;
    overflow: hidden;
}
.productsgrid .pitem a { display: block; color: #5a5a5a; }
.productsgrid .pitem .img {
    display: block;
    padding: 5px;
    border: 1px solid #c7c7c7;
    background: #fff;
    overflow: hidden;
	height: 345px;
}
.productsgrid .pitem .img img {
    display: block;
   max-height: 100%;
    margin: 0 auto;
	max-width: 100%;
}
.productsgrid .pitem .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-top: 6px;
    height: 44px;
    line-height: 22px;
    color: #5a5a5a;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    word-break: break-all;
}

/* ---------- 图文说明区（注意事项） ---------- */
.CompanyInformation {
    display: block;
    color: #5e5e5e;
    line-height: 22px;
    overflow: hidden;
}
.CompanyInformation .infor {
    display: block;
    margin: 10px 12px 20px;
    overflow: hidden;
    word-break: break-all;
}
.CompanyInformation .infor p { margin-bottom: 6px; }
.CompanyInformation .infor img {
    max-width: 100%;
    height: auto;
    margin: 6px 0;
}

/* ---------- 系列页：分组标题 + 步骤列表 ---------- */
.GroupBar {
    display: block;
    margin: 0;
    padding: 6px 10px 0;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
}
.GroupBar::before {
    content: "●";
    margin-right: 6px;
    font-size: 12px;
}
.GroupBar a { color: #000; }

.ArticleList {
    display: block;
    padding: 0 5px 10px;
    overflow: hidden;
}
.ArticleList a {
    display: block;
    position: relative;
    height: 38px;
    line-height: 38px;
    margin: 0;
    padding: 0 8px 0 5px;
    color: #333;
    font-size: 14px;
    text-indent: 15px;
    background: url(../images/dot.gif) no-repeat 5px center;
    border-bottom: 1px dashed #e2e2e2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ArticleList a:last-child { border-bottom: 0; }
.ArticleList a:active { background-color: #f5f9fd; }
.ArticleList a .R {
    float: right;
    color: #999;
    font-size: 12px;
    text-indent: 0;
}

/* ---------- 内容详情 ---------- */
.productshow {
    display: block;
    margin: 10px 12px 20px;
    color: #666;
    line-height: 24px;
    overflow: hidden;
    word-break: break-all;
}
.productshow .title {
    font-size: 16px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    color: #222;
}
.productshow img {
    max-width: 100%;
    height: auto;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #e3e3e3;
    box-sizing: border-box;
}
.productshow a { color: #187ec6; }

/* 16:9 自适应视频容器（后面加视频时直接用这两个类名即可） */
.video-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9，4:3 改成 75% */
    margin-bottom: 12px;
    overflow: hidden;
    background: #000;
}
.video-responsive {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* 后台没填视频时，整块自动隐藏（不留黑框和空白） */
.video-wrapper[data-video=""] {
    display: none;
}

/* ---------- 底部固定三按钮 ---------- */
.footermenu {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 99;
    width: 100%;
    height: 56px;
    background: #0369b1;
    overflow: hidden;
}
.footermenu .inner {
    display: -webkit-box;
    display: flex;
    width: 100%;
    max-width: 750px;
    height: 56px;
    margin: 0 auto;
}
.footermenu a {
    flex: 1;
    display: block;
    height: 56px;
    padding-top: 5px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.footermenu a img {
    display: block;
    height: 24px;
    margin: 0 auto;
}
.footermenu a span {
    display: block;
    font-size: 12px;
    line-height: 18px;
    padding-top: 2px;
}
.footermenu a:active { background: #025a9b; }

/* ---------- 空数据提示 ---------- */
.EmptyTip {
    padding: 50px 0;
    color: #999;
    font-size: 14px;
    text-align: center;
}

/* ---------- 分页 ---------- */
.Paging {
    padding: 14px 8px 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 26px;
}
.Paging .page-status {
    display: block;
    margin-bottom: 6px;
    color: #999;
    font-size: 12px;
}
.Paging a,
.Paging .page-num {
    display: inline-block;
    min-width: 26px;
    height: 26px;
    line-height: 26px;
    margin: 3px 3px 0;
    padding: 0 8px;
    background: #f1f4f6;
    color: #555;
    border-radius: 3px;
}
.Paging a.page-num-current,
.Paging a.active {
    background: #187ec6;
    color: #fff;
}

/* ---------- 小屏适配 ---------- */
@media screen and (max-width: 320px) {
    .SectionBar { font-size: 15px; }
    .productsgrid .pitem .title { font-size: 13px; }
    .footermenu a span { font-size: 11px; }
}
