.blog-card-modern {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}
.blog-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 1.5rem rgba(0,0,0,0.1) !important;
}
/* CSS cho page header */
.page-header {
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  color: #fff !important;
}
.page-header nav {
  display: flex;
  justify-content: center;
}

.breadcrumb {
  margin-top: 10px; /* bạn có thể tăng/giảm */
}

/* ====Mobile==== */
@media (max-width: 768px) {

  /* .col-lg-4 {
    display: none;
  } */

  .col-md-6 {
    width: 100% !important;
  }

  .blog-card-modern {
    display: flex !important;
    flex-direction: row !important;

    align-items: stretch; /* 🔥 ảnh chạm đáy */

    gap: 14px;

    background: #fff !important;
    padding: 12px !important;
    margin-bottom: 14px;

    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
  }

  /* ẢNH */
  .blog-card-modern .card-img-top {
    width: 100px !important;
    height: 100% !important;   /* 🔥 full card */
    min-width: 100px;

    object-fit: cover;
    border-radius: 12px;
  }

  /* BODY */
  .blog-card-modern .card-body {
    padding: 0 6px 5px 0 !important; /* 🔥 cách đáy 5px */

    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* TITLE */
  .blog-card-modern h5 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;

    overflow: visible !important;
  }

  /* META */
  .blog-card-modern .text-muted {
    font-size: 10px;
  }

  .featured-image-wrapper {
    overflow: hidden;  
    height: 250px !important;      /* 👈 chỉnh tại đây */
    width: 100%;
    object-fit: cover;
  }


  /* card nhìn gọn hơn */
  .card.shadow-lg {
    overflow: hidden;
  }

  /* body bớt padding cho mobile */
  .card.shadow-lg .card-body {
    padding: 18px !important;
  }

  .main-img {
    overflow: hidden;  
    height: 300px !important;      /* 👈 chỉnh tại đây */
    width: 100%;
    object-fit: cover;
  }
}   

.featured-image-wrapper {
    overflow: hidden;  
    height: 400px;      
    width: 100%;
    object-fit: cover;
} 
.card.shadow-lg {
    border-radius: 6px;
    overflow: hidden;
}
.post-content-card .text-muted {
    font-size: 15px;
}

.main-img {
    overflow: hidden;  
    height: 400px !important;      /* 👈 chỉnh tại đây */
    width: 100%;
    object-fit: cover;
}





