.smp-firm-frame {
    --smp-firm-ratio: 4 / 3;
    --smp-firm-fit: cover;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--smp-firm-ratio);
    position: relative;
    overflow: hidden;
    background: #eff5f8;
}
.smp-firm-frame[data-firm-frame="cover"] { --smp-firm-ratio: 2 / 1; }
.smp-firm-frame[data-firm-frame="logo"] { --smp-firm-ratio: 3 / 1; --smp-firm-fit: contain; }
.smp-firm-frame[data-firm-frame="symbol"] { --smp-firm-ratio: 1 / 1; --smp-firm-fit: contain; }
.smp-firm-frame > img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: var(--smp-firm-fit);
}
.smp-firm-frame.smp-directory-photo[data-firm-frame="symbol"],
.smp-firm-frame.smp-company-card-photo[data-firm-frame="symbol"] {
    width:min(48%,144px);
    margin:12px auto;
    border-radius:10px;
}
