/* Keep the licence visibly clickable on both desktop and mobile. */
#contenu .ph-perks .rbq-link,
footer .fine .rbq-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#contenu .ph-perks .rbq-link:hover,
footer .fine .rbq-link:hover {
  text-decoration-thickness: 2px;
}

.rbq-link:focus-visible,
footer .footer-instagram:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

footer .instagram-label {
  display: none;
}

footer .instagram-handle {
  display: inline;
  white-space: nowrap;
}

footer .footer-instagram,
footer a[href^="https://maps.google.com/"] {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  max-width: 100%;
}

/* Reserve enough space for the full Instagram handle in the social column. */
@media (min-width: 1024px) {
  footer .wrap .cols {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(max-content, 0.8fr) !important;
  }
}

footer .footer-instagram svg,
footer a[href^="https://maps.google.com/"] svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-right: 10px !important;
}

@media (max-width: 767px) {
  footer .footer-social-title {
    display: none;
  }

  footer .footer-instagram,
  footer a[href^="https://maps.google.com/"] {
    font-size: 1rem;
    font-weight: 500;
    min-height: 44px;
  }
}
