header nav { gap: 16px; flex-wrap: wrap; }
.home-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.home-actions .btn { padding: 9px 12px; white-space: nowrap; line-height: 20px; }
#home-portals { position: relative; }
#home-portals summary { cursor: pointer; list-style: none; }
#home-portals summary::-webkit-details-marker { display: none; }
.home-portals-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto auto;
  min-width: 190px;
  padding: 6px;
  background: white;
  border: 1px solid #cfdfdd;
  border-radius: 12px;
  box-shadow: 0 12px 32px #124c601c;
  z-index: 20;
}
.home-portals-menu a { display: block; padding: 10px 12px; border-radius: 7px; }
.home-portals-menu a:hover, .home-portals-menu a:focus-visible { background: #eaf4f0; }
@media (max-width: 1050px) {
  header { flex-wrap: wrap; }
  header nav { order: 3; }
}
@media (max-width: 520px) {
  .home-actions { width: 100%; gap: 6px; }
  .home-actions .btn { font-size: 13px; padding: 8px; gap: 5px; }
  .home-portals-menu { left: 0; right: auto; }
}
