/* blog-layout.css — consistent layout for all long-form blog pages.
   Update this file to change the layout for every article at once. */

body { background: #F7F9FC; margin: 0; }

.blog-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 860px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-left-nav { display: none; }
}

/* ── Left nav ── */
.blog-left-nav {
  position: sticky;
  top: 76px;
}

.blog-left-nav-section {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.blog-left-nav-head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #5C6E82;
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.blog-left-nav a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #F1F5F9;
  line-height: 1.4;
  transition: background .1s, color .1s;
}

.blog-left-nav a:last-child { border-bottom: none; }
.blog-left-nav a:hover { background: #EFF6FF; color: #1E3A8A; }
.blog-left-nav a.active {
  background: #EFF6FF;
  color: #1E3A8A;
  font-weight: 700;
  border-left: 3px solid #2563EB;
}

.blog-left-nav-tag {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 6px;
  border-radius: 3px;
  background: #EFF6FF;
  color: #2563EB;
  margin-top: 1px;
  white-space: nowrap;
}

.blog-left-nav-cta {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.blog-left-nav-cta p {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin: 0 0 10px;
  line-height: 1.4;
}

.blog-left-nav-cta a {
  display: block;
  background: #fff;
  color: #1E3A8A;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 7px;
  text-decoration: none;
  transition: transform .1s;
}

.blog-left-nav-cta a:hover { transform: translateY(-1px); }

/* ── Article wrapper — preserves capiyo-blog-long.css styling inside ── */
.blog-article-wrap {
  min-width: 0;
}

/* Override shell max-width since it's now inside the grid */
.blog-article-wrap .shell {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Remove the old .top header (already stripped, just in case) */
.blog-article-wrap .top { display: none !important; }
