/* Giữ logo vuông luôn nằm gọn trong thanh điều hướng. */
.site-header .brand {
  flex: 0 0 auto;
  max-width: 230px;
}

.site-header .brand .brand-logo {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 50%;
}

/* Tên resort là chữ HTML để luôn sắc nét và không bị lỗi chính tả trong ảnh. */
.site-header .brand > span {
  display: grid;
}

@media (max-width: 640px) {
  .site-header .brand {
    max-width: 185px;
  }

  .site-header .brand .brand-logo {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }

  .site-header .brand strong {
    font-size: 16px;
  }
}

/* Logo trong khu vực quản trị. */
.admin-sidebar .brand,
.admin-login-card .brand {
  display: inline-flex;
  width: fit-content;
}

.admin-brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  max-width: 44px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

.admin-sidebar .brand,
.admin-login-card .brand {
  align-items: center;
  gap: 10px;
}

.admin-sidebar .brand > span,
.admin-login-card .brand > span {
  display: grid;
  gap: 1px;
}

.admin-sidebar .brand small,
.admin-login-card .brand small {
  font-size: 8px;
  letter-spacing: .12em;
}

.admin-login-card .admin-brand-mark {
  width: 48px;
  height: 48px;
  max-width: 48px;
}
