/* Sundflair – ergänzende Styles (klein halten). */
:root{--sf-radius:14px}
img,video{max-width:100%;height:auto}
.wp-block-video video{width:100%;border-radius:var(--sf-radius)}
:where(.wp-site-blocks) a:focus-visible{outline:2px solid var(--wp--preset--color--sage);outline-offset:2px}
.skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:100;background:#fff;padding:.5rem 1rem}
/* Header */
.sf-header{border-bottom:1px solid var(--wp--preset--color--sand)}
.sf-header .wp-block-site-title a{text-decoration:none;color:var(--wp--preset--color--contrast);font-family:var(--wp--preset--font-family--heading);letter-spacing:.02em}
.sf-nav ul{list-style:none;margin:0;padding:0}
.sf-nav a{text-decoration:none;color:var(--wp--preset--color--contrast);font-weight:500}
.sf-nav a:hover,.sf-nav a[aria-current]{color:var(--wp--preset--color--sage);text-decoration:underline;text-underline-offset:.3em}
.sf-nav__desktop{display:none}
.sf-nav__mobile summary{cursor:pointer;list-style:none;padding:.5rem .9rem;border:1px solid var(--wp--preset--color--sand);border-radius:999px;font-weight:600;min-height:44px;display:flex;align-items:center}
.sf-nav__mobile summary::-webkit-details-marker{display:none}
.sf-nav__mobile[open] .sf-nav__list{position:absolute;left:0;right:0;top:100%;background:var(--wp--preset--color--base);border-bottom:1px solid var(--wp--preset--color--sand);padding:.5rem 1.25rem 1rem;z-index:50}
.sf-nav__mobile .sf-nav__list a{display:block;padding:.65rem 0;border-bottom:1px solid var(--wp--preset--color--sand)}
.sf-header{position:relative}
@media (min-width:960px){.sf-nav__mobile{display:none}.sf-nav__desktop{display:block}.sf-nav__desktop .sf-nav__list{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;font-size:.95rem}}
/* Hero */
.sf-hero .sf-kicker{letter-spacing:.12em;text-transform:uppercase;font-size:.8125rem;font-weight:600;color:var(--wp--preset--color--sage)}
.sf-hero h1{max-width:18ch;margin-inline:auto}
/* Pillars */
.sf-pillars{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:600px){.sf-pillars{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.sf-pillars{grid-template-columns:repeat(3,1fr)}}
.sf-pillar a{display:flex;flex-direction:column;gap:.35rem;height:100%;box-sizing:border-box;padding:1.5rem;border-radius:var(--sf-radius);background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--sand);text-decoration:none;color:var(--wp--preset--color--contrast);transition:border-color .2s,background .2s}
.sf-pillar a:hover{border-color:var(--wp--preset--color--sage);background:var(--wp--preset--color--sage-light)}
.sf-pillar__title{font-family:var(--wp--preset--font-family--heading);font-size:1.3rem;font-weight:500}
.sf-pillar__title::after{content:" →";color:var(--wp--preset--color--sage)}
.sf-pillar__text{color:var(--wp--preset--color--muted);font-size:1rem}
/* Cards */
.sf-grid .wp-block-post-template{gap:2rem 1.5rem}
.sf-card .wp-block-post-featured-image img{border-radius:var(--sf-radius);aspect-ratio:3/2;object-fit:cover;width:100%}
.sf-card .wp-block-post-title a{text-decoration:none;color:var(--wp--preset--color--contrast)}
.sf-card .wp-block-post-title a:hover{color:var(--wp--preset--color--sage)}
.sf-card .wp-block-post-terms a{text-decoration:none}
@media (max-width:781px){.sf-grid .wp-block-post-template.is-layout-grid{grid-template-columns:1fr!important}}
/* Single */
.sf-single .wp-block-post-featured-image img{border-radius:var(--sf-radius)}
.sf-author{border-radius:var(--sf-radius)}
.sf-author .wp-block-post-author-name{font-family:var(--wp--preset--font-family--heading);font-size:1.2rem}
.wp-block-post-content :where(table){border-collapse:collapse;width:100%}
.wp-block-post-content :where(td,th){border:1px solid var(--wp--preset--color--sand);padding:.5em .75em}
/* Footer */
.sf-footer a{color:var(--wp--preset--color--footer-text)}
.sf-footer-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem}
.sf-footer-nav a{display:inline-block;padding:.35rem 0}
/* Pagination */
.wp-block-query-pagination a,.wp-block-query-pagination .page-numbers{padding:.4rem .75rem;min-width:44px;text-align:center;display:inline-block}
/* Platzhalter für Beiträge ohne Beitragsbild (gleiches Raster, kein CLS) */
.sf-card:not(:has(.wp-block-post-featured-image))::before{content:"";display:block;aspect-ratio:3/2;border-radius:var(--sf-radius);background:var(--wp--preset--color--sand) linear-gradient(135deg,var(--wp--preset--color--sage-light),var(--wp--preset--color--sand))}
.sf-upd:last-child{display:none}
