/* Blog Page Styles */

.blog-page {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.blog-intro {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 3rem;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-card h2 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h2 a:hover {
  color: #0066cc;
}

.blog-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1rem;
}

.blog-meta time {
  display: flex;
  align-items: center;
}

.blog-author {
  display: flex;
  align-items: center;
}

.blog-read-more {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-read-more:hover {
  color: #0052a3;
}

/* Blog Post Detail Styles */

.blog-post {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.blog-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  line-height: 1.2;
}

.blog-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.blog-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

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

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

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

.blog-content strong {
  font-weight: 600;
  color: #1a1a1a;
}

.blog-content em {
  font-style: italic;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.blog-content table th,
.blog-content table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #e5e5e5;
}

.blog-content table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.blog-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.blog-back-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-back-link:hover {
  color: #0052a3;
}

/* Empty State */

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
}

.blog-empty p {
  font-size: 1.125rem;
}

/* Responsive */

@media (max-width: 768px) {
  .blog-page,
  .blog-post {
    padding: 2rem 1rem;
  }

  .blog-page h1,
  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-card {
    padding: 1.5rem;
  }

  .blog-content {
    font-size: 1rem;
  }
}
