/* ===== 字体 ===== */
@font-face {
    font-family: '思源字体';
    src: url('/assets/fonts/SourceHanSansK-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '思源字体', sans-serif;
    color: #333;
    background: #fff;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    border: 0;
    max-width: 100%;
}

/* ===== 页面容器 ===== */
.pagebox {
    width: 100%;
}

.page-main {
    display: flow-root;
    width: 1200px;
    margin: 0 auto;
    min-height: 671px;
}

/* ===== 顶部导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    z-index: 1000;
}

.site-nav {
    width: 1200px;
    height: 76px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.nav-item {
    position: relative;
    width: 168px;
    height: 76px;
    line-height: 56px;
    text-align: center;
}

.nav-item > a {
    display: block;
    height: 76px;
    line-height: 56px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.nav-item > a:hover {
    background: rgba(140, 200, 255, .5);
    color: #333;
}

.nav-logo {
    width: 250px;
}

.nav-logo > a {
    height: 76px;
    line-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    height: 52px;
    width: auto;
}

/* 二级菜单 */
.nav-sub {
    display: none;
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 168px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
    z-index: 1001;
}

.nav-item:hover .nav-sub {
    display: block;
}

.nav-sub dd a {
    display: block;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.nav-sub dd a:hover {
    background: rgba(140, 200, 255, .5);
}

.nav-sep {
    height: 2px;
    background: #023058;
}

/* CN / EN */
.site-lang {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.site-lang a {
    color: #333;
}

.nav-spacer {
    height: 76px;
}

/* ===== Banner ===== */
.banner img {
    width: 100%;
    height: 262px;
    display: block;
}

/* ===== 页面标题 ===== */
.page-title {
    min-height: 32px;
    margin-top: 33px;
    text-align: center;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    /* letter-spacing: 2px; */
    line-height: 1.6;
}

.page-title--news {
    margin-top: 33px;
    color: #043787;
    font-size: 30px;
    font-weight: normal;
}

.title-line {
    display: block;
    width: 30px;
    height: 1px;
    margin: 10px auto;
    background: rgba(99, 99, 99, .5);
}

/* ===== 关于我们 / 新闻详情正文 ===== */
.page-body {
    padding-top: 22px;
    font-size: 14px;
    line-height: 30px;
}

/* ===== 首页产品 ===== */
.products-title {
    margin-top: 40px;
    text-align: center;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
}

.products-swiper {
    width: 1200px;
    height: 300px;
    margin-bottom: 35px;
}

.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.product-thumb a {
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

.product-thumb img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 12px;
}

.product-thumb span {
    display: block;
    line-height: 22px;
}

.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
    display: none;
}

/* ===== 产品列表 ===== */
.product-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 41px;
}

.product-card {
    width: 402px;
    margin: 5px;
    padding: 5px;
    border: 1px solid #e5e5e5;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
}

.product-card img {
    display: inline-block;
    width: 370px;
    height: auto;
}

.product-card h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.product-card .card-more {
    text-align: right;
    line-height: 40px;
}

.product-card .card-more .ext {
    font-size: 14px;
}

.list-gap {
    height: 40px;
}

/* ===== 资源列表 ===== */
.news-list {
    margin-top: 41px;
}

.news-list li {
    padding: 5px;
    border-bottom: 1px solid #e5e5e5;
    line-height: 40px;
    text-align: center;
}

.news-list li a {
    color: #000;
    font-size: 20px;
    font-weight: normal;
}

/* ===== 新闻详情 ===== */
.article {
    margin-top: 41px;
    font-size: 14px;
    line-height: 30px;
}

/* ===== 产品详情 ===== */
.product-detail {
    display: flex;
    padding: 65px 30px 0 60px;
}

.gallery {
    width: 435px;
    height: 500px;
    margin-right: 120px;
}

.gallery-main {
    width: 435px;
    height: 400px;
}

.gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev {
    color: #6e8292;
}

.gallery-thumbs {
    width: 391px;
    height: 100px;
    margin: 10px 0 0 20px;
    padding: 0 1px;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100px;
    opacity: .4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.gallery-thumbs img {
    width: 65px;
    height: 65px;
    object-fit: cover;
}

.product-info {
    width: 500px;
    padding: 67px 50px 0 0;
    text-align: justify;
}

.product-head {
    margin-bottom: 20px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.product-head h1,
.product-head h2 {
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.product-desc {
    min-height: 220px;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.product-features {
    margin: 20px 85px 0 0;
    padding: 30px 50px 50px;
    background: #F8F9FA;
    text-align: justify;
}

.product-body {
    margin: 30px 70px 0 0;
    padding: 30px 65px 10px 50px;
    text-align: justify;
}

.product-download {
    display: flex;
    justify-content: center;
    margin: 10px 70px 100px 0;
    padding: 0 65px 0 50px;
    text-align: center;
}

.product-download a {
    color: #000;
    font-size: 16px;
}

.product-download img {
    max-width: 500px;
    margin: 0 auto;
}

/* ===== 页脚 ===== */
.footer-space {
    height: 75px;
}

.site-footer {
    width: 100%;
    height: 100px;
    background: #6e8292;
    color: #fff;
    font-size: 14px;
}

.footer-inner {
    width: 1200px;
    height: 100px;
    margin: 0 auto;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-mail {
    color: #fff;
    line-height: 1.8;
}

.footer-info {
    text-align: right;
    line-height: 1.4;
}

.footer-info a {
    color: #fff;
}
