/* 티음 — 강사 찾기 전용 스타일 (강사 카드·프로필 모달) */

.instructor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.instructor-card {
  padding: 22px; display: flex; flex-direction: column; gap: 14px; text-align: left;
  background: var(--sheet); border-radius: var(--r-l); box-shadow: var(--lift-1);
  transition: box-shadow var(--std) var(--ease-out), transform var(--std) var(--ease-out);
  cursor: pointer;
}
.instructor-card:hover { box-shadow: var(--lift-2); transform: translateY(-3px); }
.instructor-card .top { display: flex; align-items: center; gap: 14px; }
.instructor-card .who .nm { font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; }
.instructor-card .who .org { font-size: 13px; color: var(--ink-3); margin-top: 1px; }
.instructor-card .specs { display: flex; flex-wrap: wrap; gap: 5px; }
.instructor-card .foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3);
  margin-top: auto;
}
.instructor-card .foot .dist { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.instructor-card .foot .cnt { flex: none; }
/* 후기 집계 평점 메타 (있을 때만) — ★는 이음 점 컬러 */
.instructor-card .foot .foot-meta { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.instructor-card .foot .rt { color: var(--ink-2); font-weight: 650; display: inline-flex; align-items: center; gap: 3px; }
.instructor-card .foot .rt .st { color: var(--dot); }

/* 거리 필터 (내 위치 기반) — 지역 select를 대체. 버튼/칩은 공용 컴포넌트(.btn·.chip) 재사용 */
.dist-filter .f-dist-hint,
.dist-filter .f-dist-cap { margin-top: 8px; font-size: 12px; color: var(--ink-4); line-height: 1.5; }

/* 강사 프로필 모달(.ip-*)은 강의 찾기 페이지와 공용이라 tium.css로 승격됨 */

/* 폰: 강사 카드 1열 + 여백 정리 */
@media (max-width: 560px) {
  .instructor-grid { grid-template-columns: 1fr; gap: 14px; }
  .instructor-card { padding: 18px; }
}
