.mentor-profile { padding-block:clamp(22px,4vw,42px) 64px; color:#292119; }
.mentor-profile-header {
  display:flex; flex-wrap:wrap; align-items:center; gap:clamp(15px,3vw,26px); padding:clamp(20px,4vw,38px);
  border:1px solid #503a2a; border-radius:22px; color:#fff6e8;
  background:radial-gradient(ellipse at right top,#5a3a25,transparent 65%),#241c17;
}
.mentor-profile-header > div { flex:1 1 220px; min-width:0; }
.mentor-profile-initial {
  display:grid; place-items:center; width:clamp(48px,7vw,74px); aspect-ratio:1; border-radius:18px;
  background:#ffcc80; color:#2e2117; font-size:clamp(22px,4vw,36px); font-weight:800;
}
.mentor-profile-header h1 { margin:4px 0 8px; font-size:clamp(27px,5vw,45px); line-height:1.1; overflow-wrap:anywhere; }
.mentor-profile-header p { margin:0; color:#f2ddc7; overflow-wrap:anywhere; }
.mentor-profile-header .mentor-profile-status { font-size:12px; font-weight:750; color:#ffd08a; }
.mentor-profile-content { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:18px; margin-top:18px; }
.mentor-profile-column { display:grid; align-content:start; gap:18px; min-width:0; }
.mentor-profile-card { padding:clamp(16px,3vw,26px); border-radius:16px; border:1px solid #e8dfd2; background:white; overflow-wrap:anywhere; }
.mentor-profile-card h2 { margin:0 0 14px; font-size:18px; }
.mentor-profile-bio { margin:0; white-space:pre-line; line-height:1.75; color:#564b42; }
.mentor-profile-list { display:grid; gap:12px; margin:0; }
.mentor-profile-list > div + div { padding-top:12px; border-top:1px solid #eee8df; }
.mentor-profile-list dt { color:#766352; font-size:12px; }
.mentor-profile-list dd { margin:4px 0 0; font-weight:650; }
.mentor-profile-subjects { display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; list-style:none; }
.mentor-profile-subjects li { max-width:100%; padding:6px 10px; border-radius:10px; background:#fff0d9; color:#63401e; font-size:13px; }
.mentor-profile-courses { margin-top:28px; }
.mentor-courses-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin:0 0 16px; flex-wrap:wrap; }
.mentor-courses-kicker { display:block; margin:0 0 3px; font-size:10.5px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; color:#9a6b2f; }
.mentor-courses-head h2 { margin:0; font-size:clamp(20px,2.4vw,26px); letter-spacing:-.02em; }
.mentor-courses-count {
  padding:5px 12px; border-radius:999px; background:#fff4e2; border:1px solid #efd8b7;
  color:#7a4e17; font-size:12px; font-weight:750;
}
.mentor-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.mentor-course-grid .marketplace-card { min-width:0; display:flex; flex-direction:column; }
.mentor-course-grid .card-body { display:flex; flex-direction:column; flex:1; }
.mentor-course-grid .card-actions { margin-top:auto; }
.mentor-courses-empty {
  padding:28px; border-radius:16px; border:1px solid #e8dfd2; background:#ffffff;
  display:flex; flex-direction:column; align-items:flex-start; gap:8px;
}
.mentor-courses-empty h3 { margin:0; font-size:18px; }
.mentor-courses-empty p { margin:0 0 6px; color:#675a4c; font-size:14px; }
@media(max-width:960px) {
  .mentor-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:720px) {
  .mentor-profile-content { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
  .mentor-course-grid { grid-template-columns:minmax(0,1fr); }
}
