.separator {
    width: 100%;
    height: 4px;
    background-color: #b1def5;
    margin: 20px;
    border-radius: 2px;
}

/* Слайдер */
.image-slider {
    position: relative;
    max-width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 20px;
}

/* Swiper harmonization */
.swiper {
    width: 100%;
    height: 450px; /* Harmonious height for both vertical and horizontal photos */
    border-radius: 10px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .swiper {
        height: 300px;
    }
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


.slides {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}

/* Кнопки навигации */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    font-size: 24px;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

        /* ── ТЁМНЫЕ КАРТОЧКИ ──────────────────────────────────── */
        .location-card {
            background: linear-gradient(145deg, rgba(6,15,38,0.88) 0%, rgba(0,28,62,0.76) 100%);
            border: 1px solid rgba(0,160,255,0.14);
            border-radius: 16px;
            box-shadow: 0 10px 32px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.04);
            backdrop-filter: blur(12px);
            padding: 20px;
            margin-bottom: 20px;
        }

        .location-title {
            font-size: 22px;
            font-weight: bold;
            color: #00d4ff;
            text-align: center;
            margin-bottom: 5px;
            margin-top: -5px;
        }

        .location-content {
            text-align: center;
            padding-top: 5px;
        }

        .location-image {
            width: 100%;
            max-height: 300px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 15px;
        }

        .location-description {
            font-size: 16px;
            color: rgba(255,255,255,0.72);
            margin-bottom: 10px;
        }

        .location-features {
            list-style: none;
            padding: 0;
            margin: 10px 0;
            text-align: left;
            display: inline-block;
        }

        .location-features li {
            font-size: 15px;
            margin-bottom: 5px;
            color: rgba(255,255,255,0.78);
        }

        .location-address {
            font-weight: bold;
            margin-top: 10px;
            color: rgba(255,255,255,0.60);
            font-size: 14px;
        }

        .button.is-info {
            display: block;
            margin: 15px auto 0;
            padding: 10px 15px;
        }

        .route-details {
            display: none;
            background: rgba(0,0,0,0.28);
            border: 1px solid rgba(255,255,255,0.08);
            padding: 15px;
            border-radius: 12px;
            margin-top: 10px;
            line-height: 1.6;
            font-size: 15px;
            color: rgba(255,255,255,0.72);
        }
        .location-button {
            display: block;
            text-align: center;
            margin: 15px auto;
            width: fit-content;
            padding: 12px 20px;
            font-size: 18px;
        }

        .buttons {
            margin-top: 15px;
            margin-bottom: 30px;
            text-align: center;
        }

/* ── КНОПКА «Запись откроется скоро» ──────────────────────
   Глобальный .button перебивает Bulma's is-light.
   Явно стилизуем disabled-состояние на локации.
─────────────────────────────────────────────────────────── */
.location-card .button.is-light[disabled],
.location-card button[disabled] {
    background-color: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.40) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    font-style: italic;
    letter-spacing: 0.5px;
}
.location-card .button.is-light[disabled]:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ── МОБИЛЬНЫЙ LAYOUT ──────────────────────────────────────
   На планшете (769-1023px) три колонки слишком узкие.
   Ниже 1024px — одна карточка в строку.
─────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .columns.is-multiline .column.is-one-third {
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        padding: 0.5rem 0.75rem;
    }
    /* Карточки не шире 600px — смотрятся аккуратнее */
    .location-card {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── TOUCH-СВАЙП ───────────────────────────────────────────
   Swiper по умолчанию уже поддерживает touch.
   Убираем стрелки на мобиле — они мешают скроллу.
─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
    .swiper {
        height: 260px;
    }
    /* Карточка компактнее на узком экране */
    .location-card {
        padding: 14px;
    }
    .location-title {
        font-size: 18px;
    }
    .location-features li {
        font-size: 14px;
    }
}
