/* Применяется только к отдельным работам после инициализации скрипта. */
#content .content.big.bc-work-content {
  width: 100%;
  padding-left: 0;
  float: none;
}
#content .content-text.bc-work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
#content .bc-work-gallery,
#content .bc-work-description { min-width: 0; }
#content .bc-work-gallery__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f1f1;
  overflow: hidden;
  touch-action: pan-y;
}
#content .bc-work-gallery__slide {
  width: 100%;
  height: 100%;
}
#content .bc-work-gallery__slide[hidden] { display: none !important; }
#content .content-text .bc-work-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
}
#content .bc-work-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}
#content .bc-work-gallery__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #222;
  border-radius: 0;
  background: #222;
  color: #fff;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}
#content .bc-work-gallery__button:hover { background: #444; }
#content .bc-work-gallery__button:focus-visible { outline: 3px solid #a67c00; outline-offset: 3px; }
#content .bc-work-gallery__counter { min-width: 50px; text-align: center; font-size: 14px; }
@media (max-width: 767px) {
  #content .content-text.bc-work-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
