/* Realistic Comment Section */
.post-comments {
  margin-top: 40px;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  max-width: 800px;
}

.comments-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  color: #222;
}

.comment {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  transition: box-shadow 0.2s ease;
}

.comment:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  color: #333;
}

.comment-date {
  font-size: 0.9rem;
  color: #888;
}

.comment-text {
  line-height: 1.6;
  color: #444;
  font-size: 0.95rem;
}

/* -----------------------------------------
   Accessible, consistent link styling
   ----------------------------------------- */

/* Base link styles */
a,
.text-gray-500 a,
.text-gray-400 a,
.dark\:text-gray-400 a {
    color: #0056b3 !important; /* AAA contrast blue on white */
    text-decoration: none;
    padding: 6px 4px; /* Improves tap area */
    display: inline-block; /* Make padding clickable */
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Hover, focus, and active states */
a:hover,
a:focus,
a:active,
.text-gray-500 a:hover,
.text-gray-400 a:hover,
.dark\:text-gray-400 a:hover {
    color: #003399 !important; /* Darker blue for hover/focus */
    background-color: #e6f0ff; /* Subtle visual feedback */
    text-decoration: none; /* Add underline for accessibility */
}

/* Add spacing between consecutive links */
a + a {
    margin-left: 6px;
}

/* Tag links or post meta links — give them button-like appearance */
a[rel="tag"],
.post-tags a {
    margin: 4px 6px;
    border-radius: 4px;
    background: #f9f9f9;
    padding: 6px 10px;
    color: #0056b3 !important;
    text-decoration: none;
}

/* Hover effect for tags */
a[rel="tag"]:hover,
.post-tags a:hover {
    background-color: #e6f0ff;
    color: #003399 !important;
    text-decoration: none;
}

/* Admin Tool Bar */
#toolbar {background: #fff !important;}
