
/* =========================================
   IFPA Event Card (Reusable)
   ========================================= */

/* Card wrapper */
.IFPA-card {
  border: 1px solid #ccc;
  border-radius: 16px;
  max-width: 350px;
  min-height: 300px;
  box-sizing: border-box;
  overflow: hidden;              /* Ensures the image respects rounded corners */
  display: flex;
  flex-direction: column;
}

/* Media wrapper (edge-to-edge image) */
.IFPA-card__media {
  padding: 0;
  margin: 0;
}

/* Image: edge-to-edge, no baseline gap */
.IFPA-card__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content section */
.IFPA-card__body {
  padding: 24px;
  text-align: center;            /* Matches your current behavior */
  border-top: 1px solid #ccc;
}

/* Left-aligned text elements inside the body */
.IFPA-card__title,
.IFPA-card__desc,
.IFPA-card__cta {
  text-align: left;
}

/* (Optional) Clean default spacing (safe + consistent) */
.IFPA-card__title {
  margin: 0 0 12px 0;
}

.IFPA-card__desc {
  margin: 0 0 16px 0;
}

.IFPA-card__cta {
  margin: 0;
}
