.main-screenshot {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 1.5rem auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.13);
}
/* Stylish responsive gallery for Lazy Eye Reader screenshots */

.screenshot-gallery,
.screenshot-gallery + figure,
figure.screenshot-standalone {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 2.5rem 0 2rem 0;
}
.screenshot-gallery figure,
.screenshot-gallery + figure,
figure.screenshot-standalone {
  margin: 0;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}
.screenshot-gallery figure:hover,
.screenshot-gallery + figure:hover,
figure.screenshot-standalone:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.screenshot-gallery img,
.screenshot-gallery + figure img,
figure.screenshot-standalone img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #e0e0e0;
}
.screenshot-gallery figcaption,
.screenshot-gallery + figure figcaption,
figure.screenshot-standalone figcaption {
  padding: 0.75rem 1rem;
  font-size: 1.05em;
  color: #333;
  background: #f8f9fa;
  text-align: center;
}
@media (max-width: 700px) {
  .screenshot-gallery,
  .screenshot-gallery + figure,
  figure.screenshot-standalone {
    flex-direction: column;
    gap: 1rem;
  }
  .screenshot-gallery figure,
  .screenshot-gallery + figure,
  figure.screenshot-standalone {
    max-width: 100%;
  }
}
