#content {
  float: none;
  width: 100%;
}

.original-art-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  margin: 0 auto 12px;
  text-align: center;
}

.original-art-row img {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--cp-border);
}

.original-art-row > * {
  min-width: 0;
  max-width: 100%;
}

.original-art-row .video-still {
  display: inline-block;
  max-width: 100%;
}

.original-art-description {
  max-width: 640px;
  margin: 24px auto;
}

.art-gallery.mosaic-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 auto 24px;
}

.art-gallery.mosaic-gallery .art-frame {
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
}

.art-gallery.mosaic-gallery img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 700px) {
  .art-gallery.mosaic-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .art-gallery.mosaic-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 0 0 24px;
}

.art-gallery.portfolio-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.art-gallery figure {
  min-width: 0;
  margin: 0;
}

.art-gallery .art-frame {
  display: flex;
  box-sizing: border-box;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid var(--cp-border);
  border-radius: 4px;
  background: var(--cp-surface);
}

.art-gallery.portfolio-gallery .art-frame {
  border: 0;
}

.art-gallery img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 190px;
}

.art-gallery.portfolio-gallery img {
  max-width: min(100%, 240px);
  max-height: 240px;
}

.art-gallery .art-missing {
  background: var(--cp-surface-soft);
  color: var(--cp-text-muted);
  font-size: 12px;
  text-align: center;
}

.art-gallery figcaption {
  margin-top: 6px;
  color: var(--cp-text-muted);
  font-size: 13px;
  line-height: 1.4;
}
