/* Blog Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
  padding: 1rem 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb-link {
  color: #8e2c2c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #a13232;
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #999;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #2c1812;
  margin: 0.5rem 0;
}

.blog-card-excerpt {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-link {
  color: #8e2c2c;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: auto;
}

.blog-card-link:hover {
  color: #a13232;
}

/* Individual Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.blog-post-meta {
  color: #666;
  font-size: 0.9rem;
  margin: 1rem 0;
}

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

.blog-post-content h2 {
  font-family: 'Playfair Display', serif;
  color: #2c1812;
  margin: 2rem 0 1rem;
}

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

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 2rem 0;
}

/* Tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.blog-tag {
  background: #f5e6d3;
  color: #8e2c2c;
  padding: 0.3rem 0.8rem;
  border-radius: 16px;
  font-size: 0.9rem;
  text-decoration: none;
}

.blog-tag:hover, .blog-tag.active {
  background: #8e2c2c;
  color: white;
}

/* Blog Post Navigation */
.blog-post-navigation {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.back-to-blog-btn {
  display: inline-block;
  background: #8e2c2c;
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.back-to-blog-btn:hover {
  background: #a13232;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 44, 44, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .blog-card-content {
    padding: 1rem;
  }

  .blog-post {
    padding: 1.5rem;
  }

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