/*
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.   ***************/
.blog-archive .post-item {
    padding-bottom: 0;
}
.list-post1 .post-item .col-inner, .list-post2 .post-item .col-inner {
    padding: 0;
    border: none;
}
.list-post1 .post-item .box {
    padding-top: 0px;
    border-radius: 8px;
}
.blog-archive .post-item .box-image {
    border: 1px solid #b7b7b7;
border-radius: 8px;
}
.list-post1 .post-item .box-image .image-cover {
    padding-top: 70% !important;
}
.list-post1 .post-item .box-text {
    padding: 10px 0 0px 0px !important;
}
.blog-archive .post-item .post-title {
    font-size: 19px;
    color: #000000;;
    font-weight: 700;
}
.list-post1 .post-item .post-title {
    color: #000000;;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.blog-archive .post-item .from_the_blog_excerpt {
    color: #000000;;
    font-size: 16px;
    line-height: 20px;
}
.list-post1 .post-item .from_the_blog_excerpt {
    display: block;
}
.list-post2 .post-item {
    padding-bottom: 10px !important;
}
.list-post2  .box-vertical {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-content: center;
}
.list-post2  .box-image {
    border: 1px solid #b7b7b7;
    border-radius: 8px;
    width: 250px !important;
    max-height: 160px !important;
}
.list-post2 .post-item .box-image .image-cover {
    padding-top: 80% !important;
}
.list-post2 .post-item .post-title {
    font-size: 16px;
    color: #000000;;
    font-weight: 700;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.list-post2 .post-item .from_the_blog_excerpt {
    display: none;
}
.blog-archive .post-item .col-inner {
    padding: 20px 0;
    
}
.blog-archive .post-item .box-image .image-cover {
    padding-top: 85% !important;
}
.blog-archive .post-item .box-text {
    padding: 0;
    padding-left: 15px;
}
.block-post1.row.row-small {
    border-bottom: 1px dashed #d8d8d8;
    background-color: white;
}
.block-post2.row.row-small {
    
    background-color: white;
}
.block-post2.row.row-small .post-item {
    border-bottom: 1px dashed #d8d8d8;
}
.widget-title {
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 15px;
    line-height: 1.1;
    font-size: 15px;
    color: #b32126;
  }
 .widget-title::before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -15px;
    background-color: #b32126;
    border-radius: 4px;
  }
  .widgettitle {
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 15px;
    line-height: 1.1;
    font-size: 15px;
    color: #f04c28;
  }
 .widgettitle::before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -15px;
    background-color: #f04c28;
    border-radius: 4px;
  }
  .widget .is-divider {
    margin-top: .66em;
    display:none;
}
.post-sidebar.large-3.col {
    border-left: 1px solid #ececec00;
    background-color: white;
    padding-top: 20px;
    margin-top: 44px;
}

.box-blog-post .is-divider {
    height: 2px;
    margin-bottom: .5em;
    margin-top: .5em;
    display:none;
}
.widget_recent_entries > ul, ul.menu {
    list-style: none; /* Loại bỏ list-style mặc định */
    padding-left: 0;
  }
  
  .widget_recent_entries > ul > li {
    display: flex;
    align-items: flex-start; /* Căn thẳng nội dung và dấu chấm */
    margin-bottom: 10px; /* Khoảng cách giữa các mục */
    margin-left: -10px;
  }
  
  .widget_recent_entries > ul > li::before, ul.menu > li::before {
    content: "•"; /* Dấu chấm đen */
    font-size: 1.5em; /* Kích thước dấu chấm */
    color: black; /* Màu đen */
    margin-right: 10px; /* Khoảng cách giữa dấu chấm và nội dung */
  }
  .widget.block_widget .post-item {
    list-style: none; /* Loại bỏ list-style mặc định */
    padding-left: 0;
  }
  
  .widget.block_widget .post-item {
    display: flex;
    align-items: flex-start; /* Căn thẳng nội dung và dấu chấm */
    margin-bottom: 0px; /* Khoảng cách giữa các mục */
    border-bottom: 1px dashed #d8d8d8;
    margin-left: -10px;
    justify-content: center;
  }
  
  .widget.block_widget .post-item::before {
    content: "•"; /* Dấu chấm đen */
    font-size: 1.5em; /* Kích thước dấu chấm */
    color: rgb(210, 4, 4); /* Màu đen */
    margin-right: 10px; /* Khoảng cách giữa dấu chấm và nội dung */
    margin-top: 10px;
  }
  .banner.has-hover.hide-for-small {
    background-color: var(--fs-color-primary);
    min-height: 140px;
    position: relative;
    width: 100%;
    margin-top: 0px;
}

#breadcrumbs {
    font-size: 16px;
    margin: 10px 0;
}

#breadcrumbs a {
    color: #aa0003;
    text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

#breadcrumbs span {
    color: #000000;;
}



/* Post Header */
.entry-header {
    text-align: center;
    margin-bottom: 0px;
    
}

.entry-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

/* Meta Information */
.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #b32126;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: left;
}

.author-info img {
    border-radius: 50%;
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.author-name {
    font-weight: bold;
    margin-right: 10px;
}

.post-date {
    color: #999;
}

.post-actions {
    display: flex;
    align-items: center;
    justify-content: right;
}

.share-icons {
    margin-right: 15px;
    font-size: 1.2em;
}

.share-icons a {
    margin-right: 5px;
    text-decoration: none; /* Loại bỏ gạch chân */
}

/* Đặt màu cho từng biểu tượng mạng xã hội */
.share-icons a.facebook {
    color: #3b5998; /* Màu xanh Facebook */
}

.share-icons a.twitter {
    color: #1da1f2; /* Màu xanh Twitter */
}

.share-icons a.instagram {
    color: #e4405f; /* Màu hồng Instagram */
}

.share-icons a.linkedin {
    color: #0077b5; /* Màu xanh LinkedIn */
}

.share-icons a.pinterest {
    color: #bd081c; /* Màu đỏ Pinterest */
}
.share-icons a.email {
    color: #D44638; /* Màu đỏ cho email */
}

/* Thêm các mạng xã hội khác nếu cần */


.post-rating {
    display: flex;
    align-items: center;
}

.rating-label {
    margin-right: 5px;
}

/* Featured Image */
.entry-image {
    margin-bottom: 2rem;
}

.entry-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Content */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Footer Meta */
.entry-meta footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.entry-taxonomy {
    font-size: 0.9rem;
    color: #666;
}

/* Navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 48%;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-post article.post {
        padding: 1rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-actions {
        margin-top: 10px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}