/* Instagram Feed Styles */
.insta-feed-header {
    text-align: center;
    margin-bottom: 40px;
}

.insta-feed-header a i {
    font-size: 2rem;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.insta-feed-header p i {
    font-size: 1rem;
    /* Smaller size for bell */
    color: var(--accent-color);
    /* Gold bell */
    margin-right: 5px;
    animation: swing 3s ease-in-out infinite;
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(-5deg);
    }
}

.insta-handle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    /* Minimal gap like Insta */
}

.insta-post {
    position: relative;
    aspect-ratio: 1/1;
    /* Square posts */
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    /* Slightly rounded */
}

.insta-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insta-post:hover img {
    transform: scale(1.05);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.insta-post:hover .insta-overlay {
    opacity: 1;
}

.insta-overlay i {
    color: white;
    font-size: 2rem;
}

/* Elfsight / Widget Container Placeholder */
.elfsight-app-placeholder {
    width: 100%;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}