

/* Start:/local/templates/main/components/bitrix/news/news/style.css?1744640059896*/
.gallery-container {
  max-width: 100%;
  margin: 0 auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-item {
  width: 240px;
  height: 160px;
  object-fit: cover;
  margin: 32px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-img {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  max-height: 90%;
}

.close {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
}

.prev-button,
.next-button {
  position: absolute;
  top: 20%;
  font-size: 30px;
  font-weight: bold;
  padding: 10px;
  background-color: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
}

.next-button {
  right: 30px;
}

.prev-button {
  left: 30px;
}
/* End */
/* /local/templates/main/components/bitrix/news/news/style.css?1744640059896 */
