.tours-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Вертикальный отступ между верхним и нижним баннерами */
.tours-carousel.small-banners {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 1rem;
    width: 100%;
    background: #fff; /* Белый фон вместо серого */
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    padding: 0;
    background: #fff; /* Добавлено: белый фон трека */
}

.carousel-slide {
    flex: 0 0 calc((100% - 4rem) / 3);
    box-sizing: border-box;
}

.tour-banner {
    width: 100%;
    height: 18rem;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(153, 153, 153, 0.49); /* только вниз, без размытия в стороны */
    display: flex;
    align-items: center;
    background: #fff;
}

.banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.banner-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: #fff;
    box-sizing: border-box;
}

.banner-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.banner-content p {
    margin: 0;
    font-size: 16px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    line-height: 1.4;
}

/* Круглые голубые кнопки — совпадают с большими кнопками слайдера */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #2e75b8;
    border: 2px solid #2e75b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
    padding: 0;
    line-height: 28px;
    padding-bottom: 2px;
}

.carousel-btn:hover {
    background: #2e75b8;
    color: #fff;
}

.carousel-btn.prev { left: 0.3rem; }
.carousel-btn.next { right: 0.3rem; }

@media (max-width: 992px) {
    .carousel-slide { flex: 0 0 calc((100% - 2rem) / 2); }
    .tour-banner { height: 25.92rem; }
    .banner-content h3 { font-size: 14px; }
    .banner-content p { font-size: 11px; }
}

@media (max-width: 640px) {
    .carousel-slide { flex: 0 0 100%; }
    .tour-banner { height: 20.74rem; }
    .banner-content { width: 60%; }
    .banner-content h3 { font-size: 14px; }
    .banner-content p { font-size: 11px; }
}