﻿/* Baden Gourmet 6753 — стили блоков -bg */

/* ===== Halls For Events (BG) ===== */
/* инимальный фикс: только цвет и читаемость текста.
   аскладку карточки оставляем как у темы. */
.hallsForEvents-section.block-halls-forevents-bg .hallsForEvents-content h3,
.hallsForEvents-section.block-halls-forevents-bg .hallsForEvents-content p {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.5);
    opacity: 1 !important;
}

.hallsForEvents-section.block-halls-forevents-bg .hallsForEvents-content h3 {
    font-weight: 600;
}

/* ===== Gallery Mosaic — mobile swiper (<=1023.98px) ===== */
.galleryMosaic-mobile-swiper {
    display: none;
    position: relative;
    overflow: hidden;
}

.galleryMosaic-mobile-swiper .swiper-slide {
    width: min(436px, calc(100vw - 88px));
    max-width: calc(100vw - 88px);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 6px;
}

.galleryMosaic-mobile-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.galleryMosaic-mobile-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.galleryMosaic-mobile-swiper .swiper-navigation {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.galleryMosaic-mobile-swiper .swiper-button-prev,
.galleryMosaic-mobile-swiper .swiper-button-next {
    pointer-events: auto;
    top: 50% !important;
    transform: translateY(-50%);
    opacity: 1 !important;
}

.galleryMosaic-mobile-swiper .swiper-button-prev {
    left: 12px !important;
    right: auto !important;
}

.galleryMosaic-mobile-swiper .swiper-button-next {
    right: 12px !important;
    left: auto !important;
}

@media (max-width: 1023.98px) {
    section.galleryMosaic > .galleryMosaic__top,
    section.galleryMosaic > .galleryMosaic__row {
        display: none !important;
    }
    section.galleryMosaic .galleryMosaic-mobile-swiper {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }
    section.galleryMosaic {
        padding-left: 12px;
        padding-right: 12px;
    }
    section.galleryMosaic .galleryMosaic-mobile-swiper .swiper-button-prev,
    section.galleryMosaic .galleryMosaic-mobile-swiper .swiper-button-next {
        top: 50% !important;
    }
}

