/* Footer logo artwork keeps its entire original alpha channel and layout. */
.partners .logos {
  background: transparent;
}

.partners .logos img {
  filter: url("#partner-logo-warm-white") !important;
}

.partners .logos > div > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.partners .logos > div > a:hover img,
.partners .logos > div > a:focus-visible img {
  transform: scale(1.035);
}
@media (prefers-reduced-motion: no-preference) {
  .partners .logos > div > a > img { transition: transform .22s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .partners .logos > div > a:hover img,
  .partners .logos > div > a:focus-visible img { transform: none; }
}

/* Shared icon buttons for the music and contact sections. */
.social.social-icons {
  align-items: center;
  gap: 12px;
}

.social.social-icons > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-bottom: 0;
  border-radius: 9px;
}

.social.social-icons > a:hover,
.social.social-icons > a:focus-visible {
  background: linear-gradient(140deg, #cfe3dd15, #cfe3dd04);
  box-shadow: inset 0 1px 0 #cfe3dd24, 0 5px 12px #0004;
}

.social.social-icons > a > img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Five in the first row; the four below use the same widths and sit centred. */
@media (min-width: 701px) {
  .partners .logos {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: clamp(14px, 2.4vw, 36px);
  }
  .partners .logos > div { grid-column: span 2; }
  .partners .logos > div:nth-child(6) { grid-column: 2 / span 2; }
}
@media (max-width: 700px) {
  .partners .logos > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
