/* Instagram Widget - Refined Minimalist Design */
.insta-gallery-section {
    padding: 70px 0 80px 0;
    background-color: #fbfcfd;
}

/* Minimalist Section Header */
.insta-header-minimal {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.insta-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: #031f42;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    margin-bottom: 14px;
}

.insta-badge-pill i {
    font-size: 15px;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insta-badge-pill:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    color: #031f42;
}

.insta-title-minimal {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.insta-desc-minimal {
    font-size: 15px;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.insta-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.insta-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #edf2f7;
}

.insta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

        .insta-media-wrapper {
            position: relative;
            width: 100%;
            padding-top: 100%;
            /* 1:1 Kare En-Boy Oranı */
            background-color: #031f42;
            overflow: hidden;
        }

        .insta-media-wrapper img,
        .insta-media-wrapper video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .insta-card:hover .insta-media-wrapper img {
            transform: scale(1.05);
        }

        .insta-type-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(3, 31, 66, 0.75);
            color: #ffffff;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            backdrop-filter: blur(4px);
            z-index: 2;
        }

        .insta-overlay {
            position: absolute;
            inset: 0;
            background: rgba(3, 31, 66, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 3;
        }

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

        .insta-overlay i {
            color: #ffffff;
            font-size: 32px;
        }

        .insta-content {
            padding: 16px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        .insta-caption {
            font-size: 13.5px;
            line-height: 1.5;
            color: #4a5568;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .insta-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 10px;
            border-top: 1px solid #edf2f7;
            font-size: 12px;
            color: #a0aec0;
        }

        .insta-footer a {
            color: var(--theme-blue, #031f42);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: color 0.2s ease;
        }

        .insta-footer a:hover {
            color: #1a73e8;
        }

        /* Tablet Görünümü */
        @media (max-width: 991px) {
            .insta-gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }

        /* Mobil Görünümü */
        @media (max-width: 575px) {
            .insta-gallery-grid {
                grid-template-columns: 1fr;
            }
        }