/* Natural image bounds: no coloured bands around uncropped product photos. */
body .frame-product:not(.variant-cover) .frame-product-image{width:100%;background:transparent;min-height:0;align-self:start;border-radius:8px;overflow:hidden}
body .frame-product:not(.variant-cover) .frame-product-image img,body .catalog-results .card>a>img,body #popular-products .card img{display:block;width:100%;height:auto!important;min-height:0;max-height:none!important;aspect-ratio:auto!important;object-fit:contain;background:transparent;border-radius:8px}
body .frame-product:not(.variant-cover) .frame-product-copy{padding-top:14px}
body .frame-product:not(.variant-cover) h2{min-height:0;margin:0 0 8px}
body .frame-product-copy .frame-description{min-height:0;margin:0 0 14px;white-space:normal;line-height:1.65}
body .frame-series-grid .series-card p,body .frame-series-grid .series-link-label{display:block;text-align:left;white-space:normal;line-height:1.65;letter-spacing:normal;word-spacing:normal;overflow-wrap:break-word;word-break:normal;hyphens:auto;margin:10px 0 0}
body.single-jq_case .project-detail .detail-gallery{display:flex;flex-direction:column-reverse;align-items:center;gap:12px}
body.single-jq_case .project-detail .gallery-stage{width:100%}
body.single-jq_case .project-detail .gallery-main{background:transparent;border-radius:8px}
body.single-jq_case .project-detail .gallery-main>img{display:block;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;border-radius:8px}
body.single-jq_case .project-detail .gallery-thumbnails{flex-direction:row;justify-content:safe center;width:100%;max-height:none;overflow-x:auto}
body.single-jq_case .project-detail .gallery-thumbnails button{width:64px}
body.single-jq_case .project-detail .gallery-thumbnails img{height:56px!important}
body main>article.news-article{display:block!important;width:100%;max-width:960px;margin:28px auto 48px;padding:0 24px;box-sizing:border-box}
body .news-article>h1{font-size:clamp(28px,3.5vw,44px);line-height:1.18;margin:24px 0 30px;max-width:none;overflow-wrap:break-word}
body .news-article-body{width:100%;font-size:16px;line-height:1.75;display:flow-root;word-break:normal;overflow-wrap:anywhere}
.news-article-body>p{margin:0 0 20px}.news-article-body h2{font-size:clamp(24px,2.5vw,32px);line-height:1.25;margin:28px 0 16px}
.news-article-body img,.prose img{height:auto;max-width:100%;border-radius:8px}
.news-article-body img.alignleft,.prose img.alignleft{float:left;width:auto;max-width:48%;margin:8px 24px 16px 0}
.news-article-body img.alignright,.prose img.alignright{float:right;width:auto;max-width:48%;margin:8px 0 16px 24px}
.news-article-body img.aligncenter,.prose img.aligncenter{display:block;margin:24px auto;width:auto;max-width:100%}
.news-article-body:after,.prose:after{content:'';display:block;clear:both}
.journal-project-gallery{clear:both;margin-top:36px}.journal-project-gallery>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.journal-project-gallery figure{margin:0}.journal-project-gallery img{display:block;width:100%;height:auto;border-radius:8px}
@media(max-width:600px){body main>article.news-article{padding:0;margin:22px auto 36px}.news-article-body img.alignleft,.news-article-body img.alignright,.prose img.alignleft,.prose img.alignright{float:none;display:block;max-width:100%;width:auto;margin:20px auto}.journal-project-gallery>div{grid-template-columns:1fr}}
/* Catalog cards: predictable image/title positions and compact copy. */
body .catalog-results .cards{align-items:start}
body .catalog-results .cards>article.card[data-kind="jq_product"]>a:first-child{flex:0 0 auto}
/* Keep the square alignment slot; round only the actual photo bounds. */
body .catalog-results .cards>article.card[data-kind="jq_product"] .catalog-product-image{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;margin:0 0 12px}
body .catalog-results .cards>article.card[data-kind="jq_product"] .catalog-product-image>img{position:absolute;inset:0;display:block;width:auto;height:auto!important;min-width:0;min-height:0;max-width:100%;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain;background:#f3f1eb;margin:auto;border-radius:8px}
body .catalog-results .cards>article.card[data-kind="jq_product"] h3{min-height:0;margin:0 0 6px;line-height:1.4}
body .catalog-results .cards>article.card[data-kind="jq_product"]>a>span.card-description{margin-top:0;padding-bottom:0;font-size:14px;line-height:1.6}
body .catalog-results .cards>article.card[data-kind="jq_product"]>.add-intent{margin-top:12px}
