/*
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.   ***************/

nav.rank-math-breadcrumb {
    text-align: left;
}

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


}

/* Sticky Sidebar */
.post-sidebar {
    position: sticky;
    top: 150px;
    height: fit-content;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

/* Style cho widget area */
.post-sidebar .widget-area {
    background: #fff;
}

/* Style cho tiêu đề */
.post-sidebar .h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* Style cho danh sách bài viết */
.post-sidebar .post-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.post-sidebar .post-item:last-child {
    border-bottom: none;
}

.post-sidebar .box-image {
    margin-bottom: 10px;
}

.post-sidebar .post-title {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.post-sidebar .post-title a {
    color: #333;
    text-decoration: none;
}

.post-sidebar .post-title a:hover {
    color: #0073aa;
}

/* Responsive */
@media (max-width: 768px) {
    .post-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }
}

/* Custom scrollbar cho sidebar */
.post-sidebar::-webkit-scrollbar {
    width: 6px;
}

.post-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.post-sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.post-sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}