/* Page-local corrections to the existing homepage chrome. */
@media (min-width: 861px) {
  body #oj-home-header[data-bm-menu-dismissed="true"] .sub-menu {
    display: none !important;
  }
}
@media (max-width: 860px) {
  body #oj-home-header .brand-image-mark {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }
  body #oj-home-header .brand-image-mark img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
  }
  body #oj-home-header .site-nav.is-open .nav-list .sub-menu {
    display: grid !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    padding: 12px !important;
    box-sizing: border-box;
    box-shadow: none !important;
  }
  body #oj-home-header .site-nav.is-open .nav-mega-menu__groups {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  body #oj-home-header .site-nav.is-open .sub-menu a {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}
