/* Add this stylesheet only with an approved gallery integration. */
.paired-gallery { margin-block: 1.5rem; min-width: 0; }
.paired-gallery h4, .paired-gallery h5 { margin-block: .75rem; font: inherit; font-weight: 700; }
.paired-gallery p, .paired-gallery figcaption { line-height: 1.5; }
.paired-gallery__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.paired-gallery__panel { margin: 0; min-width: 0; }
.paired-gallery__panel a { display: block; border: 1px solid currentColor; border-radius: .5rem; padding: .5rem; background: #fff; color: #193b31; }
.paired-gallery__panel a:focus-visible { outline: 3px solid #193b31; outline-offset: 4px; }
.paired-gallery__panel img { display: block; width: 100%; height: auto; object-fit: contain; }
.paired-gallery__panel figcaption { margin-block-start: .5rem; overflow-wrap: anywhere; }
@media (max-width: 40rem) { .paired-gallery__panels { grid-template-columns: 1fr; } }

.book-paired-gallery{grid-column:1/-1;min-width:0;width:100%;padding:1rem}.book-paired-gallery .paired-gallery__panel a{width:fit-content;max-width:100%}.book-paired-gallery .paired-gallery__panel img{width:auto;max-width:100%;height:auto}.book-paired-gallery .paired-gallery{padding-block:1rem}

#previewEnlarge img{width:auto;max-width:100%;height:auto;object-fit:contain}
