/**
 * Revistas Listado - Estilos
 * CSS unificado para las vistas de listado de revistas
 */

.revista-card {
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.revista-card-inner {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  height: 100%;
}

.revista-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30,60,114,0.25);
  text-decoration: none;
}

.revista-portada-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding-top: 140%;
}

.revista-portada {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.revista-card-inner:hover .revista-portada {
  transform: scale(1.05);
}

.revista-info {
  padding: 20px;
  background: white;
}

.revista-titulo {
  font-size: 16px;
  font-weight: 700;
  color: #1e3c72;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.revista-fecha {
  color: #6b7280;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.revista-fecha i {
  color: #1e3c72;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-top: 40px;
}

.empty-state i {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #64748b;
  font-weight: 600;
}

.revistas-container {
  padding: 60px 0 40px;
  min-height: 60vh;
}

/* Paginación mejorada */
.pagination > li > a,
.pagination > li > span {
  color: #1e3c72;
  border-color: #e2e8f0;
}

.pagination > .active > a,
.pagination > .active > span {
  background-color: #1e3c72;
  border-color: #1e3c72;
}

.pagination > li > a:hover {
  background-color: #f1f5f9;
  border-color: #1e3c72;
  color: #1e3c72;
}
