.report-box {
  display: flex; /* Chế độ flexbox giúp căn chỉnh các phần tử dễ dàng */
  flex-direction: column; /* Đảm bảo các phần tử được sắp xếp theo chiều dọc */
  height: 100%; /* Chiều cao của box này chiếm toàn bộ chiều cao của container */
}

.boxv2 {
  display: flex;
  flex-direction: column; /* Đảm bảo nội dung trong box được xếp theo chiều dọc */
  flex-grow: 1; /* Cho phép box tự động mở rộng theo chiều cao */
  justify-content: space-between; /* Căn giữa các phần tử trong box */
}

.card-title {
  flex-grow: 1; /* Cho phép tiêu đề mở rộng chiếm hết không gian còn lại */
  display: -webkit-box; /* Sử dụng để chia nhiều dòng cho tiêu đề */
  -webkit-line-clamp: 2; /* Giới hạn tiêu đề hiển thị tối đa 2 dòng */
  -webkit-box-orient: vertical; /* Căn chiều dọc cho các dòng */
  overflow: hidden; /* Ẩn phần văn bản ngoài giới hạn */
  text-overflow: ellipsis; /* Thêm dấu ba chấm '...' khi văn bản bị cắt */
  white-space: normal; /* Cho phép tiêu đề xuống dòng nếu cần */
  word-wrap: break-word; /* Chia từ khi cần thiết để xuống dòng */
}
:where(.css-eq3tly).ant-ribbon.ant-ribbon-placement-end {
  inset-inline-end: -8px;
  border-end-end-radius: 0;
}

:where(.css-eq3tly)[class^="ant-ribbon"] [class^="ant-ribbon"],
:where(.css-eq3tly)[class*=" ant-ribbon"] [class^="ant-ribbon"],
:where(.css-eq3tly)[class^="ant-ribbon"] [class*=" ant-ribbon"],
:where(.css-eq3tly)[class*=" ant-ribbon"] [class*=" ant-ribbon"] {
  box-sizing: border-box;
  font-weight: bold;
}
:where(.css-eq3tly).ant-ribbon {
  box-sizing: border-box;
  margin: 0;
  padding: 0 8px;
  color: #1677ff;
  font-size: 14px;
  line-height: 22px;
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  position: absolute;
  top: 8px;
  height: 25px;
  white-space: nowrap;
  background-color: #20831c;
  border-radius: 9px;
}
:where(.css-eq3tly)[class^="ant-ribbon"],
:where(.css-eq3tly)[class*=" ant-ribbon"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  box-sizing: border-box;
}
:where(.css-eq3tly).ant-ribbon .ant-ribbon-text {
  color: #fff;
}
:where(.css-eq3tly)[class^="ant-ribbon"] [class^="ant-ribbon"],
:where(.css-eq3tly)[class*=" ant-ribbon"] [class^="ant-ribbon"],
:where(.css-eq3tly)[class^="ant-ribbon"] [class*=" ant-ribbon"],
:where(.css-eq3tly)[class*=" ant-ribbon"] [class*=" ant-ribbon"] {
  box-sizing: border-box;
}
.btn-mua-ngay {
  display: inline-block;
  text-decoration: none;
  padding: 5px 5px; /* Padding trong nút */
  border-radius: 15px; /* Bo góc */
  color: #fff; /* Màu chữ */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Đổ bóng */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Hiệu ứng chuyển đổi */
}

.btn-mua-ngay:hover {
  transform: translateY(-5px); /* Di chuyển lên nhẹ */
}

.btn-mua-ngay img {
  max-width: 100%; /* Đảm bảo hình ảnh vừa với kích thước của nút */
  height: auto; /* Tự động điều chỉnh chiều cao */
  display: block; /* Đảm bảo không có khoảng cách bên dưới */
}

/* Thêm một số kiểu cho text-center nếu cần */
.text-center {
  text-align: center;
  margin-top: 5px; /* Khoảng cách phía trên */
}
.card-overlay-badge {
  position: absolute;
  top: 10px; /* Căn trên */
  left: 10px; /* Căn trái */
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 5px 12px; /* Kích thước nhỏ gọn hơn */
  font-size: 12px; /* Giảm kích thước chữ */
  font-weight: 600; /* Chữ vừa đậm */
  color: #fff; /* Màu chữ trắng */
  text-transform: uppercase; /* Chữ in hoa */
  background: linear-gradient(
    135deg,
    #ff4d4f,
    #d32f2f
  ); /* Nền gradient chuyên nghiệp */
  border-radius: 20px; /* Bo tròn nhỏ hơn */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Hiệu ứng đổ bóng nhẹ */
  transition: transform 0.3s ease, background 0.3s ease; /* Hiệu ứng hover */
}

.badge i {
  margin-right: 5px; /* Khoảng cách nhỏ hơn giữa icon và chữ */
}

.badge:hover {
  transform: scale(1.05); /* Phóng to nhẹ khi hover */
  background: linear-gradient(
    135deg,
    #ff6163,
    #e53935
  ); /* Hiệu ứng hover gradient */
}

/* Container cho nút "Xem thêm" */
.view-more-container {
    text-align: center; /* Đặt nút ở giữa */
    margin-top: 40px;   /* Tăng khoảng cách từ phần trên */
}

/* Style cho nút "Xem thêm" */
.btn-view-more {
    padding: 12px 25px;      /* Tăng kích thước nút */
    font-size: 16px;         /* Tăng cỡ chữ */
    color: #ffffff;          /* Màu chữ */
    background-color: #007bff; /* Màu nền */
    border: none;            /* Loại bỏ viền */
    border-radius: 8px;      /* Bo góc nút */
    cursor: pointer;         /* Đổi con trỏ thành bàn tay khi hover */
    transition: all 0.3s ease; /* Hiệu ứng mượt khi hover */
}

/* Hiệu ứng hover */
.btn-view-more:hover {
    background-color: #0056b3; /* Màu nền khi hover */
    transform: translateY(-5px); /* Dịch chuyển lên khi hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Hiệu ứng đổ bóng */
}
    /* Căn giữa div cha và tạo kiểu cho ảnh */
.w-52 {
    width: 13rem; /* Kích thước cố định cho div chứa ảnh */
    margin-left: auto; /* Căn giữa theo chiều ngang */
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.xl\:mr-0 {
    margin-right: 0;
}

.xl\:ml-6 {
    margin-left: 1.5rem; /* Khoảng cách từ bên trái trong màn hình lớn hơn */
}

/* Định dạng cho div border và shadow */
.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

.border-gray-200 {
    border-color: #e5e7eb; /* Màu sắc xám sáng cho border */
}

.dark\:border-dark-5 {
    border-color: #1f2937; /* Màu sắc border khi ở chế độ tối */
}

.rounded-md {
    border-radius: 8px; /* Bo góc cho các div */
}

.p-5 {
    padding: 1.25rem; /* Khoảng cách trong div */
}

/* Tạo hiệu ứng cho ảnh */
.h-40 {
    height: 10rem; /* Đặt chiều cao cố định cho div chứa ảnh */
}

.relative {
    position: relative;
}

.cursor-pointer {
    cursor: pointer;
}

.zoom-in {
    transition: transform 0.3s ease-in-out;
}

.zoom-in:hover {
    transform: scale(1.05); /* Tăng kích thước khi hover */
}

/* Căn chỉnh ảnh và bo góc */
img.rounded-md {
    width: 100%; /* Đảm bảo ảnh đầy đủ chiều rộng */
    height: 100%; /* Đảm bảo ảnh đầy đủ chiều cao của div chứa */
    object-fit: cover; /* Cắt bớt ảnh nếu cần để phù hợp với div */
    border-radius: 8px; /* Bo góc ảnh */
}

/* Tooltip xóa ảnh */
.tooltip {
    position: absolute;
    right: -8px;
    top: -8px;
    background-color: #ff5f5f; /* Màu nền đỏ */
    color: white;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 0.75rem;
}

.tooltip:hover {
    background-color: #e53e3e; /* Màu đỏ đậm khi hover */
}

/* Biểu tượng "X" trong tooltip */
.tooltip i {
    width: 1rem;
    height: 1rem;
}

/* Các kiểu dáng cho các màn hình nhỏ và lớn hơn */
@media (max-width: 1024px) {
    .w-52 {
        width: 12rem; /* Thay đổi kích thước div cho màn hình nhỏ hơn */
    }

    .xl\:mr-0,
    .xl\:ml-6 {
        margin-left: 0;
        margin-right: 0;
    }
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.profile-header h1 {
    font-size: 3rem;
    margin-top: 20px;
    margin-bottom: 20px;
}


.profile-stats {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 20px;
}

.profile-stats div {
    font-size: 1rem;
    color: #555;
}

.profile-posts {
    margin-top: 20px;
    width: 100%;
}

.profile-posts ul {
    list-style-type: none;
    padding-left: 0;
}

.profile-posts li {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e2e2;
}

.profile-posts li:last-child {
    margin-bottom: 0;
}
.profile-description {
    display: flex;
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center;     /* Căn giữa theo chiều dọc */
    height: 200px;           /* Chiều cao của container (có thể thay đổi tùy theo nhu cầu) */
    padding: 10px;           /* Thêm khoảng cách xung quanh nội dung */
    text-align: center;      /* Căn giữa nội dung văn bản */
    background-color: #f9f9f9; /* Màu nền */
    border: 1px solid #ddd;  /* Viền mỏng xung quanh */
    border-radius: 10px;     /* Bo tròn các góc */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
    font-family: Arial, sans-serif; /* Phông chữ */
}

.profile-description p {
    font-size: 16px;        /* Kích thước font */
    color: #333;            /* Màu chữ */
    line-height: 1.6;       /* Khoảng cách giữa các dòng */
    margin: 0;              /* Xóa khoảng cách mặc định */
}
*, *::after, *::before { box-sizing: border-box; margin: 0; padding: 0; }


.entry-author.author-box {
    display: flex; align-items: center; padding: 20px; background: #b2f2a4;
    border: 3px solid #f70000; border-radius: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.circle {
    width: 100px; height: 100px; margin-right: 20px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
}

.circle img {
    width: 70px; height: 70px; border-radius: 50%;
    object-fit: cover; border: 2px solid #e0e0e0;
}

.circle:hover { transform: scale(1.1); }

.author-name {
    font-size: 1.5em; font-weight: bold; color: red; text-transform: uppercase; margin-bottom: 10px;
}

.author-desc {
    font-size: 1em; color: black; font-weight: bold; line-height: 1.6;
}

.flex-row { display: flex; align-items: center; }
.flex-col { display: flex; flex-direction: column; }

.flex-grow { flex-grow: 1; }

@media (max-width: 768px) {
    .entry-author.author-box { flex-direction: column; text-align: center; }
    .flex-row { flex-direction: column; align-items: center; }
    .mr { margin-right: 0; margin-bottom: 15px; }
}
.icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    color: #333;
    font-size: 24px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 0 10px; /* Khoảng cách giữa các icon */
}

.icon:hover {
    background-color: #e0e0e0;
    transform: scale(1.2);
}

.icon.facebook:hover { background-color: #3b5998; }
.icon.twitter:hover { background-color: #1da1f2; }
.icon.x:hover { background-color: #1d1d1d; }
.icon.linkedin:hover { background-color: #0077b5; }
.icon.telegram:hover { background-color: #0088cc; }

.blog-share {
    margin-top: 10px; /* Khoảng cách từ phần nội dung trên */
    margin-right: -15px;
    padding: 20px;
}

.is-divider.medium {
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Cho phép các icon chia sẻ tự động xuống hàng khi màn hình nhỏ */
}

.social-icons a {
    text-decoration: none;
}

/* Đảm bảo icon nhỏ hơn khi kích thước màn hình nhỏ */
@media (max-width: 768px) {
    .icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
.product-item.hidden {
        display: none;
    }
      /* Ẩn các tin tức khi bắt đầu */
    .news-item.hidden {
        display: none;
    }