#topNav ul li.ks-nav-resources {
  overflow: visible;
}

#topNav .ks-nav-resources summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 16px;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}

#topNav .ks-nav-resources summary::-webkit-details-marker {
  display: none;
}

#topNav .ks-nav-resources summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

#topNav .ks-nav-resources details[open] > summary {
  color: #007e7c;
}

#topNav .ks-nav-resources details[open] > summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

#topNav .ks-nav-resources.s summary,
#topNav .ks-nav-resources summary:hover {
  color: #007e7c;
}

#topNav .ks-nav-resources summary:focus-visible,
#topNav .ks-nav-resources a:focus-visible {
  outline: 2px solid #007e7c;
  outline-offset: -2px;
}

.ks-nav-resources-panel {
  position: absolute;
  z-index: 1;
  inset-block-start: 100%;
  inset-inline-start: 0;
  min-width: 160px;
  padding: 5px;
  border: 1px solid #dce5ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px #0e22331c;
}

#topNav .ks-nav-resources-panel a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  color: #0e2233;
  font-size: 15px;
  line-height: 1.5;
}

#topNav .ks-nav-resources-panel a:hover,
#topNav .ks-nav-resources-panel a[aria-current] {
  background: #eef7f7;
  color: #007e7c;
}

@media (min-width: 1201px) {
  body:has(#homeSlider) #topNav .ks-nav-resources summary {
    font-size: clamp(13px, 0.95vw, 16px);
  }
}

@media (max-width: 1200px) {
  #topNav .ks-nav-resources summary {
    justify-content: space-between;
    font-size: 15px;
  }

  .ks-nav-resources-panel {
    position: static;
    margin-bottom: 8px;
    padding: 0 0 0 10px;
    border: 0;
    border-inline-start: 2px solid #dce5ea;
    border-radius: 0;
    box-shadow: none;
  }
}