/* Entrada amigable en listados con ?page=N (override tvcmsinfinitescroll) */

/* Ocultar paginador mientras el scroll infinito está activo */
html.m1c-infinite-scroll-on .pagination .page-list,
html.m1c-infinite-scroll-on .tv-pagination-number,
html.m1c-infinite-scroll-on .tvcms-all-pagination .tv-pagination-number {
  display: none !important;
}

.m1c-infinite-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
}

.m1c-infinite-entry__text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.m1c-infinite-entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m1c-infinite-entry__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.m1c-infinite-entry__btn:hover,
.m1c-infinite-entry__btn:focus {
  background: #222;
  color: #fff;
  text-decoration: none;
}

.m1c-infinite-entry__btn--primary {
  background: #222;
  color: #fff;
}

.m1c-infinite-entry__btn--primary:hover,
.m1c-infinite-entry__btn--primary:focus {
  background: #000;
  color: #fff;
}

.m1c-infinite-entry.is-loading .m1c-infinite-entry__actions {
  opacity: 0.45;
  pointer-events: none;
}

.m1c-infinite-entry__status {
  display: none;
  width: 100%;
  margin: 0;
  font-size: 13px;
  color: #666;
}

.m1c-infinite-entry.is-loading .m1c-infinite-entry__status {
  display: block;
}
