/* ═══════════════════════════════════════════════
   BLOG CSS — blog.html + blog-post.html
   Rankaim Digital Agency
═══════════════════════════════════════════════ */

/* ══════════════════════════════
   BLOG ARCHIVE — HERO
══════════════════════════════ */
.bl-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bl-hero-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(252,86,49,0.12) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.bl-hero-title {
  font-family: var(--font-h);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}
.bl-hero-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* Search bar */
.bl-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.3s;
}
.bl-search-wrap:focus-within { border-color: rgba(252,86,49,0.4); }
.bl-search-wrap > i { color: var(--gray); font-size: 16px; flex-shrink: 0; line-height: 1; }
.bl-search {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 14px; font-family: var(--font-b);
}
.bl-search::placeholder { color: var(--gray); }
.bl-search-btn {
  background: var(--orange); color: #fff; border: none; cursor: pointer;
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 700; font-family: var(--font-b);
  transition: background 0.2s;
}
.bl-search-btn:hover { background: #e04820; }

/* ══════════════════════════════
   CATEGORY FILTER BAR
══════════════════════════════ */
.bl-cats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 88px;
  z-index: 90;
  background: rgba(4,8,11,0.92);
  backdrop-filter: blur(20px);
}
.bl-cats-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bl-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
}
.bl-cats::-webkit-scrollbar { display: none; }
.bl-cat {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: none;
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-b);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.bl-cat:hover { color: var(--white); border-color: var(--border); }
.bl-cat.active {
  background: rgba(252,86,49,0.1);
  border-color: rgba(252,86,49,0.3);
  color: var(--orange);
}
.bl-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--gray);
}
.bl-sort select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-family: var(--font-b);
  cursor: pointer;
  outline: none;
}

/* ══════════════════════════════
   FEATURED POST
══════════════════════════════ */
.bl-featured-section { padding: 64px 0 0; }
.bl-featured-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s;
  background: var(--bg2);
}
.bl-featured-card:hover { border-color: rgba(252,86,49,0.3); transform: translateY(-4px); }

.bl-fc-img {
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.bl-fc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,8,11,0.7) 0%, transparent 60%);
}
.bl-fc-badge {
  position: absolute; top: 20px; left: 20px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(252,86,49,0.9);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  z-index: 1;
}
.bl-fc-badge i { line-height: 1; }
.bl-fc-cat-tag {
  position: absolute; bottom: 24px; left: 24px;
  font-size: 11px; font-weight: 700; color: var(--orange);
  background: rgba(252,86,49,0.1);
  border: 1px solid rgba(252,86,49,0.25);
  padding: 3px 10px; border-radius: 100px;
  z-index: 1;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.bl-fc-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bl-fc-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.bl-fc-meta span {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--gray);
}
.bl-fc-meta i { line-height: 1; }
.bl-fc-title {
  font-family: var(--font-h);
  font-size: clamp(22px,2.2vw,32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 16px;
  transition: color 0.2s;
}
.bl-featured-card:hover .bl-fc-title { color: var(--orange); }
.bl-fc-excerpt {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 28px;
  flex: 1;
}
.bl-fc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.bl-fc-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.bl-fc-aname { font-size: 13px; font-weight: 700; color: var(--white); }
.bl-fc-arole  { font-size: 11px; color: var(--gray); }
.bl-fc-read {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--orange);
  transition: gap 0.2s;
}
.bl-featured-card:hover .bl-fc-read { gap: 10px; }

/* ══════════════════════════════
   POSTS GRID
══════════════════════════════ */
.bl-grid-section { padding: 48px 0 64px; }
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.bl-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  transition: all 0.35s;
}
.bl-card:hover { border-color: rgba(252,86,49,0.3); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.bl-card-img {
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
}
.bl-card-cat {
  font-size: 10px; font-weight: 700; color: var(--white);
  background: rgba(252,86,49,0.85);
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.bl-card-hot {
  font-size: 10px; font-weight: 700; color: var(--amber);
  background: rgba(245,131,0,0.15);
  border: 1px solid rgba(245,131,0,0.3);
  padding: 3px 9px; border-radius: 100px;
  display: flex; align-items: center; gap: 4px;
}
.bl-card-hot i { line-height: 1; }

.bl-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bl-card-meta {
  display: flex; gap: 12px; margin-bottom: 10px;
}
.bl-card-meta span {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--gray);
}
.bl-card-meta i { line-height: 1; }
.bl-card-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.bl-card:hover .bl-card-title { color: var(--orange); }
.bl-card-excerpt {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.bl-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.bl-card-av {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.bl-card-author { font-size: 12px; color: var(--gray); font-weight: 600; }
.bl-card-arrow {
  margin-left: auto;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--orange);
  transition: all 0.2s;
}
.bl-card:hover .bl-card-arrow { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Load More */
.bl-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
}
.bl-load-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--white); font-size: 14px; font-weight: 600;
  font-family: var(--font-b); cursor: pointer;
  transition: all 0.25s;
}
.bl-load-btn:hover { border-color: rgba(252,86,49,0.3); color: var(--orange); background: rgba(252,86,49,0.05); }
.bl-post-count { font-size: 12px; color: var(--gray); }

/* ══════════════════════════════
   NEWSLETTER SECTION
══════════════════════════════ */
.bl-newsletter {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.bl-nl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bl-nl-left h2 {
  font-size: clamp(28px,3vw,42px);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 14px;
}
.bl-nl-left p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.bl-nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bl-nl-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white); font-size: 14px; font-family: var(--font-b);
  outline: none; transition: border-color 0.3s;
}
.bl-nl-form input:focus { border-color: rgba(252,86,49,0.4); }
.bl-nl-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray);
}
.bl-nl-note i { color: var(--green); line-height: 1; }

/* ══════════════════════════════
   SINGLE POST — PROGRESS BAR
══════════════════════════════ */
.sp-progress-bar {
  position: fixed;
  top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ══════════════════════════════
   SINGLE POST — HERO
══════════════════════════════ */
.sp-hero {
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}
.sp-hero-glow {
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(252,86,49,0.1) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.sp-breadcrumb { justify-content: flex-start; margin-bottom: 24px; }
.sp-badges {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.sp-cat-badge {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(252,86,49,0.1);
  border: 1px solid rgba(252,86,49,0.25);
  font-size: 12px; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sp-badge-featured {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(245,131,0,0.1);
  border: 1px solid rgba(245,131,0,0.25);
  font-size: 11px; font-weight: 700; color: var(--amber);
}
.sp-badge-featured i { line-height: 1; font-size: 10px; }

.sp-title-wrap { max-width: 900px; margin-bottom: 32px; }
.sp-title-label { display: block; margin-bottom: 10px; }
.sp-title {
  font-family: var(--font-h);
  font-size: clamp(36px,5vw,68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 0;
}
.sp-title-accent { color: var(--orange); }

/* Meta strip */
.sp-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.sp-meta-author { display: flex; align-items: center; gap: 12px; }
.sp-author-av {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.sp-author-name { font-size: 14px; font-weight: 700; color: var(--white); }
.sp-author-role { font-size: 11px; color: var(--gray); }
.sp-meta-divider { width: 1px; height: 32px; background: var(--border); }
.sp-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray);
}
.sp-meta-item i { line-height: 1; }
.sp-updated { color: rgba(157,255,0,0.8); }
.sp-updated i { color: var(--green); }

/* Featured image */
.sp-featured-img {
  width: 100%;
  height: 460px;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}
.sp-fi-overlay {
  position: absolute; inset: 0;
  background: rgba(4,8,11,0.4);
}
.sp-fi-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.sp-fi-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 16px; border-radius: 100px;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.sp-fi-title {
  font-family: var(--font-h);
  font-size: clamp(32px,5vw,72px);
  font-weight: 800; letter-spacing: -3px;
  color: var(--white); line-height: 1;
  margin-bottom: 8px;
}
.sp-fi-sub {
  font-size: 16px; color: rgba(236,236,236,0.65);
  font-weight: 500;
}

/* ══════════════════════════════
   SINGLE POST — LAYOUT
══════════════════════════════ */
.sp-layout { padding: 64px 0 80px; }
.sp-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: flex-start;
}

/* ── Article body ── */
.sp-article { max-width: 100%; }
.sp-lead {
  font-size: 18px;
  color: rgba(236,236,236,0.85);
  line-height: 1.8;
  margin-bottom: 32px;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
}
.sp-article h2 {
  font-size: clamp(24px,2.5vw,32px);
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sp-article h3 {
  font-size: clamp(18px,2vw,22px);
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}
.sp-article p {
  font-size: 15px;
  color: rgba(236,236,236,0.8);
  line-height: 1.85;
  margin-bottom: 20px;
}
.sp-article strong { color: var(--white); }
.sp-article a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* Callout boxes */
.sp-callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  margin: 28px 0;
}
.sp-callout-green { background: rgba(157,255,0,0.05); border: 1px solid rgba(157,255,0,0.15); }
.sp-callout-orange { background: rgba(252,86,49,0.06); border: 1px solid rgba(252,86,49,0.2); }
.sp-callout-icon { font-size: 20px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.sp-callout-green .sp-callout-icon { color: var(--green); }
.sp-callout-orange .sp-callout-icon { color: var(--orange); }
.sp-callout strong { display: block; margin-bottom: 8px; font-size: 14px; color: var(--white); }
.sp-callout ul { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 0; }
.sp-callout li { font-size: 13.5px; color: rgba(236,236,236,0.8); padding-left: 16px; position: relative; }
.sp-callout li::before { content: '→'; position: absolute; left: 0; color: var(--gray); }
.sp-callout div { font-size: 14px; color: rgba(236,236,236,0.8); line-height: 1.7; }

/* Checklist */
.sp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 20px 0 28px;
}
.sp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(236,236,236,0.85);
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  transition: background 0.2s;
}
.sp-checklist li:hover { background: rgba(157,255,0,0.03); border-color: rgba(157,255,0,0.1); }
.sp-checklist li i { color: var(--green); font-size: 13px; line-height: 1.4; flex-shrink: 0; }

/* Stats row */
.sp-stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin: 24px 0;
}
.sp-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.sp-stat-card strong { font-family: var(--font-h); font-size: 22px; font-weight: 800; }
.sp-stat-card span   { font-size: 13px; color: var(--white); font-weight: 600; }
.sp-stat-card small  { font-size: 11px; color: var(--gray); }

/* Code block */
.sp-code-block {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
}
.sp-code-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sp-code-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.sp-code-dot:nth-child(1) { background: #ff5f57; }
.sp-code-dot:nth-child(2) { background: #febc2e; }
.sp-code-dot:nth-child(3) { background: #28c840; }
.sp-code-lang {
  margin-left: auto; font-size: 10px; font-weight: 700;
  color: var(--gray); text-transform: uppercase; letter-spacing: 1px;
}
.sp-code-block pre {
  margin: 0; padding: 20px 20px;
  font-size: 13px; line-height: 1.75;
  color: #c9d1d9; overflow-x: auto;
}
.sp-code-block code { font-family: 'Courier New', monospace; }

/* Blockquote */
.sp-blockquote {
  border-left: 3px solid var(--orange);
  padding: 20px 24px;
  margin: 32px 0;
  background: rgba(252,86,49,0.04);
  border-radius: 0 12px 12px 0;
}
.sp-blockquote p {
  font-size: 18px !important;
  font-style: italic;
  color: var(--white) !important;
  line-height: 1.65 !important;
  margin-bottom: 12px !important;
}
.sp-blockquote cite {
  font-size: 13px; color: var(--gray); font-style: normal;
}

/* Inline CTA */
.sp-inline-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(252,86,49,0.1), rgba(245,131,0,0.06));
  border: 1px solid rgba(252,86,49,0.25);
  border-radius: 18px;
  padding: 32px 36px;
  margin: 40px 0;
}
.sp-icta-left h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.sp-icta-left p  { font-size: 14px; color: var(--gray); margin: 0; }

/* Tags */
.sp-tags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin: 36px 0 24px;
}
.sp-tags-label { font-size: 13px; color: var(--gray); font-weight: 600; margin-right: 4px; }
.sp-tag {
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--gray);
  transition: all 0.2s;
}
.sp-tag:hover { border-color: rgba(252,86,49,0.3); color: var(--orange); }

/* Share bar */
.sp-share-bar {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--gray); font-weight: 600;
}
.sp-share-btns { display: flex; gap: 8px; }
.sp-share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.sp-share-twitter { background: rgba(29,155,240,0.08); border-color: rgba(29,155,240,0.2); color: #1d9bf0; }
.sp-share-linkedin { background: rgba(10,102,194,0.08); border-color: rgba(10,102,194,0.2); color: #0a66c2; }
.sp-share-copy { background: rgba(255,255,255,0.04); color: var(--gray); }
.sp-share-btn:hover { transform: translateY(-2px); }

/* ══════════════════════════════
   SINGLE POST — SIDEBAR
══════════════════════════════ */
.sp-sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* TOC */
.sp-toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.sp-toc-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--gray);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.sp-toc-head i { line-height: 1; color: var(--orange); }
.sp-toc-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  counter-reset: none;
}
.sp-toc-list li { }
.sp-toc-list > li > a {
  font-size: 13px; font-weight: 600; color: var(--white);
  display: block; padding: 6px 10px; border-radius: 8px;
  transition: all 0.2s;
}
.sp-toc-list > li > a:hover { background: rgba(252,86,49,0.08); color: var(--orange); }
.sp-toc-list ol {
  list-style: none; padding: 0 0 0 14px; margin: 2px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.sp-toc-list ol a {
  font-size: 12px; color: var(--gray); display: block;
  padding: 4px 10px; border-radius: 6px; transition: all 0.2s;
}
.sp-toc-list ol a:hover { color: var(--white); background: rgba(255,255,255,0.04); }

/* Sidebar share */
.sp-sidebar-share {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 22px;
}
.sp-ss-btns { display: flex; gap: 8px; margin-top: 4px; }
.sp-ss-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; border: 1px solid; transition: all 0.2s;
}
.sp-share-twitter.sp-ss-btn { background: rgba(29,155,240,0.08); border-color: rgba(29,155,240,0.25); color: #1d9bf0; }
.sp-share-linkedin.sp-ss-btn { background: rgba(10,102,194,0.08); border-color: rgba(10,102,194,0.25); color: #0a66c2; }
.sp-ss-btn:hover { transform: translateY(-2px); }
.sp-ss-btn i { line-height: 1; }

/* Sidebar newsletter */
.sp-sidebar-nl {
  background: linear-gradient(135deg, rgba(252,86,49,0.08), rgba(245,131,0,0.04));
  border: 1px solid rgba(252,86,49,0.2);
  border-radius: 16px;
  padding: 22px;
}
.sp-snl-icon { font-size: 24px; color: var(--orange); margin-bottom: 10px; line-height: 1; }
.sp-sidebar-nl h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.sp-sidebar-nl p  { font-size: 12px; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.sp-sidebar-nl input {
  width: 100%; background: rgba(4,8,11,0.5); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 10px 14px;
  color: var(--white); font-size: 13px; font-family: var(--font-b);
  outline: none; transition: border-color 0.3s;
}
.sp-sidebar-nl input:focus { border-color: rgba(252,86,49,0.4); }

/* Sidebar related service */
.sp-sidebar-service {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 22px;
}
.sp-related-service {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  margin-top: 12px;
  transition: all 0.2s;
}
.sp-related-service:hover { border-color: rgba(252,86,49,0.3); background: rgba(252,86,49,0.04); }
.sp-rs-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(252,86,49,0.1); border: 1px solid rgba(252,86,49,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--orange); flex-shrink: 0;
}
.sp-rs-name { font-size: 13px; font-weight: 700; color: var(--white); }
.sp-rs-desc { font-size: 11px; color: var(--gray); margin-top: 2px; }
.sp-rs-arrow { color: var(--orange); font-size: 13px; margin-left: auto; line-height: 1; }

/* ══════════════════════════════
   AUTHOR BIO
══════════════════════════════ */
.sp-author-section { padding: 64px 0; border-top: 1px solid var(--border); }
.sp-author-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}
.sp-author-img {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 28px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.sp-author-badge { font-size: 10px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.sp-author-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.sp-author-subtitle { font-size: 13px; color: var(--gray); margin-bottom: 14px; }
.sp-author-bio { font-size: 14px; color: rgba(236,236,236,0.75); line-height: 1.8; margin-bottom: 16px; }
.sp-author-socials { display: flex; gap: 10px; }
.sp-author-socials a {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gray); transition: all 0.2s;
}
.sp-author-socials a:hover { border-color: rgba(252,86,49,0.3); color: var(--orange); }
.sp-author-socials i { line-height: 1; }

.sp-author-posts {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  min-width: 220px;
}
.sp-ap-label { font-size: 11px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.sp-ap-item {
  display: block; font-size: 13px; color: rgba(236,236,236,0.75);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  line-height: 1.4; transition: color 0.2s;
}
.sp-ap-item:hover { color: var(--orange); }
.sp-ap-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--orange);
  margin-top: 14px; transition: gap 0.2s;
}
.sp-ap-all:hover { gap: 10px; }
.sp-ap-all i { line-height: 1; font-size: 12px; }

/* ══════════════════════════════
   RELATED POSTS
══════════════════════════════ */
.sp-related { padding: 0 0 80px; }
.sp-related-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.sp-related-head h2 { font-size: 28px; font-weight: 700; }
.sp-related-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--orange);
  transition: gap 0.2s;
}
.sp-related-all:hover { gap: 10px; }
.sp-related-all i { line-height: 1; font-size: 12px; }
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width:1024px){
  .sp-inner { grid-template-columns: 1fr; }
  .sp-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sp-toc { grid-column: 1 / 3; }
  .sp-author-card { grid-template-columns: auto 1fr; }
  .sp-author-posts { display: none; }
  .bl-nl-inner { grid-template-columns: 1fr; gap: 40px; }
  .bl-featured-card { grid-template-columns: 1fr; }
  .bl-fc-img { min-height: 260px; }
  .sp-related-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px){
  .bl-grid { grid-template-columns: 1fr 1fr; }
  .sp-sidebar { grid-template-columns: 1fr; }
  .sp-toc { grid-column: auto; }
  .sp-title { letter-spacing: -1px; }
  .sp-stats-row { grid-template-columns: 1fr; }
  .sp-inline-cta { flex-direction: column; gap: 20px; }
  .sp-related-grid { grid-template-columns: 1fr; }
  .bl-hero { padding: 130px 0 60px; }
  .sp-hero { padding: 120px 0 0; }
  .bl-featured-card { border-radius: 18px; }
  .sp-author-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .sp-author-img { margin: 0 auto; }
}
@media(max-width:480px){
  .bl-grid { grid-template-columns: 1fr; }
  .sp-meta-strip { gap: 10px; }
  .sp-meta-updated { display: none; }
  .sp-featured-img { height: 260px; }
  .bl-cats-bar .container { flex-direction: column; align-items: flex-start; gap: 0; }
  .bl-sort { padding: 10px 0; }
}
