.home-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.home-photo-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 6px #161616;
}

#home-photo-dialog {
  box-sizing: border-box;
  max-width: min(94vw, 76rem);
  max-height: 94vh;
  border: 0;
  padding: 1rem;
  background: #fff;
  color: #171717;
}

#home-photo-dialog::backdrop {
  background: rgb(0 0 0 / 75%);
}

#home-photo-dialog form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: .5rem;
}

#home-photo-dialog button {
  min-height: 44px;
  padding: .5rem 1rem;
  background: #171717;
  color: #fff;
}

#home-photo-dialog img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
}
