/* ================= SCOPED: INSTAGRAM SECTION ================= */
.sp-insta {
    position: relative;
    padding: clamp(50px, 6vw, 85px) 0 clamp(40px, 5vw, 70px);
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.sp-insta .main-container {
    position: relative;
}


.sp-insta__head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-family: 'Saira', sans-serif;
    margin-bottom: clamp(24px, 3.5vw, 38px);
    text-align: center;
    flex-wrap: wrap;
}

.sp-insta__label {
    color: #141312;
    font-weight: 500;
}

.sp-insta__handle {
    color: #e85d04;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.sp-insta__handle:hover {
    color: #cf4f00;
    transform: translateY(-2px);
}


.sp-insta__carousel {
    position: relative;
    width: 100%;
    padding: 10px 0 20px 0;
}

.sp-insta__swiper {
    position: relative;
    width: 100%;
    padding: 12px 6px 20px 6px !important;
    margin: -12px -6px -20px -6px !important;
    overflow: hidden !important;
    z-index: 1;
}


.sp-insta__swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    height: auto !important;
    box-sizing: border-box;
}

.sp-insta__swiper .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.sp-insta__card {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    align-self: center;
    border-radius: clamp(22px, 2.5vw, 32px);
    overflow: hidden;
    border: clamp(5px, 0.6vw, 8px) solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    display: block;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    background: #f7f5f2;
}

.sp-insta__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.sp-insta__pic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sp-insta__card:hover .sp-insta__pic {
    transform: scale(1.08);
}


.sp-insta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 21, 23, 0.45);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.sp-insta__card:hover .sp-insta__overlay {
    opacity: 1;
}

.sp-insta__icon-box {
    width: clamp(50px, 5vw, 64px);
    height: clamp(50px, 5vw, 64px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sp-insta__card:hover .sp-insta__icon-box {
    transform: scale(1);
}

.sp-insta__icon {
    width: clamp(32px, 3.5vw, 42px);
    height: clamp(32px, 3.5vw, 42px);
    display: block;
}


.sp-insta__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(24px, 3.5vw, 36px);
}


.sp-insta__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4cfc9;
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.sp-insta__pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 12px;
    background: #e85d04;
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.35);
}


@media (max-width: 768px) {
    .sp-insta {
        padding: 40px 0 35px;
    }

    .sp-insta__head {
        font-size: 20px;
        gap: 8px;
        margin-bottom: 22px;
    }

    .sp-insta__card {
        max-width: 310px; 
    }
}