/* ==========================================================================
   Modul: Tutorial-Videos
   Member-Area Layout mit Sidebar
   ========================================================================== */

.ofma-dashboard__main--videos {
    padding: 1.5rem;
    overflow-y: auto;
}

.ofma-videos-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Header */
.ofma-dashboard__main--videos .page-header {
    margin-bottom: 2rem;
}
.ofma-dashboard__main--videos .page-header__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem;
}
[data-theme="dark"] .ofma-dashboard__main--videos .page-header__title { color: #f1f5f9; }

.ofma-dashboard__main--videos .page-header__subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}
[data-theme="dark"] .ofma-dashboard__main--videos .page-header__subtitle { color: #94a3b8; }

/* Video Grid */
.ofma-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1199px) { .ofma-videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .ofma-videos-grid { grid-template-columns: 1fr; } }

.ofma-video-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ofma-video-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .ofma-video-card {
    background: #1e293b;
    border-color: #334155;
}
[data-theme="dark"] .ofma-video-card:hover {
    border-color: #475569;
    box-shadow: none;
}

/* Video Placeholder */
.ofma-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f8fafc;
    border-bottom: 2px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: border-color 0.2s ease;
}
.ofma-video-card:hover .ofma-video-placeholder {
    border-color: #cbd5e1;
}
[data-theme="dark"] .ofma-video-placeholder {
    background: #0f172a;
    border-color: #334155;
}

.ofma-video-placeholder__icon {
    font-size: 2rem;
    color: #14b8a6;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ofma-video-placeholder__text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}
[data-theme="dark"] .ofma-video-placeholder__text { color: #94a3b8; }

/* Card Body */
.ofma-video-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.25rem 1.25rem 0.5rem;
    line-height: 1.4;
}
[data-theme="dark"] .ofma-video-card__title { color: #f1f5f9; }

.ofma-video-card__desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 1.25rem 1.25rem;
}
[data-theme="dark"] .ofma-video-card__desc { color: #94a3b8; }

/* Hint */
.ofma-videos-hint {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #94a3b8;
}
