/**
 * RoomMatcher Listings — styles for room-listing cards.
 *
 * Uses the RoomMatcher theme's CSS custom properties (--white, --ink,
 * --hairline, --paper, --font-display) via var()'s fallback syntax, so
 * cards match the rest of the site automatically when that theme is
 * active, and still look reasonable with plain fallback values if a
 * different theme is active instead.
 */
.profile-listings{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.room-card{
  background: var(--white, #fff);
  border: 1px solid var(--hairline, #e5e5e5);
  border-radius: 14px;
  overflow: hidden;
  display:flex;
  flex-direction:column;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.room-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}
.room-card-media{
  display:block;
  aspect-ratio: 4 / 3;
  background: var(--paper, #f2f2f2);
}
.room-card-img{ width:100%; height:100%; object-fit:cover; display:block; }
.room-card-body{
  padding: 16px 18px 18px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.room-card-title{
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  color: var(--ink, #1a1a1a);
}
.room-card-body .btn-like{
  align-self: flex-start;
  padding: 8px 16px;
  font-size: 0.82rem;
  margin-bottom: 0;
}

.listing-like-wrap{ margin-top: 28px; }
