﻿.ugc-ig-light {
    background: #fafafa;
    padding: 40px 0;
    border-radius: 20px;
}

.ig-post {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    animation: fadeIn .6s ease;
}

.ig-header {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 10px;
}

.ig-avatar {
    width: 36px;
    height: 36px;
    background: #ccc url('/imgs/avatar-placeholder.jpg') center/cover no-repeat;
    border-radius: 50%;
}

.ig-user {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .9rem;
}

.ig-name {
    font-weight: 600;
}

.ig-time {
    color: #888;
}

/* ÁREA DE MÍDIA FLEXÍVEL */
.ig-media {
    width: 100%;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

    /* automaticamente ajusta tanto 9:16 quanto 16:9 */
    .ig-media img,
    .ig-media video {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

.ig-footer {
    padding: 12px 14px;
}

.ig-icons {
    font-size: .95rem;
    margin-bottom: 5px;
    color: #333;
}

.ig-caption {
    color: #444;
    font-size: .88rem;
    line-height: 1.35;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
