/*
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.   ***************/
/* CSS cho bố cục đồng đều */
.page-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
}

.page-thumbnail {
    margin-bottom: 15px;
}

.page-thumbnail img {
    max-width: 100%; /* Đảm bảo hình ảnh không bị lệch và có thể co giãn theo chiều rộng */
    height: auto; /* Đảm bảo tỉ lệ của ảnh được giữ nguyên */
}

/*.page-excerpt h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}*/

.page-excerpt h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Hiển thị dấu "..." khi quá dài */
}

.page-excerpt p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Hiển thị dấu "..." khi quá dài */
}

/* Khi hover, hình ảnh icon dich vu sẽ lật 180 độ */
.custom-icon-box:hover .icon-box-img img{
    transform: rotateY(180deg);
}

/* Khi hover, hình ảnh gioi thieu sẽ lật 180 độ 
.custom-img-gt:hover img{
	transform: scale(1.2);
}*/
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}