/* ================================
   Blog Styles - Minimalist Design
   ================================ */

/* Blog Grid - 3 columns */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

@media screen and (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.blog-card-image-link {
  display: block;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16 / 10;
  background-color: #f5f5f5;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Blog Meta */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.blog-date {
  font-size: 0.875rem;
  color: #666;
}

.blog-separator {
  color: #999;
}

.blog-category {
  font-size: 0.875rem;
  color: #666;
}

.blog-category-link {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-category-link:hover {
  color: #000;
}

/* Blog Card Title */
.blog-card-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-card-link {
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.blog-card-link:hover {
  opacity: 0.7;
}

/* Blog Excerpt */
.blog-excerpt {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

/* Read More Link */
.blog-read-more {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform 0.2s ease;
  margin-top: auto;
}

.blog-read-more:hover {
  transform: translateX(5px);
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 2rem;
}

.blog-pagination .page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.blog-pagination .page-numbers li {
  list-style: none;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  color: #000;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  transition: all 0.2s ease;
  font-size: 0.9375rem;
}

.blog-pagination .page-numbers a:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.blog-pagination .page-numbers span.current {
  background-color: #000;
  color: #fff;
  border-color: #000;
  font-weight: 500;
}

.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
  font-size: 1.125rem;
}

/* No Posts Message */
.blog-no-posts {
  text-align: center;
  padding: 4rem 0;
}

/* Single Post Styles */
.single-post-meta {
  margin-bottom: 1.5rem;
}

.single-post-featured-image {
  max-width: 100%;
  margin: 0 auto;
}

.single-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-image-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.single-post-content {
  max-width: 800px;
  margin: 0 auto;
}

.single-post-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #333;
}

.single-post-text p {
  margin-bottom: 1.5rem;
}

.single-post-text h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.single-post-text h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.single-post-text ul,
.single-post-text ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.single-post-text li {
  margin-bottom: 0.5rem;
}

.single-post-text a {
  color: #000;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.single-post-text a:hover {
  opacity: 0.7;
}

.single-post-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

.single-post-text blockquote {
  border-left: 3px solid #000;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
}

/* Post Navigation */
.single-post-navigation {
  border-top: 1px solid #e0e0e0;
  margin-top: 4rem;
  padding-top: 3rem;
}

.post-navigation-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.post-navigation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media screen and (max-width: 767px) {
  .post-navigation-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-nav-next {
  text-align: right;
  align-items: flex-end;
}

.post-nav-label {
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-nav-title {
  color: #000;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.post-nav-title:hover {
  opacity: 0.7;
}

/* Archive Description */
.archive-description {
  max-width: 800px;
}

.archive-description p {
  margin-bottom: 1rem;
}

/* Blog Section Spacing */
.blog-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.single-post-content-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

