/* Storefront refinement – Fliegengitters.de */

/* Single article template: spacious desktop canvas with comfortable reading line length */
body.single-post .fg-article-shell{width:min(100% - 48px,1120px)!important;max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;padding:46px 24px 72px!important;box-sizing:border-box}
body.single-post .fg-article-shell>.wp-block-post-title,
body.single-post .fg-article-shell>.wp-block-post-featured-image,
body.single-post .fg-article-shell>.wp-block-post-terms,
body.single-post .fg-article-shell>.wp-block-group,
body.single-post .fg-article-shell>.wp-block-separator{max-width:960px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}
body.single-post .fg-article-shell>.wp-block-post-title{font-size:clamp(2.15rem,3.7vw,3.45rem)!important;line-height:1.13;letter-spacing:-.025em;margin-top:18px;margin-bottom:20px}
body.single-post .fg-article-shell>.wp-block-post-featured-image img{max-height:450px;object-fit:cover;border-radius:18px}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content{width:100%!important;max-width:960px!important;margin-left:auto!important;margin-right:auto!important;padding:0!important;font-size:17px;line-height:1.82}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>p,
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>ul,
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>ol{max-width:800px;margin-left:auto;margin-right:auto}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>h2,
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>h3{max-width:840px;margin-left:auto;margin-right:auto}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>h1:first-child{display:none}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>.wp-block-table{max-width:960px!important}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>.wp-block-columns{max-width:960px!important}
body.single-post .fg-article-shell>.entry-content.wp-block-post-content>figure.wp-block-image{max-width:960px}
@media(max-width:650px){body.single-post .fg-article-shell{width:100%!important;padding:22px 18px 48px!important}body.single-post .fg-article-shell>.wp-block-post-title{font-size:clamp(1.8rem,8vw,2.4rem)!important}body.single-post .fg-article-shell>.entry-content.wp-block-post-content{font-size:16px}}

/* Unified editorial reading system, desktop + mobile */
body:not(.home) .wp-block-post-content:not(.fg-ratgeber-grid){font-size:17px;line-height:1.78}
body:not(.home) main#wp--skip-link--target>.wp-block-group>.wp-block-post-featured-image,
body:not(.home) main#wp--skip-link--target>.wp-block-group>.wp-block-post-title{width:min(100% - 36px,1040px);max-width:1040px;margin-left:auto!important;margin-right:auto!important}
body:not(.home) main#wp--skip-link--target>.wp-block-group>.wp-block-post-title{font-size:clamp(2rem,3.2vw,3.2rem);line-height:1.15;letter-spacing:-.025em}
body:not(.home) .entry-content.wp-block-post-content{max-width:1040px!important;width:calc(100% - 36px)!important;margin-inline:auto!important;padding-inline:0!important}
body:not(.home) .entry-content.wp-block-post-content>p,
body:not(.home) .entry-content.wp-block-post-content>ul,
body:not(.home) .entry-content.wp-block-post-content>ol,
body:not(.home) .entry-content.wp-block-post-content>blockquote{max-width:780px;margin-left:auto;margin-right:auto}
body:not(.home) .entry-content.wp-block-post-content>h2,
body:not(.home) .entry-content.wp-block-post-content>h3,
body:not(.home) .entry-content.wp-block-post-content>h4{max-width:860px;margin-left:auto;margin-right:auto}
body:not(.home) .entry-content.wp-block-post-content>h2{font-size:clamp(1.5rem,2.2vw,2rem);margin-top:52px;margin-bottom:20px}
body:not(.home) .entry-content.wp-block-post-content>h3{font-size:clamp(1.2rem,1.7vw,1.45rem);margin-top:30px}
body:not(.home) .entry-content.wp-block-post-content>p{line-height:1.82;margin-block:1.15em}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-columns{max-width:1040px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px auto 42px}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-columns>.wp-block-column{min-width:0!important;flex:none!important;width:auto!important;background:#f2f6f2;border:1px solid #e1ebe3;border-radius:16px;padding:22px;overflow-wrap:break-word}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-columns>.wp-block-column h3:first-child{font-size:1.14rem;margin:0 0 12px}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-columns>.wp-block-column p{font-size:15px;line-height:1.72}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table{max-width:1040px!important;width:100%!important;margin:28px auto 42px;overflow-x:auto;border:1px solid #dce8df;border-radius:14px}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table table{width:100%!important;min-width:0!important;table-layout:fixed;font-size:15px;line-height:1.55;border-collapse:collapse}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table th,
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table td{overflow-wrap:break-word;word-break:normal;hyphens:auto;padding:14px;vertical-align:top}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table th:first-child,
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table td:first-child{width:22%;font-weight:650}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table th{background:#e8f2ec;color:#183e2e}
body:not(.home) .entry-content.wp-block-post-content>.wp-block-table figcaption{padding:10px 14px}
body:not(.home) .entry-content.wp-block-post-content>figure.wp-block-image{max-width:960px;margin-inline:auto}
body:not(.home) .entry-content.wp-block-post-content>figure.wp-block-image img{max-width:100%;height:auto}
@media(max-width:800px){body:not(.home) .entry-content.wp-block-post-content>.wp-block-columns{grid-template-columns:1fr!important}body:not(.home) .entry-content.wp-block-post-content>.wp-block-table table{min-width:680px!important;table-layout:auto}body:not(.home) .entry-content.wp-block-post-content>.wp-block-table th:first-child,body:not(.home) .entry-content.wp-block-post-content>.wp-block-table td:first-child{width:auto}body:not(.home) .entry-content.wp-block-post-content>.wp-block-table th,body:not(.home) .entry-content.wp-block-post-content>.wp-block-table td{min-width:145px}}
@media(max-width:560px){body:not(.home) .entry-content.wp-block-post-content{font-size:16px}body:not(.home) .entry-content.wp-block-post-content>h2{margin-top:38px}body:not(.home) .entry-content.wp-block-post-content>.wp-block-columns>.wp-block-column{padding:18px}body:not(.home) .entry-content.wp-block-post-content>.wp-block-table th,body:not(.home) .entry-content.wp-block-post-content>.wp-block-table td{padding:11px}}

:root{--fg-forest:#18382b;--fg-green:#2f6b4f;--fg-mist:#eaf4ee;--fg-cream:#f4f1e8;--fg-ink:#243d30;--fg-border:#dce8df}
html{scroll-behavior:smooth}body{background:#fff;color:var(--fg-ink);-webkit-font-smoothing:antialiased}.wp-site-blocks{overflow-x:clip}
a{transition:color .2s ease}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d59d35;outline-offset:3px}
.fg-site-header{border-bottom:1px solid var(--fg-border);background:#fff;position:relative;z-index:10}.fg-site-header .wp-block-site-title a{text-decoration:none;color:var(--fg-forest);font-weight:800}.fg-site-header .wp-block-navigation a{text-decoration:none;font-weight:600}.fg-site-header .wp-block-navigation a:hover{color:var(--fg-green)}
.fg-site-footer{background:var(--fg-forest);color:#f1f8f3}.fg-site-footer a{color:#f1f8f3;text-decoration:none}.fg-site-footer a:hover{text-decoration:underline}.fg-site-footer .wp-block-separator{border-color:#678476}
.wp-block-post-content p{line-height:1.8}.wp-block-post-content h2{margin-top:2.4rem;margin-bottom:1rem;line-height:1.22;color:var(--fg-forest)}.wp-block-post-content h3{margin-top:1.7rem;line-height:1.3;color:var(--fg-forest)}.wp-block-post-content figure{margin-block:2rem}.wp-block-post-content img{border-radius:14px;height:auto}.wp-block-post-content figcaption{font-size:.88rem;color:#52645b}.wp-block-post-content ul,.wp-block-post-content ol{padding-left:1.5rem;line-height:1.8}.wp-block-post-content blockquote{border-left:4px solid var(--fg-green);padding:1rem 1.5rem;background:var(--fg-mist);margin-inline:0}
.wp-block-post-content table{width:100%;border-collapse:collapse}.wp-block-post-content th{background:var(--fg-mist);text-align:left}.wp-block-post-content th,.wp-block-post-content td{padding:12px;border:1px solid var(--fg-border)}
.fg-article-shell{max-width:820px;margin-inline:auto}.fg-article-shell .wp-block-post-title{line-height:1.16;letter-spacing:-.025em}.fg-article-shell .wp-block-post-featured-image img{border-radius:18px}.fg-article-shell .wp-block-post-content>p{margin-block:1.1rem}
.wp-block-button__link,.button,.single_add_to_cart_button{transition:transform .2s ease,filter .2s ease}.wp-block-button__link:hover,.button:hover,.single_add_to_cart_button:hover{transform:translateY(-2px);filter:brightness(.95)}
.woocommerce ul.products{gap:24px}.woocommerce ul.products li.product{border:1px solid var(--fg-border);border-radius:18px;padding:14px 14px 22px;box-sizing:border-box}.woocommerce ul.products li.product img{border-radius:12px}.woocommerce ul.products li.product .button,.woocommerce button.button.alt{background:var(--fg-green);color:#fff;border-radius:999px;padding:12px 22px}.woocommerce div.product .product_title{color:var(--fg-forest)}
/* Blog archive: independent wide editorial layout, not the narrow article column */
body.blog main#wp--skip-link--target{width:100%;max-width:none!important}
body.blog main#wp--skip-link--target>.fg-blog-shell{width:min(100% - 40px,1180px)!important;max-width:1180px!important;margin:0 auto!important;padding:24px 0 80px!important}
body.blog .fg-blog-shell>.fg-ratgeber-intro{width:100%!important;max-width:none!important;margin:16px 0 34px!important;padding:clamp(30px,5vw,58px)!important}
body.blog .fg-blog-shell>.fg-ratgeber-intro h1{font-size:clamp(2rem,3.6vw,3.3rem);max-width:900px}
body.blog .fg-blog-shell>.wp-block-query{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.blog .fg-blog-shell .wp-block-post-template.is-layout-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.blog .fg-blog-shell .wp-block-post-template>li{width:auto!important;min-width:0!important;margin:0!important}
body.blog .fg-blog-shell .fg-ratgeber-card{height:100%;min-width:0;overflow:hidden}
body.blog .fg-blog-shell .fg-ratgeber-card-body{padding:22px!important}
body.blog .fg-blog-shell .fg-ratgeber-card h2{font-size:clamp(1.13rem,1.55vw,1.37rem)!important;line-height:1.36;overflow-wrap:normal;word-break:normal;hyphens:auto}
body.blog .fg-blog-shell .fg-ratgeber-card .wp-block-post-excerpt{font-size:.94rem;line-height:1.7}
body.blog .fg-blog-shell .fg-ratgeber-card .wp-block-post-excerpt__excerpt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body.blog .fg-blog-shell .fg-ratgeber-card .wp-block-post-excerpt__more-text{margin-top:16px}
body.blog .fg-blog-shell .fg-ratgeber-card .wp-block-post-date{font-size:.8rem;color:#66766c}
@media(max-width:900px){body.blog .fg-blog-shell .wp-block-post-template.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.blog main#wp--skip-link--target>.fg-blog-shell{width:calc(100% - 28px)!important;padding-top:8px!important}body.blog .fg-blog-shell>.fg-ratgeber-intro{padding:28px 22px!important}body.blog .fg-blog-shell .wp-block-post-template.is-layout-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}body.blog .fg-blog-shell .fg-ratgeber-card-body{padding:20px!important}}

/* Editorial listing cards */
.fg-ratgeber-intro{background:var(--fg-cream);padding:clamp(36px,6vw,78px) 24px;border-radius:22px;margin-block:28px 38px}.fg-ratgeber-intro h1{color:var(--fg-forest);font-size:clamp(2rem,4vw,3.4rem);line-height:1.12;margin:0 0 16px}.fg-ratgeber-intro p{max-width:720px;line-height:1.7;color:#40574c;margin:0}
.fg-ratgeber-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.fg-ratgeber-card{border:1px solid var(--fg-border);border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.fg-ratgeber-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.fg-ratgeber-card-body{padding:24px;display:flex;flex-direction:column;flex:1}.fg-ratgeber-card h2{font-size:clamp(1.12rem,1.6vw,1.4rem);line-height:1.3;margin:8px 0 12px}.fg-ratgeber-card h2 a{color:var(--fg-forest);text-decoration:none}.fg-ratgeber-card h2 a:hover{text-decoration:underline}.fg-ratgeber-card p{font-size:.96rem;line-height:1.65;color:#4f6358}.fg-ratgeber-card .fg-read-more{margin-top:auto;color:var(--fg-green);font-weight:700;text-decoration:none}.fg-ratgeber-card .fg-date{color:#63766b;font-size:.82rem}
.fg-shop-intro{background:var(--fg-mist);border-radius:22px;padding:clamp(28px,5vw,64px);margin-bottom:36px}.fg-shop-intro h1{color:var(--fg-forest);line-height:1.14;margin-top:0}.fg-shop-intro p{max-width:720px;line-height:1.7}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:24px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.15rem!important;line-height:1.35;color:var(--fg-forest)}.woocommerce ul.products li.product .price{color:var(--fg-green);font-weight:700}.woocommerce div.product .woocommerce-tabs{margin-top:48px}.woocommerce div.product .woocommerce-product-gallery img{border-radius:16px}
.fg-not-found{text-align:center;max-width:760px;margin-inline:auto}.fg-not-found h1{color:var(--fg-forest);font-size:clamp(2rem,5vw,3.5rem);line-height:1.15}.fg-not-found p{line-height:1.75}.fg-not-found .wp-block-search{max-width:540px;margin:30px auto}.fg-not-found .wp-block-buttons{margin-top:28px}.fg-search-page h1{color:var(--fg-forest)}.fg-search-page>.wp-block-search{margin-block:22px 42px}.fg-search-page .wp-block-post-template{gap:24px}.fg-ratgeber-card .wp-block-post-excerpt__more-link{font-weight:700;color:var(--fg-green)}.fg-archive-page .fg-ratgeber-intro{margin-top:0}.fg-archive-page .fg-ratgeber-intro h1{margin:0 0 12px}.fg-ratgeber-card .wp-block-post-featured-image{margin:0}.fg-ratgeber-card .wp-block-post-featured-image img{border-radius:0}.fg-ratgeber-card .wp-block-post-title{overflow-wrap:anywhere}.fg-site-footer a:focus-visible,.fg-site-header a:focus-visible{outline-offset:5px}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:#f7f8f5}.wp-block-post-template.is-layout-grid{gap:24px}
.fg-guide-lead{font-size:clamp(1.1rem,1.8vw,1.35rem);line-height:1.8;color:#425e4c;max-width:850px}.fg-guide-cta{background:var(--fg-mist);border-radius:22px;padding:clamp(24px,5vw,56px);margin-block:56px 12px}.fg-guide-cta h2{margin-top:0!important}.wp-block-post-content .wp-block-table{overflow-x:auto}.wp-block-post-content .wp-block-table table{min-width:620px}.wp-block-post-content .wp-block-columns{gap:24px}.wp-block-post-content .wp-block-columns>.wp-block-column{min-width:0}
.wp-block-post-featured-image img{width:100%;max-height:480px;object-fit:cover;border-radius:20px}.wp-block-post-title{overflow-wrap:break-word}.wp-block-post-content>.wp-block-columns{margin-block:32px}.wp-block-post-content .wp-block-column>h3:first-child{margin-top:0}.wp-block-post-content .wp-block-column{border-radius:16px}.fg-site-header .wp-block-navigation__responsive-container-open{color:var(--fg-forest)}
body.home .wp-block-post-title{display:none}body.home .wp-block-post-content>.wp-block-cover{margin-top:0}.fg-site-footer .wp-block-paragraph{line-height:1.9}
@media(max-width:900px){.fg-ratgeber-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:781px){.wp-block-cover{min-height:auto!important}.wp-block-post-content h2{margin-top:1.8rem}.wp-block-post-content th,.wp-block-post-content td{padding:8px;font-size:.9rem}.fg-site-header .wp-block-group{gap:14px}.fg-site-footer .wp-block-columns{gap:24px}.fg-article-shell{padding-inline:16px}.woocommerce ul.products{gap:14px}}
@media(max-width:560px){.fg-ratgeber-grid{grid-template-columns:1fr}.fg-ratgeber-intro{margin-top:16px}.fg-ratgeber-card-body{padding:20px}.fg-site-header .wp-block-site-title{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
