/**
 * Swiper styles for Query blocks and Column layouts
 */

/* Base swiper styles */
.swiper,
.swiper-3-slides {
    padding: 0;
    margin: 0 !important;
}

/* Query swiper container */
.query-swiper {
    position: relative;
    margin: 0;
    list-style: none;
    overflow: hidden;
}

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

.query-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Column swiper container */
.column-swiper {
    position: relative;
    overflow: hidden;
}

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

.column-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Group swiper container */
.group-swiper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 5%, rgb(0, 0, 0) 95%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 5%, rgb(0, 0, 0) 95%, rgba(0, 0, 0, 0) 100%);
}

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

.group-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Container positioning */
.wp-block-query {
    position: relative;
}

/* Navigation container at bottom */
.swiper-navigation-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    max-width: var(--wp--style--global--wide-size, 1240px);
    margin-left: auto;
    margin-right: auto;
}

/* Navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    width: 44px;
    height: 44px;
    margin: 0;
    color: var(--wp--preset--color--base);
    background: var(--wp--preset--color--accent-1);
    border-radius: 50%;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
    left: 0;
    right: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--wp--preset--color--accent-4);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
}

/* Responsive styles */
@media (min-width: 1000px) {
    /* .swiper-3-slides .swiper-slide {
        min-width: 600px;
    } */

    .swiper-content {
        width: 50%;
    }
}