/* Scoped shared footer; the native absolute footer remains responsible for payment icons. */
#footer.footer-wrapper {background:#eff3ee;color:#242729}
#footer .tates-footer-shell {padding:96px 30px 0;background:linear-gradient(to bottom,#fff 0,#fff 126px,#eff3ee 126px,#eff3ee 100%)}
#footer .tates-footer-frame {position:relative;min-height:300px;border:2px solid #006735;border-bottom:0;padding:155px 40px 80px}
#footer .tates-footer-logo {position:absolute;z-index:1;top:-67px;left:50%;width:270px;max-width:75%;transform:translateX(-50%);display:block;line-height:0}
#footer .tates-footer-logo img {display:block;width:100%;height:auto}
#footer .tates-footer-columns {max-width:1360px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
#footer .tates-footer-column {min-width:0;color:#242729;font:400 14px/1.65 Arial,sans-serif}
#footer .tates-footer-column h2 {margin:0 0 23px;color:#1f2422;font:700 16px/1.3 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
#footer .tates-footer-menu-list,#footer .tates-footer-menu-list ul {list-style:none;margin:0;padding:0}
#footer .tates-footer-menu-list ul {padding-left:16px}
#footer .tates-footer-menu-list li {margin:0;padding:0;border:0}
#footer .tates-footer-menu-list a {color:#242729;text-decoration:none;overflow-wrap:anywhere}
#footer .tates-footer-menu-list a:hover,#footer .tates-footer-menu-list a:focus-visible {color:#006735;text-decoration:underline}
#footer .absolute-footer {background:#eff3ee!important;color:#242729;padding:0 30px 30px}
#footer .absolute-footer>.container {max-width:none;width:100%;border:2px solid #006735;border-top:0;padding:0 40px 32px;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:20px}
#footer .absolute-footer .footer-primary,#footer .absolute-footer .footer-secondary {float:none;margin:0;max-width:100%;color:#242729}
#footer .absolute-footer .copyright-footer {color:#242729;font:400 14px/1.5 Arial,sans-serif}
#footer .absolute-footer .footer-secondary {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:849px){
 #footer .tates-footer-shell {padding:85px 30px 0;background:linear-gradient(to bottom,#fff 0,#fff 115px,#eff3ee 115px,#eff3ee 100%)}
 #footer .tates-footer-frame {padding:180px 40px 65px;min-height:260px}
 #footer .tates-footer-logo {width:270px;top:-54px}
 #footer .tates-footer-columns {grid-template-columns:1fr;gap:72px}
 #footer .absolute-footer>.container {padding:0 40px 50px;display:flex;flex-direction:column-reverse;align-items:flex-start;text-align:left}
 #footer .absolute-footer .footer-secondary {justify-content:flex-start}
}
/* The active target's footer-refresh stylesheet loads later with equal specificity. */
#footer.footer-wrapper .absolute-footer {padding:0 30px 30px!important;background:#eff3ee!important;color:#242729}
#footer.footer-wrapper .absolute-footer>.container {box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0 40px 32px;border:2px solid #006735;border-top:0;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:20px}
#footer.footer-wrapper .absolute-footer .footer-primary,#footer.footer-wrapper .absolute-footer .footer-secondary {float:none;margin:0;max-width:100%;color:#242729}
#footer.footer-wrapper .absolute-footer .copyright-footer {color:#242729;font:400 14px/1.5 Arial,sans-serif}
#footer.footer-wrapper .absolute-footer .footer-secondary {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:849px){
 #footer.footer-wrapper .absolute-footer>.container {padding:0 40px 50px;flex-direction:column-reverse;align-items:flex-start;text-align:left}
 #footer.footer-wrapper .absolute-footer .footer-secondary {justify-content:flex-start}
}
/* Native footer assigns explicit order values; preserve copyright before icons. */
#footer.footer-wrapper .absolute-footer>.container {flex-direction:row}
@media(max-width:849px){#footer.footer-wrapper .absolute-footer>.container {flex-direction:column}}
