.elementor-10313 .elementor-element.elementor-element-50d574e9{--display:flex;}.elementor-10313 .elementor-element.elementor-element-497d9ba{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-fdf2fb1 *//* Ẩn input checkbox */
.toggle-checkbox {
    display: none;
}

/* Khung chứa nội dung - Trạng thái thu gọn */
.content-box {
    max-height: 40px; /* Điều chỉnh chiều cao này tùy ý bạn */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
}

/* Hiệu ứng mờ dần (Fade out) ở dưới cùng khi thu gọn */
.content-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Độ cao của phần mờ */
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

/* Trạng thái mở rộng (Khi checkbox được check) */
.toggle-checkbox:checked ~ .content-box {
    max-height: 2000px; /* Để một số đủ lớn để chứa toàn bộ bài viết */
}

/* Xóa hiệu ứng mờ khi đã mở rộng */
.toggle-checkbox:checked ~ .content-box::after {
    display: none;
}

/* Ẩn chữ "Thu gọn" ở trạng thái mặc định */
.text-less {
    display: none;
}

/* Đổi chữ khi đã mở rộng */
.toggle-checkbox:checked ~ .toggle-label .text-more {
    display: none;
}

.toggle-checkbox:checked ~ .toggle-label .text-less {
    display: inline;
}

/* Làm đẹp nhẹ cho nút bấm */
.toggle-label {
    color: #2563eb; /* Màu xanh blue */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
}
.toggle-label:hover {
    text-decoration: underline;
}/* End custom CSS */