@use '_helper' as *;

.card-arrow-corner {
  .background {
    &-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;

      &--img {
        background: $color-black;

        &:before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.8) 100%);
          z-index: 0;
        }

        img {
          transition: transform 0.2s ease;
        }
      }
    }

    &-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }
  }

  .icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 34px;
    height: 34px;

    @media screen and (min-width: $break-medium) {
      width: 44px;
      height: 44px;
    }

    @media screen and (min-width: $break-large) {
      width: 50px;
      height: 50px;
    }

    circle {
      transition: fill 0.2s ease;
    }

    path {
      transition: stroke 0.2s ease;
    }
  }

  .mask-svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
  }
}