/* === CUADROS DE ARTISTA === */
.cuadros-artista-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.cuadro-artista {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 12px;
  background-color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cuadro-artista:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.cuadro-artista img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cuadro-artista h3 {
  font-size: 1rem;
  color: #444;
  margin: 0;
  font-weight: 600;
}

/* Contenedor de filtro superior */
.cuadros-filtros-superior {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
}

#filtro-fecha-cuadros {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

/* Botón de "Ver más" */
.ver-mas-container {
  text-align: center;
  margin-top: 2rem;
}

#ver-mas-cuadros-btn {
  padding: 10px 20px;
  background-color: #005C00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
}

#ver-mas-cuadros-btn:hover {
  background-color: #003f00;
}

/* Responsive */
@media (max-width: 768px) {
  .cuadros-artista-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cuadros-filtros-superior {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cuadros-artista-grid {
    grid-template-columns: 1fr;
  }

  #filtro-fecha-cuadros {
    width: 100%;
    text-align: center;
  }
}
/* Estado de carga del botón "Ver más" */
#ver-mas-cuadros-btn.loading::after {
  content: '...';
  animation: dots 1s steps(3, end) infinite;
  margin-left: 8px;
}

@keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
}