.section-boxes__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

.section-boxes__wrapper[data-media-align="left"] {
  flex-direction: row;
}

.section-boxes__wrapper[data-media-align="right"] {
  flex-direction: row-reverse;
}

.section-boxes__reference-boxes {
  flex: 9 1 calc(75% - 2rem);
  min-width: 320px;
}

.section-boxes__text {
  flex: 3 1 calc(25% - 2rem);
  min-width: 280px;
}
.section-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 2.8rem;
  width: 100%;
  box-sizing: border-box;
}

.section-boxes .boxes-inner__wrapper {
  flex: 0 0 calc(33.333% - 1.9rem);
  box-sizing: border-box;
  min-width: 0;
}

@media screen and (max-width: 1024px) {
  .section-boxes__reference-boxes,
  .section-boxes__text {
    flex: 1 1 100%;
  }
  .section-boxes .boxes-inner__wrapper {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media screen and (max-width: 768px) {
  .section-boxes__wrapper {
    flex-direction: column !important;
    gap: 2rem;
  }

  .section-boxes__reference-boxes {
    order: 1;
  }

  .section-boxes__text {
    order: 2;
  }
  .section-boxes .boxes-inner__wrapper {
    flex: 0 0 100%;
  }
}
