/* SerieAGoal 2.2.98 — hotfix contrasto CTA area Legal/Assistenza.
 * La regola generale body.slr-legal-v253 a { color: inherit } aveva
 * specificità superiore al CTA e nel tema notte rendeva il testo bianco
 * sul bottone bianco. Manteniamo il CTA bianco e il testo scuro in ogni tema.
 */
body.slr-legal-v253 .sg-legal-cta > a,
html[data-slr-theme="dark"] body.slr-legal-v253 .sg-legal-cta > a {
  background:#fff!important;
  color:#17204f!important;
  border:1px solid rgba(23,32,79,.10);
  text-shadow:none!important;
}

body.slr-legal-v253 .sg-legal-cta > a:visited,
html[data-slr-theme="dark"] body.slr-legal-v253 .sg-legal-cta > a:visited {
  color:#17204f!important;
}

body.slr-legal-v253 .sg-legal-cta > a:hover,
body.slr-legal-v253 .sg-legal-cta > a:focus-visible,
html[data-slr-theme="dark"] body.slr-legal-v253 .sg-legal-cta > a:hover,
html[data-slr-theme="dark"] body.slr-legal-v253 .sg-legal-cta > a:focus-visible {
  background:#f4f6ff!important;
  color:#101a45!important;
  border-color:rgba(23,32,79,.22);
}

/* SerieAGoal 2.2.132 — candidatura: consenso privacy lineare e responsive. */
body.sg-collabora-reference-page .sg-collabora-consents{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:4px 0 2px;
}
body.sg-collabora-reference-page .sg-contact-form-card .sg-collabora-consent-row{
  width:100%;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:start;
  gap:12px;
  margin:0;
  padding:0;
  color:var(--collab-muted,var(--sgl-muted));
  font-size:14px;
  line-height:1.55;
  cursor:pointer;
}
body.sg-collabora-reference-page .sg-contact-form-card .sg-collabora-consent-row input[type=checkbox]{
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  margin:2px 0 0!important;
  padding:0!important;
  accent-color:var(--collab-accent,var(--sgl-accent));
}
body.sg-collabora-reference-page .sg-contact-form-card .sg-collabora-consent-row>span{
  display:block!important;
  min-width:0;
  margin:0;
  color:inherit;
}
body.sg-collabora-reference-page .sg-contact-form-card .sg-collabora-consent-row a{
  color:var(--collab-accent,var(--sgl-accent));
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}
@media (max-width:700px){
  body.sg-collabora-reference-page .sg-contact-form-card .sg-collabora-consent-row{
    grid-template-columns:20px minmax(0,1fr)!important;
    gap:10px;
    font-size:13px;
    line-height:1.5;
  }
  body.sg-collabora-reference-page .sg-contact-form-card .sg-collabora-consent-row input[type=checkbox]{
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
  }
}
