pre {
  padding: 0;
  max-height: 500px;
}

html {
  scroll-behavior: smooth;
}

.avatar-xxl {
  --tblr-avatar-size: 8.5rem;
  --tblr-avatar-status-size: 2rem;
  --tblr-avatar-font-size: 4rem;
  --tblr-avatar-icon-size: 6rem;
}

/* Styles for code block copy button */
/* Remove position: relative from pre, wrapper handles it */
/* pre {
    position: relative;
} */

/* Add style for the wrapper if needed (optional) */
.code-block-wrapper {
  margin-bottom: 1rem;
  /* Example: maintain spacing if needed */
  /* position: relative; is set inline by JS */
}

.copy-code-button {
  position: absolute;
  /* Position relative to wrapper */
  top: 8px;
  right: 8px;
  z-index: 1;
  background-color: var(--tblr-bg-surface-secondary);
  color: var(--tblr-secondary);
  border: 1px solid var(--tblr-border-color);
  border-radius: 4px;
  padding: 2px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* Show button on hover of the WRAPPER element */
.code-block-wrapper:hover .copy-code-button {
  opacity: 0.7;
}

.copy-code-button:hover {
  opacity: 1;
  background-color: var(--tblr-bg-surface-tertiary);
}

/* Style for copied state */
.copy-code-button.copied {
  color: var(--tblr-success);
  background-color: var(--tblr-success-lt);
}

/* Adjustments for dark mode */
html[data-bs-theme="dark"] .copy-code-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #adb5bd;
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-bs-theme="dark"] .copy-code-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #dee2e6;
}

/* Dark mode copied state */
html[data-bs-theme="dark"] .copy-code-button.copied {
  color: var(--tblr-success);
  background-color: rgba(var(--tblr-success-rgb), 0.2);
  /* Lighter success background */
}

/* Profile avatar styles */
.profile-avatar {
  margin-top: -60px;
}

.profile-avatar-img {
  background-size: cover;
  background-position: center;
}

/* QA Platform Timeline Styles */
.timeline-qa {
  position: relative;
  padding: 0.5rem 0 0.5rem 60px;
}

.timeline-qa::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background-color: var(--tblr-secondary-lt);
}

.timeline-qa-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-qa-item:last-child {
  margin-bottom: 0;
}

.timeline-qa-marker {
  position: absolute;
  left: -60px;
  top: 0;
  width: 60px;
  text-align: center;
  z-index: 2;
}

.timeline-qa-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}

.timeline-qa-hour {
  font-weight: 600;
  color: #206bc4;
  font-size: 1rem;
  line-height: 1;
}

.timeline-qa-period {
  font-size: 0.75rem;
  color: #206bc4;
  line-height: 1;
}

.timeline-qa-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(32, 107, 196, 0.1);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(32, 107, 196, 0.2);
  color: #206bc4;
  font-weight: 600;
  overflow: hidden;
  font-size: 1rem;
}

.timeline-qa-item.accepted .timeline-qa-circle {
  background-color: rgba(94, 186, 0, 0.1);
  box-shadow: 0 0 0 2px rgba(94, 186, 0, 0.2);
  color: #5eba00;
}

.timeline-qa-location {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.timeline-qa-location .text-muted {
  font-size: 0.9rem;
  font-weight: normal;
  color: #64748b;
}

.timeline-qa-content {
  position: relative;
}

/* Highlighted answers */
.card.answer-accepted {
  border-color: #5eba00;
}

.card.answer-accepted .card-status-start {
  background-color: #5eba00;
}

/* Mobile responsiveness for QA timeline */
@media (max-width: 768px) {
  .timeline-qa {
    padding-left: 50px;
  }

  .timeline-qa::before {
    left: 25px;
  }

  .timeline-qa-marker {
    left: -50px;
    width: 50px;
  }

  .timeline-qa-circle {
    width: 50px;
    height: 50px;
    font-size: 0.85rem;
  }
}

/* Comment styles */
.comment-list {
  border-top: 1px solid var(--tblr-border-color-light);
  padding-top: 0.5rem;
}

.comment-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--tblr-border-color-light);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.comment-author {
  font-weight: 500;
  margin-right: 0.5rem;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--tblr-secondary);
}

.comment-content {
  color: var(--tblr-secondary);
}

/* Blog Content Typography */
.blog-content {
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.75;
  /* Readability */
  color: var(--tblr-body-color);
  max-width: 100%;
  /* Ensure it fits container */
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: var(--tblr-heading-color, inherit);
}

.blog-content h1 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.blog-content h2 {
  font-size: 1.75rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.blog-content h4 {
  font-size: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Header Permalink (pilcrow/link) styling */
.headerlink {
  font-size: 0.8em;
  margin-left: 0.5rem;
  color: var(--tblr-primary);
  text-decoration: none !important;
  opacity: 0;
  transition: opacity 0.2s;
  user-select: none;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.blog-content h1:hover .headerlink,
.blog-content h2:hover .headerlink,
.blog-content h3:hover .headerlink,
.blog-content h4:hover .headerlink {
  opacity: 1;
}

.headerlink:hover {
  text-decoration: underline;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  list-style-type: disc !important;
}

.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  list-style-type: decimal !important;
}

.blog-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  /* Add some breathing room between bullet and text */
}

.blog-content blockquote {
  border-left: 4px solid var(--tblr-primary);
  background-color: var(--tblr-bg-surface-secondary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--tblr-body-color);
  border-radius: 0 8px 8px 0;
}

/* Inline Code styling */
.blog-content :not(pre)>code {
  background-color: rgba(250, 239, 240, .78);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  /* Standard pinkish for code */
  font-family: var(--tblr-font-monospace);
  color: #b44437;
}

/* Dark mode adjustment for inline code */
[data-bs-theme="dark"] .blog-content :not(pre)>code {
  background-color: rgba(255, 255, 255, 0.1);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-content a {
  color: var(--tblr-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.blog-content a:hover {
  color: var(--tblr-primary-darken);
  text-decoration-thickness: 2px;
}

.blog-content strong {
  font-weight: 700;
  color: var(--tblr-heading-color);
}

/* ===== Modern Blog Page Styles ===== */

/* Page Container */
.blog-page-container {
  max-width: 100%;
  margin: 0 auto;
}

/* Page Header */
.blog-page-header {
  margin-bottom: 2rem;
}

.blog-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tblr-heading-color);
}

/* Filter Tabs */
.blog-filter-tabs {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--tblr-border-color);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-filter-tabs::-webkit-scrollbar {
  display: none;
}

.blog-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--tblr-border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tblr-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid var(--tblr-border-color);
  background: var(--tblr-bg-surface);
}

.blog-filter-tab:hover {
  background: var(--tblr-bg-surface-secondary);
  color: var(--tblr-body-color);
  border-color: var(--tblr-primary);
  text-decoration: none;
}

.blog-filter-tab.active {
  background: var(--tblr-primary);
  color: #fff;
  border-color: var(--tblr-primary);
}

.blog-filter-tab svg {
  flex-shrink: 0;
}

/* Blog Grid - 3 columns */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
}

/* Vertical Blog Card */
.blog-card-vertical {
  display: flex;
  flex-direction: column;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
  overflow: hidden;
  transition: all 0.2s ease;
}

.blog-card-vertical:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Card Image */
.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-vertical:hover .blog-card-image img {
  transform: scale(1.05);
}

/* Card Body */
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

/* Author Info */
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.blog-author-avatar .avatar {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
}

.blog-author-name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--tblr-body-color);
  text-decoration: none;
}

.blog-author-name:hover {
  color: var(--tblr-primary);
}

.blog-post-meta {
  font-size: 0.75rem;
  color: var(--tblr-secondary);
}

.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card Title */
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-card-title a {
  color: var(--tblr-heading-color);
  text-decoration: none;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: var(--tblr-primary);
}

/* Preview */
.blog-card-preview {
  font-size: 0.875rem;
  color: var(--tblr-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card Footer */
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--tblr-border-color);
  margin-top: auto;
}

.blog-card-stats {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.blog-stat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: var(--tblr-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.blog-stat-btn:hover {
  background: var(--tblr-bg-surface-secondary);
  color: var(--tblr-body-color);
}

.blog-stat-btn.active {
  color: var(--tblr-primary);
}

.blog-stat-btn.active:hover {
  background: var(--tblr-primary-lt);
}

/* Blog Posts List (keep for compatibility) */
.blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

/* Blog Card */
.blog-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
  transition: all 0.2s ease;
}

.blog-card:hover {
  border-color: var(--tblr-border-color-active);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Blog Card Thumbnail */
.blog-card-thumbnail {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: var(--tblr-border-radius);
  overflow: hidden;
}

.blog-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumbnail img {
  transform: scale(1.05);
}

/* Blog Card Content */
.blog-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Author Info */
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-author-avatar .avatar {
  width: 32px;
  height: 32px;
}

.blog-author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--tblr-body-color);
  text-decoration: none;
}

.blog-author-name:hover {
  color: var(--tblr-primary);
}

.blog-post-meta {
  font-size: 0.8125rem;
  color: var(--tblr-secondary);
}

.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* Card Title */
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-card-title a {
  color: var(--tblr-heading-color);
  text-decoration: none;
  transition: color 0.15s;
}

.blog-card-title a:hover {
  color: var(--tblr-primary);
}

/* Preview */
.blog-card-preview {
  font-size: 0.9375rem;
  color: var(--tblr-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.blog-tag {
  padding: 0.25rem 0.75rem;
  background: var(--tblr-bg-surface-secondary);
  color: var(--tblr-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.15s;
}

.blog-tag:hover {
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
}

/* Actions */
.blog-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-card-stats {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: var(--tblr-secondary);
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.blog-action-btn:hover {
  background: var(--tblr-bg-surface-secondary);
  color: var(--tblr-body-color);
}

.blog-action-btn.active {
  color: var(--tblr-primary);
}

.blog-action-btn.active:hover {
  background: var(--tblr-primary-lt);
}

.blog-views {
  cursor: default;
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.blog-empty-icon {
  color: var(--tblr-secondary);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.blog-empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-empty-state p {
  color: var(--tblr-secondary);
  margin-bottom: 1.5rem;
}

/* Pagination */
.blog-pagination {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tblr-border-color);
}

.blog-pagination .page-link {
  border-radius: 0.5rem;
  border: none;
  padding: 0.5rem 0.875rem;
  margin: 0 0.125rem;
}

.blog-pagination .page-item.active .page-link {
  background: var(--tblr-primary);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .blog-card-thumbnail {
    width: 100%;
    height: 200px;
  }

  .blog-page-title {
    font-size: 1.5rem;
  }

  .blog-filter-tabs {
    gap: 0.375rem;
  }

  .blog-filter-tab {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
  .blog-page-container {
    padding: 0;
  }

  .blog-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .blog-card-thumbnail {
    border-radius: 0;
    height: 180px;
    margin: -1rem -1rem 0 -1rem;
    width: calc(100% + 2rem);
  }

  .blog-card-title {
    font-size: 1.125rem;
  }

  .blog-filter-tab svg {
    display: none;
  }
}

/* ===== Blog Detail Page Styles ===== */

/* Detail Container */
.blog-detail-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Image */
.blog-hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

/* Floating Action Bar */
.blog-floating-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.blog-floating-bar .blog-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
}

.blog-floating-divider {
  width: 1px;
  height: 24px;
  background: var(--tblr-border-color);
  margin: 0 0.25rem;
}

/* Detail Header */
.blog-detail-header {
  margin-bottom: 2rem;
}

.blog-detail-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--tblr-heading-color);
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-detail-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-detail-author .avatar {
  width: 48px;
  height: 48px;
}

.blog-detail-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-detail-author-name {
  font-weight: 600;
  color: var(--tblr-body-color);
  text-decoration: none;
}

.blog-detail-author-name:hover {
  color: var(--tblr-primary);
}

.blog-detail-date {
  font-size: 0.875rem;
  color: var(--tblr-secondary);
}

/* Tags Row */
.blog-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Author Card Bottom */
.blog-author-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--tblr-bg-surface-secondary);
  border-radius: 1rem;
  margin: 3rem 0;
}

.blog-author-card .avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.blog-author-card-content {
  flex: 1;
  min-width: 0;
}

.blog-author-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tblr-heading-color);
  margin-bottom: 0.25rem;
}

.blog-author-card-bio {
  color: var(--tblr-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Related Posts Grid */
.blog-related-section {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--tblr-border-color);
}

.blog-related-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.blog-related-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-related-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tblr-heading-color);
  line-height: 1.4;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-related-card:hover .blog-related-card-title {
  color: var(--tblr-primary);
}

.blog-related-card-meta {
  font-size: 0.8125rem;
  color: var(--tblr-secondary);
}

@media (max-width: 768px) {
  .blog-detail-title {
    font-size: 1.75rem;
  }

  .blog-hero-image {
    border-radius: 0;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }

  .blog-related-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-related-card {
    flex-direction: row;
    gap: 1rem;
  }

  .blog-related-card-image {
    width: 100px;
    height: 80px;
    aspect-ratio: auto;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .blog-floating-bar {
    bottom: 1rem;
    padding: 0.5rem 0.75rem;
  }

  .blog-floating-bar .blog-action-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .blog-author-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}