/* base */
.ht-page {
  padding: 0;
}

@media (min-width: 1100px) {
    .container {
        width: 1320px;
    }
}

.mh-page {
  font-family: 'Inter', sans-serif;
  color: #181d27;
}

.mh-page *,
.mh-page *::before,
.mh-page *::after {
  box-sizing: border-box;
}

.mh-page img {
  max-width: 100%;
}

.mh-page .container {
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* end base */

/*#region mh-banner*/
.mh-banner {
  position: relative;
  overflow: hidden;
  margin-top: -60px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.mh-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 70px 20px 60px;
  width: 100%;
}

.mh-banner-avatar {
  width: 150px;
  height: 150px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mh-banner-avatar-core img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.mh-banner-title {
  margin: 0;
  color: #fff;
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 42px;
  line-height: 54px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(24, 60, 120, 0.18);
}

.mh-banner-search {
  width: 100%;
  max-width: 924px;
  height: 56px;
  background: #fff;
  border: 3px solid #1482ff;
  border-radius: 9999px;
  box-shadow: 0 2px 20px rgba(131, 43, 255, 0.24);
  display: flex;
  align-items: center;
  padding-left: 16px;
}

.mh-banner-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
}

.mh-banner-search-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.mh-banner-search .hkb-site-search {
  flex: 1;
  max-width: none;
  margin: 0;
}

.mh-banner-search .hkb-site-search::after {
  display: none;
}

.mh-banner-search .hkb-site-search__field {
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: #333;
  padding: 14px 20px 14px 8px !important;
  border-radius: 9999px !important;
  min-width: 0;
}

.mh-banner-search .hkb-site-search__field::placeholder {
  color: #a4a7ae;
  font-size: 16px;
}

.mh-banner-search .hkb-site-search__button {
  display: none;
}

@media (max-width: 979px) {
  .mh-banner-title {
    font-size: 28px;
    line-height: 38px;
  }

  .mh-banner-inner {
    padding: 56px 16px 48px;
    gap: 24px;
  }
}

@media (max-width: 479px) {
  .mh-banner-title {
    font-size: 20px;
    line-height: 28px;
  }

  .mh-banner-search .hkb-site-search__field {
    font-size: 14px;
  }
}
/*#endregion*/

/*#region mh-stats*/
.mh-stats {
  background: #f4feff;
  padding: 64px 0;
}

.mh-stats-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mh-stats-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 32px;
  line-height: normal;
  color: #1f1f1f;
  text-align: center;
}

.mh-stats-title .is-gradient {
  background: linear-gradient(108deg, #1482ff 9%, #cf11ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mh-stats-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #00A2CF;
  border-radius: 8px;
  color: #00A2CF;
  font-family: 'Inter Medium', sans-serif;
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.mh-stats-detail svg {
  flex-shrink: 0;
}

.mh-stats-detail:hover {
  background: #f5f9ff;
}

.mh-stats-row {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.mh-stats-since {
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 32px;
  color: #1f1f1f;
  white-space: nowrap;
}

.mh-stats-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
}

.mh-stats-number {
  font-family: 'Inter ExtraBold', sans-serif;
  font-size: 64px;
  line-height: normal;
  background: linear-gradient(122deg, #1482ff 9%, #cf11ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mh-stats-label {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: normal;
  color: #1f1f1f;
}

@media (max-width: 979px) {
  .mh-stats-number {
    font-size: 44px;
  }

  .mh-stats-label {
    font-size: 18px;
  }

  .mh-stats-title {
    font-size: 24px;
  }
}

@media (max-width: 479px) {
  .mh-stats-number {
    font-size: 34px;
  }

  .mh-stats-label {
    font-size: 15px;
  }

  .mh-stats-since {
    font-size: 22px;
  }
}
/*#endregion*/

/*#region mh-cards*/
.mh-cards {
  padding: 64px 0;
}

.mh-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mh-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.mh-card-img {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #caf4fc;
}

.mh-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mh-card-title {
  color: #181d27;
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
}

.mh-card:hover .mh-card-title {
  color: #02a3ec;
}

@media (max-width: 979px) {
  .mh-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/*#endregion*/

/*#region mh-guide*/
.mh-guide {
  background: #f4feff;
  padding: 64px 0 74px;
}

.mh-guide .container {
  max-width: none;
  padding: 0;
  width: 100%;
}

.mh-guide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  /* design: 315px mỗi bên trên khung 1920 -> giữ nội dung 1290px ở giữa, co lại khi viewport hẹp */

}

.mh-guide-title {
  margin: 0;
  color: #181d27;
  font-family: 'Inter Bold', sans-serif;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
}

.mh-guide-tabs {
  max-width: 1290px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #d5d7da;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mh-guide-tabs::-webkit-scrollbar {
  display: none;
}

.mh-guide-tab {
  height: 64px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #d5d7da;
  border-radius: 8px 8px 0 0;
  color: #101828;
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.mh-guide-tab:hover:not(.is-active) {
  color: #0BA5EC;
}

.mh-guide-tab.is-active {
  border-bottom: 4px solid #2e90fa;
  color: #0BA5EC;
}

.mh-guide-panel {
  display: none;
  width: 100%;
}

.mh-guide-panel.is-active {
  display: block;
}

.mh-guide-slider {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.mh-guide-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
}

.mh-guide-track::-webkit-scrollbar {
  display: none;
}

/* Mỗi page là 2 hàng × 7 cột, nút điều hướng chuyển từng page */
.mh-guide-page {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 162px);
  grid-auto-rows: 162px;
  gap: 24px;
}

.mh-guide-item {
  width: 162px;
  height: 162px;
  background: #fff;
  border: 1px solid #d5d7da;
  border-radius: 16px;
  box-shadow: 0 0.5px 0.5px rgba(25, 33, 61, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.mh-guide-item-icon {
  width: 56px;
  height: 56px;
  border: 0.5px solid #d5d7da;
  border-radius: 12px;
  background: linear-gradient(186deg, #fafafa 16%, #f0f6fe 86%);
  box-shadow: inset 0 -1.17px 1.17px rgba(150, 161, 172, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mh-guide-item-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Đổi icon khi hover: chỉ áp dụng cho mục có bộ icon hover (tab 1, 2) */
.mh-guide-item-icon .mh-ic-hover {
  display: none;
}

.mh-guide-item.has-hover:hover .mh-guide-item-icon .mh-ic-normal {
  display: none;
}

.mh-guide-item.has-hover:hover .mh-guide-item-icon .mh-ic-hover {
  display: block;
}

/* Icon 2 lớp (vd: Kế toán): lớp glyph phủ lên trên, offset 18.75% như design */
.mh-guide-ic-stack {
  position: relative;
  width: 40px;
  height: 40px;
}

.mh-guide-ic-stack > img {
  display: block;
}

.mh-guide-ic-stack .mh-guide-ic-inner {
  position: absolute;
  left: 18.75%;
  top: 18.75%;
  width: 62.5%;
  height: 62.5%;
}

.mh-guide-item-label {
  color: #717680;
  font-family: 'Inter Medium', sans-serif;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.mh-guide-item:hover,
.mh-guide-item.is-highlight {
  border: 1.5px solid #3dc9f9;
  box-shadow: 0 5px 7.5px rgba(74, 58, 255, 0.06);
}

.mh-guide-item:hover .mh-guide-item-icon,
.mh-guide-item.is-highlight .mh-guide-item-icon {
  background: linear-gradient(180deg, #3dc9f9 0%, #02a3ec 100%);
  border-color: #99c5f7;
  box-shadow: 0 2px 2.5px rgba(74, 58, 255, 0.25);
}

.mh-guide-item:hover .mh-guide-item-label {
  color: #181d27;
}

.mh-guide-nav {
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  box-shadow: 0 8px 11px rgba(141, 141, 141, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.mh-guide-nav img {
  width: 11px;
  height: 19px;
}

.mh-guide-nav--prev {
  left: -66px;
}

.mh-guide-nav--prev img {
  transform: rotate(180deg);
}

.mh-guide-nav--next {
  right: -66px;
}

.mh-guide-nav:hover {
  background: #fff;
}

.mh-guide-nav.is-disabled {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 8px rgba(141, 141, 141, 0.12);
  cursor: default;
}

.mh-guide-nav.is-disabled:hover {
  background: rgba(255, 255, 255, 0.55);
}

.mh-guide-nav.is-disabled img {
  opacity: 0.4;
}

/* Khi viewport hẹp không đủ chỗ 2 bên grid, kéo nút vào trong */
@media (max-width: 1408px) {
  .mh-guide-nav--prev {
    left: -8px;
  }

  .mh-guide-nav--next {
    right: -8px;
  }
}

@media (max-width: 979px) {
  .mh-guide-inner {
    padding: 0 16px;
  }

  .mh-guide-title {
    font-size: 24px;
    line-height: 34px;
  }

  .mh-guide-tab {
    font-size: 16px;
    padding: 8px 14px;
    min-width: 140px;
  }
}

@media (max-width: 620px) {
  .mh-guide-page {
    grid-template-columns: repeat(3, 162px);
    grid-auto-rows: auto;
  }

  .mh-guide-item {
    height: 162px;
  }
}

@media (max-width: 479px) {
  .mh-guide-page {
    grid-template-columns: repeat(3, 140px);
  }

  .mh-guide-item {
    height: 140px;
    padding: 16px 8px;
  }

  .mh-guide-tab {
    font-size: 14px;
    min-width: 110px;
    height: 48px;
    padding: 6px 10px;
  }
}
/*#endregion*/

/*#region mh-videos*/
.mh-videos {
  padding: 64px 0;
  background: #fff;
}

/* 4 card 300px + gap 24 = 1272 -> cần nội dung 1280px */
.mh-videos .container {
  max-width: 1320px;
}

.mh-videos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.mh-videos-title {
  margin: 0;
  color: #181d27;
  font-family: 'Inter Bold', sans-serif;
  font-size: 32px;
  line-height: 40px;
}

.mh-videos-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #00A2CF;
  border-radius: 8px;
  color: #00A2CF;
  font-family: 'Inter Medium', sans-serif;
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.mh-videos-all img {
  width: 20px;
  height: 20px;
}

.mh-videos-all:hover {
  background: #f5f9ff;
}

.mh-videos-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mh-video-card {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.mh-video-thumb {
  position: relative;
  height: 169px;
  border: 1.5px solid #3990ff;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f6fa;
  box-shadow: 0 5px 15px rgba(74, 58, 255, 0.06);
}

.mh-video-thumb img.mh-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mh-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-video-play img {
  width: 24px;
  height: 24px;
}

.mh-video-card:hover .mh-video-play {
  background: rgba(0, 0, 0, 0.5);
}

.mh-video-label {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  background: #fff;
  border: 1px solid #c5cbde;
  border-radius: 12px;
  box-shadow: 0 5px 7.5px rgba(74, 58, 255, 0.06);
}

.mh-video-label--brand {
  border-color: #3dc9f9;
}

.mh-video-label span {
  flex: 1;
  color: #19213d;
  font-family: 'Inter SemiBold', sans-serif;
  font-size: 13px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mh-video-label img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: grayscale(1) brightness(1.5);
}

.mh-video-card:hover .mh-video-label img {
  filter: none;
}

.mh-video-card:hover .mh-video-label  {
  border: 1px solid #3DC9F9;
}

@media (max-width: 979px) {
  .mh-videos-title {
    font-size: 24px;
  }
}

@media (max-width: 599px) {
  .mh-videos-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mh-video-card {
    width: 100%;
    max-width: 340px;
  }
}
/*#endregion*/

/*#region mh-support*/
.mh-support {
  background: linear-gradient(180deg, #3dc9f9 0%, #02a3ec 100%);
  padding: 64px 0;
}

.mh-support-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mh-support-title {
  margin: 0;
  color: #fff;
  font-family: 'Inter Bold', sans-serif;
  font-size: 32px;
  line-height: 40px;
  text-align: center;
}

.mh-support-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.mh-support-item {
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mh-support-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mh-support-item span {
  color: #fff;
  font-family: 'Inter Medium', sans-serif;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.mh-support-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 979px) {
  .mh-support-title {
    font-size: 24px;
  }

  .mh-support-item {
    min-width: 150px;
  }
}
/*#endregion*/
