/* Solo per la pagina con ID 404 */
.page-id-404 .site-content-contain
{
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    float: none;
}


.page-id-404 .site-content
{
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    float: none;
}



.page-id-404 .wrap
{
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    float: none;
}


.page-id-404 .entry-content {
	background-color: #fff;
    width: 100% !important;
    margin: 0 !important;
}

/* Centra automaticamente immagini e blocchi */
.page-id-404 img {
  display: block;      
  margin-left: auto;  
  margin-right: auto;   
	width: 95%;;
}

.page-id-404 .entry-title {
    display: none !important;
}

/* Aumenta la dimensione del logo su desktop */
@media screen and (min-width: 48em) {
  .custom-logo-link img {
    width: 150px !important;       /* regola la larghezza */
    height: auto !important;       /* mantiene proporzioni altezza */
    max-width: none !important;
    max-height: none !important;
  }
}

/* Regola per schermi più piccoli (es. tablet / mobile) */
@media screen and (max-width: 48em) {
  .custom-logo-link img {
    width: 150px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
  }
}


/* Regola l'interlinea del footer */

.site-footer #block-8 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.site-footer #block-10 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.site-footer #block-11 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.home #panel2 a  {
    color: #aad2c8 !important; /* cambia qui il colore */
}

.home #panel2 a:hover  {
    color: #fce39d !important; /* cambia qui il colore */
}

.site-footer,
.site-footer .wrap {
    background-color: #aad2c8;
}

/* Footer container */
.site-footer {
    padding: 0 !important;
    margin: 0 !important;
}

/* Wrapper interno */
.site-footer .wrap {
    padding-top: 22px !important;
    padding-bottom: 0px !important;
}

/* Area widget footer (se presente) */
.site-footer .widget-area {
    padding: 0 !important;
    margin: 0 !important;
}

/* Widget singoli */
.site-footer .widget {
    margin: 0 !important;
}

/* Testo copyright */
.site-info {
    padding: 0 0 !important;
    margin: 0 !important;
}