/* Current public Plexus event applications, scoped to this peer list. */
.pw-peers{background:var(--r2-paper,#f7f1e6);color:var(--r2-ink,#191512)}
.pw-peers h2{margin:0 0 28px;font-size:clamp(28px,3.5vw,42px);line-height:1.15}
.pw-peer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.pw-peer{min-width:0;border:1px solid rgba(25,21,18,.16);border-radius:16px;overflow:hidden;background:#fdfaf3;display:flex;flex-direction:column}
.pw-peer>img{width:100%;height:176px;object-fit:cover;display:block}
.pw-peer-body{padding:22px;display:flex;flex-direction:column;flex:1;gap:12px}
.pw-peer h3{margin:0;font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.pw-peer p{margin:0;font-size:15px;line-height:1.5}
.pw-peer .btn{margin-top:auto;min-height:44px;white-space:normal;text-align:left}
@media(max-width:1100px){.pw-peer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pw-peer-grid{grid-template-columns:1fr}.pw-peer>img{height:200px}.pw-peer-body{padding:22px}}

/* Shared content tracks align desktop cards by their content, including optional calendar rows. */
@media(min-width:1000px){
 :root main #next-events .home-next-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 :root main #next-events .home-next-card{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;height:auto}
 :root main #next-events .home-next-media{grid-row:1}
 :root main #next-events .home-next-body{display:grid;grid-template-rows:subgrid;grid-row:2/span 6;row-gap:0}
 :root main #next-events .home-next-for{grid-row:1}
 :root main #next-events .home-next-body h3{grid-row:2}
 :root main #next-events .home-next-place{grid-row:3}
 :root main #next-events .home-next-body p:not(.home-next-place){grid-row:4;align-self:start}
 :root main #next-events .home-next-body .medx-cal{grid-row:5;align-self:end}
 :root main #next-events .home-next-cta{grid-row:6;align-self:start}
}
