/* Keep HTML image dimensions from creating tall preview columns. */
.cs-page .cs-preview-visual{min-width:0;align-self:center;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center}
.cs-page .cs-preview-visual>figure{min-width:0;min-height:0;height:auto;align-self:center}
.cs-page .cs-preview-visual figure img{display:block;width:100%;height:auto;max-height:280px;aspect-ratio:auto;object-fit:contain;background:transparent}
.cs-page .cs-preview-visual>.cs-book{justify-self:center;min-width:0;min-height:0;width:min(100%,180px);height:auto;aspect-ratio:3/4;grid-template-rows:auto auto minmax(0,1fr) auto}
.cs-page .cs-preview-visual>.cs-book>.cs-book-label{margin:10px 10px 8px!important;padding:4px 6px;font-size:6px!important;line-height:1.4}
.cs-page .cs-preview-visual>.cs-book>strong{font-size:20px!important;margin:0 10px 9px;line-height:1.05!important}
.cs-page .cs-preview-visual>.cs-book>small{font-size:6px!important;padding:7px 10px 9px}
.cs-page .cs-preview-visual .cs-book-illustration>span{font-size:5px;left:10px;bottom:6px}
.cs-page .cs-preview-visual .cs-book>.cs-book-seal{width:28px;height:28px;font-size:4px!important;right:7px;bottom:8px}
.cs-page .cs-preview-visual>.cs-master{height:260px;min-height:0;width:100%;max-width:220px;justify-self:center}
@media(max-width:800px){.cs-page .cs-preview-row{gap:24px;padding:28px 0}.cs-page .cs-preview-visual{padding:20px;gap:18px}.cs-page .cs-preview-visual>.cs-book>strong{font-size:17px!important}.cs-page .cs-preview-visual>.cs-master{height:230px;padding:16px}.cs-page .cs-preview-visual>.cs-master>strong{font-size:25px}.cs-page .cs-preview-visual figcaption{font-size:11px;line-height:1.6;margin-top:10px}.cs-page .cs-preview-visual figure img{max-height:230px}}
