/* Container für das Ereignis */
.admin-nav {
  background-color: #fff5f5;
  border-left: 5px solid #a00;
  padding: 20px;
  margin-bottom: 30px;
}

.admin-nav h2 {
  margin-bottom: 10px;
  color: #a00;
}

.admin-nav p {
  margin-bottom: 15px;
}

.admin-nav a.button {
  display: inline-block;
  background: #a00;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  margin-top: 10px;
  border-radius: 5px;
}

.admin-nav a.button:hover {
  background: #800;
}

/* Bild im Ereignis */
.admin-nav img {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 6px;
}

/* Optional: für dunkles Design */
@media (prefers-color-scheme: dark) {
  .admin-nav {
    background-color: #000000b2;
    color: white;
  }
}
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    border-radius: 8px;
    background: #000;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
.slide.active {
    opacity: 1;
    z-index: 1;
    position: relative; /* hebt das Bild hervor */
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    user-select: none;
    font-size: 18px;
    z-index: 2;
}
.prev { left: 15px; }
.next { right: 15px; }
.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}