/**
 * Redirect banner.
 *
 * Mobile-first: the prototype switches padding at the mobile breakpoint, so the
 * narrow values are the base and the wider ones come in at 768px.
 */

.dc-redirect-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--space-2) var(--space-4);
  background: var(--digicel-red);
  color: var(--fg-on-red);
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-body);
  text-align: center;
}

.dc-redirect-banner__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding-bottom: 1px;
  border-bottom: 1.5px solid var(--digicel-white);
  color: var(--fg-on-red);
  text-decoration: none;
  white-space: nowrap;
}

.dc-redirect-banner__link:hover,
.dc-redirect-banner__link:focus {
  color: var(--fg-on-red);
  text-decoration: none;
}

@media (min-width: 768px) {
  .dc-redirect-banner {
    padding: 10px var(--space-6);
  }
}
