/* Team profile card layout fixes (Syncia Adisa card, section #ai-UtiiGQ) */

#ai-UtiiGQ #ziWhCF p,
#ai-UtiiGQ #ziWhCF a {
  white-space: nowrap;
  word-break: normal;
}

#ai-UtiiGQ #ziWhCF a {
  color: rgb(30, 44, 74);
}

#ai-UtiiGQ #z3WO30 p {
  white-space: nowrap;
}

#ai-UtiiGQ .layout-element:has(#z3WO30) {
  --grid-column: 7/12 !important;
  margin-bottom: 0 !important;
}

#ai-UtiiGQ .layout-element:has(#ziWhCF) {
  --grid-row: 11/12 !important;
  margin-top: 0 !important;
}

#ai-UtiiGQ #zi0T43 {
  align-items: flex-start;
}

/* Founder card name row — room for Montserrat at 32px */
#ai-UtiiGQ .layout-element:has(#ai-2Xnvhf) {
  --bc1057f4: 46px !important;
  --ff15b110: 34px !important;
}

#ai-UtiiGQ #ai-2Xnvhf p.body {
  line-height: 1.25 !important;
}

@media screen and (max-width: 919px) {
  #ai-UtiiGQ #z21h3t.grid-button {
    min-height: 172px !important;
  }

  #ai-UtiiGQ .layout-element:has(#ziWhCF) {
    margin-top: 6px !important;
  }

  #ai-UtiiGQ .layout-element:has(#z3WO30) {
    margin-bottom: 2px !important;
  }

  #ai-UtiiGQ #ziWhCF p,
  #ai-UtiiGQ #ziWhCF a {
    white-space: normal;
  }

  #ai-UtiiGQ #z3WO30 p {
    white-space: normal;
  }

  #ai-UtiiGQ #ziWhCF p {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  #ai-UtiiGQ #z3WO30 p {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  #ai-UtiiGQ #ai-2Xnvhf p {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
}
