/* Hallmark · component: public leadership directory · genre: editorial · theme: brand · redesign: full · v2.0.0 */
/* Hallmark · pre-emit critique: real portraits and role labels carry the directory; retain every profile and use readable mobile rows instead of narrow portrait tiles */
.vm-leadership-section { padding-block: var(--vm-space-2xl); background: var(--vm-paper-soft); border-block: 1px solid var(--vm-border); }
.vm-leadership-heading { margin-bottom: var(--vm-space-lg); }
.vm-leadership-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vm-space-lg); }
.vm-leadership-featured > :only-child { grid-column: 1 / -1; }
.vm-leadership-featured:empty { display: none; }
.vm-clusters-heading { margin: var(--vm-space-xl) 0 var(--vm-space-lg); }
.vm-clusters-heading > h3 { font-size: var(--vm-subsection-title-size); line-height: 1.4; text-align: left; }
.vm-cluster-grid, .vm-other-leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vm-space-lg); margin: 0; padding: 0; list-style: none; }
.vm-cluster-grid > li, .vm-other-leaders > li { display: flex; min-width: 0; }
.vm-cluster-card { display: flex; flex-direction: column; min-width: 0; width: 100%; padding: var(--vm-space-lg); border: 1px solid var(--vm-border); border-radius: var(--vm-radius); background: var(--vm-paper); }
.vm-cluster-card__header { display: flex; align-items: flex-start; gap: var(--vm-space-sm); min-width: 0; margin-bottom: var(--vm-space-lg); }
.vm-cluster-card__header > div { min-width: 0; }
.vm-cluster-card__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; color: var(--vm-accent); }
.vm-cluster-card__label { color: var(--vm-muted); font-size: var(--vm-text-sm); font-weight: 600; line-height: 1.5; }
.vm-cluster-card__header h3 { margin-top: var(--vm-space-xs); font-size: var(--vm-text-md); line-height: 1.5; overflow-wrap: break-word; }
.vm-cluster-card__members { display: flex; flex-direction: column; flex: 1; gap: var(--vm-space-lg); }
.vm-cluster-card__members > .leader-profile { flex: 1; }
.vm-cluster-card__empty { color: var(--vm-muted); font-size: var(--vm-text-sm); line-height: 1.65; }
.leader-profile { display: flex; flex-direction: column; min-width: 0; width: 100%; color: var(--vm-heading); }
.leader-profile__portrait { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; aspect-ratio: 4 / 5; max-height: 240px; overflow: clip; }
.leader-profile__portrait > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.leader-profile__placeholder { display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--vm-space-sm); width: 100%; min-width: 0; min-height: 120px; overflow-wrap: anywhere; color: var(--vm-muted); font-size: var(--vm-text-sm); text-align: center; }
.leader-profile__placeholder.is-visible { display: flex; }
.leader-profile__portrait:has(> .is-visible) { aspect-ratio: auto; max-height: none; overflow: visible; }
.leader-profile__initials { color: var(--vm-accent); font-size: var(--vm-text-xl); font-weight: 650; }
.leader-profile__information { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; padding-top: var(--vm-space-lg); }
.vm-page .leader-profile__name { margin: 0; font-size: var(--vm-text-lg); font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.leader-profile__role { display: block; margin-top: var(--vm-space-xs); color: var(--vm-muted); font-size: var(--vm-text-sm); line-height: 1.6; overflow-wrap: break-word; }
.leader-profile__summary { display: block; margin-top: var(--vm-space-md); overflow-wrap: break-word; color: var(--vm-muted); font-size: var(--vm-text-sm); line-height: 1.65; }
.leader-profile__link { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--vm-space-sm); width: 100%; min-height: 48px; margin-top: auto; padding-top: var(--vm-space-sm); color: var(--vm-accent); font-size: var(--vm-text-sm); font-weight: 600; line-height: 1.5; }
.leader-profile--featured { padding: var(--vm-space-lg); border: 1px solid var(--vm-border); border-radius: var(--vm-radius); background: var(--vm-paper); }
.leader-profile--featured, .vm-management-card .leader-profile { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: var(--vm-space-lg); }
.leader-profile--featured .leader-profile__information, .vm-management-card .leader-profile__information { padding: 0; }
.leader-profile--featured .leader-profile__role { margin-top: 0; margin-bottom: var(--vm-space-xs); }
.leader-profile--featured .leader-profile__link, .vm-management-card .leader-profile__link { justify-content: flex-start; margin-top: var(--vm-space-md); }
.vm-management-card .vm-cluster-card__header { margin-bottom: var(--vm-space-xs); }
.vm-management-card .vm-cluster-card__header h3 { margin: 0; color: var(--vm-muted); font-size: var(--vm-text-sm); font-weight: 400; }
.vm-management-card .leader-profile__role { margin-top: var(--vm-space-xs); }
.vm-cluster-grid .leader-profile { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: var(--vm-space-lg); }
.vm-cluster-grid .leader-profile__information { padding: 0; }
.vm-cluster-grid .leader-profile__portrait { max-height: 200px; }
.vm-cluster-grid .leader-profile__link { justify-content: flex-start; margin-top: var(--vm-space-md); }
.vm-other-leaders > li { padding: var(--vm-space-lg); border: 1px solid var(--vm-border); border-radius: var(--vm-radius); background: var(--vm-paper); }
@media (hover: hover) { .leader-profile[href]:hover .leader-profile__name { text-decoration: underline; text-underline-offset: .2em; } }
@media (max-width: 60rem) { .vm-leadership-featured { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
    .vm-leadership-section { padding-block: var(--vm-space-xl); }
    .vm-cluster-grid, .vm-other-leaders { grid-template-columns: minmax(0, 1fr); }
    .vm-cluster-card { padding: var(--vm-space-md); }
    .vm-cluster-grid .vm-cluster-card__header { min-height: 0; margin-bottom: var(--vm-space-md); }
    .vm-cluster-grid .leader-profile { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--vm-space-md); }
    .leader-profile, .leader-profile--featured, .vm-management-card .leader-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: var(--vm-space-md); }
    .leader-profile--featured { padding: var(--vm-space-md); }
    .leader-profile__portrait { max-height: 180px; }
    .leader-profile__information { padding: 0; }
    .vm-page .leader-profile__name { font-size: var(--vm-text-md); }
    .vm-page .leader-profile--featured .leader-profile__name, .vm-page .vm-management-card .leader-profile__name { font-size: var(--vm-text-lg); }
    .leader-profile__placeholder { min-height: 120px; font-size: var(--vm-text-sm); }
}
