.layout-right-left {
  @extend .clearfix;
  display: inline-block;
  width: 100%;
  &.full-width {
    // padding-left: 4rem;
    // padding-right: 4rem;
  }
  .block-image {
    height: 30rem;
    overflow: hidden;
    position: relative;
    &.desktop {
      display: none;
      @media screen and($bp-larger-than-phablet) {
        display: block;
      }
    }
    &.phablet {
      display: block;
      @media screen and($bp-larger-than-phablet) {
        display: none;
      }
    }
    img {
      position: absolute;
      transform: translateY(-50%);
      top: 50%;
      width: 100%;
      height: 100%;
      padding-left: 1rem;
      padding-right: 1rem;
      object-fit: cover;
      font-family: 'object-fit:cover';
    }
    @media screen and($bp-larger-than-phablet) {
      height: 50rem;
      width: 50%;
      float: left;
      img {
        width: 90%;
        height: 90%;
        padding: 0;
      }
    }
  }
  .text-container {
    padding: 4rem 1.5rem;
    @media screen and($bp-larger-than-tablet) {
      padding: 4rem;
    }
    .block-title {
      text-transform: uppercase;
      position: relative;
      display: inline-block;
      margin-top: 2rem;
      margin-bottom: 4rem;
      font-size: calc(1.65em + 1.65vw);
      letter-spacing: 2px;
      // @media screen and($bp-larger-than-tablet) {
      //   font-size: calc(1.5em + 1.5vw);
      // }
      &:before {
        content:'';
        height: 8px;
        background-color: $primary-color;
        position: absolute;
        top: -3.5rem;
        left: 0;
        width: 15rem;
        // @media screen and($bp-larger-than-mobile) {
        //   width: 15rem;
        // }
        @media screen and($bp-larger-than-tablet) {
          width: 25rem;
        }
      }
    }
    .block-content {
      h1, h2, h3, h4, h5, h6 {
        letter-spacing: 1px;
      }
      p {
        letter-spacing: 1px;
        line-height: 2em;
        font-size: .8em;
        @media screen and($bp-larger-than-tablet) {
          font-size: 1em;
        }
      }
      ul {
        li {
          list-style: none;
          position: relative;
          margin-left: 2.5rem;
          &:before {
            content:'';
            position: absolute;
            left: -2.5rem;
            top: .5rem;
            width: 1rem;
            height: 1rem;
            background-color: $primary-color;
            border-radius: 100%;
          }
        }
      }
    }
    a.btn {
      margin-top: 3.5rem;
      display: inline-block;
    }
    @media screen and($bp-larger-than-phablet) {
      width: 50%;
      float: left;
    }
  }
  .block-list {
    width: 100%;
    display: inline-block;
    .block {
      width: 100%;
      display: inline-block;
      margin-top: 3.5rem;
      @media screen and($bp-larger-than-tablet) {
        margin-top: 7.5rem;
      }
      &.left-img {
        .text-container {
          @media screen and($bp-larger-than-tablet) {
            padding-left: 8rem;
          }
        }
        .block-image {
          img {
            left: 0;
          }
        }
      }
      &.right-img {
        .text-container {
          @media screen and($bp-larger-than-tablet) {
            padding-right: 8rem;
          }
        }
        .block-image {
          img {
            right: 0;
          }
        }
      }
    }
  }
}
