/* -------------------- Página individual de instructivo -------------------- */
/* Reutiliza .blog-post / .blog-back / .blog-post-header / .blog-post-body / .blog-post-video de blog.css */

.instructivo-post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.instructivo-post-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f7fb;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.85rem;
}

.instructivo-post-pill i {
  color: #ef382b;
}

.instructivo-post-original-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 32px;
  color: #ef382b;
  font-weight: 700;
  text-decoration: none;
}

.instructivo-post-original-link:hover {
  text-decoration: underline;
}

/* -------------------- Instructivos relacionados -------------------- */

.instructivo-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eceff3;
}

.instructivo-related-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.instructivo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.instructivo-related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #eceff3;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.instructivo-related-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.instructivo-related-card-thumb {
  aspect-ratio: 16 / 9;
  background: #f4f7fb;
  overflow: hidden;
}

.instructivo-related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instructivo-related-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}

.instructivo-related-card-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ef382b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.instructivo-related-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
}

.instructivo-related-card-detail {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
