.list-buttons .button-hre {
    margin-bottom: 10px;
}

.list-buttons .button-hre a {
    text-decoration: none;
   color: rgb(255, 255, 255);
     background:rgb(125, 0, 0);
    padding: 6px 0px;
    width: 100%;
    display: inline-block;
    font-size: 28px;
    text-align: center;
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Bóng nhẹ */
    transition: background 0.3s, transform 0.2s;
    font-weight: 700;
}
.container.mt-3 {
    margin-top: 0 !important; /* Ghi đè margin-top */
}

.list-buttons .button-hre a:hover, .list-buttons .button-hre a.active {
     background: #A67C00;
}
@media (max-width: 872px) {
.list-buttons .button-hre a {

    font-size: 15px;

}
}
.col-lg-6,
.card,
.card-full,
.hover-a,
.mb-4,
.ratio_360-202,
.image-wrapper,
.card-body {
    background: none !important;
    background-color: transparent !important;
}
.col-lg-6,
.card,
.card-full,
.hover-a,
.mb-4,
.ratio_360-202,
.image-wrapper,
.card-body {
    border: none !important;
    box-shadow: none !important;
}
.block-title-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(255, 255, 255);
    font-weight: bold;
}
.block-title-custom-z {
    text-align: center; /* Căn giữa chữ */
    font-size: 20px; /* Cỡ chữ lớn hơn */
    font-weight: bold; /* Chữ đậm */
    display: flex;
    align-items: center;
    justify-content: space-between;
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(255, 255, 255);
    font-weight: bold;
    margin-top:24px;

}
@media (max-width: 672px) {
.block-title-custom {

    margin-bottom: 5px;
}
}
.block-title-custom h3 {
    margin: 0;
    font-size: 18px;
}

.block-title-custom h3 span {
    padding: 5px 15px;
    border-radius: 3px;
}

.block-title-custom .viewmore {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}
.block-title-custom-d {
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(255, 255, 255);
    font-weight: bold;

}
.block-title-custom-d-maihoa {
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(255, 255, 255);
    font-weight: bold;

    margin-top:-20px;
}
.block-title-custom-d-ngu-hanh {
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(255, 255, 255);
    font-weight: bold;


}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 1.2rem !important;
}



.block-title-custom .viewmore:hover {
    text-decoration: underline;
}
.card-title :hover{
    color: rgb(255, 255, 255);
}
a {
    text-decoration: none;
}
h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a,
.h1 > a, .h2 > a, .h3 > a, .h4 > a, .h5 > a, .h6 > a {
  color: black;  /* Màu mặc định */
  text-decoration: none; /* Xóa gạch chân */
  transition: color 0.3s ease-in-out; /* Hiệu ứng mượt */
}


h1 > a:hover, h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover,
.h1 > a:hover, .h2 > a:hover, .h3 > a:hover, .h4 > a:hover, .h5 > a:hover, .h6 > a:hover {
  color: yellow; /* Màu vàng khi hover */
}

.card-body {
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;

}

.card-title {
  color: black;
  font-weight: 900; /* 700 thường là độ đậm chuẩn */
}
.card-title:hover{
    color:yellow;
}
.card-body {
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;
  padding:  1rem 1rem;
}

.card-title {
  margin-bottom:  0.5rem;
}
.card-body {
    max-width: 100%; /* Giữ nội dung trong phạm vi card */
    overflow: hidden; /* Ẩn phần tràn ra ngoài */
}
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}
 @media (max-width: 576px) { /* Mobile */
    .row {
        display: flex;
        flex-wrap: wrap; /* Đảm bảo chữ không tràn qua ảnh */
        align-items: flex-start;
    }
    .col-3 {
        width: 100%; /* Ảnh full chiều ngang */
        margin-bottom: 8px; /* Tạo khoảng cách giữa ảnh và chữ */
    }
    .col-9 {
        width: 100%; /* Chữ full chiều ngang */
    }
    .card-title a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.post-detail {
    background: rgba(255, 255, 255, 1); /* Xám than, độ trong suốt 80% */
    color: #fff; /* Chữ trắng */
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Đổ bóng nhẹ */
}


.breadcrumb-item{
     text-decoration: none;
}
.post-title {
    font-size: 2.5rem; /* Chữ lớn */
    font-weight: bold;
    text-align: center;
    color: #333; /* Màu tối */
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Bóng mờ */
}
.post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.post-meta .author {
    font-weight: bold;
    color: #007bff;
}

.post-meta .date {
    font-style: italic;
    color: #110d0d;
}
.post-description {
    font-size: 16px;
    color: #444;
    font-style: italic;
    margin-bottom: 15px;
}
.blog-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    border-radius: 8px;
}

.blog-content p {
    margin-bottom: 15px;
}

.blog-content h2, .blog-content h3 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}

.blog-content blockquote {
    font-style: italic;
    border-left: 4px solid #007bff;
    margin: 20px 0;
    color: #555;
    background: #f8f9fa;
    border-radius: 5px;
}

.blog-content ul, .blog-content ol {
}

.blog-content ul li::before {
    content: "✔";
    color: #28a745;
    font-weight: bold;
}

.blog-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.blog-content a:hover {
    text-decoration: underline;
}
 @media (max-width: 576px) { /* Mobile */
  .post-title {
    font-size: 1.5rem;
}
}
.navbar, .container.w-100 {
    width: 100%;
    max-width: 1294px; /* Hoặc bất kỳ giá trị nào bạn muốn */
    margin: 0 auto; /* Căn giữa */
}
@media (max-width: 768px) {
    .list-buttons .col-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
}
    /* Sidebar cards */
aside .card {

    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

aside .card-header {
    background-color: #f5f5f5;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

/* List group for categories and recent posts */
aside .list-group-item {
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

aside .list-group-item a {
    text-decoration: none;
    color: #333;
}

aside .list-group-item a:hover {
    color: #007bff;
}

/* Search input group */
aside .input-group input {
    border-radius: 5px 0 0 5px;
}

aside .input-group .btn {
    border-radius: 0 5px 5px 0;
}

/* Tags styling */
aside .card-body .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    background-color: #6c757d;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

aside .card-body .badge:hover {
    background-color: #495057;
}
    /* Sidebar cards */
aside .card {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

aside .card-header {
    background-color: #f5f5f5;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

/* List group for categories and recent posts */
aside .list-group-item {
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

aside .list-group-item a {
    text-decoration: none;
    color: #333;
}

aside .list-group-item a:hover {
    color: #007bff;
}

/* Search input group */
aside .input-group input {
    border-radius: 5px 0 0 5px;
}

aside .input-group .btn {
    border-radius: 0 5px 5px 0;
}

/* Tags styling */
aside .card-body .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    background-color: #6c757d;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

aside .card-body .badge:hover {
    background-color: #495057;
}
.block-title-custom-y {
    margin-top: 20px;
    text-align: center; /* Căn giữa chữ */
    font-size: 20px; /* Cỡ chữ lớn hơn */
    font-weight: bolder; /* Chữ đậm */
    display: flex;
    align-items: center;
    justify-content: center;
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(2, 1, 1);
    font-weight: bold;

}

.block-title-custom-x {
    margin-top: 20px;
    height: 50px;
    text-align: center; /* Căn giữa chữ */
    font-size: 20px; /* Cỡ chữ lớn hơn */
    font-weight: bold; /* Chữ đậm */
    display: flex;
    align-items: center;
    justify-content: center;
     background: rgb(125, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
   color: rgb(255, 255, 255);
    font-weight: bold;

}

/* Nút Xem thêm */
.btn-primary {
     background: linear-gradient(135deg,  #2C2C2C, #c27d2a);
   color: rgb(255, 255, 255);
    padding: 12px 30px; /* Tạo không gian rộng hơn cho nút */
    font-size: 16px;
    font-weight: bold; /* Làm chữ đậm */
    text-align: center;
    text-decoration: none;
    border-radius: 25px; /* Bo góc cho nút */
    transition: all 0.3s ease; /* Thêm hiệu ứng chuyển động khi hover */
    display: inline-block;
}

.btn-primary:hover {
     background: linear-gradient(135deg,  #2C2C2C, #be8a4e);
    transform: translateY(-4px); /* Hiệu ứng nổi lên khi hover */

}

.btn-primary:focus, .btn-primary:active {
    outline: none; /* Loại bỏ viền khi nhấn nút */
}

/* Đảm bảo nút luôn căn giữa */
.col-12.text-center {
    margin-top: 20px; /* Thêm khoảng cách phía trên nút */
}
.sidebar {
    border-radius: 12px;
    color: #222; /* Màu chữ tối rõ */
    font-weight: 500;
}
.sidebar a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}
.sidebar .card {

    border: 1px solid #ddd;
    color: #222;
}
.sidebar .card-header {
   background:rgb(125, 0, 0);
    font-weight: 700;
   color: #e5b514;
}
.sidebar .list-group-item {
    background-color: transparent;
    border: none;
    color: #333;
}
.sidebar .list-group-item a {
    color: #222;
    font-weight: 600;
}
.sidebar .badge {
    background-color: #88304E;
    color: white;
    font-weight: 500;
}
.list-group-item:hover{
       color: #e5b514;
}

.img-button {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.btn-icon {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.btn-icon:hover {
    transform: translateY(-4px);
    color: #b02a37;
}
.img-button {
    width: 90px; /* tăng kích thước ảnh lên 1.5 lần */
    max-width: none; /* bỏ giới hạn max-width của img-fluid */
}
