/* Minds Academy 9.0.22 — theme-aware professional Instructor Directory */
.minds-922-directory,.minds-922-public-profile{
  --minds-dir-accent:var(--wd-primary-color,var(--e-global-color-primary,var(--wp--preset--color--primary,#2563eb)));
  --minds-dir-accent-contrast:var(--btn-accented-color,var(--e-global-color-primary-contrast,#fff));
  --minds-dir-surface:var(--wd-main-bgcolor,var(--e-global-color-background,#fff));
  --minds-dir-radius:var(--wd-brd-radius,var(--minds-portal-radius,18px));
  --minds-dir-gap:22px;
  font-family:inherit;
  color:inherit;
}
.minds-922-directory *,.minds-922-public-profile *{box-sizing:border-box}
.minds-922-directory h1,.minds-922-directory h2,.minds-922-directory h3,.minds-922-public-profile h1,.minds-922-public-profile h2,.minds-922-public-profile h3{font-family:inherit;line-height:1.2;color:inherit}
.minds-922-directory h1{font-size:clamp(1.75rem,3vw,2.6rem);margin:.15em 0 .35em}
.minds-922-directory h2{font-size:clamp(1.05rem,1.5vw,1.35rem);margin:0}
.minds-922-directory-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:0 0 24px}
.minds-922-directory-hero p{max-width:780px;margin:.35em 0 0;line-height:1.65;opacity:.76}
.minds-922-directory-filter{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(160px,1fr)) auto;gap:11px;align-items:stretch;margin:0 0 26px}
.minds-922-directory-filter input,.minds-922-directory-filter select{width:100%;min-height:46px;padding:0 12px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:11px;background:var(--minds-dir-surface);color:inherit;font:inherit}
.minds-922-instructor-grid{display:grid;grid-template-columns:repeat(var(--minds-dir-cols-d,3),minmax(0,1fr));gap:var(--minds-dir-gap)}
.minds-922-instructor-card{position:relative;min-width:0;overflow:hidden;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:var(--minds-dir-radius);background:var(--minds-dir-surface);box-shadow:0 12px 34px color-mix(in srgb,currentColor 7%,transparent)}
.minds-922-instructor-image{position:relative;display:block;overflow:hidden;text-decoration:none;background:color-mix(in srgb,currentColor 4%,transparent)}
.minds-922-instructor-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.minds-922-instructor-card:hover .minds-922-instructor-image img{transform:scale(1.025)}
.minds-922-featured{position:absolute;inset-block-start:13px;inset-inline-start:13px;z-index:2;padding:6px 10px;border-radius:999px;background:var(--minds-dir-accent);color:var(--minds-dir-accent-contrast);font-size:.72rem;font-weight:750;line-height:1}
.minds-922-instructor-body{display:flex;flex-direction:column;gap:11px;padding:20px}
.minds-922-name-block h2 a{color:inherit;text-decoration:none}
.minds-922-instructor-title{margin:5px 0 0;font-weight:700;opacity:.8}
.minds-922-headline{margin:0;line-height:1.55;opacity:.72}
.minds-922-chips{display:flex;gap:7px;flex-wrap:wrap}
.minds-922-chips span{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:color-mix(in srgb,var(--minds-dir-accent) 10%,transparent);color:inherit;font-size:.76rem;font-weight:650}
.minds-922-meta{display:flex;gap:8px 14px;flex-wrap:wrap;font-size:.79rem;opacity:.7}
.minds-922-dir-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;border:1px solid var(--minds-dir-accent);border-radius:10px;background:var(--minds-dir-accent);color:var(--minds-dir-accent-contrast)!important;text-decoration:none!important;font-family:inherit;font-weight:700;line-height:1.1;cursor:pointer;transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease}
.minds-922-dir-button:hover{transform:translateY(-1px);opacity:.92;box-shadow:0 7px 18px color-mix(in srgb,var(--minds-dir-accent) 20%,transparent)}
.minds-922-dir-button.is-secondary{background:transparent;color:var(--minds-dir-accent)!important}
.minds-922-button--small .minds-922-dir-button{min-height:36px;padding:7px 12px;font-size:.82rem}
.minds-922-button--medium .minds-922-dir-button{min-height:42px;padding:9px 15px;font-size:.9rem}
.minds-922-button--large .minds-922-dir-button{min-height:48px;padding:11px 19px;font-size:.96rem}

/* 1. Classic Cards */
.minds-922-template--classic .minds-922-instructor-image{aspect-ratio:4/3}
.minds-922-template--classic .minds-922-dir-button{margin-top:auto}

/* 2. Modern Overlay */
.minds-922-template--modern .minds-922-instructor-card{min-height:430px;border:0;background:#111;color:#fff}
.minds-922-template--modern .minds-922-instructor-image{position:absolute;inset:0;height:100%}
.minds-922-template--modern .minds-922-instructor-image:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.86) 0%,rgba(0,0,0,.35) 52%,rgba(0,0,0,.04) 80%)}
.minds-922-template--modern .minds-922-instructor-body{position:relative;z-index:2;justify-content:flex-end;min-height:430px;padding:26px;color:#fff}
.minds-922-template--modern .minds-922-headline{opacity:.86}
.minds-922-template--modern .minds-922-meta{opacity:.84}
.minds-922-template--modern .minds-922-chips span{background:rgba(255,255,255,.15);color:#fff}
.minds-922-template--modern .minds-922-dir-button{background:#fff;color:#111!important;border-color:#fff}

/* 3. Minimal Portrait */
.minds-922-template--minimal .minds-922-instructor-card{border:0;box-shadow:none;background:transparent;text-align:center;overflow:visible}
.minds-922-template--minimal .minds-922-instructor-image{width:min(190px,70%);aspect-ratio:1/1;margin:0 auto 8px;border-radius:50%;box-shadow:0 8px 28px color-mix(in srgb,currentColor 10%,transparent)}
.minds-922-template--minimal .minds-922-instructor-image img{border-radius:50%}
.minds-922-template--minimal .minds-922-featured{inset-inline-start:50%;transform:translateX(-50%);inset-block-start:auto;bottom:7px}
.minds-922-template--minimal .minds-922-instructor-body{align-items:center;padding:12px 10px 20px}
.minds-922-template--minimal .minds-922-chips,.minds-922-template--minimal .minds-922-meta{justify-content:center}

/* 4. Editorial Split */
.minds-922-template--editorial .minds-922-instructor-card{display:grid;grid-template-columns:minmax(120px,42%) 1fr;min-height:260px}
.minds-922-template--editorial .minds-922-instructor-image{height:100%;min-height:260px}
.minds-922-template--editorial .minds-922-instructor-body{padding:24px 22px}
.minds-922-template--editorial .minds-922-dir-button{margin-top:auto}

/* 5. Compact List */
.minds-922-template--compact .minds-922-instructor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.minds-922-template--compact .minds-922-instructor-card{display:grid;grid-template-columns:92px 1fr;align-items:stretch;border-radius:14px;box-shadow:none}
.minds-922-template--compact .minds-922-instructor-image{width:92px;height:100%;min-height:150px}
.minds-922-template--compact .minds-922-instructor-body{padding:15px 16px;gap:7px}
.minds-922-template--compact .minds-922-headline{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.minds-922-template--compact .minds-922-chips span:nth-child(n+3){display:none}
.minds-922-template--compact .minds-922-dir-button{min-height:34px;padding:6px 10px;font-size:.78rem}

/* 6. Premium Spotlight */
.minds-922-template--spotlight .minds-922-instructor-card{border-top:4px solid var(--minds-dir-accent);box-shadow:0 18px 44px color-mix(in srgb,var(--minds-dir-accent) 10%,transparent)}
.minds-922-template--spotlight .minds-922-instructor-image{aspect-ratio:1/1}
.minds-922-template--spotlight .minds-922-instructor-body{padding:22px}
.minds-922-template--spotlight .minds-922-instructor-card.is-featured{grid-column:span 2;display:grid;grid-template-columns:minmax(220px,46%) 1fr}
.minds-922-template--spotlight .minds-922-instructor-card.is-featured .minds-922-instructor-image{height:100%;aspect-ratio:auto}
.minds-922-template--spotlight .minds-922-instructor-card.is-featured .minds-922-instructor-body{justify-content:center;padding:30px}

/* Public profile shared */
.minds-922-profile-hero{display:grid;grid-template-columns:minmax(190px,280px) 1fr;gap:34px;align-items:center;margin:0 0 24px;padding:28px;border:1px solid color-mix(in srgb,currentColor 11%,transparent);border-radius:calc(var(--minds-dir-radius) + 4px);background:var(--minds-dir-surface)}
.minds-922-profile-photo img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:calc(var(--minds-dir-radius) + 2px)}
.minds-922-profile-intro h1{font-size:clamp(2rem,4vw,3.25rem);margin:.1em 0}
.minds-922-profile-intro h2{font-size:clamp(1rem,1.8vw,1.3rem);margin:0 0 12px;opacity:.72}
.minds-922-profile-headline{max-width:760px;line-height:1.65;opacity:.78}
.minds-922-profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.minds-922-profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 22px}
.minds-922-profile-facts span{padding:16px;text-align:center;border:1px solid color-mix(in srgb,currentColor 10%,transparent);border-radius:14px;background:var(--minds-dir-surface)}
.minds-922-profile-facts strong{display:block;font-size:1.45rem;color:var(--minds-dir-accent)}
.minds-922-about,.minds-922-expert-links{margin:18px 0;padding:22px}
.minds-922-expert-links{display:flex;justify-content:space-between;align-items:center;gap:20px}
.minds-922-background{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin:18px 0}

/* Profile template variations */
.minds-922-profile--modern .minds-922-profile-hero{position:relative;overflow:hidden;min-height:430px;grid-template-columns:1fr;align-items:end;background:#111;color:#fff;border:0}
.minds-922-profile--modern .minds-922-profile-photo{position:absolute;inset:0}
.minds-922-profile--modern .minds-922-profile-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,.12))}
.minds-922-profile--modern .minds-922-profile-photo img{width:100%;height:100%;border-radius:0;object-position:center 28%}
.minds-922-profile--modern .minds-922-profile-intro{position:relative;z-index:2;max-width:850px;padding:18px;color:#fff}
.minds-922-profile--modern .minds-922-chips span{background:rgba(255,255,255,.16);color:#fff}
.minds-922-profile--minimal .minds-922-profile-hero{grid-template-columns:1fr;text-align:center;border:0;box-shadow:none;background:transparent}
.minds-922-profile--minimal .minds-922-profile-photo{max-width:220px;margin:auto}
.minds-922-profile--minimal .minds-922-profile-photo img{border-radius:50%}
.minds-922-profile--minimal .minds-922-chips,.minds-922-profile--minimal .minds-922-profile-actions{justify-content:center}
.minds-922-profile--editorial .minds-922-profile-hero{grid-template-columns:minmax(280px,44%) 1fr;padding:0;overflow:hidden}
.minds-922-profile--editorial .minds-922-profile-photo{height:100%}.minds-922-profile--editorial .minds-922-profile-photo img{height:100%;min-height:460px;border-radius:0}.minds-922-profile--editorial .minds-922-profile-intro{padding:34px}
.minds-922-profile--compact .minds-922-profile-hero{grid-template-columns:120px 1fr;padding:18px;gap:20px}.minds-922-profile--compact .minds-922-profile-photo img{border-radius:50%}.minds-922-profile--compact .minds-922-profile-intro h1{font-size:clamp(1.65rem,3vw,2.3rem)}
.minds-922-profile--spotlight .minds-922-profile-hero{border-top:5px solid var(--minds-dir-accent);box-shadow:0 22px 54px color-mix(in srgb,var(--minds-dir-accent) 10%,transparent)}

.minds-922-profile-specs{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.minds-922-profile-specs label{display:inline-flex!important;width:auto!important;align-items:center;gap:5px;padding:7px 10px;border:1px solid color-mix(in srgb,currentColor 13%,transparent);border-radius:999px}

@media(max-width:1024px){
  .minds-922-instructor-grid{grid-template-columns:repeat(var(--minds-dir-cols-t,2),minmax(0,1fr))}
  .minds-922-template--compact .minds-922-instructor-grid{grid-template-columns:1fr}
  .minds-922-template--spotlight .minds-922-instructor-card.is-featured{grid-column:span 1}
}
@media(max-width:782px){
  .minds-922-directory-hero{align-items:flex-start;flex-direction:column}
  .minds-922-directory-filter{grid-template-columns:1fr 1fr}.minds-922-directory-filter input[type=search]{grid-column:1/-1}
  .minds-922-instructor-grid{grid-template-columns:repeat(var(--minds-dir-cols-m,1),minmax(0,1fr))}
  .minds-922-template--editorial .minds-922-instructor-card{grid-template-columns:130px 1fr;min-height:220px}.minds-922-template--editorial .minds-922-instructor-image{min-height:220px}
  .minds-922-template--spotlight .minds-922-instructor-card.is-featured{display:block}
  .minds-922-profile-hero,.minds-922-profile--editorial .minds-922-profile-hero{grid-template-columns:130px 1fr;gap:18px;padding:18px}.minds-922-profile--editorial .minds-922-profile-photo img{min-height:0;height:auto;border-radius:var(--minds-dir-radius)}.minds-922-profile--editorial .minds-922-profile-intro{padding:0}
  .minds-922-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.minds-922-background{grid-template-columns:1fr}.minds-922-expert-links{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
  .minds-922-directory-filter{grid-template-columns:1fr}.minds-922-directory-filter input[type=search]{grid-column:auto}
  .minds-922-template--editorial .minds-922-instructor-card{grid-template-columns:1fr}.minds-922-template--editorial .minds-922-instructor-image{aspect-ratio:4/3;min-height:0}
  .minds-922-template--compact .minds-922-instructor-card{grid-template-columns:78px 1fr}.minds-922-template--compact .minds-922-instructor-image{width:78px;min-height:140px}
  .minds-922-profile-hero,.minds-922-profile--compact .minds-922-profile-hero,.minds-922-profile--editorial .minds-922-profile-hero{grid-template-columns:1fr;text-align:start}.minds-922-profile-photo{max-width:190px}.minds-922-profile-facts{grid-template-columns:1fr 1fr}
}

/* 9.0.22 template-specific typography and theme-color harmonization */
.minds-922-template--classic .minds-922-name-block h2{font-size:clamp(1.05rem,1.35vw,1.28rem);letter-spacing:-.01em}
.minds-922-template--classic .minds-922-headline{font-size:.92rem}
.minds-922-template--modern .minds-922-instructor-card{background:color-mix(in srgb,var(--minds-dir-accent) 26%,#111)}
.minds-922-template--modern .minds-922-instructor-image:after{background:linear-gradient(to top,color-mix(in srgb,var(--minds-dir-accent) 34%,rgba(0,0,0,.92)) 0%,rgba(0,0,0,.38) 54%,rgba(0,0,0,.05) 82%)}
.minds-922-template--modern .minds-922-name-block h2{font-size:clamp(1.25rem,1.8vw,1.62rem);letter-spacing:-.018em}
.minds-922-template--modern .minds-922-headline{font-size:.94rem}
.minds-922-template--modern .minds-922-dir-button{background:var(--minds-dir-accent);color:var(--minds-dir-accent-contrast)!important;border-color:var(--minds-dir-accent)}
.minds-922-template--minimal .minds-922-name-block h2{font-size:clamp(1.12rem,1.5vw,1.4rem);letter-spacing:-.01em}
.minds-922-template--minimal .minds-922-instructor-title{font-size:.9rem}
.minds-922-template--editorial .minds-922-name-block h2{font-size:clamp(1.2rem,1.7vw,1.52rem);letter-spacing:-.018em}
.minds-922-template--editorial .minds-922-headline{font-size:.93rem}
.minds-922-template--compact .minds-922-name-block h2{font-size:clamp(.98rem,1.2vw,1.15rem);letter-spacing:-.01em}
.minds-922-template--compact .minds-922-instructor-title,.minds-922-template--compact .minds-922-meta{font-size:.75rem}
.minds-922-template--spotlight .minds-922-name-block h2{font-size:clamp(1.2rem,1.75vw,1.55rem);letter-spacing:-.018em}
.minds-922-template--spotlight .is-featured .minds-922-name-block h2{font-size:clamp(1.45rem,2.2vw,2rem)}
.minds-922-profile--classic .minds-922-profile-intro h1{font-size:clamp(2rem,4vw,3.2rem)}
.minds-922-profile--modern .minds-922-profile-hero{background:color-mix(in srgb,var(--minds-dir-accent) 24%,#111)}
.minds-922-profile--modern .minds-922-profile-photo:after{background:linear-gradient(to top,color-mix(in srgb,var(--minds-dir-accent) 32%,rgba(0,0,0,.92)),rgba(0,0,0,.12))}
.minds-922-profile--modern .minds-922-profile-intro h1{font-size:clamp(2.15rem,5vw,3.75rem);letter-spacing:-.025em}
.minds-922-profile--minimal .minds-922-profile-intro h1{font-size:clamp(1.9rem,4vw,3rem)}
.minds-922-profile--editorial .minds-922-profile-intro h1{font-size:clamp(2rem,4vw,3.3rem);letter-spacing:-.025em}
.minds-922-profile--spotlight .minds-922-profile-intro h1{font-size:clamp(2.1rem,4.5vw,3.45rem);letter-spacing:-.025em}

/* 9.0.81 admin-only zero-result diagnostic on the public directory. */
.minds-981-directory-admin-diagnostic{margin:18px 0 0;padding:18px 20px;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:16px;background:color-mix(in srgb,currentColor 3%,transparent);display:grid;gap:8px}
.minds-981-directory-admin-diagnostic strong{font-size:1rem}
.minds-981-directory-admin-diagnostic p{margin:0;line-height:1.65}
.minds-981-directory-admin-diagnostic .minds-922-dir-button{justify-self:start;margin-top:4px}
