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: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 42px;
}

.newsList > .content .item {
    width: 350px;
    height: 530px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    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: 310px;
    height: 200px;
    overflow: hidden;
}

.newsList > .content .item > div:first-child > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;

    margin-top: 45px;

}

.newsList > .content .item .text .date {
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
    color: #474646;
    line-height: 35px;
    margin-bottom: 5px;
}

.newsList > .content .item .text .title {
    flex: 1;
    font-family: Arial;
    font-weight: 400;
    font-size: 21px;
    color: #2E2D2D;
    line-height: 32px;


    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

.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;

    border-radius: 20px;
}

.newsList > .content .item:hover .text .button a {
    color: var(--font-color);
}

.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: var(--font-color);
    color: #FFFFFF;
}

@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 {
        margin-top: 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .newsList > .content .item {
        width: auto;
        height: auto;
        padding: 10px;
    }

    .newsList > .content .item > div:first-child {
        width: 100%;
        height: auto;
        aspect-ratio: 37/24;
    }

    .newsList > .content .item .text {
        margin-top: 10px;
    }

    .newsList > .content .item .text .date {
        font-size: 12px;
        margin: 0;
    }

    .newsList > .content .item .text .title {
        font-size: 16px;
        line-height: 1.5;
    }
    .newsList > .content .item .text .button{
        margin-top: 5px;
    }
    .newsList > .content .item .text .button a {
        padding: 0;
        font-size: 13px;
        line-height: 1;
        justify-content: flex-end;
        width: auto;
        height: auto;
        gap: 10px;
    }
    .newsList > .content .item .text .button a span{
        display: flex;
        align-items: center;
    }
    .newsList > .content .item .text .button a i{
        font-size: 13px;
        padding-left: 1px;
        padding-top: 1px;
        gap: 10px;
    }

}
