/* ================================
   Presse-spezifische Stile
   ================================ */

/* WICHTIG:
   KEIN html/body-Layout hier!
   Die Presseseite nutzt deine Hauptseite (wrapper/content-frame etc.)
   Hintergrund fürs Popup gehört in presse-bild.html, nicht hier. */

/* Basis-Frame für alle Presseartikel */
.press-frame {
  border: 10px solid #c0a060;
  padding: 20px;
  background-color: #e6e0cf;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  max-width: 800px;
  margin: 30px auto;
  box-sizing: border-box;
}

/* Basis für Bilder in Presse-Frames */
.press-frame img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  cursor: zoom-in;
}

/* Überschrift */
.press-frame h3 {
  color: #805030;
  margin-top: 0;
}

/* ================================
   Artikel-spezifische Abweichungen
   ================================ */

/* Artikel 2 (aktueller oben) – weniger Luft unten */
.press-frame.article-2 {
  padding-bottom: 5px;   /* Abstand INNEN nach unten */
  margin-bottom: 16px;   /* Abstand NACH dem Rahmen */
}

/* Optional: wenn du beim Artikel 2 unter dem Bild weniger Abstand willst */
.press-frame.article-2 img {
  margin-bottom: 8px;  /* statt 15px – anpassen nach Geschmack */
}

/* Artikel 1 (älter) – aktuell keine Abweichung nötig */
.press-frame.article-1 {
  /* leer lassen, solange keine Extra-Regeln nötig sind */
}

/* ================================
   Modal-Stil (nur falls du ihn wirklich nutzt)
   Hinweis: In deinem aktuellen Setup öffnest du ein extra Fenster,
   nicht dieses Modal. Du kannst diesen Block sonst komplett löschen.
   ================================ */

#modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
}

#modal.open { display: block; }

#modal-content {
  position: relative;
  margin: 6vh auto 0;
  max-width: 92vw;
  max-height: 90vh;
  text-align: center;
}

#modal-content img {
  max-width: 100%;
  max-height: 82vh;
  height: auto;
  display: block;
  margin: 0 auto;
}

#modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 34px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
}
