.cms-section {
    position: relative;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-padding-sm {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-padding-lg {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-my-0 { margin-top: 0; margin-bottom: 0; }
.section-my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.section-my-5 { margin-top: 3rem; margin-bottom: 3rem; }

@media (max-width: 767.98px) {
    .section-padding {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .section-padding-lg {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

/* ─── Gallery: Swiper slider ─── */

/* Left padding mirrors Bootstrap container alignment; overflow visible for right-side peek bleed */
.gallery-swiper {
    padding-left: max(1rem, calc((100vw - 1320px) / 2 + 1rem)) !important;
    padding-bottom: 2.5rem;
    overflow: visible;
}

.gallery-swiper__slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Dot pagination */
.gallery-swiper__pagination .swiper-pagination-bullet {
    background: #555;
    opacity: 1;
}

.gallery-swiper__pagination .swiper-pagination-bullet-active {
    background: var(--jm-color-orange);
}

@media (max-width: 767.98px) {
    .gallery-swiper {
        padding-left: 1rem !important;
    }
}

/* ─── Event: Swiper slider ─── */

.event-swiper {
    padding-left: max(1rem, calc((100vw - 1320px) / 2 + 1rem)) !important;
    overflow: visible;
}

.event-swiper__slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

@media (max-width: 767.98px) {
    .event-swiper {
        padding-left: 1rem !important;
    }
}

/* ─── Partner: fixed-width flex grid ─── */

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.partner-grid__item a {
    max-width: 200px;
    height: 80px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-grid__item a img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}   

