/* Only enhances the original HTML reference design. No rounded corners. */
.cg-template-article img{max-width:100%;height:auto}
.cg-template-article figure{max-width:100%;margin:1.8rem 0}
.cg-template-gallery{padding-top:0}
.cg-template-gallery .cg-entry-gallery>h2{margin:0 0:1.5rem}
.cg-template-gallery .cg-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}
.cg-template-gallery figure{margin:0}
.cg-template-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:18px}
.cg-template-gallery figcaption{margin-top:8px;font-size:.88rem;line-height:1.5}
@media(max-width:680px){.cg-template-gallery .cg-gallery-grid{grid-template-columns:1fr}}
