/* ================================================================
   BLOG SINGLE – herboristerie-ambre  (v2 – sidebar + produits WC)
   ================================================================ */

:root {
  --gold:       #c9a96e;
  --gold-light: #f0e4cc;
}

/* ────────────────────────────────────────────────────────────────
   LAYOUT GÉNÉRAL
──────────────────────────────────────────────────────────────── */
.single-blog-page {
  background: var(--beige-light);
  min-height: 80vh;
  padding-bottom: 80px;
}

.sb-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding-top: 48px;
}

/* ────────────────────────────────────────────────────────────────
   BREADCRUMB
──────────────────────────────────────────────────────────────── */
.sb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sb-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.sb-breadcrumb a:hover { color: var(--green-primary); }
.sb-bc-sep { opacity: .45; }
.sb-bc-current { color: var(--green-dark); font-weight: 500; }

/* ────────────────────────────────────────────────────────────────
   ARTICLE
──────────────────────────────────────────────────────────────── */
.sb-article { width: 100%; }

/* ── Meta bar ────────────────────────────────────────────────── */
.sb-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sb-cat {
  background: #eef4ed;
  color: var(--green-primary);
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s;
}

.sb-cat:hover { background: var(--green-primary); color: #fff; }
.sb-sep  { color: var(--border); font-size: .8rem; }
.sb-date, .sb-read { font-size: .82rem; color: var(--text-muted); }

/* ── Titre ─────────────────────────────────────────────────────── */
.sb-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--green-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}

/* ── Excerpt ─────────────────────────────────────────────────── */
.sb-excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ── Author row ─────────────────────────────────────────────── */
.sb-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.sb-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.sb-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.sb-author-name { font-size: .9rem; font-weight: 600; color: var(--green-dark); }
.sb-author-role { font-size: .78rem; color: var(--text-muted); }

.sb-author-share {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* ── Hero image ─────────────────────────────────────────────── */
.sb-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  max-height: 480px;
}

.sb-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 480px;
}

/* ────────────────────────────────────────────────────────────────
   TABLE DES MATIÈRES
──────────────────────────────────────────────────────────────── */
.sb-toc {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 36px;
  overflow: hidden;
}

.sb-toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #f3f7f2;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: .9rem;
  color: var(--green-dark);
}

.sb-toc-toggle {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--green-primary);
  padding: 0 4px;
  line-height: 1;
}

.sb-toc-nav { padding: 16px 20px; }

.sb-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-toc-nav li a {
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  display: block;
  transition: color .2s, padding-left .2s;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.sb-toc-nav li a:hover {
  color: var(--green-primary);
  border-left-color: var(--green-primary);
}

.sb-toc-nav li.toc-sub a { padding-left: 24px; font-size: .82rem; }

/* ────────────────────────────────────────────────────────────────
   CORPS DE L'ARTICLE
──────────────────────────────────────────────────────────────── */
.sb-body {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 36px;
}

.sb-body h2, .sb-body h3, .sb-body h4 {
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
  margin: 40px 0 14px;
  line-height: 1.3;
  scroll-margin-top: 80px;
}

.sb-body h2 { font-size: 1.55rem; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.sb-body h3 { font-size: 1.2rem; }
.sb-body h4 { font-size: 1rem; }
.sb-body p  { margin-bottom: 18px; }
.sb-body ul, .sb-body ol { margin: 0 0 18px 24px; }
.sb-body li { margin-bottom: 8px; }
.sb-body a  { color: var(--green-primary); text-decoration: underline; text-decoration-color: rgba(74,103,65,.3); transition: color .2s; }
.sb-body a:hover { color: var(--green-dark); }

.sb-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  background: var(--gold-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-muted);
}

.sb-body img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  max-width: 100%;
  height: auto;
}

.sb-body strong { color: var(--green-dark); }

.sb-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9rem;
}

.sb-body table th,
.sb-body table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
}

.sb-body table th {
  background: #f3f7f2;
  color: var(--green-dark);
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────────────
   PRODUITS INLINE (section dans l'article)
──────────────────────────────────────────────────────────────── */
.sb-inline-products {
  background: linear-gradient(135deg, #f3f7f2 0%, var(--beige-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 40px 0;
  border: 1px solid #d8e8d5;
}

.sb-inline-prod-header { margin-bottom: 24px; }

.sb-inline-prod-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 6px;
}

.sb-inline-prod-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--green-dark);
  margin: 0;
}

.sb-inline-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ────────────────────────────────────────────────────────────────
   CARTE PRODUIT (shared: inline + sidebar)
──────────────────────────────────────────────────────────────── */
.sp-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: box-shadow .3s ease, transform .3s ease;
  display: flex;
  flex-direction: column;
}

.sp-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.sp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sp-badge--sale { background: #e8f4e8; color: var(--green-primary); }
.sp-badge--new  { background: var(--gold-light); color: #7a5c1e; }

.sp-img-wrap {
  display: block;
  overflow: hidden;
  height: 180px;
  background: var(--beige);
}

.sp-prod-img, .sp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.sp-card:hover .sp-prod-img,
.sp-card:hover .sp-img-wrap img { transform: scale(1.06); }

.sp-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--beige), #e8e4db);
}

.sp-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sp-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.sp-title a { color: inherit; text-decoration: none; transition: color .2s; }
.sp-title a:hover { color: var(--green-primary); }

.sp-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.sp-star { font-size: .85rem; color: #d0ccc5; }
.sp-star.filled { color: var(--gold); }
.sp-rating-count { font-size: .72rem; color: var(--text-muted); margin-left: 4px; }

.sp-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.sp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-price { font-size: .95rem; font-weight: 700; color: var(--green-dark); }
.sp-price del { font-weight: 400; color: var(--text-muted); font-size: .82rem; }

.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green-primary);
  background: #eef4ed;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}

.sp-btn:hover {
  background: var(--green-primary);
  color: #fff;
  gap: 8px;
}

/* ────────────────────────────────────────────────────────────────
   TAGS
──────────────────────────────────────────────────────────────── */
.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.sb-tag {
  background: var(--beige);
  color: var(--text-muted);
  font-size: .78rem;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .2s;
}

.sb-tag:hover { background: var(--green-light); color: #fff; border-color: var(--green-light); }

/* ────────────────────────────────────────────────────────────────
   PARTAGE BAS DE PAGE
──────────────────────────────────────────────────────────────── */
.sb-share-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 60px;
}

.sb-share-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

.sb-share-btns { display: flex; gap: 10px; }

.sb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 24px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all .25s ease;
}

.sb-share-btn.fb { background: #1877f2; }
.sb-share-btn.wa { background: #25d366; }
.sb-share-btn:hover { transform: translateY(-2px); opacity: .9; }

/* Petits boutons share dans la ligne auteur */
.sb-author-share .sb-share-btn {
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────────
   ARTICLES LIÉS
──────────────────────────────────────────────────────────────── */
.sb-related {
  margin-top: 16px;
}

.sb-related-header { margin-bottom: 24px; }

.sb-related-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 6px;
}

.sb-related-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 0;
}

.sb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sb-related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .3s ease;
  display: block;
  text-decoration: none;
}

.sb-related-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.1); }

.src-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--beige);
}

.src-img--placeholder { background: linear-gradient(135deg, var(--beige), #e8e4db); }
.src-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sb-related-card:hover .src-thumb { transform: scale(1.05); }

.src-body { padding: 16px; }

.src-cat {
  font-size: .72rem;
  font-weight: 600;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.src-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: var(--green-dark);
  line-height: 1.4;
  margin-bottom: 6px;
}

.src-date { font-size: .75rem; color: var(--text-muted); }

/* ────────────────────────────────────────────────────────────────
   SIDEBAR
──────────────────────────────────────────────────────────────── */
.sb-sidebar { position: relative; }

.sb-sidebar-inner {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Widget générique */
.sb-sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.sb-widget-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 14px;
}

/* ── Produit sidebar ─────────────────────────────────────────── */
.sb-sidebar-product {
  border: 1.5px solid #d8e8d5;
  background: linear-gradient(135deg, #f5faf4, var(--white));
}

.sb-sidebar-prod-card { position: relative; }

.sb-sidebar-prod-img-wrap {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  height: 200px;
  background: var(--beige);
}

.sb-sidebar-prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.sb-sidebar-prod-img-wrap:hover img { transform: scale(1.05); }
.sb-sidebar-prod-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--beige), #e8e4db); }

.sb-sidebar-prod-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.sb-sidebar-prod-title a { color: inherit; text-decoration: none; transition: color .2s; }
.sb-sidebar-prod-title a:hover { color: var(--green-primary); }

.sb-sidebar-prod-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.sb-sidebar-prod-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.sb-sidebar-prod-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--green-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}

.sb-sidebar-prod-btn:hover { background: var(--green-dark); gap: 10px; }

/* ── Newsletter sidebar ──────────────────────────────────────── */
.sb-sidebar-newsletter {
  background: linear-gradient(135deg, #1e2e1e, #3d5438);
  border: none;
  color: #fff;
}

.sb-sidebar-newsletter .sb-widget-label { color: var(--gold); }

.sb-sidebar-nl-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.sb-sidebar-nl-sub {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sb-sidebar-nl-input {
  width: 100%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .85rem;
  color: #fff;
  outline: none;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.sb-sidebar-nl-input::placeholder { color: rgba(255,255,255,.45); }

.sb-sidebar-nl-btn {
  width: 100%;
  background: var(--gold);
  border: none;
  color: #1e2e1e;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.sb-sidebar-nl-btn:hover { background: #b8926a; }

.sb-nl-feedback {
  margin-top: 8px;
  font-size: .8rem;
  padding: 8px 12px;
  border-radius: 8px;
}

.sb-nl-feedback.success { background: rgba(74,103,65,.3); color: #a8d4a8; }
.sb-nl-feedback.error   { background: rgba(200,60,60,.2); color: #ffaaaa; }

/* ── Partage sidebar ─────────────────────────────────────────── */
.sb-sidebar-share-btns { display: flex; flex-direction: column; gap: 10px; }

.sb-sidebar-share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: .83rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all .25s ease;
}

.sb-sidebar-share-btn.fb { background: #1877f2; }
.sb-sidebar-share-btn.wa { background: #25d366; }
.sb-sidebar-share-btn:hover { opacity: .88; transform: translateX(3px); }

/* ── Catégories sidebar ──────────────────────────────────────── */
.sb-sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sb-sidebar-cat-item { border-bottom: 1px solid var(--border); }
.sb-sidebar-cat-item:last-child { border-bottom: none; }

.sb-sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}

.sb-sidebar-cat-link:hover { color: var(--green-primary); padding-left: 6px; }

.sb-sidebar-cat-count {
  background: var(--beige);
  color: var(--text-muted);
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sb-layout { grid-template-columns: 1fr 280px; gap: 32px; }
}

@media (max-width: 900px) {
  .sb-layout { grid-template-columns: 1fr; }
  .sb-sidebar { order: -1; }
  .sb-sidebar-inner { position: static; flex-direction: row; flex-wrap: wrap; }
  .sb-sidebar-widget { flex: 1 1 280px; }
  .sb-related-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-inline-prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .sb-layout { padding-top: 24px; }
  .sb-hero { border-radius: var(--radius-md); max-height: 260px; }
  .sb-hero-img { max-height: 260px; }
  .sb-related-grid { grid-template-columns: 1fr; }
  .sb-inline-prod-grid { grid-template-columns: 1fr; }
  .sb-sidebar-inner { flex-direction: column; }
  .sb-share-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .sb-share-btn { width: 44px; height: 44px; }
  .sb-author-share .sb-share-btn { width: 34px; height: 34px; }
}

@media (max-width: 400px) {
  .single-blog-page { padding-bottom: 48px; }
}

/* ================================================================
   BLOG SINGLE – RTL
   ================================================================ */

html[dir="rtl"] .single-blog-page,
html[data-dir="rtl"] .single-blog-page,
body.dir-rtl .single-blog-page          { direction: rtl; }

html[dir="rtl"] .sb-hero-inner,
html[data-dir="rtl"] .sb-hero-inner,
body.dir-rtl .sb-hero-inner             { direction: rtl; }

html[dir="rtl"] .sb-meta,
html[data-dir="rtl"] .sb-meta,
body.dir-rtl .sb-meta                   { flex-direction: row-reverse; }

html[dir="rtl"] .sb-content,
html[data-dir="rtl"] .sb-content,
body.dir-rtl .sb-content                { direction: rtl; text-align: right; }

html[dir="rtl"] .sb-layout,
html[data-dir="rtl"] .sb-layout,
body.dir-rtl .sb-layout                 { direction: rtl; }

html[dir="rtl"] .sb-sidebar,
html[data-dir="rtl"] .sb-sidebar,
body.dir-rtl .sb-sidebar                { direction: rtl; }

html[dir="rtl"] .sb-author-row,
html[data-dir="rtl"] .sb-author-row,
body.dir-rtl .sb-author-row             { flex-direction: row-reverse; }

html[dir="rtl"] .sb-author-share,
html[data-dir="rtl"] .sb-author-share,
body.dir-rtl .sb-author-share           { margin-left: 0; margin-right: auto; }

html[dir="rtl"] .sb-share-bottom,
html[data-dir="rtl"] .sb-share-bottom,
body.dir-rtl .sb-share-bottom           { flex-direction: row-reverse; }

html[dir="rtl"] .sb-related-section,
html[data-dir="rtl"] .sb-related-section,
body.dir-rtl .sb-related-section        { direction: rtl; }

html[dir="rtl"] .sb-related-grid,
html[data-dir="rtl"] .sb-related-grid,
body.dir-rtl .sb-related-grid           { direction: rtl; }

html[dir="rtl"] .sb-sidebar-cat-link,
html[data-dir="rtl"] .sb-sidebar-cat-link,
body.dir-rtl .sb-sidebar-cat-link       { flex-direction: row-reverse; }

html[dir="rtl"] .sb-sidebar-cat-count,
html[data-dir="rtl"] .sb-sidebar-cat-count,
body.dir-rtl .sb-sidebar-cat-count     { margin-left: 0; margin-right: auto; }

html[dir="rtl"] .sb-toc-nav li a,
html[data-dir="rtl"] .sb-toc-nav li a,
body.dir-rtl .sb-toc-nav li a {
  border-left: none;
  border-right: 2px solid transparent;
  padding-left: 0;
  padding-right: 10px;
}
html[dir="rtl"] .sb-toc-nav li a:hover,
html[data-dir="rtl"] .sb-toc-nav li a:hover,
body.dir-rtl .sb-toc-nav li a:hover {
  border-right-color: var(--green-primary);
  padding-right: 12px;
  padding-left: 0;
}
html[dir="rtl"] .sb-toc-nav li.toc-sub a,
html[data-dir="rtl"] .sb-toc-nav li.toc-sub a,
body.dir-rtl .sb-toc-nav li.toc-sub a {
  padding-left: 0;
  padding-right: 24px;
}
