.easyit-bilderlauf {
  min-width: 0;
  width: 100%;
  padding: 8px;
  border: 1px solid #1688b5;
  border-radius: 18px;
  background: #062846;
  box-shadow: 0 16px 38px #00102199;
}

.easyit-bilderlauf .bilderlauf-slide {
  display: block;
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 11px;
  background: #082037;
}

.easyit-bilderlauf .bilderlauf-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.easyit-bilderlauf .bilderlauf-slide figcaption {
  display: flex;
  align-items: center;
  min-height: 3em;
  padding: 0.55rem 0.75rem;
  background: #082037;
  color: #e3f4ff;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.bilderlauf-slide a {
  color: #a8f5ff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.bilderlauf-footer,
.bilderlauf-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.bilderlauf-footer {
  position: relative;
  justify-content: space-between;
  padding: 0.4rem 0.25rem 0;
}

.bilderlauf-footer small {
  color: #b9d9ea;
  font-size: 0.77rem;
}

.bilderlauf-controls button {
  min-height: 36px;
  padding: 0.25rem 0.55rem;
  border: 1px solid #367e9c;
  border-radius: 7px;
  background: #103858;
  color: #f4fbff;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.bilderlauf-controls button:hover {
  background: #175070;
}

.bilderlauf-controls button:focus-visible,
.bilderlauf-slide a:focus-visible {
  outline: 2px solid #78efff;
  outline-offset: 2px;
}

.bilderlauf-count {
  min-width: 2.7em;
  text-align: center;
  color: #daeffa;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.easyit-bilderlauf [hidden] {
  display: none;
}

.bilderlauf-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .easyit-bilderlauf.is-ready .bilderlauf-slide:not([hidden]) img {
    animation: bilderlauf-einblenden 220ms ease-out;
  }

  @keyframes bilderlauf-einblenden {
    from { opacity: 0.65; }
    to { opacity: 1; }
  }
}
