/* Blog post layout styles */
.content-wrapper {
  max-width: 720px; margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
}
.back-nav { margin-bottom: var(--space-8); }
.back-link {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--color-text-muted); text-decoration: none;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--color-accent); }
.prose { max-width: 100%; }
.article-header { margin-bottom: var(--space-8); }
.title { margin-bottom: var(--space-2); line-height: 1.1; }
.description {
  font-size: 1.2rem; color: var(--color-text-muted);
  line-height: 1.4; margin-bottom: var(--space-4);
}
.article-meta {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--color-text-subtle); margin-bottom: var(--space-4);
}
.last-updated-on { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-6) 0; }
.article-footer {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.hero-image {
  margin: var(--space-8) 0 var(--space-10);
  display: flex; flex-direction: column; justify-content: center; align-items: start;
}
.hero-frame {
  width: 100%; max-width: 720px; aspect-ratio: 16/9;
  background: #000; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 6px;
}
.hero-frame img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.hero-source {
  margin-top: var(--space-2); font-family: var(--font-mono);
  font-size: 0.75rem; color: var(--color-text-subtle); text-align: right;
}

/* Article content prose overrides */
.article-content p { max-width: 100%; }
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.15rem; }

/* Callout component styles */
.callout {
  position: relative; margin: var(--space-6) 0; padding: var(--space-4);
  border-radius: var(--radius-lg); border-left: 4px solid;
  background: var(--callout-bg); border-left-color: var(--callout-accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.callout:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.callout-info    { --callout-accent: #3b82f6; --callout-bg: rgba(59,130,246,0.08); }
.callout-warning { --callout-accent: #f59e0b; --callout-bg: rgba(245,158,11,0.08); }
.callout-success { --callout-accent: #10b981; --callout-bg: rgba(16,185,129,0.08); }
.callout-danger  { --callout-accent: #ef4444; --callout-bg: rgba(239,68,68,0.08); }
.callout-note    { --callout-accent: #8b7355; --callout-bg: rgba(139,115,85,0.08); }
.callout-gray    { --callout-accent: white;   --callout-bg: rgba(107,114,128,0.08); }
@media (prefers-color-scheme: dark) {
  .callout-info    { --callout-bg: rgba(59,130,246,0.12); }
  .callout-warning { --callout-bg: rgba(245,158,11,0.12); }
  .callout-success { --callout-bg: rgba(16,185,129,0.12); }
  .callout-danger  { --callout-bg: rgba(239,68,68,0.12); }
  .callout-note    { --callout-bg: rgba(139,115,85,0.12); }
  .callout-gray    { --callout-bg: rgba(107,114,128,0.12); }
  .callout:hover   { box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
}
.callout-header  { display: flex; align-items: center; gap: var(--space-3); }
.callout-title   { font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; color: var(--callout-accent); letter-spacing: -0.01em; flex: 1; }
.callout-content { color: var(--color-text-muted); font-size: 0.925rem; line-height: 1.65; }
.callout-content p { margin: 0; }
.callout-content p + p { margin-top: var(--space-3); }
.callout-content a { color: var(--callout-accent); text-decoration-color: var(--callout-accent); }
@keyframes callout-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.callout { animation: callout-enter 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* Syntax highlight */
.highlight { border-radius: var(--radius-md); }

@media (max-width: 768px) { .content-wrapper { padding: var(--space-6) var(--space-4); } }
