.wcf__image-accordion {
  display: flex;
  height: 70vh;

  &.accordion-layout-horizontal {
    flex-direction: row;
  }

  &.accordion-layout-vertical {
    flex-direction: column;
  }

  .accordion-item{
    position: relative;
    overflow: hidden;
    flex: 1;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    &.accordion-hover-active{
      flex: 3;
    }
    &:after{
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 1;
      opacity: 0;
      visibility: hidden;
      transition: all .4s;
      background: rgba(0, 0, 0, 0.3);
    }
  }

  .content {
    text-align: center;
    padding: 20px;
    position: absolute;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
  }
  .accordion-hover-active{
    &:after{
      opacity: 1;
      visibility: visible;
    }
    .content{
      transition: all 1s;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

  }
  .subtitle {
    margin-bottom: 10px;
  }

  .title {
    margin-bottom: 10px;
  }

  .wcf__btn {
    margin-top: 20px;
  }
}
