.feature-photo {
  padding: 6px;
  position: relative;
}

.feature-photo img {
  object-fit: cover;
}

.feature-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 6px;
  border: 4px solid #fff;
  border-radius: 2px;
  pointer-events: none;
}

.detail-gallery img {
  border: 4px solid #fff;
}
