.hf-video-chapters-wrapper .container.darkgray,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.darkgray {
    background: #1a1a1a;
}

.hf-video-chapters-wrapper .container.black,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.black {
    background: #000;
}

.hf-video-chapters-wrapper .container.white,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.white {
    background: #fff;
}

.hf-video-chapters-wrapper .container.whitegradient,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.whitegradient {
    background: var(--white-gradient);
}

.hf-video-chapters-wrapper .container.gradient,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.gradient {
    background: var(--main-gradient);
}

.hf-video-chapters-wrapper .container.gradientflip,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.gradientflip {
    background: var(--main-gradient-flipped);
}

.hf-video-chapters-wrapper .container.bluegradient,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.bluegradient {
    background: var(--blue-gradient);
}

.hf-video-chapters-wrapper .container.purplegradient,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.purplegradient {
    background: var(--purple-gradient);
}

.hf-video-chapters-wrapper .container.pinkgradient,
.hf-video-chapters-wrapper .hf-video-chapters-list-wrap.pinkgradient {
    background: var(--pink-gradient);
}

.hf-video-chapters-wrapper .col-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hf-video-chapters-wrapper .col-wrap .col-left {
    flex-basis: calc(50% - 5px);
}

.hf-video-chapters-wrapper .col-wrap .col-right {
    flex-basis: calc(50% - 5px);
}

.hf-video-chapters-wrapper .hf-video-chapters-list-wrap {
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hf-video-chapters-wrapper .vimeo-container iframe {
    border: none;
}

.hf-video-chapters-wrapper .vimeo-container {
    position: relative;
    width: 100%;
    /* padding-bottom: 56.25%;16:9 aspect ratio (9/16 = 0.5625) */
    padding-bottom: 45.42%; /* 22:10 aspect ratio (10/22 = 0.4545) */
    height: 0;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.hf-video-chapters-wrapper .vimeo-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hf-video-chapters-wrapper .vimeo-poster-overlay {
    /* background image set in Bricks */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.hf-video-chapters-wrapper .vimeo-poster-overlay .play-button {
    position: absolute;
    height: 20%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hf-video-chapters-wrapper .vimeo-poster-overlay .play-button img {
    width: 100%;
    height: 100%;
}

.hf-video-chapters-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .3);
}

.hf-video-chapters-wrapper .video-overlay .play-button {
    width: 60px;
    height: 60px;
    opacity: .6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity .4s;
    z-index: 12;
}

.hf-video-chapters-wrapper .video-overlay:hover .play-button,
.hf-video-chapters-wrapper .video-overlay:hover .volume-button,
.hf-video-chapters-wrapper .video-overlay:hover .transcript {
    opacity: 1;
}



.hf-video-chapters-wrapper .volume-button .sound-on-icon,
.hf-video-chapters-wrapper .play-button .pause-icon {
    display: none;
}


.hf-video-chapters-wrapper .video-chapter-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;

}
.hf-video-chapters-wrapper .video-chapter-heading .icons {
    position: relative;
    width: 18px;
    height: 18px;
}
.hf-video-chapters-wrapper .video-chapter-heading .plus,
.hf-video-chapters-wrapper .video-chapter-heading .minus {
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    transition: .2s all ease-out;
}
.hf-video-chapters-wrapper .video-chapter-heading .plus {
    opacity: 1;
    transform: rotate(0deg);
}
.hf-video-chapters-wrapper .video-chapter-heading .minus {
    opacity: 0;
    transform: rotate(-90deg);
}
.hf-video-chapters-wrapper .video-chapter-heading.accordion-toggle.active .plus {
    opacity: 0;
    transform: rotate(90deg);
}
.hf-video-chapters-wrapper .video-chapter-heading.accordion-toggle.active .minus {
    opacity: 1;
    transform: rotate(0deg);
}

.hf-video-chapters-wrapper .hf-video-chapters-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out, padding .3s ease-out;
}
.hf-video-chapters-wrapper .hf-video-chapters-list.open {
    max-height: 1000px; /* Arbitrary large value to allow full expansion */
    overflow: auto;
    transition: max-height .5s ease-in, padding .3s ease-in;
}

.hf-video-chapters-wrapper .hf-video-chapters-list ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}
.hf-video-chapters-wrapper .hf-video-chapters-list ul li {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.hf-video-chapters-wrapper .hf-video-chapters-list ul li:last-child {
    padding-bottom: 0;
}
.hf-video-chapters-wrapper .hf-video-chapters-list ul li::before {
    display: none;
}

.hf-video-chapters-wrapper .hf-video-chapters-list ul li img {
    width: auto;
    max-height: 60px;
    transition: opacity .3s ease-in-out;
}
.hf-video-chapters-wrapper .hf-video-chapters-list ul li:hover img {
    opacity: 0.8;
}
.hf-video-chapters-wrapper .hf-video-chapters-list ul li .chapter-title {
    border-bottom: 2px solid #1a1a1a;
}
.hf-video-chapters-wrapper .hf-video-chapters-list ul li:hover .chapter-title {
    border-bottom: 2px solid #d322ff;
}

@media (max-width: 1024px) {
    .hf-video-chapters-wrapper .col-wrap {
        flex-direction: column;
        align-items: unset;
        gap: 50px;
    }

    .hf-video-chapters-wrapper .col-wrap .col-left {
        flex-basis: 100%;
    }


    .hf-video-chapters-wrapper .col-wrap .col-right {
        flex-basis: 100%;
    }

    /* .hf-video-chapters-wrapper .hf-video-chapters-list ul li .chapter-title {
        font-size: 22px;
    } */
}

@media (max-width: 478px) {
    .hf-video-chapters-wrapper .hf-video-chapters-list ul li .chapter-title {
        font-size: 16px;
        line-height: 1.25;
    }
    
}