﻿.news {
    background-color: #fff;
    padding: 20px 0;
    overflow: hidden;
}

    .news .container {
        margin-top: 15px;
    }

    .news .top {
        padding: 15px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

        .news .top .drop-list {
            text-align: center;
            width: 153px;
            height: 37px;
            position: relative;
            border: 1px solid #C01120;
            border-radius: 4px;
            padding: 0 12px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            font-size: 16px;
            font-weight: bold;
            color: #c01120;
            cursor: pointer;
        }

            .news .top .drop-list span {
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                pointer-events: none;
            }

            .news .top .drop-list i {
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                pointer-events: none;
            }

            .news .top .drop-list .drop {
                position: absolute;
                top: calc(100% + 1px);
                width: 100%;
                left: 0;
                height: 0;
                overflow: hidden;
                z-index: 9;
                border: 1px solid transparent;
                background-color: #fff;
                max-height: 184px;
                overflow-y: overlay;
                overflow-x: hidden;
                -webkit-transition: all linear .2s;
                -o-transition: all linear .2s;
                transition: all linear .2s;
            }

                .news .top .drop-list .drop.show {
                    border: 1px solid #c01120;
                    height: 184px;
                }

                /* width */
                .news .top .drop-list .drop::-webkit-scrollbar {
                    width: 5px;
                }

                /* Track */
                .news .top .drop-list .drop::-webkit-scrollbar-track {
                    background: transparent;
                }

                /* Handle */
                .news .top .drop-list .drop::-webkit-scrollbar-thumb {
                    background: #c01120c5;
                    border-radius: 1px
                }

                    /* Handle on hover */
                    .news .top .drop-list .drop::-webkit-scrollbar-thumb:hover {
                        background: #c01120;
                    }

                .news .top .drop-list .drop .drop-item {
                    text-transform: capitalize;
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    -webkit-box-orient: vertical;
                    -webkit-box-direction: normal;
                    -ms-flex-direction: column;
                    flex-direction: column;
                    -webkit-box-align: start;
                    -ms-flex-align: start;
                    align-items: flex-start;
                    padding: 10px;
                    color: #c01120;
                }

    .news .news-list {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 20px;
        row-gap: 20px;
        margin-top: 20px;
    }

/*RS*/

@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important
    }

    .news .news-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:739px) {
    .no-display-mobile {
        display: none !important
    }

    .news .content .item .content .description {
        font-size: 13px;
    }

    .news .content .item .content .name {
        font-size: 15px;
    }

    .news .content .item .img {
        height: 150px;
    }

    .news .news-list {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }

    .same-news-title {
        font-size: 22px;
    }
}

/* ===== Services Page Redesign - Xay Dung Pham Phung ===== */
.service-banner {
    isolation: isolate;
    background: #111;
}

    .service-banner::before {
        z-index: 1;
        background: linear-gradient(115deg, rgba(12, 24, 38, .78), rgba(12, 24, 38, .4) 54%, rgba(230, 174, 92, .26));
    }

    .service-banner::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        z-index: 1;
        height: 48%;
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .42));
        pointer-events: none;
    }

    .service-banner > img {
        display: block;
        object-fit: cover;
        transform: scale(1.02);
        transition: transform .75s ease, filter .75s ease;
        filter: saturate(1.05) contrast(1.04);
    }

    .service-banner:hover > img {
        transform: scale(1.055);
    }

    .service-banner .p-cate-banner__container {
        z-index: 2;
    }

    .service-banner .p-cate-banner__content {
        right: 0;
        bottom: 26px;
        max-width: calc(100% - 20px);
        padding: 11px 16px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 999px;
        background: rgba(255, 255, 255, .13);
        box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
        backdrop-filter: blur(8px);
        line-height: 1.4;
        flex-wrap: wrap;
    }

        .service-banner .p-cate-banner__content a,
        .service-banner .p-cate-banner__content span {
            margin: 0 6px;
        }

        .service-banner .p-cate-banner__content a {
            color: #fff;
        }

            .service-banner .p-cate-banner__content a:hover {
                color: #E6AE5C;
            }

.service-page {
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    padding: 36px 0 50px;
}

    .service-page .grid.wide,
    .service-page .container,
    .service-page .content {
        min-width: 0;
    }

    .service-page .top {
        position: relative;
        padding: 20px 0 18px;
    }

    .service-page .p-title {
        position: relative;
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 18px;
        color: #222;
        line-height: 1.22;
    }

        .service-page .p-title::before,
        .service-page .p-title::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
        }

        .service-page .p-title::before {
            width: 112px;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--default-color-1), #E6AE5C);
        }

        .service-page .p-title::after {
            bottom: -4px;
            width: 12px;
            height: 12px;
            border: 3px solid #fff;
            border-radius: 50%;
            background: var(--default-color-1);
            box-shadow: 0 0 0 1px rgba(230, 174, 92, .28);
        }

    .service-page .p-descript {
        max-width: 850px;
        color: rgba(51, 51, 51, .72);
        line-height: 1.75;
    }

    .service-page .news-list {
        align-items: stretch;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        min-width: 0;
        margin-top: 28px;
    }

    .service-page .p-news-item {
        min-width: 0;
        overflow: hidden;
        border: 1px solid rgba(51, 51, 51, .08);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 14px 38px rgba(20, 29, 41, .08);
        transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    }

        .service-page .p-news-item:hover {
            transform: translateY(-7px);
            border-color: rgba(230, 174, 92, .34);
            box-shadow: 0 24px 58px rgba(20, 29, 41, .14);
        }

        .service-page .p-news-item > a {
            height: 100%;
        }

    .service-page .p-news-img {
        height: 260px;
        margin: 0;
        border-radius: 18px 18px 0 0;
        background: #ececec;
    }

        .service-page .p-news-img::before {
            z-index: 1;
            background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .46));
            opacity: .35;
            transition: opacity .35s ease;
        }

    .service-page .p-news-item:hover .p-news-img::before {
        opacity: .58;
    }

    .service-page .p-news-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .55s ease, filter .55s ease;
    }

    .service-page .p-news-item:hover .p-news-img img {
        transform: scale(1.045);
        filter: saturate(1.06);
    }

    .service-page .p-news-img .img-cate {
        z-index: 2;
        left: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
        padding: 8px 13px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 999px;
        background: linear-gradient(135deg, var(--default-color-1), #BB782A);
        box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
        color: #fff;
        font-size: 13px;
        font-family: 'Inter_24pt-SemiBold';
        line-height: 1.35;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .service-page .p-news-content {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 0;
        padding: 18px 18px 20px;
    }

        .service-page .p-news-content .options {
            flex-wrap: wrap;
            gap: 8px;
        }

        .service-page .p-news-content .options-item {
            gap: 0;
            padding: 6px 10px;
            border-radius: 999px;
            background: var(--default-color-3);
            color: #fff;
            font-size: 12px;
        }

            .service-page .p-news-content .options-item::before {
                display: none;
            }

            .service-page .p-news-content .options-item img {
                display: block;
                width: 13px;
                height: 13px;
                object-fit: contain;
                opacity: .75;
            }

            .service-page .p-news-content .options-item span {
                color: #fff;
                font-size: 12px;
                line-height: normal;
            }

        .service-page .p-news-content h3 {
            position: relative;
            margin-top: 16px;
            margin-bottom: 10px;
            padding-bottom: 10px;
            color: #252525;
            font-size: 21px;
            line-height: 1.42;
            transition: color .3s ease;
        }

            .service-page .p-news-content h3::before {
                width: 48px;
                height: 3px;
                bottom: 0;
                border-radius: 999px;
                background: linear-gradient(90deg, var(--default-color-1), #E6AE5C);
                transition: width .3s ease;
            }

    .service-page .p-news-item:hover .p-news-content h3 {
        color: var(--default-color-1);
    }

        .service-page .p-news-item:hover .p-news-content h3::before {
            width: 76px;
        }

    .service-page .p-news-content .descript {
        color: rgba(51, 51, 51, .72);
        font-size: 15px;
        line-height: 1.7;
    }

    .service-page .no-data {
        width: 100%;
        margin: 0 0 20px;
        padding: 32px 22px;
        border: 1px dashed rgba(230, 174, 92, .5);
        border-radius: 18px;
        background: linear-gradient(180deg, #fff, rgba(230, 174, 92, .08));
        box-shadow: 0 14px 38px rgba(20, 29, 41, .07);
        color: var(--default-color-1);
        text-align: center;
        font-family: 'Inter_24pt-SemiBold';
    }

    .service-page .pager {
        flex-wrap: wrap;
        gap: 8px;
        margin: 34px 0 0;
    }

        .service-page .pager a,
        .service-page .pager span {
            width: 38px;
            height: 38px;
            margin: 0;
            border-radius: 12px;
            box-shadow: 0 10px 22px rgba(20, 29, 41, .08);
        }

        .service-page .pager a {
            border: 1px solid rgba(230, 174, 92, .38);
            background: #fff;
        }

            .service-page .pager a:hover,
            .service-page .pager span {
                border-color: var(--default-color-1);
                background: var(--default-color-1);
                color: #fff;
            }

@media(min-width:740px) and (max-width:1023px) {
    .service-banner .p-cate-banner__content {
        right: 20px;
    }

    .service-page .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .service-page .p-news-img {
        height: 245px;
    }
}

@media(max-width:739px) {
    .service-banner .p-cate-banner__content {
        left: 10px;
        right: 10px;
        bottom: 16px;
        max-width: calc(100% - 20px);
        justify-content: center;
        border-radius: 16px;
        font-size: 14px;
        text-align: center;
    }

    .service-page {
        padding: 24px 0 34px;
    }

        .service-page .top {
            padding: 10px 0 12px;
        }

        .service-page .p-title {
            padding-bottom: 16px;
        }

        .service-page .p-descript {
            line-height: 1.65;
        }

        .service-page .news-list {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 16px;
            margin-top: 20px;
        }

        .service-page .p-news-item {
            border-radius: 14px;
        }

            .service-page .p-news-item:hover {
                transform: translateY(-4px);
            }

        .service-page .p-news-img {
            height: 220px;
            border-radius: 14px 14px 0 0;
        }

            .service-page .p-news-img .img-cate {
                left: 10px;
                bottom: 10px;
                max-width: calc(100% - 20px);
                padding: 7px 11px;
                font-size: 12px;
            }

        .service-page .p-news-content {
            padding: 15px 14px 17px;
        }

            .service-page .p-news-content h3 {
                font-size: 19px;
                margin-top: 14px;
            }

            .service-page .p-news-content .descript {
                font-size: 14px;
            }

        .service-page .no-data {
            padding: 24px 16px;
            border-radius: 14px;
        }

        .service-page .pager a,
        .service-page .pager span {
            width: 34px;
            height: 34px;
            border-radius: 10px;
        }
}