/* ==========================================================
   SPONSORS SECTION
   Logo tiles. Sizes: .sp.t1 = biggest row, .sp.t2 = medium row, default = small row. .lg.im = tile that holds a logo image.
========================================================== */

.sp {
  border-top: 1px solid var(--ln);
  padding: 26px 0 22px;
  text-align: center;
}

.sp:first-of-type {
  border-top: 0;
}

.sp .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.sp h3 {
  font: 600 15px Oswald;
  letter-spacing: .04em;
  color: #4a5568;
  margin-top: 16px;
}

.lg {
  display: grid;
  place-items: center;
  height: 56px;
  min-width: 120px;
  padding: 0 18px;
  border-radius: 10px;
  font: 600 17px Oswald;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg,#fff);
  background: var(--bg,var(--ink));
  border: 1px solid var(--bd,transparent);
  text-align: center;
  line-height: 1.1;
}

.lg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lg.im {
  width: 170px;
  height: 48px;
  min-width: 0;
  padding: 7px 12px;
}

.sp.t1 .lg.im {
  width: 220px;
  height: 60px;
  padding: 9px 16px;
}

.sp.t1 .lg {
  height: 76px;
  min-width: 210px;
  font-size: 24px;
}

.sp.t2 .lg {
  height: 64px;
  min-width: 150px;
  font-size: 20px;
}

.sp .two {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.sp .two>div {
  padding: 0 clamp(16px,5vw,48px);
}

.sp .two>div+div {
  border-left: 1px solid var(--ln);
}

@media (max-width:560px) {
  #sponsors {
    padding: 36px 0;
  }

  #sponsors .sh {
    margin-bottom: 10px;
  }

  #sponsors .eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
  }

  #sponsors h2 {
    font-size: 20px;
  }

  #sponsors h2::after {
    width: 40px;
    height: 3px;
    margin-top: 7px;
  }

  .sp {
    padding: 12px 0 10px;
  }

  .sp .row {
    gap: 6px;
  }

  .sp h3 {
    margin-top: 7px;
    font-size: 11px;
  }

  .lg.im,
  .sp.t1 .lg.im {
    width: calc(50% - 3px);
    height: 38px;
    padding: 5px 8px;
  }

  .lg {
    min-width: calc(50% - 3px);
    flex: 1 1 calc(50% - 3px);
    height: 42px;
    border-radius: 7px;
    padding: 0 8px;
    font-size: 12px;
  }

  .sp.t1 .lg {
    min-width: calc(50% - 3px);
    height: 46px;
    font-size: 14px;
  }

  .sp.t2 .lg {
    height: 40px;
    min-width: calc(33.333% - 4px);
    flex-basis: calc(33.333% - 4px);
    padding: 0 5px;
    font-size: 10.5px;
  }

  .sp:not(.t1):not(.t2) .lg {
    min-width: calc(33.333% - 4px);
    flex-basis: calc(33.333% - 4px);
    height: 38px;
    padding: 0 5px;
    font-size: 10.5px;
  }

  .sp .two {
    gap: 12px 0;
  }

  .sp .two>div {
    width: 100%;
    padding: 0;
  }

  .sp .two>div+div {
    border-left: 0;
    margin-top: 0;
  }
}
