.projects-nav { position: relative; display: flex; align-items: center; }
.projects-nav button { display: grid; place-items: center; width: 26px; min-height: 32px; padding: 0; background: transparent; border: 0; color: inherit; cursor: pointer; }
.projects-nav button::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.projects-nav button[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.projects-nav ul { position: absolute; top: 100%; right: 0; z-index: 2; box-sizing: border-box; width: max-content; max-width: calc(100vw - 36px); margin: 0; padding: 5px 0; list-style: none; border: 1px solid currentColor; background: white; }
.projects-nav ul[hidden] { display: none; }
.projects-nav li a { display: block; padding: 8px 14px; min-height: 0; color: inherit; white-space: normal; text-align: left; }
.projects-nav li a:hover, .projects-nav li a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 750px) {
  .projects-nav ul { left: 0; right: auto; }
  .projects-nav button { min-height: 44px; width: 30px; }
  .projects-nav li a { box-sizing: border-box; display: flex; align-items: center; min-height: 44px; }
}
