/* Blog-Prose Styles – clean, readable, responsive */

.prose {
  color: #111827; /* gray-900 */
  line-height: 1.75;
  max-width: 75ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Überschriften */
.prose h1{
  color: #ffffff; /* slate-900 */
  font-weight: 800;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.prose h2,
.prose h3,
.prose h4 {
  color: #0f172a; /* slate-900 */
  font-weight: 800;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.prose h1 {
  font-size: 2.25rem;
  margin-top: 0;
}
.prose h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.3rem;
}
.prose h3 {
  font-size: 1.35rem;
}
.prose h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Absätze */
.prose p {
  margin: 1em 0;
}
.prose em {
  color: #374151;
}
.prose strong {
  color: #111827;
}

/* Links */
.prose a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.prose a:hover {
  color: #1d4ed8;
}

/* Listen */
.prose ul,
.prose ol {
  margin: 1em 0 1em 1.5em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin: 0.4em 0;
}

/* Divider */
.prose hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 2.5rem 0;
}

/* Blockquotes */
.prose blockquote {
  border-left: 4px solid #e5e7eb;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  color: #374151;
  font-style: italic;
  background: #f9fafb;
  border-radius: 0.25rem;
}

/* Code & Pre */
.prose code {
  background: #f3f4f6;
  padding: 0.15em 0.35em;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
}
.prose pre {
  background: #0b1220;
  color: #e5e7eb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow: auto;
  font-size: 0.9rem;
  margin: 1.5em 0;
}

/* Bilder */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 6px 15px -4px rgba(0,0,0,.15);
  margin: 1.5rem 0;
  display: block;
}

/* Tabellen */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.8rem;
  text-align: left;
}
.prose thead th {
  background: #f9fafb;
  font-weight: 700;
}

/* Details / FAQ Style */
.prose details {
  margin: 1rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fafafa;
}
.prose summary {
  font-weight: 600;
  cursor: pointer;
}

/* Responsive Tuning */
@media (min-width: 768px) {
  .prose {
    font-size: 1.125rem;
  }
  .prose h1 { font-size: 2.75rem; }
  .prose h2 { font-size: 2rem; }
  .prose h3 { font-size: 1.5rem; }
}

/* === BLOG POST READABILITY FIX === */
.article-content,
.blog-content,
.post-content,
.single-post,
.single-blog {
  background: #0b0b0d !important; /* dark bg bleibt */
  color: #f5f6f8 !important;       /* helles Weiß für Text */
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  color: #ffffff !important;
}

.article-content p,
.blog-content p,
.post-content p {
  color: #e5e7eb !important;
  line-height: 1.7;
}

.article-content a,
.blog-content a {
  color: var(--color-accent, #d4af37) !important; /* gold links */
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover,
.blog-content a:hover {
  color: var(--color-brand-600, #dc2626) !important; /* red hover */
}

.article-content time,
.blog-content time,
.article-content .meta,
.blog-content .meta {
  color: #9aa1ad !important; /* Datum / Tags in Grau */
}

.article-content strong,
.blog-content strong {
  color: #fff !important;
  font-weight: 700;
}

.article-content img,
.blog-content img {
  border-radius: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,.25);
}

/* BLOG READABILITY — force light typography on dark bg */
.prose.prose-invert,
.post-content.prose,
.blog-content.prose,
.single-post .prose,
.single-blog .prose {
  --tw-prose-body:      #e5e7eb;
  --tw-prose-headings:  #ffffff;
  --tw-prose-links:     #d4af37;
  --tw-prose-links-hover:#ffffff;
  --tw-prose-bold:      #ffffff;
  --tw-prose-quotes:    #f5f6f8;
  --tw-prose-captions:  #9aa1ad;
  color: var(--tw-prose-body) !important;
}

/* Falls einzelne Elemente per Utility wieder dunkel gefärbt werden */
.post-content .text-slate-900,
.post-content .text-gray-900,
.post-content .text-zinc-900,
.post-content .text-black,
.blog-content  .text-slate-900,
.blog-content  .text-gray-900,
.blog-content  .text-zinc-900,
.blog-content  .text-black {
  color: #ffffff !important;
}

/* Optional: Bilder & Meta schöner */
.post-content img,
.blog-content img { border-radius: 1rem; box-shadow: 0 0 20px rgba(0,0,0,.25); }
.post-content time,
.blog-content time,
.post-content .meta,
.blog-content .meta { color:#9aa1ad !important; }


