.car-detail-interior-video {
  .animation-info--text {
    color: var(--tertiary-white);
    font-family: var(--font-primary-nexa);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2rem; /* 165% */
    /* padding-inline: 16px 115px; */
    margin-block: 43px 24px;
  }
  .cta-btn {
    /* background: var(--primary-main); */
    /* border: 1px solid var(--tertiary-white); */
    gap: 8px;
    display: inline-flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--tertiary-white);
    text-align: center;
    /* Mobile/Buttons/Mobile- button */
    font-family: var(--font-primary-nexa);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 142.857% */
    position: relative;
    .north-east_arrow {
      width: 16px;
      height: 16px;
      background-size: contain;
      background-repeat: no-repeat;
      background-image: url('/icons/north_east-white-20x20.svg');
    }
  }
  .video {
    position: relative;
    &:after {
      content: '';
      width: 100vw;
      height: 360px;
      display: block;
      background: linear-gradient(0deg, #171a1c 0%, rgba(23, 26, 28, 0) 81.87%);
      position: absolute;
      bottom: -1px;
    }
  }
  .vjs-v8 {
    width: auto;
    height: auto;
    .vjs-loading-spinner {
      display: none;
    }
  }
  .car-interior-video {
    overflow: hidden;
    background-color: #4a4a52;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 0 16px, 20% 16px);
    .video-container {
      overflow: hidden;
      position: relative;
      video {
        width: 100%;
        display: block;
        min-height: 540px;
      }
    }
    .scroll-in-out-fade-animation {
      height: 666px;
      overflow: hidden;
      /* overflow-y: auto; */
      position: relative;
      background: #171a1c;
      .subject-container {
        padding: 0 20px;
      }
      .animation-info {
        top: 0;
        position: absolute;
        transition: transform 1s linear;
      }
    }
  }
}

@media (width >= 768px) {
  .car-detail-interior-video {
    .car-interior-video {
      clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%, 0 16px, 15% 16px);  
      .video-container {
        video {
          object-fit: cover;
          max-height: 776px;
        }
      }
    }
  }
}

@media (width >= 1024px) {
  .car-detail-interior-video {
    .car-interior-video {
      padding-top: 0;
      clip-path: none;
      background-color: transparent;
      .scroll-in-out-fade-animation {
        height: 868px;
        .cta-btn {
          margin-left: 84px;
          line-height: 24px;
          padding: 14px 28px;
          font-size: 1.125rem;
          .north-east_arrow {
            width: 20px;
            height: 20px;
          }
        }
      }
      .video-container {
        video {
          max-height: 576px;
        }
      }
    }
    .animation-info--text {
      padding-left: 84px;
      font-size: 2rem;
      line-height: 44px;
      margin-top: 96px;
    }
  }
}

@media (width >= 1366px) {
  .car-detail-interior-video {
    .car-interior-video {
      .video-container {
        video {
          object-fit: cover;
          max-height: 768px;
        }
      }
    }
    .animation-info--text {
      margin-top: 12px;
    }
  }
}

@media (width >= 1920px) {
  .car-detail-interior-video {
    .car-interior-video {
      .video-container {
        video {
          object-fit: cover;
          max-height: 1080px;
        }
      }
    }
  }
}

.car-detail-interior-video {
  .content-info {
    background: var(--primary-main);
    padding-bottom: 96px;
  }

  .content-info .cta-btn {
    margin-left: 0;
    font-size: 14px;
    gap: 12px;
    line-height: 20px;
    padding: 8px 20px;
    height: 33px;
  }

  .content-info .north-east_arrow {
    width: 20px;
    height: 20px;
  }

  .animation-info--text {
    padding: 0;
    margin-top: 0;
    padding-top: 96px;
    width: 225px;
  }

  .car-interior-video {
    .scroll-in-out-fade-animation {
      margin-top: -1px;
    }
  }

    @media (width >=768px) {
      .content-info.g-container {
        padding-left: 62px;
      }
  
      & .car-interior-video {
        & .scroll-in-out-fade-animation {
          .subject-container {
            padding-left: 0;
          }
  
          .animation-info {
            padding-left: 62px;
          }
        }
      }
    }

  @media (width >= 1024px) {
    .content-info.g-container {
      padding-left: 84px;
      .cta-btn {
        font-size: 18px;
        line-height: 24px;
        height: 52px;
        padding: 13px 28px;
      }
    }
    .animation-info--text {
      width: 571px;
    }

    & .car-interior-video {
      & .scroll-in-out-fade-animation {
        
        .animation-info{
            padding-left: 84px;
        }
        .cta-btn {
            margin-left: 0;
        }
      }
    }
  }

  @media (width >= 1366px) {
    .animation-info--text {
      width: 764px;
    }
  }
}

.car-detail-interior-video-wrapper.withOutAnimation + .car-detail-carousel-wrapper {
  .car-carousel__container.dark {
    padding-top: 0;
    .controls-section {
      @media (width>=1024px) {
        top: 148px;
      }
      @media (width>=1366px) {
        top: 225px;
      }
    }
  }
}

.car-detail-interior-video-wrapper.withAnimation + .car-detail-carousel-wrapper {
  .car-carousel__container.dark {
    .controls-section {
      @media (width>=1024px) {
        top: 320px;
      }
      @media (width>=1366px) {
        top: 390px;
      }
    }
  }
}
