beyond-card {

  md-card {
    display: flex;
    flex-direction: column;
    margin: 30px;
  }

  &:not(.ng-hide) + beyond-card {

    md-card {
      margin-top: 0;
    }
  }

  & + md-content.md-padding {
    padding-top: 0;
  }
}
