
.profile-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 20px;
}

.profile-link {
  text-decoration: none;
  color: inherit;
}

.profile-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 18px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.profile-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
}

.profile-id {
  display: inline-block;
  background: #28a745;
  color: #ffffff;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.profile-card h3 {
  margin: 12px 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.profile-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  text-transform: uppercase;
}
/*
@media (max-width: 1400px) {
  .profile-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
*/

@media (max-width: 1200px) {
  .profile-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .profile-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .profile-card {
    padding: 18px;
  }
}


@media (max-width: 576px) {
  .profile-container {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .profile-card {
    text-align: center;
  }

  .profile-card img {
    margin-left: auto;
    margin-right: auto;
  }

  .profile-card h3 {
    font-size: 20px;
  }

  .profile-card p {
    font-size: 13px;
  }
}
