/* Only the existing shared footer is affected. */
#footer.footer-wrapper { background:#000; color:#fff; }
#footer .dwc-footer-banner { background:#e12727; color:#fff; padding:38px 24px; text-align:center; font:800 15px/1.35 Arial,sans-serif; letter-spacing:.035em; }
#footer .footer-2 { background:#000; color:#fff; padding:64px 24px !important; }
#footer .footer-2 > .row { max-width:1260px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(220px,1.4fr); gap:32px; margin:0 auto; }
#footer .footer-2 .widget { max-width:none; width:auto; padding:0 !important; margin:0; color:#fff; }
#footer .footer-2 .widget p { margin:0 0 8px; }
#footer .footer-2 .widget a { color:#fff !important; font:400 14px/1.5 Arial,sans-serif; }
#footer .footer-2 .widget a:hover, #footer .footer-2 .widget a:focus-visible { color:#ff4b4b !important; }
#footer .footer-2 .sf-footer-accordion-heading, #footer .dwc-footer-heading { color:#fff !important; font:800 13px/1.3 Arial,sans-serif !important; letter-spacing:.03em; margin:0 0 18px !important; }
#footer #custom_html-3 .dwc-footer-links p { margin:0 0 8px; }
#footer #custom_html-6 .custom-html-widget > div { background:#000 !important; color:#fff !important; }
#footer #custom_html-6 h3 { color:#fff !important; font:800 15px/1.3 Arial,sans-serif !important; text-transform:uppercase; }
#footer #custom_html-6 p { color:#fff !important; font:400 14px/1.5 Arial,sans-serif !important; }
#footer #custom_html-6 input { background:#000 !important; color:#fff !important; border:1px solid #fff !important; border-radius:0 !important; box-shadow:none !important; }
#footer #custom_html-6 input::placeholder { color:#ccc; opacity:1; }
#footer #custom_html-6 input:focus-visible { outline:2px solid #e12727 !important; outline-offset:2px; }
#footer #custom_html-6 button { background:#e12727 !important; color:#fff !important; border-radius:0 !important; }
#footer .absolute-footer { background:#000 !important; color:#fff !important; padding:24px; }
#footer .absolute-footer .container { max-width:1260px; display:flex; align-items:center; justify-content:space-between; flex-direction:row-reverse; gap:20px; }
#footer .copyright-footer { color:#fff !important; }
@media(max-width:767px) {
 #footer .dwc-footer-banner { padding:30px 20px; }
 #footer .footer-2 { padding:48px 20px !important; }
 #footer .footer-2 > .row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:38px 24px; }
 #footer #custom_html-6 { grid-column:1 / -1; }
 #footer .absolute-footer .container { flex-direction:column-reverse; align-items:flex-start; }
 #footer .absolute-footer .footer-primary,#footer .absolute-footer .footer-secondary { float:none; text-align:left; }
}
/* Widget markup is plain until the theme's optional accordion script initializes. */
#footer #custom_html-4 .custom-html-widget > div > p:first-child,
#footer #custom_html-5 .custom-html-widget > div > p:first-child { color:#fff !important; font:800 13px/1.3 Arial,sans-serif !important; letter-spacing:.03em; margin:0 0 18px !important; }
/* Existing footer-refresh styles and its accordion script have higher specificity. */
#footer.footer-wrapper { --footer-bg:#000; }
#footer #custom_html-3 .sf-footer-accordion-toggle { display:none !important; }
#footer #custom_html-3 .sf-footer-accordion-label[hidden] { display:block !important; padding:0 0 18px; }
#footer #custom_html-3 .sf-footer-accordion-content[hidden] { display:block !important; }
@media (max-width:600px) {
 #footer .footer-widgets > .row:has(.sf-footer-accordion-toggle) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:32px 20px !important; }
 #footer .footer-widgets #custom_html-3:has(.sf-footer-accordion-toggle) { border-bottom:0; }
 #footer .footer-widgets #custom_html-6 { grid-column:1 / -1; }
}
/* Existing provider supplies explicit order; retain copyright left, icons right. */
#footer .absolute-footer > .container { flex-direction:row; }
#footer .absolute-footer .footer-primary { order:1; }
#footer .absolute-footer .footer-secondary { order:2; }
@media(max-width:767px) { #footer .absolute-footer > .container { flex-direction:column; } }
#footer.footer-wrapper { --footer-bg:#000 !important; }
/* Source footer's logo is separate from the editable menu widgets. */
#footer.footer-wrapper { position:relative; }
#footer .dwc-footer-logo { position:absolute; z-index:1; top:155px; left:max(24px,calc((100% - 1260px)/2)); width:110px; }
#footer .dwc-footer-logo img { display:block; width:100%; height:auto; }
#footer .footer-2 > .row { padding-left:155px; }
@media(max-width:767px) {
 #footer .dwc-footer-logo { top:120px; left:50%; transform:translateX(-50%); width:90px; }
 #footer .footer-2 { padding-top:160px !important; }
 #footer .footer-2 > .row { padding-left:0; }
}
@media(max-width:600px) {
 #footer #custom_html-4 .sf-footer-accordion-toggle, #footer #custom_html-5 .sf-footer-accordion-toggle { display:none !important; }
 #footer #custom_html-4 .sf-footer-accordion-label[hidden], #footer #custom_html-5 .sf-footer-accordion-label[hidden] { display:block !important; padding:0 0 18px; }
 #footer #custom_html-4 .sf-footer-accordion-content[hidden], #footer #custom_html-5 .sf-footer-accordion-content[hidden] { display:block !important; padding:0; }
 #footer .footer-widgets #custom_html-4:has(.sf-footer-accordion-toggle), #footer .footer-widgets #custom_html-5:has(.sf-footer-accordion-toggle) { border-bottom:0; }
}
