.sobimg-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;width:100%;align-items:stretch}
.sobimg-category-grid .sobimg-category-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe3ea;border-radius:10px;background:#fff;color:#102b43;text-decoration:none;box-shadow:0 4px 16px rgba(16,43,67,.035);transition:box-shadow .2s,border-color .2s}
.sobimg-category-grid .sobimg-category-card:hover{border-color:#8aa4b7;box-shadow:0 8px 24px rgba(16,43,67,.09)}
.sobimg-category-grid .sobimg-category-card:focus-visible{outline:3px solid #1b6eb1;outline-offset:4px}
.sobimg-category-grid .sobimg-category-visual{position:relative;display:block;aspect-ratio:4/3;margin:0;background:#fff;overflow:hidden}
.sobimg-category-grid .sobimg-category-visual img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;padding:22px 20px 34px;box-sizing:border-box}
.sobimg-category-grid .sobimg-category-visual.is-illustration img{object-fit:cover;padding:0}
.sobimg-category-grid .sobimg-category-visual figcaption{position:absolute;left:10px;bottom:8px;margin:0;padding:3px 7px;border-radius:3px;background:rgba(255,255,255,.94);color:#405568;font-size:11px;line-height:1.4}
.sobimg-category-grid .sobimg-category-copy{display:flex;flex:1;flex-direction:column;gap:10px;padding:21px;border-top:1px solid #edf1f4}
.sobimg-category-grid h3{font-size:20px;line-height:1.3;margin:0;color:#102b43}
.sobimg-category-grid p{font-size:14px;line-height:1.65;margin:0 0 6px;color:#516575}
.sobimg-category-grid .sobimg-category-action{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:auto;font-size:14px;font-weight:600;color:#123954}
@media(max-width:1024px){.sobimg-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:520px){.sobimg-category-grid{grid-template-columns:minmax(0,1fr);gap:20px}.sobimg-category-grid .sobimg-category-visual{aspect-ratio:3/2}.sobimg-category-grid .sobimg-category-copy{padding:20px}.sobimg-category-grid h3{font-size:21px}}
/* Five priority categories; centered final card at tablet widths. */
.sobimg-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1100px) and (min-width:521px){.sobimg-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sobimg-category-grid .sobimg-category-card:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 18px)/2);justify-self:center}}
@media(max-width:520px){.sobimg-category-grid{grid-template-columns:minmax(0,1fr)}}
