.side-by-side {
  padding: 90px 18.75vw 90px 18.75vw;
  background-color: var(--wp--preset--color--sand);
  gap: 4.16%;
  align-items: start;
}
.side-by-side:has(+ .side-by-side) {
  padding-bottom: 0;
}
.side-by-side > * {
  width: 47.92%;
}
.side-by-side .text-box {
  align-items: start;
  padding: 0;
}
.side-by-side .text-box h2, .side-by-side .text-box p {
  width: 100%;
}
.side-by-side .text-box p {
  margin-bottom: 20px !important;
  font-size: 1.43rem;
  line-height: 1.35;
}
.side-by-side img {
  border-radius: 3px;
}

@media screen and (max-width: 1535px) {
  .side-by-side {
    padding: 90px 15vw 90px 15vw;
  }
  .side-by-side .text-box p {
    font-size: 1.3125rem;
  }
}
@media screen and (max-width: 1439px) {
  .side-by-side {
    padding: 90px 12.5vw 90px 12.5vw;
  }
}
@media screen and (max-width: 1279px) {
  .side-by-side {
    padding: 90px 5.1vw 90px 5.1vw;
  }
  .side-by-side .text-box p {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 767px) {
  .side-by-side {
    flex-direction: column;
    align-items: center;
  }
  .side-by-side > * {
    width: 100%;
  }
  .side-by-side .text-box {
    order: 2;
  }
  .side-by-side figure {
    order: 1;
    margin-bottom: 40px !important;
  }
}
