.text-ellipsis-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* 限制为1行 */
    overflow: hidden;
}

.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* 限制为2行 */
    overflow: hidden;
}

.text-ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* 限制为3行 */
    overflow: hidden;
}

.layout {
    background-color: #ffffff;
}
.pc-languagebtn{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    transition: .3s;
}
.pc-languagebtn:hover{
    background-color: #1D2088;
    color: #fff;
}

.page-location{
    padding: 16px 0;
}
.content_title{
    /*text-align: center;*/
    justify-content: center !important;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 20px;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1D2088;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}
.logo img{
    height: 56px;
}

.nav {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: stretch;
}

.nav-item {
    position: relative;
    margin-left: 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 0 10px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #1D2088;
    transition: width 0.3s ease;
}

.nav-item:hover .nav-link::after {
    width: 100%;
}

.nav-item:hover .nav-link {
    color: #1D2088;
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: -2px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
}

.dropdown-link:hover {
    color: #1D2088;
}

.header.scrolled {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-item {
        margin-left: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

/* 产品卡片样式 */
.product-card {
    display: block;
    /* border: 1px solid #f2f2f2; */
    background-color: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.product-card .product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    /* width: 100%; */
    /* height: 100%; */
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
@media (max-width: 992px) {
    .product-card .product-image {
        height: 140px;
    }
    
    .product-card .product-image img {
        height: 120px;
    }
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 16px;
    text-align: center;
}

.product-card .product-info .product-name {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
@media (max-width: 992px) {
    .product-card .product-info {
        padding: 8px;
    }
    .product-card .product-info .product-name {
        height: 2.6em;
    }
}
.product-card .product-info .product-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}


/* 文章卡片样式 */
.article-card {
    display: block;
    border: 1px solid #f2f2f2;
    background-color: #f8f8f8;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.article-card .article-image {
    width: 100%;
    height: 226px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card .article-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-card .article-info {
    padding: 16px;
}

.article-card .article-info .article-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    min-height: calc(1.62em * 2);
    transition: 0.5s;
}
.article-card .article-info.article-desc {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #9c9c9c;
    line-height: 1.4;
    transition: 0.5s;
}
.article-card .article-info.article-time {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #9c9c9c;
    line-height: 1.4;
    transition: 0.5s;
}
.article-card:hover .article-title {
    color: #1D2088;
}
.article-card:hover .article-desc {
    color: #333;
}


/* 视频卡片样式 */
.video-card {
    display: block;
    border: 1px solid #f2f2f2;
    background-color: #f8f8f8;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.video-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-image img {
    /*width: 100%; */
    height: 100%; 
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-image img {
    transform: scale(1.05);
}

.video-card .video-image .play-box{
    width: 60px;
    height: 60px;
    border-radius: 22px 0 0 0;
    background: #f8f8f8;
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-card .video-image .play-box .play{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #999999;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-card .video-image .play-box::before {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url('../images/l.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto;
    position: absolute;
    left: -22px;
    bottom: 0;
}
.video-card .video-image .play-box::after {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url('../images/t.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto;
    position: absolute;
    right: 0;
    top: -22px;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

/*下载列表 卡片 */
.download-card{
    border-radius: 22px;
    padding: 2.7422%;
    background: #f8f8f8;
    display: flex;
}
.download-card .download-icon{
    width: 56px;
}
.download-card .download-info{
    margin-left: 32px;
}
.download-card .download-info .download-name{
    font-size: 18px;
    font-weight: 400;
    padding-bottom: 4px;
    border-bottom: 1px solid #f8f8f8;
    margin-bottom: 4px;
    transition: .3s;
}
.download-card .download-info .download-name:hover{
    color: #1D2088;
    border-bottom: 1px solid #1D2088;
}
.download-card .download-btns{
    margin-left: auto;
}
.download-btn{
    background-color: #ffffff;
    border-radius: 8px;
    min-width: 140px;
    height: 42px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 8px;
    margin-top: 24px;
    transition: .3s;
}
.download-btn:hover{
    background-color: #1D2088;
    color: #ffffff;
}

@media (max-width: 768px) {
    .product-image,
    .video-image {
        height: 160px;
    }
    
    .product-name,
    .video-title {
        font-size: 14px;
    }
    
    .product-desc {
        font-size: 12px;
    }
}


/* zizhi卡片样式 */
.zizhi-card {
    display: block;
    /* border: 1px solid #f2f2f2; */
    background-color: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.zizhi-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.zizhi-card .zizhi-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zizhi-card .zizhi-image img {  
    /* width: 100%; */
    /* height: 100%; */
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zizhi-card:hover .zizhi-image img {
    transform: scale(1.05);
}

.zizhi-card .zizhi-info {
    padding: 16px;
    text-align: center;
}

.zizhi-card .zizhi-info .zizhi-title {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.zizhi-card .zizhi-info .zizhi-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


/* 图片卡片样式 */
.picture-card {
    display: block;
    /* border: 1px solid #f2f2f2; */
    background-color: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.picture-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.picture-card .picture-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.picture-card .picture-image img {  
    /* width: 100%; */
    /* height: 100%; */
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.picture-card:hover .picture-image img {
    transform: scale(1.05);
}

.picture-card .picture-info {
    padding: 16px;
    text-align: center;
}

.picture-card .picture-info .picture-title {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* 联系我们样式 */
.contact {
    /* background-image: url('../images/map.png'); */
    /* background-position: center center; */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
}

#contactInfo {
    display: none;
}

#mapDiv{
    border-radius: 16px;
    padding: 40px 0 80px 0;
}
.contact-form {
    position: relative;
    z-index: 999999999;
    padding: 32px;
    margin-right: 32px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-row .layui-form-item {
    flex: 1;
    margin-bottom: 0;
}

.layui-input,
.layui-textarea {
    border-radius: 6px;
    border-color: #e6e6e6;
    transition: all 0.3s ease;
}

.layui-input:focus,
.layui-textarea:focus {
    border-color: #1D2088;
    box-shadow: 0 0 0 2px rgba(29, 32, 136, 0.1);
}

.layui-textarea {
    min-height: 120px;
    resize: vertical;
}

.layui-btn {
    border-radius: 6px;
    padding: 0 24px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.layui-btn-normal {
    background-color: #1D2088;
}

.layui-btn-normal:hover {
    background-color: #161a6e;
}

.layui-btn-primary {
    border-color: #e6e6e6;
    color: #666;
}

.layui-btn-primary:hover {
    border-color: #1D2088;
    color: #1D2088;
}
.contact-info{
    background-color: #ffffff;
    padding: 8px 16px;
}
.info-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.info-item .layui-icon {
    font-size: 16px;
    color: #1D2088;
    margin-right: 8px;
}

.info-content {
    flex: 1;
}

.info-label {
    display: inline-block;
    font-size: 14px;
    color: #999;
    margin: 0 8px 0 0 !important;
}

.info-value {
    display: inline-block;
    font-size: 14px;
    color: #333;
    margin: 0 !important;
}

.site-footer {
    background-color: #f4f4f4;
    color: #333;
    padding: 32px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px){
    .footer-content{
        flex-direction: column;
    }
}

.footer-section {
    flex: 1;
    min-width: 200px;
}
.footer-section h1{
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 400;
}

.footer-info .footer-info-item {
    display: flex;
    align-items: center;
    /* margin-bottom: 12px; */
    font-size: 14px;
    color: #666;
}

.footer-info .footer-info-item i {
    font-size: 18px;
    color: #1D2088;
    margin-right: 10px;
}

.qrcode-container {
    text-align: center;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 4px;
    background-color: #ffffff;
}

.qrcode-text {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.footer-legal {
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.legal-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #1D2088;
}

.separator {
    color: #ccc;
    font-size: 14px;
}

.icp {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.sidebar{
    background-color: #f8f8f8;
    border-radius: 16px;
    padding: 24px;
}
.sidebar .section-header{
    padding-bottom: 0;
    margin-bottom: 24px;
}
.sidebar .section-header h2{
    font-size: 20px;
}
.sidebar-item{
    display: block;
    padding-left: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.3s ease;
}
.sidebar-item:before{
    position: absolute;
    top: 8px;
    left: 0px;
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background-color: #909090;
}
.sidebar-item .article-title{
    font-size: 16px;
    font-weight: 400;
    color: #333;
    transition: .5s;
}
.sidebar-item .article-title:hover{
    color: #1D2088;
}
.sidebar-item .article-time{
    font-size: 14px;
    font-weight: 400;
    color: #909090;
}
