:host ::slotted(button),
:host ::slotted(a) {
  all: unset;
  box-sizing: border-box;
  background-color: var(--tds-header-background);
  border-right: 1px solid var(--tds-header--basic-element-border);
  width: 100%;
  height: 100%;
  cursor: pointer;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
:host ::slotted(button) *,
:host ::slotted(a) * {
  box-sizing: border-box;
}
:host ::slotted(button:hover),
:host ::slotted(a:hover) {
  background-color: var(--tds-header-item-hover);
  box-shadow: inset 0 -2px 0 0 var(--tds-header-item-border-hover);
}
:host ::slotted(button:active),
:host ::slotted(a:active) {
  background-color: var(--tds-header-item-active);
  box-shadow: inset 0 -2px 0 0 var(--tds-header-item-border-active);
}
:host ::slotted(button:focus-visible),
:host ::slotted(a:focus-visible) {
  border: none;
  margin-right: 1px;
  outline: 2px solid var(--tds-focus-outline-color);
  box-shadow: inset 0 0 0 3px var(--tds-white);
  outline-offset: -2px;
}
:host .component-active ::slotted(button),
:host .component-active ::slotted(a) {
  background-color: var(--tds-header--basic-element-background-open);
  color: var(--tds-header-nav-item-dropdown-opened-color);
  border-color: var(--tds-header--basic-element-border-open);
}
:host .component-selected:not(.component-active) ::slotted(button),
:host .component-selected:not(.component-active) ::slotted(a) {
  box-shadow: inset 0 -4px 0 0 var(--tds-header-item-border-hover);
}
:host .component-selected:not(.component-active) ::slotted(button:focus-visible),
:host .component-selected:not(.component-active) ::slotted(a:focus-visible) {
  box-shadow: inset 0 0 0 3px var(--tds-white);
}