.industrial-complex-gallery {
  overflow: hidden;
  background: transparent;
}

.industrial-complex-gallery__heading {
  margin-bottom: clamp(1.15rem, 2.8vw, 1.8rem);
}

.industrial-complex-gallery__viewport {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  touch-action: pan-y;
}

.industrial-complex-gallery__viewport:focus-visible {
  outline: 3px solid rgba(180, 134, 74, 0.35);
  outline-offset: 3px;
}

.industrial-complex-gallery__track {
  display: flex;
  width: 100%;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.industrial-complex-gallery__slide {
  display: grid;
  min-width: 100%;
  min-height: clamp(300px, 52vw, 650px);
  place-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
}

.industrial-complex-gallery__slide img {
  display: block;
  width: 100%;
  height: clamp(290px, 50vw, 630px);
  object-fit: contain;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.industrial-complex-gallery__navigation {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 1rem;
  padding-top: 0.8rem;
}

.industrial-complex-gallery__dots {
  display: flex;
  max-width: min(72%, 620px);
  align-items: center;
  justify-content: flex-start;
  gap: 0.12rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.industrial-complex-gallery__dots::-webkit-scrollbar {
  display: none;
}

.industrial-complex-gallery__dots button {
  display: inline-flex;
  width: 24px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.industrial-complex-gallery__dots button::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(38, 36, 31, 0.24);
  content: '';
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.industrial-complex-gallery__dots button[aria-current='true'] {
  width: 34px;
}

.industrial-complex-gallery__dots button[aria-current='true']::before {
  width: 26px;
  background: #a77d43;
}

.industrial-complex-gallery__dots button:focus-visible {
  outline: 2px solid #a77d43;
  outline-offset: 3px;
}

.industrial-complex-gallery__counter {
  min-width: 3.4rem;
  margin: 0;
  color: #777167;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.industrial-complex-gallery__counter strong {
  color: #302e29;
  font-size: 0.86rem;
}

@media (max-width: 700px) {
  .industrial-complex-gallery__viewport {
    margin-inline: -0.15rem;
    border-radius: 0;
  }

  .industrial-complex-gallery__slide {
    min-height: clamp(240px, 72vw, 390px);
    padding: 0;
  }

  .industrial-complex-gallery__slide img {
    height: clamp(232px, 70vw, 380px);
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industrial-complex-gallery__track,
  .industrial-complex-gallery__dots button {
    transition: none;
  }
}
