.sponsors-section {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
  font-family:
    'Popp',
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
}

.sponsors-wrapper {
  max-width: 94%;
  margin: 0 auto;
  padding: 0 3%;
}

/* ----- header / title ----- */
.sponsors-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sponsors-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0c2a44;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.sponsors-head h2:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: #f97316;
  /* signature orange */
  border-radius: 4px;
}

/* ----- flex rows – two distinct groups ----- */
.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3rem;
  margin-bottom: 3rem;
}

.sponsor-row:last-child {
  margin-bottom: 0;
}

/* ----- sponsor item / logo cards ----- */
.sponsor-item {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
  padding: 0.25rem;
}

.sponsor-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(0%) brightness(1);
  opacity: 0.9;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----- hover effect – modern & clean ----- */
.sponsor-item:hover img {
  filter: grayscale(0%) brightness(1.05);
  opacity: 1;
  transform: scale(1.06);
}

/* ----- specific width classes – responsive ----- */
.w-2-5 {
  width: calc(40% - 1rem);
  max-width: 200px;
}

.w-1-6 {
  width: calc(16.666% - 1rem);
  max-width: 160px;
}

.w-1-12 {
  width: calc(14% - 0.85rem);
  max-width: 130px;
}

/* ----- breakpoints (pure sponsor css) ----- */
@media screen and (min-width: 640px) {
  .sponsors-section {
    padding: 6rem 2rem;
  }
}

@media screen and (max-width: 1023px) {
  .w-1-6 {
    width: calc(33.333% - 1.5rem);
    max-width: 180px;
  }

  .w-1-12 {
    width: calc(25% - 1rem);
    max-width: 140px;
  }

  .sponsor-row {
    gap: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .sponsors-head h2 {
    font-size: 2rem;
  }

  .w-2-5 {
    width: calc(80% - 1rem);
    max-width: 240px;
  }

  .w-1-6 {
    width: calc(50% - 1.2rem);
    max-width: 170px;
  }

  .w-1-12 {
    width: calc(33.333% - 0.8rem);
    max-width: 130px;
  }

  .sponsor-row {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .sponsors-section {
    padding: 4rem 1rem;
  }

  .w-2-5,
  .w-1-6,
  .w-1-12 {
    width: calc(50% - 0.8rem);
    max-width: 160px;
  }

  .sponsor-row {
    gap: 1.2rem;
  }
}

/* ----- utility / accessibility ----- */
.sponsor-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

img:focus-visible,
.sponsor-item:focus-within {
  outline: 2px solid #f97316;
  outline-offset: 4px;
  border-radius: 4px;
}
