/* Blog container */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding:  1rem;
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  line-height: 1.7;
}

/* Hero */
.blog-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0rem;
  line-height: 3.8rem;
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2rem;
    line-height: 2.4rem;
    margin-bottom: 7px;
  }
}

.blog-meta {
  font-size: 0.875rem;
  color: #89909e;
  margin-bottom: 0.5rem;
}

.blog-description {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}


/* Blog Content */
.blog-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-content pre {
  background-color: #f3f3f5;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 15px 0;  /* spacing around code block */

}

.blog-content pre code {
  background: none;    /* remove inner code background */
  padding: 0;          /* remove inline padding */
  display: block;      /* ensure it fills the pre */
  line-height: 1.5;    /* tighter line spacing */
}


.blog-content code {
    background-color: #eeeff1;
    border-radius: 5px;
    padding: 2px 5px;
}

.blog-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 2rem 0;
}


.blog-content a {
  font-weight: 600;
  color: #00cb70;
  text-decoration: none !important;
}

.blog-content h3 {
  font-weight: 800;
  margin-top: 2rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;

}

/* Blog Images */
.blog-content img,
.blog-screenshot img {
  display: block;          /* ensures centering works */
  width: 70%;              /* shrink to 50% */
  margin: 1.5rem auto;     /* center image + spacing */
  margin-bottom: 0.3rem;
  border-radius: 6px;     /* smooth rounded corners */
}

/* Optional: center captions too */
.blog-screenshot figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.5rem;
}


.blog-content p, .blog-content ul {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.blog-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.blog-content a {
  color: #00cb70;
  text-decoration: underline;
}

/* Blog Author Box */
.blog-author-box {
  margin-top: 4rem;
  padding: 1.5rem 2rem; /* slightly less padding */
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Inter', sans-serif;
  color: #1f2937;
}

/* Flex header: author name + social icons */
.author-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem; /* reduce gap */
}

.blog-author-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0; /* remove extra bottom margin */
}

.blog-author-box p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0; /* remove margin so text sits right below header */
  line-height: 1.4;
}

/* Social icons */
.author-socials {
  display: flex;
  gap: 1rem;
}

.author-socials a {
  font-size: 1.2rem;
  color: #d8dae1;
  transition: color 0.3s ease;
}

.author-socials a:hover {
  color: #00cb70;  /* klip green */
}
