/* Mediweb adjustments, loaded after main.min.css (SCSS sources of main.css are not in the repository). */

/* reCAPTCHA v3: badge hidden, the required mention is shown under the contact form. */
.grecaptcha-badge {
  visibility: hidden;
}

.form-recaptcha-mention {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
}

.form-recaptcha-mention a {
  color: inherit;
  text-decoration: underline;
}

/* Footer legal links: Mentions légales, Politique de confidentialité, Politique de cookies, Gérer mes cookies. */
.footer__legales {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__cookies-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 300;
  color: #c2cbd6;
  text-align: inherit;
  cursor: pointer;
}

.footer__cookies-btn:hover,
.footer__cookies-btn:focus-visible {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer__legales {
    align-items: center;
    gap: 0;
  }

  /* Touch targets of at least 40px on small screens. */
  .footer__legales > a,
  .footer__cookies-btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}
