/* ══════════════════════════════════════════════
   Wright Creative — Blog Post Styles
   ══════════════════════════════════════════════ */

.article-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.article-header .post-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.article-header .post-meta .category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 4px;
}
.article-header h1 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 680px;
}
.article-header .subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 600px;
}

/* Hero image */
.article-hero {
  margin: 40px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.article-hero.hero-purple {
  background: linear-gradient(135deg, #2d1b4e 0%, #1a1a2e 50%, #0f3460 100%);
}

/* Article body */
.article-body {
  padding-bottom: 64px;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.article-body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.article-body p strong {
  color: var(--text);
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article-body li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body blockquote p {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0;
}

/* Framework callout card */
.framework-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  margin: 32px 0;
}
.framework-card h3 {
  margin-top: 0;
  font-size: 17px;
  margin-bottom: 16px;
}
.framework-card ol {
  padding-left: 20px;
}

/* Author card */
.author-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 48px;
}
.author-card .author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
}
.author-card .author-name {
  font-size: 15px;
  font-weight: 700;
}
.author-card .author-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Related posts */
.related-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.related-section h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.related-card .related-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  flex-shrink: 0;
}
.related-card .related-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.related-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

/* Share strip */
.share-strip {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.share-strip .share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 8px;
}
.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 14px;
  text-decoration: none;
  color: var(--text-secondary);
}
.share-btn:hover { border-color: var(--text); }

@media (max-width: 640px) {
  .article-hero { aspect-ratio: 16/9; }
  .author-card { flex-direction: column; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
}
