/* Script-driven menu items render as buttons. Drop the button chrome and
 * match the base link style; the menu's own link class (this selector has
 * zero specificity) still decides how they look. */
:where(.menu-link--button) {
  padding: 0;
  border: 0;
  background: none;
  color: var(--link-color, currentcolor);
  font: inherit;
  text-align: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

:where(.menu-link--button):hover {
  text-decoration-thickness: 2px;
}
