/* Peach Book v1.4.6: Brand-correct lower page sections.
   Official palette: primary #FCAF17; aqua #7CC8C7;
   red-orange #F37021; yellow #FCE756.
   Neutral white and dark ink are used for readable text. The old deep-green
   footer was a design-support choice, not a brand-approved palette color.
   All changes target Peach Book components, leaving other WP UI untouched. */

/* Global closing CTA used on several pages. Distinct from the aqua footer. */
body.pb-site .pb-closing{
  background:var(--pb-brand-gold,#FCAF17)!important;
  color:var(--pb-brand-ink,#253B35);
  border:0;
}
body.pb-site .pb-closing h2,
body.pb-site .pb-closing h2 em,
body.pb-site .pb-closing p,
body.pb-site .pb-closing .pb-section-eyebrow{
  color:var(--pb-brand-ink,#253B35)!important;
}
body.pb-site .pb-closing .pb-btn,
body.pb-site .pb-closing .pb-btn-peach{
  background:var(--pb-brand-teal,#7CC8C7);
  color:var(--pb-brand-ink,#253B35);
  border:1px solid rgba(37,59,53,.18);
  box-shadow:0 6px 16px rgba(37,59,53,.08);
}
body.pb-site .pb-closing .pb-btn:hover,
body.pb-site .pb-closing .pb-btn-peach:hover,
body.pb-site .pb-closing .pb-btn:focus-visible{
  background:#fff;
  color:var(--pb-brand-ink,#253B35);
}

/* Homepage Stay in the Loop: preserve approved mockup's peach newsletter.
   This peach is a neutral tint of the official orange and not a new brand color. */
body.pb-site .pb-newsletter{background:#FFFAF5;}
body.pb-site .pb-newsletter-panel{
  background:color-mix(in srgb,var(--pb-brand-orange,#F37021) 15%,white);
  border:1px solid color-mix(in srgb,var(--pb-brand-orange,#F37021) 26%,white);
  box-shadow:0 12px 32px rgba(81,41,18,.06);
}
body.pb-site .pb-newsletter-input-row button{
  background:var(--pb-brand-teal,#7CC8C7);
  color:var(--pb-brand-ink,#253B35);
}
body.pb-site .pb-newsletter-input-row button:hover{
  background:#fff;
  color:var(--pb-brand-ink,#253B35);
}

/* Every global footer gets the same exact official aqua background.
   !important ensures it takes effect over stale Elementor saved colors.
   A newly saved Elementor Background Color style control can still override
   this default using the widget's higher-specificity !important rule. */
body.pb-site .pb-footer{
  background:var(--pb-brand-teal,#7CC8C7)!important;
  color:var(--pb-brand-ink,#253B35)!important;
}
body.pb-site .pb-footer :is(h2,h3,h4,p,span,small,strong),
body.pb-site .pb-footer .pb-footer-brand,
body.pb-site .pb-footer .pb-footer-bottom{
  color:var(--pb-brand-ink,#253B35)!important;
}
body.pb-site .pb-footer a,
body.pb-site .pb-footer .pb-footer-contact a{
  color:var(--pb-brand-ink,#253B35)!important;
}
body.pb-site .pb-footer a:hover,
body.pb-site .pb-footer a:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--pb-brand-ink,#253B35)!important;
}
body.pb-site .pb-footer .pb-footer-bottom{
  border-top-color:rgba(37,59,53,.24);
}
body.pb-site .pb-footer :is(a,button):focus-visible{
  outline:3px solid var(--pb-brand-orange,#F37021);
  outline-offset:4px;
}

/* v1.4.7: responsive Peach Book header and footer, usable on phones and tablets.
   This CSS loads after the theme and Elementor's base stylesheet so an existing
   site receives the correction by updating the companion plugin alone. */
body.pb-site .pb-global-nav,
body.pb-site .pb-site-header-shell{background:#FFFCF8;}
body.pb-site .pb-global-nav > .wrap{
  box-sizing:border-box;
  width:100%;
  max-width:1240px;
  padding-inline:clamp(16px,3vw,28px);
}
body.pb-site .pb-global-nav > .wrap > a:first-child{display:inline-flex;flex:0 0 auto;align-items:center;line-height:0;}
body.pb-site .pb-global-nav .pb-logo{height:auto;object-fit:contain;display:block;max-width:100%;}
body.pb-site .pb-footer .wrap{max-width:1240px;margin-inline:auto;padding-inline:clamp(18px,3.8vw,28px);}
body.pb-site .pb-footer-grid{align-items:start;}
body.pb-site .pb-footer-brand{min-width:0;}
body.pb-site .pb-footer-brand img{max-width:min(100%,160px);height:auto;object-fit:contain;display:block;}
body.pb-site .pb-footer-brand p{max-width:410px;line-height:1.65;margin:12px 0;}
body.pb-site .pb-footer-grid > div:not(.pb-footer-brand) > h4{font-size:14px;font-weight:800;margin:0 0 14px;}
body.pb-site .pb-footer-grid > div:not(.pb-footer-brand) > a{width:fit-content;max-width:100%;overflow-wrap:anywhere;line-height:1.55;}
body.pb-site .pb-footer .pb-footer-bottom{margin-top:36px;padding-top:18px;}

@media (max-width:1024px){
 body.pb-site .pb-global-nav > .wrap{min-height:72px!important;gap:14px!important;}
 body.pb-site .pb-global-nav .pb-logo{width:112px!important;max-height:65px;}
 body.pb-site .pb-nav-menu{display:none!important;}
 body.pb-site .pb-header-btn{display:none!important;}
 body.pb-site .pb-nav-actions{margin-left:auto;flex:0 0 auto;display:flex;align-items:center;}
 body.pb-site .pb-menu-toggle{
   display:inline-flex!important;justify-content:center;align-items:center;
   width:44px;height:44px;flex:0 0 44px;
   padding:0;border-radius:13px;border:1px solid #E8D9C6;
   background:#FFF5E8;color:#253B35;cursor:pointer;
   box-shadow:none;transition:background .2s,border-color .2s;
 }
 body.pb-site .pb-menu-toggle svg{width:23px;height:23px;display:block;stroke:currentColor;}
 body.pb-site .pb-menu-toggle:hover,body.pb-site .pb-menu-toggle[aria-expanded="true"]{background:#FCAF17;border-color:#FCAF17;}
 body.pb-site .pb-menu-toggle:focus-visible{outline:3px solid #F37021;outline-offset:3px;}
 body.pb-site .pb-global-nav{position:relative;}
 body.pb-site .pb-mobile-panel{
   display:block!important;position:absolute;top:100%;left:0;right:0;
   z-index:100;max-height:min(72dvh,540px);overflow:auto;
   background:#FFFCF8;padding:10px clamp(16px,4vw,32px) 20px;
   border-top:1px solid #F0E4D6;border-bottom:1px solid #E8D8C9;
   box-shadow:0 20px 35px rgba(38,47,40,.16);
 }
 body.pb-site .pb-mobile-panel[hidden]{display:none!important;}
 body.pb-site .pb-mobile-panel a{
   display:flex;align-items:center;text-decoration:none;
   min-height:47px;box-sizing:border-box;padding:12px 10px;
   border-bottom:1px solid #F0E4D6;color:#253B35;
   font-size:15px;font-weight:700;line-height:1.3;
 }
 body.pb-site .pb-mobile-panel a:last-child{border-bottom:0;}
 body.pb-site .pb-mobile-panel a:hover,body.pb-site .pb-mobile-panel a:focus-visible{color:#A64D13;background:#FFF0DE;border-radius:8px;}
 body.pb-site .pb-footer{padding:46px 0 20px;}
 body.pb-site .pb-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;}
 body.pb-site .pb-footer-brand{grid-column:1/-1;padding-bottom:19px;border-bottom:1px solid rgba(37,59,53,.18);}
 body.pb-site .pb-footer-brand p{max-width:540px;}
 body.pb-site .pb-footer-bottom{margin-top:26px!important;padding-top:17px!important;}
}
@media (max-width:600px){
 body.pb-site .pb-global-nav > .wrap{min-height:68px!important;padding-inline:16px!important;}
 body.pb-site .pb-global-nav .pb-logo{width:102px!important;max-height:58px;}
 body.pb-site .pb-footer{padding:38px 0 18px;}
 body.pb-site .pb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px;}
 body.pb-site .pb-footer-brand{grid-column:1/-1;padding-bottom:16px;}
 body.pb-site .pb-footer-brand img{width:123px!important;}
 body.pb-site .pb-footer-brand p{font-size:14px;line-height:1.58;margin:10px 0;}
 body.pb-site .pb-footer-brand > span,body.pb-site .pb-footer-contact a{font-size:13px;line-height:1.5;}
 body.pb-site .pb-footer-contact{margin-top:12px;gap:4px;}
 body.pb-site .pb-footer-contact a{padding:0;min-height:auto;}
 body.pb-site .pb-footer-grid > div:not(.pb-footer-brand) > h4{font-size:14px;margin:0 0 9px;}
 body.pb-site .pb-footer-grid > div:not(.pb-footer-brand) > a{font-size:13px;margin:4px 0 10px;line-height:1.45;}
 body.pb-site .pb-footer-grid > div:last-child{grid-column:1/-1;display:flex;gap:2px 18px;align-items:baseline;flex-wrap:wrap;border-top:1px solid rgba(37,59,53,.18);padding-top:16px;}
 body.pb-site .pb-footer-grid > div:last-child > h4{width:100%;flex:0 0 100%;margin:0 0 3px;}
 body.pb-site .pb-footer-grid > div:last-child > a{margin:4px 0 7px;}
 body.pb-site .pb-footer .pb-footer-bottom{text-align:center;font-size:12px;line-height:1.5;margin-top:20px!important;padding-top:14px!important;}
 body.pb-site .pb-closing{padding-block:45px!important;}
 body.pb-site .pb-closing .wrap{padding-inline:20px;gap:18px;}
 body.pb-site .pb-closing h2{font-size:clamp(30px,8.5vw,40px);}
 body.pb-site .pb-closing .pb-btn{min-width:0;align-self:stretch;text-align:center;}
}
@media (max-width:360px){
 body.pb-site .pb-global-nav .pb-logo{width:94px!important;}
 body.pb-site .pb-footer-grid{column-gap:13px;}
 body.pb-site .pb-footer .wrap{padding-inline:16px;}
}
@media (max-width:1024px){
 body.pb-site .pb-mobile-categories{border-bottom:1px solid #F0E4D6;}
 body.pb-site .pb-mobile-categories summary{display:flex;align-items:center;justify-content:space-between;min-height:45px;cursor:pointer;padding:9px 10px;font-weight:700;font-size:14px;color:#253B35;list-style:none;}
 body.pb-site .pb-mobile-categories summary::-webkit-details-marker{display:none;}
 body.pb-site .pb-mobile-categories summary svg{width:17px;height:17px;transition:transform .2s;}
 body.pb-site .pb-mobile-categories[open] summary svg{transform:rotate(180deg);}
 body.pb-site .pb-mobile-category-links{padding:0 8px 10px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
 body.pb-site .pb-mobile-category-links a{border:0;min-height:42px;padding:10px 12px;border-radius:9px;background:#FFF2E2;color:#253B35;font-size:12px;}
}
@media (max-width:380px){body.pb-site .pb-mobile-category-links{grid-template-columns:1fr;}}
/* Prevent the newsletter from creating horizontal scrolling on 320px phones. */
@media(max-width:600px){
 body.pb-site .pb-newsletter-panel,
 body.pb-site .pb-newsletter-intro,
 body.pb-site .pb-newsletter-intro > div,
 body.pb-site .pb-newsletter-form,
 body.pb-site .pb-newsletter-input-row,
 body.pb-site .pb-newsletter-consent{min-width:0;max-width:100%;box-sizing:border-box;}
 body.pb-site .pb-newsletter-form{width:100%;}
 body.pb-site .pb-newsletter-input-row{display:flex;width:100%;gap:5px;}
 body.pb-site .pb-newsletter-input-row input{width:0;flex:1 1 0;min-width:0;}
 body.pb-site .pb-newsletter-input-row button{flex:0 0 auto;white-space:nowrap;}
 body.pb-site .pb-newsletter-consent span{min-width:0;overflow-wrap:break-word;}
}
