.ce_jiseminarheader_modalvideowrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem; /* 16px */
    padding: 0.5rem; /* 8px */

}

.ce_jiseminarheader_videothumbs {
    flex: 0 0 14rem; /* 224px */
    max-width: 14rem; /* 224px */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--ji-anthracite);
    transition: all 0.3s ease;
    border: 0.125rem solid transparent; /* 2px */
    padding: 0.75rem 0.5rem; /* 12px 8px */
    gap: 0.75rem; /* 12px */
}


.ce_jiseminarheader_videothumbsmall:hover {
    border-color: var(--ji-red);
    transform: scale(1.07);
    transition: all 0.25s ease-in-out;
    box-shadow:
            0 0 0 0.125rem rgba(227, 6, 19, 0.4),
            0 0.25rem 0.75rem rgba(0, 0, 0, 0.15),
            0 0 0.75rem rgba(227, 6, 19, 0.3);
}

.ce_jiseminarheader_videothumbsmall.active {
    border-color: var(--ji-red);
    transform: scale(1.03);
    transition: all 0.3s ease-in-out;
    z-index: 1;
    box-shadow:
            0 0 0 0.125rem rgba(227, 6, 19, 0.5),
            0 0 0.75rem rgba(0, 0, 0, 0.2),
            0 0.25rem 0.625rem rgba(227, 6, 19, 0.25);
}


.ce_jiseminarheader_videothumbs .ce_jiseminarheader_videothumbsmall {
    border: 0.125rem solid transparent; /* 2px */
    transition: all 0.3s ease-in-out;
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    box-sizing: border-box;
}

.ce_jiseminarheader_closebutton {
    position: absolute;
    right: -3rem; /* -48px */
    width: 2rem; /* 32px */
    height: 2rem; /* 32px */
    opacity: 0.85;
}

.ce_jiseminarheader_closebutton:hover {
    opacity: 1;
    cursor: pointer;
}

.ce_jiseminarheader_title {
    color: var(--ji-red);
    padding-bottom: 1.5625rem;
}

.ce_jiseminarheader_subheaderbox {
    min-height: 6.5rem; /* 104px */
    background: var(--ji-gradient-red);
    color: white;
    padding: 1rem 3rem; /* 16px 48px */
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    line-height: 1.375rem; /* 22px */
    border-radius: 0;
    display: flex;
    align-items: center;
    margin-right: 1rem; /* 16px */
}

.ce_jiseminarheader_btnplay {
    position: absolute;
    top: 50%;
    right: 1.8rem; /* 28.8px */
    transform: translateY(-50%);
    width: 4.75rem;
    height: 4.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #8E8E8E;
    border: 0.125rem solid white; /* 2px */
    background-image: url("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4.5v7l6-3.5-6-3.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 3.5rem; /* 56px */
    z-index: 2;
}

.ce_jiseminarheader_description {
    font-size: 1rem; /* 16px */
    line-height: 1.375rem; /* 22px */
    padding-top: 1.5rem; /* 24px */
}

.ce_jiseminarheader_videomain {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.ce_jiseminarheader_modalvideoiframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991px) {
    .ce_jiseminarheader_modalvideowrapper {
        flex-direction: column;
        height: auto;
    }

    .ce_jiseminarheader_videomain {
        width: 100%;
        height: auto;
    }

    .ce_jiseminarheader_videothumbs {
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        gap: 1rem; /* 16px */
        padding: 1rem 0; /* 16px 0px */
    }

    .ce_jiseminarheader_videothumbs .ce_jiseminarheader_videothumbsmall {
        flex: 0 0 auto;
        width: 80vw;
        max-width: 20rem; /* 320px */
        height: auto;
        border-radius: 0.5rem; /* 8px */
        border: 0.125rem solid transparent; /* 2px */
        overflow: hidden;
        transition: all 0.25s ease-in-out;
        scroll-snap-align: start;
    }

    .ce_jiseminarheader_closebutton {
        right: 0.5rem; /* 8px */
        top: -3rem; /* -48px */
    }

    .ce_jiseminarheader_mobilecolumn {
        display: flex;
        flex-direction: column;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }

    .ce_jiseminarheader_videoimagewrapper {
        width: 100%;
        position: relative;
    }

    .ce_jiseminarheader_subheaderbox {
        width: 100%;
        background: var(--ji-gradient-red);
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    .ce_jiseminarheader_videoimagewrapper img {
        width: 100%;
        height: auto;
        display: block;
    }
}
