.cat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cat-card {
  background: #fff;
  border: 1px solid #e8e0e2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* Contenedor 16:9: evita que img { height:auto } del sitio fuerce la foto cuadrada */
.cat-card .sem-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #192126;
  overflow: hidden;
}
.cat-card .sem-cover-wrap img,
.cat-card img.sem-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #192126;
}
.cat-card .body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.cat-meta { font-size: 0.85rem; color: #666; margin-bottom: 0.75rem; }
.cat-card .body .btn-row { margin-top: auto; }
.cat-empty { padding: 2rem; text-align: center; color: #666; }
