.carousel {
    padding: 6rem 0;
    overflow-x: hidden;
}

.carousel .container {
    position: relative;
    overflow: visible;
}

.carousel .splide {
    overflow: visible;
    margin: 0;
}

.carousel .splide__track {
    overflow: visible;
}

.splide__slide {
    flex: 0 0 auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
    border-radius: 20px;
    overflow: hidden;
}

.splide__slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.first-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.first-slide-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
}

.first-slide-content svg {
    margin: 0 auto;
}

.first-slide-image {
    flex: 0 0 40%;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.first-slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-slide {
    background-color: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.artist-name,
.initial-subheading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    color: #333;
}

.video-embed {
    max-width: 75%;
    margin: 20px auto 0;
}

.video-embed img {
    border-radius: 20px;
}

.video-embed p {
    margin: 0;
    font-size: 0.9rem;
    color: #444;
}

.infinite-scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.75rem 1.5rem;
    background: #f8f8f8;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.scroll-track {
    display: flex;
    gap: 0.75rem;
    width: fit-content;
}

.track-1 {
    animation: scrollLeft 45s linear infinite;
}

.track-2 {
    animation: scrollLeft 35s linear infinite;
}

.scroll-image {
    flex: 0 0 auto;
    width: 90px;
    height: 125px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.scroll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.infinite-scroll-wrapper::before,
.infinite-scroll-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
    pointer-events: none;
}

.infinite-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f8f8, transparent);
}

.infinite-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f8f8, transparent);
}

.splide__pagination {
    position: static !important;
    margin-top: 2rem !important;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.splide__pagination .splide__pagination__page {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px;
    transition: background-color 0.3s;
    cursor: pointer;
    opacity: 1;
}

.splide__pagination .splide__pagination__page.is-active {
    background-color: #000;
}