/* Separate Founder & Principal profile; not part of the school hierarchy grid. */
#team-section-cards .team-independent-principal-row{display:flex!important;justify-content:center!important;width:100%!important}
#team-section-cards .team-independent-principal-row .team-role-principal{width:min(100%,760px)!important;min-height:0!important;height:auto!important;margin:0 auto 12px!important;padding:22px!important;border:1px solid #d9e3d9!important;border-top:3px solid #789d8c!important;border-radius:12px!important;background:linear-gradient(135deg,#fffdf8 0%,#f5f7f1 100%)!important;box-shadow:0 12px 30px rgba(23,54,74,.09)!important}
#team-section-cards .team-independent-principal-row .team-role-principal .team-profile-header{min-height:100px!important;gap:18px!important}
#team-section-cards .team-independent-principal-row .team-role-principal .team-section-image{flex:0 0 88px!important;width:88px!important;height:88px!important;border:3px solid #e1e8df!important;box-shadow:0 0 0 4px rgba(120,157,140,.12)!important}
#team-section-cards .team-independent-principal-row .team-role-principal .team-profile-name{font-size:21px!important;color:#17364a!important}
#team-section-cards .team-independent-principal-row .team-role-principal .team-profile-designation{font-size:13px!important;color:#527664!important}
#team-section-cards .team-independent-principal-row .team-role-principal .team-message-box{margin-top:16px!important;padding-top:16px!important;border-top:1px solid #e1e7dc!important}
#team-section-cards .team-independent-principal-row .team-role-principal .team-message-box p{font-size:13px!important;line-height:1.8!important}
@media(max-width:760px){#team-section-cards .team-independent-principal-row .team-role-principal{padding:16px!important}#team-section-cards .team-independent-principal-row .team-role-principal .team-section-image{flex-basis:70px!important;width:70px!important;height:70px!important}#team-section-cards .team-independent-principal-row .team-role-principal .team-profile-name{font-size:18px!important}#team-section-cards .team-independent-principal-row .team-role-principal .team-message-box p{font-size:12px!important;line-height:1.75!important}}

/* Keep both institutional leaders together in one responsive two-column row. */
#team-section-cards .team-leadership-row.team-leadership-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,320px))!important;justify-content:center!important;align-items:stretch!important;gap:16px!important;width:100%!important;margin:0 auto 22px!important}
#team-section-cards .team-leadership-row.team-leadership-pair>.team-section-card{width:100%!important;max-width:320px!important;min-width:0!important;height:320px!important;min-height:320px!important;max-height:320px!important;margin:0 auto!important}
#team-section-cards .team-leadership-row.team-leadership-pair .team-director-card,#team-section-cards .team-leadership-row.team-leadership-pair .team-principal-card{border-top:3px solid #789d8c!important}
@media(max-width:680px){#team-section-cards .team-leadership-row.team-leadership-pair{grid-template-columns:minmax(0,320px)!important;gap:14px!important}}

/* Advisory pair: use the available width efficiently and avoid empty fixed-height cards. */
#team-section-cards .team-technology-label{margin:30px 0 16px!important}
#team-section-cards .team-technology-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;justify-content:center!important;gap:22px!important;width:100%!important;max-width:920px!important;margin:0 auto 24px!important}
#team-section-cards .team-technology-row>.team-section-card,#team-section-cards .team-technology-row>.team-section-card.team-role-partner,#team-section-cards .team-technology-row>.team-section-card.team-technology-card{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:230px!important;max-height:none!important;margin:0!important;padding:22px!important;overflow:visible!important}
#team-section-cards .team-technology-row .team-technology-card .team-profile-header{height:auto!important;min-height:82px!important;flex:0 0 auto!important}
#team-section-cards .team-technology-row .team-technology-card .team-message-box{flex:0 1 auto!important;min-height:0!important;overflow:visible!important;margin-top:14px!important;padding-top:14px!important}
#team-section-cards .team-technology-row .team-technology-card .team-message-box p{font-size:12px!important;line-height:1.7!important}
#team-section-cards .team-technology-row .team-legal-card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;text-align:left!important}
#team-section-cards .team-technology-row .team-legal-card .team-profile-header{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;height:82px!important;min-height:82px!important;flex:0 0 82px!important;gap:12px!important}
#team-section-cards .team-technology-row .team-legal-card .team-section-image{display:block!important;flex:0 0 64px!important;width:64px!important;height:64px!important;margin:0!important;object-fit:cover!important;border-radius:50%!important}
#team-section-cards .team-technology-row .team-legal-card .team-profile-identity{flex:1 1 auto!important;min-width:0!important;text-align:left!important}
@media(max-width:680px){#team-section-cards .team-technology-row{grid-template-columns:minmax(0,1fr)!important;max-width:460px!important;gap:14px!important}#team-section-cards .team-technology-row>.team-section-card,#team-section-cards .team-technology-row>.team-section-card.team-role-partner,#team-section-cards .team-technology-row>.team-section-card.team-technology-card{min-height:0!important;padding:18px!important}}