/* Training Videos page */
.training-videos-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.training-videos-page .page-header {
    text-align: center;
    margin-bottom: 48px;
}

.training-videos-page .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.training-videos-page .page-description {
    color: var(--text-light, #616161);
    font-size: 1.1rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.video-card {
    background: var(--bg-white, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #1a237e;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper .video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a237e 0%, #0277bd 100%);
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.video-wrapper .video-link-overlay:hover {
    opacity: 0.95;
}

.video-play-icon {
    margin-bottom: 8px;
}

.video-play-icon svg {
    width: 72px;
    height: 72px;
    opacity: 0.95;
}

.video-link-label {
    font-size: 1rem;
    font-weight: 600;
}

.video-wrapper .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
}

.video-content {
    padding: 20px 24px 24px;
}

.video-content h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color, #1a237e);
}

.video-content p {
    font-size: 0.95rem;
    color: var(--text-light, #616161);
    line-height: 1.6;
    margin: 0;
}

.videos-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light, #616161);
}

@media screen and (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .training-videos-page .page-header h1 {
        font-size: 2rem;
    }
}
