.sponsorwall-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--bone-deep); border-left: 1px solid var(--bone-deep); }
.sponsorwall-grid li { margin: 0; border-right: 1px solid var(--bone-deep); border-bottom: 1px solid var(--bone-deep); background: #fff; }
.sponsorwall-grid a, .sponsorwall-grid li > img { display: flex; align-items: center; justify-content: center; height: 150px; padding: 26px 30px; box-sizing: border-box; }
.sponsorwall-grid img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .4s, opacity .4s, transform .4s var(--ease-out); }
.sponsorwall-grid a:hover img, .sponsorwall-grid a:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
.pgg-dark .sponsorwall-grid, .pgg-dark .sponsorwall-grid li { border-color: rgba(255, 255, 255, .1); }
.sponsorwall-grid li.sponsorwall-open { grid-column: span 1; background: var(--secondary); }
.sponsorwall-grid .sponsorwall-open a { flex-direction: column; gap: 6px; text-decoration: none; height: 100%; min-height: 150px; }
.sponsorwall-open span { font-family: var(--font1); font-weight: 900; font-size: 24px; text-transform: uppercase; color: #fff; line-height: 1; text-align: center; }
.sponsorwall-open small { font-size: 14px; font-weight: 600; color: var(--gold-soft); border-bottom: 2px solid var(--tertiary); padding-bottom: 2px; }
.sponsorwall-open a:hover small { color: #fff; }
@media (max-width: 1199px) { .sponsorwall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .sponsorwall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsorwall-grid a, .sponsorwall-grid li > img { height: 110px; padding: 18px; }
  .sponsorwall-grid img { max-height: 54px; filter: none; opacity: 1; }
}
/* Phone compaction (Adam, 2026-11-17: home page felt like a lot of scrolling on mobile) */
@media (max-width: 767px) {
  .sponsorwall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sponsorwall-grid a, .sponsorwall-grid li > img { height: 84px; padding: 12px 10px; }
  .sponsorwall-grid img { max-height: 40px; }
  .sponsorwall-grid .sponsorwall-open a { min-height: 84px; gap: 4px; padding: 10px 6px; }
  .sponsorwall-open span { font-size: 16px; }
  .sponsorwall-open small { font-size: 12px; }
}
