/* Video Showcase Styles */

.video-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.video-showcase-grid {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.video-showcase-list {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 500px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f5f5f5;
    padding: 0;
}

/* Custom scrollbar for video list */
.video-showcase-list::-webkit-scrollbar {
    width: 8px;
}

.video-showcase-list::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.video-showcase-list::-webkit-scrollbar-thumb {
    background: #4BD190;
}

.video-showcase-list::-webkit-scrollbar-thumb:hover {
    background:  #0A9250;
}

.video-showcase-item {
    background: #ffffff;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.video-showcase-item:hover {
    border-left: 3px solid #4BD190;
}


.video-showcase-item.active {
    border-left: 3px solid #0A9250; 
    background: #f8f8f8;
}


.video-speaker-name {
    font-size: 22px;
    font-weight: 700;
    color: #082C4C;
    margin: 0 0 8px 0;
}

.video-position {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.video-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 25px 0;
}

.video-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
	background: #4BD190 !important;
    color: white;
}
.video-button:focus,
.video-button:active {
    background: #0A9250 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.video-button:hover {
    background: #0A9250 !important;
    transform: translateX(5px);
}


.video-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.video-showcase-player {
    flex: 1;
    width: 70%;
    background: #000;
    position: relative;
    height: 500px;
}

.video-player-container {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-player-container iframe {
    display: block;
    min-height: 100%;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.video-player-container .no-video,
.video-player-container .invalid-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
}

/* Session indicator styles */
.video-session-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-showcase-item.active .video-session-indicator {
    color: #0A9250;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .video-showcase-list {
        width: 40%;
    }
    
    .video-showcase-player {
        width: 60%;
    }
}

/* Tablet styles */
@media (max-width: 968px) {
    .video-showcase-grid {
        flex-direction: column;
        height: auto;
    }
    
    .video-showcase-list {
        width: 100%;
        height: 350px;
        max-height: 350px;
        background: white;
        border-bottom: 2px solid #082C4C;
    }
    
    .video-showcase-player {
        width: 100%;
        height: 450px;
        position: relative;
    }
    
    .video-showcase-item {
        padding: 20px 25px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .video-showcase-container {
        padding: 0;
    }
    
    .video-showcase-list {
        height: 300px;
        max-height: 300px;
    }
    
    .video-showcase-player {
        height: 350px;
    }
    
    .video-showcase-item {
        padding: 15px 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .video-speaker-name {
        font-size: 17px;
        margin-bottom: 5px;
    }
    
    .video-position {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .video-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .video-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .video-button .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
    
    .video-session-indicator {
        font-size: 10px;
        top: 15px;
        right: 15px;
    }
.video-player-container,
    .video-player-container iframe {
        min-height: 300px;
        height: 100%;
        display: block;
    }
.video-showcase-player {
        height: auto;
        min-height: 350px;
    }

    .video-showcase-list {
        overflow-y: scroll;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .video-showcase-list {
        height: 250px;
        max-height: 250px;
    }
    
    .video-showcase-player {
        height: 280px;
    }
    
    .video-showcase-item {
        padding: 12px 15px;
    }
    
    .video-speaker-name {
        font-size: 16px;
    }
    
    .video-position {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .video-description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .video-button {
        padding: 6px 12px;
        font-size: 11px;
        letter-spacing: 0;
    }
    
    /* Hide icon on very small screens */
    .video-button .dashicons {
        display: none;
    }
	
	    .video-player-container,
    .video-player-container iframe {
        min-height: 250px;
        height: 100%;
    }

    .video-showcase-player {
        min-height: 280px;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .video-showcase-list {
        height: 200px;
        max-height: 200px;
    }
    
    .video-showcase-player {
        height: 300px;
    }
    
    .video-showcase-item {
        padding: 10px 15px;
    }
    
    .video-description {
        display: none;
    }
}

/* Loading state */
.video-player-container.loading {
	position: relative;
}

.video-player-container.loading::before {
    content: "Loading, please wait…";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(8, 44, 76, 0.9);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    z-index: 10;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

/* Error state */
.video-player-container .error {
    color: #ff4444;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* Full width mode */
.video-showcase-container.full-width {
    max-width: 100%;
}

.video-showcase-container.full-width .video-showcase-grid {
    height: 100vh;
}