.gallery-strip {
  overflow: hidden;
  background-color: rgba(var(--color-background));
  color: rgba(var(--color-text));
}

.gallery-strip__header {
  border-block-end: 1px solid rgba(var(--color-entry-line));
}

.gallery-strip__eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(var(--color-light-text));
  margin-block-end: 10px;
}

.gallery-strip__heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 0.95;
  color: rgba(var(--color-text));
}

.gallery-strip__heading em {
  font-style: italic;
  color: rgba(var(--color-light-text));
}

.gallery-strip__track {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.gallery-strip__track::-webkit-scrollbar {
  display: none;
}

.gallery-strip__track.is-dragging {
  cursor: grabbing;
}

.gallery-strip__item {
  position: relative;
  flex: 0 0 var(--gallery-item-width, 380px);
  height: 520px;
  overflow: hidden;
}

.gallery-strip__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  pointer-events: none;
}

.gallery-strip__caption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.gallery-strip__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 52px;
  border-block-start: 1px solid rgba(var(--color-entry-line));
}

.gallery-strip__hint {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--color-light-text));
}

.gallery-strip__nav {
  display: flex;
  gap: 8px;
}

.gallery-strip__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(var(--color-entry-line));
  background-color: rgba(var(--color-background));
  color: rgba(var(--color-text));
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.gallery-strip__arrow:hover {
  background-color: rgba(var(--color-text), 0.06);
}

@media (max-width: 959px) {
  .gallery-strip__item {
    height: 380px;
  }

  .gallery-strip__footer {
    padding-inline: 24px;
  }
}
