/*
 * CSS of single.php, moved verbatim from its inline <style> blocks, in source order.
 * Loaded by kosmos_page_template_css (functions/actions.php).
 */

/* single.php, <style> at line 67 */
/* CSS cho sidebar related posts */
.related_categories_sidebar {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
.sidebar_title {
    font-size: 20px;
    font-weight: 700;
    color: #E31937;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E31937;
}
.related_categories_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.related_cat_item {
    display: flex;
    gap: 10px;
    padding: 5px 12px;
    border-radius: 6px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    position: relative;
}
.related_cat_item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.related_cat_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.related_cat_thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
}
.related_cat_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.related_cat_item:hover .related_cat_thumb img {
    transform: scale(1.1);
}
.related_cat_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.related_cat_title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related_cat_desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .related_categories_sidebar {
        padding: 20px;
    }
    .related_cat_thumb {
        width: 80px;
        height: 80px;
    }
    .related_cat_title {
        font-size: 14px;
    }
    .related_cat_desc {
        font-size: 12px;
    }
}

/* single.php, <style> at line 574 */
body.single.has-ftoc .site-content .section {
    padding-bottom: 0;
}
