@page {
  size: A4;
  margin: 20mm 22mm 17mm;

  @bottom-left {
    content: "Ma perché proprio a me? · B12 · Resto umano";
    color: #625b52;
    font-family: "Inter", sans-serif;
    font-size: 5.5pt;
  }

  @bottom-right {
    content: counter(page) " / " counter(pages);
    color: #625b52;
    font-family: "Inter", sans-serif;
    font-size: 5.5pt;
  }
}

@media print {
  html,
  body {
    background: #fff !important;
    color: #171613 !important;
    font-family: "Source Serif", serif;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  .top,
  .cover,
  .player,
  .actions,
  .pn,
  .foot {
    display: none !important;
  }

  main,
  .song {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .eyebrow {
    margin: 0 0 3mm !important;
    font-family: "Inter", sans-serif;
    font-size: 0 !important;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #756f66 !important;
  }

  .eyebrow a {
    display: none;
  }

  .eyebrow::before {
    content: "MA PERCHÉ PROPRIO A ME?";
    display: block;
    font-size: 7pt;
  }

  h1 {
    margin: 0 0 2mm !important;
    font-family: "Cormorant", serif !important;
    font-size: 25pt !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    color: #171613 !important;
  }

  h1::before {
    content: "B12";
    display: block;
    margin-bottom: 1.5mm;
    font-family: "Inter", sans-serif;
    font-size: 7pt;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: #8a5a2b;
  }

  .meta {
    margin: 0 0 4mm !important;
    padding: 0 0 4mm;
    border-bottom: 1pt solid #8a5a2b;
    font-family: "Inter", sans-serif;
    font-size: 7pt !important;
    line-height: 1.4 !important;
    color: #4d4942 !important;
  }

  .lyrics {
    margin-top: 0 !important;
    max-width: 100% !important;
  }

  .lyrics .sec {
    margin: 5mm 0 1.5mm !important;
    font-family: "Inter", sans-serif;
    font-size: 6.5pt !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a5a2b !important;
    break-after: avoid-page;
  }

  .lyrics .st {
    margin: 0 0 2.5mm !important;
    font-family: "Source Serif", serif !important;
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
    color: #171613 !important;
    break-inside: avoid-page;
    orphans: 2;
    widows: 2;
  }
}
