/* ===== Lion Single Blog ===== */
:root {
  --lb-bg: #eef3fb;
  --lb-card: #ffffff;
  --lb-text: #111827;
  --lb-muted: #6b7280;
  --lb-accent: #f4ad3b;
  --lb-border: #e5e7eb;
  --lb-shadow: 0 14px 34px rgba(20, 30, 60, 0.12);
  --lb-shadow-soft: 0 8px 20px rgba(20, 30, 60, 0.08);
  --lb-radius: 18px;
  --lb-radius-lg: 26px;
}

.lion_single_blog_wrapper {
  direction: rtl;
  /* background: var(--lb-bg); */
  color: var(--lb-text);
  padding: 24px 0 80px;
}

.lion_single_blog_article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.lion-breadcrumb {
  font-size: 12px;
  color: var(--lb-muted);
  /* margin: 8px 0 20px; */
}

.lion-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  
}

.lion-breadcrumb a {
  color: var(--lb-muted);
  text-decoration: none;
}

.lion-breadcrumb .crumb-home-icon {
  width: 16px;
  height: 16px;
}

.lion_single_blog_container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.lion_single_blog_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lion_single_blog_card {
  background: var(--lb-card);
  border-radius: var(--lb-radius-lg);
  box-shadow: var(--lb-shadow);
  overflow: hidden;
}

.lion_single_blog_hero_imgwrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
      padding: 20px;
}

.lion_single_blog_hero_imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
      border-radius: 16px;
}

.lion_single_blog_card_body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lion_single_blog_title {
  font-size: clamp(18px, 2vw, 26px);
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.lion_single_blog_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lion_single_blog_actions_group {
  display: flex;
  gap: 10px;
  overflow: visible;
}

.lion_single_blog_action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--lb-border);
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #6b7280;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lion_single_blog_action svg {
  width: 18px;
  height: 18px;
}

.lion_single_blog_action:hover {
  border-color: #cbd5f5;
  color: #111827;
  box-shadow: var(--lb-shadow-soft);
  transform: translateY(-1px);
}

.lion_single_blog_action.is-active {
  background: #00a693;
  border-color: #00a693;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 166, 147, 0.18);
}

.lion_single_blog_action.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
}

.lion_single_blog_action.is-loading svg {
  opacity: 0;
}

.lion_single_blog_action.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(17, 24, 39, 0.18);
  border-top-color: currentColor;
  position: absolute;
  inset: 0;
  margin: auto;
  animation: lionSpin 0.8s linear infinite;
}

.lion-share-wrap {
  position: relative;
  display: inline-flex;
}

.lion-share-menu {
  position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    width: 200px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.12);
    padding: 8px;
    display: flex
;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
    z-index: 50;
    right: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.lion-share-item {
  height: 40px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.lion-share-item:hover {
  background: #f8fafc;
  border-color: #e4e8f3;
}

.lion-share-wrap.is-open .lion-share-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .lion-share-wrap:hover .lion-share-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.lion_single_blog_author {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.lion_single_blog_author:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 3px;
  border-radius: 12px;
}

.lion_single_blog_author_img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.lion_single_blog_author_name {
  font-size: 12px;
  color: var(--lb-muted);
}

.lion_single_blog_info {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #edf1f7;
  padding-top: 12px;
}

.lion_single_blog_readtime {
  font-size: 12px;
  color: var(--lb-muted);
}

.lion_single_blog_meta_right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion_single_blog_category {
  background: var(--lb-accent);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-decoration: none;
}

.lion_single_blog_time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--lb-muted);
}

.lion_single_blog_time svg {
  width: 14px;
  height: 14px;
}

.lion_single_blog_body {
  color: var(--lb-text);
  font-size: 14px;
  line-height: 2.1;
}

.lion_single_blog_body p {
  margin: 0 0 16px;
  text-align: justify;
}

.lion_single_blog_body h2 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.lion_single_blog_body h3 {
  font-size: 16px;
  margin: 24px 0 10px;
}

.lion_single_blog_body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--lb-shadow-soft);
  display: block;
  margin: 16px 0;
}

.lion_single_blog_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lion_single_blog_tag {
  border: 1px solid #dbe3f1;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--lb-muted);
  text-decoration: none;
  background: #f8fbff;
}

.lion_single_blog_section_head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.lion_single_blog_section_head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--lb-text);
}

.lion_single_blog_section_icon {
  width: 20px;
  height: 20px;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lion_single_blog_section_icon svg {
  width: 100%;
  height: 100%;
}

.lion_single_blog_author_card {
  background: var(--lb-card);
  border-radius: var(--lb-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--lb-shadow-soft);
  text-decoration: none;
  color: inherit;
}

.lion_single_blog_author_card:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 3px;
}

.lion_single_blog_author_card_avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.lion_single_blog_author_card_name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lion_single_blog_author_card_bio {
  margin: 0;
  font-size: 12px;
  color: var(--lb-muted);
  line-height: 1.9;
}

/* Comments */
.lion_single_blog_comments_section .comments-area {
  background: var(--lb-card);
  border-radius: var(--lb-radius-lg);
  padding: 20px;
  box-shadow: var(--lb-shadow-soft);
}

.comments-title {
  font-size: 14px;
  margin: 0 0 16px;
  color: var(--lb-text);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment {
  background: #f8fbff;
  border-radius: 18px;
  padding: 16px;
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--lb-muted);
}

.comment-content {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
}

.comment-respond {
  margin-top: 20px;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid #edf1f7;
  background: #ffffff;
  box-shadow: var(--lb-shadow-soft);
}

.comment-reply-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0 0 10px;
}

.comment-notes,
.logged-in-as {
  font-size: 12px;
  color: var(--lb-muted);
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.8;
}

.comment-notes a,
.logged-in-as a {
  color: #ef4444;
  text-decoration: none;
}

.comment-notes .required {
  color: #ef4444;
}

.comment-form label {
  display: block;
  font-size: 12px;
  color: var(--lb-text);
  margin: 10px 0 6px;
  font-weight: 600;
  text-align: right;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid #dbe3f1;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 12px;
  background: #f8fbff;
}

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

.comment-form {
  margin-top: 12px;
}

.comment-form-comment {
  margin-top: 6px;
}

.comment-form .form-submit {
  margin-top: 8px;
  text-align: right;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lb-muted);
  margin-bottom: 12px;
}

.comment-form-cookies-consent input {
  width: 14px;
  height: 14px;
}

.comment-form .submit {
  background: #0ea5a4;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-form .submit:hover {
  transform: translateY(-1px);
  box-shadow: var(--lb-shadow-soft);
}

/* ================================
   💬 Blog Comments (Product UI)
================================ */
.lion_single_blog_comments_section.lion-product-comments {
  margin-top: 0;
  border-radius: 18px;
  direction: rtl;
  width: 100%;
}

.lion-product-comments__inner {
  display: grid;
  gap: 28px;
}

.lion-product-comments__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lion-product-comments__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

h3.lion-product-comments__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.lion-product-comments__list-title-text {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.lion-review-commentform {
  margin-top: 18px;
}

.lion-review-form-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.lion-review-rating-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.lion-review-rating-option {
  border: 0;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    user-select: none;
    height: 52px;
    flex-direction: column;
}

.lion-review-rating-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
  background: #00a693;
}

.lion-review-rating-label {
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  white-space: nowrap;
  min-width: 0;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  flex: 1 1 auto;
}

.lion-review-rating-stars {
      display: inline-flex
;
    gap: 4px;
    direction: ltr;
    margin-inline-start: auto;
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
}
.lion-review-submit:hover {
    background: black;
}

.lion-review-rating-stars img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.lion-review-rating-option.is-active {
  background: #00a693;
  box-shadow: 0 6px 18px rgba(0, 166, 147, 0.18);
}

.lion-review-rating-option.is-active .lion-review-rating-label {
  color: #fff;
}

.lion-review-rating-option.is-active .lion-review-rating-stars img.is-empty {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.lion-review-rating-native {
  display: none;
}

.lion-review-form-card textarea#comment {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  background: #fff;
  border: 1px solid #e4e8f3;
  border-radius: 18px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: #111827;
}

.lion-review-form-card textarea#comment::placeholder {
  color: #6b7280;
}

.lion-review-form-card textarea#comment:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 166, 147, 0.12);
}

.lion-product-comments .comment-form-cookies-consent {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
}

.lion-product-comments .comment-form-cookies-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00a693;
}

.lion-product-comments .comment-form-cookies-consent label {
  font-size: 13px;
  color: #6b7280;
}

.lion-product-comments p.comment-form-cookies-consent + p.comment-form-cookies-consent {
  display: none !important;
}

.lion-review-error,
.lion-review-success {
  min-height: 18px;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row-reverse;
  margin-top: 16px;
  position: absolute;
  left: 12px;
  bottom: 120px;
  width: 25%;
  padding: 7px 10px;
  border-radius: 7px;
  text-align: center;
  justify-content: right;
}

.lion-product-comments .comment-form-rating,
.lion-product-comments p.stars,
.lion-product-comments #rating,
.lion-product-comments select[name="rating"] {
  display: none !important;
}

.lion-review-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row-reverse;
  margin-top: 16px;
  position: absolute;
  left: 12px;
  bottom: 70px;
  width: 50%;
}

.comment_section_cus {
  position: relative;
}

.lion-review-submit-fields {
  flex: 1;
  display: flex;
  gap: 12px;
  flex-direction: row-reverse;
  align-items: center;
}

.lion-review-author-wrap,
.lion-review-email-wrap {
  position: relative;
  flex: 1;
}

.lion-review-author-wrap input,
.lion-review-email-wrap input {
  width: 100%;
  height: 38px;
  border-radius: 7px;
  padding: 0 16px;
  font-size: 12px;
  background: #fff;
  color: #00a693;
  border-color: #e4e8f3;
}

.lion-review-email-wrap input {
  border-color: #e4e8f3;
  color: #111827;
}

.lion-review-author-wrap input:focus,
.lion-review-email-wrap input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 166, 147, 0.12);
}

button.lion-review-submit {
  height: 38px;
  min-width: 90px;
  padding: 0 28px;
  border: 0;
  border-radius: 7px;
  background: #00a693;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

button.lion-review-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

button.lion-review-submit.is-loading {
  opacity: 0.9;
  transform: none;
}

button.lion-review-submit.is-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-start: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  vertical-align: middle;
  animation: lionSpin 0.8s linear infinite;
}

@keyframes lionSpin {
  to {
    transform: rotate(360deg);
  }
}

.lion-product-comments__list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.lion-product-comments__list-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.lion-product-comments__list-count {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.lion-product-comments__empty {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #e4e8f3;
  border-radius: 16px;
  padding: 16px;
  color: #6b7280;
  font-size: 14px;
}

.lion-product-comments__items {
  margin-top: 14px;
  padding: 8px 0;
}

.lion-review-item {
  padding: 22px 0;
  border-top: 1px solid #e4e8f3;
  padding-bottom: 0;
}

.lion-review-item:first-child {
  border-top: 0;
}

.lion-review-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lion-review-item-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lion-review-item__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lion-review-item__author {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
}

.lion-review-item__date {
  font-size: 13px;
  color: #6b7280;
}

.lion-review-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 166, 147, 0.12);
  color: #00a693;
  font-size: 12px;
  font-weight: 700;
}

.lion-review-item__badge::before {
  content: "✓";
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 999px;
  background: #00a693;
  color: #fff;
  font-size: 12px;
}

.lion-review-item__stars {
  display: inline-flex;
  gap: 4px;
  direction: ltr;
  align-items: center;
  cursor: default;
}

.lion-comment-rate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline-start: 12px;
  margin-inline-start: 12px;
  /* border-inline-start: 1px solid #e5e7eb; */
}

.lion-comment-rate__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}

.lion-comment-rate__star {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.lion-comment-rate__star:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lion-comment-rate__star img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.lion-comment-rate__meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
  font-size: 12px;
  color: #6b7280;
}

.lion-comment-rate.is-loading {
  opacity: 0.8;
}

/* ======================================
   Single Blog: Styles (layout)
====================================== */
.lion-blog-style-no_sidebar .lion_single_blog_container {
  display: block;
}

.lion-blog-style-review .lion_single_blog_container {
  grid-template-columns: 1fr;
}

.lion-blog-style-review .lion_single_blog_sidebar {
  /* display: none; */
}

.lion_blog_review_split {
  margin-top: 24px;
}

.lion_blog_review_split__grid {
  display: grid;
  direction: ltr;
  grid-template-columns: 320px 1fr;
  grid-template-areas: "sidebar main";
  gap: 24px;
  align-items: start;
}

/* keep RTL text inside */
.lion_blog_review_split__main,
.lion_blog_review_split__sidebar {
  direction: rtl;
}

.lion_blog_review_split__main {
  grid-area: main;
}

.lion_blog_review_split__sidebar {
  grid-area: sidebar;
}

@media (max-width: 960px) {
  .lion_blog_review_split__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "sidebar";
  }
}

.lion-blog-style-no_sidebar .lion_single_blog_sidebar {
  display: none !important;
}

.lion-blog-style-no_sidebar .lion_single_blog_content {
  width: 100%;
  max-width: 100%;
}

.lion-blog-progress {
  position: fixed;
  top: 90px;
  right: 18px;
  width: 4px;
  height: calc(100vh - 140px);
  background: rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  overflow: hidden;
  z-index: 1000;
}

.lion-blog-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: #00a693;
  transform-origin: top;
  transform: scaleY(0);
}

@media (max-width: 640px) {
  .lion-blog-progress {
    right: 10px;
    top: 80px;
    height: calc(100vh - 120px);
  }
}

/* ======================================
   Single Blog: References + Ads + Review
====================================== */
.lion_blog_references {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf1f7;
}

.lion_blog_references__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.lion_blog_references__list {
  margin: 0;
  padding: 0 18px 0 0;
  color: #374151;
  display: grid;
  gap: 8px;
}

.lion_blog_references__list a {
  color: #0f766e;
  text-decoration: none;
}

.lion_blog_references__list a:hover {
  text-decoration: underline;
}

.lion_blog_ad {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #edf1f7;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.06);
}

.lion_blog_ads {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.lion_blog_ads--sidebar .lion_blog_ad {
  margin-top: 0;
}

.lion_blog_ads--top .lion_blog_ad {
  margin-top: 0;
}

.lion_blog_ad a {
  display: block;
}

.lion_blog_ad img {
  width: 100%;
  height: auto;
  display: block;
}

.lion_blog_review_boxes {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lion_blog_review_box {
  border: 1px solid #edf1f7;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.lion_blog_review_box h3 {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 800;
}

.lion_blog_review_box ul {
  margin: 0;
  padding: 14px 22px 16px 16px;
  display: grid;
  gap: 10px;
  color: #111827;
  line-height: 1.9;
}

.lion_blog_review_box ul li {
  display: list-item !important;
  font-size: 14px !important;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  list-style: disc !important;
  list-style-position: inside;
  word-break: break-word;
}

.lion_blog_review_box.is-pros h3 {
  background: rgba(0, 166, 147, 0.10);
  color: #047857;
}

.lion_blog_review_box.is-cons h3 {
  background: rgba(225, 29, 72, 0.08);
  color: #be123c;
}

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

/* ======================================
   Code Box shortcode
====================================== */
.lion-codebox {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6eef8;
  background: #f3f7ff;
}

.lion-codebox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.lion-codebox__title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.lion-codebox__copy {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e6eef8;
  background: #ffffff;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  color: #111827;
}

.lion-codebox__copy:hover {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.10);
}

.lion-codebox__pre {
  margin: 0;
  padding: 16px 16px 18px;
  overflow: auto;
  background: #ffffff;
  border-top: 1px solid #e6eef8;
  line-height: 1.9;
  direction: ltr;
}

.lion-codebox__pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: #0f172a;
}

/* ======================================
   Table shortcode
====================================== */
.lion-table {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(2, 6, 23, 0.08);
  border: 1px solid #e6eef8;
  background: #ffffff;
}

.lion-table__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.lion-table__table thead th {
  background: #1f2a4a;
  color: #ffffff;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.lion-table__table thead th + th {
  border-right: 2px solid rgba(255, 255, 255, 0.14);
}

.lion-table__table tbody td {
  padding: 22px 22px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  background: #eef4ff;
  text-align: center;
}

.lion-table__table tbody tr + tr td {
  border-top: 2px solid rgba(255, 255, 255, 0.9);
}

.lion-table__table tbody td + td {
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}

@media (max-width: 720px) {
  .lion-table__table thead th,
  .lion-table__table tbody td {
    font-size: 15px;
    padding: 14px 14px;
  }
}

.lion-review-item__stars img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.lion-review-item__content {
  margin-top: 10px;
  font-size: 14px;
  line-height: 2;
  color: #374151;
}

.lion-review-item__actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-direction: row-reverse;
  margin-bottom: 40px;
}

.lion-review-item__votes {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #6b7280;
}

.lion-review-vote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.lion-review-vote-count {
  font-size: 13px;
  color: #6b7280;
}

.lion-review-vote.is-active .lion-review-vote-count {
  color: #111827;
  font-weight: 700;
}

.lion-review-vote:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lion-review-item__reply a.comment-reply-link {
  color: #0ea5e9;
  font-size: 14px;
  font-weight: 500;
}

.lion-review-item__actions + .lion-review-reply-wrap {
  margin-top: -28px;
}

.lion-review-reply-wrap {
  margin-bottom: 40px;
}

.lion-review-replyform {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
}

.lion-review-replyform textarea[name="comment"] {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 2;
  color: #111827;
}

.lion-review-replyform textarea[name="comment"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 166, 147, 0.12);
}

.lion-review-reply-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.lion-review-reply-submit {
  border: 0;
  background: #00a693;
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.lion-review-reply-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lion-review-reply-cancel {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.lion-review-reply-error,
.lion-review-reply-success {
  margin-top: 10px;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  display: none;
}

.lion-review-reply-error:not(:empty) {
  display: block;
  background: #e11d48;
  color: #fff;
}

.lion-review-reply-success:not(:empty) {
  display: block;
  background: #00a693;
  color: #fff;
}

.lion-review-replies {
  margin-top: 12px;
  border-right: 2px solid #e5e7eb;
  padding-right: 14px;
}

.lion-review-replies:empty {
  display: none;
}

.lion-review-reply-item {
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

.lion-review-reply-item:first-child {
  border-top: 0;
}

.lion-review-reply-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lion-review-reply-author {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.lion-review-reply-date {
  font-size: 12px;
  color: #6b7280;
}

.lion-review-reply-content {
  margin-top: 6px;
  font-size: 14px;
  line-height: 2;
  color: #374151;
}

@media (max-width: 980px) {
  .lion-review-rating-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .lion-review-rating-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .lion-review-submit-row {
    flex-wrap: wrap;
    width: 100%;
  }

  button.lion-review-submit {
    width: 100%;
  }
}

/* Sidebar */
.lion_single_blog_sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  height: fit-content;
}

.lion_single_blog_sidecard {
  background: var(--lb-card);
  border-radius: var(--lb-radius);
  padding: 16px;
  box-shadow: var(--lb-shadow-soft);
}

.lion_single_blog_sidecard_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--lb-text);
  margin-bottom: 12px;
}

.lion_single_blog_sidecard_icon {
  width: 18px;
  height: 18px;
  color: var(--lb-muted);
}

.lion_single_blog_sidecard_icon svg {
  width: 100%;
  height: 100%;
}

.lion_single_blog_side_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lion_single_blog_side_item {
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 10px;
}

.lion_single_blog_side_item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lion_single_blog_side_link {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lb-text);
}

.lion_single_blog_side_thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
}

.lion_single_blog_side_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lion_single_blog_side_title {
  font-size: 12px;
  line-height: 1.6;
}

/* Sidebar (blog sidebar card markup support) */
.lion_single_blog_sidebar .lion_blog_sidebar_head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--lb-text);
  justify-content: center;
}

.lion_single_blog_sidebar .lion_blog_sidebar_head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.lion_single_blog_sidebar .lion_blog_sidebar_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lion_single_blog_sidebar .lion_blog_sidebar_item {
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 10px;
}

.lion_single_blog_sidebar .lion_blog_sidebar_item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lion_single_blog_sidebar .lion_blog_sidebar_link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--lb-text);
  flex-direction: row;
}

.lion_single_blog_sidebar .lion_blog_sidebar_thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
  display: block;
}

.lion_single_blog_sidebar .lion_blog_sidebar_thumb img,
.lion_single_blog_sidebar .lion_blog_sidebar_thumb_fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lion_single_blog_sidebar .lion_blog_sidebar_text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.lion_single_blog_sidebar .lion_blog_sidebar_title {
  font-size: 12px;
  line-height: 1.5;
  color: var(--lb-text);
}

.lion_single_blog_sidebar .lion_blog_sidebar_meta {
  font-size: 10px;
  color: var(--lb-muted);
  text-align: left;
}

.lion_single_blog_sidebar .lion_blog_section_more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--lb-text);
  text-decoration: none;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  /* box-shadow: var(--lb-shadow-soft); */
  transition: background 0.2s ease, color 0.2s ease;
  justify-content: center;
  width: 100%;
}

.lion_single_blog_sidebar .lion_blog_section_more:hover {
  background: #111827;
  color: #ffffff;
}

.lion_single_blog_sidebar .lion_blog_sidebar_card .lion_blog_section_more {
  margin-top: 14px;
}

/* TOC */
.lion_single_blog_toc {
  background: var(--lb-card);
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow-soft);
  overflow: hidden;
}

.lion_single_blog_toc_header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--lb-border);
  font-size: 13px;
  font-weight: 700;
}

.lion_single_blog_toc_header img {
  width: 18px;
  height: 18px;
}

.lion_single_blog_toc_nav {
  max-height: 360px;
  overflow: auto;
}

.lion_single_blog_toc_list {
  list-style: none;
  margin: 0;
  padding: 10px 12px 16px;
}

.lion_single_blog_toc_item {
  margin: 4px 0;
}

.lion_single_blog_toc_link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--lb-text);
  font-size: 12px;
}

.lion_single_blog_toc_link:hover {
  background: #f2f6ff;
}

.lion_single_blog_toc_link.is-active {
  background: #eef2ff;
}

.lion_single_blog_toc_bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5f5;
}

/* Related */
.lion_blog_related_section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* width: 360px; */
  /* overflow: hidden; */
}

.lion_blog_related_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lion_related_card {
  background: var(--lb-card);
  border-radius: var(--lb-radius);
  overflow: hidden;
  box-shadow: var(--lb-shadow-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lion_related_media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.lion_related_body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.lion_related_tag {
  align-self: flex-start;
  background: var(--lb-accent);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.lion_related_title {
  font-size: 13px;
  font-weight: 600;
  color: var(--lb-text);
  text-decoration: none;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.lion_related_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--lb-muted);
}

.lion_related_time,
.lion_related_author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lion_related_author {
  text-decoration: none;
  color: inherit;
}

.lion_related_author:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 3px;
  border-radius: 10px;
}

.lion_related_time svg {
  width: 12px;
  height: 12px;
}

.lion_related_author img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

/* TOC FAB */
.lion-toc-fab {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px) saturate(180%);
  background: #0ea5a4;
}

.lion-toc-fab img {
  width: 26px;
  height: 26px;
}

.lion-toc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 25%);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lion-toc-overlay.active {
  display: flex;
}

.lion-toc-overlay-inner {
  background: #ffffff;
  width: 90%;
  max-height: 80vh;
  border-radius: 16px;
  padding: 20px;
  overflow-y: auto;
  box-shadow: 0 0 20px rgb(0 0 0 / 20%);
}

.lion-toc-overlay-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #0f172a;
  text-align: center;
  font-weight: 600;
}

.lion-toc-overlay-content a {
  display: block;
  padding: 10px 0;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #edf1f7;
}

.lion-toc-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: #0f172a;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .lion_blog_related_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .lion_single_blog_sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .lion_single_blog_sidebar {
    display: none;
  }

  .lion-toc-fab {
    display: flex;
  }
}

@media (max-width: 640px) {
  .lion_blog_related_grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 0 12px 8px;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
  }

  .lion_blog_related_grid::-webkit-scrollbar {
    display: none;
  }

  .lion_blog_related_grid {
    scrollbar-width: none;
  }

  .lion_related_card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .lion_single_blog_card_body {
            padding: 18px;
        background: white;
        margin-top: 20px;
        border-radius: 16px;
  }

  .lion_single_blog_actions {
        flex-direction: row;
    align-items: flex-start;
  }
  .lion_single_blog_hero_imgwrap img {
    border-radius: 16px;
}
.lion_blog_related_section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 360px;
  overflow: hidden;
}
}

@keyframes lionSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ======================================
   Blog Save/Share UI
====================================== */
.lion-blog-ui {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
}

.lion-blog-ui.is-active {
  pointer-events: auto;
}

.lion-blog-ui__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(8px);
}

.lion-blog-ui.is-active .lion-blog-ui__backdrop {
  opacity: 1;
}

.lion-blog-ui__panel {
  position: absolute;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.22);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  width: min(520px, calc(100% - 28px));
  overflow: hidden;
}

.lion-blog-ui__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f7;
}

.lion-blog-ui__title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.lion-blog-ui__close {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid #edf1f7;
  background: #ffffff;
  cursor: pointer;
  line-height: 1;
  font-size: 20px;
  color: #111827;
}

.lion-blog-ui__body {
  padding: 16px;
}

.lion-blog-ui__text {
  margin: 0 0 14px;
  color: #475569;
  font-size: 13px;
  line-height: 1.9;
}

.lion-blog-ui__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lion-blog-ui__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #e4e8f3;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.lion-blog-ui__btn--primary {
  background: #00a693;
  border-color: #00a693;
  color: #ffffff;
}

.lion-blog-ui__login {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  visibility: hidden;
  pointer-events: none;
}

.lion-blog-ui.is-login .lion-blog-ui__login {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lion-blog-ui__share {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(18px);
  visibility: hidden;
  pointer-events: none;
}

.lion-blog-ui.is-share .lion-blog-ui__share {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lion-blog-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lion-blog-share-item {
  border: 1px solid #e4e8f3;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #111827;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lion-blog-share-item:hover {
  transform: translateY(-1px);
  border-color: #cbd5f5;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.lion-blog-share-label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.lion-blog-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  background: rgba(17, 24, 39, 0.92);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1000000;
}

.lion-blog-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 520px) {
  .lion-blog-share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
