/* Magíster Commerce 2.5.0 — public instructor profile */
.mc-instructor-profile{
  --mc-ip-purple:#7415d8;
  --mc-ip-purple2:#8b2cf5;
  --mc-ip-ink:#191626;
  --mc-ip-muted:#6d6877;
  --mc-ip-border:#e7e1f0;
  width:min(1440px,calc(100% - 48px));
  margin:40px auto 76px;
  color:var(--mc-ip-ink);
}
.mc-instructor-hero{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  padding:34px 38px;
  border:1px solid var(--mc-ip-border);
  border-radius:28px;
  background:
    radial-gradient(circle at 92% 10%,rgba(139,44,245,.13),transparent 30%),
    radial-gradient(circle at 5% 100%,rgba(116,21,216,.08),transparent 28%),
    linear-gradient(135deg,#fff 0%,#fbf8ff 100%);
  box-shadow:0 22px 65px rgba(42,24,74,.08);
  overflow:hidden;
}
.mc-instructor-hero:after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-90px;
  width:240px;
  height:240px;
  border:1px solid rgba(116,21,216,.1);
  border-radius:50%;
  box-shadow:inset 0 0 0 34px rgba(116,21,216,.025),inset 0 0 0 68px rgba(116,21,216,.02);
  pointer-events:none;
}
.mc-instructor-avatar-wrap{position:relative;width:148px;height:148px}
.mc-instructor-avatar{
  width:148px!important;
  height:148px!important;
  display:block;
  object-fit:cover;
  border:5px solid #fff;
  border-radius:32px;
  box-shadow:0 16px 38px rgba(44,28,68,.16);
  background:#f2ecfb;
}
.mc-instructor-avatar--placeholder{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--mc-ip-purple),var(--mc-ip-purple2));font-size:34px;font-weight:900}
.mc-instructor-verified{
  position:absolute;
  right:-7px;
  bottom:10px;
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  border:4px solid #fff;
  border-radius:50%;
  background:linear-gradient(135deg,var(--mc-ip-purple),var(--mc-ip-purple2));
  color:#fff;
  font-size:16px;
  font-weight:900;
  box-shadow:0 8px 22px rgba(116,21,216,.25);
}
.mc-instructor-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border:1px solid #e6d8f7;
  border-radius:999px;
  background:#f8f1ff;
  color:var(--mc-ip-purple);
  font-size:10.5px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.mc-instructor-hero h1{margin:10px 0 8px;font-size:clamp(30px,3.5vw,48px);line-height:1.05;color:var(--mc-ip-ink)}
.mc-instructor-areas{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.mc-instructor-areas span{padding:6px 9px;border-radius:999px;background:#f5f1fa;color:#5e5668;font-size:10.5px;font-weight:700}
.mc-instructor-bio{max-width:740px;margin:0;color:var(--mc-ip-muted);font-size:14px;line-height:1.65}
.mc-instructor-link{display:inline-flex;margin-top:14px;color:var(--mc-ip-purple);font-size:12px;font-weight:800;text-decoration:none}
.mc-instructor-link:hover{text-decoration:underline}
.mc-instructor-stats{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(92px,1fr));
  gap:8px;
}
.mc-instructor-stats>div{
  min-width:105px;
  padding:14px 13px;
  border:1px solid #e8e1f1;
  border-radius:16px;
  background:rgba(255,255,255,.88);
  text-align:center;
  backdrop-filter:blur(7px);
}
.mc-instructor-stats strong{display:block;color:#241d2d;font-size:22px;line-height:1}
.mc-instructor-stats span{display:block;margin-top:5px;color:#797180;font-size:9.5px;font-weight:700}
.mc-instructor-courses{margin-top:40px}
.mc-instructor-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.mc-instructor-heading>div>span{display:block;margin-bottom:3px;color:var(--mc-ip-purple);font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.mc-instructor-heading h2{margin:0;color:var(--mc-ip-ink);font-size:clamp(26px,3vw,38px)}
.mc-instructor-heading>a{color:var(--mc-ip-purple);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.mc-instructor-heading>a:hover{text-decoration:underline}
.mc-instructor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.mc-instructor-empty{padding:34px;border:1px dashed #dcd2e9;border-radius:20px;background:#fbf9fe;text-align:center}
.mc-instructor-empty strong{font-size:18px}.mc-instructor-empty p{margin:6px 0 0;color:#756e7d;font-size:13px}

@media(max-width:1180px){
  .mc-instructor-hero{grid-template-columns:auto 1fr}.mc-instructor-stats{grid-column:1/-1;justify-content:start;grid-template-columns:repeat(3,120px)}
  .mc-instructor-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:980px){.mc-instructor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){
  .mc-instructor-profile{width:min(100% - 30px,720px);margin-top:26px}
  .mc-instructor-hero{grid-template-columns:1fr;text-align:center;padding:28px 22px}.mc-instructor-avatar-wrap{margin:auto}.mc-instructor-areas{justify-content:center}.mc-instructor-bio{margin-inline:auto}.mc-instructor-stats{justify-content:center}
  .mc-instructor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .mc-instructor-profile{width:calc(100% - 20px);margin:18px auto 50px}
  .mc-instructor-hero{padding:22px 15px;border-radius:20px;gap:18px}.mc-instructor-avatar-wrap,.mc-instructor-avatar{width:112px!important;height:112px!important}.mc-instructor-avatar{border-radius:25px}.mc-instructor-verified{width:31px;height:31px;right:-5px;border-width:3px}
  .mc-instructor-hero h1{font-size:29px}.mc-instructor-bio{font-size:12.5px;line-height:1.55}.mc-instructor-stats{grid-template-columns:repeat(3,1fr);width:100%;gap:6px}.mc-instructor-stats>div{min-width:0;padding:11px 6px}.mc-instructor-stats strong{font-size:18px}.mc-instructor-stats span{font-size:8.5px}
  .mc-instructor-heading{align-items:flex-start}.mc-instructor-heading h2{font-size:26px}.mc-instructor-heading>a{font-size:10.5px}
  .mc-instructor-grid{grid-template-columns:1fr;gap:14px}
}

/* 2.5.1 — Tutor LMS social profiles */
.mc-instructor-socials{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px}
.mc-instructor-social{width:31px;height:31px;display:inline-grid;place-items:center;border:1px solid #e3dced;border-radius:10px;background:#fff;color:#5e5668;text-decoration:none;box-shadow:0 5px 14px rgba(52,34,77,.06);transition:transform .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.mc-instructor-social svg{width:14px;height:14px;display:block;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mc-instructor-social--facebook{color:#1877f2}.mc-instructor-social--x{color:#171717}.mc-instructor-social--linkedin{color:#0a66c2}.mc-instructor-social--website{color:var(--mc-ip-purple)}
.mc-instructor-social:hover{transform:translateY(-1px);border-color:#ceb9ed;box-shadow:0 8px 20px rgba(70,39,111,.1)}
@media(max-width:820px){.mc-instructor-socials{justify-content:center}}
@media(max-width:560px){.mc-instructor-social{width:29px;height:29px;border-radius:9px}.mc-instructor-social svg{width:13px;height:13px}}

/* 2.6.0 — Creator Studio public profile personalization */
.mc-instructor-hero.has-cover{background-size:cover;background-position:center;isolation:isolate}
.mc-instructor-hero.has-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,12,26,.15),rgba(63,22,101,.08));pointer-events:none;z-index:0}
.mc-instructor-hero.has-cover .mc-instructor-hero__visual,.mc-instructor-hero.has-cover .mc-instructor-hero__content,.mc-instructor-hero.has-cover .mc-instructor-stats{position:relative;z-index:1}
.mc-instructor-hero.has-cover h1,.mc-instructor-hero.has-cover .mc-instructor-bio{color:#fff}
.mc-instructor-hero.has-cover .mc-instructor-bio{opacity:.9}
.mc-instructor-hero.has-cover .mc-instructor-areas span{background:rgba(255,255,255,.9);color:#44394e}
.mc-instructor-hero.has-cover .mc-instructor-eyebrow{background:rgba(255,255,255,.94);border-color:rgba(255,255,255,.5)}
.mc-instructor-owner-edit{display:inline-flex;margin-top:13px;min-height:34px;align-items:center;padding:0 12px;border-radius:10px;background:linear-gradient(135deg,var(--mc-ip-purple),var(--mc-ip-purple2));color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:850;box-shadow:0 8px 18px rgba(116,21,216,.18)}
.mc-instructor-promo{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;min-height:132px;padding:26px 30px;border-radius:22px;background:linear-gradient(135deg,#2b1744,#7b27c7);background-size:cover;background-position:center;color:#fff;box-shadow:0 18px 44px rgba(52,28,83,.12)}
.mc-instructor-promo>div{max-width:760px}.mc-instructor-promo span{font-size:9.5px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;opacity:.78}.mc-instructor-promo h2{margin:5px 0 4px;color:#fff;font-size:clamp(22px,2.5vw,31px)}.mc-instructor-promo p{margin:0;color:#fff;font-size:12px;line-height:1.5;opacity:.87}.mc-instructor-promo>a{display:inline-flex;align-items:center;justify-content:center;min-width:120px;min-height:40px;padding:0 15px;border-radius:11px;background:#fff;color:var(--mc-ip-purple);text-decoration:none;font-size:10.5px;font-weight:900;white-space:nowrap}
@media(max-width:700px){.mc-instructor-promo{align-items:flex-start;flex-direction:column;padding:20px}.mc-instructor-promo>a{width:100%}}

/* 2.7.0 — academic storefront shelves */
.mc-instructor-shelf{margin-top:28px;padding:22px 24px;border:1px solid var(--mc-ip-border);border-radius:22px;background:linear-gradient(135deg,#fff,#fcf9ff);box-shadow:0 14px 38px rgba(44,27,67,.055)}
.mc-instructor-shelf__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.mc-instructor-shelf__heading>div>span{display:block;margin-bottom:3px;color:var(--mc-ip-purple);font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}
.mc-instructor-shelf__heading h2{margin:0;font-size:clamp(22px,2.3vw,30px);line-height:1.1;color:var(--mc-ip-ink)}
.mc-instructor-shelf__heading small{max-width:320px;color:var(--mc-ip-muted);font-size:10px;line-height:1.45;text-align:right}
.mc-instructor-carousel{margin:0}
.mc-instructor-rail{grid-template-columns:none!important;grid-auto-columns:minmax(176px,1fr)!important;gap:12px!important;padding-bottom:8px!important}
.mc-instructor-rail .mc-card{min-width:176px;border-radius:13px;box-shadow:0 5px 16px rgba(35,23,52,.045)}
.mc-instructor-rail .mc-card__body{padding:9px 10px 4px}
.mc-instructor-rail .mc-card h3{font-size:12px;min-height:31px}
.mc-instructor-rail .mc-card__category,.mc-instructor-rail .mc-card__rating,.mc-instructor-rail .mc-card__meta{font-size:9px}
.mc-instructor-rail .mc-card__footer{padding:4px 10px 10px}.mc-instructor-rail .mc-card__price strong{font-size:15px}.mc-instructor-rail .mc-button{min-height:32px;font-size:10px}
.mc-instructor-shelf .mc-course-carousel__dots{margin-top:6px}
@media(min-width:1180px){.mc-instructor-rail{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-columns:minmax(0,1fr)!important;gap:12px!important}}
@media(max-width:820px){.mc-instructor-shelf{padding:18px}.mc-instructor-shelf__heading{align-items:flex-start;flex-direction:column}.mc-instructor-shelf__heading small{text-align:left}.mc-instructor-rail{grid-auto-columns:minmax(190px,43vw)!important}}
@media(max-width:560px){.mc-instructor-shelf{margin-top:18px;padding:15px;border-radius:18px}.mc-instructor-shelf__heading{gap:5px;margin-bottom:12px}.mc-instructor-shelf__heading h2{font-size:22px}.mc-instructor-shelf__heading small{font-size:9.5px}.mc-instructor-rail{grid-auto-columns:78vw!important}}

/* 2.11.0: cuatro cifras (p. ej. «Certificados») en 2 × 2. */
.mc-instructor-stats:has(>div:nth-child(4)){grid-template-columns:repeat(2,minmax(92px,1fr))}

/* 2.11.2 — Shell MagísterX: mismo ancho que el encabezado. */
html body .mc-instructor-profile{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--mx-shell-max,1360px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
