/*! RP Theme — Awards & Rankings
    The Awards page's own sections: the row of directory logos and the recognition
    cards. Loaded on the Awards & Rankings template only; everything else on that
    page is the shared system. Hand-authored (not generated), so safe to edit. */

/* ---------- the logo strip -------------------------------------- */
/* eight cells share the row, divided by hairlines; the logos keep their own colours */
.aw-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:1px;
  background:var(--line-soft);border:1px solid var(--line-soft)}
.aw-cell{display:flex;align-items:center;justify-content:center;min-height:108px;
  padding:18px 14px;background:var(--white)}
.aw-cell img{width:auto;max-width:100%;object-fit:contain}
.aw-cell .m-sq{height:64px}
.aw-cell .m-wide{height:42px}
.aw-cell .m-xwide{height:30px}

/* ---------- the recognition cards -------------------------------- */
.aw-card{display:flex;flex-direction:column;background:var(--white);
  border:1px solid var(--line-soft);padding:28px 28px 26px}
.aw-card__head{display:flex;align-items:center;gap:20px}
.aw-card__logo{flex:none;width:96px;display:flex;align-items:center;justify-content:center}
.aw-card__logo img{width:auto;max-width:96px;max-height:64px;object-fit:contain}
.aw-card h3{font-size:19px;line-height:1.3}
.aw-card__blurb{font-size:13.5px;line-height:1.6;color:var(--muted);margin-top:7px}
.aw-rows{margin-top:22px;padding-top:10px;border-top:1px solid var(--line-soft);margin-bottom:20px}
.aw-row{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;
  padding:7px 0;font-size:14px;line-height:1.55}
.aw-row b{font-family:"Instrument Sans",-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.aw-row span{color:var(--body)}
.aw-row--full{grid-template-columns:minmax(0,1fr)}
/* the link sits on the card's floor, level across a row of cards */
.aw-card .link-r{margin-top:auto;font-size:14px;align-self:flex-start}

@media(max-width:1200px){
  .aw-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
  .aw-cell{min-height:96px}
  .aw-card{padding:24px 22px 22px}
}
@media(max-width:640px){
  .aw-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aw-cell{min-height:84px;padding:14px 12px}
  .aw-cell .m-sq{height:52px}
  .aw-cell .m-wide{height:34px}
  .aw-cell .m-xwide{height:24px}
  .aw-card__head{gap:16px}
  .aw-card__logo{width:76px}
  .aw-card__logo img{max-width:76px;max-height:52px}
}
