/* Original-colour logos on white, scaled optically rather than stretched. */
.home-logos { background: #fff; color: #071c2b; padding-block: 48px; }
.home-page .home-logos h2 { text-align: center; font-size: clamp(1.25rem,2vw,1.75rem); line-height: 1.3; margin: 0 auto 32px; max-width: 40ch; }
.home-logos--accreditations .home-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 640px; margin-inline: auto; }
.home-logos--accreditations { background: #e9edf1; }
.home-logos--sponsorships { border-top: 1px solid #e0e7ed; }
.home-logos--sponsorships .home-logo-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px; }
.home-logo--club img { max-width: 150px; }
.home-logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 40px; list-style: none; padding: 0; margin: 0; }
.home-logo { min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 126px; }
.home-logo picture { display: block; max-width: 100%; }
.home-logo img { width: auto; height: auto; max-width: 100%; max-height: 126px; object-fit: contain; border-radius: 0; }
.home-logo--chas-accredited-contractor img { width: 220px; }
.home-logo--gas-safe-register img { width: 110px; }
.home-logo--maidstone-united-crest img { width: 104px; }
.home-logo--millwall-community-partner img { width: 270px; }
@media (max-width: 767px) {
  .home-logos { padding-block: 36px; }
  .home-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .home-logo { min-height: 100px; }
  .home-logo img { max-height: 100px; }
  .home-logo--gas-safe-register img { width: 88px; }
  .home-logo--maidstone-united-crest img { width: 82px; }
  .home-logos--sponsorships .home-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; }
  .home-logos--sponsorships .home-logo:last-child { grid-column: 1 / -1; }
  .home-logo--club img { max-width: 120px; }
}

