﻿
.WTopHomeNews h4 {
    margin: 0;
    font-family: 'MontserratB';
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 56px; /* 155.556% */
    text-transform: uppercase;
    background: var(--2, linear-gradient(180deg, #FF621F 0%, #FFAE11 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.WTopHomeNews {
    text-align: center;
    padding-bottom: 22px;
    position: relative;
}

    .WTopHomeNews span {
        display: block;
        color: #4D4D4D;
        text-align: center;
        font-family: 'MontserratR';
        width: 825px;
        flex-shrink: 0;
        font-size: 15px;
        font-style: normal;
        /* font-weight: 600; */
        line-height: 151.023%; /* 22.653px */
        text-transform: capitalize;
        margin: auto;
    }

.WBottomHomeNews {
    padding-top: 50px;
    display: flex;
}

.WHomeNews {
    padding-bottom: 74px;
    background: #F4F4F4;
    padding-top: 48px;
}

.WTopHomeNews:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 168px);
    width: 329px;
    height: 2px;
    flex-shrink: 0;
    background: linear-gradient(91deg, #7EE0FF 15.04%, #0083FC 98.78%);
}

.WTopHomeNews:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 168px);
    width: 58px;
    height: 2px;
    background: #025ADE;
    z-index: 1;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.WHomeNews:hover .WTopHomeNews:before {
    width: 329px;
}

li.ItemNewsHome:nth-child(1) {
    padding-top: 0;
}

li.ItemNewsHome:nth-child(3) {
    padding-bottom: 0;
}

li.ItemNewsHome {
    list-style: none;
    padding: 30px 0;
}

.WImgNewHome {
    width: 216px;
    height: 122px;
    border-radius: 5px;
    overflow: hidden;
}

    .WImgNewHome img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 5px;
        object-fit: cover;
        overflow: hidden;
        transition: all .3s;
    }

li.ItemNewsHome:hover .WImgNewHome img {
    transform: scale(1.1);
}

li.ItemNewsHome:nth-child(2) {
    border-top: 1px dashed #ABABAB;
    border-bottom: 1px dashed #ABABAB;
}

.WContentItemNewHome {
    display: flex;
}

.WRTitleDesNewHome {
    width: 401px;
    margin-left: 14px;
}

.WTitleNewHome h5 {
    margin: 0;
    color: #3A3737;
    font-family: 'MontserratSB';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 48px;
    transition: all .3s;
}

li.ItemNewsHome:hover .WTitleNewHome h5 {
    color: #2B99FF;
}

.WDesNewHome span {
    color: #6D6B6B;
    font-family: 'MontserratR';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px;
}

.WDateViewHomeNew span {
    color: #B4B4B4;
    font-family: 'MontserratR';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 138.688%; /* 20.803px */
    display: block;
}

.WDateViewHomeNew {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

.WViewNewHome {
    margin-left: 30px;
}

.WDateViewHomeNew span svg {
    display: inline-block;
    margin-right: 4px;
    position: relative;
    top: 1px;
}

.WImgNewRHome img {
    display: block;
    width: 100%;
    height: 293px;
    object-fit: cover;
    border-radius: 5px;
    transition: all .3s;
    overflow: hidden;
}

.WRightHomeNews:hover .WImgNewRHome img {
    transform: scale(1.1);
}

.WTitleRNewHome h5 {
    color: #2B99FF;
    font-family: 'MontserratSB';
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 121.5%; /* 26.73px */
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 53.22px;
}

.WDateViewRHomeNew span {
    color: #B4B4B4;
    font-family: 'MontserratR';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 138.688%; /* 20.803px */
    display: block;
}

.WDateViewRHomeNew {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

    .WDateViewRHomeNew span svg {
        display: inline-block;
        margin-right: 4px;
        position: relative;
        top: 1px;
    }

.WDesNewHomeR {
    margin-top: 10.46px;
}

    .WDesNewHomeR span {
        color: #6D6B6B;
        font-family: 'MontserratR';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 22.5px */
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 90px;
    }

.WRightHomeNews {
    margin-right: 37px;
}

.WRTitleDesRNewHome {
    margin-top: 21px;
}

.WImgNewRHome {
    overflow: hidden;
    border-radius: 5px;
}
/*RS*/
@media(max-width:1200px) {
    .WTopHomeNews h4 {
        font-size: 28px;
    }
}

@media(max-width:1023px) {
    .WBottomHomeNews {
        display: block;
    }

    .WTopHomeNews span {
        width: auto;
    }

    .WRightHomeNews {
        margin: 0;
        margin-bottom: 30px;
    }

    .WRTitleDesNewHome {
        width: 100%;
    }
}

@media(max-width:739px) {
    .WTitleRNewHome h5 {
        font-size: 18px;
        height: 43.53px;
    }

    .WTopHomeNews:after {
        bottom: 0;
        left: 0;
        width: 100%;
    }

    li.ItemNewsHome {
        padding: 15px 0;
    }

    .WTopHomeNews:before {
        left: 0;
    }

    .WDateViewHomeNew {
        margin-top: 8px;
    }
}
