/* Giao diện chi tiết thông báo - đồng bộ với trang danh sách */
.detail-news {
    /* background: linear-gradient(180deg, #f5fbff 0, #fff 430px) !important; */
    padding: 28px 0 20px;
    background: url(/Design/img/TieuHocDucThang/dt-tb.png) no-repeat;
    background-size: cover;
}

    .detail-news .container {
        padding-top: 0;
    }

.detail-news-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    padding: 0 !important;
}

    .detail-news-bottom .my-left,
    .detail-news-bottom .my-right {
        width: auto !important;
        float: none !important;
        padding: 0 !important;
    }

.detail-news-wrap {
    position: relative;
    overflow: hidden;
    padding: 28px 18px 18px !important;
    border: 1px solid #e0edf3 !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 14px 40px rgba(31, 86, 132, .10);
}

    .detail-news-wrap::before {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 6px;
        content: "";
        background: linear-gradient(90deg, #22b8b0, #72d5df, #ffbd59, #ff8a65);
    }

.detail-news-title {
    margin: 0 !important;
    color: #173f70 !important;
    font-family: 'Montserrat-ExtraBold' !important;
    font-size: clamp(26px, 3vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

    .detail-news-title::before {
        display: block;
        width: fit-content;
        margin-bottom: 13px;
        padding: 6px 11px;
        color: #138d9e;
        content: "THÔNG BÁO";
        font-family: 'Inter_24pt-SemiBold';
        font-size: 12px;
        letter-spacing: .13em;
        border-radius: 999px;
        background: #e9fbf9;
    }

.options-bv.list-down-view {
    align-items: center;
    gap: 14px;
    margin: 22px 0 0;
    padding: 13px 0;
    border-top: 1px dashed #d5e6ed;
    border-bottom: 1px dashed #d5e6ed;
}

.l-view-date-note {
    gap: 8px;
}

.options-bv .op-left .item {
    padding: 8px 12px;
    color: #6f8a99;
    font-size: 13px;
    border-radius: 999px;
    background: #f4f9fb;
}

    .options-bv .op-left .item i {
        color: #f29a56;
    }

.options-bv .op-right {
    margin-left: auto;
}

.side-news-item-download {
    margin-left: auto;
}

    .side-news-item-download .content {
        padding: 0;
    }

.side-news-down {
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    color: #fff !important;
    font-size: 13px !important;
    border-radius: 999px;
    background: #ef8650;
    box-shadow: 0 5px 12px rgba(239, 134, 80, .22);
}

    .side-news-down svg {
        width: 18px;
        height: 18px;
    }

        .side-news-down svg path {
            fill: #fff;
        }

.detail-news-wrap > .descript {
    margin: 26px 0 0 !important;
    padding: 16px 18px;
    color: #426477 !important;
    font-family: 'Inter_24pt-SemiBold' !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    text-align: left !important;
    border-left: 4px solid #ffc15b;
    border-radius: 0 12px 12px 0;
    background: #fffaf0;
}

.detail-news-wrap .p-details {
    margin-top: 28px !important;
    color: #314f60 !important;
    font-family: 'Inter_24pt-Regular' !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
    text-align: left !important;
}

    .detail-news-wrap .p-details p {
        margin-bottom: 1em;
    }

    .detail-news-wrap .p-details h2,
    .detail-news-wrap .p-details h3 {
        margin: 1.5em 0 .5em;
        color: #176b83;
        font-family: 'Montserrat-Bold' !important;
        line-height: 1.4;
    }

    .detail-news-wrap .p-details img {
        max-width: 100%;
        height: auto !important;
        border-radius: 14px;
    }

.pdf-c-note {
    margin-top: 28px;
    padding: 18px 0 !important;
    border-top: 1px dashed #d5e6ed;
}

    .pdf-c-note iframe {
        max-width: 100%;
        border-radius: 14px;
    }

.detail-news-wrap .social {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #d5e6ed;
}

    .detail-news-wrap .social h3 {
        color: #426477;
        font-family: 'Inter_24pt-SemiBold';
        font-size: 14px;
    }

    .detail-news-wrap .social .item {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 12px;
        background: #edf7fb;
        color: #168da0;
    }

        .detail-news-wrap .social .item:hover {
            background: #168da0;
        }

.same-cate.cate-same-docr {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px dashed #d5e6ed;
}

    .same-cate.cate-same-docr .grid.wide,
    .same-cate.cate-same-docr .grid.wide .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

.same-cate-title {
    margin: 0 0 18px !important;
    color: #173f70 !important;
    font-family: 'Montserrat-ExtraBold' !important;
    font-size: 23px !important;
}

    .same-cate-title::before {
        width: 70px !important;
        height: 4px !important;
        margin-bottom: 9px !important;
        border-radius: 99px;
        background: #ffc15b !important;
        bottom: -14px;
    }

.list-news-same-cate {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px !important;
    margin: 0 !important;
}

    .list-news-same-cate .p-news-item__type2 {
        min-width: 0;
        padding: 0 !important;
    }

    .list-news-same-cate .p-news-link__type2 {
        display: flex !important;
        height: 100%;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid #e3edf3;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(48, 102, 138, .06);
    }

    .list-news-same-cate .p-news-img__type2 {
        height: 160px !important;
        flex: 0 0 160px;
    }

        .list-news-same-cate .p-news-img__type2 .cate {
            display: none;
        }

    .list-news-same-cate .p-news-content__type2 {
        padding: 12px !important;
    }

    .list-news-same-cate .p-news-date__type2 {
        color: #7a98a9;
        font-size: 13px;
    }

    .list-news-same-cate .p-news-content__type2 .title {
        display: -webkit-box;
        min-height: 42px;
        margin: 5px 0;
        overflow: hidden;
        color: #173f70;
        font-family: 'Montserrat-Bold';
        font-size: 15px;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .list-news-same-cate .p-news-content__type2 .descript {
        display: -webkit-box;
        overflow: hidden;
        color: #78909c;
        font-size: 14px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-top: 3px;
    }

    .list-news-same-cate .detail-link-new {
        margin-top: 8px;
        color: #ef8650;
        font-size: 13px;
    }

.my-side-news {
    position: sticky;
    top: 0;
    align-self: start;
}

    .my-side-news .side-news-item,
    .detail-news .list-mini-banner-l,
    .detail-news .side-link .p-side-wrap {
        overflow: hidden;
        margin-bottom: 18px;
        border: 1px solid #e0edf3 !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 10px 28px rgba(31, 86, 132, .08);
    }

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

        .my-side-news .side-news-item .title {
            padding: 17px 18px 15px !important;
            color: #f9e61c !important;
            font-family: 'Montserrat-Bold' !important;
            font-size: 18px !important;
            text-transform: none !important;
            border-bottom: 1px solid #e5f0f3 !important;
            background: linear-gradient(90deg, #ecfbfc, #fff);
        }

            .my-side-news .side-news-item .title::before {
                content: "✦";
                margin-right: 8px;
                color: #f9e61c;
            }

            .my-side-news .side-news-item .title::after {
                display: none !important;
            }

.content-new-list-side a.item {
    display: flex;
    gap: 11px;
    padding: 13px 14px !important;
    border-bottom: 1px solid #edf3f5 !important;
}

    .content-new-list-side a.item:last-child {
        border-bottom: 0 !important;
    }

    .content-new-list-side a.item .img {
        width: 82px !important;
        height: 82px !important;
        flex: 0 0 82px;
        border-radius: 11px !important;
    }

    .content-new-list-side a.item .content {
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

        .content-new-list-side a.item .content h6 {
            color: #ef8650 !important;
            font-size: 10px !important;
        }

        .content-new-list-side a.item .content h3 {
            height: auto !important;
            margin: 3px 0 7px !important;
            color: #34566a !important;
            font-family: 'Inter_24pt-SemiBold' !important;
            font-size: 14px !important;
            line-height: 1.35 !important;
            -webkit-line-clamp: 2;
        }

.WViewSVGNewHome {
    display: flex;
    align-items: center;
}

.WDateSVGNewHome svg {
    width: 12px;
    height: auto;
}

.WDateViewNewHome {
    display: flex;
    gap: 15px;
    color: #91a6b2;
    font-size: 12px;
    margin-top: 3px;
}

    .WDateViewNewHome > div {
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
    }

.detail-news .list-mini-banner-l {
    padding: 11px;
    background: #fff !important;
}

    .detail-news .list-mini-banner-l .side-img {
        display: block;
        overflow: hidden;
        margin-bottom: 10px;
        border-radius: 12px;
    }

        .detail-news .list-mini-banner-l .side-img:last-child {
            margin-bottom: 0;
        }

.detail-news .side-link {
    margin-top: 0;
}

    .detail-news .side-link .p-side-wrap {
        padding: 20px 17px 14px;
        background: #f8fffc !important;
    }

        .detail-news .side-link .p-side-wrap h5,
        .detail-news .side-thongke h4 {
            color: #15758b;
            font-family: 'Montserrat-Bold';
        }

.detail-news .side-link-drop {
    margin-bottom: 20px;
    border-color: #cde5e5;
}

    .detail-news .side-link-drop span {
        font-size: 14px;
    }

.detail-news .side-thongke-wrap {
    border-color: #cde5e5;
}

.detail-news .side-thongke .left span {
    font-size: 15px;
    line-height: 2.1;
}

.detail-news .side-thongke .result {
    color: #ef8650;
    font-family: 'Montserrat-Bold';
    font-size: 14px;
    line-height: 2.1;
}

@media (max-width: 1023px) {
    .detail-news-bottom {
        grid-template-columns: minmax(0, 1fr);
    }

    .my-side-news {
        position: static;
    }

    .detail-news-bottom .my-right {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
    }

        .detail-news-bottom .my-right .side-news-item {
            grid-row: span 2;
            margin: 0;
        }

        .detail-news-bottom .my-right .list-mini-banner-l,
        .detail-news-bottom .my-right .side-link {
            margin: 0;
        }
}

@media (max-width: 739px) {
    .detail-news {
        padding: 14px 0 34px;
    }

    .detail-news-wrap {
        padding: 26px 16px 24px !important;
        border-radius: 18px !important;
    }

    .detail-news-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    .options-bv.list-down-view {
        display: block;
        margin-top: 17px;
    }

    .l-view-date-note {
        justify-content: space-between;
    }

    .options-bv .op-left .item {
        padding: 7px 9px;
        font-size: 11px;
    }

    .side-news-item-download {
        margin-top: 10px;
    }

    .side-news-down {
        font-size: 12px !important;
    }

    .detail-news-wrap > .descript {
        margin-top: 20px !important;
        padding: 13px 14px;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .detail-news-wrap .p-details {
        margin-top: 22px !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .pdf-c-note iframe {
        height: 520px;
    }

    .list-news-same-cate {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px !important;
    }

        .list-news-same-cate .p-news-img__type2 {
            height: 100px !important;
            flex-basis: 100px;
        }

        .list-news-same-cate .p-news-content__type2 .title {
            font-size: 13px;
        }

    .detail-news-bottom .my-right {
        display: block;
    }

        .detail-news-bottom .my-right .side-news-item,
        .detail-news-bottom .my-right .list-mini-banner-l,
        .detail-news-bottom .my-right .side-link {
            margin-bottom: 15px;
        }

    .content-new-list-side a.item .img {
        width: 84px !important;
        height: 68px !important;
        flex-basis: 84px;
    }
}