/* Blog de KONBUD — se apoya en ../style.css (tokens, botones, nav) */

.blog-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(16px, calc((100vw - var(--container)) / 2));
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.blog-nav .logo img { height: 26px; display: block; }
.blog-nav-links { display: flex; align-items: center; gap: 18px; font-size: 0.9rem; }
.blog-nav-links a:not(.btn-primary) { color: var(--muted); }
.blog-nav-links a:not(.btn-primary):hover { color: var(--white); }
.blog-nav .btn-primary { padding: 9px 18px; font-size: 14px; }

.blog-main { position: relative; z-index: 1; padding: 64px 16px 96px; }

.article { max-width: 720px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.article-meta a { color: var(--orange); font-weight: 600; }
.article h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}
.article .lead { font-size: 1.12rem; color: #c9c9d1; line-height: 1.75; margin-bottom: 36px; }
.article h2 { font-size: 1.45rem; font-weight: 750; letter-spacing: -0.4px; margin: 44px 0 14px; }
.article h3 { font-size: 1.08rem; font-weight: 700; margin: 28px 0 8px; }
.article p, .article li { color: #c3c3cc; font-size: 1.02rem; line-height: 1.8; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 18px; display: grid; gap: 8px; }
.article strong { color: var(--white); }
.article a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.article .callout {
  border: 1px solid var(--orange-border);
  background: var(--orange-dim);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 24px 0;
}
.article .callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 22px 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.article table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
.article th, .article td { padding: 10px 10px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.article th:first-child, .article td:first-child { text-align: left; }
.article thead th { background: var(--surface2); color: var(--white); font-weight: 700; }
.article td { color: #c3c3cc; }
.article tr:last-child td { border-bottom: 0; }
.article .best { color: #4ade80; font-weight: 700; }
.article .over { color: #f87171; font-weight: 700; }
.table-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }

.article-cta {
  margin-top: 56px;
  padding: 28px;
  border: 1px solid var(--orange-border);
  border-radius: var(--radius);
  background: var(--surface);
}
.article-cta h2 { margin-top: 0; }
.article-cta .btn-primary { display: inline-block; margin-top: 6px; text-decoration: none; color: #fff; }

.post-list { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.post-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s;
}
.post-card:hover { border-color: var(--orange-border); }
.post-card h2 { font-size: 1.2rem; font-weight: 750; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.post-card span { display: inline-block; margin-top: 10px; color: var(--orange); font-weight: 600; font-size: 0.9rem; }

.blog-footer { position: relative; z-index: 1; text-align: center; padding: 32px 16px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); }
.blog-footer a { color: var(--white); }

@media (max-width: 560px) {
  .blog-nav-links a:not(.btn-primary) { display: none; }
}
