/* Container */
.blog-single-container {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  background-color: #0f0f0f;
  color: #ffffff;
  font-family: Newsreader, "Noto Sans", sans-serif;
}

/* Article */
.blog-article {
  width: 100%;
  max-width: 56rem; /* 4xl = 896px */
  margin: 0 auto;
}

/* Breadcrumbs */
.blog-breadcrumbs {
  padding: 1rem;
  padding-bottom: 0.5rem;
  background-color: #0f0f0f;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  color: #a0a0a0;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  color: #606060;
}

.breadcrumb-current {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
}

.breadcrumb-current span {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Post Header */
.blog-post-header {
  padding: 1.25rem 1rem 0.75rem;
}

.blog-post-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.blog-post-meta {
  color: #a0a0a0;
  font-size: 0.875rem;
  font-weight: normal;
  padding-top: 0.25rem;
}

/* Featured Image */
.blog-featured-image-wrapper {
  width: 100%;
  padding: 0.75rem 1rem;
}

.blog-featured-image {
  aspect-ratio: 3/2;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #2a2a2a;
}

/* Post Content */
.blog-post-content {
  max-width: none;
  padding: 1rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: #e0e0e0;
}

.blog-post-content p {
  margin-bottom: 1em;
  line-height: 1.75;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  font-weight: 600;
  color: #ffffff;
}

.blog-post-content h2 {
  font-size: 1.5rem;
}

.blog-post-content h3 {
  font-size: 1.25rem;
}

.blog-post-content a {
  color: #60a5fa;
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: #93c5fd;
}

.blog-post-content img {
  border-radius: 0.5rem;
  border: 1px solid #2a2a2a;
}

.blog-post-content blockquote {
  border-left: 4px solid #404040;
  padding-left: 1rem;
  margin-left: 0;
  color: #b0b0b0;
  font-style: italic;
}

.blog-post-content code {
  background-color: #1a1a1a;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #e0e0e0;
}

.blog-post-content pre {
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  border: 1px solid #2a2a2a;
}

.blog-post-content pre code {
  background-color: transparent;
  padding: 0;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1em;
}

.blog-post-content li {
  margin-bottom: 0.5em;
}

/* Pagination */
.blog-post-pagination {
  padding: 0 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-post-pagination a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-post-pagination a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.pagination-prev,
.pagination-next {
  /* Add any specific styling if needed */
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .blog-post-title {
    font-size: 2rem;
  }
  
  .blog-post-header {
    padding: 2rem 1rem 1rem;
  }
}