.legitimate {
  background-image: url(../img/background-bright.png);
  border-image-slice: 14 14 14 14;
  border-image-width: .6em .6em .6em .6em;
  border-image-outset: .6em .6em .6em .6em;
  border-image-repeat: round round;
  border-image-source: url(../img/borderImage.png);
  border-style: solid;
  counter-reset: heading;
  margin: .6em auto;
  padding: 2em;
  max-width: 72ch;
}
.legitimate > * {
  margin-inline: auto;
}

.legitimate :is(h2, h3, h4) {
  line-height: 1;
  text-transform: uppercase;
}
.legitimate h2 {
  font-size: 1.4rem;
}
.legitimate h3 {
  color: var(--main);
  font-size: 1rem;
  margin-top: 3em;
  margin-left: 1.4em;
  text-indent: -1.4em;
}
.legitimate h4 {
  color: var(--main);
  font-size: 1rem;
}
.legitimate h3:before {
  content: "§" counter(heading) " ";
  counter-increment: heading;
}
.legitimate address {
  font-style: normal;
  line-height: 1.3;
}
.legitimate :is(ol, ul) {
  line-height: 1.5;
  padding-left: 1.4em;
}
.legitimate ul {
  list-style-type: square;
}
.legitimate small > a {
  font-size: inherit;
}

.table-of-contents {
  counter-reset: paragraph;
  list-style-type: none;
  margin-block: 1.5em;
}
.table-of-contents li {
  text-indent: -1.4em;
}
.table-of-contents li:before {
  content: "§" counter(paragraph) " ";
  counter-increment: paragraph;
}
.table-of-contents li + li {
  margin-top: .7em;
}
.table-of-contents a {
  color: var(--main);
  display: inline;
}

.address__boxes {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 3em;
  margin-block: 3em;
}
@media (min-width: 45em) {
  .address__boxes {
    flex-direction: row;
  }
}

.address__boxes > * {
  flex: 1;
  position: relative;
  z-index: 1;
}
.address__boxes *::after {
  content: "";
  position: absolute;
  inset: 0;
  left: 8%;
  width: 84%;
  height: 8em;
  z-index: -1;
}
.address__boxes div:nth-of-type(1)::after {
  background-color: var(--badge-01);
  transform: rotate(4deg);
}
.address__boxes div:nth-of-type(2)::after {
  background-color: var(--badge-02);
  transform: rotate(-4deg);
}

.address__boxes h3 {
  margin-block: .7em;
  margin-left: 4em;
}
.address__boxes h3:before {
  content: "";
}
.address__boxes address {
  background-color: var(--background-lighter);
  border: 1px solid var(--foreground);
  padding: 1em;
}

.employees {
  display: table;
  width: 100%;
}
.employees > div {
  display: table-row;
}
.employees span {
  display: table-cell;
  padding: .3em;
}
.employees span:first-child {
  font-weight: bold;
  width: 18ch;
}
.employees div:nth-child(2n + 1) {
  background-color: var(--background-light);
}
