/* Sponsors Grid Layout – 1 cm horizontal space between logos */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: .3cm;     /* 1 cm space between logos in each row */
  row-gap: 0;          /* no vertical gap */
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

/* Sponsor item – no padding, background, or border */
.sponsor-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  line-height: 0;
}

/* Remove link styling */
.sponsor-item a {
  display: inline-block;
  width: auto;
  padding: 0;
  margin: 0;
  text-decoration: none;
  line-height: 0;
}

/* Logo – purely the image, sized proportionally */
.sponsor-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive layout – keep the same 1 cm spacing between columns */
@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1cm;
    row-gap: 0;
  }
}

@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}
