.audio-slider-wrapper-b335e5ee {
    width: 100%;
    position: relative;
    overflow: visible !important; /* Critical for arrows outside bounds */
}

.audio-swiper-b335e5ee {
    width: 100%;
    padding: 40px 0 60px; /* space for pagination and scale */
    overflow: hidden; /* Swiper needs this to hide slides */
}

.swiper-wrapper {
    align-items: stretch; /* Make all slides the same height */
}

.audio-slide {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    height: auto; /* Changed from 100% to let align-items: stretch work */
    display: flex;
}

.audio-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    width: 100%;
    justify-content: flex-start;
}

/* Media Container for Uniform Sizes */
.media-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

/* Audio Specific Adjustments inside Media Container */
.media-audio-wrapper {
    background: transparent; /* Remove black bg for audio */
    overflow: visible; /* allow visualizer to spill out if needed */
}

/* Audio Visualizer Wrapper */
.audio-visualizer-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-slide-cover,
.audio-visualizer-canvas {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.audio-slide-cover {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.audio-visualizer-canvas {
    /* Transparent background for visualizer */
    background: transparent;
    display: block;
}

.audio-slide-content {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically in remaining space */
}

.audio-slide-title {
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.audio-slide-artist {
    margin: 0 0 15px;
    color: #666;
    font-size: 0.9rem;
}

.audio-slide-player, .video-slide-player {
    width: 100%;
    outline: none;
    border-radius: 8px;
}

.yt-iframe-container {
    width: 100%;
    height: 100%;
}

.youtube-slide-player {
    display: block;
    width: 100%;
    height: 100%;
}

/* Pagination specific styling (short horizontal bars like Press Slider) */
.audio-slider-wrapper-b335e5ee .swiper-pagination-bullet {
    width: 25px;
    height: 4px;
    border-radius: 2px;
    margin: 0 5px !important;
    transition: background-color 0.3s, opacity 0.3s;
}

.audio-slider-wrapper-b335e5ee .swiper-pagination {
    bottom: 10px;
}

.audio-slider-wrapper-b335e5ee .swiper-pagination-bullet-active {
    background: #333;
}

/* Arrows styling (matching Press Slider) */
.as-nav-arrow-b335e5ee {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.as-nav-arrow-b335e5ee.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Hide Swiper default icon arrows */
.as-nav-arrow-b335e5ee::after {
    display: none;
}

/* Minimal Audio Player */
.custom-audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto; /* push to bottom */
    padding-top: 15px;
}

.custom-audio-player.hidden-btn-container {
    display: none; /* Hide bottom player when integrated into visualizer */
}

.hidden-audio-player {
    display: none;
}

.custom-audio-play-btn, .video-play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.custom-audio-play-btn:hover, .video-play-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.custom-audio-play-btn svg, .video-play-button svg {
    fill: #fff;
    transition: fill 0.3s ease;
    display: block;
}

/* Visualizer Integrated Button */
.visualizer-integrated-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.visualizer-integrated-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Video Cover Overlay */
.video-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background: #000;
}

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

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-slide-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}