/* ==========================================================================
   FOOTER LAPTOP (1024px - 1280px)
   ========================================================================== */
@media ((max-width: 1280px) and (min-width: 1024px)) {
  .site-footer {
    grid-row: 3;
    width: 100%;
    background-color: #005498;
    color: #ffffff;
  }

  /* Sub-footer (Phần thông tin bổ sung bên dưới) */
  .sub-footer-bg {
    width: 100%;
    background-color: #e0ecff;
    color: #333;
  }

  .sub-footer-bg .container {
    max-width: 1280px;
  }

  .sub-footer-bg .row {
    margin: 0px;
  }

  .sub-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 20px;
  }

  /* 3. Ẩn các đường kẻ dọc không cần thiết trên mobile */
  .sub-footer .vertical-line {
    display: none;
  }

  .sub-footer1 {
    width: 25%;
    flex: 1;
    position: relative;
    padding: 5px;
  }

  /* 4. Định dạng lại các dòng chữ để dễ đọc hơn */
  .sub-footer1 span {
    display: block; /* Biến mỗi span thành một dòng riêng */
    padding-left: 0 !important; /* Reset lại padding-left inline */
    margin-bottom: 8px; /* Tạo khoảng cách giữa các dòng */
    text-align: left;
    /* DÙNG DÒNG NÀY ĐỂ CHỮ LINH HOẠT */
    font-size: clamp(11px, 3.5vw, 14px);
  }

  /* Giữ lại cấu trúc cho các dòng có icon đầu dòng */
  .sub-footer1 span[style*="display: flex"] {
    display: flex !important;
    padding-left: 15px !important; /* Giữ lại một chút thụt lề */
  }

  /* 1. Bố cục chung & Font chữ */
  .footer {
    padding-top: 15px;
    padding-bottom: 5px;
    text-align: left; /* Căn chữ về bên trái làm mặc định */
  }

  .footer h5 {
    font-size: 16px; /* Cho tiêu đề chính to hơn một chút */
    font-weight: bold;
  }

  .footer h6 {
    font-size: 15px;
  }

  .footer .container {
    max-width: 1280px;
  }

  /* 2. Ép các cột thành hàng dọc */
  .footer .row > [class*="col-"] {
    /* Quan trọng: Buộc tất cả các cột chiếm 100% chiều rộng */
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px; /* Thêm khoảng cách nhỏ giữa các dòng */
  }

  .com-footer {
    font-size: 0.9em;
    padding-right: 0px;
  }

  .com-footer h6 {
    font-weight: 760;
  }

  .support-footer {
    padding-top: 25px;
    font-size: 0.9em;
    padding-right: 0px;
    padding-left: 0px;
  }

  .branch-footer h6 {
    font-weight: 760;
  }

  .branch-footer {
    font-size: 0.9em;
    padding-right: 0px;
    padding-left: 0px;
  }

  .com-name-footer {
    font-size: 1em; /* 10% chiều rộng màn hình */
    white-space: nowrap; /* Ngăn xuống dòng */
    font-weight: 650;
  }

  .license-footer {
    font-size: 0.9em;
  }

  .horizontal-line {
    margin: 0px; /* Khoảng cách */
    padding: 5px; /* Khoảng trống bên trong div */
  }

  .footer-title {
    font-weight: 700;
  }

  .footer-chil {
    padding-left: 12px;
  }
  .footer-chil-last {
    padding-left: 40px;
  }
  .footer-chil-date {
    padding-left: 12px;
    font-weight: 600;
  }
  .footer-i {
    font-size: 7px;
    height: 100%;
  }

  .footer-address {
    display: flex;
    justify-content: space-between;
  }
}
