.wp-block-music-playlist {
    .simple-audio-player {
        margin: 0;


        .simp-album {
            align-items: center;

            .simp-title {
                font-size: var(--wp--preset--font-size--regular);
                margin-bottom: 7px;
            }

            .simp-artist {
                font-size: var(--wp--preset--font-size--default)
            }

            .simp-cover {
                border-radius: 12px;
                overflow: hidden;
            }
        }

        ul {
            padding: 20px;
            background: #0e1621;
            margin: 0;

            li {
                padding: 14px 20px;
                background: #0e1621;
                border-radius: 6px;
                font-size: var(--wp--preset--font-size--default);

                &:hover,
                &.simp-active {
                    background-color: #23303e;

                    .simp-source {
                        color: var(--wp--preset--color--link-color);

                    }
                }
            }
        }


    }
}

.simple-audio-player .simp-controls input[type=range] {
    box-sizing: border-box;
}

.simple-audio-player .simp-controls button:not([disabled]):hover {
    background: transparent;
    opacity: 0.7;
}

.simple-audio-player .simp-controls .simp-volume .simp-mute {
    margin-right: 0;
    padding: 0;
    background: transparent !important;
}

.wp-block-cover.alignfull.wp-block-section.wp-block-music-on-apps {
    min-height: auto !important;
}

.wp-block-sticky-playlist button.simp-plause svg path {
    fill: var(--wp--preset--color--dark) !important;
}

.wp-block-sticky-playlist button.simp-plause {
    background: var(--wp--preset--color--light) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    padding: 11px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.simp-volume.flex.flex-align input {
    padding-left: 7px;
}

.simple-audio-player .simp-controls .simp-volume {
    flex: 1;
    margin-left: 30px;
    position: relative;
}

.simple-audio-player .simp-controls .simp-volume .simp-mute {
    padding: 2px 0;
}

/* --- Sticky Playlist Section
-------------------------------------------------------- */
.sticky-playlist-enabled {
    padding-bottom: 78px;

    #to_top_scrollup {
        bottom: 100px;
    }
}

body:has(.wp-block-sticky-playlist) #to_top_scrollup {
    bottom: 100px;
}


.playing .simp-cover>div {
    animation: img_rotate 5s linear infinite
}

@keyframes img_rotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}


.wp-block-sticky-playlist {
    position: fixed;
    bottom: 0;
    width: 100% !important;
    z-index: 100;
    right: 0;
    left: 0;
    margin: 0 !important;
}

.is-root-container .wp-block-sticky-playlist {
    position: static;
    margin: 0 auto !important;
}

.wp-block-sticky-playlist .simp-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wp-block-sticky-playlist .simple-audio-player .simp-controls {
    padding-right: 0;
}

.wp-block-sticky-playlist .simple-audio-player {
    max-width: inherit;
    padding-inline: var(--wp--style--root--padding-right);
    border-radius: 0;
    backdrop-filter: blur(10PX);
    background-color: #17212bc4;

}

.wp-block-sticky-playlist .simp-display .simp-album {
    flex-wrap: nowrap;
    align-items: center;
}

.wp-block-sticky-playlist .simple-audio-player .simp-album {
    padding-left: 0;
    padding-bottom: 0;
    padding-top: 0;
}


.wp-block-sticky-playlist .simple-audio-player .simp-display.simp-hide+.simp-controls {
    padding-left: 0;
}

.wp-block-sticky-playlist .simp-playlist {
    max-height: 0;
    background-color: var(--wp--preset--color--background);
    visibility: hidden;
    opacity: 0;
    // margin-top: -34px;
}

.is-root-container .wp-block-sticky-playlist .simp-playlist {
    max-height: initial;
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}

.wp-block-sticky-playlist .simp-playlist.simp-hide {
    overflow: hidden;
    max-height: 650px;
    padding: 0;
    transition: max-height 0.5s ease-in-out;
    visibility: visible;
    opacity: 1;
    margin-top: 0;
    background-color: transparent;
}

.wp-block-sticky-playlist .simple-audio-player ul li {
    position: relative;
    border-radius: 4px;
}

.wp-block-sticky-playlist .simp-playlist ul {
    padding: 20px;
    background: transparent;
    margin: 0;

    li:hover,
    li.simp-acive {
        background-color: #23303e;
    }
}

.wp-block-sticky-playlist .simple-audio-player .simp-album .simp-cover>div {
    width: 55px !important;
    height: 55px !important;
}

.wp-block-sticky-playlist .simp-player .simp-display.simp-hide {
    display: none;
}


.wp-block-sticky-playlist .simple-audio-player .simp-controls .simp-others .simp-shide .simp-shide-top {
    display: none;
}

.wp-block-sticky-playlist .simp-cover>div {
    transition: 0.5s all;
    border-radius: 50%;
}

.wp-block-sticky-playlist .playing .simp-cover>div {
    border-radius: 50%;
    transition: border-radius 0.5s all;
}


.simple-audio-player ul li {
    position: relative;
    padding: 8px 25px;
}

.simple-audio-player ul li::before {
    content: "";
    border-top: 8px solid transparent;
    border-left: 10px solid var(--wp--preset--color--link-color);
    border-bottom: 8px solid transparent;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
    transition: all 0.4s ease-in-out;
}

.simple-audio-player ul li.simp-active::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


@media screen and (max-width: 782px) {
    .wp-block-sticky-playlist {

        .simple-audio-player .simp-controls .simp-time,
        .simple-audio-player .simp-controls .simp-tracker,
        .simple-audio-player .simp-controls .simp-others .simp-plext,
        .simple-audio-player .simp-controls .simp-others .simp-random,
        .simple-audio-player .simp-controls .simp-volume {
            display: none;
        }

    }
}

/** featured album **/
.wp-block-new-songs {
    .wp-block-image {
        margin: 0;

        img {
            width: 100% !important;
        }
    }

    .song-lists {

        ol {
            margin-left: 20px;

            li {
                margin-bottom: 16px;
                font-size: var(--wp--preset--font-size--body-default);

                a {
                    text-decoration: none;
                }

                strong {
                    font-weight: 500
                }
            }
        }

    }

    .wp-block-audio {
        margin: 0;
    }

    .simp-others,
    .simp-playlist,
    .simple-audio-player .simp-display {
        display: none;
    }

    .wp-block-fse-pro-playlist.alignnone {
        margin: 0;
    }

    .simple-audio-player {
        border-radius: 0;
        max-width: 100%;
    }

}

/** Advanced Playlists CSS **/
.wp-block-advanced-playlist {
    .wp-block-fse-pro-advanced-playlist .wrapper .content .topContent .musicGroups .swiper-pagination .swiper-pagination-bullet {
        background-color: transparent !important;
        border-radius: 0;

        &.swiper-pagination-bullet-active {
            background-color: var(--wp--preset--color--secondary) !important;
        }
    }

    .is-style-studio .wrapper .content .bottomContent {
        background-color: transparent;
    }

}

@media screen and (min-width: 1024px) {

    .is-style-studio .wrapper .content .studio-bottomContent {
        width: 100%;
    }
}

.wp-block-fse-pro-advanced-playlist .wrapper .content .topContent .musicGroups .swiper-pagination .swiper-pagination-bullet {
    background-color: transparent !important;
}

.is-style-studio .wrapper .content .middleContent .albumContent:before {
    opacity: 0.5;
}

.is-style-studio .wrapper .content .topContent {
    border: none;

    .swiper-pagination-bullet {
        border-radius: 0 !important;
        position: relative;

        .active-song-icon {
            background: transparent;
        }

        &::before {
            width: 100%;
            height: 1px;
            content: '';
            background-color: var(--wp--preset--color--light);
            position: absolute;
            bottom: 0;
            left: 0;
            opacity: 0.1;
        }
    }
}

.wp-block-fse-pro-advanced-playlist .wrapper .content .middleContent .albumContent .artist-details .songName {
    margin-bottom: 7px;
}

.simple-audio-player .simp-album .simp-artist {
    font-size: 90%;
    color: #a2a7ac;
}

.is-style-studio .wrapper .content .middleContent .albumContent .artist-details {
    padding: 30px;
}

.audio-attributes {
    font-size: var(--wp--preset--font-size--body-default);
}

.artist-desc .songName {
    margin: 0 0 5px;
    font-size: var(--wp--preset--font-size--body-default);
    font-weight: 500;
}

.is-style-studio .wrapper .content .topContent .musicGroups .swiper-pagination .song-wrap .artistName {
    font-size: 14px;
    opacity: 0.7;
}

.advanced-audio-player .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    color: var(--wp--preset--color--link-color);
}



.wp-block-fse-pro-advanced-playlist .wrapper .content .icon {
    background-color: transparent;
    border-radius: 50%;
}

.wp-block-fse-pro-advanced-playlist .wrapper .content .bottomContent .player {
    justify-content: center;
}

.is-style-studio .wrapper .content .bottomContent .player {
    gap: 30px;
}

/*** studio layout **/
.wp-block-music-on-apps {
    .is-style-studio {

        .topContent,
        .bottomContent {
            background-color: transparent !important;
        }

        input[type=range].audio-volume-handle,
        input[type=range].audio-tracker-handle {
            opacity: 0.3;
        }

        .bottomContent {
            padding-inline: 30px !important;
            background-color: var(--wp--preset--color--dark-gray) !important;
            border-radius: 0 !important;
        }

        .track-wrap {
            position: relative;
            width: 100%;
            padding: 0 45px;
            margin: 0 0 -20px;
        }

        .volume-wrap.icon {
            position: absolute !important;
            top: -46px;
            right: -6px;
        }
    }
}

.advanced-audio-player .swiper-pagination {
    &::-webkit-scrollbar {
        width: 20px !important;
    }

    /* Track */
    &::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px grey !important;
        border-radius: 10px !important;
    }

    /* Handle */
    &::-webkit-scrollbar-thumb {
        background: red !important;
        border-radius: 10px !important;
    }

    /* Handle on hover */
    &::-webkit-scrollbar-thumb:hover {
        background: #b30000 !important;
    }
}

.advanced-audio-player .swiper-pagination .swiper-pagination-bullet:hover {
    color: var(--wp--preset--color--link-color)
}

.advanced-audio-player .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active .play-icon,
.advanced-audio-player .swiper-pagination .swiper-pagination-bullet:hover svg {
    stroke: var(--wp--preset--color--link-color)
}

.advanced-audio-player .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active .artistName,
.advanced-audio-player .swiper-pagination .swiper-pagination-bullet:hover .artistName,
.advanced-audio-player .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active .audio-attributes,
.advanced-audio-player .swiper-pagination .swiper-pagination-bullet:hover .audio-attributes {
    color: var(--wp--preset--color--light) !important;

}


/** Music Section With Intro **/
.wp-block-music-section {
    .wp-block-post-group {
        position: relative;
        padding-left: 50px;

        &:hover .wp-block-image img {
            transform: scale(0.95);
        }

        &:hover .wp-block-image::before {
            opacity: 0.9;
        }

        .wp-block-image {
            position: relative;
            overflow: hidden;

            &::before {
                content: "";
                left: 0;
                bottom: 0;
                height: 70%;
                width: 100%;
                background: #2f3033;
                background: linear-gradient(0deg, rgb(0, 0, 0) 7%, rgba(0, 0, 0, 0) 70%);
                position: absolute;
                z-index: 2;
                position: absolute;
                opacity: 0;
                transition: 0.2s ease-in-out;
                transform: scale(0.95);
            }
        }

        .wp-block-entry-content {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 30px;
            box-sizing: border-box;
            max-width: -webkit-fill-available;
            z-index: 9;

            .wp-block-heading {
                pointer-events: none;
                position: absolute;
                left: -15px;
                bottom: 55px;
                margin-bottom: 10px;
                max-width: 85%;
                opacity: 0.7;
                /* fully defined base state */
                transform: rotate(-90deg) translateX(0px);
                transform-origin: left bottom;

                transition:
                    transform 0.4s ease,
                    color 0s linear 0.2s;
            }

            p {
                color: var(--wp--preset--color--light);
                opacity: 0;

                transition: opacity 0.4s ease;
                transition-delay: 0.4s;

            }
        }

        &:hover .wp-block-entry-content .wp-block-heading {
            /* 👇 FULL hover state */
            transform: rotate(0deg) translateX(45px);
            color: var(--wp--preset--color--light);
            opacity: 1;
        }

        &:hover .wp-block-entry-content p {
            opacity: 1;
        }
    }
}

.wp-single-video .video-thumb-wrapper {
    opacity: 0.1;
}

.wp-single-video .video-play .info-text {
    position: absolute;
    top: 100%;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 24px;
}

.wp-single-video .video-play svg {
    background-color: var(--wp--preset--color--light);
    border-radius: 50%;
}

.wp-single-video .video-play:before {
    content: '';
    background: var(--wp--preset--gradient--horizontal-deep-orange-to-eucalyptus);
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    border-radius: 100%
}

@keyframes glowing {
    0% {
        background-position: 0 0
    }

    50% {
        background-position: 400% 0
    }

    100% {
        background-position: 0 0
    }
}

/** Music Collection with Intro  **/
.music-collection-with-intro .wp-block-intro::before {
    content: "";
    display: block;
    position: absolute;
    width: 60%;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    filter: blur(50px);
    left: 0;
    top: 40%;
    opacity: 0.65;
    transform: translateX(calc(0 * 1px)) scale(1.1);
    mix-blend-mode: soft-light;
}