/* SIQPUEDES V17.5.363 — tarjetas de ganadores simétricas refinadas.
   Ajuste exclusivamente visual: mejora el espaciado entre título y descripción,
   mantiene simetría y estandariza la cantidad visible de texto. */

/* Todas las tarjetas de una fila comparten altura y estructuran su contenido
   para que la fecha, el premio y el enlace queden alineados. */
.gw-winners-grid {
  align-items: stretch;
  grid-auto-rows: minmax(0, 1fr);
}
.gw-winners-grid .gw-winner-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.gw-winners-grid .gw-art {
  flex: 0 0 auto;
}
.gw-winners-grid .gw-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding-bottom: 12px;
}
.gw-winners-grid .gw-category {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gw-winners-grid .gw-category i {
  flex: 0 0 auto;
}
.gw-winners-grid .gw-identity {
  min-width: 0;
  width: 100%;
  grid-template-columns: 42px minmax(0,1fr) auto;
  margin-top: 8px;
}
.gw-winners-grid .gw-identity > div {
  min-width: 0;
}
.gw-winners-grid .gw-identity h3 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Título de la creación: estándar de una sola línea para evitar huecos
   excesivos entre el nombre de la obra y la descripción. */
.gw-winners-grid .gw-card-body > p:not(.gw-moderated-description) {
  display: block;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: nowrap;
  line-height: 1.35;
  height: 1.35em;
  min-height: 1.35em;
  max-height: 1.35em;
  margin: 8px 0 3px;
  text-overflow: ellipsis;
}

/* Descripción: bloque visual uniforme para que todas las tarjetas mantengan
   el mismo estándar y el mismo ritmo vertical. */
.gw-winners-grid .gw-card-body > p.gw-moderated-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.38;
  min-height: 4.14em;
  max-height: 4.14em;
  margin: 0 0 4px;
  text-overflow: ellipsis;
}
.gw-winners-grid .gw-card-bottom {
  margin-top: auto;
  min-width: 0;
  flex: 0 0 auto;
}
.gw-winners-grid .gw-card-bottom span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gw-winners-grid .gw-card-bottom strong {
  flex: 0 0 auto;
  white-space: nowrap;
}
.gw-winners-grid .gw-view {
  flex: 0 0 auto;
}

/* Ajuste fino de textos en columnas angostas. */
@media (max-width: 1300px) {
  .gw-winners-grid .gw-identity {
    grid-template-columns: 36px minmax(0,1fr) auto;
    gap: 7px;
  }
  .gw-winners-grid .gw-identity img {
    width: 36px;
    height: 36px;
  }
  .gw-winners-grid .gw-card-bottom {
    gap: 5px;
  }
  .gw-winners-grid .gw-card-bottom strong {
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .gw-winners-grid .gw-identity {
    grid-template-columns: 42px minmax(0,1fr) auto;
    gap: 9px;
  }
  .gw-winners-grid .gw-identity img {
    width: 42px;
    height: 42px;
  }
  .gw-winners-grid .gw-card-body > p:not(.gw-moderated-description) {
    margin-top: 7px;
  }
}
