/* Template-unabhängige Bildfolge mit konfigurierbaren Abständen und Eckenradien */
._bildreihe,
._bildreihe_eckig {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: var(--br-gap, 6px) !important;
  background-color: #ffffff !important;
  padding: var(--br-padding, 6px) !important;
  border: 1px solid #e0e0e0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin-bottom: 1rem !important;
  overflow: hidden !important;
}

._bildreihe {
  border-radius: var(--br-radius-outer, 12px) !important;
}

._bildreihe_eckig {
  border-radius: 0px !important;
}

._bildreihe > *,
._bildreihe_eckig > * {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

._bildreihe img,
._bildreihe_eckig img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

._bildreihe img {
  border-radius: var(--br-radius-inner, 6px) !important;
}

._bildreihe_eckig img {
  border-radius: 0px !important;
}

@media (max-width: 600px) {
  ._bildreihe,
  ._bildreihe_eckig {
    flex-direction: column !important;
    gap: var(--br-gap, 6px) !important;
  }

  ._bildreihe img,
  ._bildreihe_eckig img {
    height: auto !important;
  }
}
