/* Body sperren, wenn Modal offen */
body.ssp-modal-open {
    overflow: hidden;
}

/* Overlay */
.ssp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.ssp-modal-content {
	padding: 40px;
}
/* Dialog */
.ssp-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    max-width: 880px;
    width: calc(100% - 32px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    position: relative;
    padding: 24px 24px 20px;
    animation: ssp-modal-fade-in 160ms ease-out;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* Close Button */
button.ssp-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 30px !important;
    line-height: 1;
    cursor: pointer;
    color: #466E6E !important; 
}

/* Innenbereich */
.ssp-modal-inner {
    overflow-y: auto;
    padding-right: 6px;
}

/* Inhalt */
.ssp-modal-title {
    margin-top: 0;
    margin-bottom: 12px;
	font-family: "Playfair Display", Sans-serif;
    font-size: 2rem;
    font-weight: 400;    
	color: #466e6e; /* ZfS-dunkel */
}

.ssp-modal-body p {
    margin-bottom: 0.75em;
}

.ssp-modal-body a.button,
.ssp-modal-body .button {
    margin-top: 12px;
}

/* Animation */
@keyframes ssp-modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .ssp-modal-dialog {
        padding: 20px 18px 16px;
        border-radius: 14px;
    }
	.ssp-modal-content {
		padding: 10px;
	}
    .ssp-modal-title {
        font-size: 1.2rem;
    }
}

.zfs-audio-player {
    margin-top: 16px;
    margin-bottom: 8px;
}

.zfs-audio-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #233C5A; /* ZfS dunkel */
    font-size: 0.95rem;
}

.zfs-audio-player audio {
    width: 100%;
    max-width: 100%;
    outline: none;
}
