#load-more {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
    display: block;
}

* { box-sizing: border-box; }

#post-container {
    /*background: #DDD;*/
    height: 75%; /* inherit height from body */

}






/*YouTube*/


/* --- Banner (Consent-Hinweis) --- */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ccc;
    padding: 1rem;
    display: none; /* Standard: ausgeblendet, wird später eingeblendet */
    z-index: 9999;
}
#consent-banner p {
    margin-top: 0;
}
#consent-banner button {
    margin-right: 0.5em;
}

/* --- Video-Container (Responsiv) --- */
.youtube-video {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding-bottom: 56.25%; /* 16:9 */
    background-color: #000;
    overflow: hidden;
    margin: 1em 0;
}
.youtube-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.youtube-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
    text-align: center;
    padding: 0 1em;
}
.youtube-overlay:hover {
    background: rgba(0,0,0,0.7);
}
.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Zahnrad-Button (Einstellungen) --- */
#settings-button {
    display: none; /* Wird nur gezeigt, wenn consent = accepted */
    position: fixed;
    top: 1em;
    right: 1em;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 9999; /* über allem */
}
#settings-button:hover {
    color: #000;
}

/* --- Panel für Widerruf --- */
#video-settings-panel {
    display: none;
    position: fixed;
    top: 3.5em;
    right: 1em;
    padding: 1em;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 220px;
    z-index: 9999;
}
#video-settings-panel label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
#video-settings-panel input[type="checkbox"] {
    margin-right: 0.5em;
}
