/* Hoạt động nhà trường - giao diện thân thiện với học sinh. */
.dt-news-section,
.dt-news-section * {
    box-sizing: border-box;
}

.dt-news-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 35px 0 40px;
    background: #fffaf0;
}

    .dt-news-section::before,
    .dt-news-section::after {
        content: "";
        position: absolute;
        z-index: -1;
        border-radius: 50%;
        pointer-events: none;
    }

    .dt-news-section::before {
        width: 430px;
        height: 430px;
        top: -230px;
        left: -160px;
        background: rgba(255, 210, 63, .18);
    }

    .dt-news-section::after {
        width: 400px;
        height: 400px;
        right: -180px;
        bottom: -240px;
        background: rgba(43, 181, 112, .1);
    }

.dt-news-container {
    position: relative;
    z-index: 1;
}

.dt-news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dt-news-heading-copy {
    max-width: 680px;
}

.dt-news-heading .htk-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #06aee3;
    color: #fff;
    font: 700 10px 'Montserrat-Bold', Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .dt-news-heading .htk-news-kicker i {
        color: #f1b900;
    }

.dt-news-heading .htk-section-title {
    margin: 0;
    padding: 0;
    color: #1e305b;
    font: 800 clamp(27px, 3vw, 30px)/1.15 'Montserrat-ExtraBold', Arial, sans-serif;
    letter-spacing: -.8px;
    text-transform: uppercase;
}

    .dt-news-heading .htk-section-title::before,
    .dt-news-heading .htk-section-title::after {
        display: none;
    }

.dt-news-heading-copy > p {
    max-width: 590px;
    margin: 10px 0 0;
    color: #6d7682;
    font: 500 13px/1.6 'Montserrat-Medium', Arial, sans-serif;
}

.dt-news-heading .btn-link-new {
    flex-shrink: 0;
}

    .dt-news-heading .btn-link-new a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 42px;
        padding: 9px 17px;
        border: 1px solid #cfe0f0;
        border-radius: 999px;
        background: #fff;
        color: #1e305b;
        font: 700 15px 'Montserrat-Bold', Arial, sans-serif;
        text-decoration: none;
        transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
    }

        .dt-news-heading .btn-link-new a:hover {
            color: #fff;
            background: #1e305b;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(7, 85, 165, .2);
        }

.dt-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(280px, .78fr);
    gap: 24px;
    align-items: stretch;
}

.dt-news-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
}

    .dt-news-feature-grid .htk-news-card {
        overflow: hidden;
        border: 1px solid #f1e5c8;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 12px 25px rgba(121, 92, 28, .09);
        transition: transform .3s ease, box-shadow .3s ease;
    }

        .dt-news-feature-grid .htk-news-card:hover {
            transform: translateY(-6px) rotate(-.25deg);
            box-shadow: 0 20px 35px rgba(121, 92, 28, .15);
        }

        .dt-news-feature-grid .htk-news-card > a {
            display: block;
            height: 100%;
            color: inherit;
            text-decoration: none;
        }

    .dt-news-feature-grid .htk-news-card-img {
        height: 204px;
        border-radius: 0;
    }

        .dt-news-feature-grid .htk-news-card-img img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform .55s ease, filter .55s ease;
        }

    .dt-news-feature-grid .htk-news-card:hover .htk-news-card-img img {
        transform: scale(1.055);
        filter: saturate(1.08);
    }

    .dt-news-feature-grid .htk-news-card-content {
        padding: 19px 20px 14px;
    }

    .dt-news-feature-grid .htk-news-date {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

    .dt-news-feature-grid .htk-cate-n {
        padding: 5px 9px;
        border-radius: 999px;
        background: #e9f7ef;
        color: #08744b;
        font: 700 10px 'Montserrat-Bold', Arial, sans-serif;
        text-transform: uppercase;
    }

    .dt-news-feature-grid .htk-date {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #87919d;
        font: 600 12px 'Montserrat-SemiBold', Arial, sans-serif;
    }

        .dt-news-feature-grid .htk-date i {
            color: #f1b900;
        }

    .dt-news-feature-grid .htk-news-title {
        margin: 12px 0 0;
        color: #173c60;
        font: 800 16px/1.5 'Montserrat-Bold', Arial, sans-serif;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dt-news-feature-grid .htk-news-desc {
        display: -webkit-box;
        margin: 9px 0 0;
        color: #75808c;
        font: 500 15px/1.55 'Montserrat-Medium', Arial, sans-serif;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dt-news-feature-grid .htk-news-more {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 16px;
        padding: 9px 13px;
        border-radius: 999px;
        background: #eef7ff;
        color: #1e305b;
        font: 700 12px 'Montserrat-Bold', Arial, sans-serif;
        font-style: normal;
        line-height: 1.6;
        transition: background .25s ease, color .25s ease, transform .25s ease;
    }

    .dt-news-feature-grid .htk-news-card:hover .htk-news-more {
        color: #fff;
        background: #1e305b;
        transform: translateX(3px);
    }

    .dt-news-feature-grid .htk-news-card:nth-child(2) {
        border-color: #dcefe5;
    }

        .dt-news-feature-grid .htk-news-card:nth-child(2) .htk-cate-n {
            background: #fff1c7;
            color: #9b6900;
        }

        .dt-news-feature-grid .htk-news-card:nth-child(2) .htk-news-more {
            background: #eaf8f0;
            color: #08744b;
        }

        .dt-news-feature-grid .htk-news-card:nth-child(2):hover .htk-news-more {
            background: #08744b;
            color: #fff;
        }

.dt-news-side {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 11px;
    padding: 20px 17px 17px;
    border: 1px solid #dceaf5;
    border-radius: 22px;
    background: #f6fbff;
    box-shadow: 0 12px 25px rgba(22, 70, 110, .07);
}

    .dt-news-side::before {
        content: "Tin mới cập nhật";
        display: block;
        margin: 0 0 3px;
        color: #1e305b;
        font: 800 20px 'Montserrat-Bold', Arial, sans-serif;
    }

    .dt-news-side .htk-small-news {
        position: relative;
        min-width: 0;
        padding-bottom: 11px;
        border-bottom: 1px dashed #d6e5f1;
        transition: transform .25s ease;
    }

        .dt-news-side .htk-small-news:last-child {
            padding-bottom: 0;
            border-bottom: 0;
        }

        .dt-news-side .htk-small-news:hover {
            transform: translateX(3px);
        }

    .dt-news-side .htk-news-side-index {
        position: absolute;
        z-index: 2;
        top: 4px;
        left: 4px;
        min-width: 24px;
        padding: 4px 5px;
        border-radius: 999px;
        background: #ffcf42;
        color: #634600;
        font: 800 10px 'Montserrat-Bold', Arial, sans-serif;
        text-align: center;
    }

    .dt-news-side .htk-news-side-item {
        display: grid;
        grid-template-columns: 92px minmax(0,1fr);
        gap: 11px;
        align-items: center;
        color: inherit;
        text-decoration: none;
    }

    .dt-news-side .htk-news-side-thumb {
        width: 92px;
        height: 72px;
        overflow: hidden;
        border-radius: 13px;
        background: #dfeef8;
    }

        .dt-news-side .htk-news-side-thumb img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform .4s ease;
        }

    .dt-news-side .htk-news-side-item:hover .htk-news-side-thumb img {
        transform: scale(1.07);
    }

    .dt-news-side .htk-news-side-content {
        min-width: 0;
    }

    .dt-news-side .htk-news-side-date {
        margin: 0;
    }

    .dt-news-side .htk-date {
        color: #8494a2;
        font: 600 13px 'Montserrat-SemiBold', Arial, sans-serif;
    }

        .dt-news-side .htk-date i {
            color: #21a76b;
        }

    .dt-news-side .htk-news-side-title {
        display: -webkit-box;
        margin-top: 5px;
        color: #173c60;
        font: 700 15px/1.4 'Montserrat-Bold', Arial, sans-serif;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color .2s ease;
    }

    .dt-news-side .htk-news-side-item:hover .htk-news-side-title {
        color: #1e305b;
    }

    .dt-news-side .htk-news-side-desc {
        display: none;
    }

@media (max-width: 1100px) {
    .dt-news-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
        gap: 12px;
    }

    .dt-news-feature-grid .htk-news-card-img {
        height: 210px;
    }

    .dt-news-feature-grid .htk-news-title {
        font-size: 17px;
    }
}

@media (max-width: 850px) {
    .dt-news-section {
        padding: 60px 0 66px;
    }

    .dt-news-layout {
        grid-template-columns: 1fr;
    }

    .dt-news-side {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 13px;
    }

        .dt-news-side::before {
            grid-column: 1 / -1;
        }

        .dt-news-side .htk-small-news:nth-last-child(-n+2) {
            border-bottom: 0;
        }
}

@media (max-width: 599px) {
    .dt-news-section {
        padding: 28px 0 28px;
    }

    .dt-news-heading {
        align-items: unset;
        gap: 13px;
        margin-bottom: 21px;
        flex-direction: column;
    }

        .dt-news-heading .htk-news-kicker {
            margin-bottom: 6px;
            padding: 5px 8px;
            font-size: 11px;
            letter-spacing: .7px;
        }

        .dt-news-heading .htk-section-title {
            font-size: 19px;
            line-height: 1.6;
        }

    .htk-news-heading-copy p {
        font-size: 15px;
        text-align: justify;
    }

    .dt-news-heading-copy > p {
        margin-top: 7px;
        font-size: 11px;
        line-height: 1.5;
    }

    .dt-news-heading .btn-link-new a {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .dt-news-feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

        .dt-news-feature-grid .htk-news-card {
            border-radius: 17px;
        }

        .dt-news-feature-grid .htk-news-card-img {
            height: 145px;
        }

        .dt-news-feature-grid .htk-news-card-content {
            padding: 10px 10px 10px;
        }

        .dt-news-feature-grid .htk-news-title {
            margin-top: 9px;
            font-size: 13px;
            text-align: left;
        }

        .dt-news-feature-grid .htk-news-desc {
            font-size: 12px;
        }

        .dt-news-feature-grid .htk-news-more {
            margin-top: 12px;
            padding: 8px 11px;
            font-size: 9px;
        }

    .dt-news-side {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 13px 13px;
        border-radius: 17px;
    }

        .dt-news-side::before {
            font-size: 18px;
        }

        .dt-news-side .htk-small-news {
            padding-bottom: 10px;
        }

            .dt-news-side .htk-small-news:nth-last-child(-n+2) {
                border-bottom: 1px dashed #d6e5f1;
            }

            .dt-news-side .htk-small-news:last-child {
                border-bottom: 0;
            }

        .dt-news-side .htk-news-side-item {
            grid-template-columns: 82px minmax(0,1fr);
            gap: 10px;
        }

        .dt-news-side .htk-news-side-title {
            font-size: 13px;
            line-height: 1.5;
        }

        .dt-news-side .htk-news-side-thumb {
            width: 82px;
            height: 65px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .dt-news-section * {
        transition: none !important;
    }
}