/* ── BLOG ───────────────────────────────────────────── */
.blog-hero {
  background: var(--navy);
  color: var(--white);
  padding: 48px 24px 40px;
}
.blog-hero-inner { max-width: 900px; margin: 0 auto; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
}
.blog-hero p { color: #c7d1e6; font-size: 15px; max-width: 560px; }

.blog-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  gap: 20px;
}
.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover { box-shadow: 0 16px 30px -18px rgba(15,31,61,0.3); transform: translateY(-2px); }
@media (max-width: 640px) { .blog-card { grid-template-columns: 1fr; } }
.blog-card-media {
  background: linear-gradient(135deg, var(--navy) 0%, #274475 100%);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: white;
  font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.blog-card-body { padding: 20px 22px 20px 0; }
@media (max-width: 640px) { .blog-card-body { padding: 18px 20px; } }
.blog-card-date { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.blog-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.blog-card p { font-size: 14px; color: var(--gray); line-height: 1.55; }
.blog-card .read-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--red); }

/* ── POST ───────────────────────────────────────────── */
.post-hero {
  background: var(--navy);
  color: var(--white);
  padding: 40px 24px 36px;
}
.post-hero-inner { max-width: 760px; margin: 0 auto; }
.post-cat {
  display: inline-block;
  background: var(--red);
  font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.post-meta { color: #c7d1e6; font-size: 13px; }

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 30px;
  font-size: 16px;
  line-height: 1.75;
  color: #1f2937;
}
.post-body h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 24px;
  margin: 34px 0 14px;
}
.post-body h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 26px 0 10px;
}
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 22px; }
.post-body li { margin-bottom: 6px; }
.post-body strong { color: var(--navy); }
.post-body .callout {
  background: #fff5f5;
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 15px;
}
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gray-light); }
.post-body th { color: var(--navy); font-family: var(--font-display); }

.post-cta {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.post-cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.post-cta-box h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.post-cta-box p { color: #c7d1e6; font-size: 14px; margin-bottom: 18px; }
.post-cta-box .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.post-cta-box a {
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px;
}
.post-cta-box .primary { background: var(--red); color: white; }
.post-cta-box .secondary { background: rgba(255,255,255,0.1); color: white; border: 1.5px solid rgba(255,255,255,0.3); }

.author-box {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  flex-shrink: 0;
}
.author-box p { font-size: 13px; color: var(--gray); }
.author-box strong { color: var(--navy); display: block; font-size: 14px; margin-bottom: 2px; }

/* Portadas de artículos (Canva) */
.blog-card-media.has-img { padding: 0; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #f7f5f0; }
.blog-card-media.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.blog-card-media.has-img .blog-card-cat { position: absolute; left: 12px; bottom: 12px; }
