.texte-legal {
  max-width: 760px;
  line-height: 1.6;
}

.texte-legal__titre {
  margin-bottom: 8px;
  font-size: 2.25em;
  font-weight: 400;
  line-height: 1.2;
}

.texte-legal__maj {
  margin-bottom: 28px;
  font-size: 0.875em;
  color: #5b7a00;
}

.texte-legal h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 4px solid #7da600;
  font-size: 1.375em;
  font-weight: 700;
  line-height: 1.3;
}

.texte-legal p + p,
.texte-legal p + ul,
.texte-legal ul + p,
.texte-legal p + .texte-legal__tableau,
.texte-legal .opposition + p {
  margin-top: 12px;
}

.texte-legal ul {
  padding-left: 1.4em;
}

.texte-legal li {
  list-style: disc;
}

.texte-legal li + li {
  margin-top: 6px;
}

.texte-legal a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.texte-legal a:hover {
  color: #5b7a00;
}

.texte-legal a:focus-visible {
  outline: 3px solid #174195;
  outline-offset: 3px;
  border-radius: 2px;
}

.texte-legal__tableau {
  width: 100%;
  border-collapse: collapse;
}

.texte-legal__tableau caption {
  margin-bottom: 8px;
  font-weight: 700;
  text-align: left;
}

.texte-legal__tableau th,
.texte-legal__tableau td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid rgba(23, 65, 149, 0.25);
  text-align: left;
  vertical-align: top;
}

.texte-legal__tableau thead th {
  border-bottom-width: 2px;
}

.texte-legal__tableau tbody th {
  width: 11em;
  font-weight: 400;
}

.texte-legal__tableau td:last-child {
  white-space: nowrap;
}

.texte-legal code {
  font-family: ui-monospace, Consolas, 'Courier New', monospace;
  font-size: 0.9em;
}

.opposition {
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background-color: #eef2fa;
}

.opposition__etat {
  font-weight: 700;
}

.opposition__bouton {
  margin-top: 16px;
}

.opposition__bouton[hidden] {
  display: none;
}

@media (max-width: 1150px) {
  .texte-legal__titre {
    font-size: 1.75em;
  }

  .texte-legal h2 {
    margin-top: 32px;
    font-size: 1.25em;
  }
}

@media (max-width: 480px) {
  .texte-legal__tableau {
    font-size: 0.875em;
  }

  .texte-legal__tableau tbody th {
    width: auto;
  }

  .opposition {
    padding: 16px;
  }
}
