.video-container {
    margin-bottom: 0px;
}

[data-media-player] { 
    contain: layout; 
}

.video-container media-player {
    width: 100%;
}
.video-description, .video-transcript, .alternative-links {
    margin-top: 10px;
    display: none;
}
.js .a11y-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.no-js .a11y-content {
    display: block;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}
.video-wrapper media-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.consent-placeholder {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.consent-placeholder button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.consent-placeholder button:hover {
    background-color: #0056b3;
}
noscript  .js .a11y-content {
    position: static;
    width: auto;
    height: auto;
    padding: initial;
    margin: initial;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Video-Informationen Styling */
.vidstack-video-info {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.vidstack-video-info h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

.vidstack-video-info div {
    margin-bottom: 6px;
    color: #495057;
}

.vidstack-video-info div:last-child {
    margin-bottom: 0;
}

.vidstack-video-info strong {
    color: #212529;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

@media (max-width: 768px) {
    .vidstack-video-info {
        font-size: 11px;
        padding: 10px;
    }
    
    .vidstack-video-info h4 {
        font-size: 12px;
    }
    
    .vidstack-video-info .btn {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Button-Styles für FFmpeg-Tools */
.vidstack-video-info .btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 3px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vidstack-video-info .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vidstack-video-info .btn-primary {
    background-color: #007bff;
    color: white;
}

.vidstack-video-info .btn-primary:hover {
    background-color: #0056b3;
    color: white;
}

.vidstack-video-info .btn-success {
    background-color: #28a745;
    color: white;
}

.vidstack-video-info .btn-success:hover {
    background-color: #1e7e34;
    color: white;
}

.vidstack-video-info .btn-info {
    background-color: #17a2b8;
    color: white;
}

.vidstack-video-info .btn-info:hover {
    background-color: #117a8b;
    color: white;
}
