.site-footer .footer-links button.footer-follow {
  position: relative;
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 0;
  cursor: pointer;
}
.site-footer .footer-links button.footer-follow:focus-visible {
  outline: 2px solid var(--ssv-link);
  outline-offset: 4px;
}
.site-footer .footer-links span.footer-follow__qr {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 8;
  width: 148px;
  height: 148px;
  box-sizing: border-box;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border-radius: 12px 12px 0 12px;
}
.site-footer .footer-follow__qr::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 8px;
}
.site-footer .footer-links .footer-follow:hover span.footer-follow__qr,
.site-footer .footer-links .footer-follow:focus-within span.footer-follow__qr {
  display: block;
}
.site-footer .footer-links:has(.footer-follow:hover) .footer-follow:not(:hover) span.footer-follow__qr {
  display: none;
}
.site-footer .footer-follow__qr img {
  width: 128px;
  height: 128px;
  object-fit: cover;
}
@media (min-width: 900px) {
  .site-footer .footer-links span.footer-follow__qr {
    width: 148px;
    height: 148px;
  }
  .site-footer .footer-links .footer-follow__qr img {
    width: 128px;
    height: 128px;
  }
}
@media (width < 900px) {
  .site-footer .footer-links span.footer-follow__qr,
  .site-footer .footer-links .footer-follow:hover span.footer-follow__qr,
  .site-footer .footer-links .footer-follow:focus-within span.footer-follow__qr {
    display: none;
  }
}

.site-footer .footer-links button.footer-follow > img { width: 22px; height: 22px; }
.footer-mobile-dialog {position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:1rem;border:0;background:transparent;box-sizing:border-box}
.footer-mobile-dialog[open] {display:grid;place-items:center}
.footer-mobile-dialog::backdrop {background:rgb(0 0 0 / 50%)}
.footer-mobile-dialog > div {position:relative;width:min(100%,20rem);padding:2rem;box-sizing:border-box;border-radius:.75rem;background:white;color:#222;text-align:center}
.footer-mobile-dialog img {display:block;width:100%;height:auto;-webkit-touch-callout:default;user-select:auto}
.footer-mobile-dialog h3 {font-size:1rem;margin:0 0 1rem}
.footer-mobile-dialog p {font-size:.875rem;margin:1rem 0 0}
.footer-mobile-dialog button {position:absolute;top:.25rem;right:.5rem;padding:.5rem;border:0;background:transparent;color:#222;font-size:1.5rem;cursor:pointer}
