/* Compact previews for the shared Art carousel in the Grimoire post. */
.grimoire-gallery-preview {
  max-width: 680px;
  margin: 1.5em auto 2em;
  text-align: center;
}
.grimoire-gallery-trigger {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}
.grimoire-gallery-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.grimoire-gallery-trigger img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  margin: 0 auto;
}
.grimoire-gallery-editor .grimoire-gallery-trigger img {
  max-height: 450px;
}
.grimoire-gallery-preview figcaption,
.grimoire-normal-comparison figcaption {
  margin-top: .5em;
  font-size: .85em;
  color: #666;
}
html[data-theme="dark"] .grimoire-gallery-preview figcaption,
html[data-theme="dark"] .grimoire-normal-comparison figcaption {
  color: #b0b0b0;
}
.grimoire-normal-comparison {
  max-width: 680px;
  margin: 1.5em auto 2em;
}
.grimoire-normal-comparison figure {
  margin: 0;
}
.grimoire-normal-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75em;
  text-align: center;
}
.grimoire-normal-pair img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
