.mat-teams {
  --mat-mint: var(--global-palette2, #00ffb0);
  --mat-navy: var(--global-palette1, #002644);
  --mat-white: var(--global-palette9, #fff);
  --mat-neutral: var(--global-palette8, #f7f8fa);
  --mat-radius: 20px;
  --mat-gap: 24px;
  --mat-gradient: linear-gradient(to bottom, color-mix(in srgb, var(--mat-mint) 83%, transparent), color-mix(in srgb, var(--mat-navy) 83%, transparent));
  color: var(--mat-navy);
}
.mat-teams *, .mat-teams *::before, .mat-teams *::after { box-sizing: border-box; }
.mat-teams [hidden] { display: none !important; }
.mat-teams .mat-filters, .mat-teams .mat-pagination, .mat-teams .mat-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mat-teams .mat-filters { margin-bottom: 32px; }
.mat-teams .mat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--mat-gap); }
.mat-teams .mat-card { min-width: 0; text-align: center; }
.mat-teams .mat-photo { position: relative; overflow: hidden; border-radius: var(--mat-radius); aspect-ratio: 4 / 5; background: var(--mat-neutral); }
.mat-teams .mat-image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--mat-radius); }
.mat-teams .mat-placeholder { display: grid; place-items: center; height: 100%; color: var(--mat-navy); opacity: .25; }
.mat-teams .mat-placeholder svg { width: 65%; }
.mat-teams .mat-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; padding: 24px 16px; background: var(--mat-gradient); color: var(--mat-white); transform: translateY(100%); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.mat-teams .mat-card:hover .mat-overlay, .mat-teams .mat-card:focus-within .mat-overlay { transform: translateY(0); opacity: 1; }
.mat-teams .mat-excerpt { margin: 0; font-size: .875rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mat-teams .mat-linkedin { color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.mat-teams .mat-name { margin: 20px 0 6px; font-size: 1.125rem; line-height: 1.35; overflow-wrap: anywhere; }
.mat-teams .mat-position { margin: 0; font-size: .8125rem; line-height: 1.5; text-transform: uppercase; overflow-wrap: anywhere; }
.mat-teams .mat-pagination { margin-top: 32px; align-items: center; }
.mat-teams .mat-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--mat-radius); background: var(--mat-white); color: var(--mat-navy); overflow: auto; }
.mat-teams .mat-dialog::backdrop { background: color-mix(in srgb, var(--mat-navy) 65%, transparent); }
.mat-teams .mat-dialog-inner { padding: clamp(20px, 4vw, 40px); }
.mat-teams .mat-close { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.mat-teams .mat-dialog h2 { margin: 0 0 8px; overflow-wrap: anywhere; }
.mat-teams .mat-dialog-position { margin: 0 0 24px; }
.mat-teams .mat-bio { overflow-wrap: anywhere; }
.mat-teams .mat-bio img { max-width: 100%; height: auto; }
.mat-teams .mat-bio > :last-child { margin-bottom: 24px; }
.mat-teams :is(button, a):focus-visible { outline: 3px solid var(--mat-mint); outline-offset: 4px; }
.mat-teams .mat-dialog :is(button, a):focus-visible, .mat-teams .mat-filters button:focus-visible, .mat-teams .mat-pagination button:focus-visible { outline-color: var(--mat-navy); }
.mat-teams .mat-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1023px) { .mat-teams .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .mat-teams .mat-grid { grid-template-columns: minmax(0, 1fr); } }
@media (hover: none), (pointer: coarse) { .mat-teams .mat-overlay { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mat-teams .mat-overlay { transition: none; } }
