@import "plugin-layout-base";
//
// Three Regions 8-2-2
//
// First region  : 8 grid columns.
// Second region : 2 grid columns.
// Third region  : 2 grid columns.
// -----------------------------------------------------------------------------

.bp--at-core-simple-wide,
.bp--at-core-simple-tablet-isolate {
  .atl--threecol-8-2-2 {
    // Two active regions.
    &.l-arc--2 {
      > .atl__cw > .atl__lc {
        @include span(8 of 12);

        &:last-child {
          @include span(4 of 12 last);
        }
      }
    }
  }
}

.bp--at-core-simple-tablet-isolate {
  .atl--threecol-8-2-2 {
    // Three active regions.
    &.l-arc--3 {
      > .atl__cw > .atl__lc {
        &:nth-child(2),
        &:last-child {
          @include span(6 of 12);
        }

        &:first-child,
        &:last-child {
          @include last;
        }
      }
    }
  }
}

.bp--at-core-simple-wide {
  .atl--threecol-8-2-2 {
    // Three active regions.
    &.l-arc--3 {
      > .atl__cw > .atl__lc {
        @include span(2 of 12);

        &:first-child {
          @include span(8 of 12);
        }

        &:last-child {
          @include last;
        }
      }
    }
  }
}
