.instagram-section {
    padding: 6rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-header {
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-header h2 {
    font-family: 'Abril Fatface', cursive;
    font-size: 3rem;
    color: var(--text-brown, #4a3b32);
    margin-bottom: 0.5rem;
}

.instagram-header p {
    color: var(--primary-teal, #0b3d33);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Bitter', serif;
}

.ig-masonry {
    column-count: 3;
    column-gap: 1rem;
    padding: 0 1.5rem;
}

@media (max-width: 900px) {
    .ig-masonry { column-count: 2; }
}

@media (max-width: 600px) {
    .ig-masonry { column-count: 1; }
}

.ig-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #f4f4f4;
    display: block;
}

.ig-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 61, 51, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.ig-item:hover .ig-overlay {
    opacity: 1;
}

.ig-fallback-alert {
    text-align: center;
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin: 0 auto 2rem;
    max-width: 800px;
    font-family: 'Bitter', serif;
    border: 1px solid #ffeeba;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
