/* BLOCK "video-accordion" */
.video-accordion {
  overflow: hidden;

  &:not(:first-child) {
    margin-top: 180px;

    @media screen and (max-width: 1024px) {
      margin-top: 100px;
    }
  }
  &:not(:last-child) {
    margin-bottom: 180px;

    @media screen and (max-width: 1024px) {
      margin-bottom: 100px;
    }
  }

  & .headline {
    row-gap: 32px;
    align-items: start;
    flex-direction: column;
  }

  & .video-accordion__list {
    display: flex;
    row-gap: 44px;
    column-gap: 44px;
    align-items: flex-start;
    padding-left: 0;

    @media screen and (max-width: 991px) {
      column-gap: 32px;

      &:not(.video-accordion__list--slider) {
        display: none;
      }
    }
    @media screen and (min-width: 992px) {
      &.video-accordion__list--slider {
        display: none;
      }
    }
  }
  & .video-accordion__list--slider {
    display: block;
    overflow: initial;

    & .swiper-wrapper {
      padding: 0;
      margin: 0;
    }
    & .video-accordion__preview {
      
    }
    & .video-accordion__poster {
      padding-top: 60%;
      aspect-ratio: initial;
    }
  }
  & .video-accordion__gallery {
    min-width: 63.61%;

    @media screen and (max-width: 991px) {
      min-width: 50%;
    }
  }
  & .video-accordion__preview {
    position: relative;

    &:not(.active) {
      display: none;
    }
  }
  & .video-accordion__poster {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1028 / 476;
    border-radius: 0 0 60px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;

    & a {
      width: 100%;
      height: 100%;
      display: block;

      &:hover svg {
        scale: 1.2;
      }
    }
  }
  & .tabs-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    transition: all 0.2s ease;

    @media screen and (max-width: 1024px) {
      width: 60px;
      height: 60px;
    }

    & svg {
      width: 32px;
      height: 32px;
      margin-left: 2px;
      fill: #ffffff;
      transition: all 0.2s ease;
      scale: 1;

      @media screen and (max-width: 1024px) {
        width: 24px;
        height: 24px;
      }
    }
  }
  .video-accordion__name {
    margin-top: 20px;

    color: #222;
    font-weight: 500;
    line-height: 1.6;
    font-family: "Mulish", serif;
    font-size: calc(16px + 6 * ((100vw - 375px) / 1545));
  }
  & .video-accordion__tabs {
    width: 100%;
    aspect-ratio: 581 / 506;
    overflow: hidden;
    overflow: -moz-scrollbars-none;
    overflow-y: auto;

    -ms-overflow-style: none;
    &::-webkit-scrollbar { width: 0; }

    @media screen and (max-width: 991px) {
      aspect-ratio: 581 / 370;
    }
  }
  & .video-accordion__buttons {
    display: flex;
    row-gap: 20px;
    flex-direction: column;

    @media screen and (max-width: 991px) {
      row-gap: 12px;
    }
  }
  & .video-accordion__button {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 88px;
    border-radius: 30px;
    overflow: hidden;
    padding: 0 28px;
    cursor: pointer;
    position: relative;

    color: #F1F1F4;
    font-weight: 500;
    line-height: 1.6;
    font-family: "Mulish", serif;
    font-size: calc(16px + 6 * ((100vw - 375px) / 1545));
    text-align: center;

    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-size .25s;

    @media screen and (max-width: 991px) {
      height: 60px;
      border-radius: 20px;
    }
    
    &:not(.active) {
      
    }
    &:hover {
      background-size: 110%;
    }

    & label::before {
      content: '';
      z-index: 1;
      position: absolute;
      inset: 0;
      cursor: pointer;
    }
  }
}