/* Compact header — 2026-11-21
   Icon-only account/trip controls, tighter action row, and the services
   dropdown in place of the full-width mega panel.
   Remove the enqueue in functions.php to revert (originals in backup/2026-11-21-mega-header/). */

.st-header__actions {
  gap: 8px;
}

.st-header__cta {
  padding-inline: 18px;
}

/* Keep the labels for screen readers, drop them from the visual row. */
.st-header__account .st-account-link__label,
.st-header__trip .st-trip-link__label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.st-header__account,
.st-header__trip {
  padding-inline: 10px;
}

/* Eight flat links must fit next to the actions. */
.st-nav {
  gap: 4px;
}

.st-nav__link {
  padding-inline: 10px;
}

/* Between the drawer breakpoint and a wide desktop the eight links need a
   little air; otherwise the row overflows. */
@media (max-width: 1330px) and (min-width: 1141px) {
  .st-nav {
    gap: 0;
  }

  .st-nav__link {
    padding-inline: 7px;
    font-size: 14.5px;
  }

  .st-header__cta {
    padding-inline: 14px;
    font-size: 14.5px;
  }
}
