.union-info-box {
  padding: 1.25rem;
  background-color: var(--color-card-bg);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--color-shadow);
  font-size: 1rem;
}

.union-info-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

/* .union-sidebar's flex column otherwise stretches this to the sidebar's
own full width (up to 60rem in stacked mode) -- capped here so a union
with just one or two links doesn't render as a giant edge-to-edge button.
width, not max-width: the link buttons' own content is far narrower than
45rem, so a plain max-width has nothing to constrain -- the box just
shrinks to fit its content regardless of how big max-width is. min(45rem,
100%) forces it to actually render at 45rem, while still shrinking on
anything narrower than that (mobile) instead of overflowing. */
.union-info-box--links {
  width: min(24rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.union-info-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  margin: 0 -0.6rem;
  border-radius: 8px;
  word-break: break-word;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.union-info-link::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  border-radius: 999px;
  background-color: var(--accent-color, var(--color-border));
}

.union-info-link:hover,
.union-info-link:focus-visible {
  background-color: color-mix(in srgb, var(--accent-color, var(--color-border)) 15%, transparent);
  color: var(--accent-color, var(--color-text));
}

.union-info-box--contact > .union-info-link:first-of-type {
  margin-top: -0.5rem;
}

.union-info-link--signup {
  display: block;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--color-bg);
  background-color: var(--accent-color, var(--color-purple));
  border-radius: 8px;
  padding: 0.6rem 1rem;
  margin: 0;
}

.union-info-link--signup::before {
  content: none;
}

.union-info-link--signup + .union-info-link--signup {
  margin-top: 0.6rem;
}

.union-info-link--signup:hover,
.union-info-link--signup:focus-visible {
  background-color: var(--accent-color, var(--color-purple));
  color: var(--color-bg);
  opacity: 0.85;
}
