.gk-teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Alternative feste 4-Spalten-Variante */
@media (min-width: 1200px) {
  .gk-teachers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .gk-teachers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .gk-teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .gk-teachers-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Styling */
.gk-teacher-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gk-teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.gk-image-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.gk-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gk-teacher-card:hover img {
  transform: scale(1.05);
}

.gk-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 1rem;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gk-teacher-card:hover .gk-hover-overlay {
  opacity: 1;
}

.gk-info {
  text-align: center;
  padding: 1rem;
}

.gk-divider {
  width: 60px;
  height: 3px;
  background: #facc15;
  margin: 0.5rem auto;
}

.gk-actions a {
  text-decoration: none;
  font-size: 1.5rem;
  margin: 0 0.25rem;
}
