.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 40px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .15s, border-color .15s; }
.post-card:hover { text-decoration: none; border-color: var(--line-2); box-shadow: var(--shadow); }
.post-cover { height: 150px; position: relative; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.post-cover span { position: absolute; left: 18px; bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: 4px 10px; border-radius: 4px; }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-body small { color: var(--mute); font-size: 13px; }
.post-card-body h2 { font-size: 19px; margin: 8px 0 10px; line-height: 1.3; }
.post-card-body p { color: var(--ink-2); font-size: 15px; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 600; font-size: 14.5px; }

.post-hero { color: #fff; padding: 48px 0 56px; }
.post-hero-inner { max-width: 1200px; }
.post-back { display: inline-flex; align-items: center; gap: 6px; color: #C9CDD3; font-size: 14px; margin-bottom: 22px; }
.post-back:hover { color: #fff; text-decoration: none; }
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.post-tags span { font-size: 12px; font-weight: 600; color: #D5D8DD; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 3px 9px; border-radius: 4px; }
.post-hero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; max-width: 820px; }
.post-meta { color: #A4A9B1; margin: 0; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 48px; padding-bottom: 24px; }
.post-body { font-size: 17.5px; line-height: 1.75; color: #15181C; max-width: 740px; }
.post-body h2 { font-size: 26px; margin: 40px 0 14px; letter-spacing: -.02em; }
.post-body h3 { font-size: 20px; margin: 30px 0 10px; }
.post-body h4 { font-size: 17px; margin: 24px 0 8px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote { margin: 24px 0; padding: 4px 20px; border-left: 3px solid var(--brand); color: var(--ink-2); background: var(--bg-soft); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 24px; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.post-body th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.post-body code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: .9em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; align-self: start; }
.post-side h4 { font-size: 14px; margin-bottom: 10px; }
.post-side a { display: block; margin-bottom: 6px; }
.side-cta p { color: var(--mute); font-size: 14.5px; }

.blog-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 14px; padding: 32px 36px; margin: 32px 0 72px; }
.blog-cta h3 { font-size: 24px; margin: 0 0 6px; }
.blog-cta p { color: #C9CDD3; margin: 0; max-width: 560px; }
.blog-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; gap: 24px; }
  .post-side { position: static; }
}
