/* Học sinh + Danh sách liên kết: Figma nodes 29:269-29:268. */

.dt-student-feature,
.dt-student-feature * {
    box-sizing: border-box;
}

.dt-student-feature {
    padding: 35px 0 35px;
    position: relative;
    background: url(/Design/img/TieuHocBinhHung/bau-troi.png) no-repeat;
    background-size: cover;
}

.dt-student-feature__container {
    display: grid;
    grid-template-columns: 354px minmax(0, 1fr);
    gap: 20px;
    width: calc(100% - 32px);
    max-width: 1225px;
    margin: 0 auto;
}

.dt-student-feature__links {
    width: 354px;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid #3f96cd;
    border-radius: 10px;
    background: #fff;
}

.dt-student-feature__links-heading {
    display: flex;
    align-items: center;
    min-height: 61px;
    padding: 0 24px;
    color: #fff;
    background: linear-gradient(118deg, #0a3e96, #087bbd);
}

.dt-student-feature__links-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    margin-right: 18px;
    font-size: 25px;
}

.dt-student-feature__links-heading h2 {
    margin: 0;
    color: inherit;
    font: 700 22px/1.05 'DTAboutBaloo', 'Baloo Da 2', 'Inter_24pt-Bold', Arial, sans-serif;
    text-transform: uppercase;
}

.dt-student-feature__links-list {
    display: grid;
    gap: 7px;
    padding: 10px;
}

.dt-student-feature__link {
    display: block;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 10px;
    background: #fff;
    transition: transform .24s ease, box-shadow .24s ease;
}

    .dt-student-feature__link:nth-child(3) {
        display: none;
    }

    .dt-student-feature__link img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dt-student-feature__link:hover,
    .dt-student-feature__link:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 7px 15px rgba(9, 45, 145, .18);
    }

.dt-student-feature__content {
    flex: 1 1 0;
}

.dt-student-feature__heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

    .dt-student-feature__heading h2 {
        position: relative;
        z-index: 1;
        display: flex;
        height: 72px;
        padding: 0 0 0 71px;
        color: #092d91;
        font: 700 28px/1.05 'DTAboutBaloo', 'Baloo Da 2', 'Inter_24pt-Bold', Arial, sans-serif;
        letter-spacing: .575px;
        text-transform: uppercase;
    }

.dt-student-feature__heading-mark {
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    width: 62px;
    height: 62px;
    border: 3px solid rgba(255,255,255,.85);
    border-radius: 20px 20px 20px 7px;
    background: #fff url('/Design/img/Figma/Education/school-section-heading-icon.svg') center / 49px 49px no-repeat;
    box-shadow: 0 8px 22px rgba(0,20,70,.22);
    pointer-events: none;
    z-index: -1;
}

.dt-student-feature__heading > a {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 43px;
    padding: 0 24px;
    border-radius: 29px;
    color: #fff;
    background: linear-gradient(115deg, #0b439e, #087dc5) !important;
    font: 600 16px/1.37 'Inter_24pt-SemiBold', Arial, sans-serif;
    text-decoration: none;
    transition: color .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

    .dt-student-feature__heading > a::before {
        position: absolute;
        z-index: -1;
        top: -45%;
        left: -80%;
        width: 42%;
        height: 190%;
        content: "";
        background: rgba(255, 255, 255, .45);
        transform: rotate(22deg);
        transition: left .48s ease;
    }

    .dt-student-feature__heading > a span {
        display: inline-block;
        transition: transform .24s ease;
        font-size: 13px;
    }

    .dt-student-feature__heading > a:hover,
    .dt-student-feature__heading > a:focus-visible {
        color: #0745c1 !important;
        border-color: #f5c936;
        background: #fff3b5 !important;
        box-shadow: 0 9px 20px rgba(7, 69, 193, .16);
        -webkit-transform: translateY(-3px) scale(1.025);
        transform: translateY(-3px) scale(1.025);
    }

        .dt-student-feature__heading > a:hover::before,
        .dt-student-feature__heading > a:focus-visible::before {
            left: 125%;
        }

        .dt-student-feature__heading > a:hover span,
        .dt-student-feature__heading > a:focus-visible span {
            transform: translateX(5px);
        }

.dt-student-feature__main {
    display: grid;
    grid-template-columns: minmax(0, 2.55fr) minmax(0, 1fr);
    gap: 16px;
}

.dt-student-feature__hero,
.dt-student-feature__aside-item,
.dt-student-feature__card {
    min-width: 0;
    margin: 0;
    transition: transform .28s ease, filter .28s ease;
}

    .dt-student-feature__hero a,
    .dt-student-feature__aside-item a,
    .dt-student-feature__card a {
        display: block;
        overflow: hidden;
        border-radius: 7px;
        color: #092d91;
        text-decoration: none;
        transition: background-color .28s ease, box-shadow .28s ease;
    }

    .dt-student-feature__hero img {
        display: block;
        width: 100%;
        height: 336px;
        border-radius: 5px;
        object-fit: cover;
        transition: transform .35s ease;
    }

    .dt-student-feature__hero strong {
        display: -webkit-box;
        overflow: hidden;
        margin-top: 8px;
        color: #e72229;
        font: 700 18px/1.45 'Inter_24pt-Bold', Arial, sans-serif;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        transition: color .28s ease, transform .28s ease;
    }

.dt-student-feature__aside {
    display: grid;
    align-content: start;
    gap: 14px;
}

.dt-student-feature__aside-item img {
    display: block;
    width: 100%;
    height: 133px;
    border-radius: 5px;
    object-fit: cover;
    transition: transform .35s ease;
}

.dt-student-feature__aside-item strong,
.dt-student-feature__card strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    color: #173a76;
    font: 600 16px/1.45 'Inter_24pt-SemiBold', Arial, sans-serif;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .28s ease, transform .28s ease;
}

.dt-student-feature__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
    margin-top: 16px;
}

.dt-student-feature__card img {
    display: block;
    width: 100%;
    height: 166px;
    border-radius: 5px;
    object-fit: cover;
    transition: transform .35s ease;
}

.dt-student-feature__hero:hover,
.dt-student-feature__aside-item:hover,
.dt-student-feature__card:hover {
    transform: translateY(-5px);
}

.dt-student-feature__hero a:hover,
.dt-student-feature__aside-item a:hover,
.dt-student-feature__card a:hover,
.dt-student-feature__hero a:focus-visible,
.dt-student-feature__aside-item a:focus-visible,
.dt-student-feature__card a:focus-visible {
    background: #f7fbff;
    box-shadow: 0 10px 24px rgba(9, 45, 145, .16);
}

    .dt-student-feature__hero a:hover img,
    .dt-student-feature__hero a:focus-visible img,
    .dt-student-feature__card a:hover img,
    .dt-student-feature__card a:focus-visible img {
        transform: scale(1.045);
    }

    .dt-student-feature__aside-item a:hover img,
    .dt-student-feature__aside-item a:focus-visible img {
        transform: scale(1.04);
    }

    .dt-student-feature__hero a:hover strong,
    .dt-student-feature__aside-item a:hover strong,
    .dt-student-feature__card a:hover strong,
    .dt-student-feature__hero a:focus-visible strong,
    .dt-student-feature__aside-item a:focus-visible strong,
    .dt-student-feature__card a:focus-visible strong {
        color: #e72229;
        transform: translateX(3px);
    }

.dt-student-feature__hero a:focus-visible,
.dt-student-feature__aside-item a:focus-visible,
.dt-student-feature__card a:focus-visible,
.dt-student-feature__link:focus-visible {
    outline: 3px solid rgba(36, 174, 245, .4);
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .dt-student-feature__container {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 18px;
    }

    .dt-student-feature__main {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    }

    .dt-student-feature__hero img {
        height: 260px;
    }

    .dt-student-feature__cards {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .dt-student-feature {
        padding-bottom: 28px;
        padding-top: 20px;
    }

    .dt-student-feature__card:nth-child(3) {
        display: none;
    }

    .dt-student-feature__container {
        display: flex;
        flex-direction: column;
        width: calc(100% - 32px);
        gap: 5px;
    }

    .dt-student-feature__links {
        order: 2;
        margin-top: 18px;
    }

    .dt-student-feature__link:nth-child(3),
    .dt-student-feature__link:nth-child(4), .dt-student-feature__link:nth-child(5) {
        display: none;
    }

    .dt-student-feature__links-heading h2 {
        font-size: 18px;
        line-height: 1.5;
    }

    .dt-student-feature__links-list {
        padding: 8px;
    }

    .dt-student-feature__content {
        order: 1;
    }

    .dt-student-feature__links-heading {
        min-height: 50px;
    }

    .dt-student-feature__heading,
    .dt-student-feature__heading h2 {
        height: 60px;
    }

        .dt-student-feature__heading h2 {
            font-size: 16px;
            padding-left: 56px;
        }

    .dt-student-feature__heading-mark {
        top: 6px;
        width: 48px;
        height: 48px;
    }

    .dt-student-feature__heading > a {
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }

    .dt-student-feature__main,
    .dt-student-feature__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dt-student-feature__main {
        display: block;
    }

    .dt-student-feature__hero strong {
        font-size: 16px;
    }

    .dt-student-feature__hero img {
        height: min(336px, 62vw);
    }

    .dt-student-feature__aside {
        margin-top: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dt-student-feature__aside-item:nth-child(2) img {
        display: block;
    }

    .dt-student-feature__cards {
        gap: 18px;
        margin-top: 18px;
    }

    .dt-student-feature__card img {
        height: 133px;
    }

    .dt-student-feature__aside-item strong,
    .dt-student-feature__card strong {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dt-student-feature__link,
    .dt-student-feature__hero,
    .dt-student-feature__aside-item,
    .dt-student-feature__card,
    .dt-student-feature__hero a,
    .dt-student-feature__aside-item a,
    .dt-student-feature__card a,
    .dt-student-feature__heading > a,
    .dt-student-feature__heading > a::before,
    .dt-student-feature__heading > a span,
    .dt-student-feature__hero img,
    .dt-student-feature__aside-item img,
    .dt-student-feature__card img,
    .dt-student-feature__hero strong,
    .dt-student-feature__aside-item strong,
    .dt-student-feature__card strong {
        transition: none;
    }

        .dt-student-feature__hero:hover,
        .dt-student-feature__aside-item:hover,
        .dt-student-feature__card:hover {
            transform: none;
        }
}