/* About: "Who we work with." as three picture cards, one per audience (Leaders,
   Practitioners, Partners). Each card has its photograph, the audience, who they are and what Muon
   gives them, and the same clear edge as the sector cards on Where it applies. */
.ab-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:56px 0 0;padding:0;list-style:none}
.ab-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #d5dde8;border-radius:16px;background:var(--surface);
  box-shadow:0 1px 2px rgba(7,23,44,.05),0 10px 26px -14px rgba(7,23,44,.22)}
html[data-theme=dark] .ab-card{border-color:#24395a;background:#102036;box-shadow:0 12px 28px -14px rgba(0,0,0,.6)}
.ab-card-pic{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--surface2)}
.ab-card-pic img{display:block;width:100%;height:100%;object-fit:cover}
.ab-card-body{display:flex;flex-direction:column;padding:24px 26px 28px}
.page-about .ab-card .ab-aud{color:#1b4585}
html[data-theme=dark] .page-about .ab-card .ab-aud{color:#9fc0f5}
.page-about main .ab-card h3{margin:8px 0 0;font:700 var(--t-h3,20px)/1.3 'Manrope',sans-serif;letter-spacing:-.02em;color:var(--text)}
.page-about main .ab-card p{margin:10px 0 0;font-size:var(--t-card,17px);line-height:1.65;color:var(--muted)}
@media(max-width:980px){
  .ab-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ab-card:last-child{grid-column:1/-1;flex-direction:row}
  .ab-card:last-child .ab-card-pic{flex:0 0 50%;aspect-ratio:auto;min-height:240px}
  .ab-card:last-child .ab-card-body{justify-content:center}
}
@media(max-width:600px){
  .ab-cards{grid-template-columns:1fr;gap:18px;margin-top:40px}
  .ab-card:last-child{flex-direction:column}
  .ab-card:last-child .ab-card-pic{flex:none;aspect-ratio:16/10;min-height:0}
  .ab-card-body{padding:20px 20px 24px}
}
/* between phone and desktop widths every card takes the Partners layout: one card per row, photo
   on the left half and the words beside it */
@media(min-width:601px) and (max-width:980px){
  .ab-cards{grid-template-columns:minmax(0,1fr)}
  .ab-card,.ab-card:last-child{grid-column:auto;flex-direction:row}
  /* the photo fills its half and the words set the card's height, so every card matches */
  .ab-card .ab-card-pic,.ab-card:last-child .ab-card-pic{position:relative;flex:0 0 50%;aspect-ratio:auto;min-height:240px}
  .ab-card .ab-card-pic img{position:absolute;inset:0}
  .ab-card .ab-card-body,.ab-card:last-child .ab-card-body{justify-content:center}
}
