/* Contenido de artículo + YARPP — complemento Tailwind Stitch */

.gp-entry-content h2,
.gp-entry-content h3,
.gp-entry-content h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  color: inherit;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.gp-entry-content h2 { font-size: 1.65rem; font-weight: 600; }
.gp-entry-content h3 { font-size: 1.35rem; font-weight: 600; }
.gp-entry-content p { margin-bottom: 1.25rem; }
.gp-entry-content a { color: #ef4444; text-decoration: underline; text-underline-offset: 2px; }
.gp-entry-content ul,
.gp-entry-content ol { margin: 1rem 0 1.25rem 1.25rem; }
.gp-entry-content li { margin-bottom: 0.5rem; }
.gp-entry-content blockquote {
  border-left: 3px solid #ef4444;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #64748b;
}
html.dark .gp-entry-content blockquote { color: #7c839b; }
.gp-entry-content pre,
.gp-entry-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
}
.gp-entry-content pre {
  background: #131b2e;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.gp-entry-content img { max-width: 100%; height: auto; border-radius: 0.5rem; }

.gp-related {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 5rem;
}
@media (min-width: 768px) {
  .gp-related { padding-left: 64px; padding-right: 64px; }
}
.gp-related h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: inherit;
}
.gp-related__grid .yarpp-related,
.gp-related .yarpp-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gp-related .yarpp-related li,
.gp-related__grid li {
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: transform 0.2s, border-color 0.2s;
}
html.dark .gp-related .yarpp-related li,
html.dark .gp-related__grid li {
  background: #131b2e;
  border-color: rgba(255, 255, 255, 0.1);
}
.gp-related .yarpp-related a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.gp-related .yarpp-related a:hover { color: #ef4444; }
