
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.image-link-container {
  position: relative;
  display: block;
  max-width: 340px;
}

.image-link-container img {
  border-radius: 12px 12px 0 0;
}

/* Overlay-Datum */
.image-text {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(49, 75, 104, 0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}

/* Hover-Effekt */
.image-link-container:hover img {
  transform: scale(1.02);
  transition: 0.2s ease;
}
/* --- Event: Bildkacheln --- */

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.thumb-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

/* Hover-Effekt */
.thumb-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Bild */
.thumb-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Download-Bereich */
.thumb-item figcaption {
  padding: 12px;
}

/* Download-Button */
.thumb-item .download {
  display: inline-block;
  background: #C32B1C;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  margin: 12px 0;
  transition: background 0.2s ease;
}

/* .thumb-item .download:hover { */
/*  background: #9e2317; */
/* } */