/*
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.   ***************/
.tj {text-align: justify;}
.icon_after::after{
    content: "";
    background-image: url(http://annhienpetshop.com/wp-content/uploads/2025/10/icon-shop-thu-cung.png);
    background-size: 40px 40px;
    display: inline-block;
    width: 40px;
    height: 35px;
}

/*  CAT-BRAND-WOO */
.h1_cat_brand{text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    color: rgb(255, 134, 98);}

.term-bottom-description.container{text-align: justify;}
.term-bottom-description.container ul{padding-left:35px;}
.term-bottom-description.container ul li ul{padding-left: unset;}
.term-bottom-description.container ul li ol{padding-left: unset;}

.term-bottom-description.container ol{padding-left:35px;}
.term-bottom-description.container ol li ul{padding-left: unset;}
.term-bottom-description.container ol li ol{padding-left: unset;}

/*  SANPHAM-CHITIET */
.tab-panels {text-align: justify;}

.tab-panels ul{padding-left:25px;}
.tab-panels ul li ul{margin-left: -5px;}
.tab-panels ul li ol{margin-left: -5px;}

.tab-panels ol{padding-left:25px;}
.tab-panels ol li ul{margin-left: -5px;}
.tab-panels ol li ol{margin-left: -5px;}

/* ============================================== */
/* CSS cho Author Page - Phiên bản 2 (Flatsome) */
/* ============================================== */

/* 1. Thiết lập Banner Xanh Dương */
.author-info-banner {
    background-color: rgb(255, 134, 98) !important; /* Màu xanh dương */
    color: white; 
    padding: 30px 40px !important; /* Khoảng đệm bên trong */
    margin-bottom: 30px; /* Khoảng cách với bài viết bên dưới */
    border-radius: 5px;
    
    /* Ghi đè style Flatsome nếu cần */
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* 2. Cấu trúc Flexbox cho Nội dung */
.author-info-banner .author-content-flex {
    display: flex; /* Bật flexbox */
    align-items: flex-start; /* Căn trên cùng */
    gap: 30px; /* Khoảng cách giữa văn bản và ảnh */
}

.author-info-banner .author-main-info {
    flex-grow: 1; /* Cho phép phần văn bản chiếm hết không gian còn lại */
}

.author-info-banner .author-avatar-wrap {
    flex-shrink: 0; /* Ngăn ảnh bị co lại */
    position: relative; /* Dùng để định vị icon xã hội */
    padding-top: 10px; /* Điều chỉnh vị trí ảnh */
}

/* 3. Ảnh đại diện (Hình tròn) */
.author-photo {
    /* Loại bỏ float và padding mặc định không cần thiết nữa */
    float: none !important;
    text-align: right;
    padding: 0 !important;
    margin: 0 !important;
}

.author-photo img.avatar {
    width: 120px; /* Kích thước ảnh (nhỏ hơn một chút cho cân đối) */
    height: 120px;
    border-radius: 50%; 
    border: 5px solid rgba(255, 255, 255, 0.5); /* Viền trắng mờ */
    margin-top: 0 !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Tạo chiều sâu nhẹ */
}

/* 4. Tên Tác Giả */
.author-info-banner h1.author-name-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
    /* text-transform: none !important;  Bỏ chữ HOA */
    text-align: left !important;
    color: white !important;
}

/* 5. Chức danh (Expert Title) */
.author-expert-title {
    font-size: 18px;
    font-style: italic;
    opacity: 0.8; 
    margin-bottom: 15px;
}

/* 6. Phần Giới thiệu Chi tiết (Bio) */
.author-bio-detail{text-align:justify;}
.author-bio-detail p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 7. Điều chỉnh Breadcrumb (Nằm ngoài vùng xanh) */
.author-breadcrumb {
    padding-left: 0 !important; /* Căn sát lề trái */
    margin-bottom: 15px;
}
.author-breadcrumb .rank-math-breadcrumb {
    /* Đảm bảo màu chữ bình thường trên nền trắng */
    color: #444; 
}
.author-breadcrumb .rank-math-breadcrumb a {
    color: #1e73be; /* Màu link */
}

.author-main-info nav.rank-math-breadcrumb p a{color: white;}

/* ============================================== */
/* Điều chỉnh cho Màn hình nhỏ (Responsive) */
/* ============================================== */
@media (max-width: 768px) {
    .author-info-banner .author-content-flex {
        flex-direction: column; /* Xếp chồng ảnh và văn bản */
        align-items: center; /* Căn giữa */
        text-align: center;
    }
    
    .author-info-banner {
        padding: 30px 20px !important;
    }

    .author-info-banner .author-main-info {
        order: 2; /* Đẩy nội dung xuống dưới ảnh */
        text-align: center;
    }
    
    .author-info-banner .author-avatar-wrap {
        order: 1; /* Đẩy ảnh lên trên nội dung */
        padding-top: 0;
        margin-bottom: 10px;
    }

    .author-info-banner h1.author-name-title,
    .author-expert-title {
        text-align: center !important;
    }
}

/*  FOOTER */
.footer-2 {
    background-color: rgb(236 125 93);
}

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


}