/* Shared English labels in the Hàm Đức site header and footer. */

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

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

    .hm-header-authority .hm-en {
        margin: 0;
        font-size: 13px;
        line-height: 1.2;
        margin-top: -5px;
        font-family: 'BalooDa2-Medium' !important;
    }

.hm-header-school-en {
    display: block;
    margin-top: -6px;
    color: #083477;
    font-size: 19px;
    font-family: 'BalooDa2-SemiBold' !important;
}

.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: 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    font-family: 'Inter_24pt-SemiBold' !important;
    padding-bottom: 6px;
}

.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;
    display: none;
}

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

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

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

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

        .hm-header-authority .hm-en {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 13px;
            line-height: 1.15;
        }

    .hm-header-school-en {
        max-width: 100%;
        overflow: hidden;
        margin-top: 1px;
        font-size: 14px;
        line-height: 1.2;
        text-overflow: ellipsis;
    }
}