// Related Posts
.at-relatedposts {
  //background: $at-secondary-color;
  padding: 0;
  margin: 0 0 ($at-vertspace);

  .at-relatedposts__title {
    display: block;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    color: #272727;
    margin: 0 0 $at-vertspace;
    text-align: center;
  }
  ul {
  @extend %at-clearfix;
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  margin: 0;
  padding: 0;

  @media screen and (min-width: 520px){
    margin: 0 -10px;
  }
    li {
      float: left;
      width: 100%;
      padding: 0 10px;
      margin-bottom: 20px;
      @media screen and (min-width: 520px){
        width: 33.333%;
        margin-bottom: 0px;
      }      
    }
  }
  .at-relatedposts__post {
    background: $at-secondary-color;
    height: 100%;

    .at-relatedposts__posttitle {
      margin: 0;
      font-weight: bold;
      font-size: 15px;
      line-height: 20px;
      text-align: center;

      //background: #fff;
      padding: 12px 15px;
      //margin: -40px 10px 0;
      position: relative;
      &,
      a {
        color: $at-heading-color;
      }
      a {
        text-decoration: none;
      }
    }

    .at-relatedposts__postthumbholder {
      height: 130px;
      background: rgba( 0, 0, 0, .1 );
    }
  }
}