/* Vapaat vuokra-asunnot: the free flats from OviPro on /vuokrakohteet (src/site/rentals.ts).
 * Same card language as the forms list: white card, #dbe4dd border, 12px radius, site greens. */

.vk-sec { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(12px, 2vw, 24px); }
.vk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.vk-head .h2 { margin: 6px 0 0; text-wrap: balance; }
.vk-grid {
  list-style: none; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0;
  display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.vk-c { margin: 0; }
.vk-a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #1b2a20;
  background: #fff; border: 1px solid #dbe4dd; border-radius: 12px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.vk-a:hover { border-color: #2f7d58; box-shadow: 0 10px 28px -18px rgba(19, 51, 36, .45); transform: translateY(-2px); }
.vk-a:focus-visible { outline: 3px solid #1a5c42; outline-offset: 3px; }
.vk-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9f4ec; }
.vk-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.vk-noimg { position: absolute; inset: 0; }
.vk-free {
  position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 100px;
  background: rgba(255, 255, 255, .94); color: #133324; font-size: .8125rem; font-weight: 700;
}
.vk-b { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; flex: 1; }
.vk-type { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2a7453; }
.vk-t { font-size: 1.125rem; font-weight: 700; color: #133324; }
.vk-p { color: #46554b; font-size: .9375rem; }
.vk-f {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px;
  margin-top: auto; padding-top: 10px; border-top: 1px solid #e6ede8; font-size: .9375rem; color: #2b3a31;
}
.vk-f span:last-child { font-weight: 700; color: #133324; }
.vk-note { margin-top: 18px; color: #46554b; font-size: .9375rem; }
.vk-note a { color: #1a5c42; font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .vk-a, .vk-a:hover { transition: none; transform: none; } }
