/* Privacy Policy e Cookie Policy: la grafica e' quella del Supporto
 * (supporto.css), qui solo quello che un testo legale ha in piu': titoli di
 * sezione, elenchi e la tabella dei cookie. */

.leg-testo { max-width: 780px; }
.leg-testo .sup-testo h2 { margin: 40px 0 12px; font-size: clamp(21px, 2.4vw, 25px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.leg-testo .sup-testo .leg-intro { font-size: 19px; color: var(--sup-tenue); }
.leg-testo .sup-testo ul { margin: 0 0 20px; padding-left: 22px; }
.leg-testo .sup-testo li { margin: 0 0 10px; font-size: 17px; line-height: 1.64; }
.leg-testo .sup-testo li::marker { color: var(--sup-viola); }
.leg-testo .sup-testo a { color: var(--sup-viola); text-underline-offset: 2px; overflow-wrap: anywhere; }
.leg-testo .sup-testo strong { font-weight: 600; }
.leg-testo code { font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; overflow-wrap: anywhere; }

button.leg-bottone { border: 0; font: inherit; font-weight: 600; cursor: pointer; }

.leg-tabella { margin: 8px 0 26px; border: 1px solid var(--sup-linea); border-radius: var(--sup-raggio); overflow: hidden; }
.leg-tabella table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.leg-tabella th, .leg-tabella td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sup-linea); }
.leg-tabella thead th { background: var(--sup-carta); font-weight: 600; font-size: 14px; color: var(--sup-tenue); }
.leg-tabella tbody tr:last-child > * { border-bottom: 0; }
.leg-tabella tbody th { font-weight: 500; min-width: 165px; }
.leg-tabella tbody th code { overflow-wrap: normal; }

body.con-barra-mirror .leg-testo h2 { scroll-margin-top: 95px; }

/* Sul telefono la tabella diventa una scheda per cookie: cinque colonne in
 * 390 px non si leggono. */
@media (max-width: 700px) {
  .leg-tabella { border: 0; border-radius: 0; overflow: visible; }
  .leg-tabella thead { display: none; }
  .leg-tabella table, .leg-tabella tbody, .leg-tabella tr, .leg-tabella th, .leg-tabella td { display: block; width: 100%; }
  .leg-tabella tr { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--sup-linea); border-radius: var(--sup-raggio); }
  .leg-tabella th, .leg-tabella td { padding: 3px 0; border: 0; }
  .leg-tabella tbody th { padding-bottom: 6px; font-size: 16px; }
  .leg-tabella td::before { content: attr(data-titolo) ': '; color: var(--sup-tenue); }
  .leg-testo .sup-testo .leg-intro { font-size: 17px; }
}
