﻿/* detail news */

.detail-news {
    background-color: #f3f3f3;
}

    .detail-news .container {
        padding: 50px 0;
    }

.detail-news-title {
    margin: 0;
    font-size: 30px;
    color: #2c2c2c;
    font-family: 'OSWALD-MEDIUM';
    font-weight: 100;
}

.detail-news-wrap .p-details h2 {
    font-size: 18px;
}

.detail-news-bottom {
    padding-top: 35px;
}

    .detail-news-bottom .my-left {
        float: left;
        width: 68.7%;
        border-radius: 10px;
        padding: 10px;
        background: #ffffff;
    }

    .detail-news-bottom .my-right {
        float: right;
        width: 370px;
        padding-left: 7px;
    }

.detail-news-wrap {
    padding-bottom: 50px;
}

.detail-news-author {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

    .detail-news-author .author-img {
    }

        .detail-news-author .author-img img {
        }

    .detail-news-author .author-content {
        padding-left: 12px;
    }

        .detail-news-author .author-content h3 {
            margin: 0;
            color: #212529;
            font-weight: 100;
            font-size: 17px;
            margin-bottom: 5px;
        }

        .detail-news-author .author-content span {
            color: #2c2c2c;
            font-size: 14px;
        }

.detail-news-wrap .descript {
    font-size: 18px;
    color: #000000;
    margin-bottom: 17px;
    line-height: 27px;
    font-family: 'Inter_24pt-Medium';
    font-weight: 500;
}

.detail-news .grid.wide {
    /* padding: 0; */
}

.detail-news-wrap .img {
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

    .detail-news-wrap .img img {
        height: auto !important;
        width: 100% !important;
    }

.detail-news-wrap .p-details {
    font-size: 16px;
    margin-top: 0;
    color: #333;
    line-height: 25px;
    margin-bottom: 14px;
    font-family: 'Inter_24pt-Regular' !important;
}

    .detail-news-wrap .p-details h2 {
        margin: 6px 0;
        font-family: 'Oswald-Medium';
        font-size: 23px;
        font-style: normal;
        font-weight: normal;
        line-height: 160%;
        background: linear-gradient(90deg, #009247 0%, #57BA76 50%, #009247 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .detail-news-wrap .p-details h3 {
        margin: 6px 0;
        font-family: 'Oswald-Medium';
        font-size: 21px;
        font-style: normal;
        font-weight: normal;
        line-height: 160%;
        background: linear-gradient(90deg, #009247 0%, #57BA76 50%, #009247 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .detail-news-wrap .p-details h4 {
        margin: 6px 0;
        font-family: 'Oswald-Medium';
        font-size: 19px;
        font-style: normal;
        font-weight: normal;
        line-height: 160%;
        background: linear-gradient(90deg, #009247 0%, #57BA76 50%, #009247 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .detail-news-wrap .p-details table {
        width: 100%;
        border-collapse: collapse;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 15px;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin: 20px 0;
    }

        .detail-news-wrap .p-details table th, .detail-news-wrap .p-details table td {
            border: 1px solid #e0e0e0;
            padding: 12px 16px;
            text-align: left;
            vertical-align: top;
        }

        .detail-news-wrap .p-details table thead th {
            background-color: #f0f4f8;
            font-weight: 600;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .detail-news-wrap .p-details table tbody tr:nth-child(even) {
            background-color: #f9fafb;
        }

        .detail-news-wrap .p-details table tbody tr:hover {
            background-color: #eef6ff;
            transition: background-color 0.3s ease;
        }

        .detail-news-wrap .p-details table td[rowspan], .detail-news-wrap .p-details table td[colspan] {
            background-color: #f3f9f6;
            font-weight: 500;
            color: #004d40;
        }

        .detail-news-wrap .p-details table td:first-child {
            font-weight: 600;
            /* color: #1a237e; */
        }

@media (max-width: 768px) {
    .detail-news-wrap .p-details table {
        font-size: 13px;
        min-width: 900px; /* Đảm bảo bảng đủ rộng để cuộn */
    }

    .detail-news-wrap .p-details .table-res {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
}

.detail-news-wrap .social {
    display: flex;
    flex-direction: column;
}

    .detail-news-wrap .social .item {
        position: relative;
        border: 1px solid #505050;
        width: 30px;
        height: 30px;
        margin-right: 10px;
        border-radius: 10px;
        color: #505050;
        transition: all ease .2s;
        cursor: pointer;
        font-size: 13px;
    }

        .detail-news-wrap .social .item .fb-share-button span {
            width: 100% !important;
            height: 100% !important;
        }

        .detail-news-wrap .social .item .fb-share-button iframe {
            width: 100% !important;
            height: 100% !important;
        }

        .detail-news-wrap .social .item .fb-share-button {
            position: absolute;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
            opacity: 0;
        }

        .detail-news-wrap .social .item a {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
        }

    .detail-news-wrap .social .popup.show {
        opacity: 1;
        transform: translateY(0);
    }

    .detail-news-wrap .social .popup {
        position: absolute;
        top: 117%;
        pointer-events: none;
        white-space: nowrap;
        background-color: #2c2c2c17;
        color: #333c;
        font-size: 14px;
        border-radius: 5px;
        overflow: hidden;
        opacity: 0;
        padding: 4px 10px;
        transition: 0.6s cubic-bezier(.3,2.2,.3,1);
        transform: translateY(15px);
    }

    .detail-news-wrap .social .item:hover {
        background-color: #505050;
        color: #fff;
    }

    .detail-news-wrap .social h3 {
        margin: 0;
        font-size: 13px;
        color: #505050;
        font-weight: 100;
        margin-bottom: 9px;
        margin-top: 4px;
    }

.detail-news-wrap .social-list {
    display: flex;
}

.same-cate {
    background-color: #fafafa;
}

.same-cate-title {
    margin: 0;
    font-size: 32px;
    color: var(--default-color-2);
    text-transform: capitalize;
    font-family: 'AvertaStdCY-Semibold';
    margin-bottom: 30px;
}

.p-news-img__type2.img-item-l-relate {
    width: 230px;
    height: 175px;
}

.detail-news-bottom .my-right .list a:hover {
    background-color: transparent;
    color: var(--default-color-1);
    box-shadow: 0 0 10px 0 #00acfa2e;
}

.detail-news-bottom .my-right .list-tag {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: unset;
    border-radius: 6px;
    padding: 5px;
    background: #fff;
}

    .detail-news-bottom .my-right .list-tag h3 {
        margin: 0;
        font-size: 14px;
        color: #505050;
        font-weight: normal;
    }

.detail-news-bottom .my-right .list {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
}

.same-cate ul.p-news-list__type2 {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 0;
}

.detail-news-bottom .my-right .list a {
    font-size: 14px;
    color: #fff;
    background-color: var(--default-color-1);
    padding: 6px 16px;
    border-radius: 55px;
    border: 1px solid var(--default-color-1);
    display: block;
    margin: 5px 0;
    transition: all ease .3s;
}

.my-side-news .side-news-item:last-child {
    margin-bottom: 0;
}

.my-side-news .side-news-item {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 10px;
    background-color: #fff;
}

    .my-side-news .side-news-item .title {
        margin: 0;
        font-family: 'Oswald-Medium';
        font-weight: 100;
        font-size: 17px;
        color: var(--default-color-2);
        padding-bottom: 12px;
        border-bottom: 1px solid #F2F2F2;
        text-transform: uppercase;
    }

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

.side-news-link:hover h3 {
    color: var(--default-color-2);
}

.side-news-link {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px dashed #d5d5d5;
    transition: 0.8s cubic-bezier(.3,2.2,.3,1);
}

    .side-news-link:hover {
    }

        .side-news-link:hover span {
            transform: translateX(6px) translateY(3px);
            opacity: 1;
        }

        .side-news-link:hover h3 {
            transform: translateX(6px);
        }

    .side-news-link img {
        width: 20px;
    }

    .side-news-link .index {
        background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%), linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
        height: fit-content;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        color: #fff;
        font-family: 'Inter_24pt-Medium';
        font-size: 13px;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
        opacity: .8;
    }

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

    .side-news-link h3 {
        margin: 0;
        font-size: 16px;
        flex: 1;
        color: #333;
        font-weight: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-left: 11px;
        font-family: 'Inter_24pt-SemiBold';
        line-height: 24px;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
    }

.side-news-item.download {
}

    .side-news-item.download img {
        width: 22px;
    }

    .side-news-item.download a {
        align-items: center;
        padding: 18px 0 !important;
    }

        .side-news-item.download a:hover h3 {
            text-decoration: underline;
        }

        .side-news-item.download a h3 {
            color: var(--default-color-4);
            margin-left: 5px;
            padding: 0;
            transform: translateX(0) !important;
        }

.side-news-link.down {
    flex-direction: column;
    user-select: none;
    padding: 12px 0;
}

    .side-news-link.down h3 {
        padding: 0;
        color: #2c2c2c !important;
    }

    .side-news-link.down a {
    }

    .side-news-link.down .bot-options {
        display: flex;
        align-items: center;
        margin-top: 6px;
    }

    .side-news-link.down .options-item:first-child {
        margin-left: 0;
    }

    .side-news-link.down .options-item:hover {
        text-decoration: underline;
    }

    .side-news-link.down .options-item {
        cursor: pointer;
        font-size: 14px;
        color: var(--default-color-4);
        margin: 0 5px;
    }

.vanban-filter {
    margin-bottom: 43px;
}

.vanban-filter-item {
    display: flex;
    align-items: center;
}

    .vanban-filter-item h3 {
        margin: 0;
        font-family: 'SFM';
        color: var(--default-color-4);
        font-size: 18px;
        margin-right: 30px;
    }

    .vanban-filter-item .input {
        flex: 1;
        border: 1px solid #33333329;
        border-radius: 5px;
        position: relative;
        display: flex;
        align-items: center;
        padding: 10px 20px;
        user-select: none;
        cursor: pointer;
    }

        .vanban-filter-item .input.show::before {
            transform: rotate(180deg);
        }

        .vanban-filter-item .input::before {
            right: 15px;
            content: "\f078";
            position: absolute;
            font-family: FontAwesome;
            color: var(--default-color-1);
            font-size: 14px;
            transition: 0.8s cubic-bezier(.3,1.8,.3,1);
        }

        .vanban-filter-item .input span {
            font-family: 'SFM';
            color: var(--default-color-4);
            font-size: 15px;
        }

        .vanban-filter-item .input.show .drop {
            opacity: 1;
            pointer-events: all;
            transform: translateY(0);
        }

        .vanban-filter-item .input .drop {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: #fff;
            z-index: 2;
            border-radius: 5px;
            border: 1px solid #33333329;
            pointer-events: none;
            opacity: 0;
            transform: translateY(10px);
            transition: 0.6s cubic-bezier(.3,2.2,.3,1);
            box-shadow: 0 0 10px 0 #3333332e;
        }

        .vanban-filter-item .input .drop-item {
            color: #333;
            font-size: 15px;
            padding: 6px 12px;
            transition: all linear .2s;
            cursor: pointer;
        }

            .vanban-filter-item .input .drop-item:hover {
                background-color: #f2f2f2;
                color: var(--default-color-1);
            }

.vanban-filter-btn {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.vanban-filter-count {
    color: #333;
    font-size: 15px;
    font-family: sfm;
    margin-bottom: 8px;
    display: block;
}

.vanban-filter-btn a {
    margin: 10px 5px;
    font-size: 16px;
    font-family: 'SFM';
    border-radius: 5px;
    padding: 8px 18px;
    transition: all linear .2s;
}

    .vanban-filter-btn a:first-child:hover {
        background-color: transparent;
        color: var(--default-color-4);
    }

    .vanban-filter-btn a:last-child:hover {
        background-color: transparent;
        color: var(--default-color-2);
    }

    .vanban-filter-btn a:hover {
    }

    .vanban-filter-btn a:first-child {
        color: #fff;
        background-color: var(--default-color-4);
        border: 1px solid var(--default-color-4);
    }

    .vanban-filter-btn a:last-child {
        color: #fff;
        background-color: var(--default-color-2);
        border: 1px solid var(--default-color-2);
    }

/*RS*/
@media(max-width:1023px) {
    .detail-news-bottom .my-right .list-tag {
        margin-top: 15px;
    }
}

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

@media(max-width:739px) {
    .detail-news-title {
        font-size: 17px;
    }

    .detail-news-wrap {
        padding-bottom: 30px;
    }

    .detail-news .container {
        padding: 30px 0;
    }

    .detail-news-bottom {
        padding-top: 20px;
        display: block;
    }

    .same-cate ul.p-news-list__type2 {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
        margin-top: 20px;
    }

    .p-news-link__type2 .cate {
        display: none;
    }

    .p-news-link__type2 .title {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }

    .p-news-link__type2 .descript {
        font-size: 14px;
    }

    .p-news-item__type2 {
        padding: 0 !important;
    }

    .p-news-img__type2 {
        height: 135px !important;
    }

        .p-news-img__type2.img-item-l-relate {
            width: 100%;
        }

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

.List-side-new-bar {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 25px;
}

.home-news {
    position: relative;
}

.t-title-l-new {
    padding-left: 57px;
    position: relative;
    display: inline-block;
}

    .t-title-l-new:before {
        content: "";
        position: absolute;
        width: 41px;
        height: 4px;
        background: #fff;
        left: 0;
        bottom: 12px;
    }

.home-news .decor {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.w-link-invest.link-new-home-item.aos-init.aos-animate {
    position: relative;
    top: 0;
    right: 20px;
}

.t-title-l-new h3 {
    margin: 0;
    color: #FFF;
    font-family: 'baiB';
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.t-link-new-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.home-news-container {
    padding-top: 84px;
    padding-bottom: 75px;
}

.home-news .p-title-cate {
}

.home-news .p-title {
}

.home-news .p-descript {
}

.home-news-list {
    margin-top: 52px;
}

.home-news-item {
}

    .home-news-item .img {
        width: 100%;
        border-radius: 5px;
        overflow: hidden;
        height: 130px;
    }

        .home-news-item .img img {
            width: 100%;
            height: 100%;
            overflow: hidden;
            transition: all .3s;
        }

    .home-news-item:hover .img img {
        transform: scale(1.1);
    }

.item-img-new-h {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
}

    .item-img-new-h .options {
        position: absolute;
        bottom: 0px;
        right: 0px;
        width: 112px;
        height: 25px;
        background: #00ACFA;
        border-radius: 5px 0 0 0;
        clip-path: polygon(17% 0, 100% 0, 100% 100%, 0% 100%);
    }

.home-news-item .descript span:before {
    content: "";
    position: absolute;
    background: #00ACFA;
    left: 0;
    top: 0;
    width: 41px;
    height: 2px;
}

.home-news-item .options {
    display: flex;
    align-items: center;
}

.home-news-item .options-item {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

    .home-news-item .options-item img {
        position: relative;
        top: 1px;
    }

    .home-news-item .options-item span {
        display: block;
        margin-left: 4px;
        color: #FFF;
        font-family: 'AvertaStdCY-Regular';
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
    }

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

.home-news-item .title {
    padding: 0 !important;
    margin: 0;
    font-size: 17px !important;
    font-family: 'AvertaStdCY-Semibold';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 23px;
    color: #3A3A39;
    font-style: normal;
    font-weight: 600;
    line-height: 138.688%; /* 24.964px */
    text-transform: math-auto !important;
    border: unset !important;
}

.home-news-item:hover .title {
    color: #00acfa;
}

.home-news-item .descript {
    margin-top: 11px;
}

    .home-news-item .descript span {
        position: relative;
        color: #626262;
        font-family: 'AvertaStdCY-SemiBold';
        font-size: 14px;
        font-style: normal;
        text-align: justify;
        font-weight: 400;
        line-height: 133%;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-top: 11px;
    }

/*RS*/
@media(min-width:1380px) {
    .item-img-new-h .options {
        bottom: -1px;
    }

    .home-news .decor {
        height: 339px;
    }
}

@media(max-width:1200px) {
    .t-title-l-new h3 {
        font-size: 30px;
    }
}

@media(max-width:1023px) {
    .detail-news .grid.wide {
        padding: 0 5px;
    }

    .detail-news-bottom .my-right .list a {
        text-transform: lowercase;
        font-size: 12px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .home-news-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media(max-width:739px) {
    .home-news-item .img {
        border-radius: 10px;
        overflow: hidden;
        height: 163px;
    }

    .t-title-l-new h3 {
        font-size: 16px;
    }

    .t-title-l-new:before {
        content: none;
    }

    .t-title-l-new {
        padding-left: 0;
    }

    .p-btn-link {
        height: 38px !important;
        padding-left: 15px !important;
    }

        .p-btn-link .icon {
            width: 35px !important;
            height: 38px !important;
        }

    .home-news-item .options-item span {
        font-size: 11px;
    }

    .home-news-item .options-item img {
        top: 0px;
    }

    .p-btn-link .icon:before {
        width: 39px;
    }

    .home-news-container {
        padding-top: 23px;
        padding-bottom: 30px;
    }

    .home-news-list {
        margin-top: 30px;
    }

    .item-img-new-h .options {
        right: -3px;
        bottom: -1px;
    }

    .home-news-item .title {
        font-size: 15px !important;
        margin-top: 10px;
    }

    .home-news-item .descript span {
        font-size: 13px;
    }
}