/* V5.11 — configurable sizes on the portfolio homepage and brand interior. */
:root{--sc-brand-card-size:240px;--sc-brand-inner-size:245px;--sc-brand-intro-size:360px}
.showcase-grid.sc-level-brand{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--sc-brand-card-size)),var(--sc-brand-card-size)));justify-content:start;gap:24px}
.showcase-grid.sc-level-type{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--sc-brand-inner-size)),var(--sc-brand-inner-size)));justify-content:start;gap:24px}
.showcase-grid.sc-level-brand .sc-card-photo,.showcase-grid.sc-level-type .sc-card-photo{width:100%;max-width:100%;aspect-ratio:1/1}
.showcase-node-gallery.sc-brand-gallery>div{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--sc-brand-intro-size)),var(--sc-brand-intro-size)));gap:20px;justify-content:start}
.showcase-node-gallery.sc-brand-gallery img{width:100%;max-width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center}
@media(max-width:600px){.showcase-grid.sc-level-brand,.showcase-grid.sc-level-type{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.showcase-node-gallery.sc-brand-gallery>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
