@import "../page-layout-base";
//
// Three Regions 3-5-4
//
// First region  : 3 grid columns.
// Second region : 5 grid columns.
// Third region  : 4 grid columns.
// ---------------------------------------------------------------------------

.threecol-source-ordered-3-5-4 {

  // Region first and second are active.
  .hr--1-2 {
    .l-r {
      &:first-child {
        @include span(9 of 12 last);
      }

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

  // Region first and third are active.
  .hr--1-3 {
    .l-r {
      &:first-child {
        @include span(8 of 12);
      }

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

  // Region second and third are active.
  .hr--2-3 {
    .l-r {
      @include span(6 of 12);

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

  // All 3col regions are active.
  .arc--3 {
    .l-r {
      &:first-child {
        @include span(5 of 12);
        @include push(3 of 12);
      }

      &:nth-child(2) {
        @include span(3 of 12);
        @include pull(8 of 12);
      }

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