.baostyle-entry-content > *:last-child {
  margin-bottom: 0;
}

.baostyle-related-posts {
  border-top: 1px solid var(--bs-border-color, #dee2e6);
  padding-top: 2rem;
}

.baostyle-related-posts-title {
  margin-bottom: 1.5rem;
}

.baostyle-single-post-navigation-card, .baostyle-single-author-post-item, .baostyle-single-author-box .card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.baostyle-single-post-navigation-card:hover, .baostyle-single-author-post-item:hover {
  transform: translateY(-2px);
}

.baostyle-single-post-navigation-card .card-body, .baostyle-single-author-post-item .card-body {
  padding: 1.25rem;
}

.baostyle-author-box-avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.baostyle-author-box-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .baostyle-single-post-navigation .card-body.text-lg-end {
    text-align: left;
  }

  .baostyle-author-box-inner {
    align-items: center;
    text-align: center;
  }
}

.entry-content #commercekit-wishlist-shortcode ul.products, .woocommerce-page #commercekit-wishlist-shortcode ul.products {
  list-style: none;
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0;
  margin: 0;
}

.entry-content #commercekit-wishlist-shortcode ul.products li.product, .woocommerce-page #commercekit-wishlist-shortcode ul.products li.product {
  float: left !important;
  width: 100%;
  margin: 0 0 2rem !important;
}

.entry-content #commercekit-wishlist-shortcode ul.products li.product .commercekit-remove-wishlist2, .woocommerce-page #commercekit-wishlist-shortcode ul.products li.product .commercekit-remove-wishlist2 {
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  display: inline-block;
}

.single-post .entry-content > * + * {
  margin-top: 1rem;
}

.single-post .wp-post-image, .page .wp-post-image {
  border-radius: 1rem;
}

.page .entry-content > * + * {
  margin-top: 1rem;
}

.baostyle-post-single-layout-template-2 .entry-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.baostyle-post-single-layout-template-2 .baostyle-single-thumbnail img {
  display: block;
}

/* Single post comments */
.comments-area {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--baostyle-color-border);
  border-radius: var(--baostyle-card-radius);
  background: var(--baostyle-color-surface);
  box-shadow: var(--baostyle-shadow-sm);
}

.comments-title,
.comment-reply-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  margin-top: 1rem;
  margin-left: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--baostyle-color-border);
  list-style: none;
}

.comment-body {
  position: relative;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--baostyle-color-border);
  border-radius: var(--baostyle-card-radius);
  background: var(--baostyle-color-surface-soft);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .35rem;
  font-weight: 600;
}

.comment-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.comment-metadata,
.comment-awaiting-moderation {
  font-size: .875rem;
  color: var(--baostyle-color-text-muted);
}

.comment-content {
  margin-top: .75rem;
  color: var(--baostyle-color-text);
}

.comment-content > *:last-child {
  margin-bottom: 0;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-top: .75rem;
  padding: .25rem .75rem;
  border: 1px solid var(--baostyle-color-border);
  border-radius: var(--baostyle-button-radius);
  background: var(--baostyle-color-surface);
  text-decoration: none;
}

.comment-respond {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--baostyle-color-border);
  border-radius: var(--baostyle-card-radius);
  background: var(--baostyle-color-surface);
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form label {
  margin-bottom: .35rem;
  font-weight: 600;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: .75rem .875rem;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: 0;
}

.comment-form-cookies-consent input {
  margin-top: .25rem;
}

.form-submit {
  margin-bottom: 0;
}

.form-submit .submit {
  padding: .75rem 1.25rem;
}

@media (max-width: 575.98px) {
  .comments-area,
  .comment-respond,
  .comment-body {
    padding: 1rem;
  }

  .comment-list .children {
    margin-left: .5rem;
    padding-left: .75rem;
  }
}
