/* Client projects (lib/projects.ts): phone screenshot at rest, scrolled view on hover; logo on a coloured disc. */
.ext-project-card .project-card-img-wrapper{background:var(--card-bg);isolation:isolate}
.ext-project-card .project-img,.ext-project-card .project-img-hover{min-width:0;object-position:center top!important}
.ext-project-card.is-photo .project-img,.ext-project-card.is-photo .project-img-hover{object-position:center!important}
.ext-project-card .project-logo{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:3em;min-width:3em;height:3em;min-height:3em;max-height:3em;overflow:hidden;border-radius:50%;background:var(--logo-bg)}
.ext-project-card .project-logo-img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box;object-fit:contain!important;padding:var(--logo-pad,14%);background:transparent;border-radius:0}
@media(max-width:767px){.ext-project-card .project-logo{width:4em;min-width:4em;height:4em;min-height:4em;max-height:4em}}
/* Project images are 4:5. Size the image box to 4:5 at every screen width so they are never cropped. */
.ext-project-card{height:auto}
.ext-project-card .project-card-img-wrapper{flex:none;height:auto;aspect-ratio:4/5}
