/* Home Page Layout Styles */

/* Hero Section */
.hero-video-card {
    background: var(--bg-primary, #ffffff);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-video-link:hover .hero-video-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #f0f0f0;
    overflow: hidden;
}

.hero-video-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-video-link:hover .hero-video-img {
    transform: scale(1.05);
}

.hero-video-info {
    padding: 0 8px;
}

.hero-video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f0f0f;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-video-meta {
    font-size: 0.9rem;
}

/* Side Videos */
.side-videos-list {
    display: flex;
    flex-direction: column;
}

.side-video-item {
    display: flex;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.2s ease;
    padding: 8px;
    margin: 0 -8px;
}

.side-video-item:hover {
    background: var(--bg-hover, #f3f4f6);
}

.side-video-thumbnail {
    position: relative;
    width: 168px;
    min-width: 168px;
    height: 94px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.side-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.side-video-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.side-video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f0f0f;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-video-meta {
    font-size: 0.8rem;
}

/* Recommended Section */
.recommended-section {
    margin-top: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-video-title {
        font-size: 1.25rem;
    }
    
    .side-videos-list {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-video-title {
        font-size: 1.1rem;
    }
    
    .side-video-thumbnail {
        width: 120px;
        min-width: 120px;
        height: 68px;
    }
    
    .side-video-title {
        font-size: 0.85rem;
    }
    
    .side-video-meta {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-video-info {
        padding: 0;
    }
    
    .hero-video-title {
        font-size: 1rem;
    }
    
    .hero-video-meta {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem !important;
    }
    
    .side-video-thumbnail {
        width: 100px;
        min-width: 100px;
        height: 56px;
    }
    
    .side-video-info {
        margin-left: 0.75rem !important;
    }
}


