/* Standards and privacy badges, shared by the Colophon and the Privacy Policy.
   Moved unchanged from colophon.css (2026-11-29). */

.badge-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.6rem;
}

.status-badge {
  display: inline-flex;
  align-items: stretch;
  min-height: 2.45rem;
  border: 1px solid rgba(42, 120, 72, 0.26);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(24, 58, 34, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.status-badge span,
.status-badge strong {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.68rem;
  line-height: 1;
}

.status-badge span {
  color: #f8fff8;
  background: #2f6f43;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-badge strong {
  color: #13361f;
  background: #f7fff7;
  font-size: 0.82rem;
}

.status-badge.status-w3c span {
  background: #1f5f36;
}

.status-badge.status-w3c strong {
  background: #f4fff6;
}

.status-badge.status-check strong {
  background: #f8fff8;
}

.status-badge:hover,
.status-badge:focus {
  border-color: rgba(42, 120, 72, 0.46);
  box-shadow: 0 12px 24px rgba(24, 58, 34, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}

html.theme-dark .status-badge,
html[data-theme="dark"] .status-badge {
  border-color: rgba(126, 168, 138, 0.42);
  background: rgba(16, 28, 19, 0.96);
}

@media (max-width: 560px) {
  .status-badge {
    width: 100%;
  }

  .status-badge span,
  .status-badge strong {
    flex: 1;
    justify-content: center;
  }
}

/* Official 88x31 validator buttons (W3C Atom, RSS and CSS), self-hosted as AVIF. */
.official-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.4rem;
}

.official-badges a {
  display: block;
  line-height: 0;
}

.official-badges img {
  display: block;
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

/* The buttons are links, not photos: beat the post zoom cursor (.e-content img). */
.official-badges a img {
  cursor: pointer;
}
