/* =============================================================
   Bamdad Blog — Dark/Neon Article Styles
   Scope: .bamdad-blog-article · .bm-post-* · single-post body
   ============================================================= */

/* ── CSS Variables ─────────────────────────────────────────── */
.bamdad-blog-article {
  --bamdad-bg:          transparent;
  --bamdad-text:        #eef2ff;
  --bamdad-muted:       #a8b0c7;
  --bamdad-soft:        rgba(255,255,255,0.045);
  --bamdad-soft-2:      rgba(109,93,252,0.12);
  --bamdad-border:      rgba(255,255,255,0.10);
  --bamdad-primary:     #8b7cff;
  --bamdad-primary-dk:  #b7adff;
  --bamdad-secondary:   #ff4db8;
  --bamdad-accent:      #20d8ff;
  --bamdad-green:       #4ade80;
  --bamdad-yellow:      #facc15;
  --bamdad-red:         #f87171;
  --bamdad-radius:      22px;
  --bamdad-shadow:      0 18px 55px rgba(0,0,0,0.28);
  --bamdad-shadow-sm:   0 6px 20px rgba(0,0,0,0.18);
}

/* ── Hero section (featured image) ────────────────────────── */
.bm-post-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bm-post-hero__img-wrap {
  position: absolute;
  inset: 0;
}

.bm-post-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(.6) saturate(.85);
  transition: transform 9s ease;
}

.bm-post-hero:hover .bm-post-hero__img {
  transform: scale(1.04);
}

.bm-post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,5,20,.1)  0%,
    rgba(7,5,20,.45) 40%,
    rgba(7,5,20,.93) 100%
  );
}

.bm-post-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 56px;
  max-width: 860px;
}

.bm-post-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bm-post-hero__cat {
  display: inline-block;
  background: rgba(139,92,246,.88);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 30px;
  text-decoration: none !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .18s;
}
.bm-post-hero__cat:hover { background: rgba(139,92,246,1); }

.bm-post-hero__title {
  font-size: clamp(1.65rem, 4.2vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}

.bm-post-hero__byline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.62);
  font-size: .86rem;
  flex-wrap: wrap;
}
.bm-post-hero__sep { opacity: .35; }

.bm-page-hero--no-img { background: transparent; }

/* ── Post meta bar ─────────────────────────────────────────── */
.bm-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 20px;
  margin: 0 0 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  direction: rtl;
}

.bm-post-meta__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

.bm-post-meta__pill svg {
  opacity: .6;
  flex-shrink: 0;
}

.bm-post-meta__pill--muted { color: rgba(255,255,255,.38); }

/* ── Like button ───────────────────────────────────────────── */
.bm-post-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  font-size: .83rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  margin-right: auto;
}

.bm-post-like-btn:hover {
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.5);
  color: #c7bfff;
}

.bm-post-like-btn.is-liked {
  background: rgba(255,77,184,.15);
  border-color: rgba(255,77,184,.5);
  color: #ff9de0;
}

.bm-post-like-btn.is-liked .bm-post-like-btn__icon {
  fill: #ff4db8;
  stroke: #ff4db8;
}

.bm-post-like-btn__icon {
  transition: fill .2s, transform .2s;
  flex-shrink: 0;
}

.bm-post-like-btn.is-liked .bm-post-like-btn__icon {
  transform: scale(1.2);
}

/* Large like button in post footer */
.bm-post-like-btn--large {
  padding: 12px 26px;
  font-size: .95rem;
  gap: 8px;
}

/* ── Post layout ───────────────────────────────────────────── */
.bm-post-layout {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 0;
}

.bm-post-content-section { padding-top: 0; }

.bm-post-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  direction: rtl;
}

.bm-post-footer__cats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE BODY — .bamdad-blog-article
   ════════════════════════════════════════════════════════════ */

.bamdad-blog-article {
  background: transparent;
  color: var(--bamdad-text);
  font-size: 17px;
  line-height: 2.0;
  direction: rtl;
  max-width: 860px;
  padding-bottom: 4px;
}

/* Hide internal <header><h1> — WP theme renders the title */
.bamdad-blog-article > header,
.bamdad-blog-article > article > header,
.bamdad-blog-article h1 { display: none; }

/* ── Typography ────────────────────────────────────────────── */
.bamdad-blog-article p,
.bamdad-blog-article li {
  color: #d2d9f5;
  line-height: 2.05;
}

.bamdad-blog-article .lead {
  font-size: clamp(17px, 2.3vw, 20px);
  line-height: 2;
  color: #eef2ff;
  font-weight: 500;
  margin-bottom: 28px;
}

.bamdad-blog-article h2,
.bamdad-blog-article h3,
.bamdad-blog-article h4,
.bamdad-blog-article h5 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 2.2em;
  margin-bottom: .6em;
}

.bamdad-blog-article h2 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
.bamdad-blog-article h3 { font-size: clamp(1.1rem,  2vw,  1.3rem);  }
.bamdad-blog-article h4 { font-size: 1.05rem; }

.bamdad-blog-article h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--bamdad-primary), var(--bamdad-secondary), var(--bamdad-accent));
}

/* suppress h2 underline inside toc/nav to avoid clutter */
.bamdad-blog-article nav h2::after,
.bamdad-blog-article .toc h2::after { display: none; }

.bamdad-blog-article strong { color: #fff; font-weight: 700; }
.bamdad-blog-article em     { color: var(--bamdad-primary-dk); }

/* ── Links ─────────────────────────────────────────────────── */
.bamdad-blog-article a:not(.bamdad-btn):not(.bamdad-btn-secondary):not(.bm-post-hero__cat) {
  color: var(--bamdad-primary-dk);
  text-decoration: underline;
  text-decoration-color: rgba(183,173,255,.3);
  text-underline-offset: 3px;
  transition: color .17s, text-decoration-color .17s;
}

.bamdad-blog-article a:not(.bamdad-btn):not(.bamdad-btn-secondary):not(.bm-post-hero__cat):hover {
  color: var(--bamdad-secondary);
  text-decoration-color: rgba(255,77,184,.45);
}

/* ── Blockquote ────────────────────────────────────────────── */
.bamdad-blog-article blockquote {
  background: rgba(139,92,246,.10);
  border: 1px solid rgba(139,92,246,.22);
  border-right: 4px solid var(--bamdad-primary);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px 18px 16px;
  margin: 24px 0;
  color: #eef2ff;
  font-style: italic;
}

.bamdad-blog-article blockquote p { color: #eef2ff; margin: 0; }

/* ── Lists ─────────────────────────────────────────────────── */
.bamdad-blog-article ul,
.bamdad-blog-article ol {
  padding-right: 24px;
  padding-left: 0;
  margin: 16px 0 20px;
}

.bamdad-blog-article ul li::marker { color: var(--bamdad-primary); }
.bamdad-blog-article ol li::marker { color: var(--bamdad-accent); font-weight: 700; }

/* ── Images ────────────────────────────────────────────────── */
.bamdad-blog-article img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  display: block;
}

.bamdad-blog-article figure {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 10px 10px 0;
  margin: 28px 0;
  overflow: hidden;
}

.bamdad-blog-article figure img {
  border-radius: 12px;
  border: none;
  width: 100%;
}

.bamdad-blog-article figcaption {
  font-size: .82rem;
  color: rgba(168,176,199,.8);
  text-align: center;
  padding: 10px 12px 12px;
  line-height: 1.6;
}

/* ── Tables ────────────────────────────────────────────────── */
.bamdad-blog-article .table-wrap,
.bamdad-blog-article .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 14px;
}

.bamdad-blog-article table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
  font-size: .92rem;
}

.bamdad-blog-article thead th {
  background: linear-gradient(135deg, rgba(45,36,107,.9), rgba(109,93,252,.85));
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  text-align: right;
  white-space: nowrap;
}

.bamdad-blog-article td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #d2d9f5;
  vertical-align: top;
}

.bamdad-blog-article tbody tr:last-child td { border-bottom: none; }

.bamdad-blog-article tbody tr:hover {
  background: rgba(139,92,246,.07);
}

/* ── Code ──────────────────────────────────────────────────── */
.bamdad-blog-article code {
  background: rgba(139,92,246,.18);
  color: var(--bamdad-primary-dk);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .88em;
  font-family: 'Courier New', monospace;
}

.bamdad-blog-article pre {
  background: rgba(8,6,28,.7);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 14px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 24px 0;
}

.bamdad-blog-article pre code {
  background: none;
  color: #c4cfff;
  padding: 0;
  font-size: .9em;
}

/* ── Horizontal rule ───────────────────────────────────────── */
.bamdad-blog-article hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.4), transparent);
  margin: 36px 0;
}

/* ═══════════════════════════════════════════════════════════════
   REUSABLE BLOCKS
   ════════════════════════════════════════════════════════════ */

/* ── Glass card base ───────────────────────────────────────── */
.bamdad-blog-article .card,
.bamdad-blog-article .info-box,
.bamdad-blog-article .warning-box,
.bamdad-blog-article .success-box,
.bamdad-blog-article .danger-box,
.bamdad-blog-article .note,
.bamdad-blog-article .faq-item {
  background:
    radial-gradient(circle at top right, rgba(139,92,246,.10), transparent 36%),
    rgba(255,255,255,.048);
  border: 1px solid var(--bamdad-border);
  border-radius: var(--bamdad-radius);
  padding: 20px 24px;
  margin: 20px 0;
  backdrop-filter: blur(12px);
}

/* ── Info / Warning / Success / Danger boxes ───────────────── */
.bamdad-blog-article .info-box    { border-right: 4px solid var(--bamdad-accent);     background-color: rgba(32,216,255,.07); }
.bamdad-blog-article .warning-box { border-right: 4px solid var(--bamdad-yellow);     background-color: rgba(250,204,21,.07); }
.bamdad-blog-article .success-box { border-right: 4px solid var(--bamdad-green);      background-color: rgba(74,222,128,.07); }
.bamdad-blog-article .danger-box  { border-right: 4px solid var(--bamdad-red);        background-color: rgba(248,113,113,.07); }

.bamdad-blog-article .info-box    strong { color: var(--bamdad-accent); }
.bamdad-blog-article .warning-box strong { color: var(--bamdad-yellow); }
.bamdad-blog-article .success-box strong { color: var(--bamdad-green); }
.bamdad-blog-article .danger-box  strong { color: var(--bamdad-red); }

/* ── Table of contents / nav ───────────────────────────────── */
.bamdad-blog-article nav,
.bamdad-blog-article .toc {
  background:
    radial-gradient(circle at top right, rgba(139,92,246,.10), transparent 36%),
    rgba(255,255,255,.048);
  border: 1px solid var(--bamdad-border);
  border-radius: var(--bamdad-radius);
  padding: 22px 26px;
  margin: 28px 0;
  backdrop-filter: blur(12px);
}

.bamdad-blog-article nav > p:first-child,
.bamdad-blog-article .toc > p:first-child,
.bamdad-blog-article nav > strong:first-child,
.bamdad-blog-article .toc > strong:first-child {
  display: block;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.bamdad-blog-article nav a,
.bamdad-blog-article .toc a {
  display: block;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 9px 14px;
  margin: 6px 0;
  color: #d0d8ff !important;
  text-decoration: none !important;
  font-size: .9rem;
  transition: background .18s, color .18s, border-color .18s;
}

.bamdad-blog-article nav a:hover,
.bamdad-blog-article .toc a:hover {
  background: rgba(139,92,246,.16);
  border-color: rgba(139,92,246,.3);
  color: #fff !important;
}

/* ── Stats grid ────────────────────────────────────────────── */
.bamdad-blog-article .bamdad-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.bamdad-blog-article .bamdad-stat,
.bamdad-blog-article .stat-card {
  background:
    radial-gradient(circle at top right, rgba(139,92,246,.12), transparent 40%),
    rgba(255,255,255,.05);
  border: 1px solid var(--bamdad-border);
  border-radius: 18px;
  padding: 22px 20px 18px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.bamdad-blog-article .bamdad-stat strong,
.bamdad-blog-article .stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--bamdad-primary), var(--bamdad-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bamdad-blog-article .bamdad-stat span,
.bamdad-blog-article .stat-card span {
  font-size: .82rem;
  color: var(--bamdad-muted);
}

/* ── Cards grid ────────────────────────────────────────────── */
.bamdad-blog-article .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.bamdad-blog-article .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bamdad-blog-article .card h3,
.bamdad-blog-article .card h4 {
  font-size: 1rem;
  margin: 0;
  color: #fff;
}

.bamdad-blog-article .card h3::after,
.bamdad-blog-article .card h4::after { display: none; }

/* ── FAQ items ─────────────────────────────────────────────── */
.bamdad-blog-article .faq-item {
  cursor: pointer;
  user-select: none;
}

.bamdad-blog-article .faq-item summary,
.bamdad-blog-article .faq-item > strong:first-child {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  padding-left: 24px;
  position: relative;
}

.bamdad-blog-article .faq-item summary::after {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  color: var(--bamdad-primary);
  transition: transform .2s;
}

.bamdad-blog-article .faq-item[open] summary::after {
  transform: rotate(45deg);
}

/* ── CTA block ─────────────────────────────────────────────── */
.bamdad-blog-article .bamdad-cta,
.bamdad-blog-article .cta-box {
  display: block;
  margin: 36px 0;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at top left,  rgba(32,216,255,.32), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255,77,184,.30), transparent 36%),
    linear-gradient(135deg, #120e2a, #2d1e73 52%, #5c48e8);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12);
  text-decoration: none;
}

.bamdad-blog-article .bamdad-cta h2,
.bamdad-blog-article .cta-box h2 {
  margin-top: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: #fff;
}

.bamdad-blog-article .bamdad-cta h2::after,
.bamdad-blog-article .cta-box h2::after { display: none; }

.bamdad-blog-article .bamdad-cta p,
.bamdad-blog-article .cta-box p {
  color: rgba(255,255,255,.82);
  margin-bottom: 20px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.bamdad-blog-article .bamdad-btn,
.bamdad-blog-article .bamdad-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: opacity .18s, transform .15s, box-shadow .18s;
}

.bamdad-blog-article .bamdad-btn:hover,
.bamdad-blog-article .bamdad-btn-secondary:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.bamdad-blog-article .bamdad-btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--bamdad-primary), var(--bamdad-secondary));
  box-shadow: 0 8px 24px rgba(139,92,246,.35);
}

.bamdad-blog-article .bamdad-btn-secondary {
  color: rgba(255,255,255,.85) !important;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
}

/* ── Lead section override ─────────────────────────────────── */
.single-post .bm-editor-content.bamdad-blog-article {
  margin-top: 0;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .bm-post-hero           { min-height: 360px; }
  .bm-post-hero__content  { padding-bottom: 36px; padding-top: 80px; }
  .bm-post-hero__title    { font-size: 1.55rem; }

  .bm-post-meta {
    gap: 8px 12px;
    padding: 12px 14px;
  }

  .bm-post-layout { padding-top: 20px; }

  .bamdad-blog-article { font-size: 15.5px; line-height: 1.95; }

  .bamdad-blog-article .bamdad-btn,
  .bamdad-blog-article .bamdad-btn-secondary {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
  }

  .bamdad-blog-article .cards-grid {
    grid-template-columns: 1fr;
  }

  .bamdad-blog-article .bamdad-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bamdad-blog-article table {
    min-width: 360px;
    font-size: .82rem;
  }

  .bamdad-blog-article .table-wrap,
  .bamdad-blog-article .wp-block-table {
    margin: 16px -16px;
    border-radius: 0;
  }

  .bm-post-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bm-post-like-btn--large { width: 100%; justify-content: center; }
}

/* ── Blog pagination ───────────────────────────────────────── */
.bm-pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
  direction: rtl;
}

.bm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0 3px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}

.bm-pagination .page-numbers:hover {
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.4);
  color: #c7bfff;
}

.bm-pagination .page-numbers.current {
  background: linear-gradient(135deg, rgba(139,92,246,.7), rgba(255,77,184,.5));
  border-color: rgba(139,92,246,.5);
  color: #fff;
  cursor: default;
}

.bm-pagination .page-numbers.dots {
  background: none;
  border: none;
  color: rgba(255,255,255,.3);
  min-width: 24px;
}

.bm-pagination .prev.page-numbers,
.bm-pagination .next.page-numbers {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ── Comments ───────────────────────────────────── */
.bm-comments-wrap {
  padding-top: 48px;
  padding-bottom: 64px;
}
.bm-comments-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 28px;
}

/* Comment list */
.bm-comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.bm-comment + .bm-comment { }
.bm-comment.depth-2,
.bm-comment.depth-3 {
  margin-right: 48px;
}
.bm-comment__avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bm-comment__body { flex: 1; min-width: 0; }
.bm-comment__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.bm-comment__author {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}
.bm-comment__date {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.bm-comment__pending {
  font-size: .75rem;
  background: rgba(234,179,8,.15);
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 20px;
}
.bm-comment__text {
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(255,255,255,.8);
}
.bm-comment__text p { margin: 0 0 8px; }
.bm-comment__reply a {
  font-size: .8rem;
  color: rgba(139,92,246,.9);
  text-decoration: none;
  margin-top: 6px;
  display: inline-block;
}
.bm-comment__reply a:hover { text-decoration: underline; }

/* Comment form */
.bm-comment-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bm-comment-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .bm-comment-fields-row { grid-template-columns: 1fr; }
}
.bm-comment-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bm-comment-field label {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.bm-comment-field__note {
  font-weight: 400;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.bm-comment-field input,
.bm-comment-field select {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px;
  color: #fff;
  padding: 10px 14px;
  font-size: .9rem;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.bm-comment-field input:focus,
.bm-comment-field select:focus {
  outline: none;
  border-color: rgba(139,92,246,.8);
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.bm-comment-textarea {
  background: rgba(255,255,255,.06) !important;
  border: 1.5px solid rgba(255,255,255,.15) !important;
  border-radius: 10px;
  color: #fff !important;
  padding: 12px 14px;
  font-size: .9rem;
  width: 100%;
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 16px;
  display: block;
}
.bm-comment-textarea:focus {
  outline: none;
  border-color: rgba(139,92,246,.8) !important;
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.bm-comment-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bm-comment-submit {
  padding: 12px 32px;
  border-radius: 10px;
  background: linear-gradient(135deg,#8b5cf6,#a855f7);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.bm-comment-submit:hover { opacity: .88; transform: translateY(-1px); }
.bm-comments-pagination {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}
.bm-comments-pagination a,
.bm-comments-pagination span {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .85rem;
}
.bm-comments-pagination .current {
  background: rgba(139,92,246,.3);
  border-color: rgba(139,92,246,.5);
  color: #fff;
}
