/* Theme variable for comment backgrounds */
:root {
  --comment-item-bg: #fff;
}
@media (prefers-color-scheme: dark) {
}
.dark-theme {
  --comment-item-bg: #23272c;
}

.comment-expansion {
    /* GitHub-inspired comment thread styles */
  }
  .comments-list {
    margin-top: 12px;
    margin-bottom: 8px;
  }
  .comment-item {
    background: var(--comment-item-bg, #fff);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(36,41,47,0.04);
    margin-bottom: 12px;
    padding: 14px 16px 10px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  .comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3182ce;
    margin-right: 12px;
    flex-shrink: 0;
  }
  .admin-avatar {
    background: #3182ce;
    color: #fff;
  }
  .comment-meta {
    font-size: 1.01rem;
    font-weight: 600;
    color: #3182ce;
    margin-bottom: 4px;
  }
  .comment-user {
    color: #3182ce;
  }
  .comment-email {
    color: #888;
    font-size: 0.98rem;
  }
  .comment-date {
    color: #bbb;
    font-size: 0.97rem;
    margin-left: 8px;
  }
  .comment-content {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: #2d3748;
  }
  .admin-reply-content {
    font-style: italic;
    color: #3182ce;
  }
  .comment-actions {
    margin-top: 4px;
  }
  .reply-link {
    font-size: 0.98rem;
    color: #3182ce;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0 2px;
    cursor: pointer;
    transition: color 0.2s;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .reply-link:hover {
    color: #225ea8;
    text-decoration: underline;
  }
  .reply-context {
    background: var(--comment-item-bg, #fff);
    font-weight: 600;
    margin-right: 6px;
  }
  .reply-context-snippet {
    color: #444;
    font-style: italic;
  }
  
/* Blog Page Modern Restyle */
.blog-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  color: #1a202c;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
.blog-desc {
  color: #4a5568;
  font-size: 1.18rem;
  margin-bottom: 32px;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
.blog-card {
  background: var(--comment-item-bg, #fff);
  border-color: #3182ce;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #718096;
}
.blog-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #3182ce;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(36,41,47,0.10);
}
.blog-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.blog-tag {
  background: var(--comment-item-bg, #fff);
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #2d3748;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
.blog-card p {
  color: #4a5568;
  font-size: 1.13rem;
  margin-bottom: 0;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .blog-card { padding: 18px 8px 16px 8px; }
  .blog-title { font-size: 1.5rem; }
}
