/* ===========================================================
   policy.css — stile pagine legali (Privacy Policy / Cookie Policy)
   Ambito: contenitore .policy  (vedi privacy-policy/ e cookie-policy/)
   Usa i token definiti in gen.css (--brand, --cl-txt, --font-*)
   =========================================================== */

.policy{
  max-width: 920px;
  margin-inline: auto;
  font-family: var(--font-normal);
  color: var(--cl-txt);
  font-size: 16px;
  line-height: 1.75;
}

/* paragrafo introduttivo un filo più in evidenza */
.policy > p:first-child{
  font-size: 1.05rem;
  color: var(--brand-900);
}

.policy h2{
  font-family: var(--font-special);
  color: var(--brand-dark);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.25;
  margin: 2.2em 0 .6em;
  padding-bottom: .3em;
  border-bottom: 1px solid var(--brand-200);
}
.policy h2:first-child{ margin-top: 0; }

.policy p{ margin: 0 0 1.1em; }

.policy a{
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.policy a:hover{ color: var(--brand); }

.policy strong{ font-weight: 600; }
.policy em{ font-style: italic; }

/* ---- elenchi puntati ---- */
.policy ul{
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  list-style: none;
}
.policy ul li{
  position: relative;
  margin-bottom: .55em;
  padding-left: .2em;
}
.policy ul li::before{
  content: "";
  position: absolute;
  left: -1.1em;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
}

/* ---- tabella cookie (scroll orizzontale su mobile) ---- */
.policy-table-wrap{
  overflow-x: auto;
  margin: 0 0 1.4em;
  -webkit-overflow-scrolling: touch;
}
.policy-table-wrap table{
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}
.policy-table-wrap th,
.policy-table-wrap td{
  border: 1px solid var(--brand-grey);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.policy-table-wrap tr:first-child th{
  background: var(--brand-deep);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.policy-table-wrap tr:first-child th strong{ color: inherit; }
.policy-table-wrap tr:nth-child(even){ background: var(--brand-50); }

/* legenda compatta sotto la tabella cookie */
.policy-legend{
  margin: -.5em 0 1.4em;
  color: var(--g500);
  font-size: .9em;
  line-height: 1.5;
}
.policy-legend p{ margin: 0 0 .2em; }
.policy-legend p:last-child{ margin-bottom: 0; }

/* data/firma in calce (privacy) — ben staccata dal testo */
.policy-date{
  margin-top: 2.6em;
  padding-top: 1.3em;
  border-top: 1px solid var(--brand-200);
  color: var(--g500);
  font-size: .95em;
}

@media (max-width: 600px){
  .policy{ font-size: 15px; }
  .policy-table-wrap table{ font-size: 13px; }
}
