/* ================================================
   CONTACT PAGE - CARD HEIGHT FIX
   Force cards to fit content, no excessive height
   ================================================ */

/* Override ALL card height rules */
.card,
div.card,
.card-hover {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  height: fit-content !important;
}

/* Remove flex stretch from card children */
.card > *,
.card > div,
.card-content,
.card-body {
  flex: none !important;
  flex-grow: 0 !important;
  height: auto !important;
}

/* Ensure card wrapper doesn't force height */
.space-y-5 > .card,
.space-y-6 > .card {
  height: fit-content !important;
  min-height: fit-content !important;
}

/* Contact section specific */
section .card {
  display: block !important;
  height: auto !important;
}

/* Remove any grid stretching */
.grid .card,
.lg\:grid-cols-2 .card {
  height: auto !important;
  align-self: start !important;
}
