
/* V211 — da V209.
   Obiettivo: schema identico tra pagine, contorno esterno 2px,
   hero Progetto letterario identica a Illustrazioni/Design/Stampe.
   Nessuna modifica a immagini, outline home, contenuti o griglie. */

/* CONTORNO ESTERNO: una sola linea da 2px */
.site-header{
  border:2px solid #000!important;
}

/* La linea inferiore dell'header è anche la linea superiore della prima sezione */
main > section:first-child{
  border-top:0!important;
}

/* Contorno laterale e inferiore coerente su tutte le sezioni.
   Non aggiungiamo un secondo bordo sopra. */
main > section{
  border-left:2px solid #000!important;
  border-right:2px solid #000!important;
  border-bottom:2px solid #000!important;
}

/* Due sezioni consecutive condividono una sola linea */
main > section + section{
  border-top:0!important;
}

/* Il footer chiude il contorno senza raddoppiare la linea sopra */
.footer{
  border-left:2px solid #000!important;
  border-right:2px solid #000!important;
  border-bottom:2px solid #000!important;
  border-top:0!important;
}

/* PROGETTO LETTERARIO: stessa identica hero di .page-hero.slim */
body.section-progetto-letterario .lit-hero,
body.section-literary-project .lit-hero{
  padding:clamp(42px,6vw,86px) var(--pad) clamp(28px,4vw,54px)!important;
  border-top:0!important;
  border-left:2px solid #000!important;
  border-right:2px solid #000!important;
  border-bottom:2px solid #000!important;
  background:#FAF8EB!important;
  text-align:left!important;
}

body.section-progetto-letterario .lit-hero .eyebrow,
body.section-literary-project .lit-hero .eyebrow{
  display:block!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}

body.section-progetto-letterario .lit-hero h1,
body.section-literary-project .lit-hero h1{
  font-size:clamp(58px,10vw,132px)!important;
  line-height:.88!important;
  letter-spacing:-.092em!important;
  margin:26px 0 28px!important;
  padding:0!important;
  max-width:1100px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-align:left!important;
}

body.section-progetto-letterario .lit-subtitle,
body.section-literary-project .lit-subtitle{
  font-size:clamp(20px,2.4vw,34px)!important;
  line-height:1.04!important;
  letter-spacing:-.058em!important;
  max-width:840px!important;
  margin:0!important;
  text-align:left!important;
}

/* Le sezioni successive del progetto mantengono il medesimo contorno */
body.section-progetto-letterario .lit-section,
body.section-literary-project .lit-section{
  border-top:0!important;
  border-left:2px solid #000!important;
  border-right:2px solid #000!important;
  border-bottom:2px solid #000!important;
}

/* PREMI: nessuna linea doppia, ma nessuna linea rimossa.
   Contorno sul gruppo, separatori singoli tra le schede. */
.awards.awards-wide{
  border:2px solid #000!important;
}

.awards.awards-wide .award{
  border:0!important;
  border-bottom:2px solid #000!important;
}

.awards.awards-wide .award:last-child{
  border-bottom:0!important;
}

/* SGUARDI CRITICI: stessa logica */
.quote-grid{
  border:2px solid #000!important;
}

.quote-grid .quote-card{
  border:0!important;
  border-bottom:2px solid #000!important;
}

.quote-grid .quote-card:last-child{
  border-bottom:0!important;
}

/* HOME: manteniamo la divisione centrale una sola volta */
.switchboard{
  border-top:0!important;
  border-left:2px solid #000!important;
  border-right:2px solid #000!important;
  border-bottom:2px solid #000!important;
}

.switchboard .door{
  border-top:0!important;
  border-bottom:0!important;
  border-left:0!important;
}

.switchboard .door:first-child{
  border-right:2px solid #000!important;
}

.switchboard .door:last-child{
  border-right:0!important;
}

/* Pulsanti sinossi/incipit invariati, niente hover nero */
.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;
}

/* Mobile: stessa logica, una sola linea tra le due porte */
@media(max-width:860px){
  .switchboard .door{
    border-right:0!important;
    border-bottom:2px solid #000!important;
  }
  .switchboard .door:last-child{
    border-bottom:0!important;
  }

  body.section-progetto-letterario .lit-hero h1,
  body.section-literary-project .lit-hero h1{
    font-size:23vw!important;
  }
}
