body{
    width: 100%;
}
.service-img{
    width: 100%;
    height: 350px;
    background: url('../assets/newCenter.jpg') no-repeat;
    background-size: 100% 100%;
}  
.contact-nav{
    width: 100%;
    height: 60px;
    background: #F6F6F6;
}
.content-head{
    height: auto;
    background: #ffffff;
}
.content-head-title{
    width: 420px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    font-size: 36px;
    color: #333333;
    text-align: center;
    margin: 70px auto 0;
}
.heng{
    width: 55px;
    height: 3px;
    background: #D8222A;
    margin: 20px auto 0;
}
.content-head-tip-1{
    width: 310px;
    height: 16px;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    color: #666666;
    margin: 20px auto 0;
}

.content-head-tip-2{
    width: 310px;
    height: 16px;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
    color: #666666;
    margin: 20px auto 50px;
}
.content-model{
    width: 50%;
    height: 450px;
}
.first-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/first.png) no-repeat;
    background-size: 100% 100%;
}
.fourth-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/fourth.png) no-repeat;
    background-size: 100% 100%;
}
.fifth-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/fifth.png) no-repeat;
    background-size: 100% 100%;
}
.eighth-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/eighth.png) no-repeat;
    background-size: 100% 100%;
}
.content-model-header{
    width: 100%;
    height: 34px;
    /* border: 1px solid red; */
    /* padding-left: 100px; */
    margin-top: 30px;
}
.content-model-header-left{
    width: 130px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    color: #333333;
    font-size: 30px;
    border-right: 2px solid #333333;
}
.content-model-header-right{
    width: 170px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #333333;
    font-size: 20px;
    margin-top: 10px;
}
.content-model-text{
    width: 460px;
    height: 60px;
    /* border: 1px solid red; */
    font-size: 16px;
    line-height: 32px;
    color: #666666;
    /* margin-left: 110px; */
    margin-top: 30px;
}
.content-model-small-img{
    width: 122px;
    height: 122px;
    /* margin-left: 110px; */
    margin-top: 30px;
}
.content-model-big-img{
    width: 261px;
    height: 312px;
    margin-left: 30px;
}

.second-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/guoanebao.png) no-repeat;
    background-size: 100% 100%;
}
.content-model-header-left-third{
    width: 130px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #333333;
    font-size: 20px;
    margin-top: 10px;
}
.content-model-header-right-third{
    width: 260px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    color: #333333;
    font-size: 30px;
    border-left: 2px solid #333333;
}
.content-model-text-third{
    width: 460px;
    height: 60px;
    /* border: 1px solid red; */
    font-size: 16px;
    line-height: 32px;
    color: #666666;
    margin-right: 120px;
    margin-top: 30px;
}
.third-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/weixinshangcheng.png) no-repeat;
    background-size: 100% 100%;
}
.content-model-header-left-sixth{
    width: 90px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    color: #333333;
    font-size: 30px;
}
.sixth-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/mashangbao.png) no-repeat;
    background-size: 100% 100%;
}
.macode{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/macode.png) no-repeat;
    background-size: 100% 100%;
}
.content-model-header-right-seventh{
    width: 110px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    color: #333333;
    font-size: 30px;
    border-left: 2px solid #333333;
}
.content-model-header-left-seventh{
    width: 200px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #333333;
    font-size: 20px;
    margin-top: 10px;
    margin-right: 10px;
}
.seventh-img{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/yuanfubaoshili.png) no-repeat;
    background-size: 100% 100%;
}
.yuanfubao{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/yuanfubao.png) no-repeat;
    background-size: 100% 100%;
}
.foot{
    width: 100%;
    margin-top: 60px;
}
.tab{
    width: 100%;
    height: 60px;
    background: #F6F6F6;
}
.tab-item{
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tab-item-text{
    width: 100px;
    height: 60px;
    line-height: 60px;
    font-size: 14px;
    color: #666;
    float: left;
    display: flex;
    align-items: center;
}
.tab-item-text-home{
    float: left;
    display: flex;
    align-items: center;
}
.two-content-model{
    width: 1200px;
    height: 450px;
    margin: 0 auto;
    position: relative;
}
.center-image{
    width: 126px;
    height: 126px;
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/guoan.png) no-repeat;
    background-size: 100%;
    position: absolute;
    left: 45%;
    top: 5%;
}
.ma-shang-center-image{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/ma-shang.png) no-repeat;
}
.yuan-fu-center-image{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/yuna-fu.png) no-repeat;
}
.guoan{
    background: url(https://agent-app-1255417960.cos-website.ap-beijing.myqcloud.com/website/images/guoan-code.png) no-repeat;
}

.content-head-tip{
    width: 1200px;
    height: auto;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    line-height: 22px;
    color: #666666;
    margin: 20px auto 0;
}
.content-eic-text {
    width: 400px;
    height: 280px;
}
.content-eic-text-1 {
    margin: 20px;
    padding: 0 20px;
    background: linear-gradient(to bottom, #F0F0F0, #FEFEFE);
    line-height: 26px;
    display: flex;
    align-items: center;
}
.content-eic-text .content-eic-text-1:first-child {
    margin-bottom: 50px;
}
.content-eic-img {
    height: 280px;
    width: 360px;
    margin: 0 20px;
}

.content-eb-text {
    width: 750px;
    height: 280px;
    display: flex;
    align-items: center;
    margin-left: 15px;
    margin-bottom: 50px;
}
.content-eb-text-1 {
    margin: 20px;
    padding: 15px 20px;
    background: linear-gradient(to right, #FEFEFE, #EFEFEF);
    line-height: 26px;
    display: flex;
    align-items: center;
}
.content-eb-img {
    height: 280px;
    width: 250px;
    margin-bottom: 50px;
}
.serviceList{
    position: relative;
    width: 100%;
}
.serviceItem{
    width: 48%;
    /* float: left; */
    margin-bottom: 30px;
}
.serviceList .serviceItem:nth-child(2n){
    margin-left: 4%;
}
.serviceItem-title{
    color: #fff;
    background: #E3C458;
    font-size: 24px;
    text-align: center;
    padding: 5px 0;
}
.serviceItem-img{
    width: 100%;
    height: 245px;
    object-fit: contain;
    margin-top: 20px;
    margin-bottom: 30px;
}
.serviceItem-text{
    font-size: 16px;
    line-height: 24px;
    /* color: #666666; */
}

.news-list {
    padding: 20px;
}

.news-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #f5f5f5;
}

.news-image {
    width: 120px;
    height: 90px;
    margin-right: 20px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: transform 0.3s;
}
.news-item:hover .news-image img {
    transform: scale(1.05);
}
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-summary {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
    width: 100%;
    padding-right: 20px;
    box-sizing: border-box;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    padding: 6px 12px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 3px;
}

.page-number.active {
    background-color: #D8222A;
    color: white;
    border-color: #D8222A;
}

.prev-btn, .next-btn {
    padding: 6px 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover, .page-number:hover {
    border-color: #D8222A;
    color: #D8222A;
}

.page-number-ellipsis {
    padding: 6px 8px;
}

.prev-btn:disabled, .next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ddd;
    color: #999;
}

.news-tab-switcher {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 30px;
    height: 100%;
}

.news-tab {
    padding: 8px 15px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    color: #666;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    height: 100%;
}

.news-tab:hover {
    color: #D8222A;
}

.news-tab.active {
    color: #D8222A;
    font-weight: bold;
}

.news-tab.active:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #D8222A;
}

/* 视频相关样式 */
.video-item .news-image {
    position: relative;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.video-item:hover .video-play-icon {
    background-color: rgba(216, 34, 42, 0.8);
}
.featured-video-player{
    width: 100%;
    height: 100%;
}

/* 视频弹出层样式 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    background-color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.video-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.video-modal-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
}

.video-modal-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

/* 添加一些动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.video-modal.active {
    display: block;
}

.video-modal.active .video-modal-overlay {
    animation: fadeIn 0.3s ease-out forwards;
}

.video-modal.active .video-modal-container {
    animation: scaleUp 0.3s ease-out forwards;
}

/* 当弹出层显示时禁止滚动 */
body.modal-open {
    overflow: hidden;
}
#newShow{
    max-width: 1200px;
    margin: 10px auto;
    position: relative;
}
.back{
    position: absolute;
    right: 0;
    top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 25px;
    height: 25px;
}

/* 内容区域 loading 样式 */
.content-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    display: none;
    min-height: 300px;
}

/* Loading 动画 */
.loading-spinner {
    margin-bottom: 15px;
    width: 70px;
    text-align: center;
}

.loading-bounce1, .loading-bounce2, .loading-bounce3 {
    width: 18px;
    height: 18px;
    background-color: #D8222A;
    border-radius: 100%;
    display: inline-block;
    animation: loading-bounce 1.4s infinite ease-in-out both;
}

.loading-bounce1 {
    animation-delay: -0.32s;
}

.loading-bounce2 {
    animation-delay: -0.16s;
}

@keyframes loading-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

.loading-text {
    color: #666;
    font-size: 14px;
}