/* Grid layout */
.ig-e0cfbc9c-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.ig-e0cfbc9c-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ig-e0cfbc9c-col-left, 
.ig-e0cfbc9c-col-right {
    width: 27%;
}

.ig-e0cfbc9c-col-center {
    width: 46%;
}

.ig-e0cfbc9c-item {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    border-radius: 4px;
    cursor: pointer;
    background: #000;
}

.ig-e0cfbc9c-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

/* Hover effects */
.ig-e0cfbc9c-heading {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
}

.ig-e0cfbc9c-item:hover img {
    transform: scale(1.08);
    opacity: 0.8;
}

.ig-e0cfbc9c-item:hover .ig-e0cfbc9c-heading {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ig-e0cfbc9c-container {
        flex-direction: column;
        height: auto !important;
    }
    .ig-e0cfbc9c-col {
        width: 100% !important;
        height: 400px;
    }
}
