/* 全局样式重置 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Microsoft YaHei', Arial, sans-serif;
line-height: 1.6;
color: #333;
background: #f9fbfd;
}

a {
color: #333;
text-decoration: none
}

section {
width: 1920px;
margin: 0 auto;
}

.container {
width: 1200px;
margin: 0 auto;
}

/* 第一部分：顶部主题图 */
.hero-image {
width: 1920px;
position: relative;
overflow: hidden;
z-index: -1;
margin: 0 auto;
}

.hero-image img {
width: 100%;
height: auto;
display: block;
}

/* 第二部分：文字简介 */
.introduction {
padding: 0;
margin-top: -925px;

}

.intro-content {
width: 1200px;
margin: 0 auto;
padding: 80px;
height: 600px;
line-height: 1.8;
background: url(../../images/zhuanti_nyhxdzxt/intro-bg.png) no-repeat;
}

.intro-content p {
text-indent: 2em;
font-size: 25px;
color: #1936a1;
font-weight: 500;
}

/* 第三部分：视频 */
.video-section {
padding: 80px 0;

}

.video-container {
width: 1200px;
margin: 0 auto;
position: relative;
height: 675px;
/* 16:9 比例 */
background: linear-gradient(180deg, #1665c0, #bbdefb);
border-radius: 15px;
box-shadow: 0px 9px 7px rgb(181 216 246 / 52%);
}

.video-container video {
position: absolute;
top: 1%;
left: 1%;
width: 98%;
height: 98%;
border-radius: inherit;

}

.video-bas {
background: url(../../images/zhuanti_nyhxdzxt/video-bas.png) no-repeat;
height: 245px;
width: 1100px;
margin: -96px auto;
}

.tit {
width: fit-content;
height: fit-content;
margin: 60px auto 30px;
}

/* 第四部分：Tab切换 */
.tab-section {
padding: 40px 0;
}

.tab-container {
width: 1200px;
margin: 0 auto;
padding: 4px;
display: flex;
gap: 0;
background: linear-gradient(180deg, #317cd4, #194bac);
}

.tabs {
width: 270px;
}

.tab-item {
padding: 35px 10px;
background: linear-gradient(90deg, #2b7cd8, #328ff6, #328ef4);
cursor: pointer;
text-align: center;
transition: background-color 0.3s;
position: relative;
font-size: 30px;
height: 110px;
color: white;
}

.tab-item::after {
content: "";
position: absolute;
bottom: 0;
left: 5%;
width: 90%;
height: 1px;
background: linear-gradient(to right,
    transparent 0%,
    #fff 20%,
    /* 渐变的起始颜色，此处为蓝色 */
    #fff 80%,
    transparent 100%);
;
}

.tab-item:hover {
background-color: #e0e0e0;
}

.tab-item.active {
background-color: #4CAF50;
color: white;
}

.tab-content {
width: 930px;

min-height: 300px;
}

.tab-content img {
width: 100%;
height: 100%;
}

.gains-content {
position: absolute;
margin: 0px auto;
width: 585px;
color: #fff;
line-height: 1.5;
background: linear-gradient(90deg, #2b7cd8, #328ff6, #328ef4);
/* 箭头靠左边 */
clip-path: polygon(5% 0, 100% 0, 100% 100%, 5% 100%, 5% 15%, 0 10%, 5% 5%);
box-shadow: 0px 9px 7px rgba(5, 15, 24, 0.52);
display: none;
padding: 20px 10px 20px 60px
}

.gains-content li {
padding: 5px 0;
cursor: pointer;
}

/* 模态窗口 */


/* 第五部分：左右列表 */
.lists-section {
padding: 40px 0;
}

.lists-container {
width: 1200px;
margin: 0 auto;
display: flex;
gap: 100px;
}

.list-column {
width: 550px;
}

.list-item {
padding: 15px 0;


}

.list-item .item-content {
white-space: nowrap;
font-size: 20px;
overflow: hidden;
text-overflow: ellipsis;
}

.more a {
color: gray;
}

.more {
margin: 0 auto;
text-align: right;
width: 1200px;

}


/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    touch-action: none; /* 禁用浏览器默认触摸行为 */
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-cnt {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
}

.modal-cnt img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 控制面板 */
.controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.control-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.zoom-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 1001;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* 拖动指示器 */
.drag-hint {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 1001;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}


/* 第六部分：走马灯 */

/* 第四部分：走马灯 */
.carousel-section {
width: 1920px;
height: 730px;
padding-top: -34px;
margin: 50px auto;
background: url(../../images/zhuanti_nyhxdzxt/imgro-bg.png) no-repeat;
background-position: bottom;
background-size: contain;
position: relative;
}

.carousel-tit {
margin: 0 auto;
width: 1200px;
text-align: center;
}

.pics-auto {
height: 450px;
overflow: hidden;
display: flex;
flex-direction: row;
justify-content: space-around;
position: absolute;
width: 1200px;
top: 13.6%;
}

div#pics-auto {

width: 1200px;
position: relative;
height: 450px;
overflow: hidden;
margin: 60px auto;
display: flex;
height: 450px;
flex-direction: row;
}

.pic-tit {
position: absolute;
bottom: 0px;
/* margin-left: 10px; */
width: 100%;
background: #4b414199;
color: white;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;

}

.pic-tit span {
margin-left: 5px;
color: white;
}

.str_move {
white-space: nowrap;
position: absolute;
top: 0;
left: 0;
display: flex;
height: 450px;
flex-direction: row;
}

.str_move_clone {
display: flex;
height: 450px;
flex-direction: row;
;
vertical-align: top;
position: absolute;
left: 100%;
top: 0;
}

.pic-auto {
flex-shrink: 0;
margin: 0 5px;
position: relative;
}

.pic-auto img {
width: auto;
height: 100%;
}

.foot-03 {min-width: 1000px;padding: 10px 0;border-top: 1px solid #D2D2D2;font-size: 12px;line-height: 21px;text-align: center;margin-top: 20px}
.floatewm {display: none;position: fixed;width: 94px;padding: 15px 5px 5px;border: 1px solid #E8E8E8;background: #F6F6F6;left: 52%;bottom: 10px;_display: none;font-family: "Microsoft YaHei", Arial;font-size: 12px;line-height: 21px;text-align: center;margin-left: 580px}
.floatewm img {margin-top: 5px}
.floatewm span {color: #B00;font-size: 11px}
.floatewm i {display: block;position: absolute;width: 15px;height: 15px;font-style: normal;line-height: 15px;text-align: center;right: 0;top: 0;cursor: pointer}



/* 手机端适配 */
@media (max-width: 768px) {

    /* 全局容器适配 */
    .container,
    .intro-content,
    .video-container,
    .tab-container,
    .lists-container,
    .marquee-container {
        width: 100% !important;

    }

    section {
        width: 100vw;

    }

    .hero-image {
        width: 100%;
        padding: 0;
    }

    .introduction {
        margin-top: -54vw;
        height: 40vw;
        overflow-y: scroll;
        border-radius: 3vw;
    }

    .intro-content p {
        font-size: 4vw;
    }

    .intro-content {
        padding: 3vw 1vw;
        box-shadow: none;
        background: #fcfaf9e8;
        height: auto;
    }

    .video-container {
        height: 56vw;
    }

    .video-bas {
        display: none;
    }

    .tit {
        margin: 3vw auto 2vw;
    }

    .tit img {
        width: 34vw;
    }
    .tit.gains img{
        width: 50vw;
    }
    div#pics-auto {
        width: 96vw;
        height: 56vw;
        margin: 2vw auto;
        background: #328ef4;
    }

    .str_move {
        height: 54vw;
    }

    /* 间距调整 */
    .video-section,
    .tab-section,
    .lists-section,
    .marquee-section {
        padding: 20px 0;
    }



    /* Tab区域调整为上下布局 */
    .tab-container {
        flex-direction: column;
    }

    .tabs {
        width: 100%;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        border-bottom: 1px solid #ddd;
    }

    .tab-item {
        border-bottom: none;
        border-right: 1px solid #ddd;
        flex-shrink: 0;
        width: 20vw;
        height: 10vw;
        padding: 2vw 2vw;
        font-size: 4vw;
    }

    .tab-content {
        width: 100%;
        border-top: none;
        min-height: 200px;
    }

    .modal-content {
        width: 100vw;
    }

    .gains-content {
        position: absolute;
        width: 80vw;
        color: #fff;

        background: linear-gradient(90deg, #2b7cd8, #328ff6, #328ef4);
        /* 箭头靠左边 */
        clip-path: none;
        box-shadow: none;
        display: none;
        padding-left: 5vw;

    }


    /* 列表区域调整为单列 */
    .lists-container {
        flex-direction: column;
        gap: 15px;
        padding-left: 5vw;
    }

    .list-item {
        padding: 2vw 1vw;
    }

    .list-item .item-content {
        font-size: 4vw;
        line-height: 5vw;
        white-space: normal;
    }

    .list-column {
        width: 100%;
    }

    .more {
        width: 98vw;
    }

    /* 走马灯调整 */
    .carousel-tit {
        width: 55vw;

    }

    .carousel-section {
        width: 100vw;
        height: 80vw;
        background: none;
        margin-bottom: 5vw;
    }

    /* 模态窗口调整 */


    /* 字体大小调整 */
    h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    .list-item {
        font-size: 14px;
    }

    .foot-03 {width: 100%;min-width: 320px;box-sizing: border-box;padding: 30px 20px 10px;margin:0px 0 20px;}
    .floatewm {display: none !important}
}