.musikkvideo-carousel-wrapper {
    position: relative;
    width: 100%;
}

.musikkvideo-carousel-item {
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
}

@media (max-width: 1024px) {
    .musikkvideo-carousel-item {
        text-align: center;
    }
}

.musikkvideo-carousel-thumbnail {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.musikkvideo-carousel-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.musikkvideo-carousel-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: background-color 0.3s;
}

.musikkvideo-carousel-thumbnail:hover .musikkvideo-carousel-play-button {
    background-color: var(--e-global-color-accent, #ff0000);
}

.musikkvideo-carousel-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.musikkvideo-carousel-artist {
    font-size: 1rem;
    color: var(--e-global-color-text, #666);
}

.musikkvideo-carousel-pagination {
    margin-top: 20px;
    text-align: center;
}

/* Base structural CSS that was missing for this widget but present in the others */
.vc-wrapper-e979546c {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.vc-carousel-container-e979546c {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.vc-carousel-e979546c {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    flex: 1;
}
.vc-carousel-e979546c::-webkit-scrollbar {
    display: none;
}
.vc-card-e979546c {
    flex: 0 0 calc(33.333% - 13.333px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.vc-image-wrap-e979546c {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #eee;
    position: relative;
    cursor: pointer;
}
.vc-image-wrap-e979546c img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.vc-image-wrap-e979546c:hover img {
    transform: scale(1.05);
}

/* Play icon */
.vc-play-icon-e979546c {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
    z-index: 2;
}
.vc-image-wrap-e979546c:hover .vc-play-icon-e979546c {
    background: var(--e-global-color-accent, #e52e2e);
}
.vc-play-icon-e979546c svg {
    width: 30px;
    height: 30px;
    margin-left: 5px; /* Offset to visually center the play triangle */
}

/* Badge System */
.vc-badge-e979546c {
    position: absolute;
    padding: 6px 14px;
    border-radius: 20px; /* Pill shape */
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.badge-style-accent {
    background-color: var(--e-global-color-accent, #e52e2e);
    color: #fff;
}
.badge-style-gold {
    background-color: #f1c40f;
    color: #000;
}
.badge-style-neutral {
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Badge Positions */
.vc-badge-pos-top-left .vc-badge-e979546c { top: 12px; left: 12px; }
.vc-badge-pos-top-right .vc-badge-e979546c { top: 12px; right: 12px; }
.vc-badge-pos-bottom-left .vc-badge-e979546c { bottom: 12px; left: 12px; }
.vc-badge-pos-bottom-right .vc-badge-e979546c { bottom: 12px; right: 12px; }


/* Content */
.vc-content-e979546c {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.vc-date-info-e979546c {
    font-size: 0.85em;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.vc-title-e979546c {
    margin: 0 0 15px;
    font-size: 1.15em;
    line-height: 1.3;
}
.vc-btn-e979546c {
    margin-top: auto;
    display: inline-block;
    align-self: flex-start;
    color: #fff;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
/* Helpers for dynamic alignment from settings */
.vc-content-e979546c[style*="text-align: center"] .vc-btn-e979546c,
.vc-content-e979546c[style*="text-align:center"] .vc-btn-e979546c {
    align-self: center;
}
.vc-content-e979546c[style*="text-align: right"] .vc-btn-e979546c,
.vc-content-e979546c[style*="text-align:right"] .vc-btn-e979546c {
    align-self: flex-end;
}

.vc-btn-e979546c:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Navigation Overlay */
.vc-nav-e979546c {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.vc-carousel-container-e979546c .vc-nav-e979546c {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}
.vc-wrapper-e979546c:hover .vc-carousel-container-e979546c .vc-nav-e979546c {
    opacity: 0.8;
}
.vc-nav-e979546c:hover {
    opacity: 1 !important;
}
.vc-prev-e979546c { left: -20px; }
.vc-next-e979546c { right: -20px; }

/* Navigation Controls (Bottom) */
.vc-nav-controls-e979546c {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
}
.vc-nav-controls-e979546c .vc-nav-e979546c {
    opacity: 1;
    position: static;
    transform: none;
}
.vc-counter-e979546c {
    font-size: 1.1em;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

/* Overlay Lightbox */
.vc-overlay-e979546c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.vc-overlay-e979546c.active {
    opacity: 1;
    pointer-events: auto;
}
.vc-overlay-close-e979546c {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}
.vc-overlay-close-e979546c:hover {
    color: #ccc;
}
.vc-overlay-content-e979546c {
    width: 90%;
    max-width: 1000px;
    position: relative;
}
.vc-iframe-container-e979546c {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.vc-iframe-container-e979546c iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1024px) {
    .vc-card-e979546c {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 768px) {
    .vc-card-e979546c {
        flex: 0 0 calc(100% - 20px);
    }
}