.ss-card {
  max-width: 100%;
  border: 1px solid $border;
  border-radius: $card-radius;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;

  &:hover, &:focus-within {
    .ss-actions {
      opacity: 1;
    }
  }

  .ss-badge{
    position: absolute;
    right: 15px;
    top: 16px;
    background: $dark-bg;
    color: $inverted-text;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 5px;
  }

  .ss-actions {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.31) 0%, rgba(0, 0, 0, 0.00) 100%);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    position: absolute;
    opacity: 0;
    transition: .3s ease;
    padding: 26px;
    button{
      width: 100%;
      justify-content: center;
    }
  }

  .ss-image {
    aspect-ratio: 0.84 / 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: transparentize($dark-bg, .75);
  }
}

.ss-title {
  color: $main-text;
  text-align: center;
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}