/* Nina Nolte Video Gallery - WordPress/Elementor Compatible CSS */

.nina-video-gallery {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.nina-video-gallery .gallery-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.nina-video-gallery .gallery-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.nina-video-gallery .gallery-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.nina-video-gallery .gallery-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.nina-video-gallery .back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.nina-video-gallery .back-link:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
}

.nina-video-gallery .gallery-content {
    padding: 30px;
}

.nina-video-gallery .intro-text {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.nina-video-gallery .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.nina-video-gallery .video-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: white;
}

.nina-video-gallery .video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.nina-video-gallery .video-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

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

.nina-video-gallery .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nina-video-gallery .play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 3px;
}

.nina-video-gallery .video-info {
    padding: 15px;
}

.nina-video-gallery .video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
    margin-top: 0;
}

.nina-video-gallery .video-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.nina-video-gallery .video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #888;
}

.nina-video-gallery .video-date {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nina-video-gallery .gallery-header h2 {
        font-size: 2rem;
    }
    
    .nina-video-gallery .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nina-video-gallery .gallery-content {
        padding: 20px;
    }
    
    .nina-video-gallery {
        padding: 10px;
    }
}

/* Elementor Compatibility */
.elementor-widget-container .nina-video-gallery {
    padding: 0;
}

.elementor-widget-container .nina-video-gallery .gallery-container {
    box-shadow: none;
    border-radius: 0;
}

/* WordPress Theme Compatibility */
.wp-block-group .nina-video-gallery,
.wp-block-column .nina-video-gallery {
    padding: 0;
}

/* Shortcode specific styling */
.nina-video-shortcode {
    margin: 20px 0;
}
