/* ==========================================================================
   blog.css — Blog listing page + single article page
   All colors via variables.css tokens. No duplication from other CSS files.
   ========================================================================== */

/* ── Listing page ─────────────────────────────────────────────────────────── */
.blog-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-4) var(--space-12);
}

/* Breaks .page-header out to full viewport width (same trick as the homepage hero) —
   scoped to .blog-page only, every other page's header is untouched. */
.blog-page .page-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* .container (inside) already provides the horizontal gutter — drop
     .page-header's own left/right padding here so it isn't doubled. */
  padding-left: 0;
  padding-right: 0;
}

.blog-intro {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Instant search ────────────────────────────────────────────────────────── */
.blog-search-wrap {
  position: relative;
  max-width: 560px;
  margin: var(--space-5) auto 0;
}
.blog-search-box {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--admin-active-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0 var(--space-4);
}
.blog-search-box:focus-within {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}
.blog-search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.blog-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: var(--fs-sm);
  padding: 11px 0;
  outline: none;
}
.blog-search-input::placeholder { color: var(--text-muted); }
.blog-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--hover-bg);
  color: var(--text-soft);
  cursor: pointer;
  flex-shrink: 0;
}
.blog-search-clear .lucide { width: 13px; height: 13px; }

.blog-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-height: 360px;
  overflow-y: auto;
  padding: var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.3) transparent;
}
.blog-search-results::-webkit-scrollbar { width: 6px; }
.blog-search-results::-webkit-scrollbar-track { background: transparent; }
.blog-search-results::-webkit-scrollbar-thumb { background: rgba(156, 163, 175, 0.3); border-radius: 3px; }
.blog-search-results::-webkit-scrollbar-thumb:hover { background: rgba(156, 163, 175, 0.5); }
.blog-search-result {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.blog-search-result:hover,
.blog-search-result:focus-visible {
  background: var(--hover-bg);
}
.blog-search-result-title {
  display: block;
  color: var(--text-main);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}
.blog-search-result-title mark {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  border-radius: 3px;
  padding: 0 1px;
}
.blog-search-result-excerpt {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-search-empty {
  padding: 14px 12px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.blog-card-img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-img-placeholder {
  width: 100%;
  background: var(--bg-section-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}
.blog-card-img-placeholder svg { width: 36px; height: 36px; opacity: 0.4; }

.blog-card-body {
  padding: var(--space-4) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: var(--fs-xs);
  color: var(--text-soft);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.meta-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.meta-sep {
  margin: 0 2px;
  opacity: 0.5;
}
.blog-card-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 var(--space-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}
.blog-card-footer .article-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-emerald);
  white-space: nowrap;
  text-transform: capitalize;
  background: var(--color-success-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}
.blog-card-footer .article-meta-item .meta-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.blog-card-link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  align-self: flex-end;
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  background: var(--accent-gradient);
  text-transform: capitalize;
}
.blog-card-link:hover {
  background: var(--btn-gradient);
}

/* Card footer (badge + read more) */
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}
.blog-pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.blog-pg-btn i { width: 16px; height: 16px; }
.blog-pg-btn:hover:not(.blog-pg-disabled) {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
}
.blog-pg-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.blog-pg-numbers {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.blog-pg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-subtle);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-base);
  background: var(--admin-hover-bg);
}
.blog-pg-num:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}
.blog-pg-active {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  cursor: default;
}
.blog-pg-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  letter-spacing: 1px;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: var(--space-12) 0;
  color: var(--text-soft);
}
.blog-empty svg { width: 48px; height: 48px; opacity: 0.3; margin-bottom: var(--space-3); }
.blog-empty h2 { font-size: var(--fs-xl); margin: 0 0 var(--space-2); }

/* ── Single article page ──────────────────────────────────────────────────── */
.article-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-12);
}

/* Article + Sidebar grid */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

/* ── Sidebar ── */
.article-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.sidebar-card {
  background: var(--bg-section-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}

.sidebar-card-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-4);
}

/* Recent articles list */
.sidebar-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sidebar-recent-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.15s;
}

.sidebar-recent-link:hover { color: var(--accent-primary); }

.sidebar-recent-thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.sidebar-recent-title {
  font-size: var(--fs-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar CTA card */
.sidebar-cta-card {
  text-align: center;
  background: var(--accent-gradient);
  border: none;
  color: #fff;
}

.sidebar-cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
}

.sidebar-cta-icon svg { width: 22px; height: 22px; }

.sidebar-cta-title {
  font-size: var(--fs-base);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: #fff;
}

.sidebar-cta-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--space-4);
  line-height: 1.5;
}

.sidebar-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--accent-primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: opacity 0.15s;
}

.sidebar-cta-btn:hover { opacity: 0.9; }

/* Mobile: sidebar stacks below article */
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

.article-title {
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
  text-align: center;
}
.article-meta {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin-bottom: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: center;
  justify-content: center;
}
.article-meta-dot { opacity: 0.4; }
.article-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.article-meta-icon { width: 13px; height: 13px; flex-shrink: 0; }

.article-cover {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
  display: block;
}

/* ── Article rich content ─────────────────────────────────────────────────── */
.article-content {
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--text-primary);
}
/* h1 inside content = legacy/fallback; new articles use h2 as top section heading */
.article-content h1 {
  font-size: 1.75rem;
  font-weight: var(--fw-extrabold);
  margin: var(--space-5) 0 var(--space-5);
  line-height: 1.25;
  color: var(--text-primary);
}
.article-content h2 {
  font-size: 1.45rem;
  font-weight: var(--fw-extrabold);
  margin: var(--space-5) 0 var(--space-5);
  line-height: 1.3;
  color: var(--text-primary);
}
.article-content h3 {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  margin: var(--space-4) 0 var(--space-4);
  line-height: 1.35;
  color: var(--text-primary);
}
.article-content h4 {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  margin: var(--space-4) 0 var(--space-4);
  color: var(--text-primary);
}
.article-content p { margin-bottom: var(--space-4); }
/* ── Bullet list ── */
.article-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-4);
}
.article-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-2);
  line-height: 1.75;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary, #6366f1);
  opacity: 0.75;
  flex-shrink: 0;
}

/* ── Numbered list ── */
.article-content ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-4);
  counter-reset: ol-counter;
}
.article-content ol li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: var(--space-2);
  line-height: 1.75;
  counter-increment: ol-counter;
}
.article-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-sm, 4px);
  background: var(--accent-primary, #6366f1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

/* ── Nested lists ── */
.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
  margin-top: var(--space-1);
  margin-bottom: var(--space-1);
}
.article-content ul ul li::before {
  width: 5px;
  height: 5px;
  background: transparent;
  border: 2px solid var(--accent-primary, #6366f1);
  opacity: 0.6;
}
.article-content blockquote {
  background: var(--admin-hover-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) 0;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.8;
}
.article-content blockquote p { margin-bottom: 0; }
.article-content code {
  background: var(--bg-section-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
  font-family: monospace;
}
.article-content pre {
  background: var(--bg-section-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  overflow-x: auto;
  margin-bottom: var(--space-4);
}
.article-content pre code { background: none; border: none; padding: 0; }
.article-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
  display: block;
}
.article-content a {
  color: var(--accent-primary, #6366f1);
  text-decoration: underline;
}
.article-content a:hover { opacity: 0.8; }
.article-content strong { font-weight: 700; }
.article-content hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-6) 0;
}
.article-content figure.table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-5) 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.3) transparent;
}
.article-content figure.table::-webkit-scrollbar { height: 4px; }
.article-content figure.table::-webkit-scrollbar-track { background: transparent; }
.article-content figure.table::-webkit-scrollbar-thumb { background: rgba(156, 163, 175, 0.3); border-radius: 999px; }
.article-content figure.table::-webkit-scrollbar-thumb:hover { background: rgba(156, 163, 175, 0.5); }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
}
.article-content table th,
.article-content table td {
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  text-align: center;
  white-space: nowrap;
}
.article-content table th {
  background: var(--bg-section-soft);
  font-weight: 600;
  color: var(--text-primary);
}
.article-content table tr:nth-child(even) td {
  background: var(--bg-section-soft);
}

/* ── FAQ section (public article) ────────────────────────────────────────── */
.article-faq { margin-top: var(--space-8); }
.article-faq-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-align: center;
}


/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.article-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
  min-width: 0;
}
.bc-item {
  color: var(--accent-primary, #6366f1);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.bc-item:hover { text-decoration: underline; }
.bc-sep { color: var(--text-soft); opacity: 0.5; flex-shrink: 0; }
.bc-current {
  color: var(--text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

/* ── Prev / Next navigation ───────────────────────────────────────────────── */
.article-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-section-soft);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s, border-color 0.15s;
  min-width: 0;
}
.article-nav-link:hover {
  background: var(--bg-section);
  border-color: var(--accent-primary, #6366f1);
}
.article-nav-prev { align-items: flex-start; }
.article-nav-next { align-items: flex-end; }
.article-nav-dir {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-primary, #6366f1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-nav-dir svg { width: 14px; height: 14px; flex-shrink: 0; }
.article-nav-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}
.article-nav-next .article-nav-title { text-align: right; }
@media (max-width: 600px) {
  .article-prev-next { grid-template-columns: 1fr; }
  .article-nav-next { align-items: flex-end; }
  .article-nav-next .article-nav-title { text-align: right; }
}

/* ── Share row ────────────────────────────────────────────────────────────── */
.article-share-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  margin-bottom: var(--space-5);
}
.article-share-heading {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}
.article-share-btns {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.share-label {
  font-size: var(--fs-xs);
  color: var(--text-soft);
  font-weight: 500;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--admin-hover-bg);
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.share-btn:hover { background: var(--bg-section); }
.share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-tg:hover { background: #229ed9; color: #fff; border-color: #229ed9; }
.share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-li:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.copy-confirm {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 6px);
  font-size: var(--fs-xs);
  color: #22c55e;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2px 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.copy-confirm.visible { opacity: 1; }

/* ── Preview banner ───────────────────────────────────────────────────────── */
.article-preview-banner {
  background: #fef3c7;
  color: #92400e;
  text-align: center;
  padding: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-md);
}

/* ── Blog CTA ─────────────────────────────────────────────────────────────── */
.blog-cta {
  margin-top: var(--space-12);
  background: var(--bg-section-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
}
.blog-cta-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
}
.blog-cta-desc {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin: 0 0 var(--space-6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.blog-cta-btns {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--admin-active-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  min-width: 120px;
  justify-content: center;
}
.blog-cta-btn i { width: 18px; height: 18px; }
.blog-cta-btn:hover {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cta-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .blog-cta-btn { min-width: unset; }
  .blog-pg-numbers { display: none; }
}
@media (max-width: 480px) {
  .blog-page, .article-page { padding-left: var(--space-3); padding-right: var(--space-3); }
}
