/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


/* --- XÓA ĐƯỜNG KẺ BẢNG --- */
.tong-quan-du-an-sh {
    margin-top: 10px;
    padding-top: 10px;
    /* Không có border-top ở div cha */
}
.tong-quan-du-an-sh table.no-border-table, 
.tong-quan-du-an-sh table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.tong-quan-du-an-sh tr, 
.tong-quan-du-an-sh td {
    border: none !important; /* Xóa kẻ ngang */
    border-bottom: none !important;
}
.tong-quan-du-an-sh td {
    padding: 7px 0; /* Thu gọn khoảng cách dòng */
    vertical-align: top;
    line-height: 1.3;
}

/* --- STYLE CHUNG --- */
/* Cột Tiêu đề */
.tieu-de-sh {
    width: 40%;
    font-weight: 600;
    color: #555;
    white-space: nowrap; /* Không xuống dòng tiêu đề */
}
.tieu-de-sh i {
    color: #b77830; 
    width: 18px; 
    text-align: center;
    margin-right: 3px;
}
/* Cột Thông tin */
.thong-tin-trai-sh {
    color: #333;
    padding-left: 5px;
}

/* Hiệu ứng hover ảnh */
.portfolio-box.has-hover:hover .box-image img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}
.box-image {
    overflow: hidden;
    position: relative;
    border-radius: 6px;
}
.box-image img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0;
    transition: transform 0.5s ease;
}

/* --- TỐI ƯU CHO MOBILE (Màn hình < 550px) --- */
@media (max-width: 550px) {
    /* 1. Menu Lọc cuộn ngang (giống Shopee/Instagram) */
    ul.mobile-scroll-nav {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Cuộn mượt trên iOS */
        padding-bottom: 5px;
        justify-content: flex-start !important; /* Căn trái để cuộn */
    }
    ul.mobile-scroll-nav li {
        flex: 0 0 auto; /* Không co giãn */
        margin-right: 10px;
    }
    /* Ẩn thanh cuộn xấu xí */
    ul.mobile-scroll-nav::-webkit-scrollbar {
        display: none; 
    }

    /* 2. Tinh chỉnh nội dung Card */
    .box-text {
        padding: 10px !important; /* Giảm padding trên mobile */
    }
    .portfolio-box-title {
        font-size: 14px; /* Chữ tiêu đề vừa phải */
    }
    .tieu-de-sh, .thong-tin-trai-sh {
        font-size: 12px; /* Chữ thông số nhỏ gọn */
    }
}