/* Official banner — thin dark-blue bar above the header confirming this is a
   genuine government service. Markup: <div class="govbb-official-banner">
   wrapping <div class="govbb-width-container govbb-official-banner__inner">
   with a __crest (the decorative __icon image, alt="") and a __text row
   holding the message and an optional __link. */

.govbb-official-banner {
  /* dark band: links inside go white; hover is the teal tint with dark
     teal text, per the Figma links sheet (the link component reads these) */
  --govbb-link-color: currentcolor;
  --govbb-link-hover-color: var(--govbb-teal-ink);
  --govbb-link-hover-bg: var(--govbb-teal-10);

  color: var(--govbb-color-surface);
  background: var(--govbb-color-brand);
}

.govbb-official-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--govbb-space-xs);
  padding-block: var(--govbb-space-xs);
  font-size: var(--govbb-font-size-body-sm);
}

.govbb-official-banner__crest {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.govbb-official-banner__icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 1.5rem; /* 24px, in rem so the crest scales with text zoom */
}

.govbb-official-banner__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--govbb-space-s);
}

/* Link colours come from the banner's link variables above. */
.govbb-official-banner__link:hover {
  text-decoration: none;
}
