
#foto-amazon {
  width: min(96vw, 165dvh, 1600px);
  max-width: none;
  max-height: 96dvh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
  font-family: Roboto, Arial, sans-serif;
}
#foto-amazon::backdrop { background: rgb(0 0 0 / 82%); }
#foto-amazon figure { position: relative; margin: 0; }
#foto-amazon img { display: block; width: 100%; height: auto; max-height: none; }
#foto-amazon figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: clamp(24px, 5vw, 64px) clamp(10px, 2.4vw, 28px) clamp(8px, 1.6vw, 20px);
  background: linear-gradient(to top, rgb(0 0 0 / 96%), rgb(0 0 0 / 82%) 42%, transparent);
  color: #fff;
  font: 400 clamp(.75rem, 1.5vw, .9375rem)/1.4 Roboto, Arial, sans-serif;
  text-shadow: 0 1px 3px #000;
}
#foto-amazon figcaption a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
#foto-amazon .amazon-photo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgb(0 0 0 / 70%);
}
