﻿/*news*/
/* =========================
   BACKGROUND MY-NEWS
========================= */

.my-news {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg,#f8fbff 0%,#ffffff 45%,#f1f7ff 100%) !important;
    padding: 50px 0 !important;
}

    /* hiệu ứng blur nền */

    .my-news::before {
        content: "" !important;
        position: absolute !important;
        width: 520px !important;
        height: 520px !important;
        border-radius: 50% !important;
        background: rgba(37,99,235,.08) !important;
        top: -220px !important;
        right: -180px !important;
        filter: blur(20px) !important;
        z-index: 0 !important;
    }

    .my-news::after {
        content: "" !important;
        position: absolute !important;
        width: 420px !important;
        height: 420px !important;
        border-radius: 50% !important;
        background: rgba(14,165,233,.07) !important;
        bottom: -180px !important;
        left: -120px !important;
        filter: blur(20px) !important;
        z-index: 0 !important;
    }

    /* giữ nội dung nằm trên nền */

    .my-news .container {
        position: relative !important;
        z-index: 2 !important;
    }

    .my-news .container {
        padding: 0 !important;
    }

.my-news-breadcum {
    display: none;
}

.my-news h1 {
    margin: 0;
    color: #203f98;
    font-size: 28px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -.5px;
    font-family: 'Montserrat-ExtraBold';
    white-space: nowrap;
}

.cate-title-new-child {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #3333331c;
}

.bottom-full-news {
    background: #fff;
    box-shadow: 0px 4px 13px 0px #E7E0D1;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.my-news h2 {
    font-weight: 100;
    font-size: 18px;
    color: #2c2c2c;
    display: block;
    text-align: center;
    width: 65%;
    margin: 0 auto;
    margin-top: 15px;
    line-height: 150%;
    font-family: 'InterM';
}

.my-news-top {
    display: flex;
    margin-top: 46px;
    flex-direction: row-reverse;
}

    .my-news-top .top-left {
        width: 50%;
    }

        .my-news-top .top-left .item:hover img {
            transform: scale(1.04);
        }

        .my-news-top .top-left .item {
            height: 360px;
            display: block;
            position: relative;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
        }

            .my-news-top .top-left .item:hover .title {
                opacity: .9;
            }

            .my-news-top .top-left .item::before {
                content: '';
                width: 100%;
                height: 100%;
                z-index: 3;
                background: linear-gradient(180deg,rgba(44,44,44,0) 0,#2c2c2c 100%);
                position: absolute;
                top: 0;
            }

        .my-news-top .top-left img {
            transition: all linear .2s;
        }

        .my-news-top .top-left .content {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 30px;
            z-index: 3;
        }

        .my-news-top .top-left .date-cate {
            font-size: 14px;
            color: #f2f2f2;
        }

        .my-news-top .top-left .date {
            color: #f2f2f2;
            font-size: 14px;
            padding: 0;
            background-image: unset;
        }

        .my-news-top .top-left .cate {
            position: relative;
            margin-left: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

            .my-news-top .top-left .cate::before {
                content: '';
                position: absolute;
                width: 2px;
                height: 2px;
                background-color: #f2f2f2;
                border-radius: 50%;
                left: -7px;
            }

        .my-news-top .top-left .title {
            color: #fff;
            margin: 0;
            font-family: InterSB;
            font-size: 24px;
            font-weight: 100;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            margin-top: 10px;
            margin-bottom: 13px;
            transition: all linear .2s;
        }

.p-side-left {
    width: 72.2%;
    float: left;
}

    .p-side-left .wrap {
        display: flex;
        /* align-items: center; */
        justify-content: space-between;
    }

        .p-side-left .wrap:last-child {
            padding-top: 22.86px;
            display: grid;
            grid-auto-rows: minmax(min-content,max-content);
            grid-template-columns: repeat(2,minmax(0,1fr));
            column-gap: 18px;
            row-gap: 18px;
            align-items: unset;
        }

            .p-side-left .wrap:last-child .p-news-type_2 .img {
                height: 225px;
            }

.p-side-right {
    float: right;
    width: 305px;
}

.my-news-top .top-left .descript {
    color: #fff;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    line-height: 23px;
}

.list-mini-banner-l {
    background: #fff;
    border: 1px solid #dddddd;
    padding: 15px 10px;
    border-radius: 10px;
}

.l-side-banner a.side-img.p-side-item:last-child {
    margin-bottom: 0;
}

.my-news-top .top-right {
    flex: 1;
    padding-right: 60px;
}

    .my-news-top .top-right .item:first-child {
        margin-top: 5px;
    }

/*public link*/

.side-link {
    margin-top: 29px;
}

    .side-link .p-side-wrap {
        padding: 0 18px;
        padding-top: 24px;
        padding-bottom: 8px;
        border-radius: 10px;
        border: 1px solid #203f98;
        background: #FAFFEE;
    }

.side-link-drop {
    height: 46px;
    position: relative;
    border-radius: 5px;
    border: 1px solid #BFBFC0;
    background: #FFF;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 22px;
    margin-bottom: 27px;
    user-select: none;
}

    .side-link-drop span {
        color: #A5A4A5;
        font-family: 'Inter_24pt-Medium';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 126.188%; /* 22.714px */
        pointer-events: none;
    }

    .side-link-drop:hover::before {
        display: block;
    }

    .side-link-drop .drop {
        position: absolute;
        top: 107%;
        width: 100%;
        background-color: #fff;
        left: 0;
        border-radius: 5px;
        overflow: hidden;
        border: 1px solid #BFBFC0;
        transform: translateY(15px);
        opacity: 0;
        pointer-events: none;
        transition: all ease .2s;
    }

    .side-link-drop::before {
        width: 100%;
        height: 23px;
        content: '';
        position: absolute;
        left: 0;
        top: 84%;
        display: none;
    }

    .side-link-drop.active .drop {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        transition: 0.6s cubic-bezier(.3,2.2,.3,1);
    }

    .side-link-drop .drop a {
        font-size: 15px;
        color: #2c2c2cd1;
        padding: 10px 15px;
        transition: all linear .2s;
        display: block;
        border-top: 1px solid #dcdcdc;
    }

        .side-link-drop .drop a:hover {
            color: var(--default-color-4);
        }

.side-thongke h4 {
    margin: 0;
    color: #203f98;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 126.188%;
    margin-bottom: 15px;
}

.side-thongke .title {
    margin: 0;
    font-family: 'SFB';
    color: var(--default-color-1);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 25.238px; /* 25.238px */
    margin-bottom: 10px;
}

.side-thongke .list {
    margin-bottom: 10px;
}

.side-thongke .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0;
}

.side-thongke .left {
    display: flex;
    align-items: center;
    padding-bottom: 1px;
}

    .side-thongke .left img {
    }

    .side-thongke .left span {
        /* 37.23px */
        display: block;
        margin-left: 9px;
        color: #797978;
        font-family: 'Inter_24pt-Medium';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 219%; /* 37.23px */
    }

.side-link .p-side-wrap h5 {
    margin: 0;
    color: #203f98;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 126.188%; /* 25.238px */
    margin-bottom: 15.32px;
}

.side-thongke-wrap {
    border-top: 1px dashed #999999;
    padding-top: 11px;
}

.side-thongke .result {
    color: #203f98;
    font-family: 'Inter_24pt-Medium';
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 219%; /* 37.23px */
}

.my-news-top .top-right .item {
    max-height: calc(100% / 4);
    border-bottom: 1px solid #F2F2F2;
    padding-bottom: 9px;
    margin-top: 12px;
    display: block;
}

.my-news-top .top-right img {
    display: none;
}

.my-news-top .top-right .contnet {
}

.my-news-top .top-right .date-cate {
    font-size: 13px !important;
    color: #999;
}

.my-news-top .top-right .date {
}

.my-news-top .top-right .cate {
    margin-left: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a.side-img.side-phaply.p-side-item {
    margin-top: 20px;
}

.p-side-right.list-side-bar-minibanner a.side-img.p-side-item {
    margin-bottom: 15px;
    /* margin-top: 15px; */
}

.my-news-top .top-right .cate::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #999;
    border-radius: 50%;
    left: -5px;
}

.my-news-top .top-right .item:hover .title {
    color: var(--default-color-4);
}

.my-news-top .top-right .title {
    margin: 0;
    color: #2c2c2c;
    font-size: 17px;
    font-family: InterSB;
    font-weight: 100;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 6px;
    transition: all linear .2s;
    line-height: 24px;
}

.my-news-bottom {
}

    .my-news-bottom .bottom-left {
    }

.news-add-more {
    color: var(--default-color-3);
    border: 1px solid var(--default-color-3);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    margin-top: 28px;
    transition: all ease .2s;
}

    .news-add-more:hover {
        background-color: var(--default-color-3);
        color: #fff;
    }

.my-news-bottom .bottom-right {
    float: right;
    width: 37%;
    padding-left: 25px;
}

.my-side-news {
}

    .my-side-news .side-news-item {
        padding: 15px;
        margin-bottom: 30px;
        border: 1px solid #F2F2F2;
        border-radius: 10px;
    }

        .my-side-news .side-news-item .title {
            margin: 0;
            font-family: 'lexenM';
            font-weight: 100;
            font-size: 18px;
            color: #2c2c2c;
            padding-bottom: 15px;
            border-bottom: 1px solid #F2F2F2;
        }

        .my-side-news .side-news-item .content {
        }

.side-news-link:first-child {
}

.side-news-link:hover h3 {
    opacity: .8;
}

.side-news-link {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid #F2F2F2;
}

    .side-news-link .index {
        background-color: #ffeceb;
        height: fit-content;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        color: #961b12;
        font-size: 14px;
    }

    .side-news-link:last-child {
        border: none;
        padding-bottom: 0;
    }

    .side-news-link h3 {
        margin: 0;
        font-size: 14px;
        flex: 1;
        color: #2c2c2c;
        font-weight: 100;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-left: 11px;
    }

.side-news-bds {
    display: flex;
    align-items: center;
}

    .side-news-bds:hover h3 {
        opacity: .8;
    }

    .side-news-bds .img {
        width: 100px;
        height: 70px;
        background-color: #33333330;
        display: block;
        margin: 12px 0;
        border-radius: 10px;
        overflow: hidden;
    }

        .side-news-bds .img img {
            display: block;
            width: 100%;
            height: 100%;
        }

    .side-news-bds .content {
        flex: 1;
    }

        .side-news-bds .content h3 {
            margin: 0;
            margin-left: 10px;
            color: #2c2c2c;
            font-size: 17px;
            font-weight: 100;
        }
/*RS*/
@media(max-width:1023px) {
    .p-news-img__type2 .cate {
        display: none;
    }

    .my-news {
        padding-top: 10px !important;
        background: #eeeeee;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .my-news h1 {
        font-size: 20px !important;
        line-height: 28px;
    }

    .detail-link-new {
        margin-top: 8px;
        font-size: 13px;
    }

    .p-side-left,
    .p-side-right {
        width: 100%;
        float: unset;
    }

    .p-side-right {
        margin-top: 25px;
    }

    .my-news h2 {
        font-size: 15px;
        width: 100%;
        margin-top: 12px;
    }

    .my-news-top {
        flex-direction: column;
    }

        .my-news-top .top-left {
            width: 100%;
        }

        .my-news-top .top-right {
            flex: unset;
            width: 100%;
            padding: 0;
            margin-top: 20px;
        }

        .my-news-top .top-left .content {
            padding: 15px;
        }

        .my-news-top .top-left .date {
            font-size: 12px;
        }

        .my-news-top .top-left .title {
            font-size: 20px;
        }

        .my-news-top .top-left .descript {
            font-size: 14px;
        }
}
/* =========================
   HOVER IMAGE
========================= */

.p-news-img__type2 {
    overflow: hidden !important;
    position: relative !important;
}

    .p-news-img__type2 img {
        transition: transform .8s cubic-bezier(.2,.8,.2,1) !important;
    }

.p-news-link__type2:hover .p-news-img__type2 img {
    transform: scale(1.08) rotate(.8deg) !important;
}

/* overlay nhẹ khi hover */

.p-news-img__type2::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top,rgba(37,99,235,.22),transparent) !important;
    opacity: 0 !important;
    transition: all .45s ease !important;
    pointer-events: none !important;
}

.p-news-link__type2:hover .p-news-img__type2::after {
    opacity: 1 !important;
}

/* =========================
   HOVER TITLE
========================= */

.p-news-content__type2 .title {
    transition: all .35s ease !important;
    font-family: 'Montserrat-Bold';
}

.p-news-link__type2:hover .title {
    color: #2563eb !important;
    transform: translateX(4px) !important;
}

/* =========================
   HOVER DESCRIPTION
========================= */

.p-news-content__type2 .descript {
    transition: all .35s ease !important;
}

.p-news-link__type2:hover .descript {
    color: #334155 !important;
}

/* =========================
   HOVER BUTTON LINK
========================= */

.detail-link-new {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all .35s ease !important;
    font-family: 'Montserrat-Medium';
    margin-top: 8px;
}

    .detail-link-new svg {
        transition: transform .35s ease !important;
    }

.p-news-link__type2:hover .detail-link-new {
    color: #2563eb !important;
    letter-spacing: .4px !important;
}

    .p-news-link__type2:hover .detail-link-new svg {
        transform: translateX(6px) !important;
    }

/* =========================
   CARD HOVER
========================= */

.p-news-link__type2 {
    transition: all .45s cubic-bezier(.2,.8,.2,1) !important;
}

    .p-news-link__type2:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 18px 40px rgba(15,23,42,.10) !important;
    }
/*Thong bao*/

.p-side-wrap {
    border-radius: 0px 0px 10px 10px;
    background: #fefdf3;
}

.p-side-read {
    margin-bottom: 19px;
    border: 1px solid #d0d6e2;
    border-radius: 10px;
}

    .p-side-read .p-side-wrap {
        padding: 13px 15px;
        height: 483px;
        overflow: hidden;
        padding-top: 13px;
    }

    .p-side-read .icon {
        box-shadow: 0px 0px 2px 0px rgba(150, 158, 186, 0.50);
        border-radius: 50%;
        margin-right: 6px;
        height: fit-content;
        transform: translateY(8px);
    }

        .p-side-read .icon img {
        }

    .p-side-read .item:hover .title {
        color: #da2c25;
    }

.swiperDocread .title {
    position: relative;
}

.p-side-read .title {
    flex: 1;
    margin: 0;
    padding-bottom: 12px;
    color: #924946;
    font-family: 'Montserrat-Bold';
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 25.5px */
    transition: all linear .2s;
    position: relative;
}

    .p-side-read .title img {
        position: absolute;
        right: 0;
        top: -18px;
        width: 52px;
    }

.swiperDocread .title img {
    position: absolute;
    right: 0;
    top: -18px;
    width: 52px;
}

.p-side-read .title span {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.side-pic .p-side-title:before {
    top: 8px;
    width: 37px;
    height: 31.88px;
}

.side-pic.p-side-item .p-side-title h3 {
    font-size: 22px;
}

.p-side-read .item {
    display: flex;
    border-bottom: 1px dashed #bcbcbc;
    padding-top: 14px;
}

.p-side-read .swiper {
    overflow: hidden;
    height: 100%;
}

.p-side-read .swiper-slide {
    height: fit-content !important;
}

.side-pic.p-side-item .p-side-wrap {
    background: transparent;
}

.p-side-read.p-side-item .p-side-title {
    border-radius: 10px;
}

    .p-side-read.p-side-item .p-side-title h3 {
        font-family: 'Montserrat-ExtraBold';
        font-style: normal;
        line-height: normal;
        text-transform: uppercase;
        text-shadow: 0px 1px 4px rgba(2, 81, 49, 0.50);
        border-bottom: 1px solid #F2F2F2;
        background: #203f98 !important;
        color: #ffffff !important;
        margin: 0;
        padding: 14px 18px;
        font-size: 1.08rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        text-align: left;
        position: relative;
        padding-left: 66px;
        border-radius: 10px 10px 0 0;
    }

        .p-side-read.p-side-item .p-side-title h3:before {
            content: "";
            position: absolute;
            background: url(/Design/img/THPTHamThuanNam/icon/11.svg) no-repeat;
            background-size: cover;
            left: 11px;
            top: 6px;
            width: 45px;
            height: 45px;
            z-index: 2;
        }