.worksolution-video-reel {
    position: relative;
    padding: 8px 0 18px;
    background: transparent;
}

.worksolution-video-reel__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 0 2px 18px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.worksolution-video-reel__track::-webkit-scrollbar {
    display: none;
}

.worksolution-video-reel.is-dragging-range .worksolution-video-reel__track {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.worksolution-video-reel__slide {
    flex: 0 0 clamp(260px, 60vw, 560px);
    scroll-snap-align: start;
}

.worksolution-video-reel__title {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.2;
    color: #1f1f1f;
    font-family: "PingFang SC", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.worksolution-video-reel__card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16 / 9;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.worksolution-video-reel__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.worksolution-video-reel__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.worksolution-video-reel__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.worksolution-video-reel__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    transform: translate(-35%, -50%);
}

.worksolution-video-reel__cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 48px));
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
}

.worksolution-video-reel__controller {
    position: relative;
    width: 260px;
    height: 36px;
    margin: 16px auto 0;
    background: #2b2b2b;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worksolution-video-reel__controller.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.worksolution-video-reel__controller-line {
    position: absolute;
    left: 10%;
    width: 80%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1;
    pointer-events: none;
}

.worksolution-video-reel__controller-thumb {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ffbe00 !important;
    border: none;
    padding: 0;
    display: block;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 2;
    touch-action: none;
}

.worksolution-video-reel__controller-thumb:hover,
.worksolution-video-reel__controller-thumb:focus,
.worksolution-video-reel__controller-thumb:active {
    background-color: #ffbe00 !important;
    box-shadow: none !important;
    outline: none;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
}

.worksolution-video-reel__controller .worksolution-video-reel__controller-thumb:hover,
.worksolution-video-reel__controller .worksolution-video-reel__controller-thumb:focus,
.worksolution-video-reel__controller .worksolution-video-reel__controller-thumb:active {
    background-color: #ffbe00 !important;
    opacity: 1 !important;
}

.worksolution-video-reel__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worksolution-video-reel__modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.worksolution-video-reel__modal-content {
    position: relative;
    z-index: 2;
    width: min(900px, 92vw);
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.worksolution-video-reel__modal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.worksolution-video-reel__modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.worksolution-video-reel__modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

@media (max-width: 768px) {
    .worksolution-video-reel__slide {
        flex-basis: 80vw;
    }
}
