/* Kruimeldief Studio: site-wide design and article layouts. Saved content is unchanged. */
body.kds-site-chrome-on #masthead,
body.kds-site-chrome-on #colophon,
body.kds-site-chrome-on .site-header:not(.kds-site-header),
body.kds-site-chrome-on .site-footer:not(.kds-site-footer) {display:none!important;}
body.kds-site-chrome-on .kds-site-header,
body.kds-site-chrome-on .kds-site-footer {display:block!important;width:100%;max-width:none;margin:0!important;}
body.kds-site-chrome-on .site-content {background:#fffefa;}
body.kds-site-chrome-on .site-content > .ast-container {margin-top:0!important;margin-bottom:0!important;}
body.kds-site-chrome-on .kds-site-header a:focus-visible,
body.kds-site-chrome-on .kds-site-footer a:focus-visible,
body.kds-site-chrome-on .kds-site-header summary:focus-visible {outline:3px solid #a4c678;outline-offset:3px;}

body.kds-editorial-on #masthead,
body.kds-editorial-on #colophon,
body.kds-editorial-on .site-header:not(.kds-editorial-header),
body.kds-editorial-on .site-footer:not(.kds-editorial-footer) { display:none!important; }
body.kds-editorial-on #content {margin:0!important;padding:0!important;}
body.kds-editorial-on .site-content>.ast-container,
body.kds-editorial-on .site-content .ast-container,
body.kds-editorial-on .site-content .content-area,
body.kds-editorial-on #primary,
body.kds-editorial-on #main,
body.kds-editorial-on .site-main > article,
body.kds-editorial-on .ast-separate-container .ast-article-single,
body.kds-editorial-on #main > article > .entry-content {
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
 border:0!important;float:none!important;background:transparent!important;box-shadow:none!important;
}
body.kds-editorial-on .site-content .widget-area { display:none!important; }
body.kds-editorial-on #main > article > .entry-header,
body.kds-editorial-on #main > article > .post-thumb,
body.kds-editorial-on #main > article > .ast-single-post-order,
body.kds-editorial-on #main > article > .post-navigation,
body.kds-editorial-on #main > article > .entry-meta { display:none!important; }
body.kds-editorial-on .site-content { background:#fffefa; }
body.kds-editorial-on .site-main > article > .entry-content { margin:0!important; }
body.kds-editorial-on .kds-editorial-article{background:#fffefa;max-width:none;width:100%;color:#213c32;line-height:1.7;}
body.kds-editorial-on .kds-editorial-hero{background:#153b35;color:#fff;padding:55px 0 65px;}
.kds-editorial-breadcrumbs { display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:40px;font-size:12px;color:#b0c8be;}
.kds-editorial-breadcrumbs a{color:#e1efe6;text-decoration:underline;text-underline-offset:4px;}
.kds-editorial-breadcrumbs span:last-child{max-width:75ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.kds-editorial-hero .kds-overline{color:#bed9cb;font-size:11px;letter-spacing:.14em;margin:0 0 14px;}
.kds-editorial-hero h1{max-width:870px;font-size:clamp(2.3rem,4.45vw,4.45rem);line-height:1.1;letter-spacing:-.049em;color:#fff;margin:0 0 20px;}
.kds-editorial-hero__lead{font-size:clamp(1.05rem,1.6vw,1.25rem);max-width:790px;line-height:1.65;color:#d6e5dc;margin:0;}
.kds-editorial-hero__actions{display:flex;gap:12px 26px;flex-wrap:wrap;margin-top:28px;}
.kds-editorial-hero__actions a{display:inline-block;color:#ddefaa;border-bottom:1px solid #b7d287;padding:5px 0;font-size:13px;font-weight:700;}
.kds-editorial-main{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;column-gap:clamp(42px,6vw,100px);padding-top:58px;padding-bottom:75px;}
.kds-editorial-body{min-width:0;max-width:775px;}
.kds-editorial-featured{margin:0 0 32px;padding:0;max-height:440px;overflow:hidden;border-radius:7px;background:#f1f4ec;}
.kds-editorial-featured img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#f1f4ec;}
.kds-editorial-copy{font-size:16px;line-height:1.85;color:#294238;}
.kds-editorial-copy > :first-child{margin-top:0;}
.kds-editorial-copy p{margin:0 0 1.35em;color:#294238;}
.kds-editorial-copy h2{font-size:clamp(1.7rem,2.6vw,2.28rem);font-weight:750;line-height:1.22;margin:48px 0 17px;color:#183e34;scroll-margin-top:90px;}
.kds-editorial-copy h3{font-size:1.35rem;line-height:1.3;font-weight:700;margin:32px 0 12px;color:#225043;scroll-margin-top:95px;}
.kds-editorial-copy h4{font-size:1.12rem;margin:24px 0 10px;color:#225043;}
.kds-editorial-copy a:not(.kds-button){color:#1b6750;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.kds-editorial-copy a:hover{color:#154538;}
.kds-editorial-copy strong{color:#1a3a2f;font-weight:720;}
.kds-editorial-copy ul,.kds-editorial-copy ol{padding-left:1.35em;margin:0 0 1.6em;}
.kds-editorial-copy li{margin:0 0 .6em;}
.kds-editorial-copy blockquote{border-left:3px solid #86a87a;padding:17px 20px;background:#f2f6ec;margin:30px 0;color:#2b5141;}
.kds-editorial-copy .wp-block-table,.kds-editorial-copy table{width:100%;margin:25px 0 35px;overflow-x:auto;border:0;border-collapse:collapse;font-size:14px;}
.kds-editorial-copy th,.kds-editorial-copy td{padding:12px 14px;text-align:left;border:0;border-bottom:1px solid #e0e8de;vertical-align:top;color:#305344;}
.kds-editorial-copy th{background:#edf2e9;font-weight:720;color:#184637;}
.kds-editorial-copy img{max-width:100%;height:auto;}
.kds-editorial-copy figure{max-width:100%;}
.kds-editorial-copy figcaption{font-size:12px;color:#748477;margin-top:6px;}
.kds-editorial-copy .wp-block-image{margin-bottom:27px;}
.kds-editorial-copy .kds-old-products{display:block;border-left:4px solid #809e70;background:#eff5e9;padding:18px 22px;margin:24px 0;}
.kds-editorial-copy .kds-old-products p{margin:6px 0 0;}
.kds-editorial-copy .kds-old-products strong{color:#234936;}
.kds-editorial-note{margin-top:45px;background:#f3f5ef;border-top:3px solid #95ad8d;padding:23px 28px;color:#5e7164;font-size:13px;line-height:1.7;}
.kds-editorial-note strong{font-size:14px;color:#264b3b;display:block;margin-bottom:8px;}
.kds-editorial-note p{margin:0;color:#5e7164;}
.kds-editorial-sidebar{position:sticky;top:28px;display:grid;gap:20px;}
.kds-editorial-sidecard{background:#f4f6f0;border:1px solid #dfe8dd;padding:25px 25px 22px;border-radius:5px;}
.kds-editorial-sidecard .kds-overline{font-size:10px;margin-bottom:15px;color:#497257;}
.kds-editorial-sidecard ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.kds-editorial-sidecard li{line-height:1.35;margin:0;}
.kds-editorial-sidecard li a{font-size:12px;color:#4a6655;display:block;padding:3px 0;}
.kds-editorial-sidecard li a:hover{color:#1f6042;text-decoration:underline;}
.kds-editorial-sidecard--action{background:#153e35;color:#fff;border-color:#153e35;}
.kds-editorial-sidecard--action .kds-overline{color:#bbddac;}
.kds-editorial-sidecard--action h2{color:#fff;font-size:23px;line-height:1.2;margin:0 0 12px;}
.kds-editorial-sidecard--action p:not(.kds-overline){font-size:13px;line-height:1.6;color:#cfdfd5;}
.kds-editorial-sidecard--action a{color:#d8efa3;border-bottom:1px solid #d8efa3;font-size:13px;display:inline-block;padding:6px 0;margin-top:12px;font-weight:700;}
.kds-editorial-next{background:#eaf1e6;padding:66px 0 75px;}
.kds-editorial-next .kds-overline{font-size:11px;color:#3d6851;margin-bottom:10px;}
.kds-editorial-next h2{font-size:clamp(1.8rem,2.9vw,2.75rem);line-height:1.2;color:#1e4435;margin:0 0 30px;}
.kds-editorial-next__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
.kds-editorial-next__grid a{display:flex;min-height:195px;flex-direction:column;background:#fffefa;border:1px solid #dce4d8;border-radius:6px;padding:25px;transition:transform .2s ease,box-shadow .2s ease;}
.kds-editorial-next__grid a:hover{transform:translateY(-3px);box-shadow:0 6px 22px rgba(20,52,33,.08);}
.kds-editorial-next__grid span{font-size:11px;color:#65806c;font-weight:750;letter-spacing:.05em;}
.kds-editorial-next__grid strong{font-size:19px;color:#1d4637;line-height:1.3;margin:22px 0 auto;font-weight:750;}
.kds-editorial-next__grid em{font-style:normal;font-size:12px;color:#327452;font-weight:750;margin-top:20px;}
body.kds-editorial-on .kds-site-header,body.kds-editorial-on .kds-site-footer{margin:0!important;max-width:none;}
@media(max-width:1050px){.kds-editorial-main{grid-template-columns:minmax(0,1fr) 245px;column-gap:30px;}.kds-editorial-sidecard{padding:20px;}}
@media(max-width:850px){.kds-editorial-main{grid-template-columns:1fr;}.kds-editorial-sidebar{position:static;grid-row:1;margin-bottom:34px;grid-template-columns:1fr 1fr;}.kds-editorial-copy{font-size:15px;}.kds-editorial-featured{max-height:360px;}.kds-editorial-next__grid{grid-template-columns:1fr 1fr;}}
@media(max-width:640px){.kds-editorial-hero{padding:30px 0 45px;}.kds-editorial-breadcrumbs{margin-bottom:25px;gap:8px;}.kds-editorial-breadcrumbs span:last-child{white-space:normal;}.kds-editorial-hero h1{font-size:clamp(2rem,9vw,3.2rem);}.kds-editorial-main{padding-top:30px;padding-bottom:48px;}.kds-editorial-sidebar{grid-template-columns:1fr;}.kds-editorial-copy h2{font-size:1.65rem;}.kds-editorial-copy table{font-size:12px;}.kds-editorial-copy th,.kds-editorial-copy td{padding:9px;}.kds-editorial-next{padding:48px 0;}.kds-editorial-next__grid{grid-template-columns:1fr;}.kds-editorial-next__grid a{min-height:150px;}}

/* Archives, blog overview, search pages and 404: same palette/header/footer without rewriting content. */
body.kds-site-chrome-on:not(.kds-editorial-on) #content{padding:0!important;margin:0!important;background:#fffefa;}
body.kds-site-chrome-on:not(.kds-editorial-on) #content > .ast-container{max-width:1180px;width:calc(100% - 48px);margin-inline:auto!important;padding:38px 0 78px!important;}
body.kds-site-chrome-on:not(.kds-editorial-on) #primary{margin:0!important;}
body.kds-site-chrome-on:not(.kds-editorial-on) .site-main{margin:0;}
body.kds-site-chrome-on:not(.kds-editorial-on) .page-header{padding:34px 0 28px;border:0;}
body.kds-site-chrome-on:not(.kds-editorial-on) .page-title{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.04em;line-height:1.15;color:#153b35;}
body.kds-site-chrome-on:not(.kds-editorial-on) #main > article{border:1px solid #e1e9dd;border-radius:6px;padding:28px 32px!important;margin:0 0 22px!important;box-shadow:none;background:#fff!important;}
body.kds-site-chrome-on:not(.kds-editorial-on) #main > article .entry-title{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:clamp(1.5rem,2.6vw,2.15rem);line-height:1.25;letter-spacing:-.035em;color:#17483a;}
body.kds-site-chrome-on:not(.kds-editorial-on) #main > article .entry-title a{color:#17483a;}
body.kds-site-chrome-on:not(.kds-editorial-on) #main > article .entry-meta{font-size:12px;color:#6a7c70;}
body.kds-site-chrome-on:not(.kds-editorial-on) #main > article .entry-content{color:#315043;line-height:1.75;}
body.kds-site-chrome-on:not(.kds-editorial-on) #main > article .entry-content a{color:#26664f;}
body.kds-site-chrome-on:not(.kds-editorial-on) .widget-area{margin-top:38px;}
body.kds-site-chrome-on:not(.kds-editorial-on) .widget-area .widget{border:1px solid #e0e8df;border-radius:5px;background:#f6f8f2;padding:20px;}
body.kds-site-chrome-on:not(.kds-editorial-on) .ast-pagination{margin:30px 0;}
body.kds-site-chrome-on:not(.kds-editorial-on) .ast-pagination a{color:#235d48;}
@media(max-width:700px){body.kds-site-chrome-on:not(.kds-editorial-on) #content > .ast-container{width:calc(100% - 36px);padding:22px 0 48px!important;}body.kds-site-chrome-on:not(.kds-editorial-on) #main > article{padding:19px!important;}}

/* v1.2: Astra may output its own page header and featured image OUTSIDE #main > article.
   Hide only this redundant wrapper; the article keeps the featured image inside its content grid. */
body.kds-editorial-on .ast-single-post-featured-section,
body.kds-editorial-on .ast-single-post-header,
body.kds-editorial-on .site-content .entry-header,
body.kds-editorial-on .site-content .entry-title,
body.kds-editorial-on .site-content .ast-single-post-order,
body.kds-editorial-on .site-content .post-thumb,
body.kds-editorial-on .site-content .post-thumb-img-content,
body.kds-editorial-on .site-content .ast-featured-img,
body.kds-editorial-on .site-content .ast-breadcrumbs-wrapper { display:none!important; }
body.kds-editorial-on .site-content .kds-editorial-article .kds-editorial-hero h1 { display:block!important; }
body.kds-editorial-on .site-content .kds-editorial-featured { display:block!important; }
body.kds-editorial-on .kds-editorial-hero { padding:38px 0 44px; }
body.kds-editorial-on .kds-editorial-hero h1 { font-size:clamp(2.15rem,3.2vw,3.45rem);line-height:1.13;max-width:900px;letter-spacing:-.044em; }
body.kds-editorial-on .kds-editorial-breadcrumbs { margin-bottom:23px; }
body.kds-editorial-on .kds-editorial-main { padding-top:40px; }
body.kds-editorial-on .kds-editorial-featured { max-height:280px; max-width:580px; border-radius:9px; margin:0 0 25px; }
body.kds-editorial-on .kds-editorial-featured img { width:100%;height:auto;max-height:280px;object-fit:contain;object-position:left center; }
body.kds-editorial-on .kds-editorial-copy .kds-pick { margin:30px 0 34px; }
body.kds-editorial-on .kds-editorial-copy .kds-pick a.kds-pick__buy { color:#fff; text-decoration:none; }
body.kds-editorial-on .kds-editorial-copy .kds-pick a.kds-pick__source { color:#1f6950; }
@media(max-width:720px){
  body.kds-editorial-on .kds-editorial-hero { padding:27px 0 35px; }
  body.kds-editorial-on .kds-editorial-hero h1 { font-size:clamp(2rem,7.5vw,2.6rem); }
  body.kds-editorial-on .kds-editorial-featured { max-height:210px; }
  body.kds-editorial-on .kds-editorial-featured img { max-height:210px; }
  body.kds-editorial-on:has(.kds-mobile-buybar) { padding-bottom:74px; }
}

/* v1.3: Astra's native chronological navigation appeared after the curated cards. */
body.kds-editorial-on nav.navigation.post-navigation,
body.kds-editorial-on .post-navigation,
body.kds-editorial-on .ast-single-post-navigation,
body.kds-editorial-on .single-post-navigation,
body.kds-editorial-on .ast-post-navigation,
body.kds-editorial-on .ast-single-post-order .post-navigation {display:none!important;}

/* Article visuals from the existing WordPress Media Library (no remote stock images). */
.kds-editorial-copy .kds-editorial-inline-photo{max-width:740px;margin:25px 0 36px;background:#f4f6f0;border:1px solid #e4eade;border-radius:12px;overflow:hidden;padding:10px;}
.kds-editorial-copy .kds-editorial-inline-photo img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;object-position:center;margin:0 auto;border-radius:8px;}
.kds-editorial-copy figure.wp-block-image img{max-height:420px;object-fit:contain;}

/* Useful, compact related-content tiles with photos. */
.kds-editorial-next{background:#f4f7f1;padding:38px 0 45px;border-top:1px solid #e3ebdf;}
.kds-editorial-next .kds-overline{margin:0 0 7px;font-size:10px;letter-spacing:.14em;}
.kds-editorial-next h2{font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.2;margin:0 0 20px;}
.kds-editorial-next__grid{gap:12px;}
.kds-editorial-next__grid a.kds-editorial-next__card{display:grid;grid-template-columns:98px minmax(0,1fr);gap:13px;align-items:center;padding:12px;min-height:124px;border-radius:11px;border:1px solid #dde7d9;background:#fffefa;box-shadow:none;text-decoration:none;}
.kds-editorial-next__grid a.kds-editorial-next__card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,52,33,.07);}
.kds-editorial-next__thumb{display:grid;place-items:center;width:98px;height:98px;overflow:hidden;background:#eff4eb;border-radius:8px;}
.kds-editorial-next__thumb img{width:100%;height:100%;object-fit:contain;display:block;}
.kds-editorial-next__copy{display:flex;flex-direction:column;min-width:0;gap:6px;}
.kds-editorial-next__grid .kds-editorial-next__copy small{font-size:10px;color:#4e745f;letter-spacing:.07em;font-weight:750;text-transform:uppercase;}
.kds-editorial-next__grid .kds-editorial-next__copy strong{font-size:15px;line-height:1.25;margin:0;color:#153f33;font-weight:750;}
.kds-editorial-next__grid .kds-editorial-next__copy em{font-size:12px;margin:2px 0 0;color:#24654c;}
@media(max-width:1000px){.kds-editorial-next__grid{grid-template-columns:1fr 1fr;}}
@media(max-width:700px){.kds-editorial-next{padding:30px 0 35px;}.kds-editorial-next__grid{grid-template-columns:1fr;}.kds-editorial-next__grid a.kds-editorial-next__card{min-height:103px;grid-template-columns:83px minmax(0,1fr);}.kds-editorial-next__thumb{width:83px;height:83px;}.kds-editorial-copy .kds-editorial-inline-photo img{max-height:280px;}}
