.trip-gallery {
  position: relative;
  outline: 0;
}

.trip-gallery:focus-visible {
  box-shadow: 0 0 0 3px rgba(77, 109, 73, .35);
}

.trip-gallery-stage {
  position: relative;
  overflow: hidden;
  background: #e8e9e6;
}

.trip-gallery-image {
  display: block;
  cursor: pointer;
}

.trip-gallery-image[hidden] {
  display: none;
}

.trip-gallery-award {
  position: absolute;
  inset-inline-start: clamp(8px, 2%, 16px);
  inset-block-end: clamp(8px, 2%, 16px);
  z-index: 1;
  width: min(22%, 150px);
  height: auto;
  pointer-events: none;
}

.trip-gallery-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 48px;
  height: 62px;
  padding: 0 0 5px;
  border: 0;
  background: rgba(28, 34, 29, .68);
  color: #fff;
  font: 400 3rem/1 sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .18s ease;
}

.trip-gallery-button:hover,
.trip-gallery-button:focus-visible {
  background: rgba(65, 99, 62, .95);
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.trip-gallery-previous { left: 16px; }
.trip-gallery-next { right: 16px; }

.trip-gallery-position {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  min-width: 62px;
  padding: 7px 11px;
  border-radius: 20px;
  background: rgba(28, 34, 29, .72);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  line-height: 1;
}

@media (max-width: 680px) {
  .trip-gallery-button {
    width: 40px;
    height: 52px;
    font-size: 2.5rem;
  }

  .trip-gallery-previous { left: 8px; }
  .trip-gallery-next { right: 8px; }
  .trip-gallery-position { right: 8px; bottom: 8px; }
}
