/*
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.   ***************/
*{
	font-family: 'Google Sans';
}
.mb-8{
	margin-bottom: 8px;
}
.mb-16{
	margin-bottom: 16px;
}
.mb-20{
	margin-bottom: 20px;
}
.mb-24{
	margin-bottom: 24px;
}
.mb-28{
	margin-bottom: 28px;
}
.mb-46{
	margin-bottom: 46px;
}
.text-12{
	font-size: 12px;
}
.text-13{
	font-size: 13px;
}
.text-14{
	font-size: 14px;
}
.text-15{
	font-size: 15px;
}
.text-16{
	font-size: 16px;
}
.text-17{
	font-size: 17px;
}
.text-18{
	font-size: 18px;
}
.text-20{
	font-size: 20px;
}
.text-24{
	font-size: 24px;
}
.text-28{
	font-size: 28px;
}
.text-30{
	font-size: 30px;
}
.text-32{
	font-size: 32px;
}
.text-36{
	font-size: 36px;
}
.text-46{
	font-size: 46px;
}
.wieght-500{
	font-weight: 500;
}
.align-items-center{
	align-items: center;
}
.icon-box .text p {
    margin-bottom: 0 !important;
}

.icon-box img {
    padding: 0 !important;
}

.icon-border{
	padding: 12px 32px;
	border-radius: 30px;
	background: rgba(255, 223, 227, 0.80);
	width: fit-content;
}

.bg-home-1{
	background: linear-gradient(101deg, #FFF2F2 1.98%, #FFFBFB 101.33%);
}
.bg-home-2{
	background: linear-gradient(180deg, #C00303 13%, #DE5C5E 50%, #FCE8E8 90%, #FFF 100%);
}
.bg-3{
	background: linear-gradient(180deg, rgba(252, 200, 206, 0.80) 0%, rgba(255, 242, 243, 0.80) 65.38%, rgba(255, 238, 240, 0.80) 100%)
}
.bg-4{
	background: linear-gradient(101deg, #FFF2F2 1.98%, #FFFBFB 101.33%);
}

.add-shadow > .col-inner{
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.add-shadow-2 > .col-inner{
	box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}
.add-shadow-3 > .col-inner{
	box-shadow: 0 2.627px 13.136px 0 rgba(12, 34, 113, 0.09);
}
.add-shadow-4 > .col-inner{
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.06);
}
.add-shadow-banggia > .col-inner{
	box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.13);
}
.add-shadow-gioithieu > .col-inner{
	box-shadow: 0 2px 8px 0 rgba(234, 69, 68, 0.08);
}

.btn-dangky{
	padding: 10px 40px;
	border-radius: 12px;
	background: #EA4544;
	box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
}
.btn-lienhe{
	padding: 10px 40px;
	border-radius: 12px;
	border: 1px solid #FFF;
	background: #FFF;
	box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
}
.btn-price{
	padding: 10px 68px;
	border-radius: 4px;
	border: 2px solid rgba(0, 0, 0, 0.00);
	background: #CB0018;
	font-size: 16px;
}


.tab-banggia .nav-pills {
    display: flex;
    overflow: hidden;
}

.tab-banggia .tab {
    padding: 8px 48px;
    border: none;
    background: #FFF;
    border-top: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}

.tab-banggia .tab:first-child {
    border-left: 1px solid #D9D9D9;
    border-radius: 20px 0 0 20px;
}

.tab-banggia .tab:last-child {
    border-radius: 0 20px 20px 0;
}

.tab-banggia .tab.active {
    background: #CB0018;
    border: none;
}

.tab-banggia .tab a {
    color: #000;
    text-decoration: none;
	font-weight: 500;
	font-size: 15px;
}

.tab-banggia .tab.active a {
	background-color: transparent !important;
    color: #FFF;
	font-weight: 500;
	font-size: 15px;
}
/* css bảng so sanh */
.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px solid #616262;
}

.price-table tr:last-child {
    border-bottom: none;
}

.price-section-header {
    cursor: pointer;
    transition: background-color 0.2s;
}

.price-section-header:hover {
    background-color: #f5f5f5;
}

.price-section-header td {
    padding: 24px 30px !important;
    font-size: 18px;
    font-weight: 700;
}

.price-section-header td span:first-child {
    display: inline;
}

.price-arrow {
    font-size: 16px;
    color: #2A446F;
    margin-left: 10px;
    display: inline;
}

.price-table th {
    padding: 20px 30px;
    vertical-align: top;
    text-align: left;
    width: 30%;
    font-size: 15.5px;
    color: #0E1726;
	font-weight: 400;
	text-transform: unset;
}

.price-table td {
    padding: 20px 30px;
    vertical-align: top;
    width: 23.33%;
    font-size: 15.3px;
    color: #0E1726;
}

.price-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #000000;
    border-radius: 50%;
    color: white;
    font-size: 12px;
}

.price-checkmark::before {
    content: "✓";
}

sup {
    font-size: 11px;
    color: #0067B8;
}

.price-header-row {
    display: none;
}

@media (max-width: 768px) {

    .price-table th,
    .price-table td {
        display: block;
        width: 100% !important;
        padding: 12px 20px;
    }

    .price-table th {
        background-color: #f9f9f9;
        font-weight: 600;
    }
}
/* end css bảng so sanh */

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


}

/* taink blog */
/* 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 #C93131;
    background: #F7FFF8;
    color: #C93131;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.custom-tags-footer .tag-item:hover {
    background: #C93131;
    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 #C93131;
	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: #C93131;
    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 #C93131;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.logged-in-as a {
    color: #C93131;
    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: #C93131;
    box-shadow: 0 0 0 3px rgba(1, 167, 88, 0.1);
}

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

#submit {
    padding: 12px 30px;
    background: #C93131;
    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: #C93131;
    margin-bottom: 15px;
    text-transform: none;
}

.widget_categories .widget-title span {
    display: block;
	border-radius: 8px;
	background: #FFF4F4;
	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: #C93131;
    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: #C93131;
    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: #C93131;
}

/* 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: #C93131;
}

/* 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: #C93131;
    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: #C93131 !important;
	border-color: #C93131 !important;
	border-radius: 10px !important;
	color: #FFF !important;
}
.page-numbers.nav-pagination .page-number{
	color: #C93131 !important;
	border-radius: 10px !important;
}
.nav-pagination>li>a:hover{
	background-color: #C93131 !important;
	border-color: #C93131 !important;
	border-radius: 10px !important;
	color: #FFF !important;
}




.sub-menu.nav-dropdown {
  	border-radius: 12px;
	background: #FFF;
	box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
  	padding: 30px 20px;
  	display: flex;
  	flex-direction: column;
}

/* Style cho tất cả li */
.sub-menu.nav-dropdown li {
	list-style: none;
	border-radius: 6px;
	padding: 10px;
}

/* Style cho li khi active - chỉ thêm background */
.sub-menu.nav-dropdown li.active,
.sub-menu.nav-dropdown li.current-menu-item {
  	border-radius: 6px;
	background: #E8E8E8;
}

/* Style cho link */
.sub-menu.nav-dropdown li a {
  	font-size: 16px;
  	font-weight: 500;
  	color: #525252;
  	text-decoration: none;
  	display: block;
	border-bottom: none !important;
	margin: 0px;
}
/* Style mặc định cho link */
.header-nav-main li a.nav-top-link {
  	font-weight: 500;
  	transition: all 0.3s ease;
}

/* Style khi hover */
.header-nav-main li a.nav-top-link:hover {
	background: #E8E8E8;
	padding: 10px;
	border-radius: 6px;
}


/* footer */
.mr-2 {
    margin-right: calc(.25rem * 2);
}
.w-30px {
    width: 30px !important;
}
.w-500{
	font-weight: 500;
}
.inline-block {
    display: inline-block;
}