/* Videos Section Styles */

.videos-section {
    padding: 6rem 0;
    text-align: center;
}

.videos-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
    text-align: center;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15);
}

.video-wrapper {
    transition: transform 0.4s ease;
}

.video-card:hover .video-wrapper {
    /* transform: scale(1.02); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    background: var(--bg-darker);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.video-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.video-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Podcast Slider Specifics - Fix for Centering and Size */
.podcast-slider {
    padding: 2rem calc(50% - 160px);
    /* Centers the first/last item. 160px is half of 320px width */
    width: max-content;
}

.podcast-slider .video-card {
    flex: 0 0 350px;
    /* Fixed width for slider items */
    width: 350px;
    max-width: 90vw;
    /* Responsive on mobile */
    background: rgba(255, 255, 255, 0.03);
    /* Slight background for Glass effect context */
}

.podcast-slider .video-card.active {
    transform: scale(1.05);
    /* Highlight active item */
    border: 1px solid var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .podcast-slider .video-card {
        flex: 0 0 300px;
        width: 300px;
    }

    .podcast-slider {
        padding: 2rem calc(50% - 150px);
    }
}