/* Exact crops and information blocks from the additional Figma carousel states. */
.gallery-viewport {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gallery > .shade {
  z-index: 1;
}

.gallery > h2,
.gallery-bottom {
  z-index: 2;
}

.gallery-info {
  display: grid;
  gap: 20px;
  min-width: 0;
  max-width: calc(100% - 136px);
}

.gallery-info .tags {
  min-width: 0;
}

.gallery-info .tag {
  min-width: 0;
  max-width: 100%;
  line-height: 1.2;
}

.gallery-info .tag img {
  flex-shrink: 0;
}

.gallery-cta {
  width: 100%;
}

.gallery-photo[data-crop="vremya-finish"] {
  top: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Figma 7257:1170 — portrait photo, lower part of the frame. */
.gallery-photo[data-crop="parking-landscape"] {
  object-fit: cover;
  object-position: 50% 82.3%;
}

.gallery-photo[data-crop="vremya-floors"] {
  top: -71.64%;
  height: 249.99%;
  object-fit: fill;
}

.gallery-photo[data-crop="tradition-finish"] {
  top: -97.62%;
  height: 266.67%;
  object-fit: fill;
}

/* A 100ms ease-out hover is explicitly present on the Figma CTA components. */
.gallery-cta {
  transition-duration: 100ms;
  transition-timing-function: ease-out;
}
