﻿.social-feed-section {
    padding: 0;
    background: transparent;
}
.social-feed-youtube {
    background: linear-gradient(135deg, #1a3a52 0%, #0d2438 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    border: 4px solid #2563eb;
    border-radius: 24px;
    margin: 2rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.social-feed-youtube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.social-feed-youtube .container {
    position: relative;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-family: var(--font-display, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-header .section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}
.social-feed-youtube .section-header h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.social-feed-youtube .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}
.social-feed-youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.social-feed-youtube-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #2563eb;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.social-feed-youtube-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
    z-index: 1;
}
.social-feed-youtube-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.5);
}
.social-feed-youtube-card:hover::before {
    opacity: 1;
}
.youtube-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    background: #000000;
    overflow: hidden;
    display: block;
}
.youtube-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-feed-youtube-card:hover .youtube-thumbnail img {
    transform: scale(1.05);
}
.youtube-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 70px;
    z-index: 10;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
    pointer-events: none;
}
.youtube-play-overlay svg {
    width: 100%;
    height: 100%;
    display: block;
}
.social-feed-youtube-card:hover .youtube-play-overlay {
    transform: translate(-50%, -50%) scale(1.15);
}
.youtube-info {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
}
.youtube-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 300ms ease;
}
.social-feed-youtube-card:hover .youtube-title {
    color: #60a5fa;
}
.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 4rem 0;
}
.social-feed-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 300ms ease;
}
.social-feed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.social-feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.social-feed-label {
    font-weight: 600;
    color: #0a2540;
}
.social-feed-link {
    color: #007fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 200ms ease;
}
.social-feed-link:hover {
    color: #0066cc;
}
.social-embed {
    position: relative;
    width: 100%;
}
.social-embed iframe {
    width: 100%;
    height: 520px;
    border: none;
}
@media (max-width: 1024px) {
    .social-feed-youtube-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .social-feed-youtube {
        padding: 3rem 0;
    }
    .social-feed-youtube-grid {
        gap: 1.5rem;
    }
    .youtube-play-overlay {
        width: 80px;
        height: 56px;
    }
    .youtube-info {
        padding: 1.5rem;
    }
    .youtube-title {
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .social-feed-youtube {
        padding: 2.5rem 0;
        margin: 1.5rem 0;
    }
    .social-feed-grid {
        grid-template-columns: 1fr;
    }
    .youtube-play-overlay {
        width: 70px;
        height: 49px;
    }
}
