.legal-header-spacer {
  height: 101px;
  background-color: #1D2E50;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 120px;

  h2 {
    font-size: 48px !important;
    margin-bottom: 40px;
  }

  h3 {
    color: #1F3051;
    font-size: 28px !important;
    margin-top: 40px;
    margin-bottom: 16px;
  }

  p {
    margin-bottom: 16px;
    text-align: justify;
  }

  a {
    color: #1F3051;
    text-decoration: underline;
  }

  ul, ol {
    margin-bottom: 16px;
    padding-left: 32px;
  }

  ul {
    list-style-type: disc;
  }

  ol {
    list-style-type: decimal;
  }

  li {
    font-size: 20px;
    line-height: 140%;
    margin-bottom: 8px;
  }
}

.cookies-table-container {
  overflow-x: auto;
  margin-bottom: 24px;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;

  th, td {
    border: 1px solid #1F3051;
    padding: 12px 16px;
    text-align: left;
    font-size: 16px !important;
    line-height: 140%;
  }

  th {
    background-color: #1F3051;
    color: #FFF;
    font-weight: 700;
  }

  tr:nth-child(even) {
    background-color: #f8f8f8;
  }
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;

  a {
    color: #FFF;
    text-decoration: underline;
    font-size: 14px !important;
  }
}

@media (max-width: 1280px) {
  .legal-header-spacer {
    height: 77px;
  }

  .legal-page {
    padding: 40px 24px 80px;

    h2 {
      font-size: 32px !important;
      margin-bottom: 24px;
    }

    h3 {
      font-size: 22px !important;
      margin-top: 28px;
    }

    li {
      font-size: 16px;
    }
  }

  .cookies-table th,
  .cookies-table td {
    font-size: 14px !important;
    padding: 8px 10px;
  }
}
