#light-films .light-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  margin-top: 22px;
}

#light-films .light-card {
  min-width: 0;
  border: 1px solid rgba(122, 184, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  background: #0b1526;
}

#light-films .light-card video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #000;
}

#light-films .light-card-body {
  padding: 12px 14px 16px;
  min-width: 0;
}

#light-films .light-card-title {
  display: block;
  font-size: 15px;
  color: #e6ecf7;
  overflow-wrap: anywhere;
}

#light-films .light-card-meta {
  display: block;
  font-size: 12.5px;
  opacity: 0.72;
  margin-top: 3px;
  color: #b6c3d8;
  overflow-wrap: anywhere;
}

#light-films .light-empty {
  font-size: 13px;
  color: #8ea0bd;
}

/* En teléfono cada film ocupa el ancho completo. Los 9:16 en dos columnas
   quedaban a ~170 px y no se distinguía nada: una columna, con tope de 420 px
   para que el vertical no se estire en pantallas anchas de 600-640 px. */
@media (max-width: 640px) {
  #light-films .light-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 18px;
  }

  #light-films .light-card.is-landscape {
    grid-column: 1 / -1;
  }

  #light-films .light-card.is-portrait {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  #light-films .light-card-body {
    padding: 10px 12px 12px;
  }

  #light-films .light-card-title {
    font-size: 13px;
    line-height: 1.3;
  }

  #light-films .light-card-meta {
    font-size: 11px;
    line-height: 1.35;
  }
}
