/* ========================================
   홍보영상 / 학술제작물 페이지
   ======================================== */

.vd-section {
    background: #fff;
    padding: 48px 0 96px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.vd-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 60px;
    background: #fff;
    border-radius: 30px 30px 0 0;
}
.vd-section .container { position: relative; z-index: 1; }

/* ===== 그리드 ===== */
.vd-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== 좌측 플레이어 ===== */
.vd-player-wrap { }

.vd-player {
    width: 100%;
    margin-bottom: 22px;
}
.vd-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.vd-player-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.vd-player-frame iframe {
    width: 100%; height: 100%;
    border: 0;
}
.vd-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 76px; height: 76px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: #c8102e;
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.vd-play-btn:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.vd-player-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}
.vd-player-date {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 14px;
}
.vd-player-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
}

/* ===== 우측 리스트 ===== */
.vd-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 4px;
}
.vd-list::-webkit-scrollbar {
    width: 6px;
}
.vd-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.vd-list-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
}
.vd-list-item:hover {
    background: #f7f3ee;
}
.vd-list-item.active {
    border-color: #c8102e;
    background: #fff5f6;
}

.vd-list-thumb {
    width: 96px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
}
.vd-list-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.vd-list-info { min-width: 0; }
.vd-list-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vd-list-date {
    font-size: 0.78rem;
    color: #999;
}

/* 빈 상태 */
.vd-empty {
    text-align: center;
    padding: 80px 0;
    color: #999;
}
.vd-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

/* ===== 반응형 ===== */
@media (max-width: 991px) {
    .vd-grid { grid-template-columns: 1fr; gap: 28px; }
    .vd-list { max-height: none; }
}
@media (max-width: 575px) {
    .vd-list-item { grid-template-columns: 80px 1fr; }
    .vd-list-thumb { width: 80px; }
    .vd-play-btn { width: 56px; height: 56px; font-size: 1.6rem; }
}
