/* v15 — photo stays on top (v13 grid: 4 / 3 / 2 / 1).
   Only the white text area under the photo is split into two columns
   so the cards get shorter. */

/* Photo on top, full uncropped, same wells as v13. Do not revert to
   a photo-left / text-right card. */
#mk4List .mk4-card,
#mk4List li.is-featured .mk4-card,
.mk8-rcard{
  flex-direction:column !important;
}

/* Two-column copy under the photo */
#mk4List .mk4-card .mk-card-copy.mk-card-split,
.mk8-rcard .mk-card-copy.mk-card-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:12px;
  row-gap:0;
  align-items:stretch;
  width:100%;
  min-width:0;
}

#mk4List .mk4-card .mk-col,
.mk8-rcard .mk-col{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-width:0;
  overflow:hidden;
}
#mk4List .mk4-card .mk-col-r,
.mk8-rcard .mk-col-r{
  overflow:visible;
}

/* Subtle optional divider between the two text columns */
#mk4List .mk4-card .mk-col-r,
.mk8-rcard .mk-col-r{
  padding-left:12px;
  border-left:1px solid rgba(181,204,199,.45);
}

/* Body stays tight to the split copy — no empty well under the last line */
#mk4List .mk4-card .bd,
#mk4List li.is-featured .bd,
.mk8-rcard .bd,
#mk4List .mk4-card.is-buyer .bd,
.mk8-rcard.is-buyer .bd{
  display:flex !important;
  flex-direction:column !important;
  padding:12px 14px 12px;
  justify-content:flex-start !important;
}

#mk4List .mk4-card h3,
#mk4List li.is-featured h3{
  margin:0 0 2px;
  font-size:17px;
  line-height:1.2;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:manual;
}
#mk4List .mk4-card.is-buyer h3,
#mk4List .mk4-card .mk-card-title h3{
  font-size:15px;
  -webkit-line-clamp:3;
  overflow-wrap:normal;
}

#mk4List .mk4-card .mk-card-title{
  margin:0 0 2px;
}

#mk4List .mk4-card .mk-card-title h3{
  margin:0;
}

/* Type lines (including long Woolner) stay inside the left column */
#mk4List .mk4-card .mk-ptype,
#mk4List li.is-featured .mk-ptype,
.mk8-rcard .mk-ptype{
  margin:0 0 8px;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  max-width:100%;
  font-size:10.5px;
  letter-spacing:.04em;
  overflow-wrap:break-word;
}

#mk4List .mk4-card .mk-ask,
.mk8-rcard .mk-ask{
  margin:auto 0 0;
}

#mk4List .mk4-card .mk-ask .amt,
.mk8-rcard .mk-ask .amt{
  font-size:22px;
  font-weight:750;
  letter-spacing:-.03em;
  color:var(--mk-teal,#00b99b);
  overflow-wrap:anywhere;
}

#mk4List .mk4-card .mk-inc,
.mk8-rcard .mk-inc{
  margin:0 0 6px;
  font-size:13px;
  line-height:1.3;
  white-space:normal;
  overflow-wrap:break-word;
}

#mk4List .mk4-card .mk-live,
#mk4List li.is-featured .mk-live,
.mk8-rcard .mk-live{
  margin:0 !important;
  display:flex !important;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:flex-start;
  gap:8px;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  -webkit-line-clamp:unset;
  line-height:1.3;
}

#mk4List .mk4-card .mk-live i,
.mk8-rcard .mk-live i{
  flex:none;
  display:block;
  width:8px;
  height:8px;
  min-width:8px;
  min-height:8px;
  margin-top:5px;
  border-radius:50%;
  background:#1aa37a;
  box-shadow:0 0 0 4px rgba(26,163,122,.16);
  overflow:visible;
}

#mk4List .mk4-card .mk-go,
#mk4List li.is-featured .mk-go,
.mk8-rcard .mk-go{
  margin-top:auto !important;
  padding-top:8px !important;
  white-space:nowrap;
}

/* Operator: $3M raised matches GAP ASK (bold teal) on the left;
   professional title + “from private money lenders…” + View profile on the right. */
#mk4List .mk4-card.is-operator .mk-ostat{
  margin:auto 0 0;
  display:block;
}
#mk4List .mk4-card.is-operator .mk-ostat .amt{
  display:block;
  font-size:22px;
  font-weight:750;
  letter-spacing:-.03em;
  line-height:1.15;
  color:var(--mk-teal,#00b99b);
}
#mk4List .mk4-card.is-operator .mk-otitle{
  margin:0 0 6px;
  font-size:13px;
  font-weight:550;
  letter-spacing:-.01em;
  line-height:1.3;
  color:var(--mk-faint,#5a6765);
  white-space:normal;
}
#mk4List .mk4-card.is-operator .mk-osub{
  margin:0;
  font-size:12.5px;
  font-weight:500;
  line-height:1.35;
  color:var(--mk-faint,#5a6765);
  white-space:normal;
}

/* Keep side-by-side text columns on mobile when there is room.
   Stack only on very narrow screens so the copy stays readable. */
@media(max-width:379px){
  #mk4List .mk4-card .mk-card-copy.mk-card-split,
  .mk8-rcard .mk-card-copy.mk-card-split{
    grid-template-columns:1fr;
    row-gap:8px;
  }
  #mk4List .mk4-card .mk-col-r,
  .mk8-rcard .mk-col-r{
    padding-left:0;
    border-left:0;
    padding-top:8px;
    border-top:1px solid rgba(181,204,199,.45);
  }
  #mk4List .mk4-card .mk-ask,
  #mk4List .mk4-card.is-operator .mk-ostat{
    margin-top:6px;
  }
}
