/* Junta FV D3 - CATALOGO: solo tarjetas de la portada publica.
 * No modifica fichas SSR, filtros, datos ni la navegacion de C7. */
body .card-grid { gap: 22px; align-items: stretch; }
body .listing-card {
  border: 1px solid #dbe6f1;
  border-radius: 20px;
  box-shadow: 0 9px 26px rgba(11, 43, 91, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body .listing-card:hover,
body .listing-card:focus-within {
  transform: translateY(-3px);
  border-color: #a5c8e8;
  box-shadow: 0 16px 36px rgba(11, 43, 91, .13);
}
body .listing-card .cover {
  display: flex;
  position: relative;
  color: #2e5d89;
  text-decoration: none;
  border-bottom: 1px solid #e8eff7;
  background: linear-gradient(142deg, #eaf4fd 0%, #eff8f4 55%, #dcecfb 100%);
}
body .listing-card .cover img { transition: transform .25s ease; }
body .listing-card:hover .cover img { transform: scale(1.035); }
body .listing-card .cover-placeholder { text-align: center; color: #5b7898; }
body .listing-card .cover-placeholder span {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-size: 34px;
  background: rgba(255,255,255,.78); box-shadow: 0 3px 12px #0751a61b;
}
body .listing-card .card-content { padding: 22px 22px 20px; gap: 10px; }
body .listing-card h3 { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.28; margin: 2px 0 0; }
body .listing-card h3 a { text-decoration: none; color: #08376d; }
body .listing-card h3 a:hover { color: #00629b; text-decoration: underline; text-underline-offset: 3px; }
body .listing-card .tag { border-radius: 999px; background: #eaf7ec; padding: 6px 11px; }
body .listing-card .card-category { font-weight: 650; color: #00658e; }
body .listing-card .card-description { line-height: 1.65; min-height: 2.4em; }
body .listing-card .card-modalities { line-height: 1.5; }
body .listing-card .card-link {
  align-items: center;
  border-top: 1px solid #e4edf6;
  color: #0751a6;
  text-decoration: none;
  margin-top: auto;
  min-height: 48px;
  font-weight: 750;
}
body .listing-card .card-link:hover { color: #05396c; text-decoration: underline; text-underline-offset: 3px; }
body .listing-card a:focus-visible { outline: 3px solid #e39d1d; outline-offset: 3px; border-radius: 5px; }
body .listing-card .cover:focus-visible { outline-offset: -5px; }
@media(max-width:640px) {
  body .card-grid { gap: 18px; }
  body .listing-card { border-radius: 16px; }
  body .listing-card .card-content { padding: 18px; }
  body .listing-card h3 { font-size: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  body .listing-card, body .listing-card .cover img { transition: none; }
  body .listing-card:hover, body .listing-card:focus-within { transform: none; }
  body .listing-card:hover .cover img { transform: none; }
}

/* A3-2B-R5-P1 INICIO: densidad visual escritorio; no altera HTML/JS. */
@media (min-width: 1000px) {
  body .hero { min-height: 0; padding-top: 38px; padding-bottom: 64px; }
  body .hero-inner { min-height: 0; }
  body .hero-copy h1 { font-size: clamp(2.65rem, 3.65vw, 3.9rem); line-height: 1.1; }
  body .hero svg.neighborhood { max-height: 255px; }
  body .listing-card .cover { height: 225px; max-height: 225px; overflow: hidden; }
}
/* A3-2B-R5-P1 FIN */
