/* Screen picture galleries in the user manual (docs/06-user_manual.md). */

.md-typeset .screens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin: 1.4rem 0;
}

.md-typeset .screens figure {
  flex: 0 1 300px;
  margin: 0;
}

.md-typeset .screens.big figure {
  flex: 0 1 440px;
}

.md-typeset .screens.wide figure {
  flex: 1 1 100%;
  max-width: 860px;
}

.md-typeset .screens img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.md-typeset .screens a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.md-typeset .screens figcaption {
  max-width: 100%;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  text-align: center;
  color: var(--md-default-fg-color--light);
}

/* A single picture inside a content tab (plain Markdown, no figure). */
.md-typeset .screen-link {
  display: block;
  max-width: 300px;
  margin: 1rem auto;
}

.md-typeset .screen-link img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--md-default-fg-color--lightest);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

@media print {
  .md-typeset .screens img {
    box-shadow: none;
  }
}
