/* ===================================================================
   TK Construction — Responsive
   Nạp SAU CÙNG. Ưu tiên class grid của Bootstrap; file này chỉ bù
   những chỗ Bootstrap không xử lý được.
   =================================================================== */

/* ---------------------------------------------- <= 1199px --------- */
@media (max-width: 1199.98px) {
    .topbar-company { font-size: .9375rem; }
    .topbar-item { padding: 0 10px; font-size: .8125rem; }
    .header-topbar-inner, .header-navbar-inner { padding-left: 200px; }
    .header-brand { transform: scale(.86); transform-origin: left top; }
    .main-nav > .menu-item > a { padding: 0 7px; font-size: .9375rem; }
}

/* ---------------------------------------------- <= 991px ---------- */
@media (max-width: 991.98px) {
    :root { --header-h: var(--header-h-sm); --topbar-h: 0px; }

    .site-header { top: 0; box-shadow: var(--shadow-sm); }
    .header-navbar-inner { padding-left: 0; height: var(--header-h-sm); }
    .header-brand,
    .site-header.is-stuck .header-brand {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        transform: none;
        display: flex;
        align-items: center;
    }
    .header-brand::before { display: none; }
    .navbar-brand img,
    .site-header.is-stuck .navbar-brand img {width: auto;height: 55px;}
    .header-nav { flex: 0 0 auto; }
    .header-tools { margin-left: auto; }
    .header-search .search-box { max-width: none; }

    .sticky-sidebar { position: static; }
    .footer-brand { max-width: none; text-align: left; }
}

/* ---------------------------------------------- <= 767px ---------- */
@media (max-width: 767.98px) {
    .section {padding: 40px 0;}
    .section-head-row { align-items: center; }
    .view-all { font-size: 1rem; }
    .news-card-title { font-size: 1.1875rem; }
    .chip-tabs.js-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }
    .chip-tabs.js-tabs .chip-tab {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 6px 5px;
        white-space: normal;
        font-size: .8125rem;
        line-height: 1.25;
    }
    .copyright { justify-content: center; text-align: center; font-size: .8125rem; }
    .search-box { flex-wrap: wrap; padding-left: 40px; }
    .product-card-title { font-size: .9375rem; }
    .product-card-foot { font-size: .8125rem; }
    .product-card-cat i { display: none; }
    .product-card-location { max-width: 62%; }
}

/* ---------------------------------------------- <= 575px ---------- */
@media (max-width: 575.98px) {
    .container {padding: 0 15px;}
    .product-grid { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
    .product-card-body {padding: 12px 10px 0;}
    .product-card-foot { align-items: flex-start; gap: 2px; }
    .sidebar-box, .content-card {padding: 15px;}
    .lang-switch-item { padding: 2px 7px; }
    .about-title{
    }
    .btn-lg{
        padding: 10px 20px;
    }
    .hotline-badge-text strong{
    font-size: 18px;
    font-weight: 700;
    }
    .interior-tile-title{
    font-size: 16px;
    }
    .about-split h2{
    font-size: 24px;
    margin-top: 0 !IMPORTANT;
    }
    .section-dark .section-title{
    font-size: 24px;
    }
.commit-card p{font-size: 14px;}
.commit-card{padding: 15px;}
.project-card-title{font-size: 24px;}
}

/* ---------------------------------------------- In ấn ------------- */
@media print {
    .site-header, .site-footer, .float-cta, .mobile-cta, .sticky-sidebar,
    .cta-band, .swiper-button-prev, .swiper-button-next { display: none !important; }
    body { color: #000; }
}
.interior-tile-location{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 12px;
}
.interior-tile-title{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.offcanvas-lg{width: 400px !important;max-width: 95%;}
.view-all{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 15px;
    border: 0;
    border-radius: var(--radius);
    background: var(--g-accent);
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: filter var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    border-radius: 30px;
}
.nav-address{
    display: none;
}
.project-detail-page{
    padding-bottom: 30px;
}
.footer-contact .footer-company:nth-child(1){
    font-size: 15px;
    text-transform: uppercase;
}
@media (max-width: 400px) {
    .section-dark .kicker{
        font-size: 14px;
    }
    .offcanvas-body{
        padding-bottom: 60px;
    }
    .nav-address{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .site-nav-shell .main-nav > .menu-item > a{
        font-weight: 800;
        color: #003a68;
    }
    .site-nav-shell .main-nav .submenu a{
        font-size: 16px;
        color: #004a83;
    }
    .site-nav-shell .main-nav .submenu a:hover{
    }
    .site-nav-shell .main-nav .submenu a:before{
        content:"\f105";
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        font-weight: 600;
        margin-right: 10px;
        font-size: 14px;
    }
    .mobile-menu-logo img{
        height: 135px;
    }
    .site-nav-shell .offcanvas-header{
        padding: 5px 15px;
    }
    .navbar-brand img, .site-header.is-stuck .navbar-brand img{
        height: 100px;
    }
    .header-navbar-inner{
        height: 110px;
    }
    .interior-tile-overlay{
        padding: 10px;
    }
    .kicker{
        font-size: 16px;
    }
    .section-title{
        font-size: 20px;
        font-weight: 700;
    }
    .product-card-title a{
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .commit-title{
        font-size: 16px;
    }
    .commit-desc{
        font-size: 13px;
    }
    .service-label{
        font-size:14px
    }
    .news-card-title{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: 600;
        font-size: 20px;
    }
    .news-card{
        margin-bottom: 30px;
    }
    .home-news{
        padding-top: 0;
    }
    .copyright{
        font-size: 12px;
    }
    .header-search .search-box{
        border-radius: 30px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 5px;
    }
    .btn-main.search-submit{
        font-size: 14px;
        padding: 7px 15px;
    }
    .nav-actions .btn-main, .nav-actions .btn-ghost{
        font-size: 13px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .nav-address{
        display: block;
    }
    .contact-form-card{
        padding: 15px;
    }
    .contact-form-heading{
        font-size: 20px;
        font-family: var(--font-base);
    }
    .content-card-title{
        font-size: 28px;
    }
    .project-detail-title{
        font-size: 24px;
    }
    .header-brand a{
        position: relative;
        top: 25px;
        position: absolute;
        left: -50px;
        top: 0;
        z-index: 3;
        width: 309px;
        height: 167px;
        padding: 9px 0 0 60px;
        background: url(../images/tk/bg-logo.svg) left top / 246px 100px no-repeat;
        pointer-events: none;
        transition: opacity var(--t-fast);
    }
}
@media (max-width: 575.98px) {
    .project-detail-title{
        font-size: 24px;
    }
    .nav-address{
        display: block;
    }
    .section-dark .kicker{
        font-size: 14px;
    }
    .offcanvas-body{
        padding-bottom: 60px;
    }
    .nav-address{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .site-nav-shell .main-nav > .menu-item > a{
        font-weight: 800;
        color: #003a68;
    }
    .site-nav-shell .main-nav .submenu a{
        font-size: 16px;
        color: #004a83;
    }
    .site-nav-shell .main-nav .submenu a:hover{
    }
    .site-nav-shell .main-nav .submenu a:before{
        content:"\f105";
        font-family: "Font Awesome 6 Free";
        display: inline-block;
        font-weight: 600;
        margin-right: 10px;
        font-size: 14px;
    }
    .mobile-menu-logo img{
        height: 100px;
    }
    .site-nav-shell .offcanvas-header{
        padding: 5px 15px;
    }
    .navbar-brand img, .site-header.is-stuck .navbar-brand img{
        height: 70px;
    }
    .header-navbar-inner{
        height: 60px;
    }
    .interior-tile-overlay{
        padding: 10px;
    }
    .kicker{
        font-size: 16px;
    }
    .section-title{
        font-size: 20px;
        font-weight: 700;
    }
    .product-card-title a{
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .commit-title{
        font-size: 16px;
    }
    .commit-desc{
        font-size: 13px;
    }
    .service-label{
        font-size:14px
    }
    .news-card-title{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: 600;
        font-size: 22px;
    }
    .news-card{
        margin-bottom: 30px;
    }
    .home-news{
        padding-top: 0;
    }
    .copyright{
        font-size: 12px;
    }
    .header-search .search-box{
        border-radius: 30px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 5px;
    }
    .btn-main.search-submit{
        font-size: 14px;
        padding: 7px 15px;
    }
    .nav-actions{
        display:flex;
        flex-direction: row;
        justify-content: center;
    }
    .nav-address{
        display: block;
        width: 100%;
    }
    .nav-actions .btn-main, .nav-actions .btn-ghost{
        font-size: 13px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .content-card-title{
        font-size: 28px;
    }
    .header-brand a{
        position: relative;
        top: 25px;
        position: absolute;
        left: -50px;
        top: 0;
        z-index: 3;
        width: 309px;
        height: 167px;
        padding: 9px 0 0 60px;
        background: url(../images/tk/bg-logo.svg) left top / 246px 100px no-repeat;
        pointer-events: none;
        transition: opacity var(--t-fast);
    }
    .header-tool.mobile-menu-btn{

    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .nav-address{
        display: none;
    }
}
@media (min-width: 992px) and (max-width: 1024px) {
    .nav-address{
        display: none;
    }
}
@media (min-width: 1025px) and (max-width: 1199.98px) {
    .nav-address{
        display: none;
    }
}
