/* Blog Styles */

.blog-container {
  max-width: 800px;
  margin: 0;
  padding: 3rem 2rem;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-preview {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.blog-preview:last-child {
  border-bottom: none;
}

.blog-preview-link {
  text-decoration: none;
  display: block;
}

.blog-preview-link:hover .blog-title {
  color: var(--text-muted);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin: 0.5rem 0;
  transition: color var(--transition);
}

.blog-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Blog Post */
.blog-post {
  max-width: 800px;
  margin: 0;
  padding: 3rem 2rem;
}

.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 0.5rem 0 0 0;
}

.blog-post-content {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content h2 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.5rem 0 1rem 0;
  letter-spacing: 0.05em;
}

.blog-post-content h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin: 2rem 0 1rem 0;
}

.blog-post-content a {
  color: var(--text);
  text-decoration: underline;
  transition: color var(--transition);
}

.blog-post-content a:hover {
  color: var(--text-muted);
}

.blog-post-content blockquote {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.blog-post-content video {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog-images {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.blog-images img {
  flex: 1;
  max-width: calc(50% - 0.5rem);
  height: auto;
  margin: 0;
  object-fit: cover;
}

.image-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

/* Blog Navigation */
.blog-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.blog-nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-nav-link:hover {
  color: var(--text);
}

.blog-nav-link.next {
  margin-left: auto;
}

/* Active nav link */
.nav-link.active {
  color: #1a1a1a;
}

/* Light mode for all blog pages */
body {
  --bg: #ffffff;
  --bg-card: #f5f5f5;
  --text: #1a1a1a;
  --text-muted: #666666;
  --border: #e0e0e0;
  background: #ffffff;
  color: #1a1a1a;
}

.site-header {
  background: #ffffff;
  border-bottom-color: #e0e0e0;
}

.site-title a {
  color: #1a1a1a;
}

.nav-link {
  color: #666666;
}

.nav-link:hover {
  color: #1a1a1a;
}

/* Keep category nav dark */
.category-nav {
  background: #0a0a0a;
  border-bottom-color: #1a1a1a;
}

.category-label {
  color: #ffffff;
}

.category-tab {
  color: #888888;
}

.category-tab:hover {
  color: #ffffff;
}

.site-footer {
  background: #ffffff;
  border-top-color: #e0e0e0;
}

.site-footer p {
  color: #666666;
}

.blog-nav {
  border-top-color: #e0e0e0;
}

.blog-post-content blockquote {
  border-left-color: #e0e0e0;
}