/*
Theme Name: [HVN] - CBF
Theme URI: https://hvn.vn/
Description: Child theme built with Vite, Tailwind CSS, TypeScript, and SCSS
Version: 0.0.1
Author: Kein
Author URI: https://hvn.vn/
Template: flatsome
Text Domain: hvn
Domain Path: /languages
License: GPL-2.0-or-later
*/

/* Child theme styles will be compiled from src/scss/main.scss to assets/css/main.css */
.bg-contact{
	background: linear-gradient(180deg, #6ABE74 0%, #6ABE74 100%);
}
.box-contact > .col-inner{
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0 4px 12px 0 rgba(251, 145, 35, 0.10);
}
.mb-0{
	margin-bottom: 0px !important;
}
.mb-16{
	margin-bottom: 16px !important;
}
.mt-16{
	margin-top: 16px !important;
}


/* Custom Entry Meta */
.custom-entry-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.custom-entry-meta img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.custom-entry-meta .author-name {
    color: #2c3e50;
    font-weight: 600;
}

.custom-entry-meta .sep {
    color: #ddd;
}

/* Social Share */
.custom-social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.custom-social-share .share-text {
    font-size: 15px;
    color: #666;
}

.custom-social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #666;
    transition: 0.3s;
}

.custom-social-share .share-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.custom-social-share .share-tw:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: #fff;
}

.custom-social-share .share-ln:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #fff;
}

/* Category Badge (nếu chưa có) */
.single-post .entry-category a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #4CAF50;
    border-radius: 20px;
    color: #4CAF50;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.single-post .entry-category a:hover {
    background: #4CAF50;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .custom-entry-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
    }
    
    .custom-social-share {
        flex-wrap: wrap;
    }
}



/* Custom Tags Footer */
.custom-tags-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
}

.custom-tags-footer .tags-label {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.custom-tags-footer .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-tags-footer .tag-item {
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid #01A758;
    background: #F7FFF8;
    color: #01A758;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.custom-tags-footer .tag-item:hover {
    background: #01A758;
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
    .custom-tags-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}





/* Comments title */
.comments-title {
    display: none !important;
}

/* Comment item */
.comment-inner {
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #01A758;
	background-color: #f8f9fa !important;
}

/* Avatar */
.comment-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Author name */
.comment-inner cite.fn {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    font-style: normal;
}

.comment-inner .says {
    display: none;
}

/* Comment content */
.comment-content {
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.comment-content p {
    margin: 0;
}

/* Comment meta (date, edit, reply) */
.comment-meta {
    font-size: 13px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    margin-top: 12px;
}

.comment-meta a {
    color: #01A758;
    text-decoration: none;
}

.comment-meta a:hover {
    color: #018a47;
}

.comment-meta time {
    color: #999;
}

.comment-meta .reply a {
    font-weight: 600;
}

/* =========================================
   COMMENT FORM
   ========================================= */

#respond {
    background-color: #f8f9fa !important;
}

/* Reply title */
#reply-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

#reply-title small {
    font-size: 14px;
    font-weight: 400;
    margin-left: 10px;
}

#reply-title small a {
    color: #e74c3c;
    text-decoration: none;
}

/* Logged in info */
.logged-in-as {
    padding: 15px;
    background: #f8f9fa;
    border-left: 3px solid #01A758;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.logged-in-as a {
    color: #01A758;
    text-decoration: none;
    font-weight: 500;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.logged-in-as .required {
    color: #e74c3c;
}

/* Comment form field */
.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-comment label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.comment-form-comment .required {
    color: #e74c3c;
}

/* Textarea */
#comment {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
    transition: 0.3s;
}

#comment:focus {
    outline: none;
    border-color: #01A758;
    box-shadow: 0 0 0 3px rgba(1, 167, 88, 0.1);
}

/* Submit button */
.form-submit {
    margin-top: 20px;
}

#submit {
    padding: 12px 30px;
    background: #01A758;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

#submit:hover {
    background: #018a47;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 167, 88, 0.3);
}

#submit:active {
    transform: translateY(0);
}


/* Widget wrapper */
.widget_categories {
    padding: 18px;
    background: #fff;
    border: 1px solid #E2E6F2;
    border-radius: 16px;
    margin-bottom: 24px;
}

/* Widget title */
.widget_categories .widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #06A824;
    margin-bottom: 15px;
    text-transform: none;
}

.widget_categories .widget-title span {
    display: block;
	border-radius: 8px;
	background: #ECFFEF;
	padding: 12px 19px;
	width: fit-content;
}

/* Divider */
.widget_categories .is-divider {
    margin: 15px 0;
	max-width: 100%;
	height: 1px;
    background-color: #E2E6F2;
}

/* Category list */
.widget_categories li a {
    display: block;
    color: #2B2F34;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
	font-weight: 700;
}

.widget_categories li a:hover {
    color: #01A758;
    padding-left: 5px;
}


/* Widget wrapper */
.custom-latest-posts-widget {
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Widget title */
.custom-latest-posts-widget .widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #01A758;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

/* Posts list */
.latest-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Single post item */
.latest-post-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.latest-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Thumbnail */
.latest-post-item .post-thumbnail {
    flex-shrink: 0;
    width: 90px;
	height: 53.25px;
    overflow: hidden;
    border-radius: 4px;
}

.latest-post-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.latest-post-item .post-thumbnail:hover img {
    transform: scale(1.05);
}

/* Post info */
.latest-post-item .post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Post title */
.latest-post-item .post-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.latest-post-item .post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: 0.3s;
}

.latest-post-item .post-title a:hover {
    color: #01A758;
}

/* Post excerpt */
.latest-post-item .post-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

/* Mobile */
@media (max-width: 768px) {
    .custom-latest-posts-widget {
        padding: 15px;
    }
    
    .custom-latest-posts-widget .widget-title {
        font-size: 16px;
    }
    
    .latest-post-item .post-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .latest-post-item .post-title {
        font-size: 14px;
    }
    
    .latest-post-item .post-excerpt {
        font-size: 12px;
    }
}
.blog-wrapper .large-9.col {
    flex-basis: 66.6666666667% !important;
    max-width: 66.6666666667% !important;
}

/* Sidebar - 1/3 width */
.blog-wrapper .large-3.col {
    flex-basis: 33.3333333333% !important;
    max-width: 33.3333333333% !important;
}



/* Box wrapper */
.box-blog-post {
    border: 1px solid #E2E6F2;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
	padding: 18px 16px;
}

.box-blog-post:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Image */
.box-blog-post .box-image {
    border-radius: 8px;
	background: url(<path-to-image>) lightgray 50% / cover no-repeat;
}

.box-blog-post .box-image img {
    transition: 0.3s;
}

.box-blog-post:hover .box-image img {
    transform: scale(1.05);
}

/* Content area */
.box-blog-post .box-text {
    padding: 10px 0px;
}

/* Title */
.box-blog-post .post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    margin: 0 0 12px 0;
}

.box-blog-post .post-title a {
    color: #2B2F34;
    text-decoration: none;
}

.box-blog-post .post-title a:hover {
    color: #01A758;
}

/* Divider - ẩn đi */
.box-blog-post .is-divider {
    display: none;
}

/* Custom meta (date + author) */
.post-meta-custom {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.post-meta-custom .post-date {
    color: #999;
}

.post-meta-custom .post-author {
    color: #2c3e50;
    font-weight: 400;
}

/* Excerpt */
.box-blog-post .from_the_blog_excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #76809B;
    margin: 10px 0;
}

/* Nút "Tìm hiểu thêm" */
.button-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    color: #01A758;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 5px;
}

.button-read-more:hover {
    gap: 10px;
    color: #018a47;
}

.button-read-more i {
    font-size: 16px;
    transition: 0.3s;
}

/* Ẩn comments count */
.box-blog-post .from_the_blog_comments {
    display: none;
}





.blog-wrapper .box-blog-post {
    min-height: 350px;
}

/* Hoặc chỉ set cho text area */
.blog-wrapper .box-blog-post .box-text {
    min-height: 150px;
}
.page-numbers.nav-pagination>li>.current{
	background-color: #06A824 !important;
	border-color: #06A824 !important;
	border-radius: 10px !important;
	color: #FFF !important;
}
.page-numbers.nav-pagination .page-number{
	color: #06A824 !important;
	border-radius: 10px !important;
}
.nav-pagination>li>a:hover{
	background-color: #06A824 !important;
	border-color: #06A824 !important;
	border-radius: 10px !important;
	color: #FFF !important;
}
