/* Generado desde style/blog.css — selectores encapsulados en #sq-app */
#sq-app {
  --rosa-fondo: #f3e7f1;     /* mismo tono que el fondo del carrusel de opiniones */
  --rosa-header: #f3e7f1;
  --dorado: #a17613;
  --texto-principal: #3A3A3A;
  --texto-secundario: #8A8A8A;
  --blanco: #faf3e7;
}

#sq-app .blog-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

#sq-app .blog-titulo {
  font-size: 2.2rem;
  color: #d2acce; /* mismo color que el carrusel de opiniones */
  font-weight: 600;
  margin-bottom: 10px;
}

#sq-app .blog-linea {
  width: 80px;
  height: 2px;
  background-color: var(--dorado); /* igual de fina que el resto del sitio */
  margin: 0 auto 40px;
  border-radius: 3px;
}

#sq-app .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

#sq-app .blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#sq-app .blog-card:hover {
  transform: translateY(-6px);
}

#sq-app .blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Encuadre centrado en la cara para fotos horizontales */
#sq-app .blog-img-cara {
  object-position: center 35%;
}

#sq-app .blog-contenido {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  background: var(--rosa-header);
}

#sq-app .blog-subtitulo {
  font-size: 1.2rem;
  color: var(--texto-principal);
  font-weight: 600;
  margin-bottom: 10px;
}

#sq-app .blog-texto {
  flex: 1;
  font-size: 0.95rem;
  color: var(--texto-secundario);
  line-height: 1.6;
  margin-bottom: 15px;
}

#sq-app .blog-link {
  color: var(--dorado);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

#sq-app .blog-link:hover {
  color: var(--texto-principal);
}

#sq-app #carrusel-contenedor {
  margin-bottom: 40px;
}
#sq-app #footer {
  margin-top: 40px;
}

@media (max-width: 480px) {
  #sq-app .blog-wrapper {
    padding: 32px 16px 48px;
  }
  #sq-app .blog-titulo {
    font-size: 1.7rem;
  }
  #sq-app .blog-grid {
    gap: 20px;
  }
  #sq-app .blog-img {
    height: 200px;
  }
}