/* Keep one teacher card across Framer's server and hydrated layouts. */
[data-framer-name="Team Cards"] {
  display: grid !important;
  grid-template-columns: minmax(0, 400px) !important;
  justify-content: center !important;
}
[data-framer-name="Team Cards"] > :not(:has(img[src*="portrait-front-covered.png"])) {
  display: none !important;
}
[data-framer-name="Team Cards"] > :has(img[src*="portrait-front-covered.png"]),
[data-framer-name="Team Cards"] > :has(img[src*="portrait-front-covered.png"]) > div {
  width: 100% !important;
  max-width: 400px !important;
  min-width: 0 !important;
}
