/* 강의 카드 스타일 개선 */
.card-subject {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}

.card-keywords {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.keyword-tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
    border-radius: 8px 8px 0 0;
}

/* 검색 결과 스타일 */
.search-results-header {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #17a2b8;
}

.search-results-header h2 {
    margin: 0;
    color: #495057;
    font-size: 1.3rem;
}

.search-keywords {
    color: #17a2b8;
    font-weight: 600;
}

/* 빈 결과 스타일 */
.no_data {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* 강의 상세 페이지 추가 스타일 */
.lecture-meta-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: #495057;
}

.meta-value {
    color: #212529;
}

/* 반응형 개선 */
@media (max-width: 768px) {
    .card-keywords {
        margin-top: 10px;
    }
    
    .keyword-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .card-subject {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .search-results-header {
        padding: 15px;
    }
    
    .meta-item {
        flex-direction: column;
        gap: 5px;
    }
}
