/* Header only. Load after the public V3 styles. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-formation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.header-formation:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-formation:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.header-actions .header-buy { margin-left: 0; white-space: nowrap; }

@media (max-width: 1100px) and (min-width: 981px) {
  .header-inner { gap: 16px; }
  .header-actions { gap: 7px; }
  .header-formation { padding-inline: 7px; font-size: 13px; }
}

@media (max-width: 980px) {
  .header-inner > .menu-toggle { margin-left: 0; flex: 0 0 auto; }
}

@media (max-width: 700px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 0; }
  .header-formation { min-height: 44px; padding: 6px; font-size: 13px; }
  .header-inner > .menu-toggle { width: 44px; height: 44px; }
  /* The existing mobile rule keeps header-buy hidden. The main purchase CTA stays on the page. */
}
