/* Inside KTA secondary navigation: About KTA <-> Instructors. Additive only,
   does not touch the global .navlinks header. */
.inside-kta-subnav{display:flex;gap:28px;flex-wrap:wrap;padding:16px var(--gutter);border-bottom:1px solid var(--hairline);background:#fff}
.inside-kta-subnav a{text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:6px 0;border-bottom:2px solid transparent}
.inside-kta-subnav a[aria-current="page"]{border-bottom-color:var(--red);color:var(--red)}
.inside-kta-subnav a:not([aria-current="page"]):hover{border-bottom-color:var(--hairline)}

/* Instructors roster */
.instructor-group{padding:52px var(--gutter) 0}
.instructor-group:first-child{padding-top:60px}
.instructor-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:28px;border-top:1px solid var(--hairline);padding-top:28px}
.instructor-group:first-child .instructor-group-heading{border-top:0;padding-top:0}
.instructor-group-heading h2{font-size:clamp(26px,2.6vw,38px);letter-spacing:-.03em;line-height:1.1;margin:0}
.instructor-group-note{font-size:14px;color:#41516a;max-width:46ch}
.instructor-subgroup+.instructor-subgroup{margin-top:36px}
.instructor-subgroup-label{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--red);margin:0 0 18px}

.instructor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}
.instructor-card{min-width:0}
.instructor-photo-frame{position:relative;overflow:hidden;background:#e8e1d5;height:300px}
.instructor-photo-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--instructor-focal-point,50% 0%);padding:0}
.instructor-card h3{font-size:19px;line-height:1.25;letter-spacing:-.02em;margin:16px 0 2px}
.instructor-card .instructor-role{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);margin:0 0 10px}
.instructor-card p.instructor-cert{font-size:15px;line-height:1.55;margin:0 0 10px;color:var(--ink)}
.instructor-card .instructor-affiliation{font-size:13px;line-height:1.5;color:#41516a;margin:0 0 10px}
.instructor-card details{margin-top:6px}
.instructor-card summary{font-size:13px;font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--blue)}
.instructor-card details p{font-size:14px;line-height:1.6;margin:10px 0 0}
.instructor-card details ul{margin:10px 0 0;padding-left:20px}
.instructor-card details li{margin-bottom:8px;font-size:14px;line-height:1.55}

@media(max-width:1000px){.instructor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .instructor-group{padding-left:var(--gutter);padding-right:var(--gutter)}
  .instructor-grid{grid-template-columns:1fr;gap:28px}
  .instructor-photo-frame{height:260px}
  .inside-kta-subnav{padding:14px var(--gutter);gap:20px}
}

/* Subject-aware focal points sourced from the live roster's own per-photo
   object-position hints (migration/instructors-source/manifest.json),
   applied the same way existing program photo overrides are. */
.instructor-photo-frame img[src*="instructors-david-bickel-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-alex-bickel-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-michelle-bickel-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-cindy-gould-"]{object-position:50% 5%}
.instructor-photo-frame img[src*="instructors-derrick-vazquez-"]{object-position:50% 5%}
.instructor-photo-frame img[src*="instructors-chris-bonham-"]{object-position:50% 5%}
.instructor-photo-frame img[src*="instructors-tom-gaber-"]{object-position:50% 5%}
.instructor-photo-frame img[src*="instructors-larry-klutzke-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-scott-thien-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-gloria-hughey-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-isaac-norman-"]{object-position:50% 5%}
.instructor-photo-frame img[src*="instructors-alicia-mcclure-"]{object-position:50% 40%}
.instructor-photo-frame img[src*="instructors-nirmala-jayapalan-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-amy-norman-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-brayden-warrick-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-david-gould-"]{object-position:50% 0%}
.instructor-photo-frame img[src*="instructors-caleb-johnson-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-alan-westerfield-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-yaretzi-hidalgo-reyes-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-yul-hidalgo-reyes-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-lucca-odreman-"]{object-position:0% 0%}
.instructor-photo-frame img[src*="instructors-nathan-ramirez-"]{object-position:0% 0%}
