/* Video Icon Styles für Vorstellungsvideo */
.search-item-video {
    display: inline-block;
    margin-top: 10px;
}

.search-item-video a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-item-video a:hover {
    background-color: #f5f5f5;
    border-color: #999;
    color: #000;
}

/* Falls bicon-play-circle nicht existiert, verwenden wir ein alternatives Icon */
.search-item-video i {
    font-size: 20px;
}

.search-item-video i.bicon-play-circle:before {
    content: "▶";
    font-style: normal;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    font-size: 12px;
}

.search-item-video a:hover i.bicon-play-circle:before {
    background-color: #000;
}

/* Styles für Vorstellungsvideo in sed-card */
#vorstellungsvideo {
    margin-bottom: 30px;
}

#vorstellungsvideo h3 {
    margin-bottom: 20px;
}

.vorstellungsvideo-wrap {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.vorstellungsvideo-wrap .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.vorstellungsvideo-wrap .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vorstellungsvideo-wrap .video-placeholder-link {
    display: block;
    text-decoration: none;
    color: white;
}

.vorstellungsvideo-wrap .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.vorstellungsvideo-wrap .video-placeholder:hover {
    opacity: 0.9;
}

.vorstellungsvideo-wrap .video-play-button {
    width: 80px;
    height: 80px;
    background-color: #0066CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.vorstellungsvideo-wrap .video-placeholder:hover .video-play-button {
    transform: scale(1.1);
    background-color: #0052A3;
}

.vorstellungsvideo-wrap .play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 8px;
}

.vorstellungsvideo-wrap .video-source-text {
    font-size: 16px;
    color: white;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.vorstellungsvideo-wrap .video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.vorstellungsvideo-wrap .video-link:hover {
    background-color: #333;
    color: #fff;
}

.vorstellungsvideo-wrap .empty-content-mgs {
    color: #999;
    font-style: italic;
}

/* Style für das Eingabefeld im Edit-Modus */
.sed-edit-form-field[data-name="vorstellungsvideo"] .field-description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}