/* Keep Chinese course breadcrumbs on one swipeable line across grades. */
.ai-profile-page.education-learning-page .learning-breadcrumb {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  touch-action: pan-x;
}

.ai-profile-page.education-learning-page .learning-breadcrumb::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.ai-profile-page.education-learning-page .learning-breadcrumb::-webkit-scrollbar-track,
.ai-profile-page.education-learning-page .learning-breadcrumb::-webkit-scrollbar-thumb {
  display: none !important;
  background: transparent !important;
}

.ai-profile-page.education-learning-page .learning-breadcrumb > * {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

@media (orientation: portrait) and (min-width: 768px) and (max-width: 1100px) {
  .ai-profile-page.education-learning-page > .page-container {
    display: block;
  }

  .ai-profile-page.education-learning-page .main-content {
    margin-left: 0 !important;
  }

  .ai-profile-page.education-learning-page .main-content > .big-header-banner > #header {
    left: 0 !important;
    right: 0 !important;
  }
}
