/* Menu text keeps the original presentation after removing document heading semantics. */
.mj-header .mj-menu-top .mj-menu-title,
.mj-header .mj-topic-group .mj-topic-label {
  display: block;
  color: #292b28;
  letter-spacing: normal;
  margin: 0;
  max-width: none;
}
.mj-header .mj-menu-top .mj-menu-title {
  font-size: 23px;
  line-height: 1.6;
  font-weight: 600;
}
.mj-header .mj-topic-group .mj-topic-label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}
.mj-site:not(.v8-site) .mj-header .mj-menu-title { font-weight: 700; }
.mj-site:not(.v8-site) .mj-header .mj-topic-group .mj-topic-label { line-height: inherit; }
.mj-header .mj-topic-group > details > summary > .mj-topic-label {
  transform: none;
  transition: none;
  unicode-bidi: isolate;
}
.mj-header .mj-topic-group > .mj-topic-label {
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--mj-line);
}
.mj-site.page-about .mj-header :is(.mj-menu-title,.mj-topic-label) { text-wrap: pretty; }
@media (max-width: 760px) {
  .mj-header .mj-menu-top .mj-menu-title { font-size: 21px; }
  .mj-header .mj-topic-group > .mj-topic-label { font-size: 15px; }
}
