dir>ol>li>a{
    background-color: #FFFFFF;
}
body{
    background-color: #F4F4F4;
}

.swiper-banner .swiper-slide {
    position: relative;

    .text {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);

        h3 {
            font-family: Arial;
            font-weight: bold;
            font-size: 48px;
            color: #DAD7D7;
            line-height: 48px;
            text-align: center;
            @media screen and (max-width: 768px){
                font-size: 19px;
                line-height: 19px;
            }
        }
    }
}

.newsList{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px 0;
}
.newsList > .title {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid #8B8B8B;
    border-right: 1px solid #8B8B8B;
}
.newsList > .title .item {
    width: auto;
    position: relative;
    display: flex;
    border-top: 1px solid #8B8B8B;
    border-bottom: 1px solid #8B8B8B;
}
.newsList > .title .item > img{
    display: none;
}
.newsList > .title .item.on > img{
     display: inline-block;
 }
.newsList > .title .item .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;

    font-family: Arial;
    font-weight: bold;
    font-size: 24px;
    color: #343434;
}
.newsList > .title .item.on .text{
    color: #FFFFFF;
}
.newsList > .title .item .text .active1 {
    display: inline-block;
}
.newsList > .title .item .text .active2 {
    display: none;
}
.newsList > .title .item.on .text .active1 {
    display: none;
}
.newsList > .title .item.on .text .active2 {
    display: inline-block;
}
.newsList > .content{
    margin-top: 60px;
    margin-bottom: 75px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.newsList > .content .item{
    height: 300px;
    padding: 15px;
    display: flex;
    align-items: center;
    column-gap: 45px;

    border: 1px solid #D8D8D8;
}
.newsList > .content .item:hover{
    background-color: #FFFFFF;
    border: none;
    box-shadow: var(--box-shadow-1);
}
.newsList > .content .item > div:first-child{
    width: 415px;
    height: 270px;
    overflow: hidden;
}
.newsList > .content .item > div:first-child > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0px 18px;
    transition: 1s;
}
.newsList > .content .item > div:first-child:hover > img{
    transform: scale(1.05);
}
.newsList > .content .item .text{
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

}
.newsList > .content .item .text .title{
    font-family: Arial;
    font-weight: bold;
    font-size: 24px;
    color: #2E2D2D;
}
.newsList > .content .item .text .content{
    flex: 1;
    font-family: Arial;
    font-weight: 400;
    font-size: 19px;
    color: #676767;
    line-height: 35px;

    margin-top: 15px;
}
.newsList > .content .item .text .button{
    width: 100%;
    --button-i-size: 20px;
}
.newsList > .content .item .text .button a{
    display: flex;
    width: 180px;
    height: 40px;
    padding-left: 32px;
    padding-right: 23px;
    justify-content: space-between;
    align-items: center;
    float: right;

    font-family: Arial;
    font-weight: bold;
    font-size: 16px;
    color: #2E2D2D;

    background-color: #FFFFFF;
    border-radius: 20px;
}
.newsList > .content .item:hover .text .button a{
    background-color: var(--font-color);
    color: #FFFFFF;
}
.newsList > .content .item .text .button a i{
    aspect-ratio: 1;
    width: var(--button-i-size);
    height: var(--button-i-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2E2D2D;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 14px;
    padding-left: 2px;
    padding-top: 2px;
}
.newsList > .content .item:hover .text .button a i{
    background-color: #FFFFFF;
    color: var(--font-color);
}

@media screen and (max-width: 768px){
    .newsList{
        margin: 40px 0;
    }
    .newsList > .title .item > img{
        width: 154px;
    }
    .newsList > .title .item .text{
        font-size: 17px;
        padding-top: 6px;
    }
    .newsList > .title .item .text .active2,
    .newsList > .title .item .text .active1{
        width: 21px;
    }
    .newsList > .content{
        gap: 22px;
        margin-top: 40px;
    }
    .newsList > .content .item > div:first-child{
        width: 398px;
        height: 258px;
    }
    .newsList > .content .item {
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 10px;
        height: auto;
    }
    .newsList > .content .item .text .title{
        font-size: 16px;
        margin-top: 15px;
        line-height: 1.75;
    }
    .newsList > .content .item .text .content{
        font-size: 13px;
        line-height: 1.75;
    }
    .newsList > .content .item .text .button{
        margin-top: 10px;
        width: 180px;
        height: 40px;
    }
    .newsList > .content .item .text .button a{
        background-color: #EDEDED;
        float: left;
        font-size: 15px;
    }

}