.audio-player {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 11px 15px;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    .audio-player {
        margin-top: -16px;
    }
}

/* Türchen: musik.js haengt den Player im Kopf hinter die Unterzeile (.sub-headline) -
   dort mehr Luft nach oben zum Text und keine nach unten (darunter folgt direkt das
   Kopfbild mit eigenem Abstand). Ab 1220px egal, da absolut positioniert. */
@media only screen and (max-width: 1219px) {
    .sub-headline + .audio-player {
        margin-top: 26px;
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 1220px) {
    .audio-player {
        position: absolute !important;
        top: 20px;
        right: 0;
        margin: 0;
        /* !important noetig: das Theme setzt ".advent-seite main div { z-index: 2; }"
        (hoehere Spezifitaet als ".audio-player" allein), das gewinnt sonst gegen jeden
        nicht-!important z-index hier und der Player landet unsichtbar hinter dem
        Yoast-Breadcrumb (#breadcrumbs, z-index:3) - sieht normal aus, Klicks kommen aber
        nicht an. Tritt nur auf Seiten auf, wo Breadcrumb und Player sich ueberlappen
        (z.B. Tuerchen, nicht die Uebersicht - dort ueberschneiden sie sich schlicht nicht). */
        z-index: 10 !important;
    }
}

.volume-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 25px;
    transition: all .2s ease;
}

.js-advent-volume-control {
    opacity: 0;
    pointer-events: none;
    width: 0;
    transition: all .2s ease;
    accent-color: #8C7421;
}

.volume-wrapper:hover .js-advent-volume-control,
.js-advent-volume-control:focus {
    opacity: 1;
    pointer-events: auto;
    width: 70px;
    margin-right: 10px;
}

.audio-title {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #8C7421;
    line-height: 1;
}

.audio-player button {
    width: 26px;
    height: 26px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}

.audio-player button:hover {
    opacity: .7;
}

.audio-player button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
