/* 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,
.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; }
}
