.project-portfolio { position: relative; }
.project-tile-exits {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.project-tile-exit { position: absolute; }

.portfolio-dialog {
  --gallery-padding: clamp(10px, 2vw, 24px);
  padding: var(--gallery-padding) 0 0;
}
.portfolio-dialog-heading { padding-inline: var(--gallery-padding); }
.project-slide { position: relative; }
.project-slide > img {
  width: 100%;
  height: 72vh;
  height: 72dvh;
  max-height: none;
  object-fit: contain;
  touch-action: pan-y;
}
.project-slide > button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 44px;
  min-height: 44px;
  color: white;
  background: rgb(20 20 18 / 65%);
  border: 0;
  z-index: 1;
  cursor: pointer;
  font-size: 1.3rem;
}
.project-slide > button[data-step="-1"] { left: .5rem; }
.project-slide > button[data-step="1"] { right: .5rem; }
@media (max-width: 600px) {
  .project-slide > img { height: 58vh; height: 58dvh; }
}
