/* Shown on every page while a staff member is using the site as another person.
   It sits in normal flow at the top of the page, so it never covers the header,
   the navigation, or a focused control, and the whole reason is always shown. */
.impersonation-banner {
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  border-bottom: 3px solid var(--black);
}

.impersonation-banner__heading {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.impersonation-banner__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
}

.impersonation-banner__details div {
  display: flex;
  gap: 0.4rem;
}

.impersonation-banner__details dt {
  font-weight: 600;
}

.impersonation-banner__details dt::after {
  content: ":";
}

.impersonation-banner__details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.impersonation-banner__long {
  flex-basis: 100%;
}
