/* Final Polish Public Styles V2.1 */
.ive-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 32px 0;
    width: 100%;
}

.ive-gallery-item {
    width: 100%;
}

.ive-video-wrapper {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.ive-video-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: none;
}

.ive-video-wrapper iframe {
    width: 100% !important;
    border: none !important;
    display: block;
    min-height: 480px;
}

/* Clear Instagram default margins */
.instagram-media {
    margin: 0 !important;
    width: 100% !important;
    min-width: unset !important;
    border-radius: 0 !important;
}

@media (max-width: 640px) {
    .ive-gallery-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px 0;
    }
}

.ive-no-videos {
    text-align: center;
    padding: 64px 32px;
    background: #f8fafc;
    border-radius: 8px;
    color: #94a3b8;
    border: 3px dashed #e2e8f0;
    font-size: 18px;
    font-weight: 500;
}