﻿

.home-news {
    background-color: #fff;
    padding-top: 117px;
    padding-bottom: 80px;
    display: none;
}

    .home-news .grid.wide {
        max-width: 1150px;
    }

    .home-news .heading-top {
        margin: 0;
        position: relative;
        color: #2f363d;
        font-size: 38px;
        font-family: 'OSWALDSB';
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        line-height: 100%;
        padding-bottom: 25px;
    }

        .home-news .heading-top:after {
            content: "";
            position: absolute;
            background: #efc248;
            width: 124px;
            height: 2px;
            bottom: 0;
        }

        .home-news .heading-top::before {
            position: absolute;
            content: '';
            width: 124px;
            height: 1px;
            bottom: 0;
            background-color: var(--red-default);
        }

    .home-news .content {
        margin-top: 62px;
    }

        .home-news .content.show {
            position: relative;
        }

    .home-news .list {
    }

        .home-news .list.l {
        }

            .home-news .list.l .item {
            }

            .home-news .list.l .img {
                height: 313px;
                overflow: hidden;
            }

        .home-news .list .img img {
            -webkit-transition: all linear .3s;
            -o-transition: all linear .3s;
            transition: all linear .3s;
        }

        .home-news .list .img {
            overflow: hidden;
        }

            .home-news .list .img:hover img {
                -webkit-transform: scale(1.1);
                -ms-transform: scale(1.1);
                transform: scale(1.1);
            }

        .home-news .list.l .item .contain {
            padding: 30px;
            padding-top: 32px;
            padding-bottom: 25px;
        }

            .home-news .list.l .item .contain .count-page {
                border-bottom: 1px solid #e5e5e5;
                padding-bottom: 19px;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                -ms-flex-wrap: wrap;
                flex-wrap: wrap;
            }

                .home-news .list.l .item .contain .count-page a {
                    color: #2f363d;
                    border: 1px solid #b1b4b6;
                    font-family: 'BeVNR';
                    font-size: 18px;
                    width: 40px;
                    height: 40px;
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    -webkit-box-align: center;
                    -ms-flex-align: center;
                    align-items: center;
                    cursor: pointer;
                    -webkit-user-select: none;
                    -moz-user-select: none;
                    -ms-user-select: none;
                    user-select: none;
                    -webkit-box-pack: center;
                    -ms-flex-pack: center;
                    justify-content: center;
                    margin-right: 10px;
                    -webkit-transition: all linear .2s;
                    -o-transition: all linear .2s;
                    transition: all linear .2s;
                }

                    .home-news .list.l .item .contain .count-page a:hover {
                        background-color: #efc248;
                        color: #fff;
                        border-color: #efc248;
                    }

                    .home-news .list.l .item .contain .count-page a.active {
                        background-color: #efc248;
                        color: #fff;
                        border-color: #efc248;
                    }

        .home-news .list.l .img img {
            -webkit-transition: all linear .2s;
            -o-transition: all linear .2s;
            transition: all linear .2s;
        }

        .home-news .list.l .link {
            font-family: 'BeVNSB';
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            font-size: 20px;
            color: #545454;
            line-height: calc(100% + 8px);
            overflow: hidden;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            margin-top: calc(24px - 6px);
        }

        .home-news .list.l .view {
            font-family: 'RobotoR';
            font-size: 12px;
            color: #9d9d9d;
            padding: 12px 0;
        }

            .home-news .list.l .view i {
                margin-right: 6px;
                color: var(--blue-default);
            }

        .home-news .list.l .descript {
            font-family: 'RobotoR';
            font-size: 15px;
            color: #2b2b2b;
            overflow: hidden;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            line-height: calc(100% + 9px);
        }

        .home-news .list.l .btn-more {
            font-family: 'RobotoR';
            color: #9d9d9d;
            font-size: 14px;
            margin-top: 15px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .home-news .list.r {
            padding-left: 10px;
        }

            .home-news .list.r .col {
                padding: 10px;
            }

        .home-news .list .item {
            background-color: #fff;
            border: 1px solid #b1b4b6;
            border-radius: 5px;
        }

        .home-news .list.r .item .contain {
            padding: 16px 21px;
            padding-top: 14px;
        }

        .home-news .list.r .col:nth-child(1),
        .home-news .list.r .col:nth-child(2) {
            padding-top: 0;
        }

        .home-news .list.r .img {
            height: 211px;
        }

            .home-news .list.r .img img {
                border-radius: 5px 5px 0 0;
            }

        .home-news .list.r .link {
            font-family: 'BeVNSB';
            font-size: 16px;
            color: #545454;
            line-height: 1.5;
            overflow: hidden;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

        .home-news .list .link {
            -webkit-transition: all linear .3s;
            -o-transition: all linear .3s;
            transition: all linear .3s;
        }

            .home-news .list .link:hover {
                color: #ffd450;
            }

        .home-news .list.r .view {
            color: #9d9d9d;
            font-size: 12px;
            font-family: 'RobotoR';
            margin-top: 9px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

            .home-news .list.r .view i {
                color: var(--blue-default);
                margin-right: 6px;
            }


        /*selection*/
        .home-news .heading-top::-moz-selection, .home-news .list.l .descript::-moz-selection {
            background-color: var(--red-default);
            color: var(--color-selection);
        }

        .home-news .heading-top::selection,
        .home-news .list.l .descript::selection {
            background-color: var(--red-default);
            color: var(--color-selection);
        }

.itemHomeNew a img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
    transition: all .3s;
}

.itemHomeNew .contain a {
    font-size: 20.17px;
    color: #2a303c;
    font-family: 'KanitSBI';
    line-height: 1.2;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 14px;
}

.itemHomeNew .contain {
    padding-top: 18px;
}

.itemHomeNew {
    padding: 15px;
    background: #edeeef;
    border-radius: 3px;
}

span.des-news-home {
    font-size: 16.8px;
    font-family: 'InterR';
    color: #616161;
    line-height: 1.5;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.itemHomeNew:hover a img {
    transform: scale(1.1);
}

.itemHomeNew a {
    overflow: hidden;
}
