.ygfl-banner {
    background: url(../../images/ygfl.jpg) no-repeat;
    background-size: 100% 100%;

}

.ygfl-banner .w1200>div {
    width: 660px;
}

.main .ygflBox {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #E9E9F4;
    margin-top: 46px;
}

.main .ygflBox div:nth-child(2) {
    margin: 0 90px;
}

.main .ygflBox div {
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    padding: 8px 0;
    color: #202036;
    line-height: 27px;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.main .ygflBox .active {
    background: linear-gradient(to left, #3D71FF 30%, #3D71FF 100%);
    /* 关键属性：裁剪背景到文字区域 */
    -webkit-background-clip: text;
    background-clip: text;
    /* 文字颜色透明，显示背景渐变 */
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    border-bottom: 3px solid #3D71FF;
    font-weight: bold;
}

.main .ygflfwBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main .ygflfwBox li {
    width: 216px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main .ygflfwBox li img {
    width: 61px;
    height: 61px;
    margin-bottom: 20px;
}

.main .ygflfwBox li p {
    font-weight: bold;
    font-size: 22px;
    color: #202036;
    line-height: 33px;
    text-align: center;
    margin-bottom: 15px;
}

.main .ygflfwBox li span {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    color: #6F6F81;
    line-height: 21px;
    text-align: center;
}

.main .ygflj-box {
    /* background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FD 100%); */
    background: #fff url(../../images/ygflbj.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    max-width: 1920px;
    margin: auto;
}
.main .ygflj-box .same-h2{
    color: #fff;
}
.main .ygfljjfa {
    display: flex;
    align-items: center;
}

.main .ygfljjfa ul {
    width: 50%;
    height: 100%;
    margin-right: 50px;
}

.main .ygfljjfa ul li {
    padding: 20px 30px;
    background: #fff url(../../images/ygfl1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    cursor: pointer;
    border-radius: 16px;
}

.main .ygfljjfa ul li:nth-child(2) {
    margin: 20px 0;
}

.main .ygfljjfa ul li p:nth-child(1) {
    font-weight: bold;
    font-size: 40px;
    line-height: 60px;
    text-align: left;
    background: linear-gradient(to left, #3D71FF 90%, #3D71FF 100%);
    /* 关键属性：裁剪背景到文字区域 */
    -webkit-background-clip: text;
    background-clip: text;
    /* 文字颜色透明，显示背景渐变 */
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.main .ygfljjfa ul li p:nth-child(2) {
    font-weight: bold;
    font-size: 22px;
    color: #202036;
    line-height: 33px;
    text-align: left;
    margin: 10px 0;
}

.main .ygfljjfa ul li p:nth-child(3) {
    font-weight: 400;
    font-size: 14px;
    color: #6F6F81;
    line-height: 28px;
    text-align: justified;
}

.main .ygfljjfa ul li:hover {
    box-shadow: 0px 4px 10px 0px rgba(117, 130, 186, 0.2);
    border-radius: 16px;
}
.main .ygfljjfa ul li:hover p:nth-child(2){
    color: #3D71FF;
}

.main .ygfljjfa img {
    width: 45%;
    height: 100%;
}

.main .ygflj-box1 {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FD 100%);
    max-width: 1920px;
    margin: auto;
}

.main .ygfljjfa1 {
    display: flex;
    align-items: center;
}

.main .ygfljjfa1 ul {
    width: 50%;
    height: 100%;
    margin-left: 50px;
}

.main .ygfljjfa1 ul li {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #FFFFFF;
    cursor: pointer;
    box-sizing: border-box;
    height: 80px;
    transition: height 0.5s ease-in-out;
    overflow: hidden;
}

.main .ygfljjfa1 ul li:nth-child(2) {
    margin: 20px 0;
}

.main .ygfljjfa1 ul li:nth-child(3) {
    margin-bottom: 20px;
}

.main .ygfljjfa1 ul li p:nth-child(1) {
    font-weight: bold;
    font-size: 22px;
    color: #202036;
    line-height: 33px;
    text-align: left;
    margin: 10px 0;
    
}

.main .ygfljjfa1 ul li p:nth-child(2) {
    font-weight: 400;
    font-size: 14px;
    color: #6F6F81;
    line-height: 28px;
    text-align: justified;
}

.main .ygfljjfa1 ul li:hover {
    background: #FFFFFF;
    box-shadow: 0px 4px 10px 0px rgba(117, 130, 186, 0.2);
    border-radius: 20px;
    border: 1px solid #3D71FF;
}

.main .ygfljjfa1 ul li:hover {
    height: 200px; 
}
.main .ygfljjfa1 img {
    width: 50%;
    height: auto;
}
/* 响应式 */
@media (max-width: 992px) {
    .main .ygflBox div:nth-child(2) {
        margin: 0 70px;
    }
    .main .ygflBox div{
        font-size: 15px;
    }
    .ptb80{
        padding: 40px 0;
    }
    .main .ygflfwBox{
        flex-direction: column;
    }
    .main .ygflfwBox li{
        width: 80%;
        margin-bottom: 30px;
    }
    .main .ygfljjfa{
        flex-direction: column;
    }
    .main .ygfljjfa ul{
        width: 80%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .main .ygfljjfa img{
        width: 80%;
    }
    .main .ygfljjfa1{

    }
    .main .ygfljjfa1{
        flex-direction: column;
    }
    .main .ygfljjfa1 ul{
        width: 80%;
        margin-left: 0;
        margin-top: 0;
    }
    .main .ygfljjfa1 img{
        width: 80%;
        display: none;
    }
    .ygfl-banner {
        background-size: cover !important;
        background-position: 80% !important;
    }  
}
@media (max-width: 576px) {
    .main .ygflfwBox li img{
        width: 51px;
        height: 51px;
    }
    .main .ygflfwBox li p{
        font-size: 18px;
    }
    .main .ygflfwBox li span{
        font-size: 13px;
    }
    .main .ygfljjfa ul li p:nth-child(1){
        font-size: 30px;
    }
    .main .ygfljjfa ul li p:nth-child(2){
        font-size: 18px;
        margin:0;
    }
    .main .ygfljjfa ul li p:nth-child(3){
        font-size: 13px;
    }
    .main .ygfljjfa1 ul li p:nth-child(1){
        font-size: 18px;
    }
    .main .ygfljjfa1 ul li p:nth-child(2){
        font-size: 13px;
    }
}