@media screen and (max-width: 1000px) {
  .contenedor__congresos {
    justify-content: flex-start;
    height: auto;
    max-height: none;
    gap: clamp(1rem, 3dvh, 2rem); /* espaciado vertical adaptable */
  }

  .lista__congresos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(1rem, 3dvw, 2rem);
    grid-auto-rows: minmax(200px, auto);
    grid-auto-flow: dense;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .item__congreso {
    aspect-ratio: 13 / 9;
    max-height: 210px;
    width: 100%;
    float: none;
    flex-grow: 1;
  }

  /* Desactiva efectos hover en móvil */
  .lista__congresos:hover li,
  .lista__congresos li:hover {
    width: 100% !important;
    filter: none;
  }
  .lista__congresos > li:last-child {
    grid-column: 1 / -1;
  }
}

@media screen and (min-width: 893px) {
  .lista__congresos > li:last-child {
    grid-column: auto;
  }
}
