/* ============================================
   Container & Blockstruktur
============================================ */

/* Textblock zentriert mit maximaler Breite */
.textblock {
  max-width: 800px;
  margin: 0 auto;
}

/* Hauptinhalt begrenzen für bessere Lesbarkeit */
.page-content {
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .page-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Plakatbild mittig, responsiv und mit 3D-Effekt */
.plakat {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  background-color: #eee;
  padding: 1rem;
  border-radius: 6px;

  /* 3D-Effekt */
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),   /* weicher Grundschatten */
    0 6px 12px rgba(0, 0, 0, 0.10),  /* tieferer Schatten */
    0 12px 24px rgba(0, 0, 0, 0.08); /* volumiger 3D-Schatten */

  transform: translateZ(0); /* aktiviert GPU, macht Schatten sauberer */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional: leichter Hover-Lift für noch mehr 3D */
.plakat:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.18),
    0 10px 20px rgba(0, 0, 0, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.10);
}


 

/* shortcode vereinsbild */
/* -----------------------------------------
   Vereinsbild – eigener, sauberer Stilblock
   ----------------------------------------- */

.vereinsbild {
  margin: 3rem auto;              /* Box zentriert */
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 800px;               /* angenehme Lesebreite */
}

/* Link um das Bild herum: sorgt für echte Zentrierung */
.vereinsbild a {
  display: flex;
  justify-content: center;
}

/* Bild selbst: globale Bildstile überschreiben */
.vereinsbild img {
  max-width: 100%;
  height: auto;

  margin: 0 auto !important;      /* zentriert */
  padding: 0 !important;          /* kein Rahmen */
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* Caption */
.vereinsbild figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
  text-align: center;
  font-style: italic;
}

/* -----------------------------------------
   Allgemeines Bild – gleiche Optik wie Vereinsbild
   ----------------------------------------- */

.allgemeinbild {
  margin: 3rem auto;              /* Box zentriert */
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 800px;               /* angenehme Lesebreite */
}

/* Link um das Bild herum: sorgt für echte Zentrierung */
.allgemeinbild a {
  display: flex;
  justify-content: center;
}

/* Bild selbst: globale Bildstile überschreiben */
.allgemeinbild img {
  max-width: 100%;
  height: auto;

  margin: 0 auto !important;      /* zentriert */
  padding: 0 !important;          /* kein Rahmen */
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}

/* Caption */
.allgemeinbild figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
  text-align: center;
  font-style: italic;
}


/* Bilder im /img/ Verzeichnis stilisieren */
img[src^="/img/"] {
  display: block;              /* verhindert hässliche Lücken unter Bildern */
  max-width: 100%;             /* responsive */
  height: auto;

  margin: 1.5rem 0;            /* Abstand oben/unten */
  padding: 4px;                /* kleiner Innenabstand für den Rahmen */

  border: 2px solid #ccc;      /* Rahmen */
  border-radius: 6px;          /* leicht abgerundet */

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* weicher Schatten */
  background: white;           /* falls Bilder transparent sind */
}