:root { --blog-max: 1200px; }

body { font-family: var(--font-body, 'Inter', sans-serif); color: #121212; background: #fff; }

.blog-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(0,0,0,0.08); background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.blog-header .brand { font-family: var(--font-headings, 'Satoshi', sans-serif); font-weight: 700; letter-spacing: .2px; }
.back-home { text-decoration: none; color: #333; font-weight: 600; }
.back-home:hover { text-decoration: underline; }

.blog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; max-width: var(--blog-max); margin: 2rem auto; padding: 0 1rem; }

.blog-sidebar { position: sticky; top: 68px; align-self: start; }
.blog-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.blog-nav-link { display: block; padding: .6rem .8rem; border-radius: .6rem; color: #121212; text-decoration: none; border: 1px solid rgba(0,0,0,0.08); background: #fff; }
.blog-nav-link:hover, .blog-nav-link.active { background: rgba(254, 192, 7, 0.18); border-color: rgba(254, 192, 7, 0.45); }

.blog-content { min-height: 50vh; }
.blog-content .loading { opacity: .6; padding: 1rem; }

.post { max-width: 780px; padding-bottom: 4rem; }
.post h1 { font-family: var(--font-headings, 'Satoshi', sans-serif); font-weight: 700; margin: 0 0 .5rem 0; }
.post .meta { color: #666; font-size: .95rem; margin-bottom: 1.5rem; }
.post p { font-size: 1.1rem; line-height: 1.75; margin: 1rem 0; }
.post img { max-width: 100%; height: auto; border-radius: 12px; }
.post a { color: #0c68ff; }

.blog-footer { border-top: 1px solid rgba(0,0,0,0.08); padding: 1rem 1.25rem; text-align: center; color: #666; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}


