/* Media Component Styles */
.svx-card .flexible-media-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.svx-card .flexible-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.svx-card .flexible-media-auto:hover .flexible-media-image {
    transform: scale(1.05);
}

/* Video detection overlay */
.svx-card .flexible-media-auto::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.svx-card .flexible-media-auto.video-detected::after {
    opacity: 1;
    background: rgba(0,0,0,0.3);
}

.svx-card .flexible-media-auto.video-detected::before {
    content: '\f04b';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    z-index: 1;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .svx-card .flexible-media-auto.video-detected::before {
        font-size: 1.5rem;
    }
}
