/* Page «Segnala un errore» of the Appunti in Ordine series (/errori/).
   Loaded after /bonus-chimica.css, the stylesheet of the series: same layout. The page
   belongs to every volume, so it uses the night blue of the series instead of the
   colour of a subject; each volume block keeps its own colour (--err-colore, from
   src/data/errori-appunti.json). The variable names stay those of the series stylesheet. */
:root{--aio-turchese:#16263A;--aio-turchese-scuro:#16263A;--aio-turchese-pallido:#D6D2C3;--aio-regola:#F3EEDF}

.err-hero .aio-hero-copy>p:not(.aio-kicker):not(.aio-lead){max-width:36em;margin:0;color:#3c4b5c}
.err-address{margin:0 0 18px;font:400 clamp(22px,2.6vw,28px)/1.15 var(--aio-titoli);overflow-wrap:anywhere}
.err-address a{color:var(--aio-blu)}
.err-mail{text-decoration:none;margin:0 0 12px}
.aio-panel .aio-privacy{margin:14px 0 0}

.err-how ol{grid-template-columns:repeat(4,minmax(0,1fr))}

.err-volumes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.err-volume{display:flex;gap:20px;align-items:flex-start;background:var(--aio-foglio);border:1.5px solid var(--aio-blu);border-top:8px solid var(--err-colore);border-radius:12px;padding:20px}
.err-volume figure{flex:none;width:104px;margin:4px 0 0;transform:rotate(-2deg);box-shadow:0 6px 16px #16263a33;border-radius:3px;overflow:hidden}
.err-volume>div{min-width:0}
.err-subject{margin:0 0 6px;font:600 15px/1.3 var(--aio-mano);color:var(--err-colore)}
.err-volume h3{color:var(--err-colore)}
.err-isbn{margin:0 0 14px;font-size:14px;color:#3c4b5c}
.err-none{display:inline-block;margin:0;font:600 15px/1.35 var(--aio-mano);background:var(--aio-regola);border-radius:999px;padding:8px 14px}
.err-corrections{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.err-corrections li{border-left:4px solid var(--err-colore);background:var(--aio-regola);border-radius:0 8px 8px 0;padding:10px 14px}
.err-corrections p{margin:0;font-size:15px}
.err-corrections p span{display:inline-block;min-width:6.5em;font:600 14px/1.3 var(--aio-mano);color:var(--err-colore)}
.err-where{margin-bottom:4px!important}

@media(max-width:900px){
  .err-how ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .err-volumes{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:520px){
  .err-how ol{grid-template-columns:minmax(0,1fr)}
  .err-volume{padding:16px;gap:14px}
  .err-volume figure{width:76px}
}
