/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
body {
 
}
strong,b {

}
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
    font-weight: 600 !important;
}
.trchu .box-text {
    background: #fff;
    color: #000;
    padding: 10px 5px;
}
.blog-archive .box-text {
    height: 140px;
}
.trchu .box-text .post-title {
    color: #4a4848;
    font-size: 1rem;
}
.trchu .col-inner {
    border-radius: 10px;
    overflow: hidden;
}
.blog-archive .col-inner {
    border-radius: 10px;
    overflow: hidden;
}
.nav-top-link {
    padding: 5px 15px !important;
    font-weight: 600 !important;
}
.large-10 {
    flex-basis: max-content !important;
    max-width: max-content !important;
}
.large-9 {
	padding:0 10px !important;
 	flex-basis: 70%;
    max-width: 70%;
    border: transparent;
}
.large-3 {
    flex-basis: 30%;
    max-width: 30%;
}
.entry-header-text {
    padding: 0.5em 0;
}
.box-blog-post .is-divider {
    background-color: #fcb614 !important;
	display: none;
}
.absolute-footer.dark {
    color: hsl(0deg 0% 100%);
    padding: 10px 0;
    background: #fcb614;
}
.entry-content img {
    max-width: 100%;
    display: block;
    margin: 10px auto;
}
.entry-content  figure {
    text-align: center;
    margin: 0 auto;
}
.trchu .post-views {
    position: absolute;
    display: block;
    bottom: 0;
    opacity: 0.3;
}
.post-views {
    position: absolute;
    display: block;
    bottom: 0;
    opacity: 0.3;
}
.nav > li > a {
    text-transform: capitalize;
}
.yarpp-thumbnails-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.yarpp-thumbnail {
    position: relative;
    width: 23% !important;
    aspect-ratio: auto;
    height: 100% !important;
}
.yarpp-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yarpp-thumbnail-title {
    position: relative;
    color: #000000;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 auto !important;
}
.yarpp-related {
    display: inline-block;
}
.post_comments {
	display:none;
}
.post-sidebar {
	padding:10px !important;
}
.recent-blog-posts a {
    font-size: 15px;
    margin-bottom: 0;
}
.recent-posts-2 a {
	font-size: 15px !important;
}
span.widget-title {
    font-size: 1.1em;
    text-transform: math-auto;
}
.badge {
    height: 3.8em;
    width: 5.8em;
}
.recent-blog-posts {
    vertical-align: middle !important;
    align-items: center !important;
    padding: 20px 0;
}
.page-right-sidebar .large-3 {
	padding:0 10px !important;
}
.sec1 {
    padding: 0 15px;
}
.titthuong h1 span {
    text-transform: capitalize;
}
.post-meta-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.post-meta {
    font-size: 14px !important;
    color: #3e3e3e99;
    opacity: 0.8;
}
.post-meta i {
    margin-right: 5px;
}
.cat-label {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        background: none;
        color: #3e3e3e;
}
.cat-label a {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3sease-in-out;
    margin: 0 !important;
}
.has-hover:hover .tag-label {
    background-color: transparent;
}
.cat-label a+span {
    margin-left: 10px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}
.entry-header-text {
	padding:10px !important;
}
.article-inner.has-shadow {
    box-shadow: none;
}
/* 5. Mobile */
@media (max-width: 549px) {
/* 1. Cho phép lộ slide */
.trchu .flickity-viewport {
    overflow: visible !important;
}

/* 2. Reset grid Flatsome */
.trchu .flickity-slider > .col {
    width: 80% !important;
    max-width: 320px;
    flex: 0 0 auto !important;
    margin-right: 16px;
}

/* 3. Center nhẹ (để nhìn giống app) */
.trchu .flickity-slider {
    padding-left: 10px;
}

/* 4. Hiệu ứng */
.trchu .post-item {
    opacity: 0.4;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.trchu .post-item.is-selected {
    opacity: 1;
    transform: scale(1.05);
}

    .trchu .flickity-slider > .col {
        width: 85% !important;
    }
}
/* 1. KHÔI PHỤC layout ảnh của Flatsome */
.trchu .box-image {
    position: relative;
    width: 100%;
}

/* 2. GIỮ đúng tỷ lệ ảnh (Flatsome dùng padding-top) */
.trchu .image-cover {
    position: relative !important;
    width: 100%;
    padding-top: 56.25% !important; /* 16:9 */
    overflow: hidden;
}

/* 3. FIX ảnh bị mất */
.trchu .image-cover img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
}

/* 4. TRÁNH flex phá layout ảnh */
.trchu .box {
    display: flex;
    flex-direction: column;
}

.trchu .box-image {
    flex-shrink: 0; /* QUAN TRỌNG */
}
.trchu .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.4;
    height: calc(1.4em * 3); /* 🔥 KHÓA CỨNG */
}
.post-meta-container{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:nowrap;
    overflow:hidden;
	margin-top: 10px;
}

.post-meta{
    display:flex;
    align-items:center;
    gap:5px;
    color:#888;
    font-size:14px;
    min-width:0;
}

.post-location{
    flex:1;
    overflow:hidden;
}

.address-text{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    display:block;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.trchu .post-item {
    padding: 10px;
}
.trchu {
    padding: 0 10px !important;
}
.trchu h5 a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.box-text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
}
.entry-content img {
    max-width: 90%;
}
.yarpp-thumbnail {
    width: 47% !important;
}
.yarpp-thumbnails-horizontal {
    gap: 5px;
}
.yarpp-thumbnail {
    aspect-ratio: auto;
}
.yarpp-thumbnail-title {
    overflow: visible !important;
    font-size: 17px !important;
    font-weight: normal !important;
}
.single-page {
    padding: 10px !important;
}
.large-9 {
    flex-basis: 100%;
    max-width: 100%;
}
.large-3 {
    flex-basis: 100%;
    max-width: 100%;
}
.sec1 {

}
}