/* SPD YAPI V25 - targeted, single source of truth for this revision. */
/* Restore the original mobile header and offcanvas toggle behavior. */
@media(max-width:1050px){
 .site-header .desktop-nav{display:none!important;visibility:hidden!important;}
 .site-header .header-cta{display:none!important;}
 .site-header .menu-toggle{display:block!important;visibility:visible!important;}
 .site-header .header-actions{margin-left:auto!important;}
 .mobile-menu .mobile-menu-inner{display:block!important;}
 .mobile-menu .mobile-menu-inner>a{display:flex!important;order:initial!important;}
 .mobile-menu{z-index:75!important;}
 .site-header{z-index:80!important;}
}
@media(min-width:1051px){
 .site-header .desktop-nav{display:flex!important;}
 .site-header .menu-toggle{display:none!important;}
 .site-header .header-cta{display:flex!important;}
 .site-header .desktop-nav>a{order:initial!important;}
}
/* Floating yellow contact tab: sits a little above the green page-navigation tab.
   Never overlap the mobile offcanvas menu; the menu owns the foreground. */
@media(max-width:700px){
 #spd-offer-tab{right:0!important;bottom:calc(175px + env(safe-area-inset-bottom,0px))!important;}
 body.menu-open #spd-offer-tab,
 body:has(.mobile-menu.open) #spd-offer-tab{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
}
/* Desktop footer: preserve left copyright and right centered copy/links. */
@media(min-width:1051px){
 .site-footer .footer-bottom{display:grid!important;grid-template-columns:minmax(270px,370px) minmax(0,1fr) auto!important;
  grid-template-areas:'copy summary toplink' '. legal toplink'!important;align-items:start!important;gap:10px 25px!important;}
 .site-footer .footer-bottom-primary{display:contents!important;}
 .site-footer .footer-copy-block{grid-area:copy!important;display:flex!important;flex-direction:column!important;gap:6px!important;align-items:flex-start!important;margin:0!important;padding:0!important;}
 .site-footer .footer-copyright{text-align:left!important;margin:0!important;}
 .site-footer .footer-social-row{display:flex!important;justify-content:flex-start!important;gap:15px!important;margin:0!important;padding:0!important;}
 .site-footer .footer-summary{grid-area:summary!important;text-align:center!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
 .site-footer .footer-toplink{grid-area:toplink!important;justify-self:end!important;align-self:start!important;margin:0!important;}
 .site-footer .footer-legal.footer-legal-links{grid-area:legal!important;position:static!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:10px 14px!important;max-width:none!important;width:100%!important;transform:none!important;left:auto!important;top:auto!important;margin:0!important;padding:0!important;}
}
/* Remove nothing else from the user's working layouts. */
.spd-reader-help{display:none!important;}
/* About catalog placement after removed work-method section. */
.about-copy-catalogs{padding-top:48px!important;padding-bottom:72px!important;margin-top:0!important;}
@media(max-width:700px){
 .about-copy-catalogs{padding-top:44px!important;padding-bottom:60px!important;}
 .about-copy-catalogs .spd-online-catalog-grid{gap:22px 12px!important;}
 .spd-legal-page{padding-top:clamp(45px,10vw,60px)!important;}
 .spd-legal-page .spd-legal-wrap{padding-top:14px!important;}
 .spd-legal-page h1{line-height:1.1!important;margin-bottom:24px!important;}
 .spd-legal-page .spd-legal-content>p{margin-bottom:24px!important;}
 .spd-legal-page .spd-legal-content h2,.spd-legal-page .spd-legal-content h3{margin:30px 0 12px!important;}
}

/* V25: mobile about page reading rhythm - no excessive blank top panels. */
@media(max-width:700px){
  body.spd-about-v25 .section-wrapper{min-height:0!important;}
  body.spd-about-v25 .section:not(.dark-section){min-height:0!important;padding-top:clamp(32px,8vw,52px)!important;padding-bottom:clamp(36px,9vw,60px)!important;}
  body.spd-about-v25 .section .section-inner{margin-top:0!important;margin-bottom:0!important;}
  body.spd-about-v25 .section .intro-grid{row-gap:14px!important;}
  body.spd-about-v25 .section .intro-title{margin-bottom:12px!important;}
  body.spd-about-v25 .section .intro-copy h2{margin-top:0!important;margin-bottom:20px!important;line-height:1.09!important;}
  body.spd-about-v25 .section .intro-copy .rich{margin-top:0!important;}
  body.spd-about-v25 .section .intro-copy .rich p{margin:0 0 16px!important;line-height:1.6!important;}
  body.spd-about-v25 .section .section-heading{margin-bottom:24px!important;}
  body.spd-about-v25 .about-copy-catalogs{padding-top:38px!important;padding-bottom:54px!important;}
}
