
/* === Blog Visual Polish Pack === */

/* Font and typography */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #2e2e2e;
}

h1, h2, h3 {
  font-weight: 600;
  color: #1c1c1c;
}

h2, h3 {
  margin-top: 2rem;
}


/* Blog post hero heading */
.blog-hero {
  background: #f3f7fc;
  border-left: 5px solid #4b93ff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Article card on blog index */
.blog-card {
  transition: all 0.3s ease;
  border-left: 4px solid #0d6efd; /* Bootstrap primary */
  background-color: #fff;
  border-radius: 6px;
  display: flex;
  /* align-items: center; stretch; */
  /* gap: 1rem;
  padding: 1rem; */
}
/* 
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.2);
  border-left-color: #0b5ed7; 
} */

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.blog-card small {
  color: #888;
}

.blog-card img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Code blocks */
.code-container {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #ddd;
  font-family: 'Fira Code', monospace;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  padding: 1rem;
}
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #4b93ff;
  color: #fff;
  font-size: 0.8rem;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

.blog-thumb-wrapper {
  width: auto;
}