/* Listing cards: calm cards on wide screens, compact rows on phones.
   Uses site tokens where safe; text colours are fixed for contrast (4.5:1+). */
.grid.nh-lc-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; align-items: start; margin-bottom: 60px;
}

.lc {
  display: block; position: relative; overflow: hidden;
  background: var(--surface, #fff); color: var(--ink, #17284b);
  border: 1px solid #e3e8f0; border-radius: var(--radius-card, 28px);
  box-shadow: 0 8px 24px rgba(23, 40, 75, .08);
  font-family: var(--font, inherit); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: nh-lc-rise .4s var(--ease, cubic-bezier(.2, .8, .2, 1)) both;
  transition: transform .25s var(--ease, cubic-bezier(.2, .8, .2, 1)), box-shadow .25s var(--ease, cubic-bezier(.2, .8, .2, 1));
}
.lc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(23, 40, 75, .14); }
.lc:active { transform: scale(.98); }
.lc:focus-visible { outline: 3px solid var(--brand, #17284b); outline-offset: 3px; }

.lc-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-light, #e6f0fa); }
.lc-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc-ph { display: flex; align-items: center; justify-content: center; color: var(--brand, #17284b); font: 800 44px/1 var(--font, inherit); }

.lc-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; }
.lc-price { font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.lc-title { font-weight: 600; font-size: 16px; line-height: 1.3; }
.lc-loc { display: flex; align-items: center; gap: 6px; color: #5f6c82; font-size: 14px; font-weight: 500; }
.lc-loc svg, .lc-trust svg { flex: none; }
.lc-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  margin-top: 12px; padding-top: 14px; border-top: 1px solid #eef1f6; font-size: 13px;
}
.lc-trust { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.lc-trust svg { color: #1d6fd1; }
.lc-date { color: #5f6c82; font-weight: 500; }

@keyframes nh-lc-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Phones: compact rows */
@media (max-width: 560px) {
  .grid.nh-lc-grid { grid-template-columns: 1fr; gap: 12px; }
  .lc { display: flex; gap: 14px; padding: 12px; box-shadow: 0 6px 18px rgba(23, 40, 75, .07); }
  .lc-media { flex: none; width: 112px; height: 128px; aspect-ratio: auto; border-radius: 20px; }
  .lc-body { flex: 1; min-width: 0; gap: 4px; padding: 4px 0 2px; }
  .lc-price { font-size: 18px; }
  .lc-title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lc-loc { font-size: 13px; margin-top: 2px; }
  .lc-foot { margin-top: auto; padding-top: 0; border-top: 0; font-size: 12px; }
  .lc-date { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lc { animation: none; transition: none; }
  .lc:hover, .lc:active { transform: none; }
}
