/* Helix Ultimate custom overrides — laicplatform.com migrazione J6 */

/* 1) sppb-addon-clients: centra immagini, NON forzare 2 colonne (prod usa 1 per riga su mobile, default xs per col-sm-3) */
.sp-page-builder .sppb-addon-clients .sppb-addon-content > .sppb-row {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.sp-page-builder .sppb-addon-clients .sppb-addon-clients-image {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* 2) Body tipografia in parità con prod (Helix3): Open Sans 14px 300
   (Google Font caricato via <link> in templates/shaper_helixultimate/index.php) */
body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

/* Container max-width come Helix3 prod (1170px) anziché 1320px Helix Ultimate.
   Devono usare !important perché SPPB inietta inline <style> dopo custom.css. */
@media (min-width: 1200px) {
    body .sppb-row-container,
    body .sp-page-builder .sppb-row-container,
    body #sp-main-body .container,
    body .sp-page-builder .container {
        max-width: 1170px !important;
    }
}

/* 3) Footer come prod: bg #1061cc con testo bianco, Open Sans 300 14px */
body #sp-footer,
body #sp-footer #sp-footer1,
body #sp-footer .sp-column {
    background-color: #1061cc !important;
    color: #ffffff !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}
body #sp-footer .container-inner {
    padding: 15px 0 !important;
    border-top: none !important;
}
body #sp-footer,
body #sp-footer .sp-column,
body #sp-footer .sp-module,
body #sp-footer .sp-module-content,
body #sp-footer .mod-custom {
    text-align: center !important;
}
body #sp-footer .sp-copyright,
body #sp-footer .sp-copyright * {
    background-color: transparent !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 0;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7;
}
body #sp-footer .sp-copyright {
    padding: 6px 0;
    display: inline-block;
}
body #sp-footer a {
    color: #ffffff !important;
    text-decoration: none;
    font-family: "Open Sans", sans-serif !important;
    font-weight: 300 !important;
}
body #sp-footer a:hover {
    color: #cce0ff !important;
    text-decoration: underline;
}

/* 4) Mobile: stringi la sezione CTA "Richiedi una demo gratuita" per evitare
      che il bottone CONTATTACI lasci uno spazio celestino eccessivo verso il footer.
      Causa: addon-wrapper button margin-bottom 30px che si somma al padding section. */
@media (max-width: 767px) {
    #sppb-addon-wrapper-1656318943596 {
        margin-bottom: 20px !important;
    }
}
