.blog-content h2, .blog-content h3 {
  margin-top: 2rem;
  scroll-margin-top: 80px;
}
.blog-content blockquote {
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
  font-style: italic;
  color: #555;
  background: #f8f9fa;
}
.blog-content pre, .blog-content code {
  background-color: #f1f3f5;
  padding: 0.2em 0.4em;
  font-family: monospace;
  font-size: 90%;
  border-radius: 4px;
}
.blog-post img {
  max-width: 100%;
  height: auto;
}
.toc-highlight {
  font-weight: bold;
  color: #0d6efd;
}

#blog-toc {
  max-height: 70vh;
  overflow-y: auto;
}

#blog-toc .nav-link {
  padding: 0.25rem 0;
  color: #333;
  transition: color 0.2s ease;
}

#blog-toc .nav-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

#blog-toc .toc-highlight {
  font-weight: bold;
  color: #0d6efd;
}

/* ===== Sidebar Cards ===== */
aside .card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

aside .card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

/* ===== Related Posts ===== */
aside ul.list-unstyled li {
  transition: background 0.2s ease;
  border-radius: 6px;
  padding: 0.25rem;
}

aside ul.list-unstyled li:hover {
  background-color: #f8f9fa;
}

aside ul.list-unstyled a {
  text-decoration: none;
  color: #0d6efd;
}

aside ul.list-unstyled a:hover {
  text-decoration: underline;
}

/* ===== Email Signup ===== */
#subscribeForm .form-control {
  border-radius: 0 0.375rem 0.375rem 0;
}

#subscribeForm .input-group-text {
  background-color: #e9ecef;
  border-right: 0;
  border-radius: 0.375rem 0 0 0.375rem;
}

#subscribeForm .input-group .form-control {
  border-left: 0;
}

/* ===== Affiliate Product Cards ===== */
aside .card .row {
  align-items: center;
}

aside .card .card-body h6 {
  font-size: 0.95rem;
  font-weight: 600;
}

aside .card .btn-sm {
  font-size: 0.75rem;
  padding: 0.375rem 0.5rem;
}

aside .card .card-body {
  padding: 0.75rem;
}

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

aside .btn-outline-primary {
  transition: all 0.25s ease-in-out;
}

aside .btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.2);
}

/* ===== Blog Cards Hover Effect ===== */
.hover-scale {
  transition: transform 0.2s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
  box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.08);
}