.wp-admin .custom-audio-wrapper{
    max-width: 840px;
    margin: 28px auto;
}
.custom-audio-wrapper{
    padding: 24px;
    background: #24226A;
    border-radius:8px;
    display:flex;
    gap:24px;
    margin-bottom: 24px;
}
/*.custom-audio-wrapper svg.cover-img{
    background: #fff;
}*/
.custom-audio-wrapper svg.cover-mob-img{
    width:100%;
    height:auto;
    display:none;
}
figure.wp-block-audio{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    position: relative;
}
figure.wp-block-audio span{
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    color:#FFFFFFCC;
}
figure.wp-block-audio .duration-container{
    margin-right: 8px;
    min-width:62px;
    display: flex;
    justify-content: space-between;
}
figure.wp-block-audio audio{
}
.custom-audio-wrapper .audio-meta-wrapper{
    width: calc(100% - 124px);
    padding-top:10px;
}
.custom-audio-wrapper .audio-meta-wrapper figcaption{
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    margin-bottom: 16px;
}
figure.wp-block-audio .play-icon{
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-position:center;
    border:none;
    border-radius:50%;
    margin-right: 16px;
    background: none;
    padding: 0;
}
figure.wp-block-audio .play-icon svg{
    width: 40px;
    height: 40px;
}
figure.wp-block-audio .play-icon:hover{
    cursor:pointer;
}
figure.wp-block-audio .play-icon:not(.paused) .play{
    display:none;
}
figure.wp-block-audio .play-icon .pause{
    border-radius: 100%;
}
figure.wp-block-audio .play-icon.paused .pause{
    display:none;
}
#volume-container{
    display: flex;
    align-items: center;
    padding: 5px 0;
    gap:16px;
    margin-left: 32px;
}
#volume-container:hover{
    margin-left: 24px;
}
#volume-container:hover #volume-slider{
    display:block;
}
#volume-container #volume-slider{
    display: none;
    max-width:42px;
    height: 2.5px;
    -webkit-appearance: none;
    background:
            linear-gradient(to right, #e12f11 var(--volume-progress), #e12f11 var(--volume-progress), transparent var(--volume-progress));
}

#volume-slider:focus {
    outline: none;
}
#volume-slider::-webkit-slider-runnable-track {
    max-width:42px;
    height: 2.5px;
    cursor: pointer;
    background: #FFFFFF4D;
}
#volume-slider::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #F55B41;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -2px;
}
#volume-slider:focus::-webkit-slider-runnable-track {
    background: #FFFFFF4D;
}
#volume-slider::-moz-range-track {
    height: 2.5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: #FFFFFF4D;
    border-radius: 50%;
    border: 0px solid #000101;
}
#volume-slider::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #F55B41;
    cursor: pointer;
}
#volume-slider::-ms-track {
    height: 2.5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
#volume-slider::-ms-fill-lower {
    background: #F55B41;
    border: 0px solid #000101;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}
#volume-slider::-ms-fill-upper {
    background: #F55B41;
    border: 0px solid #000101;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}
#volume-slider::-ms-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #F55B41;
    cursor: pointer;
}
#volume-slider:focus::-ms-fill-lower {
    background: #F55B41;
}
#volume-slider:focus::-ms-fill-upper {
    background: #FFFFFF4D;
}
/*.rotate {
    animation: rotate 1.5s ease-in-out forwards;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}*/
#rewind-button{
    border:none;
    width: 24px;
    height: 24px;
    background: none;
    padding:0;
    margin-right: 8px;
}
#rewind-button:hover,
#fast-forward-button:hover{
    cursor:pointer;
}
#rewind-button:hover svg path,
#fast-forward-button:hover svg path{
    fill: #F55B41;
}
#fast-forward-button{
    border:none;
    width: 24px;
    height: 24px;
    background: none;
    padding:0;
}
#mute-icon{
    border:none;
    width: 24px;
    height: 24px;
    background: none;
    padding: 0;
}
#mute-icon .volume-medium,
#mute-icon .volume-low,
#mute-icon .mute{
    display:none;
}
#mute-icon.half-volume .volume-max,
#mute-icon.half-volume .volume-low,
#mute-icon.half-volume .mute,
#mute-icon.low-volume .volume-max,
#mute-icon.low-volume .volume-medium,
#mute-icon.low-volume .mute,
#mute-icon.muted-volume .volume-max,
#mute-icon.muted-volume .volume-medium,
#mute-icon.muted-volume .volume-low{
    display:none;
}
#mute-icon.muted-volume .mute,
#mute-icon.half-volume .volume-medium,
#mute-icon.low-volume .volume-low{
    display:block;
}

#mute-icon svg{
    width: 24px;
    height: 24px;
}
#mute-icon:hover{
    cursor:pointer;
}
#mute-icon:hover svg path{
    stroke: #F55B41;
}
#seek-slider {
    background:
            linear-gradient(to right, #e12f11 var(--playback-progress), #e12f11 var(--playback-progress), transparent var(--playback-progress)), /* Current playback progress */
            linear-gradient(to right, #FFF var(--buffered-progress), #FFF var(--buffered-progress), transparent var(--buffered-progress)); /* Buffered progress */
    -webkit-appearance: none;
    margin: 10px 0;
    width: 55%;
    max-width:368px;
    height: 2.5px;
    margin-right: 32px;
}
#seek-slider:focus {
    outline: none;
}
#seek-slider::-webkit-slider-runnable-track {
    width: 100%;
    max-width: 368px;
    height: 2.5px;
    cursor: pointer;
    background: #FFFFFF4D;
}
#seek-slider::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    background: #F55B41;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -4.3px;
}
#seek-slider:focus::-webkit-slider-runnable-track {
    background: #FFFFFF4D;
}
#seek-slider::-moz-range-track {
    width: 100%;
    height: 2.5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: #FFFFFF4D;
    border-radius: 50%;
    border: 0px solid #000101;
}
#seek-slider::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    background: #F55B41;
    cursor: pointer;
}
#seek-slider::-ms-track {
    width: 100%;
    height: 2.5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
#seek-slider::-ms-fill-lower {
    background: #F55B41;
    border: 0px solid #000101;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}
#seek-slider::-ms-fill-upper {
    background: #F55B41;
    border: 0px solid #000101;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}
#seek-slider::-ms-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    background: #F55B41;
    cursor: pointer;
}
#seek-slider:focus::-ms-fill-lower {
    background: #F55B41;
}
#seek-slider:focus::-ms-fill-upper {
    background: #FFFFFF4D;
}
@media(max-width: 992px){
    .custom-audio-wrapper svg.cover-img{
        display:none;
    }
    .custom-audio-wrapper svg.cover-mob-img{
        display:block;
    }
    .custom-audio-wrapper{
        flex-direction: column;
        align-items: center;
    }
    .custom-audio-wrapper .audio-meta-wrapper{
        width: 100%;
        padding-top:0;
    }
    .custom-audio-wrapper .audio-meta-wrapper figcaption{
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        white-space: pre-wrap;
        overflow: hidden;
    }
    .custom-audio-wrapper figure.wp-block-audio{
        flex-wrap: wrap;
        justify-content: center;
    }
    figure.wp-block-audio .play-icon{
        order: 3;
        margin-right:24px;
        width: 68px;
        height:68px;
    }
    figure.wp-block-audio .play-icon svg{
        width: 68px;
        height:68px;
    }
    figure.wp-block-audio .duration-container{
        order: 1;
        width:100%;
        margin: 0 0 16px;
    }
    figure.wp-block-audio .duration-container #divider{
        display: none;
    }
    .custom-audio-wrapper figure.wp-block-audio #seek-slider{
        order: 0;
        width: 100%;
        margin-right: 0;
        max-width: 100%;
    }
    .custom-audio-wrapper figure.wp-block-audio #seek-slider::-webkit-slider-runnable-track{
        max-width: 100%;
        width: 100%;
    }
    .custom-audio-wrapper figure.wp-block-audio #fast-forward-button{
        order: 4;
    }
    .custom-audio-wrapper figure.wp-block-audio #rewind-button{
        order: 2;
        margin-right:24px;
    }
    .custom-audio-wrapper figure.wp-block-audio #fast-forward-button svg,
    .custom-audio-wrapper figure.wp-block-audio #fast-forward-button,
    .custom-audio-wrapper figure.wp-block-audio #rewind-button svg,
    .custom-audio-wrapper figure.wp-block-audio #rewind-button{
        width:44px;
        height:44px;
    }
    figure.wp-block-audio #volume-container{
        display: none;
    }
}