

/* Start:/bitrix/templates/aspro-priority/components/bitrix/news/contacts_2/style.css?17943242901827*/
* {
  box-sizing: border-box;
}

.gallery {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin: 20px auto 40px;
}

/* Основная область */
.gallery__main {
  position: relative;
  background: #111;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

/* Стрелки */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.gallery__arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }

/* Счётчик */
.gallery__counter {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* Миниатюры */
.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: #fafafa;
}

.gallery__thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  background: none;
  padding: 0;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__thumb:hover { opacity: 1; }

.gallery__thumb.is-active {
  opacity: 1;
  border-color: #2f6fdd;
}
/* End */


/* Start:/bitrix/templates/aspro-priority/components/bitrix/news.list/contacts_2/style.min.css?165477075545*/
body .page-top-wrapper.grey{margin-bottom:0;}
/* End */
/* /bitrix/templates/aspro-priority/components/bitrix/news/contacts_2/style.css?17943242901827 */
/* /bitrix/templates/aspro-priority/components/bitrix/news.list/contacts_2/style.min.css?165477075545 */
