.wcf--video-box {
  overflow: hidden;
  position: relative;

  &:hover {
    .wcf-popup-btn {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, -50%);
    }
  }

  .thumb {
    line-height: 0;
  }

  img,
  video{
    width: 100%;
    object-fit: cover;
  }

  .content {
    position: absolute;
    width: 100%;
    height: 100%;
    inset-inline-start: 0;
    top: 0;
    display: flex;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
  }

  .title,
  .subtitle {
    color: #fff;
    margin: 0;
  }

  .wcf-popup-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0%);
    width: 60px;
    height: 60px;
    color: #fff;
    cursor: pointer;
    border: 1px solid #fff;
    background-color: transparent;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;

    &.ripple::after, &.ripple::before {
      color: #fff;
    }
  }

  &.style {
    &-1 {
      .content {
        flex-direction: column;
        justify-content: flex-end;
      }
    }

    &-2 {
      .thumb {
        img {
          clip-path: polygon(0 0, 100% 0, 100% 100%, 55% 100%, 0 70%);
        }
      }

      .content {
        flex-direction: column-reverse;
        justify-content: flex-start;
      }

      .title,
      .subtitle {
        margin: 0;
      }
    }
  }
}