body::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #2c5aa0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

body {
  padding-top: 8px;
}

.smallcaps {
  font-variant: small-caps;
  letter-spacing: 0.02em;
}

kbd {
  background: #f4f4f4;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  color: #202020;
  display: inline-block;
  font-family: "Fira Mono", "SFMono-Regular", "DejaVu Sans Mono", monospace;
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  white-space: nowrap;
}

/* Nutshell: animated dots (balls) abschalten */
.nutshell-ball-up,
.nutshell-ball-down {
  display: none !important;
}

.nutshell-expandable .nutshell-expandable-text {
  padding-left: 0 !important;
}

/* Nutshell: "embed" UI in bubble ausblenden */
.nutshell-bubble-overflow-embed-button {
  display: none !important;
}

/* Nutshell: "from <url>" Zeile ausblenden (falls vorhanden) */
.nutshell-bubble-from {
  display: none !important;
}

/* Home (index): Start cards */
.home-start {
  margin-top: 0.25rem;
}

.home-start .home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(0, 81, 168, 0.05), rgba(0, 0, 0, 0));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.home-start .home-card > p:last-child {
  margin-top: auto;
}

.home-start .home-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 81, 168, 0.25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

.home-start .home-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.home-start .home-card h3 i {
  color: var(--bs-primary);
  font-size: 1.1em;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0, 81, 168, 0.32);
  background: rgba(0, 81, 168, 0.06);
  color: var(--bs-primary);
  transition: transform 150ms ease, filter 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.home-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.home-cta-primary {
  /* keep for semantic use (matches base home-cta) */
}

.home-cta-primary:hover {
  color: #fff;
}

.home-cta-success {
  /* keep for semantic use (matches base home-cta) */
}

.home-cta-success:hover {
  color: #fff;
}

.home-cta-outline {
  /* keep for semantic use (matches base home-cta) */

}

.home-cta-outline:hover {
  color: #fff;
}

.home-cta-ai {
  /* keep for semantic use (matches base home-cta) */
}

.home-cta-ai:hover {
  color: #fff;
}

/* Home (index): Related handbooks */
.home-related {
  margin-top: 0.25rem;
}

.home-related .home-related-card {
  padding: 0.9rem 1.1rem;
  background: linear-gradient(180deg, rgba(0, 81, 168, 0.03), rgba(0, 0, 0, 0));
}



img.ui-icon {
  height: 1em;
  width: auto;
  vertical-align: text-bottom;
}





/* Navbar logo: responsive height, keep aspect ratio */
.navbar img.navbar-rki-logo {
  height: clamp(28px, 3.5vw, 40px);
  width: auto;
  max-width: 180px; /* optional safety */
}


#quarto-sidebar .sidebar-header .sidebar-tools-main {
  display: flex;
  justify-content: center;
  width: 100%;
}


.quarto-navbar-tools a[title="Quellcode"] { display: none; }












ol.circle-numbers {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
}

ol.circle-numbers li {
  counter-increment: item;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

ol.circle-numbers li::before {
  content: counter(item);
  width: 1.6em;
  height: 1.6em;
  margin-right: 0.6em;
  border-radius: 50%;
  background: #444;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  flex-shrink: 0;
}
