.main__news-wrp1 {
    position: relative;
    background: #eee;
    color: #000;
    margin: 0;
    padding: 0 0 30px 0;
    overflow: hidden;
}

.main__news-wrp2 {
    position: relative;
    background: #fff;
    color: #000;
    margin: 0;
    padding: 0 0 30px 0;
    overflow: hidden;
}

.mySwiper1 .main__news-ttl,
.mySwiper4 .main__news-ttl {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #565656;
    text-transform: none;
}

.news-container {
    position: relative;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-slider-container {
	position: relative; /* Добавляем это свойство */
    width: 100%;
    max-width: 1350px;
    min-height: 433px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    flex: 1; /* Позволяем контейнеру слайдера занимать всё доступное пространство */
  	display: flex; /* Включаем Flexbox для контейнера слайдера */
  	flex-direction: column; /* Располагаем элементы вертикально */
}

.swiper {
    width: 100%;
    height: 100%;
    flex: 1; /* Позволяем слайдеру занимать всё доступное пространство */
}

.swiper-wrapper {
  display: flex; /* Включаем Flexbox для контейнера слайдов */
}

.swiper-slide {
    position: relative; /* Добавьте относительное позиционирование */
    display: flex; /* Убедитесь, что это flex-элемент */
    flex-direction: column; /* Выравниваем элементы по вертикали */
    justify-content: space-between; /* Распределяем элементы, чтобы занимали равное пространство */
    height: auto; /* Убедитесь, что высота авто, чтобы карточки могли адаптироваться */
    flex: 1 0 auto; /* Позволяет карточкам расти и занимать равное пространство */
    background: #fff;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.1); /* Добавляем тень */
    margin-bottom: 15px;
}

.mySwiper1 .swiper-slide,
.mySwiper2 .swiper-slide,
.mySwiper4 .swiper-slide {
    position: relative; /* Добавьте относительное позиционирование */
    display: flex; /* Убедитесь, что это flex-элемент */
    flex-direction: column; /* Выравниваем элементы по вертикали */
    justify-content: space-between; /* Распределяем элементы, чтобы занимали равное пространство */
    height: auto; /* Убедитесь, что высота авто, чтобы карточки могли адаптироваться */
    flex: 1 0 auto; /* Позволяет карточкам расти и занимать равное пространство */
    background: #fff;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.1); /* Добавляем тень */
    margin-bottom: 15px;
    /*border-radius: 0px;  Устанавливаем радиус скругления углов */
}

.swiper-slide img {
    display: block;
    width: 100%; /* Занимает всю ширину */
    height: 370px;
    object-fit: cover;
}

.mySwiper5 .swiper-slide img {
    display: block;
    width: 100%; /* Занимает всю ширину */
    height: auto;
    object-fit: cover;
}

.mySwiper1 .news-date,
.mySwiper4 .news-date {
    font-size: 16px;
    color: #800000;
    margin-bottom: 10px;
}

.news-header {
    text-align: center;
    padding-bottom: 15px;
}

.news-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выравниваем все содержимое по верхнему краю */
    height: 100%; /* Позволяет занимать всю высоту слайда */
    padding: 10px; /* Отступ для содержимого внутри карточки */
}

.mySwiper1 .news-item,
.mySwiper2 .news-item,
.mySwiper4 .news-item,
.mySwiper5 .news-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выравниваем все содержимое по верхнему краю */
    height: 100%; /* Позволяет занимать всю высоту слайда */
    padding: 0;
}

.news-item-info {
	padding: 20px 25px 10px 25px;
}

.mySwiper1 .news-item-info,
.mySwiper4 .news-item-info {
    padding: 20px 25px 20px 25px;
}

.mySwiper5 .news-item-info {
    padding: 0px;
}

.mySwiper5 .events__date {
    display: inline-block;
    margin-bottom: 15px;
    padding: 5px 10px;
    background-color: #800000;
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.news-item-link {
    display: flex; /* Делаем ссылку flex-контейнером */
    flex-direction: column; /* Содержимое внутри ссылки будет располагаться вертикально */
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Унаследуем цвет от родительского элемента */
    height: 100%; /* Позволяем ссылке занимать всю высоту карточки */
}

.news-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.news-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/*
.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}
*/

.header-slider {
    display: flex; /* Используем Flexbox для выравнивания элементов в одну строку */
    justify-content: space-between; /* Распределяем элементы между собой */
    align-items: center; /* Центрируем элементы по вертикали */
}

.slider-navigation {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
/*    gap: 10px;*/
}

.custom-nav-btn {
/*  width: 40px;
    height: 40px; */
    background-color: #eee;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.custom-nav-btn .icon {
    color: #565656;
}

.custom-prev-btn .icon {
    transform: rotate(180deg);
}

.news-title {
    margin: 0;
    text-transform: uppercase;
    font-size: 25px;
}

.news-title-link {
    text-decoration: none;
    color: inherit;
}

.news-title-link:hover {
    color: rgb(122, 10, 10);
}

@media (max-width: 767px) {
    .news-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .news-slider-container {
        position: relative; /* Добавляем это свойство */
        width: 100%;
        max-width: 1350px;
        min-height: 210px;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        flex: 1; /* Позволяем контейнеру слайдера занимать всё доступное пространство */
        display: flex; /* Включаем Flexbox для контейнера слайдера */
        flex-direction: column; /* Располагаем элементы вертикально */
    }

    .news-header {
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .news-title {
        font-size: 17px;
        text-transform: none;
        font-weight: 500;
        color: #800000;
        text-transform: uppercase;
    }

    .news-title::before {
        display: none;
    }

    .slider-navigation {
        padding-right: 10px;
    }

    .custom-nav-btn {
        width: 40px;
        height: 30px;
    }

    .mySwiper1 .news-date,
    .mySwiper4 .news-date {
    font-size: 14px;
    color: #800000;
    margin-bottom: 10px;
    }

    .mySwiper1 .swiper-slide img,
    .mySwiper2 .swiper-slide img,    
    .mySwiper4 .swiper-slide img {
        display: block;
        width: 100%; /* Занимает всю ширину */
        height: 240px;
        object-fit: cover;
        border-top-left-radius: 10px; /* Скругляем левый верхний угол */
        border-top-right-radius: 10px; /* Скругляем правый верхний угол */
    }

    .mySwiper5 .swiper-slide img {
        display: block;
        width: 100%; /* Занимает всю ширину */
        height: auto;
        object-fit: cover;
    }

    .mySwiper1 .main__news-txt,
    .mySwiper4 .main__news-txt {
        font-size: 14px;
        color: #222;
    }

    .mySwiper1 .swiper-slide,
    .mySwiper2 .swiper-slide,    
    .mySwiper4 .swiper-slide,
    .mySwiper6 .swiper-slide {
        position: relative; /* Добавьте относительное позиционирование */
        display: flex; /* Убедитесь, что это flex-элемент */
        flex-direction: column; /* Выравниваем элементы по вертикали */
        justify-content: space-between; /* Распределяем элементы, чтобы занимали равное пространство */
        height: auto; /* Убедитесь, что высота авто, чтобы карточки могли адаптироваться */
        flex: 1 0 auto; /* Позволяет карточкам расти и занимать равное пространство */
        background: #fff;
        box-shadow: none; /* Без тени */
        margin-bottom: 0px;
        border-radius: 10px; /* Устанавливаем радиус скругления углов */
    }

    .mySwiper5 .swiper-slide {
        position: relative; /* Добавьте относительное позиционирование */
        display: flex; /* Убедитесь, что это flex-элемент */
        flex-direction: column; /* Выравниваем элементы по вертикали */
        justify-content: space-between; /* Распределяем элементы, чтобы занимали равное пространство */
        height: auto; /* Убедитесь, что высота авто, чтобы карточки могли адаптироваться */
        flex: 1 0 auto; /* Позволяет карточкам расти и занимать равное пространство */
        background: #fff;
        box-shadow: none; /* Без тени */
        margin-bottom: 0px;
    }

    .mySwiper2 .tours__info {
        padding: 20px 15px 5px;
        text-align: center;
    }

    .mySwiper2 .tours__ttl {
        display: block;
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 15px;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 16px;
        color: #4f4f4f;
    }

    .mySwiper2 .tours__txt {
        font-size: 14px;
        /* margin-bottom: 10px; */
    }

    .main__news-wrp1 {
        position: relative;
        background: #eee;
        color: #000;
        margin: 0;
        padding: 0 0 20px 0;
        overflow: hidden;
    }

    .mySwiper5 .banner_main__info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0px 25px 20px 25px;
        color: #fff;
        text-align: left;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        z-index: 2;
    }

}

@media (max-width: 480px) {
    .news-title {
        font-size: 17px; /* Уменьшаем размер шрифта для маленьких экранов */
    }
    
    .swiper-button-prev, 
    .swiper-button-next {
        width: 30px; /* Уменьшаем размер кнопок для маленьких экранов */
        height: 30px;
    }
}

.photo-slider-tranding {
    position: relative;
    background: #eee;
    color: #000;
    margin: 0;
    padding: 0 0 30px 0;
    overflow: hidden;
}

.photo-slider-container { 
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

/* Стили для слайдера внутри определенной секции  */

.photo-slider-container .swiper-slide { 
   width: 1100px; /* Ширина одного слайда (измените по необходимости) */
   border-radius: 16px;
   box-sizing: border-box;
   box-shadow: 0 10px 20px #00000080, 0 -1px #ffffff80;
}


.photo-slider-container .photo-slide img {  
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    border-radius: 16px;

}

.photo-slider-container .photo-slide-content { 
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    line-height: 1.25;
    border-radius: 0 0 16px 16px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
}

.photo-slider-container .photo-slider-name-text {
    font-weight: bold;
    font-size: 24px;
 /* color: #333;  Цвет текста */
}

.photo-slider-pagination {
    position: relative;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    padding-top: 15px;
}

.swiper-pagination-bullet-active {
    background: #800000 !important;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {

    .main__news-wrp1 {
        position: relative;
        background: #eee;
        color: #000;
        margin: 0;
        padding: 0 0 10px 0;
        overflow: hidden;
    }

  .photo-slider-container .swiper-slide { 
    width: 100%; /* Уменьшить ширину слайдов */
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0px 6px 12px 0px #00000080, 0 -1px #ffffff80;
  }

  .photo-slider-container .photo-slider-name-text {
    font-weight: 500;
    font-size: 16px;
  }

  .photo-slider-container .photo-slide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    line-height: 1.25;
    border-radius: 0 0 16px 16px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
  }

}

/* Стили для планшетов */
@media (min-width: 769px) and (max-width: 1299px) { 
  .photo-slider-container .swiper-slide {
    width: 90%; /* Ширина слайдов для планшетов */
  }
}

/* Стили для настольных компьютеров */
@media (min-width: 1300px) { 
  .photo-slider-container .swiper-slide {
    width: 1100px /* Ширина слайдов для десктопов */
  }
}