
/* --- ENHANCED DOCS POST CARD LAYOUT --- */
.wm-doc-post-card {
  padding: 1.5rem 1.75rem !important;
}

.wm-doc-card-inner {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  width: 100% !important;
}

.wm-doc-card-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

/* Dark Mode Icon */
html:not([data-theme="light"]) .wm-doc-card-icon {
  background: rgba(0, 210, 255, 0.12) !important;
  color: #00D2FF !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
}

/* Light Mode Icon */
html[data-theme="light"] .wm-doc-card-icon {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

.wm-doc-card-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.wm-doc-card-top {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-bottom: 0.5rem !important;
}

.wm-doc-categories {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.wm-doc-meta-info {
  font-size: 0.82rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.wm-doc-card-title {
  margin: 0 0 0.4rem 0 !important;
  font-size: 1.15rem !important;
  line-height: 1.4 !important;
  word-break: break-word !important;
}

.wm-doc-card-text {
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

.wm-doc-card-action {
  flex-shrink: 0 !important;
  margin-left: 0.5rem !important;
}

/* --- READ GUIDE BUTTON PILL --- */
.wm-doc-read-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
}

/* Dark Mode Read Button */
html:not([data-theme="light"]) .wm-doc-read-btn {
  background: rgba(0, 210, 255, 0.12) !important;
  color: #00D2FF !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
}

html:not([data-theme="light"]) .wm-doc-read-btn:hover {
  background: #00D2FF !important;
  color: #0b0f19 !important;
  border-color: #00D2FF !important;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4) !important;
  transform: translateX(3px) !important;
}

/* Light Mode Read Button */
html[data-theme="light"] .wm-doc-read-btn {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

html[data-theme="light"] .wm-doc-read-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3) !important;
  transform: translateX(3px) !important;
}

@media (max-width: 768px) {
  .wm-doc-card-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .wm-doc-card-action {
    margin-left: 0 !important;
    margin-top: 0.75rem !important;
    width: 100% !important;
  }
  .wm-doc-read-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* --- PAGINATION & DOCS LISTING STYLING --- */
.blog-pagination {
  margin-top: 2.5rem !important;
  display: flex !important;
  justify-content: center !important;
}

.blog-pagination .pagination,
.pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

.blog-pagination .page-item,
.pagination .page-item,
.pagination li {
  margin: 0 !important;
  display: inline-block !important;
}

/* --- DARK MODE PAGINATION (DEFAULT) --- */
html:not([data-theme="light"]) .blog-pagination .page-link,
html:not([data-theme="light"]) .pagination .page-link,
html:not([data-theme="light"]) .pagination li a,
html:not([data-theme="light"]) .pagination li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

html:not([data-theme="light"]) .blog-pagination .page-link:hover,
html:not([data-theme="light"]) .pagination .page-link:hover,
html:not([data-theme="light"]) .pagination li a:hover {
  background: rgba(0, 210, 255, 0.15) !important;
  border-color: rgba(0, 210, 255, 0.4) !important;
  color: #00D2FF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 210, 255, 0.25) !important;
}

html:not([data-theme="light"]) .blog-pagination .page-item.active .page-link,
html:not([data-theme="light"]) .pagination .page-item.active .page-link,
html:not([data-theme="light"]) .pagination li.active a,
html:not([data-theme="light"]) .pagination li.active span {
  background: linear-gradient(135deg, #00D2FF 0%, #0057FF 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.4) !important;
  font-weight: 700 !important;
}

html:not([data-theme="light"]) .blog-pagination .page-item.disabled .page-link,
html:not([data-theme="light"]) .pagination .page-item.disabled .page-link,
html:not([data-theme="light"]) .pagination li.disabled span {
  background: rgba(15, 23, 42, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #475569 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* --- LIGHT MODE PAGINATION --- */
html[data-theme="light"] .blog-pagination .page-link,
html[data-theme="light"] .pagination .page-link,
html[data-theme="light"] .pagination li a,
html[data-theme="light"] .pagination li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .blog-pagination .page-link:hover,
html[data-theme="light"] .pagination .page-link:hover,
html[data-theme="light"] .pagination li a:hover {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.15) !important;
}

html[data-theme="light"] .blog-pagination .page-item.active .page-link,
html[data-theme="light"] .pagination .page-item.active .page-link,
html[data-theme="light"] .pagination li.active a,
html[data-theme="light"] .pagination li.active span {
  background: linear-gradient(135deg, #0284c7 0%, #0038B8 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3) !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .blog-pagination .page-item.disabled .page-link,
html[data-theme="light"] .pagination .page-item.disabled .page-link,
html[data-theme="light"] .pagination li.disabled span {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}

/* --- POST CARDS DARK MODE --- */
html:not([data-theme="light"]) .wm-doc-post-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html:not([data-theme="light"]) .wm-doc-post-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0, 210, 255, 0.4) !important;
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15) !important;
}

html:not([data-theme="light"]) .wm-doc-category-badge {
  background: rgba(0, 210, 255, 0.12) !important;
  color: #00D2FF !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html:not([data-theme="light"]) .wm-doc-card-title a {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

html:not([data-theme="light"]) .wm-doc-card-title a:hover {
  color: #00D2FF !important;
}

html:not([data-theme="light"]) .wm-doc-card-text {
  color: #94a3b8 !important;
}

html:not([data-theme="light"]) .wm-doc-meta-info {
  color: #64748b !important;
}

/* --- POST CARDS LIGHT MODE --- */
html[data-theme="light"] .wm-doc-post-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html[data-theme="light"] .wm-doc-post-card:hover {
  transform: translateY(-4px) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12) !important;
}

html[data-theme="light"] .wm-doc-category-badge {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
  border-radius: 20px !important;
  padding: 3px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html[data-theme="light"] .wm-doc-card-title a {
  color: #0f172a !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

html[data-theme="light"] .wm-doc-card-title a:hover {
  color: #0284c7 !important;
}

html[data-theme="light"] .wm-doc-card-text {
  color: #475569 !important;
}

html[data-theme="light"] .wm-doc-meta-info {
  color: #64748b !important;
}


/* --- DARK THEME POST STYLING (DEFAULT) --- */
html:not([data-theme="light"]) .bpost,
html:not([data-theme="light"]) .wm-post-content {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.8;
}

html:not([data-theme="light"]) .wm-post-content h1,
html:not([data-theme="light"]) .wm-post-content h2,
html:not([data-theme="light"]) .wm-post-content h3,
html:not([data-theme="light"]) .wm-post-content h4,
html:not([data-theme="light"]) .wm-post-content h5,
html:not([data-theme="light"]) .wm-post-content h6 {
  color: #ffffff !important;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

html:not([data-theme="light"]) .wm-post-content h1 { font-size: 2.1rem; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 0.6rem; }
html:not([data-theme="light"]) .wm-post-content h2 { font-size: 1.65rem; border-bottom: 1px solid rgba(0, 210, 255, 0.2); padding-bottom: 0.5rem; color: #f8fafc !important; }
html:not([data-theme="light"]) .wm-post-content h3 { font-size: 1.35rem; color: #00D2FF !important; }
html:not([data-theme="light"]) .wm-post-content h4 { font-size: 1.15rem; }

html:not([data-theme="light"]) .wm-post-content p {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

html:not([data-theme="light"]) .wm-post-content strong,
html:not([data-theme="light"]) .wm-post-content b {
  color: #ffffff !important;
  font-weight: 700;
}

html:not([data-theme="light"]) .wm-post-content a {
  color: #38bdf8 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: all 0.2s ease !important;
}

html:not([data-theme="light"]) .wm-post-content a:hover {
  color: #00D2FF !important;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.4) !important;
}

html:not([data-theme="light"]) .wm-post-content ul,
html:not([data-theme="light"]) .wm-post-content ol {
  color: #cbd5e1;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

html:not([data-theme="light"]) .wm-post-content li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

html:not([data-theme="light"]) .wm-post-content li::marker {
  color: #00D2FF;
  font-weight: bold;
}

html:not([data-theme="light"]) .wm-post-content table {
  width: 100% !important;
  margin: 1.75rem 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

html:not([data-theme="light"]) .wm-post-content table th,
html:not([data-theme="light"]) .wm-post-content table tr th,
html:not([data-theme="light"]) .wm-post-content table thead th {
  background: #1e293b !important;
  color: #00D2FF !important;
  font-weight: 700 !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  text-align: left !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

html:not([data-theme="light"]) .wm-post-content table td,
html:not([data-theme="light"]) .wm-post-content table tr td,
html:not([data-theme="light"]) .wm-post-content table tbody td {
  background: transparent !important;
  color: #e2e8f0 !important;
  padding: 13px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

html:not([data-theme="light"]) .wm-post-content table tr:last-child td {
  border-bottom: none !important;
}

html:not([data-theme="light"]) .wm-post-content table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02) !important;
}

html:not([data-theme="light"]) .wm-post-content table tr:hover td {
  background: rgba(0, 210, 255, 0.05) !important;
}

html:not([data-theme="light"]) .wm-post-content table td strong,
html:not([data-theme="light"]) .wm-post-content table td b,
html:not([data-theme="light"]) .wm-post-content table td span {
  color: #ffffff !important;
}

html:not([data-theme="light"]) .wm-post-content blockquote,
html:not([data-theme="light"]) .bpost blockquote {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
  border-left: 4px solid #00D2FF !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem !important;
  margin: 1.75rem 0 !important;
  color: #e2e8f0 !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  position: relative !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

html:not([data-theme="light"]) .wm-post-content blockquote::before,
html:not([data-theme="light"]) .bpost blockquote::before {
  content: "\201C" !important;
  color: #00D2FF !important;
  font-family: Georgia, serif !important;
  font-size: 3.5rem !important;
  position: absolute !important;
  left: 1rem !important;
  top: 0.25rem !important;
  line-height: 1 !important;
  opacity: 0.7 !important;
}

html:not([data-theme="light"]) .wm-post-content blockquote p,
html:not([data-theme="light"]) .bpost blockquote p {
  color: #e2e8f0 !important;
  margin: 0 !important;
  font-style: italic !important;
}

html:not([data-theme="light"]) .wm-post-content pre {
  background: #090e1a !important;
  border: 1px solid rgba(0, 210, 255, 0.3) !important;
  border-radius: 10px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.75rem 0 !important;
  overflow-x: auto !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

html:not([data-theme="light"]) .wm-post-content pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #38bdf8 !important;
  font-family: 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

html:not([data-theme="light"]) .wm-post-content code:not(pre code) {
  background: rgba(0, 210, 255, 0.12) !important;
  color: #00D2FF !important;
  border: 1px solid rgba(0, 210, 255, 0.25) !important;
  border-radius: 5px !important;
  padding: 3px 8px !important;
  font-family: 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
}

html:not([data-theme="light"]) .wm-post-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  margin: 1.5rem 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

/* --- LIGHT THEME POST STYLING (OVERRIDDEN) --- */
html[data-theme="light"] .bpost,
html[data-theme="light"] .wm-feature-card.bpost {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  color: #334155 !important;
}

html[data-theme="light"] .wm-post-content {
  color: #334155 !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
}

html[data-theme="light"] .wm-post-content h1,
html[data-theme="light"] .wm-post-content h2,
html[data-theme="light"] .wm-post-content h3,
html[data-theme="light"] .wm-post-content h4,
html[data-theme="light"] .wm-post-content h5,
html[data-theme="light"] .wm-post-content h6 {
  color: #0f172a !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  line-height: 1.35 !important;
}

html[data-theme="light"] .wm-post-content h1 { font-size: 2.1rem !important; border-bottom: 1px solid #e2e8f0 !important; padding-bottom: 0.6rem !important; }
html[data-theme="light"] .wm-post-content h2 { font-size: 1.65rem !important; border-bottom: 1px solid #0284c7 !important; padding-bottom: 0.5rem !important; color: #0f172a !important; }
html[data-theme="light"] .wm-post-content h3 { font-size: 1.35rem !important; color: #0284c7 !important; }
html[data-theme="light"] .wm-post-content h4 { font-size: 1.15rem !important; color: #0f172a !important; }

html[data-theme="light"] .wm-post-content p {
  color: #334155 !important;
  margin-bottom: 1.25rem !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
}

html[data-theme="light"] .wm-post-content strong,
html[data-theme="light"] .wm-post-content b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .wm-post-content a {
  color: #0284c7 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: all 0.2s ease !important;
}

html[data-theme="light"] .wm-post-content a:hover {
  color: #0369a1 !important;
}

html[data-theme="light"] .wm-post-content ul,
html[data-theme="light"] .wm-post-content ol {
  color: #334155 !important;
  padding-left: 1.75rem !important;
  margin-bottom: 1.5rem !important;
}

html[data-theme="light"] .wm-post-content li {
  margin-bottom: 0.6rem !important;
  line-height: 1.7 !important;
}

html[data-theme="light"] .wm-post-content li::marker {
  color: #0284c7 !important;
  font-weight: bold !important;
}

/* Light Mode Tables */
html[data-theme="light"] .wm-post-content table {
  width: 100% !important;
  margin: 1.75rem 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .wm-post-content table th,
html[data-theme="light"] .wm-post-content table tr th,
html[data-theme="light"] .wm-post-content table thead th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  padding: 14px 18px !important;
  border-bottom: 2px solid #cbd5e1 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  text-align: left !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

html[data-theme="light"] .wm-post-content table td,
html[data-theme="light"] .wm-post-content table tr td,
html[data-theme="light"] .wm-post-content table tbody td {
  background: #ffffff !important;
  color: #334155 !important;
  padding: 13px 18px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

html[data-theme="light"] .wm-post-content table tr:last-child td {
  border-bottom: none !important;
}

html[data-theme="light"] .wm-post-content table tr:nth-child(even) td {
  background: #f8fafc !important;
}

html[data-theme="light"] .wm-post-content table tr:hover td {
  background: #f1f5f9 !important;
}

html[data-theme="light"] .wm-post-content table td strong,
html[data-theme="light"] .wm-post-content table td b,
html[data-theme="light"] .wm-post-content table td span {
  color: #0f172a !important;
}

/* Light Mode Blockquotes */
html[data-theme="light"] .wm-post-content blockquote,
html[data-theme="light"] .bpost blockquote {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #0284c7 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem !important;
  margin: 1.75rem 0 !important;
  color: #334155 !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  position: relative !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

html[data-theme="light"] .wm-post-content blockquote::before,
html[data-theme="light"] .bpost blockquote::before {
  content: "\201C" !important;
  color: #0284c7 !important;
  font-family: Georgia, serif !important;
  font-size: 3.5rem !important;
  position: absolute !important;
  left: 1rem !important;
  top: 0.25rem !important;
  line-height: 1 !important;
  opacity: 0.85 !important;
}

html[data-theme="light"] .wm-post-content blockquote p,
html[data-theme="light"] .bpost blockquote p {
  color: #334155 !important;
  margin: 0 !important;
  font-style: italic !important;
}

/* Light Mode Code Blocks & Inline Code */
html[data-theme="light"] .wm-post-content pre {
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  border-radius: 10px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.75rem 0 !important;
  overflow-x: auto !important;
}

html[data-theme="light"] .wm-post-content pre code {
  color: #38bdf8 !important;
  font-family: 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 0.92rem !important;
}

html[data-theme="light"] .wm-post-content code:not(pre code) {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
  border-radius: 5px !important;
  padding: 3px 8px !important;
  font-family: 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

/* Light Mode Images */
html[data-theme="light"] .wm-post-content img {
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Light Mode Footer Bar */
html[data-theme="light"] .wm-post-footer-bar {
  border-top-color: #e2e8f0 !important;
}

html[data-theme="light"] .wm-btn-outline {
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
}

html[data-theme="light"] .wm-btn-outline:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}

/* --- BADGES (COMMON) --- */
.wm-badge-fix { background: rgba(239, 68, 68, 0.15) !important; color: #f87171 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; border-radius: 4px; padding: 2px 7px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.wm-badge-add { background: rgba(34, 197, 94, 0.15) !important; color: #4ade80 !important; border: 1px solid rgba(34, 197, 94, 0.3) !important; border-radius: 4px; padding: 2px 7px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.wm-badge-upd { background: rgba(56, 189, 248, 0.15) !important; color: #38bdf8 !important; border: 1px solid rgba(56, 189, 248, 0.3) !important; border-radius: 4px; padding: 2px 7px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.wm-badge-req { background: rgba(245, 158, 11, 0.15) !important; color: #fbbf24 !important; border: 1px solid rgba(245, 158, 11, 0.3) !important; border-radius: 4px; padding: 2px 7px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.wm-badge-del { background: rgba(239, 68, 68, 0.15) !important; color: #f87171 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; border-radius: 4px; padding: 2px 7px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

html[data-theme="light"] .wm-badge-fix { background: #fee2e2 !important; color: #dc2626 !important; border-color: #fca5a5 !important; }
html[data-theme="light"] .wm-badge-add { background: #dcfce7 !important; color: #16a34a !important; border-color: #86efac !important; }
html[data-theme="light"] .wm-badge-upd { background: #e0f2fe !important; color: #0284c7 !important; border-color: #7dd3fc !important; }
html[data-theme="light"] .wm-badge-req { background: #fef3c7 !important; color: #d97706 !important; border-color: #fde68a !important; }
/* --- AUTOMATIC CHANGELOG CARD STYLING --- */
.wm-changelog-card {
  border-radius: 12px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.75rem 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Dark Mode Changelog Card */
html:not([data-theme="light"]) .wm-changelog-card {
  background: #0f172a !important;
  border: 1px solid rgba(0, 210, 255, 0.2) !important;
  border-left: 4px solid #00D2FF !important;
}

html:not([data-theme="light"]) .wm-changelog-header {
  background: rgba(0, 210, 255, 0.1) !important;
  color: #00D2FF !important;
  border: 1px solid rgba(0, 210, 255, 0.2) !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  margin-bottom: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html:not([data-theme="light"]) .wm-changelog-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html:not([data-theme="light"]) .wm-changelog-item:last-child {
  border-bottom: none !important;
}

html:not([data-theme="light"]) .wm-changelog-text {
  color: #e2e8f0 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

html:not([data-theme="light"]) .wm-changelog-text strong {
  color: #00D2FF !important;
  font-weight: 700 !important;
}

/* Light Mode Changelog Card */
html[data-theme="light"] .wm-changelog-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #0284c7 !important;
}

html[data-theme="light"] .wm-changelog-header {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  margin-bottom: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html[data-theme="light"] .wm-changelog-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .wm-changelog-item:last-child {
  border-bottom: none !important;
}

html[data-theme="light"] .wm-changelog-text {
  color: #334155 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

html[data-theme="light"] .wm-changelog-text strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.wm-doc-toc {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 210, 255, 0.22);
  background: rgba(0, 210, 255, 0.06);
}
.wm-doc-toc h4 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.wm-doc-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow: auto;
}
.wm-doc-toc li {
  margin: 0 0 6px;
}
.wm-doc-toc a {
  color: inherit;
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.85;
}
.wm-doc-toc a:hover {
  color: #00D2FF;
  opacity: 1;
}
.wm-toc-l3 { padding-left: 0.6rem; }
.wm-toc-l4 { padding-left: 1rem; }
.wm-toc-l5 { padding-left: 1.35rem; }
.wm-toc-l6 { padding-left: 1.6rem; }
.wm-doc-adjacent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
html[data-theme="light"] .wm-doc-toc {
  background: #f0f9ff;
  border-color: #bae6fd;
}


.blog-pagination {
  margin-top: 2.5rem !important;
  display: flex !important;
  justify-content: center !important;
}
.blog-pagination .pagination,
.pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}
.blog-pagination .page-item,
.pagination .page-item,
.pagination li {
  margin: 0 !important;
  display: inline-block !important;
}
html:not([data-theme="light"]) .blog-pagination .page-link,
html:not([data-theme="light"]) .pagination .page-link,
html:not([data-theme="light"]) .pagination li a,
html:not([data-theme="light"]) .pagination li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
}
html:not([data-theme="light"]) .blog-pagination .page-item.active .page-link,
html:not([data-theme="light"]) .pagination li.active a,
html:not([data-theme="light"]) .pagination li.active span {
  background: linear-gradient(135deg, #00D2FF 0%, #0057FF 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
html[data-theme="light"] .blog-pagination .page-link,
html[data-theme="light"] .pagination .page-link,
html[data-theme="light"] .pagination li a,
html[data-theme="light"] .pagination li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
html[data-theme="light"] .blog-pagination .page-item.active .page-link,
html[data-theme="light"] .pagination li.active a,
html[data-theme="light"] .pagination li.active span {
  background: linear-gradient(135deg, #0284c7 0%, #0038B8 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
