/* gjdwxdw.css - 国家电网项目页面样式 */

/* 横幅图片样式 */
.gjdwxdw-banner {
    margin-top: 86px;
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;
}

.gjdwxdw-banner img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
    display: block;
    /* max-width: 1920px; */
    margin: 0 auto;
}

.gjdwxdw-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #f2f2f2;
    z-index: 2;
}

.gjdwxdw-banner-text span {
    font-size: 50px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gjdwxdw-banner-text p {
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    top: 25px;
}

/* 响应式设计 */
@media screen and (max-width: 1366px) {
    .gjdwxdw-banner-text span {
        font-size: 42px;
    }
    .gjdwxdw-banner-text p {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .gjdwxdw-banner {
        margin-top: 60px;
        height: 300px;
    }
    
    .gjdwxdw-banner img {
        width: 100%;
        height: 300px;
    }
    
    .gjdwxdw-banner-text {
        top: 50%;
    }
    
    .gjdwxdw-banner-text span {
        font-size: 28px;
    }
    .gjdwxdw-banner-text p {
        font-size: 18px;
        margin-top: 20px;
        top: 20px;
    }
}

/* 双图背景区块样式 */
.gjdwxdw-dual-images {
    width: 1440px;
    max-width: 90%;
    height: 560px;
    display: flex;
    align-items: stretch;
    /* overflow: hidden; */
    margin: 150px auto 150px;
}

.gjdwxdw-left-img {
    width: 480px;
    height: 560px;
    flex-shrink: 0;
}

.gjdwxdw-left-img {
    position: relative;
}

.gjdwxdw-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gjdwxdw-left-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.gjdwxdw-left-text-container {
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
}

.gjdwxdw-left-upper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

.gjdwxdw-left-upper span {
    font-size: 24px;
    color: #000000;
    font-weight: 300;
    margin-bottom: 8px;
    text-align: left;
}

.gjdwxdw-left-divider {
    width: 350px;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #000000 0,
        #000000 8px,
        transparent 8px,
        transparent 16px
    );
    margin: 20px 0;
    align-self: flex-start;
}

.gjdwxdw-left-lower {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    width: 100%;
}

.gjdwxdw-left-lower span {
    font-size: 24px;
    color: #000000;
    font-weight: 300;
    margin-bottom: 8px;
    text-align: left;
}

.gjdwxdw-right-img {
    width: 960px;
    height: 560px;
    flex-shrink: 0;
}

.gjdwxdw-right-img {
    position: relative;
}

.gjdwxdw-right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gjdwxdw-right-text {
    position: absolute;
    bottom: 60px;
    left: 130px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}



.gjdwxdw-clickable {
    cursor: pointer;
    transition: color 0.3s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.gjdwxdw-clickable::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #0455da 0%, #3fa7ff 100%);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 1;
}

.gjdwxdw-clickable.active {
    color: #0455da !important;
    font-weight: 400;
    transform: scale(1.08);
    transition: color 0.3s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
}

.gjdwxdw-clickable.active::after {
    width: 100%;
}

/* 响应式设计 */
@media screen and (max-width: 1440px) {
    .gjdwxdw-left-img {
        width: 33.33%;
    }
    
    .gjdwxdw-right-img {
        width: 66.67%;
    }
}

@media screen and (max-width: 768px) {
    .gjdwxdw-dual-images {
        flex-direction: column;
        height: auto;
        max-width: 95%;
    }
    
    .gjdwxdw-left-img {
        width: 100%;
        height: 300px;
    }
    
    .gjdwxdw-right-img {
        width: 100%;
        height: 400px;
    }
    
    .gjdwxdw-left-text {
        padding: 20px 15px;
    }
    
    .gjdwxdw-left-text-container {
        width: 250px;
    }
    
    .gjdwxdw-left-upper span,
    .gjdwxdw-left-lower span {
        font-size: 20px;
    }
    
    .gjdwxdw-left-divider {
        width: 250px;
    }
    
    .gjdwxdw-right-text {
        padding: 3% 30px 0 30px;
    }
    
    .gjdwxdw-right-desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 520px) {
    .gjdwxdw-banner-text span {
        font-size: 24px;
    }
    .gjdwxdw-banner-text p {
        font-size: 16px;
        margin-top: 16px;
        top: 15px;
    }
    
    .gjdwxdw-left-img {
        height: 250px;
    }
    
    .gjdwxdw-right-img {
        height: 350px;
    }
    
    .gjdwxdw-left-text {
        padding: 15px 10px;
    }
    
    .gjdwxdw-left-text-container {
        width: 180px;
    }
    
    .gjdwxdw-left-upper span,
    .gjdwxdw-left-lower span {
        font-size: 18px;
    }
    
    .gjdwxdw-left-divider {
        width: 180px;
    }
    
    .gjdwxdw-right-text {
        bottom: 35px;
        left: 50px;
    }
} 

.gjdwxdw-main-title {
    font-size: 29px;
    font-weight: 500;
    color: #000;
    text-align: left;
    margin-bottom: 8px;
    display: block;
}

.gjdwxdw-left-upper .gjdwxdw-main-title,
.gjdwxdw-left-lower .gjdwxdw-main-title {
    font-size: 34px;
    font-weight: 350;
    color: #000;
    text-align: left;
    margin-bottom: 8px;
    display: block;
}

@media screen and (max-width: 768px) {
    .gjdwxdw-main-title {
        font-size: 25px;
    }
    .gjdwxdw-left-upper .gjdwxdw-main-title,
    .gjdwxdw-left-lower .gjdwxdw-main-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 520px) {
    .gjdwxdw-main-title {
        font-size: 20px;
    }
    .gjdwxdw-left-upper .gjdwxdw-main-title,
    .gjdwxdw-left-lower .gjdwxdw-main-title {
        font-size: 25px;
    }
} 

.gjdwxdw-detail-btn {
    display: block;
    padding: 0 38px;
    height: 48px;
    line-height: 48px;
    background: linear-gradient(90deg, #0455da 0%, #3fa7ff 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(4,85,218,0.08);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
}
.gjdwxdw-detail-btn:hover {
    background: linear-gradient(90deg, #3fa7ff 0%, #0455da 100%);
    box-shadow: 0 4px 16px rgba(4,85,218,0.16);
    transform: translateY(-2px) scale(1.04);
}
.gjdwxdw-right-text {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
} 

/* 应用场景标题样式 */
.gjdwxdw-scene-title {
    font-size: 30px;
    font-weight: 400;
    color: #222;
    text-align: center;
    margin-top: 120px;
    margin-bottom: 60px;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* 轮播版本样式 */
.gjdwxdw-banner-swiper {
    width: 100%;
    height: 470px;
}

.gjdwxdw-banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.gjdwxdw-banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .gjdwxdw-banner-swiper {
        height: 300px;
    }
    .gjdwxdw-banner-swiper .swiper-slide img {
        height: 300px;
    }
} 

.gjdwxdw-right-img-content {
    /* 上、右、下三边连续阴影，左侧无阴影且无间距 */
    filter:
        /* drop-shadow(4px -3px 2px #5756562c)   */
        drop-shadow(4px 3px 2px #0000001a)  ;
}
