span.list-with-gallery__item-number {
    display: block;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    font-size: var(--font-size-normal);
    justify-content: center;
    background: var(--color);
    color: white;
    font-weight: 500;
}
h3.list-with-gallery__item-header {
    margin: 0;
    font-size: var(--font-size-h6);
    font-weight: 500;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.list-with-gallery__item-description {
    margin-bottom: 20px;
}

.list-with-gallery__gallery-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}




/* Grid layout for desktop */
.list-with-gallery__gallery-grid {
    display: grid;
}

@media screen and (min-width: 992px) {
    .list-with-gallery__gallery-grid .swiper-pagination,
    .list-with-gallery__gallery-grid .swiper-button-prev,
    .list-with-gallery__gallery-grid .swiper-button-next {
        display: none;
    }
    
.list-with-gallery__gallery-grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    width: 100%;
    gap: 10px;
}

}



/* Swiper for mobile */
@media (max-width: 991px) {
    .list-with-gallery__gallery-grid {
        display: block;
    }
    
    .list-with-gallery__gallery-grid .swiper-pagination {
        position: relative;
        margin-top: 0;
    }
    
    .list-with-gallery__gallery-grid .swiper-button-prev,
    .list-with-gallery__gallery-grid .swiper-button-next {
        color: var(--swiper-navigation-color, #000);
    }
}

.list-with-gallery__lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: background 0.3s;
    z-index: 10000;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.list-with-gallery__items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}