.footer-documents {
  margin-top: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .footer-top > div:has(> .footer-documents) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(max-content, 1fr);
    column-gap: 16px;
  }

  .footer-top .footer-links {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .footer-documents {
    margin-top: 0;
    white-space: normal;
  }
}

.consent a {
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  overflow-y: auto;
  padding: 40px 16px;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
}
.modal-content {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  color: #111827;
  border-radius: 18px;
  padding: 32px;
  position: relative;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
.modal-content h2 {
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
  padding-right: 36px;
}
.modal-content h3 {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 700;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}
.modal-button {
  margin-top: 24px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}
.modal-button:hover {
  opacity: 0.9;
}

.modal[open] {
  display: block;
}
.modal::backdrop {
  background: transparent;
}
html:has(.modal[open]) {
  overflow: hidden;
}
.modal-content p,
.modal-content ul {
  margin-top: 12px;
}
.modal-content ul {
  padding-inline-start: 1.5em;
  list-style: disc;
}
