/* Magazin-Übersicht /blog/ (24.09.2026): Layout aus dem Konzept "Klarsicht", Farben des öffentlichen Blogs
   (Variablen --rd-* aus dem Inline-Style von blog/index.html, hell/dunkel). Aufmacher-Bereich erzeugt
   scripts/blog_uebersicht_aufmacher.py. */
.dpb-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; text-align: left !important; margin-bottom: 28px !important; }
.dpb-head h1 { margin: 0 !important; }
.dpb-head p { margin: 0 !important; max-width: 46ch; }
@media (max-width: 820px) { .dpb-head { grid-template-columns: 1fr; gap: 10px; } }

.dpb-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--rd-fg-muted); margin: 0 0 8px; }
.dpb-new { display: inline-block; background: var(--rd-accent); color: var(--rd-accent-ink); font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-right: 6px; }

.dpb-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; margin-bottom: 40px; }
.dpb-lead { display: grid; grid-template-rows: auto 1fr; background: var(--rd-bg-elev); border: 1px solid var(--rd-line); border-radius: 20px; overflow: hidden; text-decoration: none; }
.dpb-lead-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--rd-line); }
.dpb-lead-img, .dpb-side-img, .dp-blog-grid > a img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dpb-lead:hover .dpb-lead-img { transform: scale(1.02); }
.dpb-lead-text { padding: 24px 28px 28px; }
.dpb-lead h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--rd-fg) !important; }
.dpb-lead p:not(.dpb-kicker) { margin: 0 0 16px; color: var(--rd-fg-muted); font-size: 16.5px; line-height: 1.55; max-width: 62ch; }
.dpb-more { font-weight: 700; color: var(--rd-accent); border-bottom: 2px solid var(--rd-accent); padding-bottom: 2px; }
.dpb-sides { display: grid; grid-template-rows: 1fr 1fr; gap: 28px; }
.dpb-side { display: grid; grid-template-rows: minmax(140px, 1fr) auto auto; gap: 10px; text-decoration: none; }
.dpb-side-img { border-radius: 16px; aspect-ratio: 16 / 10; background: var(--rd-line); }
.dpb-side .dpb-kicker { margin: 4px 0 0; }
.dpb-side h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 0; color: var(--rd-fg) !important; }
.dpb-side:hover h3, .dp-blog-grid > a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 900px) { .dpb-top { grid-template-columns: 1fr; } .dpb-sides { grid-template-rows: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dpb-sides { grid-template-columns: 1fr; } .dpb-lead-text { padding: 20px 20px 22px; } }

.dpb-check { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; background: var(--rd-accent-soft); border-radius: 18px; padding: 26px 30px; margin-bottom: 48px; }
.dpb-check-k { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--rd-accent); margin: 0 0 6px; }
.dpb-check h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; margin: 0; color: var(--rd-fg) !important; }
.dpb-check-btn { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; background: var(--rd-accent); color: var(--rd-accent-ink); white-space: nowrap; }
.dpb-check-btn:hover { filter: brightness(1.06); }

.dpb-all-h { font-size: 26px; font-weight: 800; margin: 0 0 16px; color: var(--rd-fg) !important; }
section:has(> .dpb-all-h) > div[class*="justify-center"]:has(button[data-category-filter]) { justify-content: flex-start !important; }

/* Raster: Bildkarten ohne Kasten, Bild oben, ruhige Schrift */
.dp-blog-grid { gap: 40px 28px !important; }
.dp-blog-grid > a { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; text-decoration: none; }
.dp-blog-grid > a img { height: auto !important; aspect-ratio: 3 / 2; border-radius: 14px; opacity: 1 !important; margin-bottom: 14px; background: var(--rd-line) !important; }
.dp-blog-grid > a:hover img { transform: scale(1.02); }
.dp-blog-grid > a > div.p-6 { padding: 0 !important; }
.dp-blog-grid > a .text-xs { color: var(--rd-fg-muted) !important; font-size: 12.5px !important; margin-bottom: 6px !important; }
.dp-blog-grid > a h2 { font-size: 20px !important; line-height: 1.3 !important; margin-bottom: 8px !important; transition: none !important; }
.dp-blog-grid > a p { font-size: 15px !important; line-height: 1.5 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0 !important; }
.dp-blog-grid > a > div.p-6 > div:last-child:not(.text-xs) { display: none !important; } /* "Bericht lesen"-Zeile: die ganze Karte ist der Link */
.dp-blog-grid > a > div.absolute { top: 10px !important; right: 10px !important; animation: none !important; }
[data-blog-featured][hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .dpb-lead-img, .dpb-side-img, .dp-blog-grid > a img { transition: none; } }
