.community-community-grid{display:grid;grid-template-columns:repeat(var(--community-columns,3),minmax(0,1fr));gap:24px;align-items:stretch}.community-community-card{min-width:0;margin-bottom:0;overflow:hidden;border:1px solid #d9dee7;border-radius:16px}.community-community-card .card-body{padding:22px;overflow-wrap:anywhere}.community-community-card h3{font-size:1.3rem;line-height:1.4;margin-bottom:12px}.community-community-card p{font-size:17px;line-height:1.6}.community-community-photo{display:block;width:100%;height:230px;object-fit:contain;background:#f5f6f8}.community-community-label{font-weight:600}.community-founder-photo{display:block;max-width:420px;width:100%;height:auto;margin:0 auto 28px}.community-community-filters{display:flex;gap:14px;flex-wrap:wrap;align-items:end}.community-community-filters>div{flex:1;min-width:180px}.community-community-filters label{display:block}.community-founder-profile:after{content:'';display:block;clear:both}@media(max-width:991px){.community-community-grid{grid-template-columns:repeat(var(--community-tablet,2),minmax(0,1fr))}}@media(max-width:575px){.community-community-grid{grid-template-columns:minmax(0,1fr)}.community-community-filters>div{width:100%;min-width:0;flex-basis:100%}.community-community-photo{height:220px}}

/* V16.1: keep biography portraits at their natural size; never enlarge small uploads. */
.community-site .community-founder-profile>img.community-founder-photo{display:block;width:auto;max-width:100%;height:auto;max-height:420px;object-fit:contain;margin:0 auto 28px}
/* Scoped to the public Groups filters; does not change navigation or other forms. */
.community-site .community-groups-filter-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%}
.community-site .community-groups-filter-controls select.form-control{flex:0 1 auto;max-width:min(300px,100%);min-width:0}
.community-site .community-groups-filter-controls .btn{flex:0 0 auto;margin:0}
