@media (max-width: 959px) {
	.main-navigation .gen-sidebar-nav{
		display: show !important;
	}
}

.top-bar {
  display: none !important;
}

@media (max-width: 800px) {
  #masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }
  /* Evita che il contenuto si nasconda sotto l'header */
  body {
    margin-top: 100px; /* altezza dell'header in mobile, regola se necessario */
  }
}


@media only screen and (max-width: 959px) {
.top-header-wrap.clr {
    width: 90%;
}
.bottom-header-wrap.clr {
    width: 50%;
}
div#site-header-inner {
    display: flex;
}
.oceanwp-mobile-menu-icon.clr.mobile-right {
    height: 100%;
    line-height: 100px;
}
}

@media (min-width: 769px) {
.right-sidebar .site-content {
    display: flex;
}
.right-sidebar #right-sidebar {
    width: 330px;
}
.right-sidebar #primary {
    flex: 1 0;
}
.inside-right-sidebar {
    padding-right: 0px;
}
.sidebar.widget-area .widget {
    padding: 30px;
}
}



/* 8/12/21 - Chianura - Prova per ridurre spazio negli elenchi - Padding  */
.ast-separate-container .ast-article-post /*, .ast-separate-container .ast-article-single*/ {
    padding: 0.2em 1.0em 0.2em 1.0em;
}

/* 8/12/21 - Chianura - Prova per ridurre spazio inutilizzato in articoli singoli - Padding  */
.ast-separate-container .ast-article-single {
    padding: 1.0em 1.0em 0.2em 1.0em;
}

/* 8/12/21 - Chianura - Aggiustare nomi Tag/autore */
/*- Padding  */
.ast-separate-container .ast-archive-description {
    margin: 0;
    padding: 1.20em 1.0em;
}

/*Font nome tag/autore */
.ast-archive-description .ast-archive-title {
    margin-bottom: 4px;
    font-size: 35px;
	  font-size: 2.4rem; /*era 2.85714rem*/
    font-weight: 400; /*era 300*/
	text-decoration: none;
}

/* 9/12/21 - Chianura - Aggiustare nomi Tag/autore */
/*- Padding lati pagina intera  */
.ast-container, .ast-container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5em; /*era 20px;*/
    padding-right: 0.5em; /*era 20px;*/
}

/* Nasconde il riassunto degli articoli nelle pagine di ricerca */
body.search .entry-summary {
    display: none;
}

/* Nasconde il riassunto degli articoli nelle pagine dei tag */
body.tag .entry-summary {
    display: none;
}


/* Nasconde il riassunto degli articoli nelle pagine delle categorie */
body.category .entry-summary {
    display: none;
}


/* --- MIGLIORAMENTI GLOBALI GENERATEPRESS --- */
/* Nascondi il titolo "Home" generato da GeneratePress solo nella pagina principale */
.home h1.entry-title {
    display: none !important;
}

/* Arrotonda tutte le immagini del sito (anche nelle barre laterali e articoli) */
img {
    border-radius: 12px;
}

/* Design a "scheda" moderno SOLO per la barra laterale destra, INCLUSO spazio ridotto tra i box */
#right-sidebar .widget {
    border: none !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.15) !important; /* <--- Ombra molto più marcata */
    padding: 24px !important;
    margin-bottom: 15px !important;
}
/* Stile più pulito per i titoli delle barre laterali */
.widget-title, .sidebar h2, .widget h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
/* Design a "scheda" moderno SOLO per la barra laterale destra, INCLUSO spazio ridotto tra i box */
#right-sidebar .widget {
    border: none !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.15) !important; /* <--- Ombra molto più marcata */
    padding: 24px !important;
    margin-bottom: 15px !important;
}

/* Ombra Header principale GeneratePress (corretto per mobile) */
#masthead, 
.site-header {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.15) !important;
    /* Rimosso position: relative !important per non rompere il tuo header fisso mobile */
    z-index: 9999 !important;
}