/* blog.css - additive: /blog/ (home.html), posts (single.html), archives (archive.html) and the header's 10th item. Loads after theme.css. */
/* Header room for "Blog" (measured: without this, brand, phone and "Uber uns" wrap at all desktop widths) */
.menu{gap:2px}
.menu>li>a,.menu>li>button{padding-left:8px;padding-right:8px}
.menu>li>a::after{left:8px;right:8px}
.menu>li>a:hover::after,.menu>li>a[aria-current]::after{width:calc(100% - 16px)}
/* Heroes (mirror patterns/ratgeber-hub-hero.php inline rules) */
.sbb-blog-hero>.wrap,.sbb-post-hero>.wrap{padding-block:clamp(52px,6.5vw,92px)}
.sbb-blog-hero .lead{color:var(--wp--preset--color--text)}
.sbb-blog-hero h1.stitle{font-size:var(--wp--preset--font-size--display);line-height:1.03;max-width:18ch;margin:0}
.sbb-post-hero h1.stitle{font-size:var(--wp--preset--font-size--xl);line-height:1.16;max-width:28ch;margin:0;overflow-wrap:break-word}
.sbb-blog-hero .eyebrow a,.sbb-post-hero .eyebrow a{color:inherit;text-decoration:none}
.sbb-post-hero .sbb-post-meta{margin-top:14px}
.sbb-post-meta{font-size:var(--wp--preset--font-size--sm);color:var(--wp--preset--color--text-muted)}
/* Post list (Query Loop on .g3 + .scard) */
.sbb-blog-list .wp-block-post-template{list-style:none;padding:0;margin:0}
.sbb-blog-list .wp-block-post-template>li{margin:0;display:flex}
.sbb-blog-list .sbb-post-card{width:100%;display:flex;flex-direction:column}
.sbb-blog-list .sbb-post-card>*{margin:0}
.sbb-blog-list .sbb-post-card .wp-block-post-featured-image img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.sbb-blog-list .sbb-post-card .bd{flex:1;display:flex;flex-direction:column}
.sbb-blog-list .sbb-post-card .bd>*{margin:0}
.sbb-blog-list .sbb-post-card .wp-block-post-title{font-size:1.25rem;line-height:1.3;margin:8px 0 9px}
.sbb-blog-list .sbb-post-card .wp-block-post-title a{color:var(--wp--preset--color--head);text-decoration:none}
.sbb-blog-list .sbb-post-card .wp-block-post-title a::after{content:"";position:absolute;inset:0}
.sbb-blog-list .sbb-post-card:hover .wp-block-post-title a{color:var(--wp--preset--color--primary)}
.sbb-blog-list .sbb-post-card .wp-block-post-excerpt__excerpt{margin:0;font-size:1rem;line-height:1.75;color:var(--wp--preset--color--text)}
.sbb-blog-list .sbb-post-card .wp-block-post-excerpt__more-text{margin:auto 0 0;padding-top:16px}
.sbb-blog-list .sbb-post-card .wp-block-post-excerpt__more-link{font-size:.8125rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--primary);text-decoration:none}
.sbb-blog-list .sbb-blog-empty{max-width:62ch;background:#fff;padding:30px 28px;box-shadow:var(--sh-card)}
.sbb-pagination{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;margin-top:44px}
.sbb-pagination .wp-block-query-pagination-numbers{display:flex;flex-wrap:wrap;gap:10px}
.sbb-pagination a,.sbb-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 16px;background:#fff;border:1px solid var(--wp--preset--color--border);font-size:.875rem;font-weight:700;color:var(--wp--preset--color--head);text-decoration:none}
.sbb-pagination a:hover{border-color:var(--wp--preset--color--primary);color:var(--wp--preset--color--primary)}
.sbb-pagination .page-numbers.current{background:var(--wp--preset--color--primary);border-color:var(--wp--preset--color--primary);color:#fff}
/* Single post */
.sbb-post-image{margin:0 0 32px}
.sbb-post-image img{width:100%;height:auto;object-fit:cover}
/* Prose (freelancer Gutenberg content). body-prefixed margins outrank :root :where(.is-layout-flow)>* */
.sbb-prose{font-size:var(--wp--preset--font-size--base);line-height:1.8;color:var(--wp--preset--color--text)}
.sbb-prose h2{font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.2}
.sbb-prose h3{font-size:var(--wp--preset--font-size--md);line-height:1.3}
.sbb-prose h4{font-size:1.0625rem;line-height:1.35}
body .sbb-prose>*{margin-top:0;margin-bottom:0}
body .sbb-prose>*+*{margin-top:1.25em}
body .sbb-prose>h2{margin-top:2em}
body .sbb-prose>h3{margin-top:1.75em}
body .sbb-prose>h4{margin-top:1.5em}
body .sbb-prose>:is(h2,h3,h4)+*{margin-top:.6em}
.sbb-prose a{color:var(--wp--preset--color--primary);text-decoration:underline;text-underline-offset:3px}
.sbb-prose a:hover{color:var(--wp--preset--color--primary-hover)}
.sbb-prose strong,.sbb-prose b{color:var(--wp--preset--color--head)}
.sbb-prose ul,.sbb-prose ol{padding-left:1.4em}
.sbb-prose li+li{margin-top:.45em}
.sbb-prose ul li::marker{color:var(--wp--preset--color--primary)}
.sbb-prose blockquote{margin-left:0;margin-right:0;padding:20px 24px;border-left:5px solid var(--wp--preset--color--primary);background:var(--wp--preset--color--tint);color:var(--wp--preset--color--head)}
.sbb-prose blockquote cite{display:block;margin-top:8px;font-size:var(--wp--preset--font-size--sm);font-style:normal;color:var(--wp--preset--color--text-muted)}
.sbb-prose figure{margin-left:0;margin-right:0}
.sbb-prose img{height:auto}
.sbb-prose figcaption,.sbb-prose .wp-element-caption{margin-top:8px;font-size:var(--wp--preset--font-size--sm);color:var(--wp--preset--color--text-muted)}
.sbb-prose hr{border:0;border-top:1px solid var(--wp--preset--color--border)}
.sbb-prose .wp-block-table{overflow-x:auto}
.sbb-prose table{width:100%;border-collapse:collapse;font-size:.9375rem}
.sbb-prose th,.sbb-prose td{border:1px solid var(--wp--preset--color--border);padding:10px 12px;text-align:left;vertical-align:top}
.sbb-prose th{background:var(--wp--preset--color--tint);color:var(--wp--preset--color--head)}
.sbb-prose .has-text-align-center{text-align:center}
.sbb-prose .has-text-align-right{text-align:right}
body .sbb-prose>.aligncenter,.sbb-prose .aligncenter{margin-left:auto;margin-right:auto;text-align:center}
.sbb-prose .aligncenter img{margin-inline:auto}
body .sbb-prose>.alignleft{float:left;max-width:50%;margin:.3em 1.5em 1em 0}
body .sbb-prose>.alignright{float:right;max-width:50%;margin:.3em 0 1em 1.5em}
.sbb-prose::after{content:"";display:table;clear:both}
.sbb-prose .wp-block-columns{display:flex;flex-wrap:wrap;gap:2em}
.sbb-prose .wp-block-column{flex:1 1 240px;min-width:0}
.sbb-prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.sbb-prose .wp-block-button__link{display:inline-flex;align-items:center;min-height:44px;padding:15px 30px;background:var(--wp--preset--color--primary);color:#fff;font-size:.875rem;font-weight:700;letter-spacing:.7px;text-transform:uppercase;text-decoration:none;border-radius:0}
.sbb-prose .wp-block-button__link:hover{background:var(--wp--preset--color--primary-hover);color:#fff}
.sbb-prose iframe{max-width:100%}
.sbb-prose .wp-block-details{border:1px solid var(--wp--preset--color--border);background:#fff;padding:16px 20px}
.sbb-prose .wp-block-details summary{cursor:pointer;font-weight:700;color:var(--wp--preset--color--head)}
@media (max-width:760px){body .sbb-prose>.alignleft,body .sbb-prose>.alignright{float:none;max-width:100%;margin:1.25em 0 0}}
