/* ==========================================
   中科微盛直销系统官网 - SSCMS 迁移版
   基于原站 style.css 还原 + 响应式改造
   ========================================== */

/* ---- Reset & Base ---- */
@charset "utf-8";
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "微软雅黑", Verdana, simsun, sans-serif, Tahoma, Arial, Helvetica;
    font-size: 14px;
    color: #444;
    background: #fff;
    line-height: 1.8;
}
a { color: #333; text-decoration: none; transition: 0.3s all; }
a:hover { color: #143468; text-decoration: none; }
img { border: 0; max-width: 100%; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
li { list-style-type: none; }
p, dl, dt, dd { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, p, form { padding: 0; margin: 0; }
em { font-weight: bold; font-style: normal; }
div { overflow: hidden; }
input, select { vertical-align: middle; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

/* ---- 顶部信息栏 ---- */
@media (min-width: 701px) {
    .sittop {
        width: 100%;
        background: #143468;
        color: #fff;
        font-size: 13px;
    }
    .sittop ul {
        width: 96%;
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;
        padding: 8px 0;
        display: flex;
        gap: 0;
        align-items: center;
    }
    .sittop ul li {
        float: left;
        color: #fff;
        margin-right: 30px;
    }
    .sittop ul li a { color: #fff; }
    .sittop ul li a:hover { color: #f5a623; }
    .sittop .fa { margin-right: 5px; }
}
@media (max-width: 700px) {
    .sittop { display: none; }
}

/* ---- 导航菜单 ---- */
*, *:after, *:before { box-sizing: border-box; }

.animenu { display: block; overflow: visible; }
.animenu ul { padding: 0; list-style: none; transition: 0.5s all; }
.animenu__nav--open { display: block !important; }

/* 桌面端导航 (>=930px) */
@media (min-width: 930px) {
    .header {
        width: 96%;
        max-width: 1200px;
        height: 5em;
        margin: 0.8em auto;
        overflow: visible;
        display: block;
        box-shadow: none;
        position: static;
        padding: 0;
        background: #fff;
    }
    .header #logo {
        float: left;
        padding-top: 0.6em;
        display: block;
    }
    .header #logo img {
        height: 60px;
        width: auto;
    }
    .header nav {
        float: right;
        overflow: visible;
    }
    .header nav ul {
        display: flex;
    }
    .animenu__nav li { float: left; }
    .animenu a {
        color: #143468;
        text-decoration: none;
    }
    .animenu li, .animenu a { display: inline-block; }
    .animenu__toggle {
        display: none;
        cursor: pointer;
        border: 0;
        padding: 10px;
        height: 40px;
        width: 40px;
        background: none;
    }
    .animenu__toggle__bar {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #333;
        transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
    }
    .animenu__toggle__bar + .animenu__toggle__bar { margin-top: 4px; }
    .animenu__nav {
        background-color: #fff;
        margin: 0.8em 0;
        display: flex;
        overflow: visible;
    }
    .animenu__nav > li {
        position: relative;
        padding: 0 0 0.8em 0;
        display: block;
        text-align: center;
        overflow: visible;
    }
    .animenu__nav > li > a {
        color: #333;
        padding: 3px 0;
        font-size: 115%;
        border-bottom: 3px #fff solid;
        margin: 0 0 0 32px;
        font-weight: bold;
        display: inline-block;
    }
    .animenu__nav > li:hover > a,
    .animenu__nav > li.active > a {
        color: #143468;
        border-bottom: 3px #143468 solid;
    }
    .animenu__nav > li:hover > ul {
        opacity: 1;
        visibility: visible;
        padding: 0;
    }
    .animenu__nav__child {
        background: #143468;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        margin: 0;
        transition: margin .15s, opacity .15s;
        min-width: 120px;
        overflow: visible;
    }
    .animenu__nav__child > li { width: 100%; }
    .animenu__nav__child a {
        padding: 8px 12px;
        width: 100%;
        color: #fff;
        text-align: center;
        display: block;
        white-space: nowrap;
    }
    .animenu__nav__child a:hover {
        background-color: #526b93;
        color: #fff;
    }
}

/* 移动端导航 (<=929px) */
@media (max-width: 929px) {
    .header {
        width: 100%;
        height: 3.5em;
        line-height: 3.5em;
        margin: 0;
        overflow: visible;
        position: sticky;
        top: 0;
        z-index: 999;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        /* 不用 flex，改用 position 定位各子元素 */
    }
    /* logo 左对齐，垂直居中 */
    .header #logo {
        display: inline-block;
        vertical-align: middle;
        line-height: 3.5em;
        padding: 0 0 0 10px;
        height: 3.5em;
    }
    .header #logo img {
        height: 2.2em;
        width: auto;
        display: inline-block;
        vertical-align: middle;
    }
    /* nav 整体定位到右侧，相对定位以供子元素定位 */
    .header nav {
        position: absolute;
        top: 0;
        right: 0;
        height: 3.5em;
        width: 60px;      /* 给按钮预留足够宽度 */
        overflow: visible;
        z-index: 998;
    }
    .animenu {
        position: relative;  /* 提供给 .animenum__nav 作为定位基准 */
        width: 100%;
        height: 100%;        /* 高度占满 header */
        overflow: visible;
    }
    /* 汉堡按钮：绝对定位到 nav 的右侧 */
    .animenu__toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        cursor: pointer;
        background-color: #526b93;
        border: 0;
        padding: 8px;
        height: 2.4em;
        width: 2.4em;
        outline: none;
        margin: 0;
        line-height: 1;
        z-index: 1000;
    }
    .animenu__toggle:hover { background-color: #143468; }
    .animenu__toggle__bar {
        display: block;
        width: 18px;
        height: 2px;
        background-color: #fff;
        margin: 0 auto;
        transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
    }
    .animenu__toggle__bar + .animenu__toggle__bar { margin-top: 4px; }

    /* 按钮激活状态（关闭图标） */
    .animenu__toggle.is-active .animenu__toggle__bar,
    .animenu__toggle--active .animenu__toggle__bar {
        margin: 0;
        position: absolute;
    }
    .animenu__toggle.is-active .animenu__toggle__bar:nth-child(1),
    .animenu__toggle--active .animenu__toggle__bar:nth-child(1) {
        transform: rotate(45deg);
    }
    .animenu__toggle.is-active .animenu__toggle__bar:nth-child(2),
    .animenu__toggle--active .animenu__toggle__bar:nth-child(2) {
        opacity: 0;
    }
    .animenu__toggle.is-active .animenu__toggle__bar:nth-child(3),
    .animenu__toggle--active .animenu__toggle__bar:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* 菜单面板 */
    .animenu__nav {
        display: none;
        width: 180px;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 999;
        margin: 0;
        padding: 0;
        overflow: visible;
        flex-direction: column;
        background-color: #526b93;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .animenu__nav.is-open,
    .animenu__nav--open {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animenu__nav a {
        background-color: transparent;
        color: #fff;
        text-decoration: none;
        text-align: center;
        display: block;
        transition: background-color 0.2s;
    }
    .animenu__nav > li {
        position: relative;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .animenu__nav > li:last-child { border: 0; }
    .animenu__nav > li > a {
        width: 100%;
        color: #fff;
        position: relative;
        font-weight: 500;
    }
    .animenu__nav > li:hover > a,
    .animenu__nav > li.active > a {
        background-color: #143468;
        color: #fff;
    }
    /* 子菜单 */
    .animenu__nav > li:hover > ul {
        opacity: 1;
        visibility: visible;
        margin: 0;
    }
    .animenu__nav__child {
        position: static;
        background-color: #3d5680;
        margin: 0;
        transition: none;
        visibility: visible;
        opacity: 1;
        display: none;
        overflow: visible;
    }
    .animenu__nav__child > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .animenu__nav__child > li:last-child { border: 0; }
    .animenu__nav__child a {
        padding: 10px 15px;
        width: 100%;
        color: #fff;
        font-size: 13px;
    }
    .animenu__nav__child a:hover { background-color: #143468; color: #fff; }
    .animenu li, .animenu a { font-size: 16px; }
}

/* ---- 首页轮播图 ---- */
.flexslider { clear: both; line-height: 0; width: 100%; overflow: hidden; }
.flexslider ul { max-width: 100%; margin: 0 auto; text-align: center; padding: 0; }
.flex-direction-nav { *height: 0; display: block; }

@media (min-width: 1200px) {
    .flexslider .slides img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
    .slides li section { position: absolute; top: 20%; width: 100%; }
    .slides li section article {
        width: 96%; max-width: 1200px; margin: 0 auto;
        color: #fff; font-size: 100%; line-height: 200%; display: block;
    }
    .slides li section article h3 { font-size: 280%; line-height: 180%; font-weight: normal; }
    .slides li section article span { font-size: 120%; display: block; line-height: 180%; }
    .slides li section article a {
        background: #e7e7e7; color: #000; padding: 0.3em 2em;
        line-height: 3em; display: inline-block; margin-top: 1.5em;
    }
    .slides li section article a:hover { background: #143468; color: #fff; }
}
@media (max-width: 1199px) and (min-width: 930px) {
    .flexslider .slides img { width: 100%; height: auto; max-height: 420px; object-fit: cover; }
    .slides li section { position: absolute; top: 15%; width: 100%; }
    .slides li section article {
        width: 80%; max-width: 1200px; margin: 0 auto;
        color: #fff; font-size: 85%; line-height: 200%; display: block;
    }
    .slides li section article h3 { font-size: 260%; line-height: 150%; font-weight: normal; }
    .slides li section article span { font-size: 110%; display: block; }
    .slides li section article a {
        background: #e7e7e7; color: #000; padding: 0.2em 1.5em;
        line-height: 3em; display: inline-block; margin-top: 1em;
    }
    .slides li section article a:hover { background: #143468; color: #fff; }
}
@media (max-width: 929px) and (min-width: 701px) {
    .flexslider .slides img { width: 100%; height: auto; max-height: 320px; object-fit: cover; }
    .slides li section { position: absolute; top: 10%; width: 100%; }
    .slides li section article {
        width: 80%; margin: 0 auto; color: #fff; font-size: 65%; line-height: 200%; display: block;
    }
    .slides li section article h3 { font-size: 240%; line-height: 140%; font-weight: normal; }
    .slides li section article span { font-size: 110%; display: block; }
    .slides li section article a {
        background: #e7e7e7; color: #000; padding: 0 1em;
        line-height: 2.5em; display: inline-block; margin-top: 0.5em;
    }
}
@media (max-width: 700px) and (min-width: 474px) {
    .flexslider .slides img { width: 100%; height: 200px; object-fit: cover; }
    .slides li section { display: none; }
}
@media (max-width: 473px) {
    .flexslider .slides img { width: 100%; height: 150px; object-fit: cover; }
    .slides li section { display: none; }
}

/* ---- 通用容器 ---- */
.main {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.colorhui { width: 100%; background: #f7f8fa; }

/* ---- 通用标题 ---- */
@media (min-width: 601px) {
    .intit {
        width: 100%; text-align: center; padding: 2em 0 1.8em 0;
    }
    .intit h3 {
        color: #143468; font-size: 190%;
        border-bottom: 3px #143468 solid;
        line-height: 180%; display: inline-block;
    }
}
@media (max-width: 600px) {
    .intit {
        width: 100%; text-align: center; padding: 1.2em 0 1.5em 0;
    }
    .intit h3 {
        color: #143468; font-size: 145%;
        border-bottom: 2px #143468 solid;
        line-height: 180%; display: inline-block;
    }
}
@media (min-width: 601px) {
    .intits {
        width: 60%; text-align: center; padding: 2em 0 1.8em 0; margin: 0 auto;
    }
    .intits h3 {
        color: #143468; font-size: 175%; line-height: 180%;
        display: inline-block; font-weight: normal; padding: 0 1em;
    }
}
@media (max-width: 600px) {
    .intits {
        width: 80%; text-align: center; padding: 1em 0 1.5em 0; margin: 0 auto;
    }
    .intits h3 {
        color: #143468; font-size: 150%; display: inline-block;
        font-weight: normal; padding: 0 0.6em;
    }
}

/* ---- 面包屑 ---- */
.navtitle { margin-bottom: 20px; overflow: hidden; }
.navtitle p { color: #888; font-size: 13px; }
.navtitle a { color: #143468; }
.navtitle a:hover { text-decoration: underline; }

/* ---- 各栏目顶部 Banner ---- */
@media (min-width: 801px) {
    .softbanner, .newsbanner, .aboutbanner {
        clear: both; width: 100%; height: 120px; min-height: 120px;
        background: linear-gradient(135deg, #143468 0%, #1e5298 100%);
        display: flex; align-items: center;
    }
    .softbanner h2, .newsbanner h2, .aboutbanner h2 {
        width: 94%; max-width: 1200px; margin: 0 auto;
        color: #fff; font-size: 180%; font-weight: 400; letter-spacing: 2px;
    }
    .softbanner .title, .newsbanner .title, .aboutbanner .title {
        color: #fff; font-size: 180%; font-weight: 400; letter-spacing: 2px;
        width: 94%; max-width: 1200px; margin: 0 auto; display: block;
    }
}
@media (max-width: 800px) {
    .softbanner, .newsbanner, .aboutbanner {
        clear: both; width: 100%; height: 80px; min-height: 80px;
        background: linear-gradient(135deg, #143468 0%, #1e5298 100%);
        display: flex; align-items: center;
    }
    .softbanner h2, .newsbanner h2, .aboutbanner h2 {
        width: 94%; max-width: 1200px; margin: 0 auto;
        color: #fff; font-size: 145%; font-weight: 400;
    }
    .softbanner .title, .newsbanner .title, .aboutbanner .title {
        color: #fff; font-size: 145%; font-weight: 400;
        width: 94%; max-width: 1200px; margin: 0 auto; display: block;
    }
}

/* ---- 首页产品列表（系统软件）---- */
@media (min-width: 1000px) {
    .prolist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 600px) and (max-width: 999px) {
    .prolist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 599px) {
    .prolist { display: grid; grid-template-columns: 1fr; gap: 14px; }
}
.prolist a { display: block; border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: box-shadow 0.3s; }
.prolist a:hover { box-shadow: 0 4px 20px rgba(20,52,104,0.15); }
.prolist dt img { width: 100%; height: 180px; object-fit: cover; }
.prolist dd { padding: 15px; background: #3a4e6e; color: #fff; }
.prolist a:hover dd { background: #143468; }
.prolist dd h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.prolist dd p { font-size: 13px; color: #c8d4e6; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- 产品列表页（propagelist）---- */
@media (min-width: 1000px) {
    .propagelist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (min-width: 600px) and (max-width: 999px) {
    .propagelist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 599px) {
    .propagelist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.propagelist a { display: block; border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: box-shadow 0.3s; }
.propagelist a:hover { box-shadow: 0 4px 16px rgba(20,52,104,0.12); }
.propagelist dt img { width: 100%; height: 160px; object-fit: cover; }
.propagelist dd { padding: 12px; }
.propagelist dd h3 { font-size: 14px; color: #143468; text-align: center; }

/* ---- 产品详情页 ---- */
@media (min-width: 700px) {
    .propageshow > dl { display: flex; gap: 30px; margin-bottom: 30px; }
    .propageshow > dl dt { flex: 0 0 280px; }
    .propageshow > dl dt img { width: 100%; border-radius: 4px; }
    .propageshow > dl dd { flex: 1; }
}
@media (max-width: 699px) {
    .propageshow > dl { display: block; margin-bottom: 20px; }
    .propageshow > dl dt { margin-bottom: 15px; }
    .propageshow > dl dt img { width: 100%; border-radius: 4px; }
}
.propageshow > dl dd h1 { font-size: 20px; color: #143468; margin-bottom: 15px; }
.propageshow > dl dd .sitemore { margin-top: 20px; display: block; }
.propageshow > dl dd .sitemore a {
    display: inline-block; background: #143468; color: #fff;
    padding: 10px 28px; border-radius: 3px; font-size: 14px;
}
.propageshow > dl dd .sitemore a:hover { background: #526b93; }
.content-body { line-height: 1.9; font-size: 14px; color: #555; padding: 20px 0; border-top: 1px solid #eee; overflow: hidden; }
.content-body img { max-width: 100%; height: auto; margin: 10px auto; }
.prev-next-nav { border-top: 1px solid #eee; padding-top: 15px; margin-top: 20px; font-size: 13px; color: #888; overflow: hidden; }
.prev-next-nav a { color: #143468; }
.related-products { margin-top: 30px; overflow: hidden; }
.related-products h3 { font-size: 18px; color: #143468; margin-bottom: 15px; border-left: 4px solid #526b93; padding-left: 10px; }
.propagelist.small { }

/* ---- 优质服务 8宫格 ---- */
@media (min-width: 1200px) {
    .ourservice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 2em; overflow: hidden; }
}
@media (min-width: 800px) and (max-width: 1199px) {
    .ourservice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 1.5em; overflow: hidden; }
}
@media (min-width: 421px) and (max-width: 799px) {
    .ourservice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 1em; overflow: hidden; }
}
@media (max-width: 420px) {
    .ourservice { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: 1em; overflow: hidden; }
}
.ourservice dl { background: #fff; border-radius: 6px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.3s; overflow: hidden; }
.ourservice dl:hover { transform: translateY(-4px); }
.ourservice dt { text-align: center; }
.ourservice dt img { width: 60px; height: 60px; margin: 0 auto 12px; }
.ourservice dd h3 { font-size: 15px; color: #143468; margin-bottom: 8px; text-align: center; padding: 0.3em 0; }
.ourservice dd p { font-size: 13px; color: #888; line-height: 1.7; width: 90%; margin: 0 auto; overflow: hidden; }

/* ---- 服务流程 ---- */
@media (min-width: 900px) {
    .serviceonline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
}
@media (min-width: 500px) and (max-width: 899px) {
    .serviceonline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 499px) {
    .serviceonline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.serviceonline dl { text-align: center; overflow: hidden; }
.serviceonline dt img { width: 70px; height: 70px; margin: 0 auto 10px; }
.serviceonline dd h3 { font-size: 14px; color: #143468; margin-bottom: 5px; }
.serviceonline dd p { font-size: 12px; color: #999; line-height: 1.5; }

/* ---- 合作伙伴 ---- */
@media (min-width: 801px) {
    .partnersmain {
        background: #5b6c85;
        padding: 3.6em 0;
    }
    .partnersmain h3 { color: #143468; text-align: center; font-size: 190%; padding-bottom: 1.5em; display: block; }
    .partnersmain ul { width: 96%; max-width: 1200px; margin: 0 auto; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .partnersmain ul li { float: left; width: 16.666%; text-align: center; }
    .partnersmain ul li img { width: 90%; max-width: 160px; height: auto; margin: 0 auto; }
}
@media (min-width: 501px) and (max-width: 800px) {
    .partnersmain { padding: 2em 0; }
    .partnersmain h3 { color: #143468; text-align: center; font-size: 145%; padding-bottom: 0.8em; }
    .partnersmain ul { width: 96%; max-width: 1200px; margin: 0 auto; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .partnersmain ul li { float: left; width: 33.333%; text-align: center; padding: 1em 0; }
    .partnersmain ul li img { width: 90%; max-width: 120px; height: auto; margin: 0 auto; }
}
@media (max-width: 500px) {
    .partnersmain { padding: 1.5em 0; }
    .partnersmain h3 { color: #143468; text-align: center; font-size: 135%; padding-bottom: 0.6em; }
    .partnersmain ul { width: 96%; margin: 0 auto; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
    .partnersmain ul li { float: left; width: 50%; text-align: center; padding: 0.8em 0; }
    .partnersmain ul li img { width: 90%; max-width: 100px; height: auto; margin: 0 auto; }
}

/* ---- 首页新闻区 ---- */
.mainnewsbox { padding: 1em 0; overflow: hidden; }

@media (min-width: 700px) {
    .mainnews { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 1em 0 2em 0; }
    .newsabout { overflow: hidden; }
    .newsabout dl { overflow: hidden; }
    .newsabout dt img { width: 100%; max-height: 320px; overflow: hidden; display: block; padding-bottom: 1em; }
    .newsabout dt h4 { font-size: 130%; padding: 0.6em 0 1em 0; }
    .newsabout dt h4 a { color: #222; }
    .newsabout dt h4 a:hover { color: #143468; }
    .newsabout dt h4 span { font-size: 60%; font-weight: normal; padding-left: 1.5em; color: #8b8b8b; }
    .newsabout dd p { height: 4em; line-height: 2em; overflow: hidden; margin-bottom: 1em; color: #555; }
    .newslistindex ul li { border-bottom: 1px #ebebeb solid; padding: 0.8em 0; overflow: hidden; }
    .newslistindex ul li a {
        width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
        display: block; font-size: 110%; color: #444;
    }
    .newslistindex ul li a:hover { color: #143468; }
    .newslistindex ul li span { color: #999; font-size: 12px; display: block; }
    .sitemore { }
    .sitemore a {
        background: #143468; border: 1px #143468 solid; color: #fff;
        padding: 0.8em 1.8em; line-height: 100%; display: inline-block; border-radius: 4px;
    }
    .sitemore a:hover { background: #fff; border: 1px #143468 solid; color: #143468; }
}
@media (max-width: 699px) {
    .mainnews { display: block; padding: 0 0 1em 0; }
    .newsabout { float: none; overflow: hidden; }
    .newsabout dt img { width: 100%; max-height: 220px; object-fit: cover; display: block; margin-bottom: 0.5em; }
    .newsabout dt h4 { width: 100%; font-size: 120%; padding: 0.5em 0; }
    .newsabout dt h4 a { display: block; color: #222; }
    .newsabout dt h4 span { font-size: 60%; font-weight: normal; color: #8b8b8b; }
    .newsabout dd p { height: 4em; line-height: 2em; overflow: hidden; color: #555; }
    .newslistindex { margin-top: 1em; overflow: hidden; }
    .newslistindex ul li { float: none; border-bottom: 1px #ebebeb solid; padding: 0.6em 0; overflow: hidden; }
    .newslistindex ul li a {
        width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
        display: block; font-size: 105%; color: #444;
    }
    .newslistindex ul li a:hover { color: #143468; }
    .newslistindex ul li span { color: #999; font-size: 12px; }
    .sitemore { display: block; margin: 0.8em auto; text-align: center; }
    .sitemore a {
        background: #143468; border: 1px #143468 solid; color: #fff;
        padding: 0.8em 1.8em; line-height: 100%; display: inline-block; border-radius: 4px;
    }
    .sitemore a:hover { background: #fff; border: 1px #143468 solid; color: #143468; }
}

/* ---- 分页 ---- */
@media (min-width: 601px) {
    .pagination {
        clear: both; text-align: center; padding: 1em 0; line-height: 3em; margin-bottom: 1.6em;
    }
    .pagination a {
        background: #143468; color: #fff; padding: 0.5em 1em;
        text-align: center; text-decoration: none; margin: 0 0.3em;
        display: inline-block; border-radius: 3px;
    }
    .pagination a:hover { background: #526b93; color: #fff; }
    .pagination span, .pagination em {
        background: #ccc; color: #333; padding: 0.5em 1em; margin: 0 0.3em;
        display: inline-block; border-radius: 3px;
    }
    .pagination .current { background: #526b93; color: #fff; }
    .pagination .disabled { color: #ccc; cursor: not-allowed; }
}
@media (max-width: 600px) {
    .pagination {
        clear: both; text-align: center; padding: 0.8em 0; line-height: 2.5em; margin-bottom: 1em;
    }
    .pagination a {
        background: #143468; color: #fff; padding: 0.4em 0.8em;
        text-align: center; text-decoration: none; margin: 0 0.15em;
        display: inline-block; border-radius: 3px; font-size: 13px;
    }
    .pagination a:hover { background: #526b93; color: #fff; }
    .pagination span, .pagination em {
        background: #ccc; color: #333; padding: 0.4em 0.8em; margin: 0 0.15em;
        display: inline-block; border-radius: 3px; font-size: 13px;
    }
    .pagination .current { background: #526b93; color: #fff; }
    .pagination .disabled { color: #ccc; }
}
/* 兼容旧版 showpage */
.showpage { clear: both; text-align: center; padding: 1em 0; line-height: 3em; }
.showpage a { background: #ccc; color: #555; padding: 0.5em 1em; }
.showpage a:hover { background: #143468; color: #fff; }
.showpage span { background: #143468; color: #fff; padding: 0.5em 1em; }
.showpage em { background: #ccc; color: #555; padding: 0.5em 1em; }

/* ---- 内页双栏布局 ---- */
@media (min-width: 769px) {
    .mainbox { display: flex; gap: 25px; overflow: hidden; }
    .mainleftlist, .mainleft { flex: 0 0 200px; overflow: hidden; }
    .mainright { flex: 1; min-width: 0; overflow: hidden; }
}
@media (max-width: 768px) {
    .mainbox { display: block; overflow: hidden; }
    .mainleftlist, .mainleft { width: 100%; margin-bottom: 15px; overflow: hidden; }
    .mainright { overflow: hidden; }
    .mainright img{height: auto;}
}
.mainleftlist h3, .mainleft h3 { background: #143468; color: #fff; padding: 12px 15px; font-size: 15px; overflow: hidden; }
.mainleftlist h3 span, .mainleft h3 span { font-size: 11px; display: block; color: #8fafd0; margin-top: 2px; }
.mainleftlist ul li a, .mainleft ul li a { display: block; padding: 10px 15px; border-bottom: 1px solid #eee; font-size: 14px; color: #444; overflow: hidden; }
.mainleftlist ul li a:hover, .mainleft ul li a:hover,
.mainleftlist ul li.current a, .mainleft ul li.current a { background: #f0f4fa; color: #143468; }
.mainleft ul.test li a { padding-left: 20px; }

/* ---- 新闻/案例列表 ---- */
@media (min-width: 501px) {
    .newspglist dl { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; overflow: hidden; }
    .newspglist dt { flex: 0 0 180px; overflow: hidden; }
    .newspglist dt a img { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; }
    .newspglist dd { flex: 1; overflow: hidden; }
}
@media (max-width: 500px) {
    .newspglist dl { display: block; padding: 15px 0; border-bottom: 1px solid #eee; overflow: hidden; }
    .newspglist dt { margin-bottom: 10px; overflow: hidden; }
    .newspglist dt a img { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; }
    .newspglist dd { overflow: hidden; }
}
.newspglist dd h3 a { font-size: 16px; color: #333; }
.newspglist dd h3 a:hover { color: #143468; }
.newspglist dd nav { font-size: 12px; color: #999; margin: 6px 0; overflow: hidden; }
.newspglist dd p { font-size: 13px; color: #777; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.newspglist dd .more { display: inline-block; margin-top: 8px; color: #143468; font-size: 13px; }

/* ---- 新闻详情 ---- */
.showtitle h1 { font-size: 22px; color: #222; margin-bottom: 10px; }
.showinfo { font-size: 13px; color: #999; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; overflow: hidden; }
.showinfo span { margin-right: 20px; display: inline-block; }
.showcontent { line-height: 1.9; font-size: 14px; color: #555; overflow: hidden; }
.showcontent img { max-width: 100%; height: auto; margin: 10px auto; }
.showtags { margin-top: 20px; font-size: 13px; color: #888; overflow: hidden; }
.related-news { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; overflow: hidden; }
.related-news h3 { font-size: 16px; color: #143468; margin-bottom: 12px; border-left: 4px solid #526b93; padding-left: 10px; }
.related-news ul li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; overflow: hidden; }
.related-news ul li a { color: #444; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-news ul li a:hover { color: #143468; }
.related-news ul li span { color: #999; font-size: 12px; white-space: nowrap; margin-left: 8px; }

/* ---- 联系我们 ---- */
@media (min-width: 769px) {
    .contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
}
@media (max-width: 768px) {
    .contact-box { display: block; margin-bottom: 20px; }
    .contact-box > div { margin-bottom: 25px; }
}
.contact-info h3, .contact-form h3 { font-size: 18px; color: #143468; margin-bottom: 18px; border-left: 4px solid #526b93; padding-left: 10px; }
.contact-info ul li { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; color: #555; overflow: hidden; }
.contact-info ul li .fa { color: #143468; margin-right: 8px; width: 18px; }
.contact-info ul li a { color: #143468; }
.contact-qr { text-align: center; margin-top: 20px; overflow: hidden; }
.contact-qr img { width: 120px; margin: 0 auto 8px; }
.contact-qr p { font-size: 12px; color: #999; }
.contact-form .form-group { margin-bottom: 15px; overflow: hidden; }
.contact-form label { display: block; font-size: 13px; color: #666; margin-bottom: 5px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #ddd;
    border-radius: 3px; font-size: 14px; outline: none; transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #143468; }
.btn-submit {
    background: #143468; color: #fff; padding: 12px 40px; border: none;
    border-radius: 3px; font-size: 15px; cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: #526b93; }
.contact-map h3 { font-size: 18px; color: #143468; margin-bottom: 15px; border-left: 4px solid #526b93; padding-left: 10px; }

/* ---- 服务内容 ---- */
.service-content { line-height: 1.9; font-size: 14px; color: #555; padding: 20px 0; overflow: hidden; }
.service-content img { max-width: 100%; }

/* ---- 关于我们 ---- */
.about-content { line-height: 1.9; font-size: 14px; color: #555; overflow: hidden; }
.about-content img { max-width: 100%; }

/* ---- 友情链接 ---- */
#friendlink { padding: 10px 0; overflow: hidden; }
#friendlink a {
    display: inline-block; margin: 5px 8px; color: #666; font-size: 13px;
    border: 1px solid #ddd; padding: 4px 12px; border-radius: 3px;
}
#friendlink a:hover { color: #143468; border-color: #143468; }

/* ---- 页脚 ---- */
@media (min-width: 1020px) {
    #footer {
        clear: both; overflow: hidden; width: 100%;
        padding: 3em 0 0 0; background: #143468; margin: 0;
    }
    #footer ul {
        clear: both; width: 96%; max-width: 1200px; display: block;
        margin: 0 auto; padding: 0 0 3em 0; overflow: hidden; color: #c5c5c5;
        display: grid; grid-template-columns: 32% 23% 25% 20%;
    }
    #footer ul li { display: block; overflow: hidden; }
    #footer ul li h4 { font-size: 130%; padding-bottom: 1em; color: #f4f4f4; }
    #footer ul li img { height: 50px; margin-bottom: 10px; }
    #footer ul li p { font-size: 13px; line-height: 1.9; color: #bbb; }
    #footer ul li p a { color: #bbb; font-size: 13px; }
    #footer ul li p a:hover { color: #f5a623; }
    #footer ul li p span { display: inline-block; margin: 3px 6px 3px 0; }
    #footer ul li .fcontact-icon { margin-right: 6px; }
    #footer ul li:nth-child(4) { text-align: center; }
    #footer ul li:nth-child(4) img { margin: 0 auto 10px; }
}
@media (min-width: 747px) and (max-width: 1019px) {
    #footer {
        clear: both; overflow: hidden; width: 100%;
        padding: 2em 0 0 0; background: #143468; margin: 0;
    }
    #footer ul {
        clear: both; width: 96%; max-width: 1200px; display: block;
        margin: 0 auto; padding: 0 0 2em 0; overflow: hidden; color: #c5c5c5;
        display: grid; grid-template-columns: 36% auto 28%;
    }
    #footer ul li:nth-child(2) { display: none; }
    #footer ul li { display: block; overflow: hidden; }
    #footer ul li h4 { font-size: 120%; padding-bottom: 0.8em; color: #f4f4f4; }
    #footer ul li p { font-size: 13px; line-height: 1.9; color: #bbb; }
    #footer ul li p a { color: #bbb; font-size: 13px; }
    #footer ul li p a:hover { color: #f5a623; }
    #footer ul li p span { display: inline-block; margin: 3px 6px 3px 0; }
    #footer ul li .fcontact-icon { margin-right: 6px; }
    #footer ul li:nth-child(3) { text-align: left; }
    #footer ul li:nth-child(4) { text-align: center; }
}
@media (max-width: 746px) {
    #footer {
        clear: both; overflow: hidden; width: 100%;
        padding: 2em 0 0 0; background: #143468; margin: 0;
    }
    #footer ul {
        clear: both; width: 96%; max-width: 1200px; display: block;
        margin: 0 auto; padding: 0 0 2em 0; overflow: hidden; color: #c5c5c5;
    }
    #footer ul li { display: block; overflow: hidden; width: 100%; text-align: center; padding: 0.5em 0; }
    #footer ul li:nth-child(2) { display: none; }
    #footer ul li:nth-child(4) { display: none; }
    #footer ul li h4 { font-size: 115%; padding-top: 0.8em; color: #f4f4f4; }
    #footer ul li p { font-size: 13px; line-height: 1.8; color: #bbb; }
    #footer ul li p a { color: #bbb; }
    #footer ul li p a:hover { color: #f5a623; }
    #footer ul li img{margin: 0 auto;}
}
#footer section {
    clear: both; width: 100%; display: block; margin: 0 auto;
    padding: 1em 15px; overflow: hidden; background: #0d2140;
    color: #7a8daa; text-align: center; font-size: 13px;
}
#footer section a { color: #7a8daa; }
#footer section a:hover { color: #f5a623; }

/* ---- 悬浮右侧菜单 ---- */
@media (min-width: 1201px) {
    .izl-rmenu {
        margin-right: 0; width: 100px; position: fixed;
        right: 2px; bottom: 160px; z-index: 99; overflow: visible;
    }
    .izl-rmenu ol { background: #143468; border-radius: 4px 0 0 4px; overflow: hidden; }
    .izl-rmenu ol li { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 12px; overflow: hidden; }
    .izl-rmenu ol li a { color: #fff; display: block; white-space: nowrap; }
    .izl-rmenu ol li a:hover { color: #f5a623; }
    .izl-rmenu ol li#isQRcode img { width: 80px; height: 80px; }
    .izl-rmenu ul li { padding-bottom: 1px; text-align: center; float: right; overflow: hidden; }
    .izl-rmenu span { display: block; }
    .izl-rmenu .consult {
        cursor: pointer; display: block; padding: 8px 0; text-align: center;
        background: #f5a623; width: 100px; overflow: visible; position: relative;
    }
    .izl-rmenu .phone { color: #fff; font-size: 11px; display: block; }
    .izl-rmenu .cart { display: none; }
    .izl-rmenu .btn_top {
        display: block; width: 100px; height: 46px;
        background: #02889a; cursor: pointer; overflow: visible;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 4l-8 8h5v8h6v-8h5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: center; background-size: 24px;
    }
    .izl-rmenu .btn_top:hover { background-color: #3d5171; }
}
@media (max-width: 1200px) {
    .izl-rmenu {
        margin-right: 0; width: 46px; position: fixed;
        right: 2px; bottom: 2em; z-index: 99; overflow: visible;
        opacity: 0.92;
    }

    /* 隐藏的详细面板，默认不显示 */
    .izl-rmenu ol {
        display: none;
        position: absolute;
        right: 48px;
        bottom: 0;
        width: 180px;
        background: #143468;
        border-radius: 4px;
        box-shadow: -2px 2px 8px rgba(0,0,0,0.2);
        padding: 8px 0;
        z-index: 100;
    }
    /* 打开状态 */
    .izl-rmenu.open ol {
        display: block;
        animation: slideIn 0.2s ease-out;
    }
    @keyframes slideIn {
        from { opacity: 0; transform: translateX(10px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .izl-rmenu ol li {
        padding: 8px 12px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 13px;
        white-space: nowrap;
    }
    .izl-rmenu ol li:last-child { border-bottom: none; }
    .izl-rmenu ol li a { color: #fff; display: block; }
    .izl-rmenu ol li a:hover { color: #f5a623; }
    .izl-rmenu ol li#isQRcode img { width: 100%; max-width: 160px; height: auto; }
    .izl-rmenu ol li#isphone { color: #fff; }
    .izl-rmenu ol li#isphone span { color: #f5a623; font-weight: bold; }

    /* 主按钮列 */
    .izl-rmenu ul li { overflow: hidden; }

    /* 电话按钮 - 只显示图标 */
    .izl-rmenu .consult {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        width: 46px;
        background: #f5a623;
        overflow: hidden;
        position: relative;
    }
    .izl-rmenu .consult::after {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }
    .izl-rmenu .phone { display: none; }

    /* 打开/关闭触发器 */
    .izl-rmenu .consult::before {
        content: "";
        position: absolute;
        right: -4px;
        width: 0;
        height: 0;
        border-left: 4px solid #f5a623;
        border-top: 23px solid transparent;
        border-bottom: 23px solid transparent;
        opacity: 0;
        transition: opacity 0.2s;
    }
    .izl-rmenu.open .consult::before { opacity: 1; }

    .izl-rmenu .cart {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        width: 46px;
        background: #02889a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") center no-repeat;
        background-size: 22px;
        overflow: hidden;
        position: relative;
    }
    .izl-rmenu .cart::after {
        content: "";
        position: absolute;
        right: -4px;
        width: 0;
        height: 0;
        border-left: 4px solid #02889a;
        border-top: 23px solid transparent;
        border-bottom: 23px solid transparent;
        opacity: 0;
        transition: opacity 0.2s;
    }
    .izl-rmenu.open .cart::after { opacity: 1; }

    .izl-rmenu .btn_top {
        display: block; width: 46px; height: 46px; cursor: pointer;
        background: rgba(2,136,154,0.9); overflow: hidden; position: relative;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 4l-8 8h5v8h6v-8h5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: center; background-size: 20px;
        margin: 0 auto;
    }
}

/* ---- 辅助 ---- */
#hometitle { display: none; font-size: 0; }
.radius { border-radius: 50%; }
.myli { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.showtxt { text-align: justify; text-justify: inter-ideograph; }
.filter { filter: alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; }

/* 图片 hover 缩放 */
img.zoom-img {
    -webkit-transform: scale(1, 1);
    -webkit-transition-timing-function: ease-in;
    -webkit-transition-duration: 250ms;
    transform: scale(1, 1);
    transition-timing-function: ease-in;
    transition-duration: 250ms;
}
img.zoom-img:hover {
    -webkit-transform: scale(1.08);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 750ms;
    transform: scale(1.08);
    transition-timing-function: ease-out;
    transition-duration: 750ms;
    overflow: hidden;
}
