/* Utility classes */

.svg-icon,
.svg-icon-circle {
  width: 1em;
  display: flex;
}
.svg-icon svg,
.svg-icon-circle svg {
  width: 100%;
  height: 100%;
  display: flex;
}
.svg-icon svg *,
.svg-icon-circle svg * {
  vector-effect: non-scaling-stroke; 
}
.svg-icon-circle {
  display: flex;
  border: 1px var(--color-border) solid;
  border-radius: 100%;
  padding: 0.175em;
}

.container-fluid,
.container {
  max-width: 1400px;
}

.max-width-prose,
.max-width-80ch {
  max-width: 80ch;
}

.text-muted {
  color: var(--color-muted) !important;
}

.text-danger {
  color: var(--color-danger) !important;
}

.font-body {
  font-family: var(--font-body);
}
.font-heading {
  font-family: var(--font-heading);
}

.text-dark {
  color: var(--color-body) !important;
}

.text-current-color {
  color: currentColor !important;
}

.text-bg-info {
  color: white !important;
  background: var(--color-accent) !important;
}
.bg-light {
  background-color: var(--color-background-light) !important;
}
.bg-primary-subtle {
  background-color: var(--bs-primary-bg-subtle)!important;
}

.text-category {
  text-transform: uppercase;
  letter-spacing: 0.02rem;
  color: var(--color-accent) !important;
  font-weight: 800;
}

/* Warning: This will only work on block level elements e.g. <div> but not <span>, <strong> */
.capitalize-first-letter:first-letter {
  text-transform: uppercase;
}

.lh-normal {
  line-height: normal !important;
}

/* Bootstrap 3 classes ported to Bootstrap 5 */
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.text-left /* now .text-start */ {
  text-align: left;
}
.text-right /* now .text-end */ {
  text-align: right;
}

/* Font sizes, based on https://tailwindcss.com/docs/font-size */
.text-xs {
  font-size: 0.75rem; /* 12px */
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem; /* 16px */
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem; /* 24px */
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem; /* 36px */
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem; /* 48px */
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem; /* 60px */
  line-height: 1;
}
.text-7xl {
  font-size: 4.5rem; /* 72px */
  line-height: 1;
}
.text-8xl {
  font-size: 6rem; /* 96px */
  line-height: 1;
}
.text-9xl {
  font-size: 8rem; /* 128px */
  line-height: 1;
}

