body.footer_modal-lock {
  overflow: hidden;
}

/* Footer legal links */
.footer_legal_links {
  align-items: center;
  border-top: 1px solid #ececec;
  display: flex;
  flex-wrap: wrap;
  font: 400 12px/23px roboto, roboto_;
  justify-content: center;
  gap: 4px 10px;
  margin-top: 12px;
  padding-top: 12px;
}

.footer_legal_link {
  background: none;
  border: none;
  color: #969696;
  cursor: pointer;
  font: inherit;
  padding: 4px 2px;
  text-decoration: underline;
}

.footer_legal_link:hover,
.footer_legal_link:focus-visible {
  color: #555;
}

/* Modal */
.footer_modal {
  align-items: center;
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 16px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.footer_modal.footer_modal--open {
  display: flex;
}

.footer_modal__overlay {
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.footer_modal__dialog {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  max-height: 85vh;
  overflow-y: auto;
  padding: 20px 20px 24px;
  position: relative;
  width: 100%;
  max-width: 92vw;
  z-index: 1;
}

.footer_modal__close {
  align-items: center;
  background: #f2f2f2;
  border: none;
  border-radius: 50%;
  color: #555;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
}

.footer_modal__close:hover,
.footer_modal__close:focus-visible {
  background: #e5e5e5;
  color: #222;
}

.footer_modal__title {
  color: #222;
  font: 700 20px/28px robotocondensed, robotocondensed_;
  margin: 0 32px 12px 0;
}

.footer_modal__body {
  color: #444;
  font: 400 14px/22px roboto, roboto_;
}

@media (min-width: 576px) {
  .footer_modal__dialog {
    max-width: 480px;
    padding: 28px 28px 32px;
  }

  .footer_modal__title {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .footer_modal__dialog {
    max-width: 560px;
  }
}
