.sbis-directory{max-width:1140px;margin:2rem auto;padding:1.5rem;direction:rtl}.sbis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}.sbis-card,.sbis-profile{border:1px solid #e5eaf1;background:#fff;border-radius:16px;padding:22px;box-shadow:0 5px 18px #142e4c10}.sbis-card img{width:100%;height:230px;object-fit:cover;border-radius:10px}.sbis-card h3{color:#15365e;font-size:1.2rem;margin:.75rem 0}.sbis-card a,.sbis-profile a{color:#173a68}.sbis-profile{max-width:790px;margin:auto;padding:32px}.sbis-profile>img{max-width:240px;max-height:300px;object-fit:cover;border-radius:12px;float:left;margin:0 0 18px 20px}.sbis-note{font-size:.85rem;color:#68798c}.sbis-no-image{display:grid;place-items:center;background:#eff4f8;height:180px;color:#173a68;font-size:3rem;font-weight:bold}@media(max-width:620px){.sbis-profile>img{float:none;display:block;margin:0 auto 18px;width:100%;max-width:280px}}

.sbis-verification{border-top:1px solid #ddd;margin-top:1.5rem;padding-top:1.2rem}.sbis-qr{width:142px;height:142px;max-width:100%;margin:1rem auto}.sbis-qr svg{width:100%;height:auto}.sbis-profile{max-width:850px;margin:0 auto}.sbis-profile>img{max-width:220px;height:auto;border-radius:12px}.sbis-profile a{overflow-wrap:anywhere}

/* V1.4: preserve whole uploaded staff portrait/poster at all viewport widths. */
.sbis-directory .sbis-grid .sbis-card img,
.sbis-directory .sbis-grid .sbis-card a img{
 display:block!important;width:100%!important;height:auto!important;max-height:320px!important;
 object-fit:contain!important;object-position:center!important;
 background:#f2f5f9;border-radius:12px;margin:0 auto;
}
.sbis-directory .sbis-profile>img{display:block;max-width:260px;width:100%;height:auto;object-fit:contain!important;object-position:center!important;}
