/* Shared Vietnamese and English labels for the Hàm Đức site. */

.hm-en {
    display: block;
    margin-top: 3px;
    font-family: 'Inter_24pt-Regular', Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.28;
    letter-spacing: .01em;
    text-transform: none;
}

.dt-footer-figma .hm-en {
    color: inherit;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .01em;
    text-transform: none;
}

.dt-footer-figma h2 .hm-en,
.dt-footer-figma h3 .hm-en {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.dt-footer-figma__contact li > span > .hm-en,
.dt-footer-figma__contact li > a > .hm-en,
.dt-footer-figma__nav a > .hm-en,
.dt-footer-figma__copyright .hm-en,
.dt-footer-figma__meta > span > .hm-en,
.dt-footer-figma__connect-empty .hm-en,
.dt-footer-figma__brand p .hm-en {
    margin-top: 3px;
}

.dt-footer-figma__nav a > .hm-en {
    opacity: .86;
}

.dt-footer-figma__counters > span > span > .hm-en {
    margin-top: 0;
    font-size: 10px;
}

@media (max-width: 767px) {
    .hm-header-authority {
        max-width: calc(100vw - 120px);
    }

        .hm-header-authority > strong {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .hm-header-authority .hm-en {
            font-size: 10px;
            line-height: 1.15;
        }

    .hm-header-school-en {
        margin-top: 1px;
        font-size: 11px;
        line-height: 1.2;
    }
}

.hm-header-authority {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

    .hm-header-authority .hm-en {
        margin: 0;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.2;
    }

.hm-header-school-en {
    margin-top: -6px;
    color: #17416f;
    font-size: 14px;
    font-family: 'Inter_24pt-SemiBold' !important;
}

@media (max-width: 767px) {
    .hm-header-school-en {
        margin-top: 2px;
        font-size: 12px;
        line-height: 1.2;
    }

    .dt-header__school h1 {
        display: flex;
        align-items: baseline;
        gap: 3px;
        font-size: clamp(13px, 3.8vw, 15px);
        line-height: 1.6;
        white-space: nowrap;
    }

        .dt-header__school h1 strong {
            display: inline;
            margin: 0;
            font-size: inherit;
            line-height: inherit;
        }
}

@media (max-width: 375px) {
    .dt-header__school h1 {
        font-size: clamp(14px, 3.5vw, 14px);
    }
}

.dt-header__school h1 {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

    .dt-header__school h1 strong {
        display: inline;
        margin: 0;
        font-size: inherit;
        line-height: inherit;
    }

.dt-about-figma__copy h2 .hm-about-school-en {
    margin-top: 3px;
    color: #31578b;
    font-size: 18px;
    line-height: 1.3;
    font-family: 'Inter_24pt-SemiBold' !important;
}

@media (max-width: 599px) {
    .dt-about-figma__copy h2 .hm-about-school-en {
        font-size: 12.5px;
    }
}

.dt-quick-link__copy .hm-en {
    margin-top: 2px;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.2;
}

.dt-about-figma__stat-copy > .hm-en,
.dt-about-figma__stat-copy small .hm-en,
.dt-about-figma__stat-copy strong .hm-en {
    color: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

.dt-about-figma__stat-copy strong .hm-en {
    margin-bottom: 9px;
}

.dt-about-figma__campus-heading .hm-en {
    color: inherit;
    font-size: 17px;
    font-weight: 500;
    margin-top: -1px;
}

.dt-about-figma__campus-heading {
    flex-direction: column;
}

.dt-about-figma__campus h3 .hm-en {
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: -2px !important;
    font-family: 'Inter_24pt-SemiBold' !important;
}

.dt-about-figma__campus h3 {
    height: 56px;
    padding: 11px 8px 0;
    font-size: 14px;
    line-height: 1.2;
    white-space: normal;
}

.dt-about-figma__campus-image-wrap {
    top: 56px;
    height: 110px;
}

.dt-news-events__notices h2 > span:last-child .hm-en {
    margin-top: -5px;
    color: inherit;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter_24pt-SemiBold' !important;
}

.dt-news-events__heading .htk-section-title .hm-en {
    color: inherit;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    font-family: 'Inter_24pt-SemiBold' !important;
}

.dt-education__heading h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    height: auto;
    min-height: 72px;
}

    .dt-education__heading h2 .dt-education__heading-mark {
        position: absolute;
    }

    .dt-education__heading h2 .hm-en {
        color: #31578b;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2;
        font-family: 'Inter_24pt-SemiBold' !important;
    }

.dt-education__tab .hm-en {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

.dt-student-feature__links-heading h2 .hm-en {
    margin-top: -1px;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.15;
    font-weight: 500;
    font-family: 'Inter_24pt-SemiBold' !important;
}

.dt-student-feature__heading h2 {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    height: auto;
    min-height: 72px;
}

    .dt-student-feature__heading h2 .hm-en {
        color: #31578b;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.15;
        font-family: 'Inter_24pt-SemiBold' !important;
    }

.dt-gallery-figma__heading h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

    .dt-gallery-figma__heading h2 .hm-en {
        color: #31578b;
        font-size: 17px;
        font-weight: 500;
        line-height: 1.2;
        font-family: 'Inter_24pt-SemiBold' !important;
    }

.dt-footer-figma__connect h3 .hm-en {
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.hm-youth {
    margin: 20px auto 30px;
    padding: 0 16px;
    display: none;
}

.hm-youth__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 32px;
    align-items: center;
    max-width: 1206px;
    margin: 0 auto;
    padding: 30px 36px;
    overflow: hidden;
    border: 1px solid #d4e7f5;
    border-radius: 18px;
    background: linear-gradient(125deg, #f1f8ff 0%, #fff 58%, #fff8df 100%);
    box-shadow: 0 10px 28px rgba(21, 71, 126, .08);
}

.hm-youth__identity,
.hm-youth__values > div {
    min-width: 0;
}

.hm-youth__eyebrow {
    display: block;
    color: #0d408c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.3;
}

.hm-youth__identity > .hm-en {
    margin-top: 4px;
    color: #58708b;
    font-size: 12px;
    line-height: 1.35;
}

.hm-youth__identity h2 {
    margin: 15px 0 0;
    color: #183d64;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.hm-youth__identity p.hm-en {
    margin: 5px 0 0;
    color: #617489;
    font-size: 14px;
    line-height: 1.45;
}

.hm-youth__values {
    display: grid;
    gap: 12px;
}

    .hm-youth__values > div {
        padding: 14px 18px;
        border-left: 4px solid #f0bb35;
        border-radius: 0 10px 10px 0;
        background: rgba(255, 255, 255, .82);
    }

    .hm-youth__values strong {
        display: block;
        color: #0d408c;
        font-size: 14px;
        line-height: 1.35;
    }

    .hm-youth__values .hm-en {
        margin-top: 4px;
        color: #58708b;
        font-size: 12px;
        line-height: 1.3;
    }

@media (max-width: 1199px) {
    .dt-quick-link__copy .hm-en {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .dt-about-figma__stats {
        position: relative;
        top: auto;
        left: auto;
        display: grid !important;
        grid-template-columns: 120px 145px 1fr;
        gap: 6px;
        width: 100%;
        height: auto;
        margin-top: 18px;
    }

    .dt-about-figma__stat {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: auto;
        min-width: 0;
    }

    .dt-about-figma__stat-icon {
        flex: 0 0 37px;
        width: 37px;
        height: 37px;
    }

    .dt-about-figma__stat-copy {
        font-size: 14px;
        line-height: 1.2;
    }

        .dt-about-figma__stat-copy strong {
            font-size: 12px;
        }

            .dt-about-figma__stat-copy > .hm-en,
            .dt-about-figma__stat-copy small .hm-en,
            .dt-about-figma__stat-copy strong .hm-en {
                font-size: 12px;
            }

        .dt-about-figma__stat-copy > .hm-en {
        }

        .dt-about-figma__stat-copy small .hm-en {
            margin-top: -2px;
        }

        .dt-about-figma__stat-copy small {
            line-height: 1.8;
        }

    .dt-about-figma__campus-heading {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 44px;
        padding: 5px 16px;
        line-height: 1.2;
    }

        .dt-about-figma__campus-heading .hm-en {
            font-size: 14px;
        }

    .dt-about-figma__campus h3 {
        height: 56px;
        padding-top: 10px;
        font-size: 14px;
    }

    .dt-about-figma__campus-image-wrap {
        top: 56px;
        height: 110px;
    }

    .hm-youth {
        margin: 10px auto 22px;
        padding: 0 16px;
    }

    .hm-youth__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
        border-radius: 14px;
    }

    .hm-youth__eyebrow {
        font-size: 12px;
    }

    .hm-youth__identity > .hm-en {
        font-size: 11px;
    }

    .hm-youth__identity h2 {
        margin-top: 11px;
        font-size: 16px;
    }

    .hm-youth__identity p.hm-en {
        font-size: 13px;
    }

    .hm-youth__values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

        .hm-youth__values > div {
            padding: 11px 10px;
        }

        .hm-youth__values strong {
            font-size: 11px;
        }

        .hm-youth__values .hm-en {
            font-size: 11px;
        }

    .dt-education__heading h2,
    .dt-student-feature__heading h2 {
        min-height: 58px;
    }

        .dt-education__heading h2 .hm-en,
        .dt-gallery-figma__heading h2 .hm-en {
            font-size: 11px;
        }

        .dt-student-feature__heading h2 .hm-en {
            font-size: 11px;
        }

    .dt-news-events__heading .htk-section-title .hm-en {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .hm-youth__inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hm-youth__values {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-youth *,
    .hm-youth *::before,
    .hm-youth *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}