
.listing-favourite-card {
  margin-bottom: 0;

  .tns-controls {
    opacity: 1;
    @include breakpoint(large up) {
      transition: opacity 0.3s;
      opacity: 0;
    }
  }

  &:hover {
    .tns-controls {
      opacity: 1 !important;
    }
  }

  .feature-text.body-container {
    padding: 12px;
    @include breakpoint(medium up) {
      padding: 16px 24px;
    }
    @include breakpoint(large up) {
      padding: 16px;
    }

    .tag {
      box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.06);
    }

    .title {
      margin-top: 4px;
      font-weight: 600;
      font-size: 20px;
      line-height: 25px;
      color: $charcoal;
      min-height: 50px;
      max-height: 50px;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      display: -webkit-box;
      @include breakpoint(large up) {
        font-size: 16px;
        line-height: 24px;
        margin-top: 0;
      }
    }

    .sub-title {
      font-size: 16px;
      line-height: 20px;
      font-weight: 600;
      margin-bottom: 14px;
      max-height: 21px;
      @include breakpoint(large up) {
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 6px;
      }
    }

    .notes-input {
      margin-top: 14px;
      min-height: 100px;
      @include breakpoint(medium up) {
        margin-top: 24px;
      }

      textarea {
        border-color: transparent;
        background-color: $off-white;
        margin-bottom: 4px;
        @include breakpoint(medium up) {
          margin-bottom: 8px;
        }
      }
    }
  }
}


.listing-favourite-card {
  .listing-card-banner {
    @include breakpoint(large up) {
      width: 100%;
    }

    .feature-image {
      border-radius: 4px 4px 0 0;
      @include breakpoint(medium up) {
        border-radius: 4px 0 0 4px;
      }
      @include breakpoint(large up) {
        border-radius: 4px 4px 0 0;
      }
    }
  }

  .body-container {
    border-width: 0 2px 2px 2px;
    border-radius: 0 0 2px 2px;
    @include breakpoint(medium up) {
      border-width: 2px 2px 2px 0;
      border-radius: 0 2px 2px 0;
    }
    @include breakpoint(large up) {
      border-width: 0 2px 2px 2px;
      border-radius: 0 0 2px 2px;
    }
  }

  .tag {
    @include breakpoint(large up) {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 1;
      border-radius: 13px;
      font-size: 9px;
      letter-spacing: .45px;
      text-transform: uppercase;
      font-weight: bold;
      line-height: 11px;
      padding: 6px 16px;
    }
  }

  .favourite {
    z-index: 1;
    position: absolute;
    right: 12px;
    top: 12px;
  }
}