/* Scoped to the instructor profile; shared pages retain their existing styles. */
.instructor-profile { align-items: start; }
.instructor-profile .instructor-portrait {
  display: block;
  margin: 0;
  padding: 8px;
  min-height: 0;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: var(--paper-deep);
}
.instructor-profile .instructor-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
}
.instructor-profile .portfolio-copy > p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 2.2;
}
.instructor-skills-title {
  margin: 28px 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
.instructor-profile .expertise { display: flex; flex-wrap: wrap; gap: 10px 18px; }
@media (max-width: 760px) {
  .instructor-profile .instructor-portrait { width: min(100%, 320px); justify-self: center; box-sizing: border-box; }
}
