.acc-img {
  object-fit: contain;
}
.containment {
  height: fit-content;
}

.tooltip-inner {
  background-color: #fff !important; /* deckend weiß */
  color: #000 !important;
  border: 1px solid #ccc;
  padding: 0.5rem 0.6rem;
  white-space: normal;
  max-width: 320px;
  opacity: 1 !important; /* erzwingt 100% Deckkraft */

  font-size: 0.9rem;
}

.containment .subline-author {
  font-size: 0.7rem;
  color: #555;
  margin-top: 2px;
}

.containment .subline-format {
  font-size: 0.7rem;
  color: #777;
  margin-top: 1px;
  font-style: italic;
}

/* schlichte eigene Chips */
.tooltip-inner .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tooltip-inner .tag-chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.9rem;
  line-height: 1.2;
  border-radius: 999px;
  background: #35384d; /* helles Grau */
  color: #fff;
  border: 1px solid #d8dbe0; /* feiner Rand */
}
.tooltip-header {
  text-align: left; /* Links ausrichten */
  font-weight: bold;
  margin-bottom: 0.35rem;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-top-color: #fff !important;
  border-bottom-color: #fff !important;
  border-left-color: #fff !important;
  border-right-color: #fff !important;
  opacity: 1 !important;
}
