@media (max-width: 1399px) {
    span.user-display-name {
        max-width: 80px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 1199px) {
    .navbar-nav .nav-link {
        font-size: 13px;
    }

    .navbar-expand-lg .navbar-nav {
        gap: 2px !important;
    }

    .navbar-nav .nav-link i.me-1 {
        margin-right: 2px !important;
    }

    .nav-register,
    a.nav-link.nav-register,
    .navbar-nav .nav-register {
        padding: 0 10px !important;
        height: 38px;
    }

    span.user-display-name {
        width: 65px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    span.user-display-name {
        width: 100% !important;
    }

    .feature-item {
        justify-content: center;
    }

    .d-flex.gap-3.flex-wrap.button-hero {
        display: flex;
        justify-content: center;
    }

    .nav-login {
        margin-left: 0;
    }

    .navbar-expand-lg .navbar-nav {
        gap: 10px !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 33px;
    }

    .hero-title {
        font-size: 33px;
    }

    .feature-item {
        font-size: 13px;
        justify-content: left;
    }

    .section-title {
        font-size: 25px;
        margin-bottom: 7px;
    }

    .legal-page {
        padding: 30px 0 !important;
    }

    h1.course-hero-title {
        font-size: 30px !important;
    }

    .course-status-notice.mb-4.fade-up.visible {
        margin-top: 20px;
    }

    .course-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-detail-section {
        padding-top: 15px !important;
        border-radius: 10px !important;
    }

    .course-info-card {
        border-radius: 10px;
        padding: 15px;
    }

    .knowledge-card {
        border-radius: 10px;
        padding: 15px;
    }

    .req-box {
        border-radius: 10px;
        padding: 15px;
    }

    .course-description-seo {
        border-radius: 10px;
        padding: 15px;
    }

    .product-gallery {
        margin-top: 20px;
    }

    .mt-4.p-3.rounded.text-center.position-relative.overflow-hidden {
        display: none;
    }

    .floating-cta-left {
        display: none;
    }

    .legal-content-wrap {
        gap: 0 !important;
        margin-top: 0px !important;
    }

    .legal-main {
        padding: 10px;
    }

    .section-header .divider {
        margin-top: 5px;
    }

    .section-subtitle {
        margin-bottom: 15px;
    }

    .section-header {
        margin-bottom: 15px;
    }

    .products-filter.fade-up.visible {
        gap: 5px;
        justify-content: center;
    }

    h5.footer-heading {
        margin-top: 20px;
    }

    #back-to-top.show {
        right: 26px;
    }

    .about-experience-card {
        right: 10px !important;
    }

    h1.tkw-hero-title {
        text-align: center;
    }

    p.tkw-hero-desc {
        text-align: center;
    }

    .page-template-page-thiet-ke-web .badge-ai {
        margin: 0 auto;
        display: block !important;
        text-align: center;
        margin-bottom: 10px;
        background: none !important;
        border: 0 !important;
    }

    .tkw-hero-btns {
        display: flex;
        justify-content: center;
    }

    .tkw-hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

    section.tkw-hero {
        padding: 30px 0 !important;
    }

    section#tkw-wizard {
        padding: 30px 0 !important;
    }

    h2.section-title {
        font-size: 23px;
    }

    .tkw-features {
        padding: 30px 0 !important;
    }

    .blog-detail-section .col-lg-4 .knowledge-card {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }
}