.main-nav {
  display: flex;
  align-items: center;
}

.main-nav > a[aria-current="page"],
.nav-dropdown > summary[aria-current="page"] {
  color: #123b9c;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  color: #37435b;
  cursor: pointer;
  font-size: .79rem;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  padding-left: 6px;
  color: #123b9c;
  content: "⌄";
}

.service-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 18px);
  left: -14px;
  display: grid;
  width: 270px;
  max-height: min(70vh, 500px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #e5e9f1;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 30, 83, .15);
}

.service-menu a {
  padding: 9px 11px;
  border-radius: 4px;
  color: #39455a;
  font-size: .8rem;
  font-weight: 650;
}

.service-menu a:hover,
.service-menu a[aria-current="page"] {
  background: #f1f4fb;
  color: #123b9c;
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid #e5e9f1;
  }

  .nav-dropdown > summary {
    padding: 11px 3px;
    font-size: .86rem;
  }

  .service-menu {
    position: static;
    width: 100%;
    max-height: 260px;
    padding: 5px 9px 8px;
    border: 0;
    border-radius: 0;
    background: #f5f7fc;
    box-shadow: none;
  }

  .service-menu a {
    padding: 8px 10px;
  }
}
