/* Blog single page refinements */
.single-blog .single-blog-entry > *:first-child {
  margin-top: 0;
}

.single-blog .single-blog-entry > *:last-child {
  margin-bottom: 0;
}

.single-blog .single-blog-entry iframe,
.single-blog .single-blog-entry video,
.single-blog .single-blog-entry embed {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 0.75rem;
}

.single-blog .single-blog-entry figure {
  margin: 1.75rem 0;
}

.single-blog .single-blog-entry figcaption {
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
  text-align: center;
}

.single-blog .single-blog-entry pre {
  margin: 1.5rem 0;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 0.75rem;
  background: #111827;
  color: #e5e7eb;
}

.single-blog .single-blog-entry code {
  font-size: 0.875em;
}

.single-blog .single-blog-entry table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.single-blog .single-blog-entry th,
.single-blog .single-blog-entry td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 0.875rem;
  text-align: left;
}

.single-blog .single-blog-entry th {
  background: #f9fafb;
  color: #111827;
  font-weight: 600;
}

/* Mobile readability improvements */
@media (max-width: 767px) {
  .single-blog .single-blog-entry {
    border-radius: 1rem;
  }

  .single-blog .single-blog-entry p {
    line-height: 1.75;
  }

  .single-blog .single-blog-entry h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .single-blog .single-blog-entry h3 {
    font-size: 1.25rem;
    line-height: 1.35;
  }
}
