/* =======================================================================
   MondoADV: componenti comuni (pulsanti, CTA, testi delle pagine comune)
   Caricato dopo custom.css. I selettori con "html body" battono gli stili
   scritti dentro i template (che arrivano dopo nella pagina).
   ========================================================================== */
:root {
    --mx-orange: #ea9130;
    --mx-orange-btn: #a86011; /* sfondo dei pulsanti con testo bianco: contrasto 4.5:1 */
    --mx-orange-btn-hover: #8a4e0e;
    --mx-orange-dark: #a86011; /* testo arancio su bianco: contrasto 4.5:1 (era #cf7a1d) */
    --mx-pink: #da1f5c; /* contrasto 4.5:1 con il bianco (era #e65081) */
    --mx-pink-dark: #b8184c;
    --mx-green: #188741; /* verde WhatsApp scurito: testo bianco leggibile (era #25d366) */
    --mx-green-dark: #126b33;
    --mx-text: #555;
    --mx-title: #444;
    --mx-line: #e6e6e6;
    --mx-soft: #fff7ef;
    --mx-radius: 999px;
    --mx-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
}

/* Il logo ha width/height nell'HTML (evita il layout shift): manteniamo le proporzioni quando si riduce */
.theme-nav-logo img {
    height: auto;
}

/* ----------------------------------------------------------------------- Pulsanti */
.mx-btn,
html body .prevbtn,
html body input.wpcf7-form-control.wpcf7-submit,
html body .wysija-submit,
html body .partners-content-button a,
html body p.more,
html body .scegli-impianto-btn,
html body .mappa-comune-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--mx-radius);
    background: var(--mx-orange-btn);
    color: #fff !important;
    font-family: "Roboto", "Roboto Fallback", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition:
        background-color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}

html body .mappa-comune-cta {
    gap: 0;
}

.mx-btn:hover,
html body .prevbtn:hover,
html body input.wpcf7-form-control.wpcf7-submit:hover,
html body .wysija-submit:hover,
html body .partners-content-button a:hover,
html body a:hover p.more,
html body p.more:hover,
html body .scegli-impianto-btn:hover,
html body .mappa-comune-cta:hover {
    background: var(--mx-orange-btn-hover);
    border: 0;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--mx-shadow);
}

.mx-btn:focus-visible,
html body input.wpcf7-form-control.wpcf7-submit:focus-visible {
    outline: 3px solid var(--mx-pink);
    outline-offset: 3px;
}

/* il pulsante del modulo occupa tutta la larghezza della colonna */
html body input.wpcf7-form-control.wpcf7-submit {
    width: 100%;
    font-size: 16px;
}

.mx-btn--tel,
html body .scegli-impianto-btn,
html body .mappa-comune-cta {
    background: var(--mx-pink);
}

.mx-btn--tel:hover,
html body .scegli-impianto-btn:hover,
html body .mappa-comune-cta:hover {
    background: var(--mx-pink-dark);
}

.mx-btn--wa {
    background: var(--mx-green);
}

.mx-btn--wa:hover {
    background: var(--mx-green-dark);
}

.mx-btn--outline {
    background: #fff;
    color: var(--mx-pink) !important;
    box-shadow: inset 0 0 0 2px var(--mx-pink);
}

.mx-btn--outline:hover {
    background: var(--mx-pink);
    box-shadow:
        inset 0 0 0 2px var(--mx-pink),
        var(--mx-shadow);
}

.mx-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

/* "Scopri come lavoriamo" nelle schede portfolio: più piccolo */
html body p.more {
    min-height: 40px;
    padding: 0 18px;
    font-size: 13px;
}

/* ----------------------------------------------------------------------- Riga CTA nei testi */
.mx-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
    clear: both;
}

@media (max-width: 767px) {
    .mx-cta-row .mx-btn {
        flex: 1 1 100%;
    }
}

/* Contatti sopra il modulo della sidebar (al posto dell'immagine "Telefono") */
.mx-form-contatti {
    margin: 0 0 18px;
    color: var(--mx-text);
    font-size: 15px;
    line-height: 1.5;
}

.mx-form-contatti a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 16px 0 0;
    color: var(--mx-pink) !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
}

.mx-form-contatti a.is-wa {
    color: var(--mx-green-dark) !important;
}

/* ----------------------------------------------------------------------- Barra contatti fissa */
.mx-sticky {
    position: fixed;
    left: 24px; /* a sinistra: a destra c'è il modulo fisso nella sidebar */
    bottom: 24px;
    z-index: 990;
    display: flex;
    gap: 10px;
}

.mx-sticky .mx-btn {
    min-height: 54px;
    box-shadow: var(--mx-shadow);
}

.mx-sticky .mx-btn--wa {
    width: 54px;
    padding: 0;
}

.mx-sticky .mx-btn--wa .mx-icon {
    width: 28px;
    height: 28px;
}

.mx-sticky__short {
    display: none;
}

@media (max-width: 767px) {
    .mx-sticky {
        left: 0;
        right: 0;
        bottom: 0;
        gap: 0;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
    }

    .mx-sticky .mx-btn {
        flex: 1 1 0;
        flex-direction: column;
        gap: 2px;
        min-height: 54px;
        margin: 0 4px;
        padding: 0 6px;
        border-radius: 12px;
        font-size: 12px;
        box-shadow: none;
    }

    .mx-sticky .mx-btn--wa {
        width: auto;
        padding: 0 6px;
    }

    .mx-sticky .mx-btn .mx-icon,
    .mx-sticky .mx-btn--wa .mx-icon {
        width: 22px;
        height: 22px;
    }

    .mx-sticky__long {
        display: none;
    }

    .mx-sticky__short {
        display: inline;
    }

    /* spazio in fondo alla pagina per non coprire il footer */
    body {
        padding-bottom: 76px;
    }
}

/* menu laterale aperto: la barra non serve */
body.cbp-spmenu-push-toleft .mx-sticky {
    display: none;
}

/* Vecchi pulsanti sostituiti dalla barra */
#callnowbutton,
.btnsprev.mobile,
.wa__btn_popup,
.wa__popup_chat_box {
    display: none !important;
}

/* le pagine servizio lasciavano spazio in alto per la vecchia barra fissa "Chiama ora / Richiedi preventivo" */
@media (max-width: 576px) {
    html body {
        padding-top: 0;
    }

    html body #form {
        padding-top: 0 !important;
    }
}

/* ----------------------------------------------------------------------- Testi delle pagine comune */
.comune-testo {
    color: var(--mx-text);
    font-size: 16px;
    line-height: 1.65;
}

.comune-testo p {
    margin: 0 0 16px;
}

.comune-testo h2 {
    margin: 36px 0 12px;
    color: var(--mx-title);
    font-size: 22px;
    line-height: 1.3;
    text-transform: none;
}

.comune-testo h3 {
    margin: 22px 0 8px;
    padding-top: 0;
    color: var(--mx-title);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.comune-testo ul {
    margin: 0 0 18px;
    padding-left: 0;
    list-style: none;
}

.comune-testo li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 26px;
}

.comune-testo li:before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mx-orange);
}

.comune-testo a {
    color: var(--mx-orange-dark);
    font-weight: 500;
}

.comune-testo .comune-scheda {
    padding: 14px 18px;
    border-left: 4px solid var(--mx-orange);
    border-radius: 0 8px 8px 0;
    background: var(--mx-soft);
}

.comune-testo .comune-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 8px 0 20px;
    border-radius: 8px;
}

.comune-faq details {
    margin: 0 0 10px;
    border: 1px solid var(--mx-line);
    border-radius: 8px;
    background: #fff;
}

.comune-faq summary {
    padding: 14px 44px 14px 18px;
    position: relative;
    color: var(--mx-title);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.comune-faq summary::-webkit-details-marker {
    display: none;
}

.comune-faq summary:after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mx-orange);
    font-size: 22px;
    font-weight: 400;
}

.comune-faq details[open] summary:after {
    content: "–";
}

.comune-faq details p {
    margin: 0;
    padding: 0 18px 16px;
}

/* ----------------------------------------------------------------------- Piccoli ritocchi */
/* testi delle pagine servizio: paragrafi distanziati (su mobile erano attaccati) */
#theme-permalink-post #content p,
#theme-permalink-post #servizi p,
#theme-permalink-post #introduzione p {
    margin-bottom: 14px;
}

/* titoli di sezione delle pagine servizio */
#theme-permalink-post h1#heading1 {
    line-height: 1.25;
}

/* badge di reCAPTCHA sopra la barra contatti (va lasciato visibile, salvo informativa nel modulo) */
html body .grecaptcha-badge {
    bottom: 96px !important;
}

@media (max-width: 767px) {
    html body .grecaptcha-badge {
        bottom: 84px !important;
    }
}

/* ----------------------------------------------------------------------- Sidebar: solo il modulo, fisso durante lo scorrimento */
body > div#theme-permalink-post {
    overflow-x: clip; /* "hidden" crea un contenitore di scorrimento e blocca position: sticky */
}

@media (min-width: 993px) {
    #theme-permalink-post .theme-permalink-post-box-image #form.sidebar {
        position: sticky;
        top: 20px;
        padding: 24px !important;
        border: 1px solid var(--mx-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45);
    }
}

#theme-permalink-post #form.sidebar h2 {
    margin-top: 0;
}

/* ----------------------------------------------------------------------- Dove operiamo (regioni a fisarmonica) */
.mx-dove {
    clear: both;
    padding: 56px 0 64px;
    background: #f7f7f7;
    border-top: 1px solid var(--mx-line);
}

.mx-dove__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: "Roboto", "Roboto Fallback", sans-serif;
}

.mx-dove h2 {
    margin: 0 0 6px;
    color: var(--mx-title);
    font-size: 28px;
    text-transform: none;
}

.mx-dove__intro {
    margin: 0 0 24px;
    color: var(--mx-text);
}

.mx-dove details {
    border: 1px solid var(--mx-line);
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.mx-dove details[open] {
    box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.5);
}

.mx-dove summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: var(--mx-title);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.mx-dove summary::-webkit-details-marker {
    display: none;
}

.mx-dove summary:after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: 4px;
    border-right: 2px solid var(--mx-orange);
    border-bottom: 2px solid var(--mx-orange);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s;
}

.mx-dove details[open] summary:after {
    transform: rotate(-135deg) translateY(-2px);
}

.mx-dove summary:hover {
    color: var(--mx-orange-dark);
}

.mx-dove__n {
    margin-left: auto;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--mx-soft);
    color: var(--mx-orange-dark);
    font-size: 12px;
    text-align: center;
}

.mx-dove ul {
    margin: 0;
    padding: 0 16px 14px;
    list-style: none;
}

.mx-dove li {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.mx-dove li a {
    display: block;
    padding: 6px 0;
    color: var(--mx-text);
    text-decoration: none;
    font-size: 15px;
}

.mx-dove li a:hover {
    color: var(--mx-orange-dark);
}

.mx-dove li.mx-dove__tutta a {
    color: var(--mx-orange-dark);
    font-weight: 700;
}

/* comuni della provincia: in evidenza, su più colonne */
.mx-dove__comuni {
    margin-bottom: 16px;
    border-color: var(--mx-orange) !important;
}

.mx-dove__comuni .mx-dove__lista {
    columns: 4 180px;
    column-gap: 24px;
}

.mx-dove__comuni .mx-dove__lista li {
    break-inside: avoid;
}

/* regioni: card su colonne (aprirne una sposta solo quelle sotto, niente buchi nella riga) */
.mx-dove__regioni {
    columns: 4 240px;
    column-gap: 12px;
}

.mx-dove__regione {
    display: block;
    margin: 0 0 12px;
    break-inside: avoid;
}

@media (max-width: 767px) {
    .mx-dove {
        padding: 36px 0 44px;
    }

    .mx-dove h2 {
        font-size: 23px;
    }

    .mx-dove__comuni .mx-dove__lista {
        columns: 2;
    }
}

/* ----------------------------------------------------------------------- Ricerca: icona nel menu + finestra */
#theme-navigation .theme-nav-menu > ul {
    white-space: nowrap;
}

#theme-navigation li.mx-nav-tools {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
    white-space: nowrap;
}

.mx-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.mx-search-btn:hover,
.mx-search-btn:focus-visible {
    background: var(--mx-soft);
    color: var(--mx-orange-dark);
}

.mx-search-btn .mx-icon {
    width: 22px;
    height: 22px;
}

/* spazio tra menu e contenuto: prima ~110px (padding del menu + vecchio blocco ricerca + padding di sezione e colonne) */
#head-block:empty {
    display: none;
}

@media (min-width: 993px) {
    html body #theme-permalink-post {
        padding-top: 0;
    }

    html body #theme-permalink-post .theme-permalink-post-box-caption,
    html body #theme-permalink-post .theme-permalink-post-box-image {
        padding-top: 12px;
    }
}

@media (max-width: 992px) {
    html body #theme-permalink-post .theme-permalink-post-box-caption {
        padding-top: 10px;
    }
}

.mx-search {
    width: min(640px, calc(100% - 32px));
    margin: 12vh auto auto;
    padding: 28px 28px 30px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
    font-family: "Roboto", "Roboto Fallback", sans-serif;
}

.mx-search::backdrop {
    background: rgba(30, 30, 30, 0.55);
    backdrop-filter: blur(2px);
}

.mx-search[open] {
    animation: mx-search-in 0.18s ease-out;
}

@keyframes mx-search-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.mx-search label {
    display: block;
    margin: 0 0 12px;
    color: var(--mx-title);
    font-size: 20px;
    font-weight: 700;
}

.mx-search__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

html body .mx-search input[type="search"] {
    margin: 0;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 2px solid var(--mx-line);
    border-radius: var(--mx-radius);
    background: #fafafa;
    color: #333;
    font-size: 17px;
    outline: none;
}

.mx-search input[type="search"]:focus {
    border-color: var(--mx-orange);
    background: #fff;
}

/* stessa altezza del campo (i pulsanti del tema hanno padding e line-height propri) */
html body .mx-search .mx-btn {
    flex: 0 0 auto;
    height: 52px;
    min-height: 0;
    margin: 0;
    padding: 0 24px;
    line-height: 1;
    box-sizing: border-box;
}

.mx-search__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #757575;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-search__close:hover {
    background: #f2f2f2;
    color: #333;
}

@media (max-width: 767px) {
    .mx-search {
        margin-top: 8vh;
        padding: 24px 18px;
    }

    .mx-search__row {
        flex-direction: column;
    }

    .mx-search .mx-btn {
        width: 100%;
    }
}

/* menu desktop: un po' meno spazio tra le voci, così ricerca e menu stanno sulla stessa riga */
@media (min-width: 961px) {
    html body #theme-navigation .theme-nav-menu > ul > li > a {
        margin-left: 8px;
        margin-right: 8px;
    }
}

/* ----------------------------------------------------------------------- Consenso privacy nei moduli */
html body .wpcf7-form label.mx-consenso {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 18px;
    color: var(--mx-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.wpcf7-form label.mx-consenso .wpcf7-form-control-wrap {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0; /* toglie lo spazio (&nbsp;) dopo la casella */
}

.wpcf7-form label.mx-consenso input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--mx-orange);
    cursor: pointer;
}

.mx-consenso__testo a {
    color: var(--mx-orange-dark) !important;
    font-weight: 500;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.mx-consenso__testo a:hover {
    color: var(--mx-pink) !important;
}

.wpcf7-form label.mx-consenso + br {
    display: none;
}

/* newsletter facoltativa (casella non spuntata) e nota sull'informativa */
html body .wpcf7-form .wpcf7-acceptance.optional .wpcf7-list-item {
    margin: 0;
}

html body .wpcf7-form .wpcf7-acceptance.optional label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 10px;
    color: var(--mx-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

html body .wpcf7-form .wpcf7-acceptance.optional input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--mx-orange);
    cursor: pointer;
}

html body .wpcf7-form .mx-privacy-nota {
    margin: 0 0 16px;
    color: #767676;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

html body .wpcf7-form .mx-privacy-nota a {
    color: var(--mx-orange-dark) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* ----------------------------------------------------------------------- Header: più basso, fisso, si nasconde scorrendo */
/* sempre in cima alla pagina; scorrendo verso il basso si nasconde, verso l'alto ricompare (classi da js in header.php) */
html body #theme-navigation.no-transparent,
html body #theme-navigation.no-transparent.relative,
html body #theme-navigation.no-transparent.smaller,
html body #theme-navigation.no-transparent.relative.smaller {
    position: sticky !important;
    top: 0;
    z-index: 9000; /* sopra al logo della sidebar e agli slider (anche con la tendina aperta) */
    padding: 16px 0 !important;
    background: #fff;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
    will-change: transform;
}

html body #theme-navigation.mx-nav--ombra {
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.25);
}

html body #theme-navigation.mx-nav--nascosto {
    transform: translateY(-100%);
    box-shadow: none;
}

/* lo script del tema rimpicciolisce il logo scorrendo ("smaller"): teniamo sempre lo stesso */
html body #theme-navigation.smaller .nav-main {
    display: block;
}

html body #theme-navigation.smaller .nav-small {
    display: none;
}

/* logo e voci di menu centrati in verticale */
html body #theme-navigation .theme-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

html body #theme-navigation .theme-nav-logo {
    float: none;
    display: block;
}

html body #theme-navigation .theme-nav-logo img {
    display: block;
    width: auto;
    height: 58px;
}

html body #theme-navigation .theme-nav-menu {
    display: block;
    width: auto;
}

html body #theme-navigation .theme-nav-menu > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0 !important;
    margin: 0;
}

html body #theme-navigation .theme-nav-menu > ul > li {
    float: none;
    padding-top: 0;
    padding-bottom: 0;
}

html body #theme-navigation .theme-nav-menu > ul > li > a {
    display: flex;
    align-items: center;
    min-height: 34px;
}

html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(7) > a,
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(9) > a {
    padding: 0 8px;
}

/* desktop: niente menu laterale (hamburger), tutte le voci sono già nella barra */
@media (min-width: 961px) {
    html body #theme-navigation .bars-icon {
        display: none !important;
    }

    html body #theme-navigation .theme-nav-menu > ul > li > a {
        margin-left: 7px;
        margin-right: 7px;
    }
}

/* schermi medi: voci un po' più strette perché stiano su una riga */
@media (min-width: 961px) and (max-width: 1199px) {
    html body #theme-navigation .theme-nav-logo img {
        height: 48px;
    }

    html body #theme-navigation .theme-nav-menu > ul > li > a {
        margin-left: 4px;
        margin-right: 4px;
        font-size: 10px;
    }
}

/* mobile: header più basso */
@media (max-width: 960px) {
    html body #theme-navigation.no-transparent,
    html body #theme-navigation.no-transparent.smaller {
        padding: 10px 16px !important;
    }

    html body #theme-navigation .theme-nav-logo img {
        height: 46px;
    }
}

/* la barra "Scegli il tuo impianto" (mobile) resta sotto all'header quando l'header è visibile */
@media (max-width: 767px) {
    body > div.scegli-impianto-mobile {
        top: var(--mx-header-visibile, 0px);
        transition: top 0.28s ease;
    }
}

/* ----------------------------------------------------------------------- Slider della home: testo leggibile e pulsante */
#theme-slider .slides li {
    position: relative;
}

/* velo scuro a sinistra: il testo bianco si legge su qualunque foto */
#theme-slider .slides li:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.62) 0%, rgba(20, 20, 20, 0.38) 32%, rgba(20, 20, 20, 0) 58%);
    pointer-events: none;
}

/* foto con i soggetti a sinistra: testo e velo a destra */
#theme-slider .slides li.mx-slide--destra:before {
    background: linear-gradient(270deg, rgba(20, 20, 20, 0.62) 0%, rgba(20, 20, 20, 0.38) 32%, rgba(20, 20, 20, 0) 58%);
}

@media (min-width: 768px) {
    #theme-slider .slides li.mx-slide--destra .mx-slide {
        left: auto;
        right: max(72px, calc((100% - 1170px) / 2 + 20px));
        text-align: right;
    }

    #theme-slider .slides li.mx-slide--destra .mx-slide__titolo:after {
        margin-left: auto;
    }
}

#theme-slider .mx-slide {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: max(72px, calc((100% - 1170px) / 2 + 20px));
    max-width: 560px;
    transform: translateY(-50%);
    font-family: "Roboto", "Roboto Fallback", sans-serif;
    text-align: left;
}

#theme-slider .mx-slide__titolo {
    margin: 0 0 12px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

#theme-slider .mx-slide__titolo:after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 16px;
    border-radius: 2px;
    background: var(--mx-orange);
}

#theme-slider .mx-slide__testo {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    font-weight: 300;
    line-height: 1.45;
}

#theme-slider .mx-slide__testo p,
#theme-slider .mx-slide__testo * {
    margin: 0;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit;
}

#theme-slider .mx-slide__cta {
    min-height: 52px;
    padding: 0 28px;
}

/* i pallini del carosello sopra il velo, visibili anche senza hover (touch) */
#theme-slider .flex-control-nav {
    z-index: 3;
    opacity: 1;
}
/* pallini: area di tocco 24px, cerchio disegnato con ::before (stesso aspetto di prima) */
html body #theme-slider .flex-control-nav li {
    margin: 0 1px;
}
html body #theme-slider .flex-control-paging li a {
    position: relative;
    width: 24px !important;
    height: 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html body #theme-slider .flex-control-paging li a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    margin: -8.5px 0 0 -8.5px;
    border: 2px solid #fff;
    border-radius: 50%;
}
html body #theme-slider .flex-control-paging li a:hover::before {
    background: rgba(255, 255, 255, .6);
}
html body #theme-slider .flex-control-paging li a.flex-active::before {
    background: #fff;
}

/* home: miniature con width/height (homepage.php), larghezza dal CSS e altezza in proporzione */
#theme-services img,
#theme-partners img,
#theme-clients img,
#theme-about img {
    height: auto;
}

/* prima del JS si vede la prima slide (flexslider nasconde tutte le slide finché non parte) */
#theme-slider .flexslider .slides > li:first-child {
    display: block;
}

/* frecce del carosello: sempre visibili, 44px per il tocco, focus da tastiera evidente */
html body .flexslider ul.flex-direction-nav {
    margin: 0;
    padding: 0;
}

/* le regole "#theme-slider ul li" (altezza, position) valgono per le slide, non per le frecce */
html body .flexslider ul.flex-direction-nav li,
html body #theme-slider .flexslider ul.flex-direction-nav li {
    position: static !important;
    height: auto !important;
    margin: 0;
    background: none !important;
}

html body .flexslider .flex-direction-nav a.flex-prev,
html body .flexslider .flex-direction-nav a.flex-next {
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.45);
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-shadow: none;
    opacity: 1;
    z-index: 4;
    transition: background-color 0.2s ease;
}

html body .flexslider .flex-direction-nav a.flex-prev {
    left: 12px;
    right: auto;
}

html body .flexslider .flex-direction-nav a.flex-next {
    right: 12px;
    left: auto;
}

html body .flexslider .flex-direction-nav a.flex-prev:before,
html body .flexslider .flex-direction-nav a.flex-next:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border: solid #fff;
    border-width: 0 0 3px 3px;
    text-shadow: none;
}

html body .flexslider .flex-direction-nav a.flex-prev:before {
    transform: translate(-30%, -50%) rotate(45deg);
}

html body .flexslider .flex-direction-nav a.flex-next:before {
    transform: translate(-70%, -50%) rotate(-135deg);
}

html body .flexslider .flex-direction-nav a.flex-prev:hover,
html body .flexslider .flex-direction-nav a.flex-next:hover {
    background: var(--mx-orange-btn);
    opacity: 1;
}

html body .flexslider .flex-direction-nav a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    background: var(--mx-orange-btn);
}

@media (max-width: 767px) {
    #theme-slider .slides li:before {
        background: linear-gradient(
            0deg,
            rgba(20, 20, 20, 0.78) 0%,
            rgba(20, 20, 20, 0.35) 60%,
            rgba(20, 20, 20, 0.15) 100%
        );
    }

    #theme-slider .mx-slide {
        top: auto;
        bottom: 44px;
        left: 20px;
        right: 20px;
        transform: none;
    }

    #theme-slider .mx-slide__titolo {
        font-size: 30px;
    }

    #theme-slider .mx-slide__testo {
        font-size: 16px;
        margin-bottom: 18px;
    }

    /* testo in basso: frecce in alto, lontane dai titoli lunghi */
    html body #theme-slider .flexslider .flex-direction-nav a.flex-prev,
    html body #theme-slider .flexslider .flex-direction-nav a.flex-next {
        top: 22%;
    }
}

/* ----------------------------------------------------------------------- Recensioni Google (sopra al footer) */
.mx-gr {
    padding: 48px 0;
    background: #fff;
    border-top: 1px solid var(--mx-line);
    font-family: "Roboto", "Roboto Fallback", sans-serif;
}

.mx-gr__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.mx-gr__testa {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mx-gr__logo {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
}

.mx-gr h2 {
    margin: 0 0 4px;
    color: var(--mx-title);
    font-size: 24px;
    text-transform: none;
}

.mx-gr__media {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    color: var(--mx-text);
    font-size: 15px;
}

.mx-gr__media strong {
    color: var(--mx-title);
    font-size: 26px;
    line-height: 1;
}

.mx-gr__azioni {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.mx-gr__stelle {
    display: inline-flex;
    gap: 2px;
}

.mx-gr__stella {
    position: relative;
    width: 18px;
    height: 18px;
    background: #dadce0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.mx-gr__stella span {
    position: absolute;
    inset: 0 auto 0 0;
    background: #fbbc04;
}

.mx-gr__lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.mx-gr__recensione {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--mx-line);
    border-radius: 12px;
    background: #fafafa;
}

.mx-gr__recensione blockquote {
    margin: 10px 0 14px;
    padding: 0;
    border: 0;
    color: var(--mx-text);
    font-size: 15px;
    font-style: normal;
    line-height: 1.55;
}

.mx-gr__recensione figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #767676;
    font-size: 13px;
}

.mx-gr__recensione figcaption img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.mx-gr__recensione figcaption strong {
    color: var(--mx-title);
}

@media (max-width: 767px) {
    .mx-gr__azioni {
        width: 100%;
        margin-left: 0;
    }

    .mx-gr__azioni .mx-btn {
        flex: 1 1 auto;
    }
}

/* "Recensioni" e "Contatti e preventivi" (voci rosa): testo bianco anche con l'header in modalità "smaller" dopo lo scorrimento */
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(7) > a,
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(9) > a,
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(7) > a:hover,
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(9) > a:hover {
    color: #fff !important;
}

/* ----------------------------------------------------------------------- Fascia copyright in fondo
   Fascia scura con spazio sotto: la barra contatti fissa (in basso) ci si appoggia sopra senza coprire il testo */
html body #theme-footer-copyright {
    padding: 28px 0 104px;
    background: #2e2e2e;
    color: #b9b9b9;
}

html body #theme-footer-copyright .theme-footer-copyright-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
}

html body #theme-footer-copyright .theme-footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    color: #b9b9b9;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

html body #theme-footer-copyright .theme-footer-info a {
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

html body #theme-footer-copyright .theme-footer-info a:hover {
    border-bottom-color: var(--mx-orange);
    color: var(--mx-orange) !important;
}

html body #theme-footer-copyright .theme-footer-social {
    float: none;
    margin: 0;
}

html body #theme-footer-copyright .theme-footer-social ul li a {
    color: #b9b9b9 !important;
}

html body #theme-footer-copyright .theme-footer-social ul li a:hover {
    color: #fff !important;
}

@media (max-width: 767px) {
    html body #theme-footer-copyright {
        padding: 28px 20px 32px; /* su mobile lo spazio per la barra è già nel body */
    }

    html body #theme-footer-copyright .theme-footer-copyright-container {
        flex-direction: column;
        align-items: flex-start;
    }

    body {
        background: #2e2e2e; /* lo spazio sotto la barra contatti prende il colore della fascia */
    }
}

@media (max-width: 767px) {
    html body #theme-footer-copyright .theme-footer-info > span {
        display: block;
    }

    html body #theme-footer-copyright .theme-footer-info > span + span {
        margin-top: 6px;
    }
}

/* ----------------------------------------------------------------------- Menu di secondo livello (desktop)
   Affissioni / Camion vela / Volantinaggio: pannello a tutta larghezza con le regioni su 4 colonne (le province
   sono nelle pagine regione e nella sezione "Dove operiamo"). Web Mondo: tendina piccola. */
@media (min-width: 961px) {
    html body #theme-navigation .theme-nav-container {
        position: relative;
    }

    html body #theme-navigation .theme-nav-menu > ul > li {
        position: relative;
    }

    /* tendina: nascosta, compare al passaggio del mouse o con la tastiera */
    html body #theme-navigation .theme-nav-menu > ul > li > ul {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 50%;
        z-index: 1000;
        min-width: 240px;
        margin: 0 !important;
        padding: 10px !important;
        border: 1px solid var(--mx-line);
        border-radius: 12px;
        background: #fff !important;
        box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        transition:
            opacity 0.18s ease,
            transform 0.18s ease,
            visibility 0s linear 0.18s;
        text-align: left;
        white-space: normal;
    }

    /* ponte invisibile tra voce e tendina: il menu non si chiude passando con il mouse */
    html body #theme-navigation .theme-nav-menu > ul > li > ul:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -26px;
        height: 26px;
    }

    html body #theme-navigation .theme-nav-menu > ul > li:hover > ul,
    html body #theme-navigation .theme-nav-menu > ul > li:focus-within > ul {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 18px);
        transition-delay: 0s;
    }

    /* pannello grande per le voci con molte sottopagine (regioni) */
    html body #theme-navigation .theme-nav-menu > ul > li:has(> ul > li:nth-child(8)) {
        position: static;
    }

    html body #theme-navigation .theme-nav-menu > ul > li:has(> ul > li:nth-child(8)) > ul {
        left: 0;
        right: 0;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 2px 16px;
        padding: 18px 20px !important;
        transform: translateY(8px);
    }

    html body #theme-navigation .theme-nav-menu > ul > li:has(> ul > li:nth-child(8)):hover > ul,
    html body #theme-navigation .theme-nav-menu > ul > li:has(> ul > li:nth-child(8)):focus-within > ul {
        transform: translateY(0);
    }

    html body #theme-navigation .theme-nav-menu > ul > li:has(> ul > li:nth-child(8)) > ul:before {
        top: -20px;
        height: 20px;
    }

    /* voci della tendina */
    html body #theme-navigation .theme-nav-menu > ul > li > ul > li {
        display: block;
        float: none;
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    html body #theme-navigation .theme-nav-menu > ul > li > ul > li > a {
        display: block;
        margin: 0 !important;
        padding: 9px 12px !important;
        border: 0 !important;
        border-radius: 8px;
        background: transparent !important;
        color: #555 !important;
        font-size: 14px !important;
        font-weight: 400;
        line-height: 1.3;
        text-align: left;
        text-transform: none;
        white-space: normal;
        transition:
            background-color 0.15s,
            color 0.15s;
    }

    html body #theme-navigation .theme-nav-menu > ul > li > ul > li > a:hover,
    html body #theme-navigation .theme-nav-menu > ul > li > ul > li > a:focus-visible,
    html body #theme-navigation .theme-nav-menu > ul > li > ul > li.current_page_item > a,
    html body #theme-navigation .theme-nav-menu > ul > li > ul > li.current_page_ancestor > a {
        background: var(--mx-soft) !important;
        color: var(--mx-orange-dark) !important;
    }

    /* terzo livello (province): non nel menu desktop */
    html body #theme-navigation .theme-nav-menu > ul > li > ul > li > ul {
        display: none !important;
    }

    /* voce principale attiva / aperta */
    html
        body
        #theme-navigation
        .theme-nav-menu
        > ul
        > li:not(.hide_nav:nth-child(7)):not(.hide_nav:nth-child(9)):hover
        > a {
        color: var(--mx-orange-dark) !important;
    }
}

@media (min-width: 961px) {
    html body #theme-navigation .theme-nav-menu > ul > li > ul > li.mx-menu-tutte {
        grid-column: 1 / -1;
        margin-bottom: 6px;
        padding-bottom: 6px;
        border-bottom: 1px solid var(--mx-line);
    }

    html body #theme-navigation .theme-nav-menu > ul > li > ul > li.mx-menu-tutte > a {
        color: var(--mx-orange-dark) !important;
        font-weight: 700;
    }
}

/* tabelle dei testi provincia/regione */
.comune-testo table.area-tabella {
    width: 100%;
    margin: 6px 0 20px;
    border-collapse: collapse;
    font-size: 15px;
}

.comune-testo table.area-tabella th,
.comune-testo table.area-tabella td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--mx-line);
    text-align: left;
}

.comune-testo table.area-tabella th {
    background: var(--mx-soft);
    color: var(--mx-title);
    font-weight: 700;
}

.comune-testo table.area-tabella td:nth-child(n + 2),
.comune-testo table.area-tabella th:nth-child(n + 2) {
    text-align: right;
    white-space: nowrap;
}

/* ----------------------------------------------------------------------- Accessibilità
   Contrasti minimi WCAG AA (4.5:1 testo normale, 3:1 titoli grandi), link riconoscibili non solo dal colore,
   aree di tocco di almeno 24px. */
html body #accordion p a:not(.mx-btn),
html body .comune-testo p a,
html body .comune-testo li a,
html body .theme-permalink-post-box-text p a:not(.mx-btn),
html body .mx-privacy-nota a {
    color: var(--mx-orange-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
html body .one_half label a,
html body table.area-tabella a {
    color: var(--mx-orange-dark);
}
/* titoli e testi rosa su fondo chiaro */
html body .partners-content-title a,
html body #service-heading-description {
    color: var(--mx-pink);
}
/* titoli arancio grandi (bastano 3:1) */
html body #service-heading-title,
html body .theme-partners-heading-title span,
html body .theme-heading-title span,
html body h1#heading1 {
    color: #d27815;
}
/* aree di tocco */
html body .slick-dots li,
html body .slick-dots li button,
html body .slick-dots li button:before {
    width: 24px;
    height: 24px;
    line-height: 24px;
}
html body .slick-dots li,
html body .theme-partners-slider .slick-dots li { /* custom.css: 19px e margine 0 nello slider partner */
    width: 24px;
    margin: 0 6px;
}
html body .slick-dots li button {
    box-sizing: border-box;
    padding: 0;
}
html body .slick-dots {
    position: absolute;
    z-index: 2;
}
/* elenchi dei testi: grigio più scuro (il tema usa #999) */
html body .theme-permalink-post-box-text ul,
html body .theme-permalink-post-box-text ol {
    color: #6b6b6b;
}
html body .theme-permalink-post-box-text .comune-testo li {
    color: var(--mx-text);
}
/* colori scritti a mano nei vecchi testi (#ff6600): stessa tinta, più scura */
html body [style*="#ff6600"] {
    color: #c45000 !important;
}
html body .theme-nav-menu .bars-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

/* sezioni del portfolio: chip con la sezione attiva piena; su mobile una riga che scorre, fissa sotto l'header */
html body .mx-portfolio-nav {
    margin: 0 auto 32px;
    font-family: "Roboto", "Roboto Fallback", sans-serif;
}

html body .mx-portfolio-nav .portfolio_cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html body .mx-portfolio-nav .portfolio_cats li {
    display: block;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

html body .mx-portfolio-nav .portfolio_cats a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--mx-orange-btn);
    border-radius: 22px;
    background: #fff;
    color: var(--mx-orange-btn);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html body .mx-portfolio-nav .portfolio_cats a:hover,
html body .mx-portfolio-nav .portfolio_cats .current-cat a {
    background: var(--mx-orange-btn);
    color: #fff;
}

html body .mx-portfolio-nav .portfolio_cats a:focus-visible {
    outline: 3px solid var(--mx-orange-btn);
    outline-offset: 2px;
}

html body .mx-portfolio-nav .mx-count {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 11px;
    background: rgba(168, 96, 17, 0.12);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

html body .mx-portfolio-nav .portfolio_cats a:hover .mx-count,
html body .mx-portfolio-nav .portfolio_cats .current-cat .mx-count {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
    /* overflow: hidden impedirebbe alla riga delle sezioni di restare fissa (sticky); clip taglia allo stesso modo */
    html body #theme-partners {
        overflow: clip;
    }

    html body .mx-portfolio-nav {
        position: sticky;
        top: var(--mx-header-visibile, 0px);
        z-index: 20;
        margin: 0 -20px 24px;
        padding: 10px 0;
        background: #fff;
        box-shadow: 0 6px 10px -8px rgba(0, 0, 0, 0.25);
        transition: top 0.28s ease;
    }

    html body .mx-portfolio-nav .portfolio_cats {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px;
        scroll-padding: 0 20px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    }

    html body .mx-portfolio-nav .portfolio_cats::-webkit-scrollbar {
        display: none;
    }

    html body .mx-portfolio-nav .portfolio_cats li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    html body .mx-portfolio-nav .portfolio_cats li:last-child {
        padding-right: 28px;
    }
}
/* recensioni, elenchi città e titoli arancio rimasti */
html body .recensione span.title a,
html body .recensione span.title a strong,
html body .recensione .rating .desc a.cfs-hyperlink,
html body .recensione .rating .desc a.cfs-hyperlink .text,
html body #assorbimenti a,
html body ul.listacity li a {
    color: var(--mx-orange-dark);
}
/* elenco città/regioni: allineato a sinistra, freccia come marker, hover scuro (contrasto AA) */
html body ul.listacity,
html body ul.listacity ul {
    list-style: none !important;
    margin: 0;
    padding-left: 0 !important;
}
html body ul.listacity ul {
    margin-left: 22px;
}
html body ul.listacity li a {
    position: relative;
    display: block;
    padding-left: 22px;
    text-align: left;
    text-decoration: none;
    transition: color 0.15s ease;
}
html body ul.listacity li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.15s ease;
}
html body ul.listacity li a:hover,
html body ul.listacity li a:focus-visible {
    color: var(--mx-orange-btn-hover) !important; /* #8a4e0e su bianco: contrasto ~6.6:1 */
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
html body ul.listacity li a:hover::before,
html body ul.listacity li a:focus-visible::before {
    transform: translateX(3px);
}
html body ul.listacity li a:focus-visible {
    outline: 2px solid var(--mx-orange-btn-hover);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    html body ul.listacity li a,
    html body ul.listacity li a::before {
        transition: none;
    }
}
html body .recensione .rating .author,
html body .recensione .rating .author span,
html body .recensione .rating .desc,
html body .recensione .rating .desc div,
html body .recensione .rating .desc span {
    color: #6b6b6b;
}
html body #assorbimenti a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
html body h1.heading1,
html body #form > h2 {
    color: #d27815;
}
html body [style*="#808080"] {
    color: #6b6b6b !important;
}
/* breadcrumb e voci rosa del menu desktop (Recensioni, Contatti): colori con contrasto sufficiente */
html body #breadcrumbs a {
    color: var(--mx-orange-dark);
}
/* breadcrumb anche su mobile (custom.css li nascondeva sotto i 768px): una riga compatta che va a capo */
@media (max-width: 768px) {
    html body #breadcrumbs {
        display: block;
        margin: 0 0 12px;
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }
}
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(7) > a,
html body #theme-navigation .theme-nav-menu > ul > li.hide_nav:nth-child(9) > a {
    background-color: var(--mx-pink) !important;
}
/* testo solo per lettori di schermo (es. "5 stelle su 5" nelle recensioni) */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* hover più scuri del colore di partenza: quelli di custom.css (#ccc, #999, #ff9e34, #ffa0d1...) schiarivano il testo sotto il contrasto 4.5:1 */
a:hover {
    color: var(--mx-orange-btn-hover);
}
html body .footer-content-static-links ul li a:hover {
    color: #222;
}
html body #theme-navigation ul li a:hover,
html body #theme-navigation ul li.focused1:hover .focused2 {
    color: #222 !important;
}
html body .theme-permalink-post-box-text a:hover,
html body .partners-content-description a:hover,
html body #breadcrumbs a:hover,
html body #assorbimenti #letterpagination a:hover {
    color: var(--mx-orange-btn-hover);
}
html body .partners-content-title a:hover {
    color: var(--mx-pink-dark);
}
button:hover,
#about-button-1:hover,
#about-button-2:hover {
    color: #444;
}
