/* BUDI VIDEO WIDGET CSS */
.budi-video-tabs__wrapper {
    display: none;
    position: relative;
    overflow: hidden;
}

.budi-video-tabs__wrapper.active {
    display: block;
}

.budi-video-tabs-play-button {
    position: absolute;
    max-width: 150px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    text-align: center;
    cursor: pointer;
}

.budi-video-tabs__wrapper video,
.budi-video-tabs__wrapper iframe {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 25px;
}

.budi-video-tabs__video-wrapper img.budi-video-tabs__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.budi-video-tabs__wrapper.budi-video-tabs-playing .budi-video-tabs__poster {
    opacity: 0;
    pointer-events: none;
}

.budi-video-tabs-overlay {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 55, 83, 0.05) 0%, #0B3753 100%);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 25px;
    z-index: 3;
}

/* Tabs */
.budi-video-tabs__nav {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.budi-video-tabs__nav button.budi-video-tabs__nav-btn {
    padding: 12px 20px;
    border: 1px solid var(--color-main) !important;
    border-radius: 100px;
    background: transparent;
    color: var(--color-main);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.budi-video-tabs__nav button.budi-video-tabs__nav-btn.active {
    border: 1px solid var(--color-sub) !important;
    color: var(--color-sub);
}

@media (max-width: 767px) {
    .budi-video-tabs__nav {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }
}

/* Video Title */
.budi-video-tabs-poster-clip.budi-video-tabs__title {
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media only screen and (max-width: 767px) {
    .budi-video-tabs__wrapper iframe {
        max-width: 100%;
        height: auto;
    }

    .budi-video-tabs__wrapper iframe.budi-youtube {
        min-height: 280px;
    }
}

.budi-video-tabs__wrapper {
    z-index: 2;
}

.budi-video-tabs__wrapper .budi-video-tabs-wrapper {
    border-radius: 25px;
    overflow: hidden;
}

.budi-video-tabs__wrapper .budi-video-tabs-wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(11, 55, 83, 0.05) 0%, #0B3753 100%);
    z-index: 2;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    visibility: visible;
}

.budi-video-tabs__wrapper.budi-video-tabs-playing .budi-video-tabs-wrapper::before {
    opacity: 0;
    visibility: hidden;
}

.budi-video-tabs-content__floating{
    top: 0;
}

.budi-video-tabs__wrapper .budi-video-tabs-content__container {
    /* position: absolute; */
    margin: 0 auto;
    /* bottom: 80px; */
    left: 0;
    right: 0;
    z-index: 9;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-in-out;
}

.budi-video-tabs__wrapper.budi-video-tabs-playing .budi-video-tabs-content__container {
    opacity: 0;
    visibility: hidden;
}

.budi-video-tabs__wrapper .budi-video-tabs__sub-title {
    margin-bottom: 15px;
    font-size: 30px;
}

.budi-video-tabs__wrapper .budi-video-tabs__title::after {
    content: '';
    width: calc(100% + 40px);
    height: 40px;
    left: -20px;
    background-color: var(--color-sub);
    position: absolute;
    bottom: -16px;
    border-radius: 10px;
    z-index: -1;
}