.page-template-page-legal .hero {
  max-height: 460px;
  min-height: initial;
}

.page-template-page-legal .hero .hero__title {
  margin-bottom: 0;
}
.page-template-page-legal .hero .hero__title {
  text-align: center;
  max-width: 100%;
  text-align: center;
}
.page-template-page-legal .hero .hero__wrapper {
  margin-bottom: 0;
}

.legal {
  padding: 0 var(--sidePadding);
}
.legal-wrapper {
  width: calc(100% - calc(var(--sidePadding) * 2));
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
  margin-bottom: 75px;
  display: flex;
  gap: 75px;
}
.legal-content {
  margin-top: 50px;
}
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
  transition: background-color 0.5s;
  line-height: 1;
  margin-bottom: 10px;
}
.legal-content {
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  line-height: 1.33;
}
.legal-content h1 {
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
  margin-bottom: 25px;
}
.legal-content h2 {
  font-size: var(--textFontSizeM);
}
.legal-content h3 {
  font-size: calc(var(--textFontSizeS) + 3px);
}
.legal-content p {
  margin-bottom: 10px;
}
.legal-content strong {
  font-weight: 600;
}
.legal-content li {
  list-style: initial;
  margin-bottom: 10px;
}
.legal-content ol > li {
  list-style: decimal;
}
.legal-content ol,
.legal-content ul {
  padding-left: var(--textFontSizeM);
  margin-bottom: 20px;
}
.legal-content ol > li::marker {
  font-family: var(--secondaryFont);
  font-weight: 600;
}
.legal-content ol ol > li::marker {
  list-style: decimal;
  font-family: var(--secondaryFont);
  font-weight: 600;
}
p:has(img.aligncenter) {
  background: var(--gray);
}
p:has(.aligncenter) img {
  display: block;
  margin: 5px auto;
}
.legal-content table {
  margin: 15px 0;
}
.legal-content table,
.legal-content th,
.legal-content td {
  border: 1px solid black;
  border-collapse: collapse;
}
.legal-content th,
.legal-content td {
  padding: 5px 10px;
}

.legal-content tr:nth-child(even) {
  background-color: rgba(150, 212, 212, 0.4);
}

.legal-content th:nth-child(even),
td:nth-child(even) {
  background-color: rgba(150, 212, 212, 0.4);
}
