/* ==========================================================================
   Legacy text & link helpers — the named semantic text classes the retro
   markup depends on (smalltext, mediumtext, captiontext, forumlink…).

   NOTE: role-based type sizing for modern/general pages lives in
   typography.css. This file holds the legacy fixed classes (size + color +
   family together) that predate that system and are still referenced by name.
   Values resolve to tokens.css.
   ========================================================================== */

/* ---- ---- ---- ---- Links ---- ---- ---- ---- */

a.forumlink {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.category-title {
  color: var(--link);
  font-size: var(--text-base);
  text-decoration: underline;
}

/* ---- ---- ---- ---- Text ---- ---- ---- ---- */

/* Small print. */
.smalltext,
.nforumdisclaimer {
  font: var(--text-xs) var(--font-ui);
  color: var(--text-muted);
}

/* Bootstrap-compat muted text. */
.text-muted {
  color: var(--text-muted);
}

.smallblacktext {
  font: normal var(--text-xs) var(--font-ui);
  color: var(--text-strong);
}

.defaulttext,
.mediumtext,
.mediumtext-1 {
  font: var(--text-sm) var(--font-ui);
  color: var(--text-strong);
}

.mediumtext img {
  vertical-align: middle;
}

.captiontext {
  font: var(--text-lg) var(--font-ui);
  color: var(--text-strong);
}

.helpbox {
  border: 0;
  background-color: transparent;
  color: var(--text-strong);
  font: var(--text-2xs) var(--font-caption);
}

.d-block {
  display: block;
}
