/* Pengo HDMI Grabber Wiki — extra styling */

/* Tighter hero spacing on landing page */
.md-typeset .hero {
  margin: 1.5rem 0;
}

/* Spec table emphasis */
.md-typeset table:not(.ntable) th {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}

.md-typeset table:not(.ntable) td:first-child {
  font-weight: 600;
  width: 30%;
}

/* Image captions */
figure img {
  border-radius: 6px;
  border: 1px solid var(--md-default-fg-color--lightest);
}

figcaption {
  font-size: 0.75em;
  text-align: center;
  color: var(--md-default-fg-color--light);
  margin-top: 0.5rem;
}

/* Code block tweaks */
.md-typeset code {
  font-size: 0.85em;
}

/* Admonition colour tweaks for the black/blue theme */
.md-typeset .admonition.note,
.md-typeset details.note {
  border-color: var(--md-accent-fg-color);
}

/* Highlight badges (used inline in spec lists) */
.badge {
  display: inline-block;
  padding: 0.1em 0.5em;
  border-radius: 0.25em;
  font-size: 0.75em;
  font-weight: 600;
  background: var(--md-accent-fg-color);
  color: #000;
  vertical-align: middle;
}
.badge.badge-warn {
  background: #f59e0b;
}
.badge.badge-ok {
  background: #10b981;
}