/* Custom width for the left navigation sidebar */
@media (min-width: 960px) {
  .bd-sidebar-primary {
    width: 20%;
    min-width: 16rem;
  }
}

img[src$=".svg"] {
    background: transparent !important;
}

.bd-article-container {
  max-width: 80rem !important;
}

.sd-card .sd-card-title {
  font-size: 1.5rem !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  font-weight: 700 !important;
  background-color: transparent !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.hero-logo {
  text-align: center;
}

.hero-logo-img {
  display: block;
  margin: 0 auto 2rem;
  max-width: 420px;
  width: min(40%, 420px);
}

html[data-theme="dark"] .hero-logo-dark,
html[data-mode="dark"] .hero-logo-dark {
  display: block;
}

html[data-theme="dark"] .hero-logo-light,
html[data-mode="dark"] .hero-logo-light {
  display: none;
}

html[data-theme="light"] .hero-logo-dark,
html[data-mode="light"] .hero-logo-dark {
  display: none;
}

html[data-theme="light"] .hero-logo-light,
html[data-mode="light"] .hero-logo-light {
  display: block;
}