/* Instructor profile (template-parts/single-teacher.php) */
.tch-hero__role{margin:-4px 0 12px;font-family:var(--font-lat),var(--font);font-size:20px;font-weight:800;color:var(--gold)}
.tch-social{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.tch-social a{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;border:1px solid var(--hair);background:rgba(255,255,255,.06);color:#fff;font-weight:800;text-decoration:none;transition:background .25s,border-color .25s}
.tch-social a:hover{background:rgba(243,188,0,.14);border-color:var(--gold);color:#fff}
.tch-social svg{fill:none;stroke:currentColor;stroke-width:1.8}

.tch-portrait{position:relative;width:min(400px,100%);aspect-ratio:1;margin-inline:auto}
.tch-portrait__orbit{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.tch-portrait__orbit circle{fill:none;stroke:rgba(243,188,0,.35);stroke-width:1.5;stroke-dasharray:3 9}
.tch-portrait__orbit circle+circle{stroke:rgba(255,255,255,.14);stroke-dasharray:none}
.tch-portrait__orbit .tch-portrait__dot{fill:var(--gold);stroke:none}
.tch-portrait__pic{position:absolute;inset:13%;border-radius:50%;overflow:hidden;background:linear-gradient(150deg,#F3BC00,#C98F00);box-shadow:0 30px 70px rgba(0,0,0,.4),0 0 0 8px rgba(255,255,255,.06)}
.tch-portrait__pic img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.tch-portrait__pic span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:120px;font-weight:900;color:#0A1430}
.tch-portrait__chip{position:absolute;z-index:2;padding:8px 16px;border-radius:999px;background:var(--card);color:var(--ink-text);font-size:13px;font-weight:900;white-space:nowrap;box-shadow:0 14px 30px rgba(0,0,0,.25);border:1px solid var(--line)}
.tch-portrait__chip::before{content:"";display:inline-block;width:8px;height:8px;margin-inline-end:8px;border-radius:50%;background:var(--gold);vertical-align:middle}
.tch-portrait__chip--0{top:8%;inset-inline-start:-2%}
.tch-portrait__chip--1{bottom:14%;inset-inline-end:-6%}
.tch-portrait__chip--2{bottom:-2%;inset-inline-start:12%}
.has-motion .tch-portrait__orbit{animation:tch-spin 40s linear infinite}
.has-motion .tch-portrait__chip{animation:tch-float 6s ease-in-out infinite}
.has-motion .tch-portrait__chip--1{animation-delay:-2s}
.has-motion .tch-portrait__chip--2{animation-delay:-4s}
@keyframes tch-spin{to{transform:rotate(360deg)}}
@keyframes tch-float{50%{transform:translateY(-8px)}}
@media (prefers-reduced-motion:reduce){.has-motion .tch-portrait__orbit,.has-motion .tch-portrait__chip{animation:none}}

.tch-stats .about-stat{align-items:flex-start}
.tch-cv__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px;align-items:start}
.tch-cv h2{margin:0 0 24px;font-size:32px;font-weight:900;color:var(--ink-text)}
.tch-path{list-style:none;margin:0;padding:0;position:relative;display:grid;gap:14px}
.tch-path::before{content:"";position:absolute;inset-inline-start:21px;top:24px;bottom:24px;width:3px;border-radius:2px;background:linear-gradient(var(--gold),var(--line))}
.tch-path li{position:relative;display:flex;align-items:center;gap:18px}
.tch-path__n{position:relative;z-index:1;flex:none;width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--paper);border:3px solid var(--gold);font-weight:900;color:var(--ink-text)}
.tch-path li:first-child .tch-path__n{background:var(--gold);color:#0A1430}
.tch-path li>div{flex:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:16px 20px;border-radius:18px;background:var(--card);border:1px solid var(--line);transition:transform .3s,box-shadow .3s,border-color .3s}
.tch-path li>div:hover{transform:translateX(-6px);box-shadow:0 16px 36px var(--shadow);border-color:rgba(243,188,0,.5)}
.tch-path b{font-family:var(--font-lat),var(--font);font-size:16px;font-weight:800;color:var(--ink-text)}
.tch-path span[dir]{padding:3px 12px;border-radius:999px;background:rgba(243,188,0,.14);font-family:var(--font-lat),var(--font);font-size:13px;font-weight:800;color:var(--gold-ink)}
.tch-cv__side{display:grid;gap:20px}
.tch-skills ul{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tch-skills li{padding:6px 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);font-weight:800;font-size:14px;color:var(--ink-text)}
.tch-edu{padding-inline-start:84px}
.tch-edu__icon{position:absolute;inset-inline-start:24px;top:26px;width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--navy);color:#fff}
.tch-edu__icon svg{width:24px;height:24px}
.tch-edu p{margin-top:6px!important;text-align:start;font-family:var(--font-lat),var(--font);line-height:1.8}
.tch-edu p b{color:var(--ink-text)}

.tch-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:-16px 0 28px}
.tch-tabs button{padding:8px 18px;border-radius:999px;border:1px solid var(--line);background:var(--card);font:inherit;font-weight:800;color:var(--muted);cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.tch-tabs button small{margin-inline-start:4px;padding:1px 8px;border-radius:999px;background:var(--paper);font-size:12px}
.tch-tabs button[aria-pressed="true"]{background:var(--btn,var(--navy));border-color:transparent;color:#fff}
.tch-tabs button[aria-pressed="true"] small{background:rgba(255,255,255,.18)}
.tch-teach .web-card[hidden]{display:none}

@media (max-width:960px){
	.tch-cv__grid{grid-template-columns:minmax(0,1fr)}
	.tch-portrait{width:min(340px,86%);margin-top:20px}
}
@media (max-width:640px){
	.tch-hero__role{font-size:17px}
	.tch-portrait__chip{font-size:12px;padding:6px 12px}
	.tch-portrait__chip--1{inset-inline-end:-2%}
	.tch-cv h2{font-size:26px}
	.tch-path li>div{padding:12px 14px}
	.tch-stats .about-stats__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	.tch-stats .about-stat{padding:18px 12px;align-items:center;text-align:center}
	.tch-stats .about-stat b{font-size:30px}
}
.tch-stats .about-stats__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
