/* Pagina Regolamento & Privacy Policy — Tempo di Scatto (Fabio Di Legge)
   Layout elegante per statuto editoriale, diritto d'autore e informativa GDPR */

.regolamento-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffc439;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.regolamento-title {
  font-family: 'Cormorant Garamond', ui-serif, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: #fafafa;
  font-weight: 400;
}

.regolamento-intro {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.7;
  max-width: 68ch;
}

/* Indice delle sezioni verticale */
.regolamento-index {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  background: rgba(22, 22, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.regolamento-index-title {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a1a1aa;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.regolamento-index-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.regolamento-index-item:last-child {
  border-bottom: none;
}

.regolamento-index-item:hover {
  color: #ffc439;
  padding-left: 0.4rem;
}

.regolamento-index-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.regolamento-index-num {
  font-family: 'Cormorant Garamond', ui-serif, serif;
  font-size: 1.35rem;
  color: #ffc439;
  font-weight: 600;
  min-width: 1.8ch;
}

.regolamento-index-arrow {
  color: #71717a;
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.regolamento-index-item:hover .regolamento-index-arrow {
  color: #ffc439;
  transform: translateX(3px);
}

/* Sezioni numerate */
.regolamento-section {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.regolamento-section-num {
  font-family: 'Cormorant Garamond', ui-serif, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #ffc439;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 500;
  min-width: 1.8ch;
}

.regolamento-section-body {
  flex: 1;
  max-width: 68ch;
}

.regolamento-section-title {
  font-family: 'Cormorant Garamond', ui-serif, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fafafa;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.regolamento-section-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #d4d4d8;
  margin-bottom: 1rem;
}

.regolamento-section-body p:last-child {
  margin-bottom: 0;
}

.regolamento-section-body strong {
  color: #fafafa;
  font-weight: 600;
}

.regolamento-subheading {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffc439;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.regolamento-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.regolamento-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .regolamento-section {
    flex-direction: column;
    gap: 0.75rem;
    padding: 2.25rem 0;
  }
  .regolamento-subgrid {
    grid-template-columns: 1fr;
  }
}

/* Barra contatti e torna all'indice */
.regolamento-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0 1rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.regolamento-contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a1a1aa;
  font-weight: 600;
}

.regolamento-contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  color: #fafafa;
  text-decoration: underline;
  margin-top: 0.35rem;
  transition: color 0.2s;
}

.regolamento-contact-mail:hover {
  color: #ffc439;
}

.regolamento-back-index {
  font-size: 0.85rem;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s;
}

.regolamento-back-index:hover {
  color: #ffc439;
}
