/* ============================================================
   carousel.css — модуль карусели (index / index_en)
   ============================================================ */
.carousel-inner {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    overflow: hidden;
}
.carousel-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 992px) {
    .carousel-item img { height: 260px; }
}
@media (max-width: 576px) {
    .carousel-item img { height: 220px; }
}

/* ============================================================
   КАРУСЕЛЬ С ТЕКСТОМ — текст слева, картинка справа
   (как в исходном варианте old_index.html / old_index_en.html)
   ============================================================ */
/* Текстовый блок БЕЗ подложки — фон прозрачный (как в исходнике) */
.carousel-hero .carousel-hero-text {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.carousel-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}
.carousel-hero-desc {
    color: #CCC6C0;
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 20px;
}
/* Кнопка — тот же стиль, что и в карточках (.btn-readmore), выровнена вправо */
.carousel-hero-text .btn-readmore {
    align-self: flex-end;
    margin-top: 8px;
}
