.et-text-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: $grid-gutter-width;
  .et-text-sections-section {
    display: flex;
    flex-wrap: wrap;
    gap: $grid-gutter-width;
  }
  .et-text-sections-section-image {
    display: flex;
    flex-basis: 100%;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    @include media-breakpoint-up(md) {
      flex-basis: calc(33.3% - #{$grid-gutter-width / 2} - 1px);
    }
    @include media-breakpoint-up(lg) {
      flex-basis: calc(20% - #{$grid-gutter-width / 2} - 1px);
    }
  }
  .et-text-sections-section-content {
    flex-basis: 100%;
    flex-grow: 1;
    @include media-breakpoint-up(md) {
      flex-basis: calc(66.6% - #{$grid-gutter-width / 2} - 1px);
    }
    @include media-breakpoint-up(lg) {
      flex-basis: calc(80% - #{$grid-gutter-width / 2} - 1px);
    }
  }
  .et-text-sections-section-separator {
    border-bottom-width: 1px;
    border-bottom-color: currentColor;
  }
  .et-text-sections-section-separator-solid {
    border-bottom-style: solid;
  }
  .et-text-sections-section-separator-dashed {
    border-bottom-style: dashed;
  }
  .et-text-sections-section-separator-dotted {
    border-bottom-style: dotted;
  }
  .et-text-sections-section-content-link {
    display: flex;
    justify-content: center;
  }
  .et-text-sections-section-layout-imageText {
    .et-text-sections-section-image {
      order: 1;
    }
    .et-text-sections-section-content {
      order: 2;
    }
  }
  .et-text-sections-section-layout-textImage {
    .et-text-sections-section-image {
      order: 2;
    }
    .et-text-sections-section-content {
      order: 1;
    }
  }
  .et-text-sections-section-image-content,
  .et-text-sections-section-text-content {
    margin-bottom: $grid-gutter-width / 2;
  }
}
.et-text-sections-general-link {
  .btn-link {
    margin-right: 0;
    padding-right: 0;
    margin-left: 0;
    padding-left: 0;
  }
  &.et-position-below-boxes {
    margin-top: $grid-gutter-width / 2;
  }
  &.et-position-above-boxes {
    margin-bottom: $grid-gutter-width / 2;
  }
  &.et-align-horizontal-left {
    text-align: left;
  }
  &.et-align-horizontal-center {
    text-align: center;
  }
  &.et-align-horizontal-right {
    text-align: right;
  }
}