.form-card {
    background: #fff;
    padding: 34px;
    border-radius;
    overflow: hidden;
}

input[type="submit"], button[type="submit"], .wpcf7-submit {
    
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    padding: 14px 20px !important;
    height: auto !important;
    min-height: 50px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--c-accent) !important;
    color: #1b1300 !important;
    font: inherit !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background .2s;
}

/* Annulla qualsiasi larghezza fissa forzata su TUTTI i contenitori nei dispositivi mobili */
@media screen and (max-width: 768px) {
    div, section, article, main, header, footer, .container, .row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        /* Rimuove margini negativi che spesso spingono gli elementi fuori a destra */
        margin-right: 0 !important; 
        margin-left: 0 !important;
    }
    
    /* Forza il testo ad andare a capo */
    p, h1, h2, h3, h4, h5, h6, li, span, a {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
}

.nav-toggle{
     flex-shrink: 0 !important;
}



/* 1. Gestione del testo responsivo solo su Mobile (Schermi piccoli) */
@media screen and (max-width: 768px) {
    p, h1, h2, h3, h4, h5, h6, li, span, a, label {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: normal !important;
    }
}

/* 2. Fix specifico per l'icona Hamburger del menu Mobile */
@media screen and (max-width: 768px) {
    /* Forziamo solo il pulsante principale del menu ad hamburger senza toccare gli altri bottoni */
    .menu-toggle,
    .navbar-toggler,
    button[aria-controls], 
    button[data-toggle] {
        width: 44px !important;    /* Larghezza standard ottimale per l'hamburger */
        height: 44px !important;   /* Altezza standard ottimale per l'hamburger */
        max-width: none !important;
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}