/* ===== Find a Teacher — instructor directory ===== */
.instr-page-hero { padding: 52px 0 30px; }
.instr-page-hero h1 { font-size: 56px; margin-bottom: 14px; }
.instr-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.instr-stats { display: flex; gap: 40px; margin-top: 26px; }
.instr-stat { display: flex; flex-direction: column; gap: 2px; }
.instr-stat strong { font-family: 'Inter Tight', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.instr-stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* filter bar */
.instr-filters { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.96); position: sticky; top: 70px; z-index: 50; backdrop-filter: blur(12px); }
/* .chip-row / .filter-chip / .filter-form / .fsearch / .filter-apply / .filter-clear
   now live in v7-shared.css (single source — includes the custom dropdown chevron). */

/* results head */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 36px 0 24px; gap: 20px; flex-wrap: wrap; }
.results-head h2 { font-family: 'Inter Tight', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.results-head h2 span { color: var(--muted); font-weight: 500; }

/* featured */
.featured-instr { padding: 40px 0 8px; }
.featured-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.featured-card { border-radius: var(--r-xl); overflow: hidden; position: relative; aspect-ratio: 4/5; box-shadow: var(--shadow-md); transition: transform 0.3s; display: block; }
.featured-card:hover { transform: translateY(-4px); }
.featured-card .photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.featured-card .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(31,6,23,0.85) 100%); }
.featured-card .info { position: absolute; inset: auto 0 0 0; padding: 24px; color: #fff; z-index: 2; }
.featured-card .info h3 { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.featured-card .info .role { font-size: 13px; opacity: 0.9; margin-bottom: 12px; }
.featured-card .info .meta { display: flex; gap: 14px; font-size: 12px; opacity: 0.92; font-weight: 600; }
.featured-card .badge-verified { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.95); color: var(--plum); padding: 4px 10px; border-radius: var(--r-full); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; z-index: 2; }
.featured-card .badge-verified::before { content: '✓'; margin-right: 4px; color: var(--teal-bright); }

/* all grid */
.all-instructors { padding: 8px 0 88px; }
.all-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ic-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; transition: all 0.2s; display: block; color: var(--ink); }
.ic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ic-photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--r-md); background: var(--plum-soft); background-size: cover; background-position: center; margin-bottom: 16px; position: relative; }
.ic-badge { position: absolute; top: 10px; left: 10px; background: var(--teal-bright); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-full); }
.ic-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.ic-name { font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.ic-role { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.35; }
.ic-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ic-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); }
.ic-meta .dot { color: var(--line-strong); }
.ic-meta .ic-price { margin-left: auto; font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 800; color: var(--ink); }

/* empty state */
.instr-empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-xl); background: var(--bg-soft); }
.instr-empty h3 { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.instr-empty p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

/* teach CTA */
.teach-cta { padding: 88px 0; background: var(--bg-soft); }
.teach-card { background: var(--g-plum-rich); border-radius: var(--r-2xl); padding: 60px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; box-shadow: var(--shadow-xl); position: relative; overflow: hidden; }
.teach-card::before { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(232,123,44,0.4) 0%, transparent 70%); }
.teach-card h2 { font-family: 'Inter Tight', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; position: relative; }
.teach-card p { font-size: 16px; opacity: 0.92; line-height: 1.6; margin-bottom: 26px; max-width: 480px; position: relative; }
.teach-card .actions { display: flex; gap: 12px; position: relative; flex-wrap: wrap; }
.teach-card .btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,0.4); padding: 13px 22px; border-radius: var(--r-sm); font-weight: 700; font-size: 14px; }
.teach-card .btn-ghost:hover { background: rgba(255,255,255,0.12); }
.teach-card .tphoto { aspect-ratio: 4/5; border-radius: var(--r-xl); background-size: cover; background-position: center; box-shadow: 0 24px 60px -16px rgba(0,0,0,0.4); }

@media (max-width: 1024px) {
  .instr-page-hero h1 { font-size: 40px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .all-grid { grid-template-columns: repeat(2, 1fr); }
  .teach-card { grid-template-columns: 1fr; padding: 40px; }
  .teach-card h2 { font-size: 30px; }
  .teach-card .tphoto { display: none; }
}
@media (max-width: 640px) {
  .featured-grid, .all-grid { grid-template-columns: 1fr; }
  .instr-stats { flex-wrap: wrap; gap: 22px; }
}
