/* YouTube Video */
.s_hall_youtube_video {
    padding: 40px 0;
}

.s_hall_youtube_video_inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background-color: #1B1C1E;
}

.s_hall_youtube_video_trigger {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 2;
}

.s_hall_youtube_video_trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease;
}

.s_hall_youtube_video_trigger:hover::after {
    background: rgba(0, 0, 0, 0.18);
}

.s_hall_youtube_video_thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s_hall_youtube_video_play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.s_hall_youtube_video_trigger:hover .s_hall_youtube_video_play {
    transform: translate(-50%, -50%) scale(1.06);
    background-color: rgba(255, 255, 255, 0.9);
}

.s_hall_youtube_video_play svg {
    margin-left: 4px;
}

.s_hall_youtube_video_embed {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    pointer-events: none;
}

.s_hall_youtube_video.is-playing .s_hall_youtube_video_embed {
    display: block;
    pointer-events: auto;
}

.s_hall_youtube_video_embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.s_hall_youtube_video.is-playing .s_hall_youtube_video_trigger {
    display: none;
}

@media (max-width: 576px) {
    .s_hall_youtube_video {
        padding: 24px 0;
    }

    .s_hall_youtube_video_inner {
        border-radius: 16px;
    }

    .s_hall_youtube_video_play {
        width: 56px;
        height: 56px;
    }

    .s_hall_youtube_video_play svg {
        width: 22px;
        height: 26px;
    }
}
