/* CAJAS DE INFORMACIÓN ARTEDANZA */

.artinfo-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 0 10px;
}

/* CAJA INDIVIDUAL */
.artinfo-box {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* IMÁGENES IGUALES */
.artinfo-box img {
  display: block;
  width: 100% !important;
  height: 145px !important;
  object-fit: cover;
}

/* CONTENIDO */
.artinfo-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

/* TÍTULO */
.artinfo-title {
  font-family: 'Marko One', serif;
  font-size: 15px;
  line-height: 1.4;
  color: #222;
  margin: 0 0 8px;
}

/* FECHA */
.artinfo-date {
  font-family: 'Marko One', serif;
  font-size: 13px;
  color: darkslategrey;
  margin: 0 0 8px;
}

/* DESCRIPCIÓN */
.artinfo-text {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 15px;
}

/* BOTONES */
.artinfo-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 8px 12px;
  background: darkgrey;
  color: white !important;
  border-radius: 4px;
  text-align: center;
  text-decoration: none !important;
  font-size: 13px;
}

.artinfo-btn:hover {
  background: #555;
  color: white !important;
}

/* TABLET */
@media (max-width: 900px) {
  .artinfo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* MÓVIL */
@media (max-width: 550px) {
  .artinfo-grid {
    grid-template-columns: 1fr !important;
    max-width: 340px;
  }

  .artinfo-box img {
    height: 180px !important;
  }
}