

/* Contenitore principale del modulo */
#newsletter-cms {
    background-color: #f8f9fa; /* Sfondo grigio chiarissimo e pulito (Bootstrap light) */
    border: 1px solid #e9ecef; /* Linea di bordo sottile e discreta */
    border-radius: 12px;       /* Angoli arrotondati eleganti in linea con il template */
    padding: 1rem;             /* Spazio interno per non far toccare i testi ai bordi */
    margin-bottom: 1rem;       /* Spazio esterno sotto il modulo per staccarlo dal resto */
}


#newsletter-cms h3 {
    font-family: 'AR One Sans', sans-serif;
}
#newsletter-cms .asterisk {
    color: #dc3545; /* Rosso istituzionale Bootstrap 5 */
}
/* Campi di testo del modulo newsletter */
#newsletter-cms input[type="text"],
#newsletter-cms input[type="email"] {
    width: 100%;
    max-width: 350px; /* Imposta il limite massimo di larghezza */
    padding: 12px 16px;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-bottom: 15px; /* Spazio verticale tra un campo e l'altro */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/* Effetto quando l'utente clicca dentro il campo (Focus) */
#newsletter-cms input[type="text"]:focus,
#newsletter-cms input[type="email"]:focus {
    color: #212529;
    background-color: #ffffff;
    border-color: #86b7fe; /* Un azzurro morbido di focus */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Sfumatura elegante attorno al campo */
}
/* Pulsante di invio Mailchimp */
#newsletter-cms #mc-embedded-subscribe {
    width: 100%;
    max-width: 350px; 
    height: auto;               /* Forza il browser a non bloccare l'altezza */
    line-height: normal;        /* Ripristina l'altezza della linea del testo interna */
    box-sizing: border-box;     /* Include padding e bordi nel calcolo dei 450px (Evita tagli) */
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 24px;
    font-family: 'AR One Sans', sans-serif; 
    font-size: 16px;
    font-weight: 600;
    color: #ffffff; 
    background-color: #A42834;  /* Inserito il tuo rosso in esadecimale */
    border: none;
    border-radius: 6px; 
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

/* Effetto quando si passa sopra con il mouse (Hover) */
#newsletter-cms #mc-embedded-subscribe:hover {
    background-color: #CC0004; /* Un rosso leggermente più scuro */
}

/* Effetto click (Active) */
#newsletter-cms #mc-embedded-subscribe:active {
    transform: scale(0.98); /* Un micro-molleggio quando viene premuto */
}
#mc_embed_signup {background: none !important;}
#mc_embed_signup .indicates-required{ text-align: left;}

/* Stile base della scheda */
.pricing-card-30 {
    background-color: #fdf1ca; /* Giallino */
    padding: 30px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card-10 {
    background-color: #e2ecff; /* Azzurrino */
    padding: 30px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card-4{
    background-color: #fdfdf0; /* Giallino */
    padding: 30px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card-day{
    background-color: #d6ffe4; /* Giallino */
    padding: 30px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Colore azzurrino per Spazio 10 (se vuoi differenziarle) */
.col-md-4:nth-child(2) .pricing-card { background-color: #eef2ff; }

.offer-name { font-size: 1.5rem; font-weight: bold; margin-bottom: 5px; }
.subtitle { color: #888; font-size: 0.9rem; margin-bottom: 20px; }
.price { font-size: 1.4rem; font-weight: bold; color: #333; margin-bottom: 5px; }

/* Liste e icone */
.pricing-details p, .pricing-services li {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
}

.pricing-card i {
    width: 25px;
    margin-right: 10px;
    color: #555;
    text-align: center;
}

.pricing-services h3, .pricing-description h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.pricing-services ul { list-style: none; padding: 0; margin: 0; }

/* Bottone Rosso */
.pricing-button {
    background-color: #d6134b;
    color: white !important;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    
    /* Utilizzo della variabile nativa di Bootstrap/Astroid */
    border-radius: var(--bs-btn-border-radius); 
    
    margin-top: auto;
    font-weight: bold;
    display: block;
    transition: all 0.3s ease; /* Per un effetto più morbido al passaggio del mouse */
}

.pricing-button:hover {
    background-color: #b0103e;
    /* Opzionale: puoi usare anche la variabile per lo stato hover se definita */
    border-radius: var(--bs-btn-hover-border-radius, var(--bs-btn-border-radius));
}
/*solo per la voce entra nel consorzio un colore diverso */
.entra-css{background: #e1e9dd !important; border-radius: 0.25rem !important;}
.entra-css.nav-subtitle:hover{color:#4d4d4d !important; }
/* Contenitore per centrarlo o gestirlo nel layout */
.container-tv {
    padding: 20px;
    text-align: center;
}

.d33-wrapper {
    padding: 20px;
    text-align: center;
}

.d33-tv-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    /* Gradiente scuro come da tua immagine */
    background: linear-gradient(180deg, #3a4b5a 0%, #222d38 50%, #1a2229 100%);
    padding: 10px 30px;
    border-radius: 40px; /* Bordi molto arrotondati */
    border: 1.5px solid #5a758e; /* Bordo sottile chiaro */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Effetto Hover */
.d33-tv-button:hover {
    transform: scale(1.03);
    border-color: #00c3ff; /* Si accende di blu al passaggio */
    box-shadow: 0 6px 20px rgba(0, 195, 255, 0.4);
    filter: brightness(1.1);
}

.d33-logo-container img {
    height: 45px; /* Dimensione logo */
    margin-right: 20px;
    display: block;
}

.d33-text-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.d33-main-text {
    color: #ffffff;
    font-family: 'Arial Black', Gadget, sans-serif; /* Font massiccio */
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.d33-sub-text {
    color: #d1d1d1;
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}
.d33-btn-group {
    display: flex;
    gap: 8px;           /* Spazio stretto per stare in riga */
    justify-content: center;
    margin-top: 12px;
    width: 100%;
}

.d33-btn-small {
    flex: 1;            /* Si spartiscono lo spazio al 50% ciascuno */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 5px;   /* Padding ridotto per il mobile */
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1.5px solid #90191c; /* Il tuo bordeaux */
    color: #90191c !important;
    background: #fff;
    white-space: nowrap;
}

/* Effetto al passaggio del mouse */
.d33-btn-small:hover {
    background-color: #90191c;
    color: #fff !important;
}

/* Icone */
.d33-btn-small i {
    margin-right: 5px;
}
/* contatti d33 */
:root { --d33-red: #90191c; --d33-dark: #2c2c2c; --d33-light: #f4f4f4; }


    .d33-legal-wrapper {
        max-width: 1200px;
        margin: 40px auto;
        font-family: 'Segoe UI', Arial, sans-serif;
        padding: 0 20px;
    }

    /* Header d'impatto */
    .d33-main-header {
        text-align: center;
        margin-bottom: 50px;
    }
    .d33-main-header h1 {
        color: var(--d33-dark);
        font-weight: 800;
        letter-spacing: -1px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }
    .d33-main-header .subtitle {
        color: var(--d33-red);
        font-weight: 600;
        font-size: 1.1rem;
    }

    /* Sezione Dati Fiscali - Stile "Barra Istituzionale" */
    .d33-fiscal-bar {
        background: var(--d33-dark);
        color: white;
        padding: 30px;
        border-radius: 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 60px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    .d33-fiscal-item { flex: 1; min-width: 200px; padding: 10px; }
    .d33-fiscal-item small { color: #aaa; text-transform: uppercase; font-size: 0.7rem; display: block; margin-bottom: 5px; }
    .d33-fiscal-item span { font-weight: 600; font-size: 1rem; }

    /* Sezione Hubs - Stile "Card Evoluta" */
    .d33-hubs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
    .d33-hub-card {
        background: white;
        border-top: 5px solid var(--d33-red);
        padding: 40px;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        position: relative;
        overflow: hidden;
    }
    .d33-hub-card::after {
        content: '\f57d'; font-family: "Font Awesome 5 Free"; font-weight: 900;
        position: absolute; right: -20px; bottom: -20px;
        font-size: 8rem; color: rgba(0,0,0,0.03);
    }
    .d33-hub-card h3 { color: var(--d33-dark); margin-top: 0; font-size: 1.5rem; }
    .d33-hub-tag { background: var(--d33-red); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 15px; display: inline-block; }

    @media (max-width: 768px) {
        .d33-fiscal-bar { flex-direction: column; text-align: center; }
    }
}