/* Contenedor principal del bloque */
.list-links {
  background-color: #eee; /* Puedes ajustar este color según tu diseño */
  padding: 0.75rem 1rem;
}

/* Lista de enlaces */
.list-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ítem individual */
.list-links__item {
  position: relative;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

/* Separador vertical entre ítems (excepto el último) */
.list-links__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1rem;
  width: 1px;
  background-color: #777;
}

/* Enlace */
.list-links__link {
  text-decoration: none;
  color: #3F3F3F !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

/* Hover */
.list-links__link:hover {
  color: #4eb564 !important;
}

/* Responsive: mobile */
@media screen and (max-width: 768px) {
  .list-links__list {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .list-links__item {
    width: 100%;
    padding: 5px 0;
    text-align: center;
    border-bottom: 1px solid #ccc;
  }

  .list-links__item::after {
    display: none;
  }

  .list-links__link {
    width: 100%;
    display: block;
  }
}
