/* ─────────────────────────────────────────────
   Wrapper & Layout
─────────────────────────────────────────────── */
.post-content-wrapper,
.post-content-wrapper .post-body,
.post-content-wrapper .post-body p,
.post-content-wrapper .post-body span,
.post-content-wrapper .post-body li {
  color: #212529 !important;
}

.post-content-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.post-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  color: #212529 !important;
}

/* ─────────────────────────────────────────────
   Header
─────────────────────────────────────────────── */
.post-header {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.post-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #000 !important;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────
   Bild
─────────────────────────────────────────────── */
.post-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ─────────────────────────────────────────────
   Beitragstext
─────────────────────────────────────────────── */
.post-body,
.post-body p,
.post-body li,
.post-body span {
  color: #212529 !important;
  margin-top: 0;
  padding-left: 0;
  text-align: left;
  line-height: 1.6;
}

/* Links im Beitrag */
.post-body a {
  color: #0d6efd !important;
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   Share-Section
─────────────────────────────────────────────── */
.share-section {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  margin-bottom: 1.5rem;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.share-icon.fb   { background-color: #3b5998; }
.share-icon.wa   { background-color: #25D366; }
.share-icon.mail { background-color: #666; }

.share-icon:hover {
  opacity: 0.8;
}

/* Trennlinie unterhalb der Share-Sektion */
.post-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1.5rem 0;
}

/* ─────────────────────────────────────────────
   Medien-Buttons (optional)
─────────────────────────────────────────────── */
.media-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.media-buttons a {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
}

.media-buttons .youtube { background: #cc0000; }
.media-buttons .spotify { background: #1DB954; }
.media-buttons .apple   { background: #333; }

/* ─────────────────────────────────────────────
   Iframe-Einbettung
─────────────────────────────────────────────── */
.media-embed iframe {
  width: 100%;
  max-width: 100%;
  height: 200px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.media-embed.youtube iframe { height: 300px; }
.media-embed.spotify iframe { height: 200px; }
.media-embed.apple iframe   { height: 250px; }

/* ─────────────────────────────────────────────
   Footer
─────────────────────────────────────────────── */
.post-footer {
  margin-top: 3rem;
  text-align: right;
}

/* ─────────────────────────────────────────────
   Layout-Ausrichtung
─────────────────────────────────────────────── */
.row.align-content-start {
  display: flex;
  align-items: flex-start;
}

/* ─────────────────────────────────────────────
   🔍 Debug-Modus (optional aktivieren)
─────────────────────────────────────────────── */
.debug .post-header,
.debug .post-meta,
.debug .share-section,
.debug .share-link {
  outline: 1px dashed red;
  background-color: rgba(255, 0, 0, 0.05);
}

.debug .post-title {
  outline: 1px dashed orange;
}

.debug .post-body {
  outline: 1px dashed blue;
}