/* =========================
SPONSORS PAGINA
========================= */

/* =========================
HEADER
========================= */
.sponsors-header {
  text-align: center;
  margin-bottom: 40px;
}

.sponsors-header h2 {
  font-size: 32px;
  color: #1b2845;
  margin: 0;
}

.sponsor-subtitle {
  font-style: italic;
  color: #5f6f82;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* =========================
KNOP
========================= */
.btn-sponsor {
  display: inline-block;
  background-color: #0c66a8;
  color: #fff;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-sponsor:hover {
  background-color: #1b2845;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* =========================
GRID
========================= */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
  justify-content: center;
}

@media (min-width: 1200px) {
  .sponsor-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
ITEMS (CARD)
========================= */
.sponsor-item {
  position: relative;
  background: #f0f8ff;
  border: 1px solid rgba(12,102,168,0.15);
  padding: 16px 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.sponsor-item img {
  width: auto;
  max-width: 150px;
  display: block;
  margin-bottom: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Logo max-height per type */
.sponsor-item.gold img { max-height: 130px; }
.sponsor-item.silver img { max-height: 120px; }
.sponsor-item.bronze img { max-height: 110px; }

.sponsor-item p {
  font-weight: 600;
  text-align: center;
  color: #1b2845;
  margin: 0;
}

/* =========================
SUBTIEL PREMIUM ICON
========================= */
.sponsor-logo-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 10px;
  color: rgba(27,40,69,0.4);
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

/* =========================
HOVER EFFECT
========================= */
.sponsor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.sponsor-item:hover img {
  transform: scale(1.05);
}

/* overlay "Bezoek website" */
.sponsor-item::after {
  content: "Bezoek website";
  position: absolute;
  inset: 0;
  background: rgba(12,102,168,0.7);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  opacity: 0;
  border-radius: 16px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sponsor-item.has-website:hover::after {
  opacity: 1;
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .sponsor-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .btn-sponsor {
    width: 70%;
    text-align: center;
    margin: 0 auto 20px auto;
  }

  .sponsor-item img {
    max-height: 100px;
  }
}

@media (max-width: 480px) {
  .sponsor-item {
    padding: 12px 16px;
    min-height: 140px;
  }

  .sponsor-item img {
    max-height: 80px;
  }
}