/* Professor Headshot - 400px Circle */
.professor-headshot {
  max-width: 400px;
  max-height: 400px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.professor-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Language Badges */
.professor-languages .language-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--grey-light);
  color: var(--black);
  text-decoration: none;
  border-radius: 2rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

@media (hover: hover) {
  .professor-languages .language-badge:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); */
  }
}

/* Subject Badges */
.professor-subjects .subject-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--grey-faint);
  color: var(--grey-clay);
  border-radius: 2rem;
  font-weight: 500;
}

/* Professor Sections */
.professor-section {
  background: white;
  padding: 2rem;
  /* border-bottom: 1px solid var(--grey-light); */
}

.professor-section h2 {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .professor-headshot {
    max-width: 300px;
    max-height: 300px;
    margin-bottom: 2rem;
  }

  .professor-section {
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .professor-headshot {
    max-width: 250px;
    max-height: 250px;
  }

  .professor-languages .language-badge,
  .professor-subjects .subject-badge {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
  }
}

.wavy-hr-svg {
  border: none;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 20" preserveAspectRatio="none"><path fill="none" stroke="%23d1d5db" stroke-width="2" d="M0,10 Q75,0 150,10 T300,10 T450,10 T600,10 T750,10 T900,10 T1050,10 T1200,10"/></svg>');
  background-repeat: repeat-x;
  background-size: 100% 100%;
}
