/* Blog-spezifische Styles – konsistent mit shared.css */
.post-content { line-height: 1.7; font-size: 1.05rem; }
.post-content h2 { margin-top: 2rem; margin-bottom: .6rem; color: var(--ink, #151515); }
.post-content h3 { margin-top: 1.5rem; margin-bottom: .4rem; }
.post-content p { margin: .8rem 0; }
.post-content ul, .post-content ol { margin: .8rem 0; padding-left: 1.6rem; }
.post-content li { margin: .3rem 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.post-content th, .post-content td { padding: .6rem; border: 1px solid var(--border, #ddd); }
.post-content th { background: var(--ink, #151515); color: #fff; text-align: left; }
.post-content img { max-width: 100%; border-radius: 8px; }
.post-content a { color: var(--gold, #c9a227); }

.blog-meta { font-size: .85rem; color: var(--muted, #666); margin-bottom: 2rem; }
.blog-meta strong { color: var(--ink, #151515); }

.blog-search-box { position: relative; margin-bottom: 1rem; }
.blog-search-input { width: 100%; padding: .8rem 1rem; border: 1px solid var(--border, #ddd); border-radius: 8px; font-size: 1rem; box-sizing: border-box; }
.blog-suggest { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--border, #ddd); border-radius: 0 0 8px 8px; display: none; z-index: 10; max-height: 300px; overflow: auto; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.blog-suggest a { display: block; padding: .6rem 1rem; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; }
.blog-suggest a:hover { background: var(--cream, #f5efe0); }
.blog-suggest strong { display: block; }
.blog-suggest small { color: #666; }

.comment-card { margin: 1.2rem 0; padding: 1rem; background: var(--cream, #f5efe0); border-radius: 8px; }
.comment-card .comment-head { font-weight: 600; margin-bottom: .3rem; }
.comment-card .comment-date { font-weight: 400; font-size: .8rem; color: var(--muted, #666); }
.comment-card .comment-body { margin: 0; white-space: pre-wrap; }

.blog-list-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.blog-list-meta { font-size: .75rem; color: var(--muted, #666); margin: .5rem 0; }
.blog-tag { font-size: .7rem; padding: .2rem .5rem; background: var(--cream, #f5efe0); border-radius: 4px; display: inline-block; }

.rss-link { font-size: .85rem; }

/* Blog-Artikel: Hauptspalte (8/12) + rechte Teaser-Spalte (4/12) */
.post-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }
.post-main { min-width: 0; }
.post-sidebar {
  position: sticky;
  top: 1rem;
  padding: 1.25rem 1.1rem;
  border-left: 1px solid var(--border, #ddd);
  background-color: #f2f2f2;
  background-image: url('sidebar-bg.svg');
  background-repeat: repeat;
  background-size: 200px 200px;
  border-radius: 12px;
}
.post-sidebar h3 { color: var(--ink, #151515); }
.blog-teaser { display: block; margin-bottom: 1.4rem; text-decoration: none; color: inherit; padding-bottom: 1rem; border-bottom: 1px solid var(--border, #ddd); }
.blog-teaser:last-child { border-bottom: none; }
.blog-teaser:hover { opacity: .85; }
@media (max-width: 820px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}