/* Match the existing 1600 × 240 firm cover crop at every viewport width. */
#firmsPage .firm-card { display:flex;flex-direction:column; }
#firmsPage .firm-card-body { width:100%;box-sizing:border-box; }
#firmsPage .firm-card-cover,
#firmsPage .firm-profile-cover {
  flex:none;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:20 / 3;
  box-sizing:border-box;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
@media(max-width:820px) {
  #firmsPage .firm-profile-cover::after { display:none; }
  #firmsPage .firm-cover-upload { right:6px;bottom:2px;min-height:40px;padding-inline:10px; }
}
