.audio-header {
    text-align: left;
    margin-bottom: 1px;
    font-size: 14px;
    font-family: 'Josefin Sans'; 
    font-weight: 600; 
}


.audio-player-container {
    display: flex;
    align-items: center;
    border-radius: 8px;
    background-color: #f2f2f2;
    padding: 0px; 
    border: 1px solid #d3d3d3; 
}

.audio-play-icon {
    width: 60px; 
    height: 60px; 
    background-color: #C62641;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px 0 0 8px;
    color: white;
    margin-right: 15px; 
}
 
.audio-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
    font-family: 'Josefin Sans'; 
    font-weight: 600; 
    font-size: 18px; 
    font-weight: bold; 
    justify-content: space-between;
}

.audio-progress-bar {
    background-color: #747474;
    flex-grow: 1;
    height: 5px;
    border-radius: 5px;
    margin: 0 20px;
    /*margin: 0 25px;*/
    position: relative;
    width: calc(100% - 120px); 
    z-index: 1;
    position: relative;
    cursor: pointer;
}

.audio-progress {
    background-color: #C62641;
    width: 20%;
    height: 100%;
    border-radius: 5px;

}


.volume-slider {
    display: none; /* Versteckt den Lautstärke-Slider standardmäßig */
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: #505050;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s; 
    margin-right: 10px;
}




.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #C62641; /* Rot */
    cursor: pointer;
    border-radius: 50%;
}

.volume-slider::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #C62641; /* Rot */
    cursor: pointer;
    border-radius: 50%;
}



.audio-container {
    width: 100%;
    /*margin-bottom: 10px !important;*/
    /*margin-bottom: 40px;*/
    /*margin-bottom: calc(40px - (12.5px/2));*/
    margin-bottom: calc(50px - 5px);
}

.volume-control i.fa {
    font-size: 28px; 
    margin-right: 10px;
}

.fa {
 
    font-size: 28px !important;

}

.audio-pointer {
    background-color: #C62641; /* Rote Farbe für den Pointer */
    width: 15px; /* Breite des Pointers */
    height: 15px; /* Höhe des Pointers */
    position: absolute; /* Absolute Positionierung innerhalb des Fortschrittsbalkens */
    left: -1.5%; /* Startposition des Pointers */
    top: -5.5px; /* Zentriert den Pointer vertikal */
    border-radius: 50%; /* Macht den Pointer kreisförmig */
    z-index: 2; /* Stellt sicher, dass der Pointer über dem Fortschrittsbalken liegt */
}

.volume-control .fa-volume-up {
    color: #535353; 
}

.volume-control i {
    vertical-align: middle;
}

.volume-control i:before {
    width: 26px;
    display: inline-block;
}




.audio-info span:not(.slash) {
    /*width: 45px;*/
    /*line-height: 100%;*/
    flex-basis: 7%;
    text-align: center;
}

.audio-info span {
    line-height: 100%;
}

.audio-info .slash {
    margin: 0 5px;
}

@media screen and (max-width: 768px) {
    .audio-info span:not(.slash) {
        flex-basis: 12%;
    }

    .audio-container {
        margin-bottom: calc(40px - 5px);
    }

}

@media screen and (max-width: 430px){
    .audio-header {
        font-size: 12px;
    }
    .audio-play-icon {
        width: 50px;
        height: 50px;
        margin-right: 7px;
    }

    .audio-play-icon i  {
        font-size: 25px !important;
    }

    .audio-info {
        font-size: 14px;
    }

    .audio-info span {
        margin-top: 1px;
    }

    .audio-progress-bar {
        margin: 0 10px 0 12px;
    }


    .audio-pointer {
        left: -5.5%;
    }

    .audio-info .slash {
        margin: 0 2px;
    }

}
/* Abstand zwischen dem gesamten .audio-info-Block und dem Volume-Icon */
.audio-player-container .audio-info {
    margin-right: 12px;
}

/* Download-Link im .audio-info: saubere Zentrierung */
.audio-player-container .audio-info .download-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

/* Icon im Link in Chrome/Safari sichtbar nach unten schieben */
.audio-player-container .audio-info .download-control .fa-download {
    display: block;
    font-size: 28px;
    color: #535353;
    transform: translateY(6px); /* bei Bedarf 4–8px justieren */
}
.download-icon {
    cursor: pointer !important;
    color: #535353;
    font-size: 28px;
    line-height: 0;           /* vermeidet zusätzliche Zeilenhöhe */
    transform: translateY(6px); /* optische Verschiebung nach unten (Safari/Chrome stabil) */
}
.download-icon:hover { opacity: .8; }

