.header-home:focus-visible {
  outline: 3px solid #6b7cec;
  outline-offset: 3px;
}
@media screen and (min-width: 761px) and (max-width: 960px) {
  .site-shell .topbar {
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 10px;
  }
  .site-shell .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  .site-shell .nav-links a {
    flex: 0 0 auto;
    min-height: 30px;
  }
}
@media screen and (max-width: 820px) {
  .site-header[data-wechat-header] {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }
  .site-header > nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }
  .site-header > nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 36px;
  }
}
@media screen and (max-width: 767px) {
  .eg-header[data-wechat-header] {
    height: 112px;
    flex-wrap: wrap;
    align-content: center;
    gap: 8px;
    padding-block: 10px;
  }
  .eg-header .eg-brand { flex: 1 1 0; min-width: 0; }
  .eg-brand > span { min-width: 0; }
  .eg-brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .eg-header .eg-header-links {
    display: flex;
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }
  .eg-header-links a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 30px;
  }
  .eg-layout { min-height: calc(100vh - 112px); }
  .eg-sidebar { top: 112px; }
  .eg-backdrop.is-open {
    inset-block-start: 112px;
    height: calc(100dvh - 112px);
  }
}
