/* =====================================================
   ACRYLICTUBES.IN — blog-single.css
   ===================================================== */

.nav-active { color: var(--primary) !important; background: var(--light-bg) !important; border-radius: 8px; }

/* ═══════════════════════════════
   READING PROGRESS BAR
═══════════════════════════════ */
.bs-progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(26,111,168,.12);
  z-index: 9999;
}
.bs-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════
   ARTICLE HERO
═══════════════════════════════ */
.bs-hero {
  position: relative;
  margin-top: var(--total-h);
  min-height: 460px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-bottom: 90px;
}
.bs-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  transform: scale(1.04);
  animation: bsHeroZoom 16s ease-in-out infinite alternate;
}
@keyframes bsHeroZoom { from{transform:scale(1.04)} to{transform:scale(1.1)} }
.bs-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,15,30,.95) 0%, rgba(10,25,50,.8) 50%, rgba(10,25,50,.45) 100%);
}
.bs-hero-shape {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 64px; background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.bs-hero-content { position: relative; z-index: 2; padding-top: 32px; max-width: 880px; }

/* Breadcrumb */
.bs-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.bs-breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--ease); }
.bs-breadcrumb a:hover { color: var(--accent); }
.bs-breadcrumb span:first-child, .bs-breadcrumb span:nth-child(3),
.bs-breadcrumb span:nth-child(5) { color: rgba(255,255,255,.3); }
.bs-breadcrumb span:last-child { color: rgba(255,255,255,.8); font-weight: 600; }

/* Badges */
.bs-hero-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.bs-cat-badge {
  background: var(--gradient);
  color: #fff; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 50px;
}
.bs-featured-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: #f59e0b;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
}

/* Hero title */
.bs-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4.5vw, 48px);
  color: #fff; line-height: 1.2;
  margin-bottom: 24px;
}

/* Meta row */
.bs-hero-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
}
.bs-author-card {
  display: flex; align-items: center; gap: 12px;
}
.bs-author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  font-family: 'Outfit', sans-serif;
}
.bs-author-info strong { display: block; font-size: 14px; color: #fff; font-weight: 700; }
.bs-author-info span  { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.bs-meta-items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bs-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: rgba(255,255,255,.65);
}
.bs-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.3); }

/* ═══════════════════════════════
   MAIN LAYOUT
═══════════════════════════════ */
.bs-main { background: #fff; padding: 0 0 72px; }
.bs-layout {
  display: grid;
  grid-template-columns: 52px 1fr 300px;
  gap: 40px;
  align-items: start;
  padding-top: 52px;
}

/* ═══════════════════════════════
   FLOATING SHARE RAIL (left)
═══════════════════════════════ */
.bs-share-rail {
  position: sticky;
  top: calc(var(--total-h) + 32px);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.bsr-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-muted);
  margin-bottom: 4px; writing-mode: vertical-rl;
  transform: rotate(180deg); height: 32px;
}
.bsr-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); text-decoration: none;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
}
.bsr-btn:hover { transform: translateY(-2px) scale(1.05); }
.bsr-wa  { color: #25D366; } .bsr-wa:hover  { background: #25D366; color: #fff; border-color: #25D366; }
.bsr-fb  { color: #1877f2; } .bsr-fb:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.bsr-li  { color: #0a66c2; } .bsr-li:hover  { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.bsr-tw  { color: #000; }    .bsr-tw:hover  { background: #000; color: #fff; border-color: #000; }
.bsr-copy { color: var(--text-muted); } .bsr-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.bsr-copy.copied { background: var(--accent2); color: #fff; border-color: var(--accent2); }
.bsr-sep { width: 100%; height: 1px; background: var(--border); margin: 4px 0; }
.bsr-like { color: var(--text-muted); flex-direction: column; gap: 2px; font-size: 10px; font-weight: 700; height: auto; padding: 8px 0; }
.bsr-like:hover { color: #ef4444; border-color: #fca5a5; background: #fef2f2; }
.bsr-like.liked svg { fill: #ef4444; stroke: #ef4444; }
.bsr-like-count { font-size: 12px; font-weight: 700; color: var(--text-muted); }

/* ═══════════════════════════════
   ARTICLE CONTENT
═══════════════════════════════ */
.bs-article {
  min-width: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

/* Key takeaways */
.bs-key-takeaways {
  background: linear-gradient(135deg, rgba(26,111,168,.06), rgba(0,198,255,.04));
  border: 1px solid rgba(26,111,168,.18);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.bskt-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary);
  margin-bottom: 14px;
}
.bskt-list { padding-left: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bskt-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--text);
}
.bskt-list li::before {
  content: '✓';
  color: var(--accent2);
  font-weight: 800; flex-shrink: 0; margin-top: 1px;
}

/* Lead paragraph */
.bs-lead {
  font-size: 19px; font-weight: 400;
  color: var(--text); line-height: 1.8;
  margin-bottom: 24px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

/* Headings */
.bs-article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--dark); margin: 40px 0 16px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--total-h) + 32px);
}
.bs-article h3 {
  font-size: 18px; font-weight: 700; color: var(--dark);
  margin: 28px 0 12px;
}
.bs-article p { margin-bottom: 20px; }
.bs-article p:last-child { margin-bottom: 0; }

/* Lists */
.bs-list { padding-left: 0; margin: 0 0 24px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bs-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; line-height: 1.7;
}
.bs-list li::before {
  content: '→';
  color: var(--primary); font-weight: 700; flex-shrink: 0;
  margin-top: 2px;
}

.bs-ordered-list { padding-left: 0; margin: 0 0 24px; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: bs-ol; }
.bs-ordered-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; line-height: 1.7; counter-increment: bs-ol;
}
.bs-ordered-list li::before {
  content: counter(bs-ol);
  min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
  margin-top: 2px; font-family: 'Outfit', sans-serif;
}

/* Callout boxes */
.bs-callout {
  display: flex; align-items: flex-start; gap: 14px;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px; line-height: 1.7;
}
.bsc-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bs-callout-tip     { background: rgba(26,111,168,.07); border: 1px solid rgba(26,111,168,.2); color: var(--primary-dark); }
.bs-callout-tip .bsc-icon { background: rgba(26,111,168,.12); color: var(--primary); }
.bs-callout-warning { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); color: #92400e; }
.bs-callout-warning .bsc-icon { background: rgba(245,158,11,.15); color: #d97706; }
.bs-callout-success { background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.25); color: #065f46; }
.bs-callout-success .bsc-icon { background: rgba(37,211,102,.15); color: #16a34a; }

/* Formula box */
.bs-formula-box {
  background: var(--dark); color: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 24px; margin: 24px 0;
}
.bsfb-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 10px; }
.bsfb-formula { font-family: 'Courier New', monospace; font-size: 16px; color: var(--accent); margin-bottom: 12px; }
.bsfb-example { font-size: 13px; color: rgba(255,255,255,.7); }
.bsfb-example strong { color: var(--accent); }

/* Figures */
.bs-figure { margin: 32px 0; }
.bs-figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}
.bs-figure figcaption {
  font-size: 13px; color: var(--text-muted);
  text-align: center; margin-top: 10px;
  font-style: italic;
}

/* Tables */
.bs-table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: var(--shadow); }
.bs-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 500px; }
.bs-table thead th {
  padding: 12px 16px; background: var(--gradient-dark); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  text-align: left;
}
.bs-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--ease); }
.bs-table tbody tr:last-child { border-bottom: none; }
.bs-table tbody tr:hover { background: var(--light-bg); }
.bs-table td { padding: 12px 16px; color: var(--text); }
.bs-table-highlight tbody tr:nth-child(2) td { font-weight: 600; }
.bs-tr-highlight { background: rgba(26,111,168,.05) !important; }
.bs-tr-highlight td:first-child { font-weight: 700; color: var(--primary); }

/* Inline product CTA */
.bs-product-cta {
  display: flex; align-items: center; gap: 16px;
  background: var(--light-bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 20px;
  margin: 28px 0; flex-wrap: wrap;
}
.bs-product-cta img {
  width: 72px; height: 72px; border-radius: 8px;
  object-fit: cover; border: 1px solid var(--border); flex-shrink: 0;
}
.bs-pc-info { flex: 1; min-width: 180px; }
.bs-pc-label { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--accent2); margin-bottom: 3px; }
.bs-pc-info strong { display: block; font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.bs-pc-info span { font-size: 12px; color: var(--text-muted); }
.bs-pc-actions { display: flex; gap: 8px; flex-shrink: 0; }
.bs-pc-view {
  padding: 9px 18px; border-radius: 8px;
  background: #fff; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--primary);
  text-decoration: none; transition: var(--ease);
}
.bs-pc-view:hover { border-color: var(--primary); background: var(--light-bg); }
.bs-pc-enq {
  padding: 9px 18px; border-radius: 8px;
  background: var(--gradient); color: #fff;
  border: none; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: var(--ease); font-family: 'Outfit', sans-serif;
}
.bs-pc-enq:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,111,168,.3); }

/* Article tags */
.bs-article-tags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 24px 0; border-top: 1px solid var(--border); margin-top: 32px;
}
.bs-tag-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.bs-art-tag {
  padding: 5px 13px; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--off-white);
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: var(--ease);
}
.bs-art-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--light-bg); }

/* Share row (bottom) */
.bs-article-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 20px 0; border-top: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-muted);
}
.bs-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bs-sh-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 700; transition: var(--ease);
  text-decoration: none; border: 1.5px solid var(--border); background: #fff;
  cursor: pointer; font-family: 'Outfit', sans-serif;
}
.bs-sh-btn:hover { transform: translateY(-1px); }
.bs-sh-wa  { color: #25D366; } .bs-sh-wa:hover  { background: #25D366; color: #fff; border-color: #25D366; }
.bs-sh-li  { color: #0a66c2; } .bs-sh-li:hover  { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.bs-sh-fb  { color: #1877f2; } .bs-sh-fb:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.bs-sh-copy { color: var(--text-muted); }
.bs-sh-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.bs-sh-copy.copied { background: var(--accent2); color: #fff; border-color: var(--accent2); }

/* Author bio */
.bs-author-bio {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  margin-top: 32px;
}
.bs-bio-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
}
.bs-bio-content { flex: 1; }
.bs-bio-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bs-bio-name-row strong { display: block; font-size: 16px; font-weight: 700; color: var(--dark); }
.bs-bio-name-row span   { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.bs-bio-follow {
  padding: 6px 16px; border-radius: 50px;
  border: 1.5px solid var(--primary); color: var(--primary);
  font-size: 12px; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: var(--ease);
}
.bs-bio-follow:hover { background: var(--primary); color: #fff; }
.bs-bio-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.bs-bio-social { display: flex; gap: 8px; }
.bs-bio-social a {
  width: 32px; height: 32px; border-radius: 8px;
  background: #fff; border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.bs-bio-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Prev / Next nav */
.bs-post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 32px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.bs-nav-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: #fff;
  text-decoration: none; transition: var(--ease);
}
.bs-nav-btn:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.bs-nav-btn svg { flex-shrink: 0; color: var(--primary); }
.bs-nav-prev > div, .bs-nav-next > div { display: flex; flex-direction: column; gap: 3px; }
.bs-nav-next { justify-content: flex-end; text-align: right; }
.bs-nav-btn span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.bs-nav-btn strong { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.4; }

/* ═══════════════════════════════
   RIGHT SIDEBAR
═══════════════════════════════ */
.bs-sidebar {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: calc(var(--total-h) + 24px);
  max-height: calc(100vh - var(--total-h) - 48px);
  overflow-y: auto;
  scrollbar-width: none;
}
.bs-sidebar::-webkit-scrollbar { display: none; }
.bs-sb-block {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
}
.bs-sb-block h4 {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--dark);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* TOC */
.bs-toc { display: flex; flex-direction: column; gap: 2px; }
.bs-toc-link {
  display: block;
  padding: 7px 10px; border-radius: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: var(--ease);
  border-left: 2px solid transparent;
}
.bs-toc-link:hover { color: var(--primary); background: var(--light-bg); border-left-color: var(--primary-light); }
.bs-toc-link.active { color: var(--primary); font-weight: 700; background: var(--light-bg); border-left-color: var(--primary); }

/* Stats */
.bs-stats-block { padding: 16px 20px !important; }
.bs-stat-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.bs-stat-row:last-child { border-bottom: none; }
.bs-stat-row svg { color: var(--primary); flex-shrink: 0; }

/* Related product sidebar card */
.bs-sb-product { padding: 0 !important; overflow: hidden; }
.bs-sbp-img { height: 140px; overflow: hidden; }
.bs-sbp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bs-sb-product:hover .bs-sbp-img img { transform: scale(1.05); }
.bs-sbp-body { padding: 16px; }
.bs-sbp-cat { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--accent2); display: block; margin-bottom: 4px; }
.bs-sbp-body h5 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.bs-sbp-body p  { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.bs-sbp-actions { display: flex; gap: 8px; }
.bs-sbp-view {
  flex: 1; padding: 8px; border-radius: 7px;
  background: var(--off-white); border: 1.5px solid var(--border);
  color: var(--primary); font-size: 12px; font-weight: 700;
  text-decoration: none; text-align: center; transition: var(--ease);
}
.bs-sbp-view:hover { border-color: var(--primary); }
.bs-sbp-enq {
  flex: 1; padding: 8px; border-radius: 7px;
  background: var(--gradient); color: #fff; border: none;
  font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: var(--ease);
}
.bs-sbp-enq:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(26,111,168,.3); }

/* Newsletter */
.bs-sb-newsletter { background: var(--gradient-dark) !important; border-color: transparent !important; text-align: center; }
.bs-sb-newsletter h4 { color: rgba(255,255,255,.6) !important; border-color: rgba(255,255,255,.1) !important; }
.bs-nl-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--accent); margin: 0 auto 12px; }
.bs-sb-newsletter p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 12px; }
.bs-nl-form { display: flex; flex-direction: column; gap: 8px; }
.bs-nl-input {
  padding: 9px 12px; border: none; border-radius: 7px;
  font-size: 13px; font-family: 'Outfit', sans-serif;
  background: rgba(255,255,255,.12); color: #fff; outline: none;
}
.bs-nl-input::placeholder { color: rgba(255,255,255,.4); }
.bs-nl-input:focus { background: rgba(255,255,255,.2); }
.bs-nl-btn {
  padding: 9px; background: var(--accent); color: #fff; border: none;
  border-radius: 7px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: var(--ease); font-family: 'Outfit', sans-serif;
  margin-bottom: 8px;
}
.bs-nl-btn:hover { background: #00aadd; }
.bs-nl-note { font-size: 11px; color: rgba(255,255,255,.35); display: block; }

/* CTA sidebar block */
.bs-sb-cta { position: relative; min-height: 180px; padding: 0 !important; overflow: hidden; display: flex; align-items: flex-end; }
.bs-sb-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bs-sb-cta-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,15,35,.96) 40%, rgba(5,15,35,.55) 100%); }
.bs-sb-cta-body { position: relative; z-index: 2; padding: 20px; width: 100%; }
.bs-sb-cta-body h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.bs-sb-cta-body p  { font-size: 12px; color: rgba(255,255,255,.65); margin-bottom: 12px; line-height: 1.5; }
.bs-sb-cta-btn {
  display: block; padding: 10px 16px; border-radius: 8px;
  background: var(--gradient); color: #fff; border: none;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: var(--ease); font-family: 'Outfit', sans-serif;
  text-align: center; margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(26,111,168,.4);
}
.bs-sb-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,111,168,.5); }
.bs-sb-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px; border-radius: 8px;
  background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.3);
  color: #4ade80; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: var(--ease);
}
.bs-sb-wa-btn:hover { background: #25D366; color: #fff; border-color: #25D366; }

/* ═══════════════════════════════
   COMMENTS
═══════════════════════════════ */
.bs-comments-section { background: var(--off-white); padding: 64px 0; }
.bs-comments-wrap { max-width: 820px; }
.bs-comments-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; color: var(--dark); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.bs-cmt-count {
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--primary);
  background: var(--light-bg); padding: 4px 14px; border-radius: 50px;
}

.bs-comment-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.bs-comment {
  display: flex; gap: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.bs-cmt-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
}
.bs-cmt-body { flex: 1; }
.bs-cmt-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 10px;
}
.bs-cmt-head strong { font-size: 14px; font-weight: 700; color: var(--dark); }
.bs-cmt-date { font-size: 12px; color: var(--text-muted); }
.bs-cmt-badge {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  background: var(--light-bg); color: var(--primary);
  padding: 2px 10px; border-radius: 50px;
}
.bs-author-badge { background: rgba(26,111,168,.15); color: var(--primary-dark); }
.bs-cmt-body > p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.bs-cmt-actions { display: flex; align-items: center; gap: 12px; }
.bs-cmt-like, .bs-cmt-reply-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  font-family: 'Outfit', sans-serif; transition: var(--ease); padding: 0;
}
.bs-cmt-like:hover { color: #ef4444; }
.bs-cmt-reply-btn:hover { color: var(--primary); }

/* Replies */
.bs-reply {
  display: flex; gap: 12px;
  background: var(--off-white); border-radius: var(--radius-sm);
  padding: 16px; margin-top: 16px;
}
.bs-reply-avatar { width: 34px !important; height: 34px !important; font-size: 11px !important; }
.bs-reply .bs-cmt-body > p { font-size: 13px; }

/* Comment form */
.bs-comment-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow);
}
.bs-comment-form-wrap h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: var(--dark); margin-bottom: 6px;
}
.bs-cmt-form-note { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.bs-cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.bs-cf-field { display: flex; flex-direction: column; gap: 6px; }
.bs-cf-field label {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .5px;
}
.bs-cf-field label span { color: #ef4444; }
.bs-cf-input, .bs-cf-textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 14px;
  font-family: 'Outfit', sans-serif;
  background: var(--off-white); color: var(--text);
  transition: var(--ease); width: 100%;
}
.bs-cf-input:focus, .bs-cf-textarea:focus {
  outline: none; border-color: var(--primary);
  background: #fff; box-shadow: 0 0 0 3px rgba(26,111,168,.08);
}
.bs-cf-textarea { resize: vertical; min-height: 120px; margin-bottom: 16px; }
.bs-cf-notify {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  margin-bottom: 20px; user-select: none;
}
.bs-cf-notify input { display: none; }
.bs-cf-chk {
  width: 17px; height: 17px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); font-size: 10px; color: #fff;
}
.bs-cf-notify input:checked ~ .bs-cf-chk { background: var(--primary); border-color: var(--primary); }
.bs-cf-notify input:checked ~ .bs-cf-chk::after { content: '✓'; font-weight: 800; }
.bs-cf-submit {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--gradient); color: #fff;
  border: none; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: var(--ease); font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 16px rgba(26,111,168,.3);
}
.bs-cf-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,111,168,.42); }

/* ═══════════════════════════════
   RELATED ARTICLES
═══════════════════════════════ */
.bs-related-section { background: #fff; padding: 72px 0; }
.bs-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
}
.bs-rel-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--ease);
}
.bs-rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.bs-rel-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.bs-rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bs-rel-card:hover .bs-rel-img img { transform: scale(1.06); }
.bs-rel-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--gradient); color: #fff;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 50px;
}
.bs-rel-cat-tips    { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.bs-rel-cat-science { background: linear-gradient(135deg,#38b2ac,#2d9e9e); }
.bs-rel-body { padding: 18px; }
.bs-rel-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.bs-rel-body h4 { font-family: 'DM Serif Display',serif; font-size: 16px; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.bs-rel-body h4 a { color: inherit; transition: var(--ease); }
.bs-rel-body h4 a:hover { color: var(--primary); }
.bs-rel-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.bs-rel-link { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; transition: var(--ease); }
.bs-rel-link:hover { color: var(--accent); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1100px) {
  .bs-layout { grid-template-columns: 0 1fr 270px; gap: 28px; }
  .bs-share-rail { display: none; }
}
@media (max-width: 900px) {
  .bs-layout { grid-template-columns: 1fr; }
  .bs-sidebar { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; overflow: visible; }
  .bs-sb-block { flex: 1 1 260px; }
  .bs-related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .bs-hero { min-height: 360px; }
  .bs-hero-title { font-size: 26px; }
  .bs-hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bs-post-nav { grid-template-columns: 1fr; }
  .bs-cf-row-2 { grid-template-columns: 1fr; }
  .bs-comment { flex-direction: column; gap: 10px; }
  .bs-author-bio { flex-direction: column; }
  .bs-bio-name-row { flex-direction: column; }
  .bs-related-grid { grid-template-columns: 1fr; }
  .bs-sidebar { flex-direction: column; }
  .bs-sb-block { flex: 1 1 100%; }
}
