/* WM Teachers - only what the site's stylesheet does not already cover.
   Colours and type come from the theme's variables (Avada palette slots
   plus the site's --wm-* aliases) with plain fallbacks. */

/* --- the list ------------------------------------------------------- */
/* photo | name, days, specialty | buttons - the days moved under the name in 1.0.6 */
.wm-faculty .wmt-row,.wmt-list .wmt-row{grid-template-columns:56px minmax(0,1fr) auto;gap:18px;align-items:center}
.wmt-row .wm-fac-who .wm-fac-when{margin:3px 0 0;font-size:12.5px}
.wmt-pic{display:block;width:56px;height:56px;border-radius:50%;overflow:hidden;background:var(--wm-cream,#f6efe2)}
.wmt-pic img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.wmt-pic-empty{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:var(--awb-color4,#c9873f);font-size:20px}
.wmt-row .wm-fac-who span{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:var(--awb-color6,#6f6558)}
.wmt-row .wm-fac-who span a{color:var(--awb-color5,#9a352a);font-weight:600;text-decoration:none}
.wmt-row>p.wmt-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;justify-self:end;margin:0}
.wmt-acts .wm-fac-call{justify-self:auto}
.wmt-acts .wm-fac-call.wm-mail,.wmt-acts .wm-fac-call.wm-tel{font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.wmt-acts:empty{display:none}
@media (max-width:900px){
  .wm-faculty .wmt-row,.wmt-list .wmt-row{grid-template-columns:48px minmax(0,1fr) auto}
  .wmt-pic{width:48px;height:48px}
}
@media (max-width:640px){
  .wm-faculty .wmt-row,.wmt-list .wmt-row{grid-template-columns:48px minmax(0,1fr);gap:10px 14px}
  .wmt-row>p.wmt-acts{grid-column:2;justify-self:start;justify-content:flex-start}
}

/* --- the profile ---------------------------------------------------- */
/* Avada boxes a post's content in a 1200px .fusion-row inside #main's 30px
   padding, and resets p margins. The profile paints its own bands edge to
   edge, so the box is opened up and every band centres its own .wmt-in. */
.wmt-single #main{padding-left:0 !important;padding-right:0 !important;padding-top:0 !important}
.wmt-single #main .fusion-row{max-width:none !important;margin:0 !important;padding:0 !important}
.wmt-single .wmt-profile{color:var(--awb-color8,#201b17)}
.wmt-single .wmt-in{width:min(1200px,100% - 60px);margin:0 auto}
/* hero */
.wmt-single .wmt-hero{background:var(--awb-color2,#faf5ec);padding:64px 0 56px;border-bottom:1px solid rgba(32,27,23,.08);text-align:left}
.wmt-single .wmt-hero .wmt-in{display:block}
.wmt-single .wmt-crumb{margin:0 0 28px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.wmt-single .wmt-crumb a{display:inline-flex;align-items:center;gap:8px;color:var(--awb-color6,#6f6558);text-decoration:none}
.wmt-single .wmt-crumb a:hover{color:var(--awb-color5,#9a352a)}
.wmt-single .wmt-crumb i{font-size:11px;color:var(--awb-color4,#c9873f)}
.wmt-single .wmt-hero-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:48px;align-items:center}
.wmt-single .wmt-portrait{aspect-ratio:4/5;border-radius:16px;overflow:hidden;background:var(--awb-color3,#eed2a0);box-shadow:var(--wm-sh-lift,0 24px 48px -24px rgba(32,27,23,.4))}
.wmt-single .wmt-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.wmt-single .wmt-mono{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-family:var(--awb-typography1-font-family),Georgia,serif;font-size:96px;font-weight:600;letter-spacing:.02em;color:var(--awb-color5,#9a352a);background:linear-gradient(160deg,var(--awb-color3,#eed2a0),#e3c188)}
.wmt-single .wmt-id .wmt-kicker{margin:0 0 10px}
.wmt-single h1.wmt-name{font-family:var(--awb-typography1-font-family),Georgia,serif;font-size:46px;line-height:1.1;margin:0 0 10px;color:var(--awb-color8,#201b17)}
.wmt-single p.wmt-spec{font-family:var(--awb-typography1-font-family),Georgia,serif;font-size:21px;line-height:1.4;margin:0 0 16px;color:var(--awb-color5,#9a352a)}
.wmt-single p.wmt-lead{max-width:600px;margin:0 0 26px;font-size:17.5px;line-height:1.65;color:var(--awb-color6,#6f6558);text-wrap:pretty}
.wmt-single .wmt-btns{margin:0}
.wmt-single .wmt-btns button{font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
/* body */
.wmt-single .wmt-body{padding:64px 0 88px}
.wmt-single .wmt-body-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:64px;align-items:start}
.wmt-single .wmt-main{max-width:680px}
.wmt-single h2.wmt-h2{font-family:var(--awb-typography1-font-family),Georgia,serif;font-size:26px !important;line-height:1.25;margin:0 0 16px;color:var(--awb-color8,#201b17)}
.wmt-single .wmt-bio{margin:0 0 40px;font-size:17px;line-height:1.7}
.wmt-single .wmt-bio p{margin:0 0 1em}
.wmt-single .wmt-bio img{max-width:100%;height:auto;border-radius:10px}
.wmt-single .wmt-bio .wp-caption{max-width:100%;margin:8px 0 24px}
.wmt-single .wmt-bio .wp-caption-text{font-size:14px;color:var(--awb-color6,#6f6558);margin:8px 0 0}
.wmt-single .wmt-lessons{margin:0 0 40px;padding:0 0 36px;border-bottom:1px solid rgba(32,27,23,.08)}
.wmt-single .wmt-lessons:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
.wmt-single p.wmt-about{margin:0 0 14px;font-size:18px;line-height:1.65;color:var(--awb-color8,#201b17);text-wrap:pretty}
.wmt-single p.wmt-std{margin:0;font-size:16px;line-height:1.7;color:var(--awb-color6,#6f6558)}
.wmt-single .wmt-card{position:sticky;top:110px;background:#fff;border:1px solid rgba(32,27,23,.1);border-radius:14px;padding:24px 26px 26px;box-shadow:0 10px 30px -22px rgba(32,27,23,.3)}
.wmt-single h2.wmt-card-h{font-size:12px !important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--awb-color4,#c9873f);margin:0 0 14px;font-family:inherit}
.wmt-single .wmt-facts{list-style:none;margin:0;padding:0}
.wmt-single .wmt-facts li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:14px;padding:13px 0;border-top:1px solid rgba(32,27,23,.08)}
.wmt-single .wmt-facts li:first-child{border-top:0;padding-top:0}
.wmt-single .wmt-facts i{color:var(--awb-color4,#c9873f);font-size:15px;margin-top:3px;text-align:center}
.wmt-single .wmt-facts b{display:block;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--awb-color6,#6f6558);margin-bottom:3px}
.wmt-single .wmt-facts span{display:block;font-size:16px;line-height:1.5;color:var(--awb-color8,#201b17)}
.wmt-single .wmt-site{color:var(--awb-color5,#9a352a);font-weight:600;text-decoration:none;display:inline-flex;gap:8px;align-items:center}
.wmt-single .wmt-site i{font-size:13px}
.wmt-single .wmt-card-cta{display:flex;flex-direction:column;gap:8px;margin-top:18px;padding-top:18px;border-top:1px solid rgba(32,27,23,.08)}
.wmt-single .wmt-card-cta .wm-fac-call{justify-self:stretch;width:100%;font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
@media (max-width:900px){
  .wmt-single .wmt-hero{padding:22px 0 40px}
  .wmt-single .wmt-crumb{margin-bottom:22px}
  .wmt-single .wmt-hero{text-align:center}
  .wmt-single .wmt-hero-grid{grid-template-columns:minmax(0,1fr);gap:26px}
  .wmt-single .wmt-portrait{width:min(260px,70%);aspect-ratio:4/5;margin:0 auto}
  .wmt-single .wmt-btns{justify-content:center}
  .wmt-single h1.wmt-name{font-size:34px}
  .wmt-single p.wmt-spec{font-size:18px}
  .wmt-single .wmt-mono{font-size:72px}
  .wmt-single .wmt-body{padding:40px 0 56px}
  .wmt-single .wmt-body-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .wmt-single .wmt-card{position:static;order:-1}   /* At a glance first on phones and tablets (1.0.6) */
}
