/*
 * The header's contact button beside the burger, so it stays in view on small
 * screens. Themes display `.nv-header-action` below their menu breakpoint: a
 * copy of their header button that reads "Contact" (newvega-core.php), which
 * they size there. header-action.js adds `is-compact` when even that label does
 * not fit between the logo and the burger: an envelope then stands in for it.
 * `is-hidden` leaves it to the menu panel when not even the envelope fits.
 */
.nv-header-action {
  display: none;
  flex: 1 1 0;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.nv-header-action > ul {
  flex: none;
}
.nv-header-action a {
  white-space: nowrap;
}
.nv-header-action.is-compact a[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nv-action-size, 44px);
  min-width: 0;
  height: var(--nv-action-size, 44px);
  min-height: 0;
  padding: 0;
  gap: 0;
  font-size: 0;
}
.nv-header-action.is-compact a[href] > *,
.nv-header-action.is-compact a[href]::after {
  display: none;
}
.nv-header-action.is-compact a[href]::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nv-header-action.is-hidden {
  visibility: hidden;
}
