/* Contenedor de tarjetas en grid */
#archivoGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 0;
}

/* Ajuste responsivo */
@media (max-width: 992px) {
  #archivoGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #archivoGrid {
    grid-template-columns: 1fr;
  }
}

/* Tarjetas generales */
.card-general {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.card-general:hover {
  transform: scale(1.02);
}

.card-general img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-body-general {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px;
  text-align: left;
}

.card-title-general {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.2;
  color: #222;
}

.card-text-general {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.3;
}

.small-text-general {
  font-size: 0.8rem;
  color: #777;
  margin: 0;
  line-height: 1.2;
}

.btn-general {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  align-self: start;
  background-color: #fbc02d;
  border: none;
  color: #000;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-general:hover {
  background-color: #ffca28;
}
