/*пагинатор*/
/* Стили для контейнера пагинатора */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  width: 100%;
  position: relative;
}

/* Стили для элементов пагинатора */
.pagination a {
  text-decoration: none;
  padding: 5px 10px;
  margin: 2px;
  border: 1px solid #293a592b;;
  border-radius: 3px;
  color: #007bff;
}

/* Стили для активной страницы */
#currentPage {
    background-color: #2863cf96;
    color: #fff!important;
    border: 0;
    box-shadow: 0px 0px 2px 0px #000000;
    margin: 0 10px;
}

/* Стили для стрелок "назад" и "вперед" */
#prevNazad, .pagination a:last-child {
  background-color: #f0f7f7;
  color: #007bff;
}

/*конец пагинатор*/


/*вк сбор*/
.slideshow__dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.slideshow__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 0.5rem;
    cursor: pointer;
}

.slideshow__dot.active {
  background-color: #546783;;
}




.slideshow {
	margin: 0 auto;
	position: relative;
	width: 100%;
}
.slideshow__nav {
    align-items: center;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    height: 250px;
    position: absolute;
    top: 0;
    transition: all linear .3s;
    width: 50px;
    background: #0000004f;
    font-size: 25px;
}
.slideshow__nav:hover { background-color: rgba(0, 0, 0, .8); }
.slideshow__nav.slideshow__nav--prev { left: 0; }
.slideshow__nav.slideshow__nav--next { right: 0; }
.slide {
	display: none;
	position: relative;
}
.slide.active {
	animation: fade linear 1.5s;
	display: block;
}
.slide__descr {
	background-color: rgba(0, 0, 0, .8);
	bottom: 0;
	color: #ffffff;
	right: 0;
	position: absolute;
	padding: 10px;
}



@keyframes fade {
	from {
		opacity: .4;
	}
	to {
		opacity: 1;
	}
}

.vk-content {
    text-align: justify;
    height: 150px;
}

.post {
    border: solid 1px #e9e9e9;
    padding: 10px;
    margin: 10px 0;
    background: #e4f0f1;
    width: 100%;
    height: 550px;
}

  /* Стиль для отображения изображения в полном размере */
 .fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

.fullscreen-image__nav{
    display: flex;
    justify-content: center;
    

}

  .fullscreen-image__nav--prev,
  .fullscreen-image__nav--next {
    cursor: pointer;
    font-size: 3em;
    color: white;
    width: 200px;
    align-items: center;
    display: flex;
    justify-content: center;
    background: #0000004d;
    user-select: none;
  }
  .fullscreen-image__nav--prev:hover,
  .fullscreen-image__nav--next:hover {
    background: #00000094;
  }


  .fullscreen-image__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 2.5em;
    cursor: pointer;
    color: white;
  }
  .fullscreen-image__close:hover {
    color: #ff9494;
  }
  .fullscreen-image__img-container {
      width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  }

  .fullscreen-image img {
  object-fit: cover; /* Максимальное заполнение */
  width: 100%;
  height: 100%;
  min-height: 100vh;
  }

.fullscreen-image__counter {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-size: 16px;
}



.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px; /* Отступ между фотографиями */
   
}

.photo-item {
  flex: 1 0 calc(50% - 5px); /* 3 колонки на широком экране */
  position: relative;
  overflow: hidden; /* Обрезаем лишнее */
      min-height: 150px;
}

.slide__img {
  width: 100%;
  height: 175px;
  object-fit: cover; /* Масштабируем изображение с обрезанием */
  cursor: pointer;

}
.slide__one {
width: auto!important;
    margin: 0 auto;
    display: block;
    height: 350px;
}
.slide__one_img{
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    background-color: #000000a1;
}
.none{
    display: none;
}
.pokazat_eshe {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: white;
    background: #000000b5;
    height: inherit; 
}




.full-text {
    display: none;
}

.show-full-text .full-text {
    display: block;
    font-size: 16px;
}
.short-text {
    font-size: 16px;
    word-break: break-all;
}
.short-text.hide {
    display: none;
}

.show-more-button {
    display: block;
    margin-top: 5px;
    cursor: pointer;
}



.video-attachment{
    display: flex;
    justify-content: center;
    height: 300px;
    background: aliceblue;
    align-items: center;
}

.post-date{
    display: flex;
    justify-content: space-between;
    color: #b55a5a;
}
.vkdoc{
    display: flex;
    align-items: center;
    font-size: 16px;
}


@media (max-width: 767px)/**************************************************мобила**************************/{

  .fullscreen-image__nav--prev,
  .fullscreen-image__nav--next {
    display: none;
  }
  
    .fullscreen-image img {
  object-fit: cover; /* Максимальное заполнение */
  min-height: 0;
  }
    /*пагинатор*/
    .pagination a {
    padding: 15px 15px;
    margin: 1px;
}
#nextPagePlus4, #nextPagePlus3, #prevPageMinus4, #prevPageMinus3 {
  display: none!important;  
}
    
    /*конец пагинатор*/
    
}