.mmd-audio * {
    box-sizing: border-box
}

.mmd-audio {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%
}


/* Player open */

.mmd-play {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    border: none;
    background: var(--e-global-color-primary);
    cursor: pointer;
    flex: 0 0 42px
}

.mmd-play .bars {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.mmd-play .bars i {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--e-global-color-secondary);
}

.mmd-play .tri {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid var(--e-global-color-secondary);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    display: none
}

.mmd-audio.paused .mmd-play .bars {
    display: none
}

.mmd-audio.paused .mmd-play .tri {
    display: block
}

.mmd-time {
    min-width: 48px;
    text-align: center;
    opacity: .95
}

.mmd-track {
    position: relative;
    height: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .55);
    flex: 1;
    cursor: pointer;
    outline: none
}

.mmd-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #2bdacb;
    border-radius: 6px;
    transition: width .08s linear
}

.mmd-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0b2d31;
    left: 0%
}

.mmd-track:focus {
    box-shadow: 0 0 0 3px rgba(11, 45, 49, .2)
}

.mmd-like{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0 !important;
    background: none !important;
}

.mmd-like::before{
    content: url("/wp-content/uploads/2025/12/ico_like_color.svg");
    display: block;
    line-height: 0;
    width: 30px;
    height: 30px;
    position: absolute;
}

.mmd-like.is-active::before{
    content: url("/wp-content/uploads/2025/12/ico_like_active_color.svg");
}

@media (max-width: 520px) {
    .mmd-time {
        display: none
    }
}

/* Audio locked Hinweis */

.mmd-audio-locked{
    width:100%;
    padding-left: 10px;
}

.mmd-audio-locked-inner{
    display:grid;
    gap:.2rem  .5rem;;
}

/* Jede Zeile: Text links, Button rechts */
.mmd-locked-line{
    display:grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap:.2rem .5rem;
    align-items:center;
}

.mmd-locked-line .button-link{
    justify-self:end;
    text-decoration: none;
}
.mmd-locked-line a {
    text-decoration: underline;
}

.mmd-track {
    background-color: #fff !important;
}
.mmd-audio-locked {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Optional: auf Desktop alles in einer Reihe lassen? */
@media (min-width: 769px){
    .mmd-audio-locked-inner{
        display:grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Desktop: alles wieder in einer Zeile nebeneinander */

@media (min-width: 1024px) {
    .mmd-audio-locked-inner {
        display: flex !important;
        align-items: center !important;
    }
}