.ig-custom-modules {
    width: 100%;
    margin: 2rem auto;
}

.ig-custom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.25rem;
    width: 100%;
}

.ig-custom-item h2,
.ig-custom-description {
    margin: 0 0 1.25rem;
    width: 100%;
    max-width: 50rem;
}

.ig-custom-item h2 {
    letter-spacing: 0;
    text-transform: none;
}

.ig-custom-button {
    margin: 1.875rem auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ig-custom-gallery-desktop,
.ig-custom-gallery-mobile {
    width: 100%;
    padding: 1.5rem 8vw;
}

.ig-custom-swiper {
    width: 100%;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    position: relative;
    aspect-ratio: 1;
    height: auto;
}

.swiper-slide a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ig-custom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1024px) {

    .ig-custom-gallery-desktop,
    .ig-custom-gallery-mobile {
        padding: 0 5vw;
    }
}

@media only screen and (max-width: 767px) {

    .ig-custom-gallery-desktop,
    .ig-custom-gallery-mobile {
        padding: 0;
    }

    .ig-custom-swiper {
        padding: 0 5vw;
    }
}

.hide-on-mobile {
    display: block;
}

.hide-on-tablet-up {
    display: none;
}

@media only screen and (max-width: 767px) {
    .hide-on-mobile {
        display: none;
    }

    .hide-on-tablet-up {
        display: block;
    }
}