.entry-image{margin-top:0;margin-right:0;margin-left:25px}
.entry-image>a{display:block}
.entry-image img{width:auto;height:auto;margin:auto}
figcaption{font-size:11px;line-height:1.5;margin-top:10px;overflow-wrap:anywhere;color:var(--muted)}
figcaption small{display:block;font-size:10px;margin-top:6px}
.image-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;align-items:start}
.gallery-image{margin:0;padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:10px;min-width:0}
.gallery-image>a{height:220px;display:flex;align-items:center;justify-content:center}
.gallery-image img{width:auto;height:auto;max-width:100%;max-height:220px;object-fit:contain}
.gallery-note{font-size:13px;color:var(--muted)}
@media(max-width:460px){.entry-image{float:none;width:100%;max-width:100%;margin:0 0 20px}.entry-image img{max-height:310px}.image-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-image{padding:9px}.gallery-image>a{height:185px}.gallery-image img{max-height:185px}}
@media print{.gallery-image,.entry-image{break-inside:avoid}.image-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
