    /** *  F O N T S
    ==================================================================================*/ 


    @font-face {
            font-family: 'Manual';
            src: url('../fonts/Manual-Bold.woff2') format('woff2'),
                url('../fonts/Manual-Bold.woff') format('woff'),
                url('../fonts/Manual-Bold.ttf') format('truetype');
            font-weight: bold;
            font-style: normal;
            font-display: swap;
        }


    @import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

    /** *  V A R I A B I L I
    ==================================================================================*/


    :root {
        
        /** --------------- GESTIONE FONTS ----------------- */

        --font:             'Google Sans';
        --titoli:           'Manual';
        --hand:             '';

        
         /** --------------- GESTIONE COLORI ----------------- */
        
        --maincolor:        #178d42;
        --second:           #50a2c0;
        
        --fontcolor:        #333;
        --linkfontcolor:    #666666;
        --bianco:           #fff;   
        --testi:            #444; 
        

        --fluid-h1: clamp(2.50rem, calc(2.00rem + 2.50vw), 4.50rem);
        --fluid-h2: clamp(1.5rem, 1.4424vw + 1.0691rem, 2.8rem);
        --fluid-h3: clamp(1rem, 0.7981rem + 0.8974vw, 1.875rem);; 
        --fluid-h4: clamp(1.25rem, calc(1.10rem + 0.75vw), 1.875rem);
        --fluid-h5: clamp(1.00rem, calc(0.925rem + 0.375vw), 1.375rem);

        
    }


    /** *    S T R U T T U R A
    ==================================================================================*/

    body, html              { height: 100%;}

    body            		{ font-family: var(--font), sans-serif; background-color: #F5F5F5;  }

    .container-fluid        { padding: 0; }

    .site-title             { background-image: url("../img/logo.svg"); text-indent: -9999px; display: block; background-repeat: no-repeat; background-size: cover; z-index: 9999; }   
    .site-description       { display: none; }

    .home #hero             { background-size: cover !important; background-image: url("../img/hero.webp");  }
     #hero                  { background-image: url("../img/professione-verticale-hero-interno.webp"); position: relative; background-size: cover;}

    #hero.hero-corso        { background-size: 100% auto; background-repeat: no-repeat; position: relative; }

    #map                    { height: 700px; min-height: 400px;  }

    #contatti               { background-image: url("../img/contatti.webp"); background-size: cover; height: 100vh; padding: 40px; }
    
    #claim                  { position: absolute;  z-index: 9998; }

    section                 { padding: 80px 0;}
    section.form            { background-color: #D9D9D9;  padding: 40px 0; margin: 0}
    section#banner-centro  {  padding: 40px 100px; }


    .title                  { height: 100vh; background-size: cover; background-repeat: no-repeat;     display: flex;
    align-items: center; position: relative;}   

    .bianco                  { height: 100vh; background-size: cover; background-repeat: no-repeat;     display: flex;
    align-items: center; position: relative;}    
    .title   > div          { display: block; width: 40vw;}

    .testo              { margin: 80px; }

    .destra             { justify-content: right;   }
    .sinistra           { justify-content: left;   }

    footer              { position: relative; background-color:#D5D5D5;  padding:80px 0; }

    .free               { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);}
    .free img           { width: 60px; height: auto; }
    .logo-footer        { width: 200px; height: auto; margin-bottom: 20px; }   

    
    .img-title-single-page      { overflow: hidden; position: relative; width: 100% !important; }
    .img-title-single-page      { background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover !important; }


    #title h2 { font-size: 60px; color: #fff;  letter-spacing: 2px;   text-transform: uppercase;  z-index: 2;}

    .img-testata { position: relative;}
    .img-opacity { background-color: rgba(0, 0, 0, 0.4); height: 100%; position: absolute; top: 0; width: 100%; z-index: 1;}

    .pagina         { padding: 80px;  }
    .contatti       { margin: 0 0 80px 0;  }

    #testa { border-bottom:  0.5px solid #fff; padding-bottom: 20px; z-index: 8000; position: relative;}


    .wp-block-media-text__media img { box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);}

    #hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        pointer-events: none;
    }

    .round  img  { border-radius: 15px;}

   

    .corso-meta-list { list-style: none; padding: 0; margin:40px 0 !important; border-bottom: 2px solid #000; border-top: 2px solid #000;}
    .corso-meta-list li { display: flex; align-items: center; justify-content: space-between; padding: 15px 0 !important; border-bottom: 1px solid rgba(0,0,0,.1);}
    .corso-meta-list li:last-child { border-bottom: none;}


    .meta-label         { display: flex; align-items: center; gap: 2rem; color: #888; }
    .meta-label i       { font-size: 20px; color: var(--maincolor);}
    .meta-label small   { font-family: var(--titoli), sans-serif;  font-weight: 800;   font-size:16px; ; text-transform: uppercase; color: var(--maincolor); }
    .meta-value         { font-weight: 600;}

    .icone  img { max-width: 70%; }


    
    /** *   COOKIE  ----------------------------- */

    #s-ttl img          { padding: 10px 0; }
    #cookie             { color:var(--maincolor); }


    /** *   BANNER CENTRO  ----------------------------- */


    #banner-centro .cf-content { display: flex; flex-direction: column; flex: 1; min-height: 600px; } 
    #banner-centro .cf-content .row { margin-top: auto; }

    #banner-centro { position: relative; min-height: 600px; background: #0d1f2d; overflow: hidden; color: #fff; } 
    .cf-bg-img { position: absolute; inset: 0; background-image: url('../img/banner-centro.webp'); background-size: cover; background-position: center top; z-index: 0; }
    .cf-overlay { position: absolute; inset: 0; background: rgba(13, 31, 45, 0.7);  z-index: 1; } 
    .cf-content { position: relative; z-index: 2; }

    .cf-content h4  { text-transform: uppercase; font-weight: 400; margin: 20px 0; letter-spacing: 1px; }
    .cf-content p   { font-size: 14px; opacity: 0.6;}

    .cf-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(56, 170, 180, 0.6);
    color: #5dcfdb;
    padding: 3px 10px;
    border-radius: 20px;
    }

    .cf-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(56, 170, 180, 0.5);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #5dcfdb;
    flex-shrink: 0;
    }

    .cf-arrow       { color: rgba(255, 255, 255, 0.3); }

    #banner-centro .col-12 { transition: transform 0.3s ease;}
    #banner-centro .col-12:hover { transform: translateY(-4px);}
    #banner-centro .col-12 p { opacity: 0.55; transition: opacity 0.3s ease;}
    #banner-centro .col-12:hover p { opacity: 1;}
    #banner-centro .cf-num { transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;}
    #banner-centro .col-12:hover .cf-num { background: #5dcfdb; color: #0d1f2d; border-color: #5dcfdb;}



    /** *   SCHEDE CORSO  ----------------------------- */


    .scheda-corso > div {
        background: transparent;
        transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
        will-change: transform;
        border-radius: 8px;
        /* opzionale ma consigliato per look card */
    }

    /* hover effetto */
    .scheda-corso:hover > div {
        transform: translateY(-6px);
        background: #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .scheda-corso > div { transition: all 0.25s ease; }


    /** *   SETTORI  ----------------------------- */

    .settore        { transition: transform 0.25s ease, box-shadow 0.25s ease; will-change: transform;}
    .settore:hover  { transform: translateY(-6px); }


    /** * A N I M A Z I O N I D I P A G I N A
    ==================================================================================*/

    .reveal         { position: relative; transform: translateY(150px); opacity: 0; transition: 2s all ease; }
    .reveal.active  { transform: translateY(0); opacity: 1; }


    .pagina .wp-block-column            { padding: 0 40px; text-align: center; }
    .pagina .loghi .wp-block-column     { padding: 0 20px !important; }

    

    /** *   T I P O G R A F I A
    ==================================================================================*/
    
    html                    { font-size:62.5%; }
    .small                  { font-size: 12px;}

    h1, h2, h3, h4, h5, h6  { font-family: var(--titoli), sans-serif;  font-weight: 800;  }

    .title hr               { border: 1px solid var(--maincolor); width: 150px; opacity: 0.7; margin-top: 30px;}

    .wp-block-separator     { border: 1px solid var(--maincolor)!important; width: 150px !important; margin: 30px auto !important; }


    .nulla h2           { font-size: 36px; text-align: center !important;}
    .nulla h3           { text-align: center !important;}
    .nulla p            { font-size: 21px;  text-align: center !important; }

    .pagina h3 strong  { color: var(--maincolor); }
    
    strong  { color: var(--lightblu); }

    ul.experience       { columns: 2; gap: 10rem; }
    ul.experience li    { padding: 8px 0 !important; }

    .green  { color: var(--maincolor); }


    #getintouch i   { color: #fff; font-size: 24px; }

    #getintouch h3 {
        
        color: #fff; 
        text-transform: uppercase;
        font-size: 16px;
        letter-spacing: 1px;
    }

    b, strong   { font-weight: 800;}

/** * TITOLI  ----------------------------------------------------------------------- */

    #hero h1        { position: absolute; bottom: 40px; left: 40px; z-index: 1000; }
    
    #home h3                { color:var(--bianco); text-transform: uppercase;  }
    #claim h3               { font-size: var(--fluid-h3); color:#fff; line-height: 120%; }

    h1                      { font-size: var(--fluid-h1); color:var(--bianco); margin-bottom: 40px; }
    h2                      { font-size: var(--fluid-h2); color:var(--maincolor);  text-transform: uppercase; }
    h3                      { font-size: var(--fluid-h3); color:var(--second); }
    h4                      { font-size: var(--fluid-h4); color:var(--lightblu); }
    h5                      { font-size: var(--fluid-h5); color:var(--maincolor); }
    
    h6                      { font-family: var(--hand), sans-serif; font-size: 14px; color:var(--maincolor); text-transform: uppercase; letter-spacing: 2px; font-weight: 300; margin-bottom: 40px; }

    .titolone  { font-size: 60px;   }
    

    h4.titoletto    { font-size: 36px; margin: 0 0 80px 0;}

    blockquote {
        font-family: var(--titoli), sans-serif;  font-weight: 800; 
        font-style: normal;
        color: var(--maincolor);
        margin: 40px 0 0 0;
        overflow: hidden;
        padding: 3em 0;
        position: relative;
        font-size: 18px;
    }

    blockquote::before {
        font-family: Times New roman, serif;
        content: '\201C';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40em;
        color: var(--lightblu);
        opacity: 0.08;
        line-height: 1;
        pointer-events: none;
        z-index: 0;
    }

    blockquote p {
        text-align: center !important;
        font-size: 2em !important;
        letter-spacing: 1px;
        line-height: 1.5em;
        margin: 0 0 0.3em 0;
        position: relative;
        z-index: 1;
    }

cite    { text-align: center; font-style: normal;         font-size: 21px; }


/** * PARAGRAFI  ----------------------------------------------------------------------- */

    p                      { font-size: 1.6em;  font-weight: 300;  line-height: 170%; margin-bottom: 20px;  }
    .pagina p              { font-size: 1.4em; line-height: 160% !important;  }
    
    #claim p               { font-size: 1.8em; color:#fff; font-weight: 200; line-height: 140%; margin-bottom: 40px; }

    .gaptext                { max-width: 400px; margin-left: auto; margin-right: auto;}


/** * COLLEGAMENTI  ------------------------------------------------------------------- */

    a                     { text-decoration: none; position: relative; }
    a:link                { color: var(--maincolor); }
    a:focus               { color: var(--maincolor); outline: 0; }
    a:hover               { text-decoration:none; }
    a:visited             {  }

/** * LISTATI  ------------------------------------------------------------------------ */

    ul, ol                      { padding: 0; color: var(--testi); font-weight: 300; }

    .pagina ul, .pagina ol           { font-size: 1.6em;  padding: 0 0 0 40px; }
    .pagina ul li, .pagina ol li     { line-height: 170%; padding: 3px 0; }

    #single ul, #single ol      { font-size: 1.6em;  padding: 0; }

    #single ul                  { list-style: circle; margin: 0 0 40px 30px; }
    #single ul li               { padding: 10px 0; }



    .scheda-corso h3     { text-transform: uppercase; }
    .scheda-corso h3 a   { color: var(--second);   }
    .scheda-corso h3     { margin: 20px 0;     }
    .scheda-corso p      { font-size: 14px; font-weight: 300; }




/** * SETTORI  ------------------------------------------------------------------------ */

    #settori .icona { margin-bottom: 40px; }
    #settori h4 { font-size: 21px; color: var(--maincolor); }



/** *   --------------------------------------------------------------------------------- */

    #nav a                { color: var(--maincolor); ; margin-right: 20px; }  
    #nav a:hover          { color: var(--bianco);  }  
    #nav i                { font-size: 24px; }  


/** *   HOMEPAGE   -----------------------------------*/

    .home #nav a                { filter: brightness(0) invert(1); }
    .home #nav a.fissa:hover    { filter: none !important; }

     .site-title               { filter: brightness(0) invert(1); }
     .button_container span    { filter: brightness(0) invert(1); }    


/** *   FORM  -----------------------------*/

    .form h3    { font-size: 36px;}

    .form-control   { font-size: 1.4em; }
    .wpcf7-spinner  { visibility: hidden; display: none; }

    .wpcf7 label    { text-transform: uppercase; color:var(--lightblu); font-weight: 500; font-size: 13px; letter-spacing: 1px; }


/** *   MAPPA  -----------------------------*/

    .leaflet-popup-content p    { font-size: 13px; font-weight: 400; }



    /** *   PAGINA  -----------------------------*/

    .pagina p       { line-height: 24px;}


    /** *   TEAM   -----------------------------*/

    .title h2        { font-size: 4.5em; font-weight: 700; color:var(--maincolor); text-transform: uppercase; }
    .title h3        { color:var(--lightblu); }

    .staff h3      { margin: 20px 0 0 0; }
    .staff h5      { font-weight: 700; color:var(--lightblu); text-transform: uppercase; margin:10px 0 40px 0; }
    .staff p       { font-weight: 400; color:var(--lightblu); }

    .staff          { position: absolute; right: 0; bottom: 0; height: 95%; width: auto; }

    #staff p        { text-align: left !important; hyphens: none !important;  }
    #staff .card          { min-height: 500px; }

 
    .card                       { transition: all .4s cubic-bezier(.22,.68,0,1.2); } 
    .card h2, .card .text-muted, .card p { transition: color .3s ease; } 
    .card img.staff             { transition: transform .4s cubic-bezier(.22,.68,0,1.2); } 

    .card:hover                 { background: #eee !important; transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,58,92,.28) !important; } 
    .card:hover h2              {  } 
    .card:hover .text-muted     {  } 
    .card:hover p               {  } 
    .card:hover img.staff       { transform: scale(1.10); }


    .subtitle   { text-transform: uppercase; letter-spacing: 2px; color: #ccc;}

    /** *   CONTATTACI -----------------------------*/


    .contatto           { background-image: url(../img/back.jpg); background-size: cover;}
    .contatto h3, .contatto p           { color: #fff; }

    /** * a:hover effect -----------------------------*/

    footer a:not(.free):after  {
        
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 1px;
        bottom: -5px;
        left: 0;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
        
    }

    footer a:not(.free, .eu):after           { background-color: rgba(23, 141, 66, 0.7) }
    footer a:not(.free, .eu):hover:after     { transform: scaleX(1); transform-origin: bottom left; }


    /** *   FOOTER  -----------------------------*/

    footer p              { color: var(--bianco); font-size: 1.3em; }
    footer h3             { margin: 0 0 20px 0; color: var(--maincolor); font-size: 1.6em; text-transform: uppercase; font-weight: 300; letter-spacing: 1px; }

    footer ul li            { padding: 0 0 8px 0; list-style: none; }
    footer ul li a:link     { font-size: 1.3em; color: var(--second) !important; }
    footer ul li a:hover    { color: var(--maincolor) !important; }
    footer ul li a:visited    { color: var(--bianco) ; }

    /** *   SITEMAP  -----------------------------*/

    ul.sitemap                  { column-count: 3; margin: 40px 0;}
    ul.sitemap li               { line-height: 26px; }
    ul.sitemap li a             { color: var(--maincolor); }
    ul.sitemap li a:hover       { color: var(--lightblu); }

    /** *   SCHEDA CORSI  -----------------------------*/

    .corso-meta { display: flex; gap: 0; margin: 30px 0; border-block: 1px solid rgba(0,0,0,0.2); padding: 12px 0;}
    .corso-meta span { display: flex; flex-direction: column; flex: 1; font-size: 14px; font-weight: 700; color: #333; padding: 0 12px; }
    .corso-meta span:first-child { padding-left: 0; }
    .corso-meta span:last-child { border-right: none; }
    .corso-meta small { font-size: 10px; font-weight: 400; color: rgba(0,0,0,0.5); margin-top: 4px; letter-spacing: 1px;}

    /** * BTN EXPAND
        ==================================================================================*/
        
        /* contenitore dei bottoni */
        .expand-group { display: flex; align-items: center; gap: 40px;}

        a.expand {
            font-family: var(--titoli), san-serif;
            font-size: 13px !important;
            color: #fff;
            letter-spacing: 1px;
            
            border-radius: 4px;
            background-color: var(--second);
            
            text-decoration: none;
            font-size: 20px;
            padding: 10px 15px;
            display: inline-block;
            position: relative;
            text-align: center;
            transition: all 0.5s;
            cursor: pointer;
            box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .7);
            text-transform: uppercase;
 
        }

        a.expand:hover { padding-right: 40px; padding-left: 10px; }

        a.expand .expand-icon {
        position: absolute;
        opacity: 0;
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
        transition: 0.5s;
        display: flex;
        align-items: center;
        }

        a.expand .expand-icon svg { width: 15px; height: 15px; }
        a.expand:hover .expand-icon { opacity: 1; right: 10px; }

    a.expand.no-anim { 
        box-shadow: none; 
        transition: none; 
    }
    a.expand.no-anim:hover { 
        padding-right: 15px; 
        padding-left: 15px; 
        background-color: var(--maincolor);
    }

    /** *    G U T E N B E R G
    ==================================================================================*/

    .alignwide          { margin: 32px calc(25% - 25vw); max-width: 100vw;}
    .alignwide img      { max-width: 1600px; display: inline; }
    
    .alignleft,.alignright  { margin-bottom: 20px;    width: 40%; }
    .alignleft              { float: left;	margin: 5px 40px 30px 0; }

    .alignfull              { margin: 0 calc(50% - 50vw); max-width: 100vw; width: 100vw;}

    

    /** * MENU
    ==================================================================================*/
   
    #toggle         { display: block; width: 30px; z-index: 13000 !important; }  

    .header-items   { position: absolute; top: 45px; right: 10px; z-index: 13000;}
    .header-items   { display: flex; align-items: center; flex: 1; text-align: right; justify-content: flex-end;}

    .icona          { font-size: 24px; color: #fff; margin: 0 20px;}
    a.icona:hover   { color:var(--giallo); }


    #main-menu { gap: 3rem; }

    ul#main-menu             { z-index: 12000; position: relative;  }
    ul#main-menu li          { list-style:none;  } 
    ul#main-menu li a        { font-family: var(--titoli), sans-serif; color: #fff; font-size: 16px; font-weight: 400;  text-transform: uppercase;   }    
    ul#main-menu li a:hover  { color: var(--maincolor);}    

        /* Underline animato - escludi dropdown toggle */
    ul#main-menu li a:not(.dropdown-toggle)::after {
        content: '';
        display: block;
        height: 1px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .6s ease;
    }

    ul#main-menu li a:not(.dropdown-toggle):hover::after { transform: scaleX(1); }

    /* Freccina dropdown */
    ul#main-menu li a.dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.4em;
        vertical-align: 0.15em;
        content: "";
        border-top: 0.35em solid currentColor;
        border-right: 0.35em solid transparent;
        border-bottom: 0;
        border-left: 0.35em solid transparent;
        transition: transform 0.3s ease;
    }

    /* Ruota quando aperto */ 
    ul#main-menu li a.dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); } 

    /* Dropdown menu trasparente */ 
    ul#main-menu .dropdown-menu { background: transparent; border: none; box-shadow: none; padding: 0.5em 0; }

    /* Voci submenu stile uguale al menu principale */
    ul#main-menu .dropdown-menu .nav-item a.dropdown-item { background: transparent; color: var(--bianco); padding: 0.4em 1em; }
    ul#main-menu .dropdown-menu .nav-item a.dropdown-item:hover { color: var(--maincolor); }

    /* Underline animato uguale al menu principale */
    ul#main-menu .dropdown-menu .nav-item a.dropdown-item::after {
        content: '';
        display: block;
        height: 1px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .6s ease;
    }

    ul#main-menu .dropdown-menu .nav-item a.dropdown-item:hover::after { transform: scaleX(1); } 
    ul#main-menu .dropdown-menu .nav-item a.dropdown-item:hover, ul#main-menu .dropdown-menu .nav-item a.dropdown-item:focus { background: transparent; } 
    ul#main-menu .dropdown-menu { margin-top: 0; left: -1em !important; }

    /* =========================
       TOGGLER
    ========================= */

    .custom-toggler:focus,
    .custom-toggler:active,
    .custom-toggler:focus-visible {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    .custom-toggler {
        border: 0;
        background: transparent;

        width: 40px;
        height: 40px;

        position: absolute;
        right: 10px;
        top: 0;
        z-index: 10000;

        display: flex;
        flex-direction: column;
        justify-content: center;

        padding: 0;
    }

    .custom-toggler span {
        position: absolute;

        width: 100%;
        height: 2px;

        background: #fff;

        transition: all 0.3s ease;
    }


    /* linee hamburger */ 
    .custom-toggler span:nth-child(1) { top: 10px; } 
    .custom-toggler span:nth-child(2) { top: 19px; } 
    .custom-toggler span:nth-child(3) { top: 28px; } /* STATO ACTIVE = X */ 
    .custom-toggler.active span:nth-child(1) { transform: rotate(45deg); top: 19px; } 
    .custom-toggler.active span:nth-child(2) { opacity: 0; } 
    .custom-toggler.active span:nth-child(3) { transform: rotate(-45deg); top: 19px; }


    /* =========================
       OVERLAY
    ========================= */

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;

        width: 100%;
        height: 100vh;

        background: rgba(80, 162, 192, 0.9);

        z-index: 9999;

        display: flex;

        justify-content: flex-start; /* ← invece di center */

        padding: 40px 0 0 40px; /* distanza dal bordo */

        opacity: 0;
        visibility: hidden;

        transition: 0.4s ease;
    }



    /* APERTO */

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* =========================
       MENU VERTICALE
    ========================= */

    .mobile-menu-list               { list-style: none; padding: 0; margin: 0; } 
    .mobile-menu-list li            { margin: 4px 0; } 
    .mobile-menu-list a             { font-family: var(--titoli), sans-serif; text-transform: uppercase; font-size: 3rem; text-decoration: none; color: #fff; font-weight: 600; letter-spacing: 2px; } 
    .mobile-menu-list .sub-menu     { padding-left: 40px;} 
    .mobile-menu-list .sub-menu a   { font-size: 2rem;}

    /* =========================
       CLOSE
    ========================= */

    .close-menu         { position: absolute; top: 80px; right: 12px; border: 0; background: none; cursor: pointer; } 
    .close-menu svg     { width: 40px; height: auto; }

    /* =========================
       DESKTOP
    ========================= */

    @media (min-width: 992px) {

        .mobile-menu-overlay,
        .custom-toggler {
            display: none;
        }

    }

/** *  POST NAVIGATION  ------------------------------------------------------------------- */


        .post-navigation        { padding-top: 100px; } 
        .post-nav-item          { padding: 1rem 1.25rem; color: var(--maincolor); transition: background-color 0.2s ease, border-color 0.2s ease; max-width: 48%; } 
        .post-nav-item:hover    { } 
        .post-nav-arrow         { font-size: 1.5rem; color: var(--main); flex-shrink: 0; } 
        .post-nav-label         { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--second); font-weight: 600; } 
        .post-nav-title         { font-size: 14px; font-weight: 600; line-height: 120%; }



    /** *  BANNER CONTATTO  ------------------------------------------------------------------- */

    .contact-box {
        font-size: 21px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 35px 30px;
      border: 1.5px solid var(--bianco);
      border-radius: 8px;
      background: transparent;
      text-decoration: none;
      height: 100%;
      color: var(--bianco);
      transition: background 0.15s;
    }

    

    .contact-box:hover                  { background: var(--gold); border-color: var(--gold); color: #fff; } 
    .contact-box:hover .btn__info       { color: #fff; } 
    .contact-box svg                    { width: 40px; height:40px; flex-shrink: 0; opacity: 0.8 }
    a.contact-box:link                  { color: #fff; }

    .contact-box .btn__text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      line-height: 1.2;
  
    }

    .contact-box .btn__info {
      font-size: 14px;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 500;
    }

    .contact-box { transition: background 0.15s, transform 0.2s ease, box-shadow 0.2s ease; will-change: transform;}
    .contact-box:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15);}
    .contact-box:hover { background: #fff; border-color: #fff; color: var(--second);}
    .contact-box:hover .btn__info, .contact-box:hover .btn__text { color: var(--second);}
    .contact-box svg path { fill: currentColor; transition: fill 0.2s ease;}
    .contact-box:visited,.contact-box:active,.contact-box:focus { color: #fff; }

    a.contact-box:hover:link { color:var(--second);}


/** *  ------------------------------------------------------------------------------------------------------------- */


    /** *  R E S P O N S I V E
    ======================================================================================================================= */

    @media ( max-width: 1022px) {
        
        html, body { overflow-x: hidden; max-width: 100%;}
        * { box-sizing: border-box;} 
        
        #corsi { padding: 40px 20px;}
        
        #fasi .sticky-top   { position: relative !important; height: auto !important; } 
        #fasi .col-5        { width: 100%; } 
        #fasi .offset-lg-1.col-6 { width: 100%; }
        
        .mobile-no  { display: none; }
        .scheda-corso { margin-bottom: 80px; }
        
        
        #claim h1, #claim p { margin-bottom: 10px !important; }
        
        .corso-sidebar  { margin-bottom: 40px;}

        #getintouch {
            display: flex;
            /* aggiunto */
            position: absolute;
            right: 0;
            left: 0;
            bottom: 0;
            top: auto;
            border-left: none;
            border-top: 1px solid #fff;
            height: 60px;
            width: 100%;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            padding-bottom: 0;
            gap: 30px;
            z-index: 9997;
        }

        #hero.hero-corso { background-size: cover; }



    }

    @media ( min-width: 1023px) {


            #claim                  { bottom: 100px; width: 40vw; z-index: 9998; right: 40px; top: 20%; }
            #call                   { bottom: 100px; }
            .scheda-corso           { padding:0 50px 40px 0; }
            .corso-body             { padding: 15px; background-color: #fff; overflow: hidden; }
        
             #getintouch {
                 position: absolute;
                 right: 0;
                 top: 135px;
                 border-left: 1px solid #fff;
                 height: calc(100% - 135px);
                 display: flex;
                 flex-direction: column;
                 align-items: center;
                 justify-content: flex-end;
                 padding-bottom: 40px;
                 gap: 20px;
                 width: 80px;
                 /* dai una larghezza fissa alla barra */
                 z-index: 9997;
             }

             #getintouch h3 {
                 writing-mode: vertical-rl;
                 transform: rotate(180deg);
                 /* per girarlo nel verso giusto */
                 white-space: nowrap;

             }

             ul.chi {
                 column-count: 2;
                 column-gap: 30px;
                 padding-left: 1.5rem;
                 align-items: start;
                 font-size: 14px;
             }


        
    }

    /** * ==================================================================================*/

    @media (max-width: 480px) {

        .site-title             { background-size: cover; width: 200px; height: 70px; }   
        .site-title a           { display: block; width: 200px; height: 70px; } 
        
        .button_container       { top: 40px; right: 20px; }
        
        .home #hero             { background-size: cover !important; background-position: -70px top !important; }
        #home .testo            { width: 90vw; height: auto; display: block; z-index: 2; }
        #home h3                { font-size: 21px; }
        
        .home #hero {
            height: 100vh;
            /* fallback per browser vecchi */
            height: 100svh;
            /* = parte visibile con le barre del browser mostrate */
            min-height: 560px;
            /* sotto questa altezza claim e logo si sovrapporrebbero */
        }

        #hero {
            /* pagine interne */
            height: 80vh;
            height: 80svh;
        }
        
        .gut                    { padding: 0px 20px 40px 20px; }
        
        #claim                  { bottom: 130px; left: 20px; width: calc( 100% - 40px ); }
        #claim h3               { font-size: 3.5em; }
        #call                   { bottom: 30px; }
        .logo                   { padding: 10px 0; }

        #home > section         { background-size: cover !important; background-position: center top !important;  }

        #hero                   { height: 80vh; background-repeat: no-repeat !important; background-position: center 0 !important; }
        #testa                  {padding: 10px}
        

        
        #coprete                { height: 60vh; margin-top: 110px; }

        #nav                    { display: none; right: 0; top: 100px; width: 100vw;     }
        #nav a                  { margin-right: 10px; }
        
        #single, .pagina        { padding:40px 20px;  }
        
        footer                  { text-align: center; }
        
        .scroll                 { display: none; }
        
        .wp-block-spacer                                      { height: 30px !important; }
        .wp-block-media-text .wp-block-media-text__media      { margin-bottom: 20px; }
        
         /** *   TEAM SCHEDA SINGOLA  ----------------------------- */
        
        .title > div     { width: 90vw; }    
        .title h2        { font-size: 2.8em; }
        .title h3        { font-size: 1.8em; }
        
         /** *   MENU  ------------------------------------------- */

        .menumain       { width: 80vw; }
        #address        { bottom: 30vh; }

        ul.nav li a     { font-size: 28px; }
        
         /** *   SLIDE CONTATTI  ------------------------------------------- */
        
        #contatti h3 { font-size: 36px; }
        
         /** *   BANDO  ------------------------------------------- */
        
        .eu p       { margin: 0 auto; }


      }

    /** * ==================================================================================*/

    @media (min-width: 480px) and (max-width: 760px) {

        .site-title             { background-size: cover; height: 200px; width: 150px; margin: 20px 0; }   
        .site-title a           { display: block; height: 85px; width: 300px; }

      }

    /** * ==================================================================================*/

    @media (min-device-width: 768px) and (max-device-width: 1024px)  and (orientation: landscape) {

        .site-title             { position: relative; width: 180px; height: 102px; }   
        .site-title a           { display: block; width: 180px; height: 102px; }
        
         .home #hero             { height: 100vh;  padding: 40px; background-position: center top !important; }
        

    } 

    /** * ==================================================================================*/

    @media (min-width: 1024px) and (max-width: 1280px) {
        
        .site-title             { position: relative; width: 300px; height: 103px; }   
        .site-title a           { display: block; width: 300px; height: 103px; }
        
        .home #hero             { height: 100vh; min-height: 900px; padding: 40px; }

        #hero                   { height: 90vh; min-height: 700px;  }
        #coprete                { height: 90vh; }
        
        #home .testo            { width: 40vw; height: auto; display: block; z-index: 2; }
        #main-menu              { z-index: 20000; }
        
        #contatti               { min-height: 900px; }


    }



    /** * ==================================================================================*/

    @media (min-width: 1281px) {


        .site-title             { position: relative; width: 300px; height: 103px; }   
        .site-title a           { display: block; width: 300px; height: 103px; }
        
        .home #hero { 
            position: relative;
            height: 100vh; 
            min-height: 900px; 
            padding: 10px; 
        }

        #hero { 
            position: relative;  /* ← fondamentale */
            height: 50vh; 
            min-height: 600px; 
            padding: 10px; 
        }

        #home .testo            { width: 40vw; height: auto; display: block; z-index: 2; }
        #main-menu              { z-index: 20000; }
        
        #contatti               { min-height: 900px; }

    }  


/** * =========  T H E E N D ========================================================================= */