/* SECTION PRODUCT TAB - HOME */
.main-product_cat .tab-product_cat {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.main-product_cat .tab-product_cat .item {
    margin-bottom: 0;
    border: 1px solid #ccc;
    background-color: #F1F1F1;
    padding: 10px 30px;
    text-align: center;
}
.main-product_cat .tab-product_cat .item span {
    text-transform: uppercase;
    font-size: 18px;
}
.main-product_cat .tab-product_cat .item.active,
.main-product_cat .tab-product_cat .item:hover {
    background-color: #FFD540;
    border-color: #FFD540;
    cursor: pointer;
}
.main-product_cat .tab-product_cat .item.active span {
    font-weight: 700;
}
.main-product_cat li.product {
    margin-bottom: 0;
    padding: 10px;
    height: 100%;
}
.main-product_cat .slick-track {
    height: 100%;
}
.main-product_cat .slick-arrow, .scbaochi .slick-arrow,
.home_news .slick-arrow {
    font-size: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.main-product_cat .slick-prev {
    left: 12px;
}
.main-product_cat .slick-next {
    right: 12px;
}
.tab-product_content .content_tab {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}
.tab-product_content .content_tab.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.tab-product_content .product-list .product {
    display: none;
}
.tab-product_content .product-list .product:nth-child(-n+12) {
    display: block;
}
.btn-load-more {
    display: flex;
    text-align: center;
    margin: 20px auto 0 auto;
    padding: 12px 30px;
    background-color: #FFD540;
    color: #000;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-load-more i {
    padding-left: 5px;
}
/* END SECTION PRODUCT TAB - HOME */
/* SECTION CONTENT - HOME */
.temr_desc {
	position: relative;
}
.temr_desc .desc {
	overflow: hidden;
}
.temr_desc h2, .temr_desc h3, .temr_desc h4, .temr_desc h5, .temr_desc h6, .temr_desc p {
	margin-bottom: 10px;
}
.temr_desc img {
	margin-bottom: 5px;
}
.temr_desc ul {
	padding-left: 20px;
	margin-bottom: 10px;
}
.temr_desc ul, .temr_desc li {
	list-style-type: disc;
}
.temr_desc li {
	margin-bottom: 5px;
}
.temr_desc li:last-child {
	margin-bottom: 0;
}
.temr_desc a.btn_toggle {
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    background: #FFD540;
    padding: 12px 30px;
    border-radius: 3px;
    text-decoration: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.temr_desc a.btn_toggle.btn-hide i {
    transform: rotate(180deg);
}
.temr_desc a.btn_toggle.btn-hide {
    transform: translateY(30px);
}

.temr_desc a.btn_toggle:hover, .btn-load-more:hover {
	background: #ff0000;
    color: #fff;
}
.temr_desc .mask {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
    background: linear-gradient(0deg, white, #ffffffd9, #ffffff5e, transparent, transparent);
}
/* END SECTION CONTENT - HOME */
/* SECTION BAO CHI */
.lists_baochi {
    margin: 0;
    list-style-type: none;
    padding: 0;
}
.scbaochi .slick-next, .home_news .slick-next {
    right: -10px;
}
.scbaochi .slick-prev, .home_news .slick-prev {
    left: -10px;
}
.scbaochi .item {
    padding: 10px;
}
.scbaochi .inner {
    border-radius: 20px;
    overflow: hidden;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    position: relative;
}
.scbaochi .inner .btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 78px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scbaochi .inner .btn a {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    font-size: 16px;
    padding: 0 32px;
    background-color: #FFD540;
    color: #000;
    border-radius: 20px;
}
.scbaochi .inner .btn a:hover {
    background-color: #ff0000;
    color: #fff;
}
/* END SECTION BAO CHI */
/* AUTHOR */
.author_box {
    border-top: 1px solid #ececec;
    padding: 20px 0;
}
.author_wrapper {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.author_wrapper .box {
    display: flex;
    padding: 0 10px;
}
.author_wrapper .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.author_wrapper .author_content {
    padding-left: 15px;
    width: calc(100% - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.author-name {
	padding-top: 0;
	font-size: 14px;
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
}
.author-link {
	display: flex;
    flex-direction: column;
	color: #000000;
    text-decoration: none;
}
.author-link strong {
	font-size: 12px;
	color: #FFD540;
}
.author-link span {
    font-weight: 600;
}
.author-desc {
    padding-top: 2px;
}
.author-desc p {
	color: #313131;
	margin-bottom: 10px;
	font-size: 15px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.author-desc a {
    text-decoration: underline;
    color: #FFD540;
}
.social-author {
	display: flex;
	align-items: center;
	list-style-type: none;
    margin: 0;
    margin-top: 5px;
    padding: 0;
}
.social-author li {
    margin-right: 15px;
	margin-bottom: 0;
}
.social-author li:last-child {
	margin-right: 0;
}
.social-author a {
    width: 30px;
    height: 30px;
    background-color: #FFD540;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 2px;
}
.social-author li i {
	font-size: 14px;
    color: #313131;
}
.social-author li a:hover {
    background-color: #ff0000;
}
.social-author li a:hover i {
    color: #fff;
}
.social-author li img {
	width: 22px;
    filter: brightness(1) invert(1);
}
.social-author li a:hover img {
    filter: brightness(0) invert(1);
}
/* SEARCH RESULTS */
.search-results .woocommerce-loop-product__title {
    padding: 15px 10px;
    text-align: center;
}
/* END SEARCH RESULTS */
@media (max-width: 640px){
    .main-product_cat .tab-product_cat {
        gap: 10px;
    }
    .main-product_cat .tab-product_cat .item {
        width: calc(50% - 5px);
        padding: 10px 20px;
    }
    .temr_desc a.btn_toggle {
        font-size: 14px;
        padding: 10px 20px;
    }
}