/* Shared footer adaptation: scoped to the existing Flatsome footer widgets. */
#footer.footer-wrapper { background:#fff; color:#111827; }
#footer .footer-2 { background:#fff; border-top:1px solid #e5e7eb; padding:64px max(24px,calc((100% - 1200px)/2)) 48px; }
#footer .footer-2::before { content:""; display:block; width:160px; height:34px; margin:0 0 48px; background:url('/wp-content/uploads/gamesir-header/gamesir-logo.svg') left center/contain no-repeat; }
#footer .footer-2 > .row { display:grid; grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) minmax(145px,1.1fr) minmax(280px,2fr); gap:32px; width:100%; max-width:none; margin:0; }
#footer .footer-2 > .row > .widget { width:auto; max-width:none; padding:0; margin:0; min-width:0; }
#footer .footer-2 #custom_html-3 p,
#footer .footer-2 #custom_html-4 p,
#footer .footer-2 #custom_html-5 p { margin:0 0 12px; line-height:1.5; }
#footer .footer-2 #custom_html-3 p:first-child,
#footer .footer-2 #custom_html-4 p:first-child,
#footer .footer-2 #custom_html-5 p:first-child { color:#111827!important; font-size:16px!important; font-weight:700; margin-bottom:16px; }
#footer .footer-2 #custom_html-3 a,
#footer .footer-2 #custom_html-4 a,
#footer .footer-2 #custom_html-5 a { color:#4b5563!important; font-size:14px; text-decoration:none; }
#footer .footer-2 #custom_html-3 a:hover,
#footer .footer-2 #custom_html-4 a:hover,
#footer .footer-2 #custom_html-5 a:hover { color:#e60023!important; }
#footer .footer-2 a:focus-visible,
#footer .footer-2 button:focus-visible,
#footer .footer-2 input:focus-visible { outline:2px solid #e60023!important; outline-offset:3px; }
#footer .footer-2 #custom_html-6 .textwidget > div { background:transparent!important; color:#111827!important; }
#footer .footer-2 #custom_html-6 h3 { color:#111827; font-size:20px!important; font-weight:700!important; line-height:1.3!important; margin:0 0 12px!important; }
#footer .footer-2 #custom_html-6 p { color:#4b5563!important; font-size:14px!important; line-height:1.5!important; margin:0 0 20px!important; }
#footer .footer-2 #custom_html-6 form { position:relative; max-width:430px; }
#footer .footer-2 #custom_html-6 form > div:first-child { margin:0!important; }
#footer .footer-2 #custom_html-6 input[type="email"] { background:#fff!important; color:#111827!important; border:1px solid #9ca3af!important; border-radius:999px!important; height:48px!important; padding:0 122px 0 16px!important; width:100%; max-width:100%; box-shadow:none; }
#footer .footer-2 #custom_html-6 input[type="email"]::placeholder { color:#6b7280; opacity:1; }
#footer .footer-2 #custom_html-6 button[type="submit"] { position:absolute; right:6px; top:6px; width:auto!important; min-width:100px; height:36px!important; padding:0 16px!important; border:0!important; border-radius:999px!important; background:#e60023!important; color:#fff!important; font-size:13px!important; line-height:1; }
#footer .absolute-footer { background:#fff; border-top:1px solid #e5e7eb; color:#6b7280; }
#footer .absolute-footer .container { max-width:1200px; }
@media(max-width:849px){
 #footer .footer-2 { padding:48px 20px 40px; }
 #footer .footer-2::before { width:145px; height:31px; margin-bottom:32px; }
 #footer .footer-2 > .row { grid-template-columns:minmax(0,1fr); gap:26px; }
 #footer .footer-2 #custom_html-6 form { max-width:none; width:100%; }
 #footer .absolute-footer .container { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; }
 #footer .absolute-footer .footer-secondary, #footer .absolute-footer .footer-primary { float:none!important; max-width:100%; }
}
#footer .footer-2::before{filter:brightness(0)}
#footer .footer-2 #custom_html-3 h3{color:#111827!important;font-size:16px!important;font-weight:700!important;margin:0 0 16px!important;line-height:1.5}
#footer .absolute-footer .copyright-footer{color:#6b7280!important}
#footer.footer-wrapper,#footer.footer-wrapper .footer-2,#footer.footer-wrapper .absolute-footer{background:#fff!important;background-color:#fff!important;color:#111827!important}
#footer.footer-wrapper .footer-2 .widget,#footer.footer-wrapper .footer-2 .textwidget,#footer.footer-wrapper .footer-2 .custom-html-widget,#footer.footer-wrapper .footer-2 #custom_html-6 .textwidget>div{background:transparent!important;color:#111827!important}
#footer.footer-wrapper .sf-footer-accordion-toggle,#footer.footer-wrapper .sf-footer-accordion-label{color:#111827!important}
#footer.footer-wrapper .absolute-footer .copyright-footer{color:#6b7280!important}

#footer.footer-wrapper .footer-2 #custom_html-6 h3{color:#111827!important}
