/* Episodes lijst */
.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.episode-item-row {
    display: flex;
    gap: 10px;
    align-items: center;
}


.episode-item-left {
    border-radius: 16px;
    background: #fff;
    height: 300px;
    width: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.42);
}

.episode-item-right {
    width: 300px;
    height: 300px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.episode-item-right img {
    max-width: none;
    width: 300px;
}


iframe {
    height: 300px;
    border-radius: 16px;
    width: 300px !important;
    max-width: fit-content !important
}



.episode-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.episode-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
}

.episode-link.youtube {
    background-color: #FF0000;
    color: #FFFFFF;
}

.episode-link.youtube:hover {
    background-color: #cc0000;
}

.episode-link.apple {
    background-color: #000000;
    color: #FFFFFF;
}

.episode-link.apple:hover {
    background-color: #333333;
}

.episode-link.spotify {
    background-color: #1e8c44;
    color: #FFFFFF;
}

.episode-link.spotify:hover {
    background-color: #1aa34a;
}

/* Media container met play overlay voor lazy loading */
.episode-media-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}

.episode-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease;
}

.episode-media-container:hover .episode-play-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.episode-play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.episode-play-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.episode-play-btn i {
    font-size: 18px;
}

.episode-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.episode-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.episode-thumbnail-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.episode-thumbnail-placeholder span {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

/* Loading state */
.episode-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
}

.episode-loading i {
    font-size: 24px;
}

.episode-loading span {
    font-size: 14px;
    font-weight: 500;
}

/* Player container na laden */
.episode-player {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.episode-player audio,
.episode-player video,
.episode-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Error state */
.episode-error {
    padding: 24px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.episode-error p {
    margin-bottom: 16px;
    color: #666;
}

.episode-error .button {
    background: #007cba;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}

.episode-error .button:hover {
    background: #005a87;
}

/* Episode Image Placeholder - voor wanneer geen afbeelding beschikbaar is */
.episode-image-placeholder {
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.episode-image-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.8;
}



/* Responsive */
@media (max-width: 1024px) {


    .episode-media-container {
        width: 100%;
        height: 180px;
    }

    .episode-item-left {
        width: 100%;
        height: auto !important;
    }


}


/* Responsive */
@media (max-width: 767px) {

    .episode-item-right {
        display: none;
    }

    .episode-item-left {
        height: auto;
    }

    .episode-media-container {
        display: none;
    }

    .episode-item-right img {
        flex-direction: column;
    }
}