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

    @import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400;700&display=swap');    
    @import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Jost:ital@0;1&display=swap');

    @import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');


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


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

        --font:             'Albert Sans';
        --bodoni:           'Fraunces';
        --sans:             'Jost';

         /** --------------- GESTIONE COLORI ----------------- */
        
        --maincolor:        #085296;
        --rosso:            #c00000;
        --giallo:           #ffc000;

        --fontcolor:        #333;
        --linkfontcolor:    #666666;
        --bianco:           #fff;   
        
        --pio-blu:#123f7a;
        --pio-rosso:#b0121b;
        --pio-oro:#e9ad1f;
        --pio-oro-hover:#f0bd3e;
        --pio-ink:#191b22;
        --pio-muted:#5b5e68;
        --pio-crema:#faf8f3;
        
            }    



/* Sezione sovrapposta alla foto */
.pio-anno{
  position:relative;
  z-index:2;
  margin-top:-72px;
}
.pio-anno .container-xl{ max-width:1280px; padding-inline:28px; }

.pio-anno__box{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 60px -24px rgba(18,63,122,.35);
}

/* Etichetta maiuscoletta */
.pio-eyebrow{
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:600;
}

/* Blocco blu: anno */
.pio-anno__year{
  background:var(--pio-blu);
  color:#fff;
  padding:30px 32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}
.pio-anno__year .pio-eyebrow{ color:var(--pio-oro); }
.pio-anno__year-num{
  font-family:var(--bodoni);
  font-size:38px;
  line-height:1;
}

/* Depliant / Annuario */
.pio-anno__doc{
  display:flex;
  align-items:center;
  gap:18px;
  padding:28px 32px;
  color:var(--pio-ink);
  text-decoration:none;
  border-top:1px solid rgba(25,27,34,.08);
  transition:background-color .2s, color .2s;
}
.pio-anno__doc:hover,
.pio-anno__doc:focus-visible{
  background:var(--pio-crema);
  color:var(--pio-rosso);
}
.pio-anno__pdf{
  flex:none;
  width:44px;
  height:54px;
  border-radius:4px 14px 4px 4px;
  background:var(--pio-rosso);
  color:#fff;
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding-bottom:8px;
}
.pio-anno__doc-title{
  font-family:var(--pio-serif);
  font-size:21px;
  line-height:1.15;
}
.pio-anno__doc-meta{
  font-size:13px;
  color:var(--pio-muted);
}

/* Blocco oro: iscrizione */
.pio-anno__cta{
  background:var(--pio-oro);
  color:var(--pio-ink);
  text-decoration:none;
  padding:28px 32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  transition:background-color .2s;
}
.pio-anno__cta:hover,
.pio-anno__cta:focus-visible{
  background:var(--pio-oro-hover);
  color:var(--pio-ink);
}
.pio-anno__cta-title{
  font-family:var(--bodoni);
  font-size:24px;
  line-height:1.15;
}

/* Tablet: 2 colonne */
@media (min-width:576px){
  .pio-anno__doc{ border-top:0; }
  .pio-anno__box > div:nth-child(2) .pio-anno__doc{ border-left:1px solid rgba(25,27,34,.08); }
}

/* Desktop: 4 colonne, separatori verticali */
@media (min-width:992px){
  .pio-anno__doc{ border-left:1px solid rgba(25,27,34,.08); }
}


    /** * STRUTTURA
    ==================================================================================*/



    html                    { font-size: 62.5%; }   
    body                    { font-size: 1.6rem; position: relative; background-color: #EEEDF0;}

    body            		{ font-family: var(--font),serif;   font-weight: 300;  color: #111;  }

    .container-fluid        { padding: 0;}
    #wrapper                {   }

    section                 { padding: 80px 0 0 0; }
    .menunav                { padding: 0; }

    .logo                   { padding-top: 15px; margin: 0 auto; }

    .site-title             { background-image: url("../img/logo.png"); text-indent: -9999px; display: block; margin: 0 auto; }   
    .site-description       { display: none; }

    header                  { padding: 0; background-color:#ffff;  }

    footer                  {  background-color:  var(--maincolor); display: block; padding: 40px;   }

    .claim                  { background-color: #FFB300; position: relative; padding: 15px 0; }
    .claim h2               { letter-spacing: 1px; }
    .claim p                { font-size: 18px; letter-spacing: 1px; color: #352E48; margin: 20px 0; }


    .servizi                { background-color: #F4F1F1; }
    .servizio               { margin-bottom: 40px; }
    .servizi h3             { color: #706F6F; margin-bottom: 30px; }

    .servizi img[src$=".svg"].wp-post-image { width: auto !important; height: 60px !important; margin-bottom: 30px; }

    .royal                  { padding: 0 !important; }

    .rsSBlock               { top:50% !important; transform: translateY(-20%); } 

    .prenota                { background-image: url("../img/prenota.jpg"); height: 400px; background-size: cover; }  
    .prenota                { text-align: center; display: flex; justify-content: center; align-items: center; }
    .prenota h3             { color: #fff; }
    .h24                    { width: 60px; height: auto; fill: #fff; margin-bottom: 20px; }

    .loghi                  { background-color: #f4f4f4;}
    section.loghi           { padding: 10px 0; }

    .texture                { position: absolute; bottom: -20px; left: 0; width: 100%; z-index: 9999;}  
    .texture2               { margin-bottom: -10px; width: 100%; z-index: 9999; transform: scaleY(-1); margin-top: 80px; }  
    .texture2 img           { width: 100%; height: auto;}  

    .title          { background-color: var(--maincolor); position: relative; min-height: 80px; }
    
    .pagina .row    { margin: 20px 0;}

    .free           { width:70px; height:auto; }

    #mapid          { width: 100%; height: 40vh;}

    .inner  { color: #fff; z-index:9999; }
    .inner a  { color: #fff; }
    .inner h3  { color: #fff; }

    header { padding:0 40px; position: relative; }
    .news, .corsi, .eventi { padding: 40px; }


    .overlay      { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); z-index:999;  }

    .footlogo   { display: block; width: 150px; height: auto; } 


    button#cookie { }
    
    .hero    { display: block; width: 100%; height: 500px; background-size: cover !important;  }

    #pagina .wp-block-cover { margin-top: -39px;}



    .gutter { margin: 80px 0; }

    /*---------- Video Embeds ---------*/

    .video-container { 
      position: relative; 
      padding-bottom: 56.25%; 
      height: 0; 
      overflow: hidden;
      max-width: 1200px;
      margin: 0 auto;
    }

    .video-container iframe, .video-container object, .video-container embed, .video-container video { 
      position: absolute; 
      top: 0; 
      left: 0; 
      right: 0;
      width: 100%;
      height: 100%;
    }

    
    #titolo h2          { color: var(--maincolor); margin: 20px 0; }
    #titolo h4          { color: var(--rosso); }


    .titolo-convegno                 {  position: relative; min-height: 500px; padding: 0; background-image: url('../img/ratzinger.webp');
        background-repeat: no-repeat;
        -ms-background-size: cover;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: cover;    }



    /** * RATZINGER
    ==================================================================================*/

    section#nav    { padding: 30px 0 !important; }

    #nav            { background-color: var(--giallo); }

    #menu           { margin: 0; text-align: center; }
    #menu ul        { margin: 0; padding: 0; list-style: none; line-height: normal; }

    #menu a { margin: 0; padding: 0 40px 0 0; letter-spacing: 2px; text-decoration: none; text-transform: uppercase; font-size: 17px; font-weight: 600; color: var(--maincolor); border: none;  }

    #menu .current_page_item a  { background: #262626; color: #fff; } 
    #menu a:hover               { color: var(--rosso); text-decoration: none; }

    #loghiconvegno          {margin-top: 80px; }
    #loghiconvegno img      { width: auto; height: 90px; }

    img.pio    { margin-top: 25px; height: 100px;   }

      /** * DOWNLOAD
    ==================================================================================*/
    

    .wp-block-file {
      display: flex;          /* ← flexbox invece di block */
      align-items: center;    /* ← centra verticalmente */
      height: 80px;
      padding: 20px;
      border-radius: 8px;
      box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
      position: relative;
    }

    .wp-block-file a {
      /* Rimuovi position: absolute, top: 20px, height: 80px */
      display: flex;
      align-items: center;
      text-decoration: none !important;
      color: #333;
      text-transform: uppercase;
      font-size: 14px;
      width: 100%;
    }

    .wp-block-file a::before {
      content: "";
      display: inline-flex;
      width: 32px;
      height: 32px;
      margin-right: 16px;
      flex-shrink: 0;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }

    /* Icone per tipo file — SVG inline come data URI */
    .wp-block-file a[href$=".docx"]::before,
    .wp-block-file a[href$=".doc"]::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232B579A'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3Cpath fill='%23fff' d='M14 2v6h6'/%3E%3Ctext x='4' y='20' font-size='5' fill='%23fff' font-family='Arial' font-weight='bold'%3EDOC%3C/text%3E%3C/svg%3E");
    }

    .wp-block-file a[href$=".pdf"]::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E53935'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3Cpath fill='%23fff' d='M14 2v6h6'/%3E%3Ctext x='4' y='20' font-size='5' fill='%23fff' font-family='Arial' font-weight='bold'%3EPDF%3C/text%3E%3C/svg%3E");
    }

    .wp-block-file a[href$=".xlsx"]::before,
    .wp-block-file a[href$=".xls"]::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23217346'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3Cpath fill='%23fff' d='M14 2v6h6'/%3E%3Ctext x='4' y='20' font-size='5' fill='%23fff' font-family='Arial' font-weight='bold'%3EXLS%3C/text%3E%3C/svg%3E");
    }

    .wp-block-file a[href$=".pptx"]::before,
    .wp-block-file a[href$=".ppt"]::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D04423'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3Cpath fill='%23fff' d='M14 2v6h6'/%3E%3Ctext x='4' y='20' font-size='5' fill='%23fff' font-family='Arial' font-weight='bold'%3EPPT%3C/text%3E%3C/svg%3E");
    }

    .wp-block-file a[href$=".zip"]::before,
    .wp-block-file a[href$=".rar"]::before {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F5A623'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3Cpath fill='%23fff' d='M14 2v6h6'/%3E%3Ctext x='4' y='20' font-size='5' fill='%23fff' font-family='Arial' font-weight='bold'%3EZIP%3C/text%3E%3C/svg%3E");
    }

    .wp-block-file {
      /* aggiungi al blocco esistente: */
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
    }

    .wp-block-file:hover {
      transform: translateY(-4px);
      box-shadow: rgba(99, 99, 99, 0.35) 0px 6px 16px 0px;
    }

    .wp-block-file {
      /* aggiungi al blocco esistente: */
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
    }

    .wp-block-file:hover {
      transform: translateY(-3px);
      box-shadow: rgba(99, 99, 99, 0.20) 0px 6px 16px 0px;
    }

    /** * TIPOGRAFIA
    ==================================================================================*/
    
    
    /** * TITOLI  ----------------------------------------------------------------------- */

    h1, h2, h3,h4, h5, h6    { font-family: var(--bodoni), 'serif'; color: var(--rosso); font-weight: 700; }

    h2      { font-size:  2.8rem; }
    h3      { font-size:  2.6rem; }
    h4      { font-size:  2.1rem; }

    
    .logo  h2             {text-transform: uppercase; letter-spacing: 1px; }

    .title h2             { color: #fff; text-transform: uppercase; letter-spacing: 1px; } 
    .title h3             { color: #fff; font-size:28px; } 
    .title h5             { color: #fff; font-size:18px; } 
    
    .title h6             { color: #eee; margin: 10px 0 0 0; font-weight:normal; letter-spacing:1px; } 
    .claim h2             { margin-bottom: 0px;}

    #pagina h3                  { margin: 40px 0 20px 0; }
    #pagina h4, .singolo h4       { margin: 40px 0 10px 0; }

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

    p, ul, ol             { font-size: 16px; font-weight: 400; line-height: 26px; }
    b, strong             { color: var(--rosso); }
    
    html 				  { text-rendering: optimizeLegibility;-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none;} 
    body 				  { *zoom: 1; text-align: left; overflow-x: hidden; -ms-word-wrap: break-word; word-wrap: break-word; }

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

    footer p              { color: var(--bianco); font-size: 14px; line-height: 24px; font-weight: 400; margin: 10px 0 30px 0;}
    footer h3, footer h4, footer h5             { color: var(--giallo);  }
    
    footer h3             { margin: 0; font-size: 18px; font-weight: 600;  }
    footer h4             { margin: 0;   font-size: 16px; font-weight: 600;  }

    footer a              { color: var(--bianco); }

    .site-footer{
   
      color:#fff;
      padding:72px 0 32px;
      font-size:15px;
      line-height:1.6;
    }
    .site-footer .container{ max-width:1280px; }
    .site-footer a{ color:#d9e0ec; text-decoration:none; transition:color .2s; }
    .site-footer a:hover{ color:#fff; }

    /* Fascia superiore */
    .footer-cta{ padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.14); }
    .footer-cta__widget{
      display:flex; flex-wrap:wrap; align-items:flex-end;
      justify-content:space-between; gap:24px;
    }
    .footer-cta h2{
      font-family:'Newsreader',Georgia,serif;
      font-weight:400;
      font-size:clamp(30px,3.4vw,46px);
      line-height:1.05;
      color:#fff;
      max-width:20ch;
      margin:0;
    }
    .footer-cta em{ color:#e9ad1f; }
    .footer-cta .btn-sostienici{
      display:inline-block;
      background:#e9ad1f; color:#191b22;
      padding:15px 26px; border-radius:999px; font-weight:600;
    }
    .footer-cta .btn-sostienici:hover{ background:#fff; color:#191b22; }

    /* Colonne */
    .footer-cols{ padding:48px 0; }
    .footlogo{ max-width:110px; margin-bottom:20px; }
    .footer-cols h2,
    .footer-cols h3,
    .footer-cols h4,
    .footer-cols .widget-title{
      font-family:inherit;
      font-size:12px;
      letter-spacing:.16em;
      text-transform:uppercase;
      font-weight:600;
      color:#e9ad1f;
      margin:0 0 14px;
    }
    .footer-cols .widget + .widget{ margin-top:24px; }
    .footer-cols ul{ list-style:none; margin:0; padding:0; }
    .footer-cols p{ margin:0 0 10px; }
    .footer-cols .footer-nome{
      font-family:'Newsreader',Georgia,serif;
      font-size:22px; line-height:1.2; color:#fff;
    }
    .footer-cols small{ display:block; font-size:13px; color:#a9b6cc; }
    .footer-cols a[href^="tel"],
    .footer-cols a[href^="mailto"]{ color:#fff; }
    .footer-cols a[href^="mailto"]{ word-break:break-all; }
    .footer-cols a[href^="tel"]:hover,
    .footer-cols a[href^="mailto"]:hover{ color:#e9ad1f; }

    /* Barra in basso */
    .footer-bottom{
      display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px;
      padding-top:24px;
      border-top:1px solid rgba(255,255,255,.14);
      font-size:13px;
      color:#a9b6cc;
    }
    .footer-legal{ display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
    .footer-legal a{ color:#a9b6cc; }
    .footer-legal a:hover{ color:#fff; }

    #cookie{
      appearance:none; background:none; border:0; padding:0;
      font:inherit; color:#a9b6cc; cursor:pointer;
    }
    #cookie:hover{ color:#fff; }

    .free                   { width:60px;  height:auto; transition:opacity .2s; }
    .free-link:hover .free  { opacity:1; }

    /** * LINKS  ----------------------------------------------------------------------- */

    a                     { text-decoration: none; }
    a:link                { }
    a:focus               { outline: 0;}
    a:hover               { text-decoration:none; }

    #pagina a             { text-decoration: underline; text-underline-offset: 5px;}
    #pagina a.wp-element-button             { text-decoration: none; }
        

    /** * WIDGET  ----------------------------------------------------------------------- */

    .widget ul                { margin:20px 0;; padding: 0; list-style-type: none; }
    .widget ul li             { border-bottom: 1px solid #E0DACF; box-shadow: 0 1px 0 white; padding: 5px 0; }
    .widget ul li a           { font-size: 14px; font-weight: 400; color: #FFB300; }
    .widget ul li a:hover     { color:#222; }

    .footwid ul                { margin:20px 0 0 0; padding: 0; list-style-type: none; }
    .footwid ul li             { }
    .footwid ul li a           { font-size: 14px; font-weight: 400; color:var(--bianco); }
    .footwid ul li a:hover     { color:var(--giallo); text-decoration: underline;  }


    ul.sitemap         { columns: 2; -webkit-columns: 2; -moz-columns: 2; list-style-type: none; padding: 0; margin: 40px 0;  column-gap: 40px;}
    ul.sitemap li      { line-height: 30px; border-bottom: 1px solid #DED9D1; }
    ul.sitemap li a    { color: #FFB300; }

    /** * RELATORI  ----------------------------------------------------------------------- */

    #relatore img       { width: 100%; height: auto; }
    #relatore a         { text-decoration: none; }
    #relatore h4        { letter-spacing: 0px; margin: 15px 0 40px 0; font-size: 1.3em;}


    /** * POST META  ----------------------------------------------------------------------- */


    .post-meta              { margin-bottom: 20px; }
    .post-meta p            { display: inline-block;   margin-bottom: 0; }
    .post-meta p + p:before { content: "/"; margin: 0 15px 0 11px; color: var(--bianco);}
    .post-meta a        { color: #fff; padding-bottom: 1px; border-bottom: 1px solid var(--bianco);}
    .post-meta a:hover  { color: #FFB300; border-bottom-color: var(--giallo); }

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

    .form control, .form-control-lg { padding: 0.8rem; font-size: 1.6rem; }



    .commentlist  { list-style-type: none; }

    .quota  { margin: 0 0 80px 0; line-height: 44px; font-size: 32px; }
    


    small, small a       { font-size: 10px; color: #0A3007;  }
    
                 
    .post-categories         { list-style-type: none; padding:0; margin:0;    }
    .post-categories li      { display: inline;   }
    .post-categories li a    { color:#FFB300; font-weight:900;   }
    
     .cat a    { color:var(--maincolor); font-weight:400; font-size:10px; text-transform:uppercase;  }

    .inner h3                { font-size: 48px;      }



    .ultimo h4     { font-size: 24px; }
    .ultimo p      { font-size: 12px; line-height:16px; }
    .ultimo a p     { color:#333;}
    
    
    .news h2 { font-size: 40px; }

    .vertical-gap    { margin-top: 40px;}
    

    hr                    { border-top: 1px solid #000; text-align: center; margin: 40px 0; }
    hr:after              { content: '\2723'; display: inline-block; position: relative; top: -14px; padding: 0 20px; background: #fff; color: #8c8b8b; font-size: 18px; }

    button#cookie { border: 0;  background-color: transparent; padding: 0; color: #fff; font-size: 14px; }

    /** * POST NAVIGATION  ==================================================================================*/

    .postnav                    { padding: 40px 0; margin-top: 100px; }
    .post-navigation            { position: relative;}
    .post-navigation-inner      { margin: 0 auto; }

    .post-nav-prev, .post-nav-next { display: block; float: left; width: 47.5%; } 
    .post-navigation p { color: #333; display: inline-block; font-size: 16px;  margin-bottom: 5px; padding-bottom: 2px; }
    .post-navigation p i { color: #666; font-size: 13px;  }

    .post-navigation h4                 { display: block; font-size: 20px; font-weight: 700; line-height: 130%; margin: 0; padding: 0 15px;}
    .post-navigation h4 a               { color: var(--maincolor);}

    .post-navigation h4 a:hover         { color: var(--maincolor);}
    .post-nav-next                      { float: right;}
    .post-nav-next, .post-nav-next h4   { text-align: right;}

    .post-nav   { text-align: center; }

    .pagination { display: inline-block; font-size: 13px; line-height: 13px; padding: 20px 0; position: relative; margin: 0 auto;  } 
    .pagination span, .pagination a { background: transparent; color: var(--maincolor); display: block; float: left; margin: 2px 2px 2px 0; padding: 15px 18px 15px; text-decoration: none; width: auto; border: 1px solid var(--maincolor); border-radius: 3px; } 
    .pagination a:hover { background: var(--maincolor) none repeat scroll 0 0; color: #fff; } 
    .pagination .current { background: var(--maincolor) none repeat scroll 0 0; color: #fff; padding: 15px 18px 15px; }


    .wp-block-image img { box-shadow: 10px 10px 20px rgb(0 0 0 / 40%);}


        /** *   F O R M
    ==================================================================================*/

    span.wpcf7-list-item { margin: 0;}



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



    .alignwide          { margin: 0px calc(25% - 25vw); max-width: 100vw;}
    .alignwide img      { max-width: 1600px; display: inline; }
    
    .wp-block-image .alignleft              { float: left;	margin: 5px 40px 30px 0; }

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

    .wp-block-cover .wp-block-cover-image-text, .wp-block-cover .wp-block-cover-text, .wp-block-cover h2, .wp-block-cover-image .wp-block-cover-image-text, .wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image h2 {  font-size: 28px; color: #fff; font-weight: 200; letter-spacing: 4px; text-transform: uppercase; }

    .wp-block-cover, .wp-block-cover-image { min-height: 500px;}


    /** * P H O T O S W I P E
    ==================================================================================*/

    .pswp__bg   {opacity: 0.9 !important; background-color: var(--rosso); }



    /** * BTN
    ==================================================================================*/
    
    

    .btn-outline-primary {
        color: var(--rosso);
        background-color: transparent;
        background-image: none;
        border-color: transparent;
        text-transform: uppercase; font-size: 11px; letter-spacing: 1px; font-weight: 400;
    }
    
    .btn-outline-primary:hover {
     
        background-color: var(--rosso);
         border-color: var(--rosso);
        
    }

    .btn-primary.disabled, .btn-primary:disabled { color: var(--maincolor); background-color: #eee; border-color: #eee;}
    .btn-primary { color: #fff; background-color: var(--maincolor); border-color: var(--maincolor); font-size: 0.8em;}
    .btn-primary:hover { color: #fff; background-color: var(--rosso); border-color: var(--rosso);}
    



    /** * MENU
    ==================================================================================*/
    
    .navbar         { padding: 0 !important;  }
    .nav-link       { font-size: 14px; text-transform: uppercase; font-weight: 300;  color: #fff; letter-spacing: 1px;  }

    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { color: var(--rosso); }
    
    .dropdown-menu { margin: 0; background-color: #fff; border: 0px; border-radius: 0; min-width: 300px; }

    .dropdown-menu li               { border-bottom: 1px solid #eee;  }
    .dropdown-menu li:last-child    { border-bottom: 0; margin-bottom: 10px; }

    .dropdown-menu a            { color: #fff; }
    .dropdown-menu a:hover      { font-weight: bold; }
    
    .dropdown-menu .nav-link    { padding:10px !important;  }
    li.show                     { background-color: #fff; }

    .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {  font-weight: 700;  }

   .navbar-light .navbar-nav .nav-link     { font-family: var(--font), 'serif'; font-weight: 700;  color:var(--maincolor); }


    /** * NEWS
    ==================================================================================*/
    
    .notizia            {   margin: 20px 0; padding: 0 25px; border-radius: 10px;   display:flex;
  flex-direction:column;}

    .notizia h3         { font-size: 15px; margin: 10px 0; text-transform: uppercase; font-weight: 600; }
    .notizia a h3:hover         { color: var(--giallo);}

    .notizia img        { margin-bottom: 10px;  }

    .notizia .data h5, .notizia .data p   { font-family:var(--sans) !important; color: var(--maincolor); text-transform: uppercase; letter-spacing: 1px; font-size: 10px;   }

    .notizia { margin-bottom: 24px; }

    .notizia__box {
        background: #fff;
        height: 100%;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
        display: flex;
        flex-direction: column;
         flex:1;
    }

    .notizia__box .data {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px 15px 20px 15px;
    }

    .notizia__box > a h3        { padding-bottom: 16px; }
    .notizia__box .data .btn    { margin-top: auto; align-self: flex-start; text-transform: uppercase; font-size: 11px; font-weight: 600; }
    



    /** * W I D G E T
    ==================================================================================*/
    
    .widget         { margin:  0 0 40px 0;}


    /** * C O M M E N T I
    ==================================================================================*/


    .comments-container { border-top: 1px solid #ddd; }

    .comments-inner { padding: 60px 0; margin: 0 auto; position: relative;}
    .comments-title-container { position: relative; }

    .comments-title-container,.comment-reply-title { padding-bottom: 25px; border-bottom: 1px solid #ddd; margin-bottom: 25px; vertical-align: bottom;}
    .comments-title,.comment-reply-title { font-size: 2em;}

    .comments-title-link { font-size: 0.75em; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; position: absolute; bottom: 26px; right: 0;}

    .comments-title-link a { display: block; color: var(--rosso);}
    .comments-title-link a:hover { text-decoration: underline; }
    .no-comments { text-align: center; }


    /* Comment List ---------------------------------------- */


.comment { position: relative; }

div.comment { margin-top: 25px; }

.commentlist > .comment:first-child > .comment:first-child { margin-top: 0; }

.commentlist .children { margin-left: 25px; }

.comment .avatar {
	display: block;
	width: 60px;
	height: auto;
	border-radius: 999px;
	position: absolute;
	top: 10px;
	left: 0;
}

.comment-inner {
	margin-left: 80px;
	padding: 25px;
	background: #fff;
	border-radius: 6px;
	position: relative;
}

.bypostauthor .comment-author-icon {
	display: block;
	padding: 4px;
	border-radius: 99px;
	background: #ca2017;
	text-align: center;
	color: #fff;
	position: absolute;
	top: 4px;
	left: -4px;
}

.comment-inner:before {
	content: "";
	display: block;
	border: 10px solid transparent;
	border-right-color: #fff;
	position: absolute;
	top: 30px;
	left: -20px;
}

.comment-header { margin-bottom: 20px; }

.comment-header h4 {
	font-size: 1.1em;
}

.comment-header h4 a { color: var(--rosso); }
.comment-header h4 a:hover { color: #FFB300; }

/* Comment Content */

.comment-content p,
.comment-content blockquote,
.comment-content ul,
.comment-content ol,
.comment-content address,
.comment-content dl,
.comment-content pre {
	line-height: 160%;
	margin-bottom: 1em;
}

/* Comment Meta */

.comment-meta { 
	margin-top: 23px;
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #FFB300;
}

.comment-meta a { color: #FFB300; }

.comment-meta .genericon {
	margin-right: 3px;
	position: relative;
	top: -2px;
}

.comment-meta .genericon-edit { margin-left: 12px; }



/* -------------------------------------------------------------------------------- */
/*	9. Respond
/* -------------------------------------------------------------------------------- */


.respond-container { border-top: 1px solid #ddd; }

.comment-respond { padding: 60px 0; margin: 0 auto;}
.comment-respond .logged-in-as { margin-bottom: 40px; }
.comment-respond p a:hover { text-decoration: underline; }

.comment-respond form label { 
	display: block;
	margin-bottom: 8px;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #111;
}

.comment-respond form input[type="checkbox"] + label {
	display: inline;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 0 0 5px;
	text-transform: none;
}

.comment-respond form label span {
	margin-left: 2px;
	color: #ca2017;
}

.comment-respond p.comment-notes {
	display: none;
}

.comment-respond p { margin-bottom: 25px; }
.comment-respond p:last-child { margin-bottom: 0; }

.comment-respond p.comment-subscription-form { margin-bottom: 10px; }
.comment-respond p.comment-subscription-form:last-of-type { margin-bottom: 0; }

.comment-form-author,
.comment-form-email {
	display: block;
	width: 47.5%;
	float: left;
}

.comment-form-email { float: right; }

.comment-form-url {
	clear: both;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
	border-radius: 0;
	-webkit-appearance: none;
}

.comment-respond input[type="text"],
.comment-respond textarea {
	display: block;
	width: 100%;
	padding: 20px;
	margin: 0;
	background: #fafafa;
	border: 1px solid #ddd;
	font-size: 1.4rem;
	color: #111;
}

.comment-respond input[type="text"]:focus,
.comment-respond textarea:focus {
	outline: none;
}

.comment-respond textarea { 
	height: 200px; 
	line-height: 140%;
}

.comment-respond input[type="submit"] {
	display: inline-block;
	padding: 16px 20px;
	margin: 0;
	background: var(--rosso);
	border: none;
	border-radius: 3px;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
	-webkit-appearance: none;
}

.comment-respond input[type="submit"]:hover {
	cursor: pointer;
	background: #FFB300;
	color: #fff;
}


/* In Comment List --------------------------------------- */


.commentlist .comment-respond {
	padding: 40px 0 15px;
	max-width: 100%;
}

.commentlist #cancel-comment-reply-link {
	margin-left: 3px;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
}

.commentlist #cancel-comment-reply-link:hover { text-decoration: underline; }





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

    @media all and (max-width: 986px) {

        #menu-icon      { display:block; }
        #menu li        { display: block; margin: 0 0 10px 0;  }
        #menu a         { padding: 0; }

        .titolo-convegno    { height: 520px; }
        .gutter             { margin: 20px 0 !important;}
        
        #titolo              { position: relative; z-index: 999; padding: 20px 15px; width: 50vw;  }
        #titolo h2           { font-size: 18px;  }
        #titolo h4           { font-size: 14px; }
        #titolo p            { font-size: 13px; line-height: 120% }

    }

    @media all and (min-width: 986px) {

        #titolo { position: absolute; left: 500px; top: 50%; transform: translateY(-50%); z-index: 999; width: calc( 100vw - 550px); }

        #menu li        { display: inline; }

        
    }

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

    @media (max-width: 480px) {
        
        body                    {  }
          
        .site-title             { background-size: cover; height:128px; width: 158px; margin: 0 auto; }   
        .site-title a           { display: block; height:128px; width: 158px; }
        
        section                 { padding: 20px; }
        
        .menunav                { padding-bottom: 40px; background-color: transparent; }
        .navbar-toggler         { margin: 0 auto; border-color:none; }
        .navbar-nav             { text-align: center;}
        .navbar-nav li          { border-bottom: 1px solid #ddd; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); }
        
        footer                  { text-align: center; }
        .footlogo               { margin: 0 auto; }
        
        .navbar-light .navbar-nav .nav-link     { color:var(--rosso); }
        
        .vertical-gap { display: none;}
        .testatina { display: none; }
        
        .claim h2               { font-size:18px;  }
        
        .navbar-toggler { border:0; margin-top:20px; }
        
         .title  { min-height: 150px; }
         .title h2 { margin: 20px 0;  font-size: 24px; text-align:center; }
         
         .post-meta p { font-size: 11px; letter-spacing:0; }
        
         .inner  { padding: 40px; z-index:9999;  }
        .dropdown-menu { text-align: center;}
        
        section#pagina          { padding:40px 30px 100px 30px; }
        
        .logo h2    { font-size: 1em; margin-top: 20px;}




      }

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

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

       
        .site-title             { background-size: cover; height: 170px; width: 200px; margin:0 auto; }   
        .site-title a           { display: block; height: 170px; width: 200px; }
    
      }

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

    @media (min-width: 768px) and (max-width: 1023px) {
         
        .site-title             { background-size: cover; height: 162px; width: 200px;  margin-bottom: 20px; }   
        .site-title a           { display: block; height: 162px; width: 200px; }
        
        .inner  { width: 250px; position: absolute; top:40px; left:40px; }

    }

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

    @media (min-width: 1023px) and (max-width: 1280px) {
         
        body                    { margin: 20px; }
        
        .site-title             { background-size: cover; height: 162px; width: 200px;  margin-bottom: 20px; }   
        .site-title a           { display: block; height: 162px; width: 200px; }

        
        .nav-link      { padding:25px 20px 25px 0 !important;  }
        .navbar-light .navbar-nav .nav-link     {  font-size: 13px; letter-spacing: 1px;  }

        
        .testatina    { height: 60px; line-height: 60px; color:var(--rosso); }
        .testatina i  { margin: 0 10px 0 20px;  }
        .testatina a  { color:var(--rosso); }
        
        .inner  { width: 250px; position: absolute; top:40px; left:40px;  }
        
        section#pagina          { padding:40px 80px 100px 80px; }

    }
    


    /** * ==================================================================================*/
    
    @media (min-width: 1281px) {
        
        
        .site-title             { background-size: cover; height: 162px; width: 200px;  margin-bottom: 20px; }   
        .site-title a           { display: block; height: 162px; width: 200px; }
        
        section { padding: 40px; }
        
        .nav-link               { padding:15px 20px 15px 0 !important;  }
        
        .navbar-light .navbar-nav .nav-link     { font-size: 13px;  }

        
        .testatina  {  height: 60px; line-height: 60px; color:var(--rosso); }
        .testatina i  { margin: 0 10px 0 20px;  }
        .testatina a  { color:var(--rosso); }
        
        .inner  { width: 40vw; position: absolute; top:10%; left:40px;  }
        
        section#pagina          { padding:40px 100px 100px 100px; }


        
    }  

    /** * THE END ==================================================================================*/
