@media (min-width: 1400px) {
        .container {
            max-width: 1640px;
            padding:0px;
        }
}

.wp-block-heading {
    display: none;
}

.block-wrapper {
    width: 100% !important;
}

.block-section_wrapper.block__up--4up {
    padding-top: calc(150px* var(--viewport-scale));
}


/* Disabled Button Styles */
button[disabled] {
    background-color: #888888 !important; /* Gray background */
    cursor: not-allowed !important; /* Block cursor */
    opacity: 0.7; /* Slightly transparent to indicate disabled state */
}


.block-section_wrapper {
    min-height: 86vh;
}

#remember_me {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #D0251C;
    display: inline-block;
    position: relative;
}

#remember_me:checked {
    background-color: #D0251C;
}

#remember_me:checked::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* SWIPER GALLERY */

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1640px; /* Increased to accommodate arrows outside */
    margin: 0 auto;
    padding: 0 136px; /* Original desktop padding */
}

.gallery-swiper {
    width: 1368px; /* Original fixed width for desktop */
}

.swiper-slide {
    width: 444px !important; /* Force correct width */
    height: 248px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Remove any default spacing */
}

.gallery-nav {
    position: absolute;
    top: calc(50% - -20px); /* Center precisely using half of the arrow height */
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px!important;
    height: 50px!important;
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}

.gallery-nav img {
    width: 50px!important;
    height: 50px!important;
    display: block; /* Remove any default spacing */
}

.swiper-button-prev {
    top: 60%!important;
}
.swiper-button-next {
    top: 60%!important;
}

/* Media queries only for mobile responsiveness */
@media (max-width: 768px) {
    .gallery-container {
        padding: 0 50px;
    }
    
    .gallery-swiper {
        width: 100%; /* Make responsive on mobile */
    }
    .swiper-button-prev {
        top: 62%!important;
        left: -2%!important;
    }
    .swiper-button-next {
        top: 62%!important;
        right: -2%!important;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        padding: 0 40px;
    }
    
    .gallery-nav {
        width: 40px!important;
        height: 40px!important;
    }
    
    .gallery-nav img {
        width: 40px!important;
        height: 40px!important;
    }
    
    .swiper-slide {
        width: 100% !important; /* Full width on small screens */
    }
}