/* Scoped to new shared chrome. Existing article/category/ad styles unchanged. */
.sc-chrome{background:#fff;color:#163e2c;border-top:3px solid #22734d;font-family:Arial,sans-serif;clear:both}
.sc-chrome *{box-sizing:border-box}.sc-chrome-inner{max-width:1330px;margin:auto;padding:16px}
.sc-chrome a{color:#163e2c;text-decoration:none}.sc-chrome a:focus-visible,.sc-chrome summary:focus-visible{outline:3px solid #22734d;outline-offset:3px}
.sc-chrome-brand{display:flex;align-items:center;gap:12px}.sc-chrome-brand img{object-fit:contain}.sc-chrome-brand strong{display:block;font-size:27px;line-height:1.2}.sc-chrome-brand small{display:block;font-size:15px;line-height:1.4;margin-top:5px}
.sc-chrome-primary{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-top:16px}.sc-chrome-primary a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px;background:#f3f7f4;border-radius:8px;font-size:17px}
.sc-chrome-primary a[aria-current="page"]{background:#22734d;color:#fff}.sc-chrome-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;justify-content:space-between}
.sc-chrome-social{display:flex;gap:0}.sc-chrome-social a{display:grid;place-items:center;width:44px;height:44px}.sc-chrome-social img{width:28px;height:28px}
.sc-chrome summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:16px;gap:6px}.sc-chrome summary:after{content:'⌄'}.sc-chrome-menu{list-style:none;margin:0;padding:0}.sc-chrome-menu a{display:flex;align-items:center;min-height:44px;padding:8px 0;font-size:17px}
.sc-chrome-coupons nav{padding:8px;background:#f3f7f4}.sc-chrome-search input{max-width:100%;min-height:44px}.sc-chrome-search form{display:flex;gap:8px;flex-wrap:wrap}
.sc-chrome-footer{background:#f3f7f4}.sc-chrome-footer .sc-chrome-brand strong{font-size:23px}.sc-chrome-footer-links{display:grid;grid-template-columns:1fr 1fr;margin:16px 0}.sc-chrome-footer .sc-chrome-social{justify-content:center}.sc-skip{position:absolute;inset-inline-start:16px;top:-100px;z-index:10000}.sc-skip:focus{top:8px;background:white;padding:12px}
@media(min-width:782px){.sc-chrome-header .sc-chrome-inner{display:grid;grid-template-columns:1fr auto;gap:8px 24px}.sc-chrome-header .sc-chrome-brand{grid-column:1}.sc-chrome-header .sc-chrome-primary{grid-column:1 / -1;display:flex;justify-content:flex-start;margin-top:0}.sc-chrome-primary a{padding-inline:24px}.sc-chrome-header .sc-chrome-bottom{grid-column:2;grid-row:1 / 3;align-self:center;margin:0;flex-direction:column}.sc-chrome-brand strong{font-size:36px}.sc-chrome-footer-links{grid-template-columns:1fr 1fr}.sc-chrome-footer-links .sc-chrome-menu{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.sc-chrome-footer .sc-chrome-social{justify-content:flex-start}}
/* Reset parent ID rules on the replacement components only. */
#masthead.sc-chrome,#colophon.sc-chrome{width:100%;max-width:none;margin:0;padding:0;background:#fff;color:#163e2c;text-align:right}
#colophon.sc-chrome{background:#f3f7f4}
.sc-chrome .sc-chrome-brand img{width:52px;height:52px;flex:0 0 52px}
.sc-chrome-footer .sc-chrome-brand img{width:40px;height:40px;flex-basis:40px}
.sc-chrome .sc-chrome-brand span{min-width:0}
.sc-chrome .sc-chrome-inner{width:100%;min-width:0}
.sc-chrome a,.sc-chrome a:hover{color:#163e2c}
.sc-chrome .sc-chrome-primary a[aria-current="page"]{color:#fff}
#colophon.sc-chrome a,#colophon.sc-chrome strong,#colophon.sc-chrome small{color:#163e2c}
@media(min-width:782px){#masthead.sc-chrome .sc-chrome-bottom{flex-direction:row;flex-wrap:wrap;max-width:440px;justify-content:flex-end}#masthead.sc-chrome .sc-chrome-inner{grid-template-columns:minmax(0,1fr) auto}#masthead.sc-chrome .sc-chrome-primary{grid-column:1 / -1}#masthead.sc-chrome .sc-chrome-bottom{grid-row:1}}

@media(max-width:781px){.sc-chrome-header .sc-chrome-search{display:none}}

body.category #masthead.sc-chrome,body.single #masthead.sc-chrome {background:#fff !important;overflow:visible !important;}

/* Owner preview revisions: no search, grouped menus, hover/focus, clear footer. */
.sc-chrome-primary a:hover,.sc-chrome-primary a:focus-visible,.sc-chrome-coupons summary:hover,.sc-chrome-coupons summary:focus-visible{background:#dceee2;color:#123c30}
.sc-chrome-primary a[aria-current="page"]:hover{background:#185638;color:#fff}
.sc-chrome-coupons-desktop{display:none}.sc-chrome-coupons-mobile{display:block}
.sc-chrome-footer-groups{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px;margin-top:24px}
.sc-chrome-footer h2{font-size:18px;line-height:1.3;font-weight:bold;margin:0 0 10px;color:#163e2c}
.sc-chrome-footer-groups .sc-chrome-menu{display:block}.sc-chrome-footer-groups .sc-chrome-menu a{padding:7px 0;min-height:44px;font-size:17px}
.sc-chrome-join{display:block;min-height:44px;padding:10px 12px;background:#22734d;color:white!important;border-radius:8px;text-align:center;margin-bottom:10px}
.sc-chrome-join:hover{background:#185638}.sc-chrome-footer-groups a:focus-visible{outline:3px solid #22734d;outline-offset:3px}
#deals26,#products26,#articles26,#masthead{scroll-margin-top:48px}
@media(min-width:782px){.sc-chrome-coupons-desktop{display:block;position:relative}.sc-chrome-coupons-mobile{display:none}.sc-chrome-coupons-desktop summary{justify-content:center;padding:8px 18px;background:#f3f7f4;border-radius:8px;font-size:17px}.sc-chrome-coupons-desktop nav{position:absolute;top:100%;right:0;min-width:220px;z-index:9999;border:1px solid #bed9c7;box-shadow:0 8px 20px #0002}.sc-chrome-header .sc-chrome-primary{overflow:visible}.sc-chrome-footer .sc-chrome-social{justify-content:flex-start}}
@media(max-width:781px){.sc-chrome-footer-groups{grid-template-columns:1fr 1fr;gap:20px}.sc-chrome-footer-join{grid-column:1 / -1}.sc-chrome-footer .sc-chrome-social{justify-content:center}}
/* Social and join links remain valid new-tab links in WordPress Live Preview. */
.sc-chrome-social a,.sc-chrome-social a *,.sc-chrome-join,.sc-chrome-social a.customize-unpreviewable,.sc-chrome-join.customize-unpreviewable{cursor:pointer!important}
/* Selected option 1: centered inline SVG, rotated only when expanded. */
.sc-chrome summary:after{content:none}
.sc-chrome-coupons summary{gap:7px}
.sc-chrome-chevron{display:block;flex:0 0 16px;width:16px;height:16px;transform:rotate(0deg);transition:transform .18s ease}
.sc-chrome-coupons[open]>summary .sc-chrome-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.sc-chrome-chevron{transition:none}}

/* Static preview keeps the active theme's verified translucent gray content. */
body.page.sc-static-title #content,
body.page.sc-static-title #primary,
body.page.sc-static-title #secondary .widget,
body.page.sc-static-title #footer-sidebar .widget { background:rgba(231,231,231,.8); }

/* Versioned title delivery: unchanged treatment, avoids stale root CSS. */
/* Single-post title matches the category heading; no home/sidebar selectors. */
body.single .single-entry-title,body.page.sc-static-title .single-entry-title {
  background:#fff!important;color:#143d30!important;
  font-family:'Alef Hebrew',Helvetica,Arial,sans-serif!important;
  font-size:clamp(23px,2.8vw,32px)!important;font-weight:700!important;
  line-height:1.3!important;text-align:right!important;
  border:0!important;border-bottom:3px solid #18804a!important;
  padding:20px 24px 16px!important;text-shadow:none!important;
}
@media(max-width:700px){body.single .single-entry-title,body.page.sc-static-title .single-entry-title{
  font-size:23px!important;line-height:1.35!important;background:#e8f4ea!important;
  border-top:3px solid #18804a!important;border-bottom:3px solid #18804a!important;
  border-radius:4px;padding:14px 18px!important;
}}

/* Owner-approved photo-free surface, preview theme only. */
html body,html body.custom-background {background-color:#f8faf8!important;background-image:linear-gradient(180deg,#e8f3eb 0px,#f8faf8 460px)!important;background-repeat:no-repeat!important;background-size:100% 560px!important;background-attachment:scroll!important;}

/* Actual inherited photograph is a separate parallax layer. */
#parallax-bg {background-image:none!important;background-color:transparent!important;}

/* Internal pages: no decorative fixed-height parallax boundary; keep ad flow. */
body:not(.home) #parallax-bg {display:none!important;}
body:not(.home) #header-2 {height:0!important;min-height:0!important;margin:0!important;padding:0!important;}
body:not(.home) #masthead + .aligncenter {margin:16px auto!important;padding:0!important;}
body:not(.home) .single-entry-title {margin-top:16px!important;}

/* Uniform internal-page canvas; retain all advertising markup and its natural height. */
html body:not(.home),html body:not(.home).custom-background {background:#f8faf8!important;}
body:not(.home) #masthead,body:not(.home) #content,body:not(.home) #content.sc-category-body,body:not(.home) #content > .container,body:not(.home) #secondary,body:not(.home) #secondary .widget,body:not(.home) .sc-category-hero,body:not(.home) .single-entry-title {background:#f8faf8!important;}

body:not(.home) #primary {background:#f8faf8!important;}
html body:not(.home) #page .single-entry-title {background:#f8faf8!important;}

html body:not(.home) #page .sc-chrome-header,html body:not(.home) #page .sc-category-body #secondary .widget {background-color:#f8faf8!important;}

/* Approved archive outline removal and full-region heading alignment. */
body:not(.home) #content {border:0!important;}
body.category .sc-category-inner {max-width:1170px;padding:0;}
@media(max-width:650px){body.category .sc-category-inner {padding:0 16px;}}

/* Homepage section headings share one size; card/footer hierarchy is retained. */
body.home.page-id-21801 .entry-content > h2.group-title {font-size:25px!important;line-height:1.3!important;}
@media(max-width:700px){body.home.page-id-21801 .entry-content > h2.group-title {font-size:23px!important;line-height:1.25!important;}}

/* Widget rule spans the title's content width, without an inset shadow. */
#secondary h1.widget-title {box-shadow:none!important;border-bottom:2px solid #18804a!important;}
/* Restore soft tile corners without moving the optically centered cart. */
.sc-chrome-brand img[src*="cart-centered-no-tag"] {border-radius:12px;}

/* Homepage ad-only containers collapse only after Google confirms every slot empty.
 * Loading, filled and optimized slots keep their content and click targets. */
body.home.page-id-21801 #primary-main .entry-content ins.adsbygoogle[data-ad-status="unfilled"] {
  display:none!important;
}
body.home.page-id-21801 #primary-main .entry-content .sc26-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle:not([data-ad-status="unfilled"]))),
body.home.page-id-21801 #primary-main .entry-content .google-auto-placed:has(ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle:not([data-ad-status="unfilled"]))) {
  display:none!important;
}
/* Owner-approved sans-serif family for shared header and single-post reading text.
 * Existing sizes, weights, line heights, ad creatives and icon fonts stay unchanged. */
.sc-chrome-header,
body.single .single-entry-title,
body.single #primary .entry-content {
  font-family:Arial,Helvetica,sans-serif!important;
}
body.single #primary .entry-content h1,
body.single #primary .entry-content h2,
body.single #primary .entry-content h3,
body.single #primary .entry-content h4,
body.single #primary .entry-content h5,
body.single #primary .entry-content h6 {
  font-family:Arial,Helvetica,sans-serif!important;
}
/* Owned ancillary text only, preserving icons and ad iframe contents. */
body.single #primary footer.entry-meta,
body.single #primary footer.entry-meta a,
#secondary .widget_top-posts,
#secondary .widget_top-posts a,
#secondary .widget_top-posts .widget-title,
#secondary .cat-post-widget,
#secondary .cat-post-widget .widget-title,
#secondary .cat-post-widget .cat-post-title,
#secondary .cat-post-widget .cat-post-excerpt,
#secondary .cat-post-widget .cat-post-date,
#secondary .cat-post-widget .cat-post-author,
#secondary .cat-post-widget .cat-post-more-link,
#secondary .cat-post-widget p {
  font-family:Arial,Helvetica,sans-serif!important;
}
/* NewOnShelf footer call to action only. */
#secondary :is(#category-posts-6,#category-posts-7,#category-posts-8) .cat-post-footer-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border:1px solid #b7cebf;
  border-radius:8px;
  background:#edf5ef;
  color:#185b35;
  font-family:Arial,Helvetica,sans-serif;
  font-weight:600;
  line-height:1.5;
  text-decoration:none;
}
#secondary :is(#category-posts-6,#category-posts-7,#category-posts-8) .cat-post-footer-link:hover {
  background:#e1eee5;
  border-color:#759b82;
  text-decoration:underline;
}
#secondary :is(#category-posts-6,#category-posts-7,#category-posts-8) .cat-post-footer-link:focus-visible {
  outline:2px solid #185b35;
  outline-offset:3px;
}
/* Homepage desktop header and ad rails match the content rail. */
@media(min-width:782px){
 body.home.page-id-21801 #masthead.sc-chrome > .sc-chrome-inner,
 body.home.page-id-21801 #masthead.sc-chrome > .aligncenter {
   width:calc(100% - 90px);max-width:1200px;margin-inline:auto;padding-inline:0;
 }
}
/* RTL editorial lists reserve marker space on the reading-start side. */
body.rtl.single .entry-content > :is(ul,ol),
body.rtl.single .entry-content :is(ul,ol).wp-block-list,
body.rtl.single .entry-content > :is(ul,ol) :is(ul,ol) {
 margin-inline:0;
 padding-inline-start:2em;
 padding-inline-end:0;
}

/* Gluten-free collaboration credit only. Category name and links stay unchanged. */
body.category-943 .sc-category-hero h1.sc-netta-title {
  font-family:"Alef Hebrew",Helvetica,Arial,sans-serif!important;
  font-size:32px!important; font-weight:400!important; line-height:1.3!important;
}
.sc-netta-title > a:first-child {font:inherit!important; margin:0!important;}
.sc-netta-title .sc-netta-credit {
  display:inline-block; margin-inline-start:14px; font-size:18px;
  font-weight:400; line-height:1.5; vertical-align:baseline;
}
.sc-netta-title .sc-netta-credit a {
  color:#267454!important; text-decoration:underline; font:inherit!important; margin:0!important;
}
@media(max-width:700px) {
    body.category-943 .sc-category-hero h1.sc-netta-title {font-size:30px!important;}
  .sc-netta-title .sc-netta-credit {display:block; margin-inline-start:0; margin-top:5px; font-size:17px;}
}

/* Keep only the gluten-free homepage credit beside the title, then stack on mobile. */

/* Homepage gluten-free header matches the articles header; credit is a separate row. */
body.home.page-id-21801 .sc-netta-home-header{max-width:1200px;width:100%;box-sizing:border-box;margin:28px auto 18px;padding:0 0 10px;border-bottom:3px solid #18804a;color:#143d30;font-family:"Alef Hebrew",Helvetica,Arial,sans-serif}
body.home.page-id-21801 .sc-netta-home-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.home.page-id-21801 .sc-netta-home-row h2{font:700 25px/1.3 "Alef Hebrew",Helvetica,Arial,sans-serif!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#143d30!important}
body.home.page-id-21801 .sc-netta-home-row h2 a{font:inherit!important;color:inherit!important;text-decoration:none}
body.home.page-id-21801 .sc-netta-home-more{font:700 14px/1.5 "Alef Hebrew",Helvetica,Arial,sans-serif!important;color:#126746!important;white-space:nowrap;text-decoration:none}
body.home.page-id-21801 .sc-netta-home-header .sc-netta-credit{display:block;margin:5px 0 0;font-size:18px;line-height:1.5;font-weight:400;color:#143d30}
body.home.page-id-21801 .sc-netta-home-header .sc-netta-credit a{font:inherit!important;color:inherit!important;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 body.home.page-id-21801 .sc-netta-home-header{width:calc(100% - 24px);margin:22px auto 16px;padding:12px 16px;background:#e8f4ea;border-top:3px solid #18804a;border-radius:4px}
 body.home.page-id-21801 .sc-netta-home-row{gap:10px}
 body.home.page-id-21801 .sc-netta-home-row h2{font-size:23px!important;line-height:1.25!important}
 body.home.page-id-21801 .sc-netta-home-more{font-size:13px!important;line-height:1.3!important}
 body.home.page-id-21801 .sc-netta-home-header .sc-netta-credit{font-size:17px}
}