/* Social e widget — solo header/footer; non modifica builder, hero o gallerie. */
.site-header{--mfw-nav-height:86px;height:auto}
.site-header .header-inner{min-height:var(--mfw-nav-height);height:auto;padding-top:12px;padding-bottom:12px}
.site-header .site-nav{min-width:0}
.mfw-social-topbar{border-bottom:1px solid #eae7ec;background:#faf9f4;padding:6px 0}
.mfw-social-topbar>.wrap{display:flex;justify-content:flex-end}
.mfw-social{display:flex;align-items:center;gap:12px;max-width:100%;min-width:0}
.mfw-social-heading{font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.mfw-social .mfw-social-list{display:flex;align-items:center;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0;min-width:0}
.mfw-social .mfw-social-list>li{list-style:none;padding:0;margin:0;min-width:0}
.site-header .mfw-social-link,.site-footer .mfw-social-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:38px;min-height:38px;padding:8px;border:1px solid currentColor;border-radius:50%;background:transparent;font-size:13px;line-height:1.4;transition:transform .18s,background-color .18s;box-sizing:border-box;text-decoration:none;margin:0;color:inherit}
.site-header .mfw-social{color:#28262d}
.mfw-social .mfw-social-icon{display:block;flex-shrink:0;width:20px;height:20px;overflow:visible}
.site-header .mfw-social-link:hover,.site-footer .mfw-social-link:hover{background:#ffd54a;color:#28262d;transform:translateY(-2px);text-decoration:none}
.mfw-social a:focus-visible{outline:3px solid #80519b;outline-offset:3px}
.site-footer .mfw-social a:focus-visible{outline-color:var(--mfw-footer-text,#fff)}
.site-header .mfw-social--pastel .mfw-social-link,.site-footer .mfw-social--pastel .mfw-social-link{background:#d4c5ee;color:#28262d;border-color:transparent}
.site-header .mfw-social--pastel li:nth-child(4n+2) .mfw-social-link,.site-footer .mfw-social--pastel li:nth-child(4n+2) .mfw-social-link{background:#a8dcdb}
.site-header .mfw-social--pastel li:nth-child(4n+3) .mfw-social-link,.site-footer .mfw-social--pastel li:nth-child(4n+3) .mfw-social-link{background:#ffab94}
.site-header .mfw-social--pastel li:nth-child(4n) .mfw-social-link,.site-footer .mfw-social--pastel li:nth-child(4n) .mfw-social-link{background:#ffd54a}
.site-header .mfw-social--pastel .mfw-social-link:hover,.site-footer .mfw-social--pastel .mfw-social-link:hover{background:#faf9f4;color:#28262d}
.mfw-social-inline-slot{flex:0 1 200px;min-width:38px;max-width:220px}
.mfw-social-inline-slot .mfw-social{flex-direction:column;align-items:flex-end;gap:5px}
.mfw-social-inline-slot .mfw-social-heading{font-size:10px}
.mfw-social-inline-slot .mfw-social-list{justify-content:flex-end}
.mfw-social--footer{margin-top:20px;flex-direction:column;align-items:flex-start}
.site-footer{color:var(--mfw-footer-text,#fff)}
.site-footer .footer-top p,.site-footer .footer-bottom{color:var(--mfw-footer-muted,#ebe8ee)}
.site-footer .footer-nav a,.site-footer .footer-contact a,.site-footer .footer-contact h3,.site-footer .footer-tools a,.site-footer .footer-bottom>a,.site-footer .footer-tools button{color:var(--mfw-footer-link,#fff)}
.site-footer .footer-nav a:hover,.site-footer .footer-contact a:hover,.site-footer .footer-tools a:hover,.site-footer .footer-bottom>a:hover{color:var(--mfw-footer-text,#fff);text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-bottom{border-color:var(--mfw-footer-rule,rgba(255,255,255,.24))}
.site-footer .footer-top{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.8fr)}
.site-footer .footer-top.mfw-footer-base-two{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.site-footer .footer-top.mfw-footer-base-one{grid-template-columns:minmax(0,1fr)}
.site-footer .footer-top>*,.site-footer .footer-contact,.site-footer .footer-bottom>*{min-width:0;overflow-wrap:anywhere}
.site-footer .mf-footer-menu{grid-column:1/-1;width:100%;min-width:0}
.site-footer .footer-top.mfw-footer-base-one>.mfw-footer-brand{max-width:680px}
.mfw-footer-widgets{display:grid;grid-template-columns:repeat(var(--mfw-widget-columns,1),minmax(0,1fr));gap:34px;min-width:0;padding:30px 0;border-top:1px solid var(--mfw-footer-rule,rgba(255,255,255,.24))}
.mfw-footer-widgets--top{border-top:0;border-bottom:1px solid var(--mfw-footer-rule,rgba(255,255,255,.24));padding:0 0 30px;margin-bottom:35px}
.mfw-footer-area{min-width:0}
.site-footer .mfw-footer-widget{min-width:0;max-width:100%;padding:0;margin:0 0 25px;color:var(--mfw-footer-text,#fff);font-family:var(--font-body);font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.site-footer .mfw-footer-widget:last-child{margin-bottom:0}
.site-footer .mfw-footer-widget h2,.site-footer .mfw-footer-widget h3,.site-footer .mfw-footer-widget h4{color:inherit;font-family:var(--font-heading);line-height:1.4;letter-spacing:normal;margin:0 0 14px;font-size:18px}
.site-footer .mfw-footer-widget p{font-size:inherit;line-height:inherit;color:inherit;margin:0 0 14px}
.site-footer .mfw-footer-widget a{color:var(--mfw-footer-link,#fff);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.site-footer .mfw-footer-widget a:hover{color:var(--mfw-footer-text,#fff)}
.site-footer .mfw-footer-widget ul,.site-footer .mfw-footer-widget ol{padding-left:20px;margin:0 0 16px}
.site-footer .mfw-footer-widget li{line-height:1.7;margin-bottom:6px}
.site-footer .mfw-footer-widget .menu{list-style:none;padding:0}
.site-footer .mfw-footer-widget .sub-menu{padding-left:16px;list-style:none;margin-top:8px}
.site-footer .mfw-footer-widget img,.site-footer .mfw-footer-widget iframe,.site-footer .mfw-footer-widget video{max-width:100%}
.site-footer .mfw-footer-widget img{height:auto}
.site-footer .mfw-footer-widget figure{margin:0 0 15px;max-width:100%}
.site-footer .mfw-footer-widget figcaption{font-size:12px;color:var(--mfw-footer-muted,#ebe8ee)}
.site-footer .mfw-footer-widget table{width:100%;border-collapse:collapse;font-size:12px}
.site-footer .mfw-footer-widget td,.site-footer .mfw-footer-widget th{padding:5px;border:1px solid var(--mfw-footer-rule,rgba(255,255,255,.24));text-align:center}
.site-footer .mfw-footer-widget input:not([type=checkbox]):not([type=radio]):not([type=submit]),.site-footer .mfw-footer-widget select,.site-footer .mfw-footer-widget textarea{max-width:100%;width:100%;min-width:0;background:#fff;color:#28262d;border:1px solid #b4aebc;border-radius:10px;padding:10px;font-size:16px;box-sizing:border-box}
.site-footer .mfw-footer-widget input::placeholder,.site-footer .mfw-footer-widget textarea::placeholder{color:#68616e}
.site-footer .mfw-footer-widget label{font-size:inherit;line-height:1.5;color:inherit}
.site-footer .mfw-footer-widget button,.site-footer .mfw-footer-widget input[type=submit]{max-width:100%;padding:10px 18px;border-radius:20px;background:#ffd54a;color:#28262d;border:1px solid transparent;font-size:14px;font-weight:700;white-space:normal;cursor:pointer}
.site-footer .mfw-footer-widget .mfw-social-list{list-style:none;margin:0;padding:0}
.site-footer .mfw-footer-widget .mfw-social-list>li{margin:0;padding:0}
.site-footer .mfw-footer-widget .mfw-social-link{color:inherit;text-decoration:none}
.site-footer .mfw-footer-widget .mfw-social--labels .mfw-social-link{border-radius:22px;padding-inline:12px;max-width:100%;text-align:left}
.mfw-social-link-label{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){
 .site-header .header-inner{position:static;flex-wrap:wrap}
 .site-header .menu-toggle{display:flex;margin-left:0}
 .site-header .header-contact{margin-left:auto}
 .site-header .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;color:#28262d;margin:0;padding:22px 25px 28px;border-bottom:1px solid #ddd;box-shadow:0 12px 20px #0001;align-items:stretch;gap:7px;flex-direction:column;max-height:65vh;overflow-y:auto}
 .site-header .site-nav.open{display:flex}
 .site-header .mf-menu{display:block;max-height:none;overflow:visible}
 .site-header .mf-menu li{display:block}
 .site-header .mf-menu .sub-menu{display:block;position:static;border:0;box-shadow:none;padding:0 0 10px 20px}
 .site-header .mf-menu .sub-menu .nav-link{font-size:12px}
 .site-header .nav-link{display:block;padding:9px 0;color:#28262d}
 .mfw-social-inline-slot{order:5;flex:1 1 100%;max-width:none;min-width:0}
 .mfw-social-inline-slot .mfw-social{flex-direction:row;justify-content:flex-end;align-items:center}
 .mfw-social-desktop-only{display:none}
}
@media(max-width:900px){.mfw-footer-widgets{grid-template-columns:repeat(var(--mfw-widget-tablet,1),minmax(0,1fr));gap:26px}.site-footer .footer-top{gap:32px}}
@media(max-width:790px){.site-header{--mfw-nav-height:74px}.site-footer .footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.site-footer .footer-top .footer-contact{grid-column:1/-1}.mfw-social-topbar .mfw-social{flex-wrap:wrap;justify-content:flex-end}.mfw-social-heading{font-size:11px}}
@media(max-width:600px){.site-header{--mfw-nav-height:69px}.site-header .header-inner{padding-block:10px}.site-footer .footer-top,.site-footer .footer-top.mfw-footer-base-two,.site-footer .footer-top.mfw-footer-base-one{grid-template-columns:minmax(0,1fr)}.mfw-footer-widgets{grid-template-columns:minmax(0,1fr);gap:25px}.mfw-social-topbar .mfw-social-heading,.mfw-social-inline-slot .mfw-social-heading{display:none}.mfw-social .mfw-social-list{gap:7px}.site-footer .mfw-footer-widget{font-size:15px}}
@media(prefers-reduced-motion:reduce){.mfw-social .mfw-social-link{transition:none;transform:none!important}}
.no-motion .mfw-social .mfw-social-link{transition:none;transform:none!important}
/* I widget ereditano il testo del footer; sulle icone pastello serve sempre inchiostro scuro. */
.site-footer .mfw-footer-widget .mfw-social--pastel .mfw-social-link,
.site-footer .mfw-footer-widget .mfw-social--pastel .mfw-social-link:hover{color:#28262d}
.site-footer .mfw-footer-widget .mfw-social-link:hover{background:#ffd54a;color:#28262d}
