:root {
    --main-width: 1920px;
}
*{
    margin:0;
    padding:0;
}
a{
    color: black;
    text-decoration: none;
}
/* 科技感背景 */
body {
    margin: 0 auto;
    color: #e6f1ff;
    background-size: 100%;
}
.container{
    width:var(--main-width);
    margin: 0 auto;
    background: url(/../resources/images/zhuanti_kjgzzr/bg5.jpg) no-repeat;
}
/* 第1部分：顶图 */
.header-image {
    width: var(--main-width);
    height: 1060px;
    position: relative;
    overflow: hidden;

}

.header-image img {
    width:82%;
    display: block;
    margin: 300px auto auto;
    object-fit: cover;
    
    animation: float 6s ease-in-out infinite;
}
/* 第2部分：导语 */
.intro-section{
    width: var(--main-width);

}
.intro-container{
    background: url(/../resources/images/zhuanti_kjgzzr/intro.png);
    width:1336px;
    height:645px;
    margin:0 auto;
}
.intro-content{
    width:1000px;
    margin: 0 auto;
    font-size: 26px;
    padding: 90px 0;
    line-height: 50px;
    
}
.intro-content p{
    text-indent: 2em;
}
/* 第3部分：视频 */
.video-section {
    width: var(--main-width);
    margin: 72px auto 0;
    
    
    
}

.video-container {
    background: url(/../resources/images/zhuanti_kjgzzr/video-bg.png) no-repeat;
    width: 1200px;
    height: 772px;
    margin: 32px auto;
    background-size: contain;
}
.video-layer{
    position: relative;
    width: 900px;
    height: 506px;
    margin:0 auto;
    
}
.video-layer img{
    position: absolute;
    top: 0px;
    left: 0;
    width: 900px;
    height: 506px;
}
.video-layer video{
    width: 900px;
    height: 506px;
    border-radius: 15px;
    
}

/* 第4部分：图片网格 */
.image-grid {
    width: 1920px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.grid-header {
    margin: 25px auto;
}
.grid-header img{
    display: block;
    margin:  0 auto;
}
.grid-body{
    width: 1538px;
    height: 835px;
    margin: 25px auto;
    background: url(/../resources/images/zhuanti_kjgzzr/pw.png) no-repeat;
    background-size: contain;
}
.grid-container{
    margin:100px auto;
    width: 1200px;
    height: 640px;
    display: flex;
    justify-content: space-evenly;
}
.grid-col-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flip-card {
    aspect-ratio: 1;
    width: 187px;
    /* 统一卡片尺寸 */
    height: 106px;
    margin: 10px auto;
    /* 水平居中 */
    perspective: 1000px;
    border-radius: 8px;
    overflow: hidden;
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例 */
}

.image-grid {
    width: var(--main-width);
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 居中对齐 */
    gap: 20px;
    /* 统一间距 */
}

.card-face {
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;    
    padding: 15px;
}

.card-front {
    transform: rotateY(0deg);
    position: absolute;
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.flip-card.flipped .card-front {
    transform: rotateY(-180deg);
    transition: transform 0.6s ease-in-out;
}

.flip-card.flipped .card-back {
    transform: rotateY(0deg);
    transition: transform 0.6s ease-in-out;
}

.flip-inner {
    position: relative;
}
/**.flip-card.flipped .flip-inner {
    transform: rotateY(180deg);
    transition: transform 0.6s ease-in-out;
}**/
.card-poster{
    display: none;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction:column;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.btn-container {
    width: 30%;
    margin: 0 auto;   
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.close-btn {
    /* aspect-ratio: 2/1; */
    border: 1px solid;
    width: 36px;
    height: 36px;
    text-align: center;
    font-size: 24px;
    line-height: 38px;
    cursor: pointer;
    /* aspect-ratio: 1; */
}
a#xq {
    font-size: 24px;
    color: white;
    text-decoration: none;
}
.poster-container {
    margin-top: 20px;
    width: 354px;
    height: 600px;
    text-align: center;
}
/* 复用之前的翻转动画和模态窗口样式 */

/* 第5部分：图文列表 */
.article-section{
    width: var(--main-width);
    color: black;
    font-size: 22px;
}
.article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: 20px;
}

.article-list {
    width: 1200px;
    margin: 40px auto;
}
.article-header{
    margin: 25px auto;
}
.article-header img{
    display: block;
    margin: 0 auto;
}
.article-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid #DDD;
}

.article-image {
    flex: 0 0 320px;
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} 
.article-content h3>a{
    color: black;
}


.tip{margin: -28px auto -10px;color: #bab8b8;text-align: center;font-size:16px;}


.foot-03 {color: black; min-width: 1000px;padding: 10px 0;border-top: 1px solid #D2D2D2;font-size: 12px;line-height: 21px;text-align: center;margin-top: 20px}
.foot-03 a{color: black; }
.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}


@keyframes float {

    0%,
    100% {
        /**filter: hue-rotate(-15deg) contrast(1);**/
        transform: translateY(0);
    }

    50% {
       /**filter: hue-rotate(15deg) contrast(1);**/
        transform: translateY(-15px);
    }
}

@media screen and (max-width:750px) {
    main.container {
        width: 100vw;
        background: url(/../resources/images/zhuanti_kjgzzr/bg5.jpg) no-repeat;
        background-size: 100%;
    }
    .header-image {
        width: 100vw;
        height: 55.2vw;
        position: relative;
        overflow: hidden;
    
    }
    .intro-container{
        background: url(/../resources/images/zhuanti_kjgzzr/intro.png) no-repeat;
        width:98vw;
        height:30vw;
        margin:0 auto;
    }
    .intro-container{
        background: url(/../resources/images/zhuanti_kjgzzr/intro.png) no-repeat;
        background-size: contain;
        width: 100vw;
        height: 54vw;
        margin:0 auto;
        padding-top: 1vw;
    }
        

    .header-image img {
        width:82%;
        display: block;
        /* margin: 330px auto auto; */
        margin: 17vw auto;
        object-fit: cover;
        animation: float 6s ease-in-out infinite;
    }
    /* 第2部分：导语 */
    .intro-section{
        width: 100vw;
    }    
    .intro-content{
        width: 81vw;
        height: 40vw;
        margin: 6px auto;
        font-size: 14px;
        padding: 12px 0px;
        line-height: 26px;
        overflow-y: auto;
    }
    .video-section {
        width: 100vw;
        margin: 10px auto;
    }
    .video-container {
        background: url(/../resources/images/zhuanti_kjgzzr/video-bg.png) no-repeat;
        width: 95vw;
        height: auto; 
        margin: 15px auto;
        background-size: contain;
    }
    .video-layer{
        position: relative;
        width: 95vw;
        height: 53.5vw; 
        margin:0 auto;
    }
    .video-layer img{
        position: absolute;
        top: 5px;
        left: 0;
        width: 100%;
        height: auto;
    }
    .video-layer video{
        position: relative;
        width: 95vw;
         height: auto;
        border-radius: 12px;
        margin-top: 7px;
       z-index: 99;
    }
    .grid-header {
        margin: 20px auto 0px;
    }
    .grid-header img{
        display: block;
        margin:  0 auto;
        width: 100%;
    }
    .grid-body{
        width: 98vw;        
        height: 53vw;
        margin: 0px auto;
        background: url(/../resources/images/zhuanti_kjgzzr/pw.png) no-repeat;
        background-size: contain;
    }
    .grid-container{
        margin: 4.5vw auto;
        width: 93vw;
        height: auto;
        display: flex;
        justify-content: space-evenly;
    }
    .flip-card {
        aspect-ratio: 16/10;
        width: 16vw;
        /* 统一卡片尺寸 */
        /* height: 106px; */
        /* margin: 10px auto; */
        /* 水平居中 */
        margin:4px auto;
        height: 9vw;
        perspective: 1000px;
        border-radius: 0px;
        overflow: hidden;
        zoom: 0.85;
    }

    .btn-container {
        width: 79%;
        margin: 13px auto;
        text-align: right;
        
    }

    .image-grid {
        width: 100vw;
        margin: 0px auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* 居中对齐 */
        gap: 20px;
        /* 统一间距 */
    }
    
    .card-face {
        backface-visibility: hidden;
        transition: transform 0.6s ease-in-out;
        padding: 0px;
    }
    .article-section{
        width: 100vw;
        color: black;
        font-size: 15px;
    }
    .article-list {
        width: 100vw;
        margin: 22px auto;
    }
    .article-header{
        margin: 25px auto 18px;
    }
    .article-header img{
        display: block;
        margin: 0 auto;
        width: 100%;
    }
    .article-item {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid #DDD;
        flex-direction: row;
    }
    .article-content {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
    .article-image {
        flex: none;
        width: 32vw;
        height: 18vw;
        overflow: hidden;
    }
    .article-content  p {
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
	.tip{margin: -10px auto -8px;font-size:10px;}
    .foot-03 {width: 100%;min-width: 320px;box-sizing: border-box;padding: 10px 20px;}
    .floatewm {display: none !important}
}