/* =========================================
   Карусель Swiper (Отдельный модуль)
   ========================================= */
.main-swiper {
    width: 100%;
    height: 400px;
    margin-top: 0px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: 
        0 -15px 20px rgba(211, 47, 47, 0.8),
        0 15px 20px rgba(211, 47, 47, 0.8);
}

/* Градиентная линия сверху */
.main-swiper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to bottom,
        rgba(211, 47, 47, 1) 0%,
        rgba(211, 47, 47, 0.7) 30%,
        rgba(211, 47, 47, 0.3) 60%,
        rgba(211, 47, 47, 0) 100%
    );
    z-index: 100;
}

/* Градиентная линия снизу */
.main-swiper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to top,
        rgba(211, 47, 47, 1) 0%,
        rgba(211, 47, 47, 0.7) 30%,
        rgba(211, 47, 47, 0.3) 60%,
        rgba(211, 47, 47, 0) 100%
    );
    z-index: 100;
}

.main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    position: relative;
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 10;
}

/* Кнопки навигации: явное позиционирование по центру вертикально */
.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d32f2f;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 10;
    margin-top: 0;
}

.main-swiper .swiper-button-next {
    right: 15px;
    left: auto;
}

.main-swiper .swiper-button-prev {
    left: 15px;
    right: auto;
}

.main-swiper .swiper-button-next:after,
.main-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.main-swiper .swiper-button-next:hover,
.main-swiper .swiper-button-prev:hover {
    background: rgba(211, 47, 47, 0.8);
    color: #ffffff;
}

/* Пагинация */
.main-swiper .swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.main-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}

.main-swiper .swiper-pagination-bullet-active {
    background-color: #d32f2f;
    opacity: 1;
}

.content-below-carousel {
    margin-top: 40px;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
}