.commission-mobile-brand {
  display: none;
}

@media (max-width: 767.98px) {
  body.commission-section-page .site-navbar .commission-mobile-brand {
    display: grid;
    width: 46px;
    height: 46px;
    margin-right: 10px;
    margin-left: auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  }

  body.commission-section-page .site-navbar .commission-mobile-brand img {
    width: 39px;
    height: 39px;
    object-fit: contain;
    filter: drop-shadow(0 3px 7px rgba(0, 20, 55, .22));
  }

  body.commission-section-page .site-navbar .commission-mobile-brand:hover,
  body.commission-section-page .site-navbar .commission-mobile-brand:focus {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .13);
    outline: 0;
  }

  body.commission-section-page .masthead {
    min-height: 0;
    padding: 8px 0;
    overflow: hidden;
    border-bottom: 1px solid #d9e3ee;
    background: #f6f9fc;
  }

  body.commission-section-page .masthead::before,
  body.commission-section-page .masthead::after {
    display: none;
  }

  body.commission-section-page .masthead > .sapl-shell-container,
  body.commission-section-page .masthead > .container {
    display: block;
    min-height: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  body.commission-section-page .masthead .navbar-header {
    display: none;
  }

  body.commission-section-page .masthead .site-subnav {
    width: 100%;
    max-width: none;
    padding: 0 0 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.commission-section-page .masthead .site-subnav::-webkit-scrollbar {
    display: none;
  }

  body.commission-section-page .site-subnav > .nav,
  body.commission-section-page .site-subnav > ul {
    display: flex;
    width: 100%;
    min-width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
  }

  body.commission-section-page .site-subnav .nav-item {
    min-width: 0;
    flex: 1 0 auto;
  }

  body.commission-section-page .site-subnav .nav-link,
  body.commission-section-page .site-subnav a.nav-link {
    width: 100%;
    min-height: 38px;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #45617d;
    background: transparent;
    box-shadow: none;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
  }

  body.commission-section-page .site-subnav .nav-link.active,
  body.commission-section-page .site-subnav .nav-item.active > .nav-link,
  body.commission-section-page .site-subnav .active > a {
    border-color: #1765aa;
    color: #fff;
    background: #1765aa;
    box-shadow: 0 5px 12px rgba(23, 101, 170, .18);
  }

  body.commission-section-page main#content {
    padding-top: 12px;
  }
}

@media (max-width: 380px) {
  body.commission-section-page .site-navbar .commission-mobile-brand {
    margin-right: 6px;
  }

  body.commission-section-page .masthead > .sapl-shell-container,
  body.commission-section-page .masthead > .container {
    padding-right: 8px;
    padding-left: 8px;
  }

  body.commission-section-page .site-subnav .nav-link,
  body.commission-section-page .site-subnav a.nav-link {
    min-height: 36px;
    padding: 0 9px;
    font-size: .68rem;
  }
}
