.group-box { margin-bottom: 30px; }
.group-title { 
  font-weight: bold; 
  margin-bottom: 5px; 
  text-transform: uppercase; 
  height: 2.4em;      /* 2 dòng * line-height */
  line-height: 1.2em; /* điều chỉnh theo font-size */
  overflow: hidden;   /* cắt chữ nếu dài quá */
}
#group-image {
    width: 253px;
    height: 160px;
    object-fit: cover;   /* Zoom to fill */
    border-radius: 5px;  /* Bo nhẹ góc (tùy bạn) */
}
.group-body {
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 30px;
  background-color: #d1ecf1;
  border-radius:0.3em;
}
.group-header {
  display: flex;
  flex-direction: column; /* xếp dọc: ảnh trên, title dưới */
  align-items: center;   /* căn giữa theo chiều ngang */
  justify-content: center; /* căn giữa theo chiều dọc (nếu có height) */
  text-align: center;
}
.item-box { border: 1px solid #ddd; padding: 10px; border-radius: 5px; margin-bottom: 10px; }
.item-image { max-width: 100%; height: auto; }
.box-shadow {
      box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* bóng nhẹ */
      background-color: #fff;
}
.card-title {
color: darkorange;
}

body {
      font-family: 'Aleo', sans-serif !important;
}

/* Mặc định: header fixed-top */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030; /* giống bootstrap */
}

/* Mobile: bỏ fixed cho header */
@media (max-width: 768px) {
  #header {
    position: relative !important;
  }

  /* Nút toggle giữ cố định */
  #header .navbar-toggler {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1050;
    background-color: #343a40; /* nền trùng màu navbar */
  }

    /* Menu xổ xuống dưới toggle */
  #navbarCollapse {
    position: fixed;
    top: 55px; /* ngay dưới toggle button */
    left: 0;
    right: 0;
    background: #343a40; /* nền trùng màu navbar */
    z-index: 1040;
    padding: 10px;
  }
}


/* Ẩn radio mặc định */
.checkbox-lg input[type="radio"] {
    display: none;
}

/* Label tùy chỉnh */
.checkbox-lg label {
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    display: inline-block;
}

/* Hộp radio custom (nhìn như checkbox) */
.checkbox-lg label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border: 2px solid #337ab7;
    border-radius: 4px; /* Giữ như checkbox */
    background-color: white;
    transition: all 0.2s;
}

/* Hover hiệu ứng */
.checkbox-lg label:hover:before {
    background-color: #f0f8ff;
}

/* Khi selected */
.checkbox-lg input[type="radio"]:checked + label:before {
    background-color: #337ab7;
    border-color: #337ab7;
}

/* Dấu tick */
.checkbox-lg input[type="radio"]:checked + label:after {
    content: "\2714"; /* tick */
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 20px;
    color: white;
}