/* mobile.css – Giao dien mobile trang chu (2026-11-08). Chi tac dong man hinh < 768px. */
@media (max-width:767px){
/* 1. Dich vu thue xe: 2 xe / dong */
.row:has(> .col-md-4 .h3-product){margin-left:-6px;margin-right:-6px}
.col-md-4:has(.h3-product){flex:0 0 50%;max-width:50%;padding-left:6px;padding-right:6px;margin-bottom:12px!important}
.col-md-4:has(.h3-product) .overflow-hidden{border-radius:12px 12px 0 0}
.col-md-4:has(.h3-product) .img-product{aspect-ratio:4/3;object-fit:cover;height:auto!important}
.col-md-4:has(.h3-product) .product-info{padding:8px 8px 10px!important}
.h3-product{font-size:14.5px!important;line-height:1.3!important;min-height:2.6em;margin:2px 0 8px!important;display:flex;align-items:center;justify-content:center}
.col-md-4:has(.h3-product) .btn-book{font-size:13px!important;padding:6px 4px!important;border-radius:999px!important}
/* 2. Cam nang: the ngang */
.col-md-4:has(.news-home-item){margin-bottom:14px!important}
.news-home-item{display:grid;grid-template-columns:118px 1fr;column-gap:12px;align-items:start;background:#fff;border:1px solid #eee;border-radius:12px;padding:8px}
.news-home-item .img-page{grid-row:span 3;margin:0!important;border-radius:8px;height:auto!important;min-height:0!important}
.news-home-item .img-page img{width:100%;aspect-ratio:1/1;object-fit:cover;height:auto!important}
.news-name-home{font-size:15px!important;line-height:1.35!important;margin:0 0 4px!important}
.intro-news-home p{font-size:13px;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* 3. Hai nut Hotline / Bao gia tren 1 dong */
.flex-column:has(> .btn-book){flex-direction:row!important;gap:8px;padding:0 4px}
.flex-column:has(> .btn-book){align-items:stretch!important}
.flex-column:has(> .btn-book) > .btn-book{flex:1 1 0;margin:0!important;padding:10px 8px!important;font-size:14px!important;line-height:1.35;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;box-shadow:0 4px 10px rgba(0,0,0,.12)!important}
.flex-column:has(> .btn-book) > .btn-book .fa{font-size:18px;margin:0}
}
/* Link "Xem chi tiet" tren the cam nang (moi kich thuoc man hinh) */
.news-home-item .news-more{display:inline-block;margin-top:8px;font-weight:600;font-size:15px;color:#0b6cff;text-decoration:none}
.news-home-item .news-more:hover{text-decoration:underline}
@media (max-width:767px){.news-home-item .news-more{margin-top:4px;font-size:13.5px}}
/* Dong gioi thieu duoi banner trang chu (moi kich thuoc man hinh) */
.menu-nav-2{background:linear-gradient(90deg,#0a4fbf,#0b6cff)!important;color:#fff!important;padding:14px 0!important;text-align:center;font-size:17px!important;line-height:1.55;box-shadow:0 4px 14px rgba(11,108,255,.18)}
.menu-nav-2 .container{padding-left:16px;padding-right:16px}
.menu-nav-2 strong{color:#ffd54a;font-weight:700;white-space:nowrap}
@media (max-width:767px){.menu-nav-2{font-size:14.5px!important;padding:12px 0!important;line-height:1.5}.menu-nav-2 strong{white-space:normal}}
/* Khung tieu de trang chu: moi dong nam tren 1 hang tren dien thoai */
@media (max-width:767px){
.section-heading{padding:16px 8px!important;margin-bottom:20px!important}
.section-heading .heading-main{font-size:clamp(15px,6.1vw,26px)!important;white-space:nowrap;margin-bottom:6px!important;letter-spacing:0}
.section-heading .heading-sub{font-size:clamp(11.5px,4.4vw,18px)!important;white-space:nowrap}
}