
/* Audio Box - Styles */

.fzt-audio-box {
    border-radius: inherit;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.fzt-audio-box:before,
.fzt-audio-box:after {
    content: '';
    opacity: 0;
    position: absolute;
    -webkit-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
    z-index: 1;
}

.fzt-audio-box:before {
    background-color: rgba(var(--nexun-light-color-rgb), 0.2);
    bottom: 0;
    box-shadow: 0 0 100px rgba(var(--nexun-light-color-rgb), 0.2);
    left: -50%;
    top: 0;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    transform: skew(-20deg);
    visibility: hidden;
    width: 200px;
}

.fzt-audio-box:after {
    background: rgba(var(--nexun-primary-color-rgb), 0.5);
    content: "";
    inset: 0;
}

.fzt-audio-box:hover:before {
    left: 150%;
    opacity: 1;
    visibility: visible;
}

.fzt-audio-box:hover:after {
    opacity: 1;
}

.fzt-audio-box .fzt-audio-thumb,
.fzt-audio-box .fzt-audio-thumb img {
    height: 100%;
}

.fzt-audio-box .fzt-audio-thumb .fzt-audio-title {
    align-items: center;
    bottom: 0;
    color: var(--nexun-light-color);
    display: flex;
    flex-direction: column;
    font-family: "Playfair Display";
    font-size: clamp(2.5rem, 2.475rem + 0.125vw, 2.625rem);
    font-style: italic;
    justify-content: flex-start;
    left: 0;
    line-height: 100%;
    padding: 40px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 2;
}

.fzt-audio-box .fzt-audio-content {
    -webkit-backdrop-filter: blur(11px);
            backdrop-filter: blur(11px);
    background: rgba(var(--nexun-primary-color-rgb), 0.10);
    bottom: 0;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.fzt-audio-box .fzt-audio-content * {
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls {
    background: transparent;
    width: 100%;
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls button:before {
    font-size: 10px;
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time {
    color: var(--nexun-light-color);
    font-family: var(--nexun-body-font-family);
    font-weight: 300;
    padding: 0 0 0 10px;
}

.fzt-audio-box .fzt-audio-content .mejs-inner .mejs-controls .mejs-time-handle {
    border: 5px solid var(--nexun-light-color);
    border-radius: 50%;
    filter: drop-shadow(0px 5px 5px rgba(var(--nexun-dark-color), 0.15));
    top: -4px;
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time-rail .mejs-time-total,
.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time-rail .mejs-time-total span,
.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>a.mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>a.mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: 0 0;
    height: 2px;
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time-rail .mejs-time-total,
.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>a.mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background-color: rgba(var(--nexun-light-color-rgb), 0.2);
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time-rail .mejs-time-total .mejs-time-current,
.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>a.mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background-color: var(--nexun-light-color);
}

.fzt-audio-box .fzt-audio-content .wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time-rail .mejs-time-total .mejs-time-loaded {
    background: transparent;
}

.wp-audio-shortcode.mejs-container .mejs-controls>.mejs-time.mejs-currenttime-container,
.wp-video-shortcode.mejs-container .mejs-controls>.mejs-time.mejs-currenttime-container {
    display: none;
}