/* Blog público — contenido a ancho completo de la pantalla */
.blog-page {
  padding: 2.5rem 0 3.5rem;
  background: #f5f7fa;
  min-height: 40vh;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.blog-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.blog-breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.blog-breadcrumb a {
  color: #0088cc;
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-breadcrumb-sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.blog-breadcrumb-current {
  color: #334155;
  font-weight: 500;
}

.blog-article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(0, 136, 204, 0.08);
  padding: 2rem 1.75rem 2.25rem;
}

.blog-article-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-article-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.blog-post-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}

.blog-post-body .blog-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e293b;
}

.blog-post-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
}

.blog-post-body h2:first-of-type {
  margin-top: 1.25rem;
}

.blog-post-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.25rem 0 0.5rem;
}

.blog-post-body p {
  margin: 0 0 1rem;
}

.blog-post-body ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.blog-post-body li {
  margin-bottom: 0.35rem;
}

.blog-post-internal-links {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-left: 4px solid #0088cc;
  border-radius: 0 8px 8px 0;
}

.blog-post-internal-links ul {
  margin: 0.5rem 0 0 1.25rem;
}

.blog-post-internal-links a {
  color: #0088cc;
  font-weight: 600;
  text-decoration: none;
}

.blog-post-internal-links a:hover {
  text-decoration: underline;
}

.blog-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #0f172a;
  margin: 1rem 0 1.5rem;
}

.blog-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-video-placeholder {
  font-size: 0.95rem;
  color: #64748b;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.5rem;
}

.blog-back {
  margin-top: 2rem;
  text-align: center;
}

.blog-back-link {
  color: #0088cc;
  font-weight: 600;
  text-decoration: none;
}

.blog-back-link:hover {
  text-decoration: underline;
}

/* Índice */
.blog-index-header {
  margin-bottom: 2rem;
  text-align: center;
}

.blog-index-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.blog-index-intro {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0;
  max-width: none;
  line-height: 1.6;
}

.blog-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-post-list__item {
  margin-bottom: 1.25rem;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 136, 204, 0.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  padding: 1.5rem 1.5rem 1.35rem;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.blog-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.blog-card__title a {
  color: #0f172a;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #0088cc;
}

.blog-card__date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 0 0.65rem;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.blog-card__more {
  margin: 0;
  font-size: 0.9rem;
}

.blog-card__more a {
  color: #0088cc;
  font-weight: 600;
  text-decoration: none;
}

.blog-card__more a:hover {
  text-decoration: underline;
}

/* Bloque relacionados + CTA (fin de post) */
.blog-post-related {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.blog-post-related__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem;
}

.blog-post-related__list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: #334155;
  line-height: 1.55;
}

.blog-post-related__list a {
  color: #0088cc;
  text-decoration: none;
  font-weight: 500;
}

.blog-post-related__list a:hover {
  text-decoration: underline;
}

.blog-post-related__cta {
  margin: 1.25rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.blog-post-related__cta-text {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.55;
}

.blog-post-related__cta-btn {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  background: #0088cc;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
}

.blog-post-related__cta-btn:hover {
  background: #0077b3;
  text-decoration: none;
}

.blog-post-related__nav {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.blog-post-related__nav a {
  color: #0088cc;
  text-decoration: none;
  font-weight: 500;
}

.blog-post-related__nav a:hover {
  text-decoration: underline;
}

.blog-post-related__sep {
  margin: 0 0.35rem;
  color: #cbd5e1;
}

.blog-index-seo-support {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
  max-width: none;
}

@media (max-width: 576px) {
  .blog-article {
    padding: 1.5rem 1.1rem;
  }

  .blog-article-title {
    font-size: 1.35rem;
  }
}
