.coach-id-card {
  background: linear-gradient(135deg, #e2d1f9 0%, #b7aaff 60%, #8E33FF 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(32,101,209,0.10);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0;
  width: 100%;
  min-height: 220px;
  height: 250px;
  position: relative;
  overflow: visible;
  transition: box-shadow 0.2s;
}

.coach-id-card-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 2.25rem 2.25rem;
  gap: 1.25rem;
  box-sizing: border-box;
}

.coach-id-left {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  max-width: 12rem;
}
.coach-id-photo-square {
  width: 10rem;
  height: 9rem;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #f4f6f8;
  border: 0.19rem solid #8E33FF;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}
.coach-id-photo-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coach-id-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.coach-id-card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,101,209,0.18);
}
.coach-id-photo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #8E33FF;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coach-id-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.coach-id-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coach-id-name {
  font-family: 'Public Sans', 'Inter', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #212b36;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}
.coach-id-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 6px;
}
.coach-id-specialty-tag {
  background: #f3e8fd;
  color: #8E33FF;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.01em;
}
.coach-id-contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .3rem;
}
.coach-id-contact-item {
  display: flex;
  max-width: 14rem;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.65);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 4px 0 rgba(142,51,255,0.08);
  font-size: 0.7rem;
  font-weight: 500;
  color: #44336b;
  transition: background 0.18s, color 0.18s;
}
.coach-id-contact-item:hover {
  background: #f3e8fd;
  color: #8E33FF;
}
.coach-id-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E33FF 60%, #b7aaff 100%);
  color: #fff;
  font-size: 1.23em;
  margin-right: 6px;
  box-shadow: 0 2px 8px 0 rgba(142,51,255,0.09);
  flex-shrink: 0;
}
.coach-id-contact-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}
.coach-id-contact-item a:hover {
  color: #8E33FF;
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .coach-id-card-inner {
    gap: 1.2rem;
    padding: 1.2rem 0.7rem;
  }
  .coach-id-left {
    min-width: 6rem;
    max-width: 7.5rem;
  }
  .coach-id-photo-square {
    width: 6.5rem;
    height: 5rem;
    border-radius: 0.5rem;
  }
}

@media (max-width: 700px) {
  .coach-id-card {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 11.5rem;
  }
  .coach-id-card-inner {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.3rem;
    gap: 1.1rem;
  }
  .coach-id-left {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0.8rem;
  }
  .coach-id-right {
    padding-left: 0;
    width: 100%;
  }
  .coach-id-photo-square {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 0.36rem;
  }
}
@media (max-width: 420px) {
  .coach-id-card-inner {
    padding: 0.3rem 0.1rem;
    gap: 0.5rem;
  }
  .coach-id-card {
    min-height: 7.5rem;
  }
  .coach-id-photo-square {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.18rem;
  }
  .coach-id-name {
    font-size: 0.97rem;
  }
  .coach-id-contact-item {
    font-size: 0.84rem;
    padding: 0.3rem 0.3rem 0.3rem 0.3rem;
  }

  
}