@charset "UTF-8";

/* Menu sidebar */
@media (min-width: 768px) {
  .sidebar-scroll {
    position: sticky !important;
    top: 5rem !important;
    max-height: calc(100vh - 6rem) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .sidebar-menu-body {
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    min-height: 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .sidebar-menu-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

@media (max-width: 767.98px) {
  .sidebar-scroll {
    position: static !important;
    max-height: none !important;
    display: block !important;
  }

  .sidebar-menu-body {
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
  }
}

/* Hạ tiêu đề xuống dưới menu ngang khi nhảy neo */
article h2,
article h3,
[id^="article"] {
  scroll-margin-top: 5rem;
}

/* Hình trong content */
.content-area img {
  max-width: 100%;
  height: auto;
}
