/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Chỉ hiển thị tối đa 3 dòng tiêu đề */
h3.elementor-post__title {
    display: -webkit-box;        /* Kích hoạt flex-like box */
    -webkit-line-clamp: 2;       /* Giới hạn tối đa 3 dòng */
    -webkit-box-orient: vertical;/* Thiết lập hướng box theo chiều dọc */
    overflow: hidden;            /* Ẩn phần text thừa */
    text-overflow: ellipsis;     /* Thêm dấu ... nếu text dài */
}
.elementor-post__excerpt {
    display: -webkit-box;        /* Kích hoạt flex-like box */
    -webkit-line-clamp: 3;       /* Giới hạn 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;            /* Ẩn text dư */
    text-overflow: ellipsis;     /* Thêm dấu ... nếu text dài */
}
@media (max-width: 767px) {
	.elementor-widget-image-box .elementor-image-box-wrapper{
		display:flex;
	}
	.elementor-image-box-title {
    text-align: left;
    margin-left: 20px;
}
}
.woocommerce a.add_to_cart_button {
    display: none !important;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
}
.elementor-widget-woocommerce-products span.price {
    display: flex !important;
    flex-direction: column-reverse;
    line-height: 1.2;
}

[type=button], [type=submit], button {
    border: 1px solid #4a4a47 !important;
    color: #4a4a47 !important;
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #cfc6bf;
    color: #fff !important;
}
/* Link trong nội dung bài viết */
.entry-content a,
.entry-content a:visited {
    color: #8C5A5A !important;
}

.entry-content a:hover,
.entry-content a:focus {
    color: #A86B6B !important;
}

.entry-content a:active {
    color: #6F4242 !important;
}
.elementor-button[type="submit"] {
    color: white !important;
}
.bdt-prime-slider-tango .bdt-slideshow-item {
    cursor: pointer;
}
small a {
    color: #B87C7C !important;
    font-size: 11px;
    margin-left: 20px;
    font-style: italic;
    font-weight: normal;
}

#comments ol.comment-list .children:before {
	content: "";}
.tab-duan h3 {
    font-size: 20px !important;}



/* Fix Facebook Reel embed trong bài viết Elementor */
.elementor-widget-theme-post-content iframe[src*="facebook.com/plugins/video.php"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
}
iframe[src*="facebook.com/plugins/video.php"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
}

ol.commentlist {
    list-style: none;
}
ul.children {
    list-style: none;
    padding: 10px 0px;
    border-top: 0px solid #ce8c7c;
    margin-top: 10px;
	margin-left:20px;
}
ol.commentlist > li.comment {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 25px;
}