
/* V207: versione pulita. Solo uniformità visiva, nessuna banda, nessun gap nero. */
*,
*::before,
*::after{
  border-width:2px!important;
}

html,
body,
main,
section,
.site-header,
.footer{
  background:#FAF8EB!important;
  background-color:#FAF8EB!important;
}

.site-header{
  border-top:0!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:2px solid #000!important;
}

.footer{
  border-top:2px solid #000!important;
}

/* Evita doppie righe immediatamente dopo l'header senza alterare le griglie */
main > section:first-child,
.hero:first-child,
.page-hero:first-child,
.section-hero:first-child,
.home-hero:first-child,
.lit-hero:first-child{
  border-top:0!important;
}

.hero,
.page-hero,
.section-hero,
.home-hero,
.lit-hero{
  border-bottom:2px solid #000!important;
}

.hero + section,
.page-hero + section,
.section-hero + section,
.home-hero + section,
.lit-hero + section,
.lit-hero + .lit-section{
  border-top:0!important;
}

/* Linee sezioni */
section,
.page-section,
.project-section,
.catalog-section,
.print-section,
.works-section,
.lit-section{
  border-color:#000!important;
}

/* Riquadri e card: stesso spessore, mantenendo la struttura originale */
.card,
.work-card,
.print-card,
.project-card,
.book-card,
.character-card,
.book-grid,
.characters-grid,
.price-list,
.character-image,
.character-placeholder,
.book-card img,
.lit-btn,
.lit-modal-panel,
.lit-modal-close,
.lit-modal-meta span{
  border-color:#000!important;
  border-width:2px!important;
}

/* Niente hover nero aggiunto sui pulsanti del progetto letterario */
.lit-btn,
.lit-btn:hover,
.lit-btn:focus,
.lit-btn:active,
.book-buttons .lit-btn:hover,
.book-buttons .lit-btn:focus,
.book-buttons .lit-btn:active{
  background:#FAF8EB!important;
  background-color:#FAF8EB!important;
  color:#000!important;
  border:2px solid #000!important;
  box-shadow:none!important;
  text-decoration:none!important;
}

/* Nessuna griglia deve usare fondi neri artificiali */
.home-grid,
.index-grid,
.feature-grid,
.section-grid,
.two-col-grid,
.home-cards,
.home-card-grid,
.grid,
.tiles,
.cards-grid,
.book-grid,
.characters-grid,
.price-list{
  background:#FAF8EB!important;
  background-color:#FAF8EB!important;
}
