/* ===== HEAD ===== */
.tv-head {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    text-align: center;
}
.tv-head-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #1255a4;
    margin-bottom: 6px;
}
.tv-head-title {
    font-size: 28px;
    font-weight: 900;
    color: #0d1b3e;
    margin-bottom: 6px;
}
.tv-head-desc { font-size: 13px; color: #999; }

/* ===== 추천영상 (Featured) ===== */
.tv-featured {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    background: #0d1b3e;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
}
.tv-featured-thumb { position: relative; }
.tv-play-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.tv-play-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.tv-featured-thumb:hover .tv-play-wrap img { transform: scale(1.04); }
.tv-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}
.tv-play-wrap:hover .tv-play-overlay { background: rgba(0,0,0,0.5); }
.tv-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1255a4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.tv-play-wrap:hover .tv-play-btn { transform: scale(1.12); background: #0e4491; }
.tv-play-btn svg { width: 26px; height: 26px; margin-left: 4px; }
.tv-duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.tv-featured-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1255a4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.tv-featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 32px 32px 4px;
    gap: 14px;
}
.tv-genre-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    width: fit-content;
}
.tv-featured-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    line-height: 1.45;
    margin: 0;
}
.tv-featured-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tv-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.tv-featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.tv-featured-meta svg { width: 13px; height: 13px; }
.tv-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background: #1255a4;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}
.tv-featured-btn:hover { background: #1a7ed8; }
.tv-featured-btn svg { width: 16px; height: 16px; }

/* ===== 필터 + 정렬 ===== */
.tv-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.tv-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.tv-filter-btn {
    background: #f0f4fb;
    color: #666;
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.tv-filter-btn.active,
.tv-filter-btn:hover { background: #1255a4; color: #fff; }

.tv-sort-sel {
    border: 1.5px solid #dde6f5;
    border-radius: 8px;
    font-size: 13px;
    padding: 8px 14px;
    color: #555;
    background: #fff;
    outline: none;
    cursor: pointer;
}

/* ===== 영상 그리드 ===== */
.tv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 32px;
}

/* ===== 영상 카드 ===== */
.tv-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eaeef6;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tv-card:hover {
    box-shadow: 0 8px 28px rgba(18,85,164,0.12);
    transform: translateY(-4px);
}
.tv-card-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.tv-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}
.tv-card:hover .tv-card-thumb img { transform: scale(1.05); }
.tv-card-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.tv-card:hover .tv-card-play { opacity: 1; }
.tv-card-play svg {
    width: 44px;
    height: 44px;
    background: #1255a4;
    border-radius: 50%;
    padding: 12px;
    padding-left: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.tv-card-duration {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.tv-card-type-badge {
    position: absolute;
    top: 8px;
    left: 10px;
    background: #e05c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.tv-card-body { padding: 14px 16px 16px; }
.tv-card-genre {
    display: inline-block;
    background: #e8f0fe;
    color: #1255a4;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.tv-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0d1b3e;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tv-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #bbb;
}
.tv-card-meta span + span::before {
    content: '·';
    margin-right: 8px;
}

/* ===== 더보기 ===== */
.tv-more { text-align: center; padding: 8px 0 24px; }
.tv-btn-more {
    background: #fff;
    border: 1.5px solid #1255a4;
    color: #1255a4;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 52px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.tv-btn-more:hover { background: #1255a4; color: #fff; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
    .tv-grid { grid-template-columns: repeat(2, 1fr); }
    .tv-featured { grid-template-columns: 1fr; }
    .tv-featured-info { padding: 24px 24px 28px; }
}
@media (max-width: 768px) {
    .tv-head-title { font-size: 22px; }
    .tv-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tv-filter-row { flex-direction: column; align-items: flex-start; }
    .tv-play-btn { width: 52px; height: 52px; }
    .tv-play-btn svg { width: 20px; height: 20px; }
    .tv-featured-title { font-size: 16px; }
}
@media (max-width: 480px) {
    .tv-grid { grid-template-columns: 1fr; }
    .tv-featured-info { padding: 20px 18px 22px; }
    .tv-featured-title { font-size: 15px; }
    .tv-featured-desc { display: none; }
}
