.video-with-chapters-module{
  padding-top: 20px;
}


.video-with-chapters-module .chapters-holder{
 margin-top: 40px;
  padding-bottom: 20px;
  
}

.video-with-chapters-module .chapters-holder ul{
  list-style: none;
  height: auto;
  overflow-y: auto;
  max-height: 175px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  
  &::-webkit-scrollbar {
    width: 13px;
  }


  &::-webkit-scrollbar-track {
    box-shadow: none; 
    border-radius: 100px;
    background: #DFDCD1;
  }


  &::-webkit-scrollbar-thumb {
    background: #fff; 
    border-radius: 100px;
  }


  &::-webkit-scrollbar-thumb:hover {
    background: #eee; 
  }
}


.video-with-chapters-module .chapters-holder li{
  cursor: pointer;
  color: rgba(3, 16, 31, 0.80);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.14px;
  max-width: 90%;
}

.video-with-chapters-module .chapters-holder li:hover{
  color: #03101F;
}
.video-with-chapters-module .chapters-holder li:hover strong{
  color: #BD541B;
}
.video-with-chapters-module .chapters-holder .title{
  color: #03101F;
font-family: Inter;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 26px; /* 108.333% */
letter-spacing: 0.24px;
  margin-bottom: 24px;
  display: block;
  
}



.video-with-chapters-module .base-video-holder{
  position: relative;
  width: 100%;
}

.video-with-chapters-module .chapters-holder{
    position: relative;
}

.video-with-chapters-module .chapters-holder:after{
 background: linear-gradient(180deg, rgba(231, 228, 219, 0.00) 0%, #E7E4DB 100%); 
  position: absolute;
  left: 0;
  bottom:20px;
  width: 100%;
  height: 87px;
  pointer-events:none;
  content: '';
  
}
.video-with-chapters-module .chapters-holder:has(ul.end):after{
  display: none; 
}
.video-with-chapters-module .video-holder{
 display: flex;
  justify-content: center;
  
}
.video-with-chapters-module .base-video-holder .play-btn{
    position: absolute;
    top: calc(50% - 46px);
    left: calc(50% - 46px);
    z-index: 3;
    cursor: pointer;
    transition: all .3s;
}
.video-with-chapters-module .base-video-holder .play-btn.hidden{
  display: none;
}
.video-with-chapters-module .base-video-holder .play-btn:hover svg {
                    transform: scale(.96);
                }
.video-with-chapters-module .base-video-holder {
    display: flex;
  
}
.video-with-chapters-module .base-video-holder video{
  display:block;
  width: 100%;
  border-radius: 16px;
}

.video-with-chapters-module iframe.full-size{
  width: 100%!important;
  left: 0;
  max-height: 100%;
  height: 100%;
  max-width: 100%;
  position: absolute;
  right: 0;
  top: 0;
}


.video-holder:has(iframe.full-size) {
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 25px;
  position: relative;
}

@media(min-width: 768px){
 
.video-with-chapters-module .horizontal_reverse,
.video-with-chapters-module .horizontal{
  display: flex;
  gap: 0px 32px;
  flex-wrap:no-wrap;
  padding-bottom: 20px;
  
  .video-holder{
    width: 66.66%;
    align-items: flex-start;
  }
  .video-holder:has(iframe){
   padding-bottom: 33.25%; 
  }
  .chapters-holder{
    width: 33.33%;
    margin-top: 0px;
    ul {
      max-height: 345px;
      margin-bottom: 0px;
    }
  }
  }
}

.video-with-chapters-module .horizontal_reverse{
      flex-direction: row-reverse;
}
  
}


