/* ==========================================================================
   Legal pages, sitewide footer legal links, and SMS consent checkboxes.
   Added Nov 2026 for SMS (A2P 10DLC) compliance. Additive only.
   ========================================================================== */

/* Privacy page mirrors the existing #terms-page layout */
@media screen and (min-width: 1024px) {
  #privacy-page { padding-bottom: 140px; margin-top: 82px; }
}

/* Legal page body niceties (lists, effective date, contact block) */
.terms__section__body ul { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.terms__section__body li { margin-bottom: .45em; }
.terms__section__body a { color: inherit; text-decoration: underline; }
.legal__meta { margin-top: 1.4em; font-size: 13px; line-height: 1.7em; color: #7f818d; }
.legal__meta strong { color: inherit; }
.legal__address { font-style: normal; }

/* Footer: contact links + Privacy | Terms */
#footer__contact a { color: inherit; text-decoration: none; }
#footer__contact a:hover { color: #fff; }
#footer__legal {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1em;
  color: #656565;
}
#footer__legal a { color: #a4a4a4; text-decoration: none; transition: color .3s; }
#footer__legal a:hover { color: #fff; }
#footer__legal__sep { margin: 0 8px; }

/* Contact form: SMS consent block */
body.page-id-contact .contact__form__sms {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(19, 32, 66, 0.15);
}
body.page-id-contact .contact__form__sms ul { padding: 0; margin: 0; list-style: none; }
body.page-id-contact .contact__form__sms__item {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  color: #a1a2a4;
}
body.page-id-contact .contact__form__sms label {
  font-family: roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  line-height: 1.6em;
}
body.page-id-contact .contact__form__sms .contact__form__radio__picto {
  flex: 0 0 auto;
  margin-right: 15px;
  border-radius: 4px; /* square-ish to read as a checkbox */
  border: 1px solid #b9bcc4;
  background-color: #fff;
}
body.page-id-contact .contact__form__sms input:checked + .contact__form__radio__picto {
  border-color: #132042;
}
body.page-id-contact .contact__form__sms input:checked + .contact__form__radio__picto::before {
  background-color: #132042;
}
body.page-id-contact .contact__form__sms .contact__form__radio__picto::before,
body.page-id-contact .contact__form__sms .contact__form__radio__picto::after {
  border-radius: 4px;
}
body.page-id-contact .contact__form__sms .contact__form__radio__label {
  display: block;
  font-size: 13px;
  line-height: 1.6em;
  color: #4a4c55;
  cursor: pointer !important;
}
body.page-id-contact .contact__form__sms__disclosure {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6em;
  color: #7f818d;
}
body.page-id-contact .contact__form__sms__disclosure a { color: inherit; text-decoration: underline; }
/* Keep the SMS checkboxes keyboard-reachable (site default is display:none) */
body.page-id-contact .contact__form__sms label { position: relative; }
body.page-id-contact .contact__form__sms input[type=checkbox] {
  display: block !important;
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  opacity: 0;
  margin: 0;
}
/* Visible keyboard focus for the visually-hidden checkbox inputs */
body.page-id-contact .contact__form__sms label:focus-within .contact__form__radio__picto {
  box-shadow: 0 0 0 2px #2e8cb8;
}
