/* LINK HOME — CLEAN NONPROFIT WALL V31
   Preserve V30 50-org runtime roster. Remove placeholder circles/dots entirely. */
#partnerRail.link-home-v30-roster,
#partnerRail.link-home-v31-roster{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
  padding:0!important;
  margin:0!important;
}
#partnerRail.link-home-v30-roster .partner-cell,
#partnerRail.link-home-v31-roster .partner-cell{
  min-width:0!important;
  min-height:132px!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:16px 12px!important;
  border:1px solid #d9e2eb!important;
  border-radius:12px!important;
  background:#fff!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
#partnerRail.link-home-v30-roster .partner-cell img,
#partnerRail.link-home-v31-roster .partner-cell img{
  display:block!important;
  max-width:88%!important;
  width:auto!important;
  height:64px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
/* V31: never show synthetic initials circles / placeholder dots. */
#partnerRail .link-home-v30-no-logo,
#partnerRail .link-home-v31-no-logo{
  display:none!important;
}
#partnerRail.link-home-v30-roster .link-home-nonprofit-name,
#partnerRail.link-home-v31-roster .link-home-nonprofit-name{
  display:block!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:800!important;
  color:#0b315b!important;
  text-align:center!important;
  margin:0!important;
}
/* Name-only cards are intentionally clean: no fake mark, no dot. */
#partnerRail .partner-cell.link-home-v31-name-only{
  min-height:132px!important;
  padding:24px 16px!important;
}
#partnerRail .partner-cell.link-home-v31-name-only .link-home-nonprofit-name{
  font-size:18px!important;
  line-height:1.28!important;
  max-width:95%!important;
}
@media(max-width:1100px){
  #partnerRail.link-home-v30-roster,#partnerRail.link-home-v31-roster{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:700px){
  #partnerRail.link-home-v30-roster,#partnerRail.link-home-v31-roster{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  #partnerRail.link-home-v30-roster .partner-cell,#partnerRail.link-home-v31-roster .partner-cell{min-height:116px!important;padding:12px 8px!important;}
  #partnerRail.link-home-v30-roster .link-home-nonprofit-name,#partnerRail.link-home-v31-roster .link-home-nonprofit-name{font-size:15px!important;}
}
