/* General Post Styling */
.bh-post {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  margin-bottom: 2em;
}
.bh-post-content-wrap {
  padding: 1.5em;
}
.bh-post-header {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}
.bh-post-header .bh-post-avatar img {
  border-radius: 50%;
  margin-right: 15px;
}
.bh-post-header .bh-post-meta {
  font-size: 0.9em;
  line-height: 1.4;
}
.bh-post-header .bh-post-author {
  font-weight: bold;
  color: #333;
}
.bh-post-header .bh-post-date {
  color: #777;
}
.bh-post-title {
  margin-top: 0;
  font-size: 1.6em;
}
.bh-post-footer {
  margin-top: 1.5em;
  padding: 0.5em 1.5em;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.9em;
}
.bh-footer-action {
  cursor: pointer;
  font-weight: bold;
  color: #555;
}
.bh-footer-action:hover {
  color: #0073aa;
}
.bh-status-label {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8em;
}
.bh-status-closed {
  background-color: #d9534f;
}
.bh-status-out-of-stock {
  background-color: #f0ad4e;
}

/* --- NEW SMOOTH STAR RATING SYSTEM --- */
.rating-stars ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 1em 0;
}
.rating-stars li {
  display: inline-block;
  color: #ccc;
  cursor: pointer;
  font-size: 24px;
  transition: color 0.2s;
}
/* On hover, color this star and all stars AFTER it */
.rating-stars:hover li {
  color: #ffb900;
}
/* Reset the color of stars that are siblings AFTER the hovered one */
.rating-stars li:hover ~ li {
  color: #ccc;
}
/* Keep selected (clicked) stars colored */
.rating-stars li.selected {
  color: #ffb900;
}

/* AJAX Comment Section */
.bh-comments-section {
  display: none; /* Hidden by default */
  padding: 0 1.5em 1.5em;
  border-top: 1px solid #f0f0f0;
}
#bh-comment-form {
  margin-top: 2em;
}
#bh-comment-list {
  list-style: none;
  padding: 0;
  margin-top: 2em;
}
#bh-comment-list li {
  padding: 1em 0;
  border-bottom: 1px solid #eee;
}
#bh-comment-list li:last-child {
  border-bottom: none;
}
#comment-status {
  margin-top: 10px;
  font-weight: bold;
}
.comment-author.vcard img {
  border-radius: 50%;
  margin-right: 10px;
}
