/* Shared header layout for the homepage and content pages. */
.top .nav {
  position: relative;
}
.top .mobile {
  display: none;
}
.top .mobile-panel {
  display: none;
}
@media (max-width: 1100px) {
  .top .nav {
    min-height: 88px;
    gap: 16px;
  }
  .top .links {
    display: none;
  }
  .top .brand-image,
  .top .logo {
    width: 245px;
    max-width: calc(100% - 100px);
    flex: 0 1 245px;
  }
  .top .mobile {
    display: block;
    flex: none;
    margin-left: auto;
  }
  .top .mobile summary {
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid #79948b;
    border-radius: 4px;
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
  }
  .top .mobile summary::-webkit-details-marker {
    display: none;
  }
  .top .mobile summary:focus-visible,
  .top .mobile-panel a:focus-visible {
    outline: 3px solid #2cad6d;
    outline-offset: 3px;
  }
  .top .mobile[open] .mobile-panel {
    display: grid;
    position: absolute;
    top: 100%;
    right: 0;
    width: min(320px, calc(100vw - 40px));
    max-height: 70vh;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #d7e1dd;
    border-radius: 4px;
    background: #fff;
    color: #17313b;
    box-shadow: 0 12px 30px #17313b2b;
    z-index: 20;
  }
  .top .mobile-panel a {
    display: block;
    padding: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
  }
  .top .mobile-panel a:hover {
    background: #ecf2ed;
  }
}
@media (max-width: 620px) {
  .top .nav {
    min-height: 77px;
  }
  .top .brand-image,
  .top .logo {
    width: 175px;
    flex-basis: 175px;
  }
}
