.recipe-gallery-scroller > button {
  flex-basis: min(84%, 390px);
}

.recipe-gallery-scroller img {
  display: block;
  opacity: 1;
  visibility: visible;
}

.recipe-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(15 23 42 / 0.88);
}

.recipe-lightbox[hidden] {
  display: none;
}

.recipe-lightbox__image {
  max-height: calc(100vh - 48px);
  max-width: min(100%, 780px);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 0.45);
}

.recipe-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #1e3a8a;
  font: 700 28px/1 Arial, sans-serif;
  cursor: pointer;
}

body.recipe-lightbox-open {
  overflow: hidden;
}
