.kh-team-note{border-left:3px solid var(--accent,#693a45);background:var(--soft,#efede7);padding:1rem 1.2rem;font-size:.9rem;line-height:1.65}
.kh-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-block:2rem}
.kh-team-card{min-width:0;padding:0 0 1.25rem;border:1px solid var(--line,#d9d7d2);background:var(--surface,#fff)}
.entry-content .kh-team-card figure{margin:0 0 1.2rem}
.kh-team-card figure img{display:block;aspect-ratio:4/3;width:100%;object-fit:cover}
.entry-content .kh-team-card h3{font-size:1.25rem;line-height:1.3;margin:1rem 1.1rem .5rem;letter-spacing:-.02em}
.kh-team-card p{margin:.6rem 1.1rem;font-size:.9rem;line-height:1.65}
.kh-team-card .kh-team-role{color:var(--accent,#693a45);font-size:.78rem;letter-spacing:.04em}
.kh-team-card figcaption{margin-inline:1.1rem}
@media(max-width:650px){.kh-team-grid{grid-template-columns:1fr;gap:18px}.kh-team-card figure img{max-height:340px;object-position:center 30%}}
/* Classic themes wrap Group blocks; expose cards as the grid children. */
.kh-team-grid>.wp-block-group__inner-container{display:contents}

/* Compact portraits retain their original proportions and the entire face. */
.entry-content .kh-team-grid--portraits .kh-team-card figure{padding:16px;background:var(--soft,#efede7)}
.kh-team-grid--portraits .kh-team-card figure img{width:auto;height:200px;max-width:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;margin-inline:auto;background:transparent}
@media(max-width:650px){.kh-team-grid--portraits .kh-team-card figure img{height:160px}}
.kh-team-review-note{padding:.75rem 1rem;border:1px dashed var(--line,#d9d7d2);color:var(--muted,#666);font-size:.85rem;line-height:1.5}
