/* FitRonix Blog — professional magazine layout */
.blog-page.blog-page--mag .blog-main {
  padding-top: var(--fx-header-h, 72px);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 280px);
}

.blog-mag-container {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

/* ── Hero ── */
.blog-mag-hero {
  padding: 40px 0 0;
  border-bottom: 1px solid #e8edf3;
  background:
    radial-gradient(ellipse 90% 70% at 85% -10%, rgba(255, 102, 0, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(30, 111, 217, 0.07), transparent 50%);
}

.blog-mag-hero-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
}

.blog-mag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1e6fd9;
  background: rgba(30, 111, 217, 0.08);
  border: 1px solid rgba(30, 111, 217, 0.14);
  margin-bottom: 16px;
}

.blog-mag-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  color: #001a33;
  letter-spacing: -0.02em;
}

.blog-mag-hero-lead {
  margin: 0 0 22px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.85;
  color: #64748b;
}

.blog-mag-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  padding: 4px 4px 4px 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.blog-mag-search:focus-within {
  border-color: #ff6600;
  box-shadow: 0 6px 24px rgba(255, 102, 0, 0.1);
}

.blog-mag-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #1e293b;
  min-width: 0;
}

.blog-mag-search input::placeholder { color: #94a3b8; }

.blog-mag-search-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #ff6600;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
}

.blog-mag-search-btn:hover { background: #ff8533; }

.blog-mag-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.blog-mag-stat {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.blog-mag-stat-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #001a33;
  line-height: 1.2;
}

.blog-mag-stat-lbl {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* Category strip */
.blog-mag-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 20px;
  border-top: 1px solid #eef2f6;
}

.blog-mag-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.blog-mag-cat:hover {
  border-color: #cbd5e1;
  color: #001a33;
}

.blog-mag-cat.on {
  background: #001a33;
  border-color: #001a33;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 26, 51, 0.15);
}

/* ── Featured ── */
.blog-mag-featured {
  padding: 28px 0 8px;
}

.blog-mag-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8edf3;
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-mag-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.blog-mag-featured-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  font-size: 72px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}

.blog-mag-featured-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 26, 51, 0.35));
  pointer-events: none;
}

.blog-mag-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #ff6600;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.blog-mag-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}

.blog-mag-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-mag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.blog-mag-pill--cat {
  color: #1e6fd9;
  background: rgba(30, 111, 217, 0.1);
}

.blog-mag-pill--video {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

.blog-mag-pill--article {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.blog-mag-featured-body h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.45;
  color: #001a33;
}

.blog-mag-featured-body h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.blog-mag-featured-body h2 a:hover { color: #ff6600; }

.blog-mag-featured-body p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.85;
  color: #64748b;
}

.blog-mag-featured-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.blog-mag-featured-foot-main {
  flex: 1;
  min-width: 0;
}

.blog-mag-featured-foot-main .blog-card-v2-foot {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.blog-mag-featured-excerpt {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.85;
  color: #64748b;
}

.blog-mag-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

.blog-mag-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #001a33, #0a3d6b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.blog-mag-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  background: #ff6600;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.28);
  transition: background 0.15s, transform 0.12s;
}

.blog-mag-read-btn:hover {
  background: #ff8533;
  transform: translateY(-1px);
}

/* ── Layout ── */
.blog-mag-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 24px 64px;
  align-items: start;
}

.blog-mag-sidebar {
  position: sticky;
  top: calc(var(--fx-header-h, 72px) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-mag-panel {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.blog-mag-panel h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #001a33;
}

.blog-mag-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-mag-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.blog-mag-filter-item:hover {
  background: #f8fafc;
  color: #001a33;
}

.blog-mag-filter-item.on {
  background: rgba(255, 102, 0, 0.08);
  color: #ff6600;
  font-weight: 600;
}

.blog-mag-filter-count {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  min-width: 1.5em;
  text-align: center;
}

.blog-mag-filter-item.on .blog-mag-filter-count { color: #ff6600; }

.blog-mag-toggles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.blog-mag-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.blog-mag-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #ff6600;
}

.blog-mag-cta {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, #001a33, #0a2540);
  color: #fff;
  text-align: center;
}

.blog-mag-cta h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.blog-mag-cta p {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.blog-mag-cta a {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 10px;
  background: #ff6600;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* ── Feed toolbar ── */
.blog-mag-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f6;
}

.blog-mag-toolbar h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #001a33;
}

.blog-mag-results {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

.blog-mag-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e8edf3;
}

.blog-mag-sort-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.blog-mag-sort-btn:hover { color: #001a33; }

.blog-mag-sort-btn.on {
  background: #fff;
  color: #001a33;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* ── Grid cards ── */
.blog-mag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.blog-mag-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.blog-mag-card:hover {
  transform: translateY(-3px);
  border-color: #dbe3ec;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

.blog-mag-card-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  font-size: 48px;
  text-decoration: none;
  background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
  overflow: hidden;
}

.blog-mag-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 26, 51, 0.04));
  opacity: 0;
  transition: opacity 0.2s;
}

.blog-mag-card:hover .blog-mag-card-thumb::after { opacity: 1; }

.blog-mag-card-type {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

.blog-mag-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.blog-mag-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.blog-mag-read-time {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.blog-mag-card-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: #001a33;
}

.blog-mag-card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.blog-mag-card-body h3 a:hover { color: #ff6600; }

.blog-mag-card-body p {
  margin: 0 0 14px;
  flex: 1;
  font-size: 13px;
  line-height: 1.75;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-mag-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #94a3b8;
}

.blog-mag-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Empty state */
.blog-mag-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed #dbe3ec;
}

.blog-mag-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.blog-mag-empty h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #001a33;
}

.blog-mag-empty p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .blog-mag-hero-top { grid-template-columns: 1fr; }
  .blog-mag-stats { grid-template-columns: repeat(3, 1fr); }
  .blog-mag-featured-card { grid-template-columns: 1fr; }
  .blog-mag-featured-visual { min-height: 200px; }
  .blog-mag-layout { grid-template-columns: 1fr; }
  .blog-mag-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .blog-mag-cta { grid-column: 1 / -1; }
}

  @media (max-width: 768px) {
  .blog-mag-container { padding-inline: 16px; }
  .blog-mag-layout { padding-inline: 16px; }
  .blog-mag-grid { grid-template-columns: 1fr; }
  .blog-mag-sidebar { grid-template-columns: 1fr; }
  .blog-mag-stats { grid-template-columns: 1fr 1fr 1fr; }
  .blog-mag-featured-body { padding: 24px 20px; }
  .blog-mag-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 12px; }
  .blog-mag-toolbar { flex-direction: column; align-items: flex-start; }
  .blog-mag-sort { width: 100%; }
  .blog-mag-sort-btn { flex: 1; text-align: center; }
}

/* ── Single post (magazine) ── */
.blog-post-page.blog-page--mag .blog-post-main {
  padding-top: var(--fx-header-h, 72px);
  background: transparent;
}

body.blog-post-page.site-body--fitronix .site-header--fitronix {
  border-bottom: none;
  box-shadow: none;
}

.blog-mag-loading {
  text-align: center;
  padding: 80px 24px;
  color: #94a3b8;
}

/* Post page — loading & header FOUC fix */
body.blog-post-page .site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eceff3;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

body.blog-post-page .site-header:not(.site-header--fitronix) {
  height: var(--fx-header-h, 72px);
}

.blog-post-main--boot {
  min-height: calc(100vh - var(--fx-header-h, 72px));
  display: grid;
  place-items: center;
  background: #f3f4f6;
}

.blog-post-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px;
}

.blog-post-loading__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 102, 0, 0.15);
  border-top-color: #ff6600;
  animation: blog-post-loading-spin 0.75s linear infinite;
}

.blog-post-loading__text {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

@keyframes blog-post-loading-spin {
  to { transform: rotate(360deg); }
}

.blog-mag-post-empty {
  text-align: center;
  padding: 80px 24px;
}

.blog-mag-post-hero {
  padding: 32px 0 28px;
  background:
    radial-gradient(ellipse 80% 60% at 90% -20%, rgba(255, 102, 0, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e8edf3;
}

.blog-mag-post-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.blog-mag-post-crumb a {
  color: #64748b;
  text-decoration: none;
}

.blog-mag-post-crumb a:hover { color: #ff6600; }

.blog-mag-post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-mag-post-title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.4;
  color: #001a33;
  max-width: 820px;
}

.blog-mag-post-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #64748b;
  max-width: 720px;
}

.blog-mag-post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e8edf3;
}

.blog-mag-author-avatar--lg {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.blog-mag-post-byline .blog-mag-author-row strong {
  display: block;
  font-size: 14px;
  color: #001a33;
}

.blog-mag-post-byline .blog-mag-author-row span {
  font-size: 12px;
  color: #94a3b8;
}

.blog-mag-post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.blog-mag-post-cover-wrap {
  padding: 0 0 32px;
  background: #f8fafc;
}

.blog-mag-post-cover {
  position: relative;
  border-radius: 20px;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e8edf3 0%, #f1f5f9 50%, #fff 100%);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.blog-mag-post-cover--video {
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
}

.blog-mag-post-cover-emoji {
  font-size: clamp(64px, 12vw, 96px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.blog-mag-post-cover--video .blog-mag-post-cover-emoji {
  opacity: 0.9;
}

.blog-mag-post-play {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  padding-right: 4px;
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.4);
  pointer-events: none;
}

.blog-post-cover-play {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  text-align: inherit;
  font: inherit;
  color: inherit;
}

.blog-post-cover-play:focus-visible {
  outline: 2px solid #ff6600;
  outline-offset: 3px;
}

.blog-post-cover-play.blog-post-hero-cover,
.blog-post-cover-play.blog-mag-post-cover {
  border-radius: inherit;
}

.blog-mag-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding-bottom: 56px;
  align-items: start;
}

.blog-mag-post-main {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8edf3;
  padding: 32px;
}

.blog-mag-post-summary {
  padding: 20px 24px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 111, 217, 0.06), rgba(255, 102, 0, 0.04));
  border: 1px solid rgba(30, 111, 217, 0.12);
}

.blog-mag-post-summary strong {
  display: block;
  font-size: 13px;
  color: #1e6fd9;
  margin-bottom: 8px;
}

.blog-mag-post-summary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
}

.blog-mag-post-toc {
  margin-bottom: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
}

/* ── TOC v2 — فهرست مطالب پست ── */
.blog-mag-post-toc--v2 {
  position: relative;
  margin-bottom: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 102, 0, 0.12);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(255, 102, 0, 0.07), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #fffbf7 48%, #fff7ed 100%);
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

.blog-mag-post-toc--v2::before {
  content: '';
  position: absolute;
  inset-block: 14px;
  inset-inline-end: 0;
  width: 3px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #ff8533 0%, #ff6600 100%);
  opacity: 0.85;
}

.blog-mag-post-toc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 12px;
}

.blog-mag-post-toc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ff6600;
  background: linear-gradient(145deg, rgba(255, 237, 213, 0.95) 0%, rgba(255, 247, 237, 0.7) 100%);
  border: 1px solid rgba(255, 102, 0, 0.14);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.blog-mag-post-toc-icon .blog-ico {
  opacity: 0.95;
}

.blog-mag-post-toc-head-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.blog-mag-post-toc-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.blog-mag-post-toc-count {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  background: rgba(255, 237, 213, 0.75);
  border: 1px solid rgba(255, 102, 0, 0.14);
  transition: background 0.2s, color 0.2s;
}

.blog-mag-post-toc--active .blog-mag-post-toc-count {
  color: #9a3412;
  background: rgba(255, 237, 213, 0.95);
}

.blog-mag-post-toc-progress {
  height: 4px;
  margin: 0 18px 14px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.85);
  overflow: hidden;
}

.blog-mag-post-toc-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb366 0%, #ff6600 100%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.35);
}

.blog-mag-post-toc-list {
  margin: 0;
  padding: 0 14px 14px;
  list-style: none;
  counter-reset: blog-toc;
}

.blog-mag-post-toc-item {
  counter-increment: blog-toc;
  margin-bottom: 6px;
  transition:
    opacity 0.28s ease,
    max-height 0.32s ease,
    margin 0.32s ease,
    transform 0.28s ease;
  max-height: 52px;
  overflow: hidden;
}

.blog-mag-post-toc-item:last-child {
  margin-bottom: 0;
}

.blog-mag-post-toc-item--passed {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  transform: translateY(-4px) scale(0.98);
  pointer-events: none;
}

.blog-mag-post-toc-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.blog-mag-post-toc-item a::before {
  content: counter(blog-toc, decimal-leading-zero);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #ff6600;
  background: rgba(255, 247, 237, 0.95);
  border: 1px solid rgba(255, 102, 0, 0.12);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.blog-mag-post-toc-item a:hover {
  color: #c2410c;
  background: #fff;
  border-color: rgba(255, 102, 0, 0.18);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.08);
  transform: translateY(-1px);
}

.blog-mag-post-toc-item a:hover::before {
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ff6600);
  border-color: transparent;
  transform: scale(1.05);
}

.blog-mag-post-toc-link-text {
  min-width: 0;
  flex: 1;
}

.blog-mag-post-toc-item.blog-mag-post-toc-h3 a {
  padding-inline-start: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.blog-mag-post-toc-item.blog-mag-post-toc-h3 a::before {
  width: 24px;
  height: 24px;
  font-size: 10px;
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.95);
  color: #64748b;
}

.blog-mag-post-toc--complete .blog-mag-post-toc-head {
  padding-bottom: 10px;
}

.blog-mag-post-toc-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 14px 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 237, 213, 0.65) 100%);
  border: 1px solid rgba(255, 102, 0, 0.18);
  color: #c2410c;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-mag-post-toc-done-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ff8533, #ff6600);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.35);
}

/* legacy toc (non-v2) */
.blog-mag-post-toc:not(.blog-mag-post-toc--v2) .blog-mag-post-toc-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #001a33;
}

.blog-mag-post-toc:not(.blog-mag-post-toc--v2) ol {
  margin: 0;
  padding: 0 20px 0 0;
  list-style: decimal;
}

.blog-mag-post-toc:not(.blog-mag-post-toc--v2) li {
  margin-bottom: 6px;
  font-size: 13px;
}

.blog-mag-post-toc:not(.blog-mag-post-toc--v2) li.blog-mag-post-toc-h3 {
  margin-right: 16px;
  list-style: circle;
}

.blog-mag-post-toc:not(.blog-mag-post-toc--v2) a {
  color: #475569;
  text-decoration: none;
}

.blog-mag-post-toc:not(.blog-mag-post-toc--v2) a:hover { color: #ff6600; }

.blog-mag-post-content {
  font-size: 16px;
  line-height: 1.9;
  color: #475569;
}

.blog-mag-post-content h2,
.blog-mag-post-content h3 {
  color: #001a33;
  margin: 28px 0 12px;
  font-weight: 700;
  scroll-margin-top: calc(var(--fx-header-h, 72px) + 16px);
}

.blog-mag-post-content h3 { font-size: 1.1rem; }

.blog-mag-post-content p { margin: 0 0 16px; }

.blog-mag-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e8edf3;
}

.blog-mag-post-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.blog-mag-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1e6fd9;
  background: rgba(30, 111, 217, 0.08);
  border: 1px solid rgba(30, 111, 217, 0.14);
  text-decoration: none;
}

.blog-mag-tag:hover {
  background: rgba(255, 102, 0, 0.08);
  border-color: rgba(255, 102, 0, 0.2);
  color: #ff6600;
}

.blog-mag-post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #001a33 0%, #1e3a5f 100%);
  color: #fff;
}

.blog-mag-post-cta strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.blog-mag-post-cta p {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
  max-width: 420px;
}

.blog-mag-post-author-box {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
}

.blog-mag-post-author-box strong {
  display: block;
  font-size: 14px;
  color: #001a33;
  margin-bottom: 6px;
}

.blog-mag-post-author-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
}

.blog-mag-post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8edf3;
  font-size: 13px;
  color: #94a3b8;
}

.blog-mag-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.blog-mag-share-btn:hover {
  border-color: #ff6600;
  color: #ff6600;
  background: rgba(255, 102, 0, 0.06);
}

.blog-mag-post-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--fx-header-h, 72px) + 16px);
}

.blog-mag-post-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-mag-post-info li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.blog-mag-post-info li:last-child { border-bottom: none; }

.blog-mag-post-info span { color: #94a3b8; }

.blog-mag-post-info strong { color: #001a33; font-weight: 600; }

.blog-mag-post-related-mini {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-mag-post-related-mini li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.blog-mag-post-related-mini li:last-child { border-bottom: none; }

.blog-mag-post-related-mini a {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  text-decoration: none;
}

.blog-mag-post-related-mini a:hover { color: #ff6600; }

.blog-mag-read-btn--block {
  display: block;
  text-align: center;
  width: 100%;
}

.blog-mag-related {
  padding: 48px 0 64px;
  background: #fff;
  border-top: 1px solid #e8edf3;
}

.blog-mag-section-title {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #001a33;
}

.blog-mag-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .blog-mag-post-layout { grid-template-columns: 1fr; }
  .blog-mag-post-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .blog-mag-grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .blog-mag-post-main { padding: 24px 20px; }
  .blog-mag-post-aside { grid-template-columns: 1fr; }
  .blog-mag-grid--3 { grid-template-columns: 1fr; }
  .blog-mag-post-byline { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════
   Minimal design system (v2)
   ══════════════════════════════════════════ */
.blog-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.blog-page--minimal .blog-main {
  background: #fafbfc;
}

.blog-page--minimal.blog-post-page .blog-post-main {
  background: transparent;
}

.blog-page--minimal .blog-mag-hero {
  padding-top: 28px;
  background: #fff;
  border-bottom: 1px solid #eceff3;
}

.blog-page--minimal .blog-mag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.blog-page--minimal .blog-mag-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.blog-page--minimal .blog-mag-search {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: none;
  border-color: #e5e9ef;
}

.blog-page--minimal .blog-mag-search-btn {
  border-radius: 8px;
  background: #111827;
}

.blog-page--minimal .blog-mag-search-btn:hover { background: #1f2937; }

.blog-page--minimal .blog-mag-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: none;
  background: #fafbfc;
  border-color: #eceff3;
}

.blog-page--minimal .blog-mag-stat .blog-ico { color: #94a3b8; }

.blog-page--minimal .blog-mag-cat {
  border-radius: 10px;
  border-color: #e5e9ef;
  font-size: 12px;
  gap: 6px;
}

.blog-page--minimal .blog-mag-cat.on {
  background: #111827;
  border-color: #111827;
  box-shadow: none;
}

.blog-page--minimal .blog-mag-cat .blog-ico { opacity: 0.7; }

.blog-page--minimal .blog-mag-panel {
  border-radius: 14px;
  border-color: #eceff3;
  box-shadow: none;
}

.blog-page--minimal .blog-mag-cta {
  background: #111827;
  border-radius: 14px;
}

/* Pills with icons */
.blog-mag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-mag-pill .blog-ico { opacity: 0.85; }

/* Card v2 — minimal reference style */
.blog-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.blog-card-v2:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
  border-color: #dde3ea;
}

.blog-card-v2:hover .blog-card-v2-engage {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-color: #e2e8f0;
}

.blog-card-v2-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.blog-card-v2-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 26, 51, 0.06));
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}

.blog-card-v2:hover .blog-card-v2-thumb::after { opacity: 1; }

.blog-card-v2-emoji {
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1;
  transition: transform 0.22s;
}

.blog-card-v2:hover .blog-card-v2-emoji { transform: scale(1.05); }

.blog-card-v2-play {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.blog-card-v2-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-card-v2-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.blog-card-v2-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  color: #111827;
  text-align: right;
}

.blog-card-v2-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.blog-card-v2-body h3 a:hover { color: #ff6600; }

.blog-card-v2-excerpt {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-v2-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f3f5;
}

.blog-card-v2-foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-card-v2-author {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  color: #6b7280;
}

.blog-card-v2-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-card-v2-author .blog-mag-author-avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
  flex-shrink: 0;
}

.blog-card-v2-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Engagement metrics bar */
.blog-card-v2-engage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f5f7 100%);
  border: 1px solid #eef1f5;
  transition: background 0.2s, border-color 0.2s;
}

.blog-card-v2-engage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  min-width: 0;
  padding: 2px 0;
}

.blog-card-v2-engage-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  color: #9ca3af;
  border: 1px solid #eceff3;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.blog-card-v2-engage-item:nth-child(1) .blog-card-v2-engage-ico { color: #3b82f6; }
.blog-card-v2-engage-item:nth-child(2) .blog-card-v2-engage-ico { color: #ef4444; }
.blog-card-v2-engage-item:nth-child(3) .blog-card-v2-engage-ico { color: #8b5cf6; }
.blog-card-v2-engage-item:nth-child(4) .blog-card-v2-engage-ico { color: #10b981; }

.blog-card-v2:hover .blog-card-v2-engage-item:nth-child(1) .blog-card-v2-engage-ico {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.blog-card-v2:hover .blog-card-v2-engage-item:nth-child(2) .blog-card-v2-engage-ico {
  background: #fef2f2;
  border-color: #fecaca;
}
.blog-card-v2:hover .blog-card-v2-engage-item:nth-child(3) .blog-card-v2-engage-ico {
  background: #f5f3ff;
  border-color: #ddd6fe;
}
.blog-card-v2:hover .blog-card-v2-engage-item:nth-child(4) .blog-card-v2-engage-ico {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.blog-card-v2-engage-val {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.blog-card-v2-engage-lbl {
  font-size: 9px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.02em;
}

.blog-page--minimal .blog-mag-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-page--minimal .blog-mag-feed-wrap {
  padding: 28px 0 64px;
}

.blog-page--minimal .blog-mag-featured {
  padding: 24px 0 12px;
}

.blog-card-v2--featured {
  grid-template-columns: minmax(260px, 40%) 1fr;
  display: grid;
}

.blog-card-v2--featured .blog-mag-featured-visual {
  aspect-ratio: auto;
  min-height: 220px;
  border-radius: 0;
}

.blog-card-v2--featured .blog-mag-featured-body h2 {
  text-align: right;
}

.blog-card-v2--featured .blog-card-v2-body h3 { text-align: right; }

/* Post — minimal single column */
.blog-mag-post-narrow {
  max-width: 760px;
}

.blog-mag-post--minimal .blog-mag-post-hero {
  background: #fff;
  border-bottom: none;
  padding-bottom: 20px;
}

.blog-mag-post--minimal .blog-mag-post-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.blog-mag-post--minimal .blog-mag-post-lead {
  font-size: 15px;
  color: #6b7280;
}

.blog-mag-post--minimal .blog-mag-post-byline {
  border-top: none;
  padding-top: 0;
}

.blog-mag-post--minimal .blog-mag-post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #9ca3af;
}

.blog-mag-post--minimal .blog-mag-post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-mag-post--minimal .blog-mag-post-cover {
  border-radius: 14px;
  min-height: 240px;
  margin-bottom: 32px;
  border: 1px solid #eceff3;
  background: #f3f5f7;
}

.blog-mag-post--minimal .blog-mag-post-cover--video {
  background: linear-gradient(160deg, #1f2937, #374151);
}

.blog-mag-post--minimal .blog-mag-post-play {
  background: #fff;
  color: #111827;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-mag-post-article {
  padding-bottom: 48px;
}

.blog-mag-post--minimal .blog-mag-post-toc {
  background: #fff;
  border-color: #eceff3;
  border-radius: 12px;
  margin-bottom: 28px;
}

.blog-mag-post--minimal .blog-mag-post-content {
  font-size: 15px;
  line-height: 1.95;
  color: #4b5563;
}

.blog-mag-post--minimal .blog-mag-post-content h2,
.blog-mag-post--minimal .blog-mag-post-content h3 {
  color: #111827;
  font-weight: 600;
}

/* Community card — tags + comments unified */
.blog-post-flow .blog-post-community-card {
  margin-top: 20px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(4px);
}

.blog-post-community-card {
  margin-top: 36px;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

.blog-post-community-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid #eef1f5;
  background: linear-gradient(135deg, #fafbfc 0%, #fff 100%);
}

.blog-post-community-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-post-community-sub {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.blog-post-community-head-actions {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.blog-post-community-head-actions .blog-post-social-bar {
  padding: 0;
  border: none;
  gap: 2px;
  justify-content: flex-end;
}

.blog-post-community-head-actions .blog-post-social-item {
  height: 34px;
  border-radius: 999px;
  background: #f3f5f7;
}

.blog-post-community-head-actions .blog-post-social-item:hover {
  background: #eceff3;
}

.blog-post-community-head-actions .blog-post-social-meta {
  font-size: 12px;
  padding-inline-start: 8px;
}

.blog-post-community-body {
  padding: 20px;
}

.blog-post-community-tags {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #e8ecf1;
}

.blog-post-community-tags:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-post-community-body .blog-comments--in-card:first-child .blog-comments-title {
  margin-top: 0;
}

/* Related posts card — tile grid */
.blog-post-flow .blog-post-related-card {
  margin-top: 20px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(4px);
}

.blog-post-related-card {
  margin-top: 28px;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

.blog-post-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #eef1f5;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.blog-post-related-head-text h2 {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-post-related-head-text p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.blog-post-related-more {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.blog-post-related-more:hover { color: #ff6600; }

.blog-post-related-body {
  padding: 16px;
}

.blog-related-tile-grid {
  display: grid;
  gap: 12px;
}

.blog-related-tile-grid--cols-1 { grid-template-columns: 1fr; }
.blog-related-tile-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-related-tile-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.blog-related-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid #eceff3;
  border-radius: 12px;
  background: #fafbfc;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.blog-related-tile:hover {
  border-color: #ffd4b8;
  background: #fff;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.08);
  transform: translateY(-2px);
}

.blog-related-tile-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #f1f3f5;
  border: 1px solid #e8ecf1;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.blog-related-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-related-tile-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.blog-related-tile-cat {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.blog-related-tile-cat--training { color: #ea580c; }
.blog-related-tile-cat--nutrition { color: #ca8a04; }
.blog-related-tile-cat--lifestyle { color: #92400e; }
.blog-related-tile-cat--mindset { color: #dc2626; }
.blog-related-tile-cat--default { color: #6b7280; }

.blog-related-tile-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-related-tile:hover .blog-related-tile-title { color: #ff6600; }

.blog-related-tile-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #9ca3af;
}

.blog-related-tile-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-related-tile-meta .blog-ico { opacity: 0.7; }

/* Sidebar — continue learning */
.blog-side-learn-card--training .blog-side-learn-head--training {
  background: linear-gradient(135deg, #fff4eb 0%, #fff 100%);
}

.blog-side-learn-card--nutrition .blog-side-learn-head--nutrition {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.blog-side-learn-card--lifestyle .blog-side-learn-head--lifestyle {
  background: linear-gradient(135deg, #faf5f0 0%, #fff 100%);
}

.blog-side-learn-card--mindset .blog-side-learn-head--mindset {
  background: linear-gradient(135deg, #fff1f2 0%, #fff 100%);
}

.blog-side-learn-card--default .blog-side-learn-head--default {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.blog-side-learn-head {
  gap: 10px;
}

.blog-side-learn-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 102, 0, 0.12);
  color: #ff6600;
  flex-shrink: 0;
}

.blog-side-learn-hero {
  display: flex;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  transition: background 0.15s;
}

.blog-side-learn-hero:hover {
  background: #f8fafc;
}

.blog-side-learn-hero-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #f1f3f5;
  border: 1px solid #eceff3;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.blog-side-learn-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-side-learn-hero-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.blog-side-learn-hero-cat {
  font-size: 10px;
  font-weight: 700;
  color: #ff6600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.blog-side-learn-hero-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-side-learn-hero:hover .blog-side-learn-hero-title { color: #ff6600; }

.blog-side-learn-hero-excerpt {
  font-size: 11px;
  line-height: 1.5;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-side-learn-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  color: #9ca3af;
}

.blog-side-learn-picks {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f3f5;
}

.blog-side-learn-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #f8fafc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  transition: background 0.12s, color 0.12s;
}

.blog-side-learn-pick:last-child { border-bottom: none; }

.blog-side-learn-pick:hover {
  background: #f8fafc;
  color: #ff6600;
}

.blog-side-learn-pick-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6600;
}

.blog-side-learn-pick-title {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-side-learn-pick .blog-ico {
  flex-shrink: 0;
  opacity: 0.45;
  color: #9ca3af;
}

.blog-side-learn-foot {
  padding: 12px 14px 14px;
  border-top: 1px solid #f1f3f5;
  background: #fafbfc;
}

.blog-side-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ff6600;
  text-decoration: none;
  transition: gap 0.15s;
}

.blog-side-learn-more:hover { gap: 6px; }

.blog-side-learn-lead {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

/* Post sidebar widgets — learn + program (redesign) */
.blog-aside-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.85);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.blog-aside-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(241, 245, 249, 0.95);
}

.blog-aside-card__head-text {
  flex: 1;
  min-width: 0;
}

.blog-aside-card__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
}

.blog-aside-card__desc {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

.blog-aside-card__badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 102, 0, 0.12);
  color: #ff6600;
  border: 1px solid rgba(255, 102, 0, 0.16);
}

.blog-aside-card__body {
  padding: 14px 16px 16px;
}

.blog-aside-card__body--flush {
  padding: 0;
}

.blog-aside-card__lead {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.75;
  color: #6b7280;
}

.blog-aside-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6600, #ff8533);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.blog-aside-card__cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
  background: linear-gradient(135deg, #e85d00, #ff6600);
}

.blog-aside-card__cta--soft {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  box-shadow: none;
}

.blog-aside-card__cta--soft:hover {
  background: #ffedd5;
  color: #9a3412;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.12);
}

.blog-aside-card--training .blog-aside-card__head {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.65) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.blog-aside-card--training .blog-aside-card__badge {
  background: rgba(255, 102, 0, 0.14);
  color: #ea580c;
  border-color: rgba(255, 102, 0, 0.2);
}

.blog-aside-card--nutrition .blog-aside-card__head {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.65) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.blog-aside-card--nutrition .blog-aside-card__badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.blog-aside-card--lifestyle .blog-aside-card__head {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.65) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.blog-aside-card--lifestyle .blog-aside-card__badge {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.2);
}

.blog-aside-card--mindset .blog-aside-card__head {
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.65) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.blog-aside-card--mindset .blog-aside-card__badge {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.18);
}

.blog-aside-card__featured {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.blog-aside-card__featured:hover {
  background: rgba(248, 250, 252, 0.9);
}

.blog-aside-card__featured-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eceff3;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.blog-aside-card__featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-aside-card__featured-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.blog-aside-card__featured-cat {
  font-size: 10px;
  font-weight: 700;
  color: #ff6600;
}

.blog-aside-card__featured-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-aside-card__featured:hover .blog-aside-card__featured-title {
  color: #ff6600;
}

.blog-aside-card__featured-excerpt {
  font-size: 11px;
  line-height: 1.55;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-aside-card__featured-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  color: #9ca3af;
}

.blog-aside-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #f1f5f9;
}

.blog-aside-card__list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid #f8fafc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  transition: background 0.12s ease, color 0.12s ease;
}

.blog-aside-card__list-item:last-child {
  border-bottom: none;
}

.blog-aside-card__list-item:hover {
  background: #f8fafc;
  color: #ff6600;
}

.blog-aside-card__list-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6600;
}

.blog-aside-card__list-title {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-aside-card__list-item .blog-ico {
  flex-shrink: 0;
  opacity: 0.45;
  color: #9ca3af;
}

.blog-aside-card__foot {
  padding: 12px 16px 14px;
  border-top: 1px solid #f1f5f9;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.blog-aside-card--program {
  border-color: rgba(255, 102, 0, 0.18);
  background: linear-gradient(165deg, #fffaf5 0%, #fff 48%, #fff7ed 100%);
}

.blog-aside-card__program-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 88px;
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(255, 102, 0, 0.14), transparent 62%),
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(251, 191, 36, 0.1), transparent 55%);
  pointer-events: none;
}

.blog-aside-card__head--program {
  position: relative;
  z-index: 1;
  border-bottom-color: rgba(255, 237, 213, 0.8);
  background: transparent;
}

.blog-aside-card__badge--program {
  background: linear-gradient(145deg, #ff6600, #ff8533);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.28);
  font-size: 14px;
}

.blog-aside-card--program .blog-aside-card__body {
  position: relative;
  z-index: 1;
}

.blog-aside-card__checks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-aside-card__checks li {
  position: relative;
  padding-right: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #4b5563;
}

.blog-aside-card__checks li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  color: #ff6600;
  font-weight: 800;
  font-size: 11px;
}

.blog-post-aside-widgets .bl-offer {
  border-radius: 16px;
}

/* Engage: social + tags + comments */
.blog-post-engage {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #eceff3;
}

.blog-post-social-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 12px 0 20px;
  border-bottom: 1px solid #eceff3;
}

.blog-post-social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: color 0.15s, background 0.15s;
}

.blog-post-social-item:hover {
  color: #374151;
  background: #f3f5f7;
}

.blog-post-like-btn.is-liked {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.blog-post-like-btn.is-liked .blog-ico {
  fill: currentColor;
  stroke: currentColor;
}

.blog-post-social-meta {
  margin-inline-start: auto;
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

.blog-post-social-label {
  font-size: 11px;
  margin-inline-start: 4px;
}

.blog-post-social-sep {
  width: 1px;
  height: 20px;
  background: #e5e9ef;
  margin: 0 6px;
}

.blog-post-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid #eceff3;
}

.blog-post-tags-row--content {
  margin-top: 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid #eceff3;
}

.blog-post-tags-row--card {
  margin: 0;
  padding: 0;
  border: none;
}

.blog-post-tags-row--card .blog-tag-pill {
  background: #fff;
  border-color: #e8ecf1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.blog-post-tags-row--card .blog-tag-pill:hover {
  border-color: #ff6600;
  color: #ff6600;
  background: #fff8f3;
}

.blog-post-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.blog-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag-pill {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.15s;
}

.blog-tag-pill:hover {
  background: #fff;
  border-color: #d1d5db;
  color: #111827;
}

/* Comments */
.blog-comments {
  padding: 28px 0 0;
}

.blog-comments--pro {
  margin-top: 32px;
  padding-top: 0;
}

.blog-comments--in-card {
  margin-top: 0;
  padding-top: 0;
}

.blog-comments--in-card .blog-comments-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
}

.blog-comments--in-card .blog-comments-form-wrap {
  border-color: #e5e9ef;
  border-radius: 12px;
  box-shadow: none;
}

.blog-comments--in-card .blog-comments-feed {
  margin-top: 24px;
}

.blog-comments--in-card .blog-comments-feed-title {
  font-size: 0.92rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.blog-comments-title {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-comments h2 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.blog-comments-form-wrap {
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.blog-comments-feed {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.blog-comments-feed-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceff3;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-comment-form {
  padding: 22px 22px 20px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: #fff;
}

.blog-comment-form-row--identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.blog-comment-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.blog-comment-field--message {
  margin-bottom: 16px;
}

.blog-comment-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.blog-comment-label em {
  font-style: normal;
  color: #ef4444;
}

.blog-comment-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-comment-input-wrap input {
  width: 100%;
  padding: 11px 44px 11px 12px;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.blog-comment-input-wrap .blog-comment-avatar {
  position: absolute;
  inset-inline-end: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #9ca3af;
  background: #f3f4f6;
  pointer-events: none;
}

.blog-comment-field input,
.blog-comment-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  resize: vertical;
}

.blog-comment-field textarea {
  min-height: 132px;
  line-height: 1.75;
}

.blog-comment-field input:focus,
.blog-comment-field textarea:focus,
.blog-comment-input-wrap input:focus {
  outline: none;
  border-color: #9ca3af;
}

.blog-comment-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #f1f3f5;
}

.blog-comment-captcha {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}

.blog-comment-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-comment-captcha-q {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  direction: ltr;
  white-space: nowrap;
}

.blog-comment-captcha input {
  width: 80px;
  padding: 10px 12px;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  text-align: center;
  background: #fff;
}

.blog-comment-captcha input:focus {
  outline: none;
  border-color: #9ca3af;
}

.blog-comment-submit {
  padding: 11px 24px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.blog-comment-submit:hover {
  border-color: #111827;
  color: #111827;
  background: #fafbfc;
}

.blog-comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: none;
}

.blog-comment-card {
  padding: 20px 0;
  border-bottom: 1px solid #eceff3;
}

.blog-comment-card:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.blog-comment-card--pinned {
  padding: 16px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 55%);
  border: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
}

.blog-comment-card-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
}

.blog-comment-card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-comment-card-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  padding-inline-start: 54px;
}

.blog-comment-card-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.blog-comment-card-ident {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.blog-comment-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.blog-comment-card-time {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.4;
}

.blog-comment-tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s;
}

.blog-comment-tool:hover {
  color: #4b5563;
}

.blog-comment-tool--replies {
  padding: 4px 0;
  color: #6b7280;
  font-weight: 500;
}

.blog-comment-tool--like.is-liked {
  color: #ef4444;
}

.blog-comment-tool--like.is-liked .blog-ico {
  fill: currentColor;
  stroke: currentColor;
}

.blog-comment-card-text {
  margin: 0;
  padding-inline-start: 54px;
  font-size: 14px;
  line-height: 1.9;
  color: #374151;
  white-space: pre-line;
}

.blog-comment-reply-box {
  margin: 12px 0 0 54px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.blog-comment-reply-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.blog-comment-reply-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #4b5563;
}

.blog-comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid #f1f3f5;
  border-radius: 0;
  background: transparent;
}

.blog-comment-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.blog-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.blog-comment-head strong {
  font-size: 13px;
  color: #111827;
}

.blog-comment-head time {
  font-size: 11px;
  color: #9ca3af;
}

.blog-comment-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #4b5563;
}

.blog-comment-empty {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  padding: 24px;
}

.blog-mag-post-cta--minimal {
  margin-top: 32px;
  border-radius: 14px;
  background: #111827;
}

/* Related — bottom grid like reference */
.blog-mag-related--minimal {
  background: #fafbfc;
  border-top: 1px solid #eceff3;
  padding: 40px 0 56px;
}

.blog-mag-related--minimal .blog-mag-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-related-grid .blog-card-v2-body h3 {
  font-size: 13px;
  min-height: 2.9em;
}

@media (max-width: 1024px) {
  .blog-page--minimal .blog-mag-grid,
  .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-page--minimal .blog-mag-grid,
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-comment-form-row--identity { grid-template-columns: 1fr; }
  .blog-card-v2--featured { grid-template-columns: 1fr; }
  .blog-card-v2-engage { padding: 8px 4px; }
  .blog-card-v2-engage-ico { width: 24px; height: 24px; }
  .blog-card-v2-engage-val { font-size: 11px; }
  .blog-card-v2-engage-lbl { font-size: 8px; }
}

/* ══ Post split layout (main + left sidebar) ══ */
.blog-mag-post--split .blog-mag-post-hero {
  background: #fff;
  border-bottom: 1px solid #eceff3;
  padding-bottom: 24px;
}

.blog-post-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, var(--blog-aside-w, 300px));
  gap: var(--blog-aside-gap, 24px);
  align-items: start;
  padding: 16px 0 48px;
  max-width: none;
  margin-inline: auto;
}

.blog-mag-post--pro .blog-post-split {
  padding-top: 0;
}

.blog-post-main-col {
  min-width: 0;
  position: relative;
}

.blog-post-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}

.blog-post-pdf-btn:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

.blog-post-pdf-btn--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.blog-post-pdf-btn--primary:hover {
  border-color: #ff6600;
  background: #ff6600;
  color: #fff;
  transform: translateY(-1px);
}

.blog-post-pdf-btn .blog-ico {
  opacity: 0.85;
  flex-shrink: 0;
}

.blog-post-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.blog-post-flow .blog-post-aside-block > .blog-side-rail-card {
  border-color: rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.blog-post-flow .blog-post-side-panel__media .blog-post-hero-cover {
  border-color: rgba(229, 231, 235, 0.75);
}

.blog-post-aside-block {
  width: 100%;
  min-width: 0;
}

.blog-post-aside-block--offer > * {
  overflow: visible;
}

/* Sidebar rail cards — هم‌عرض پنل هیرو */
.blog-side-rail-card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #eef1f5;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.blog-side-rail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f3f5;
  background: #f8fafc;
}

.blog-side-rail-head--deal {
  background: linear-gradient(135deg, #fff0f2 0%, #fff7f8 55%, #fff 100%);
  border-bottom-color: #ffe4e8;
}

.blog-side-rail-head--program {
  background: linear-gradient(135deg, #fff7ed 0%, #fffaf5 55%, #fff 100%);
  border-bottom-color: #ffedd5;
}

.blog-side-rail-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ef4056 0%, #ff6b7a 100%);
  box-shadow: 0 3px 10px rgba(239, 64, 86, 0.22);
}

.blog-side-rail-ico--muted {
  background: #fff;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.blog-side-rail-ico--program {
  background: linear-gradient(145deg, #ff6600 0%, #ff8533 100%);
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.22);
}

.blog-side-rail-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: #111827;
}

.blog-side-rail-body {
  padding: 14px;
}

.blog-side-rail-body--flush {
  padding: 0;
}

.blog-side-widget {
  padding: 20px;
  border: 1px solid #eceff3;
  border-radius: 14px;
  background: #fff;
}

.blog-post-sidebar-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f3f5;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.blog-side-related-stack {
  display: flex;
  flex-direction: column;
}

.blog-side-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f3f5;
  text-decoration: none;
  transition: background 0.15s;
}

.blog-side-related-item:last-child {
  border-bottom: none;
}

.blog-side-related-item:hover {
  background: #f8fafc;
}

.blog-side-related-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #f3f5f7;
  border: 1px solid #eceff3;
  display: grid;
  place-items: center;
  font-size: 22px;
  overflow: hidden;
}

.blog-side-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-side-related-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.blog-side-related-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-side-related-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #9ca3af;
}

.blog-side-related-meta .blog-ico { opacity: 0.7; }

/* Sidebar deal / featured product */
.blog-side-deal-media {
  display: block;
  text-decoration: none;
}

.blog-side-deal-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #eceff3;
  overflow: hidden;
}

.blog-side-deal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

.blog-side-deal-thumb .blog-product-emoji {
  font-size: 48px;
}

.blog-side-deal-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  text-align: center;
}

.blog-side-deal-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
  text-decoration: none;
}

.blog-side-deal-name:hover { color: #ef4056; }

.blog-side-deal-price {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.blog-side-deal-price small {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
}

.blog-side-deal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ef4056;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  box-sizing: border-box;
}

.blog-side-deal-btn:hover {
  background: #dc2626;
  color: #fff;
  transform: translateY(-1px);
}

.blog-side-deal-btn--dark {
  background: #111827;
}

.blog-side-deal-btn--dark:hover {
  background: #374151;
}

.blog-side-deal-btn--program {
  margin-top: 12px;
  border: none;
  background: linear-gradient(135deg, #ff6600, #ff8533);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.22);
}

.blog-side-deal-btn--program:hover {
  background: linear-gradient(135deg, #e85d00, #ff6600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.28);
}

.blog-side-program-text {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.7;
  color: #6b7280;
}

.blog-post-source {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #f1f3f5;
  font-size: 13px;
  color: #6b7280;
}

.blog-post-source a {
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.blog-post-source a:hover { color: #ff6600; }

.blog-post-products-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0;
  margin: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.blog-post-products-row::-webkit-scrollbar {
  height: 4px;
}

.blog-post-products-row::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.blog-product-card--row {
  flex: 0 0 148px;
  scroll-snap-align: start;
  min-width: 0;
  padding: 10px;
  border: 1px solid #eceff3;
  border-radius: 10px;
  background: #fafbfc;
}

.blog-product-card--row:hover {
  border-color: #d1d5db;
  background: #fff;
  box-shadow: none;
}

.blog-product-card--row .blog-product-thumb {
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #fff;
}

.blog-mag-post--split {
  background: transparent;
  padding-bottom: 48px;
}

/* Magazine intro box (before products) */
.blog-mag-intro {
  position: relative;
  margin: 20px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.blog-mag-intro-site {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.blog-mag-intro-site:hover {
  color: #111827;
  background: #f3f4f6;
}

.blog-mag-intro-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.blog-mag-intro-logo-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #e5e7eb;
}

.blog-mag-intro-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-mag-intro-body {
  flex: 1;
  min-width: 0;
}

.blog-mag-intro-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.5;
}

.blog-mag-intro-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.85;
  color: #6b7280;
}

.blog-mag-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 0, 0.22);
  background: rgba(255, 247, 237, 0.9);
  color: #c2410c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-mag-intro-cta:hover {
  background: #ff6600;
  border-color: #ff6600;
  color: #fff;
}

@media (max-width: 640px) {
  .blog-mag-intro {
    padding: 18px 16px 16px;
  }

  .blog-mag-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .blog-mag-intro-site {
    top: 12px;
    left: 12px;
  }
}

/* Products after article */
.blog-post-products {
  margin: 36px 0 0;
  padding: 0;
  border-top: none;
}

.blog-post-products--bottom {
  margin-top: 40px;
}

.blog-post-products-box {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.blog-post-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #eceff3;
  background: #fff;
}

.blog-post-products-body {
  padding: 14px 18px 16px;
}

.blog-post-products--empty .blog-post-products-body {
  padding: 18px;
}

.blog-post-products-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.blog-post-products-head a {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
}

.blog-post-products-head a:hover { color: #ff6600; }

.blog-post-products-grid {
  display: grid;
  gap: 14px;
}

.blog-post-products-grid--cols-1 { grid-template-columns: 1fr; }
.blog-post-products-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-post-products-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-post-products-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.blog-post-products-grid--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.blog-post-products-grid--cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.blog-product-card--grid {
  min-width: 0;
  height: 100%;
}

.blog-product-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #eceff3;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.blog-product-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.blog-product-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.blog-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.blog-product-emoji {
  font-size: 36px;
  line-height: 1;
}

.blog-product-name {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  color: #374151;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-product-price {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.blog-product-price small {
  font-size: 10px;
  font-weight: 500;
  color: #9ca3af;
}

.blog-post-products--empty {
  text-align: center;
  padding: 28px 20px;
  border: 1px dashed #e5e9ef;
  border-radius: 14px;
  background: #fafbfc;
}

.blog-post-products-hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}

.blog-mag-post--split .blog-mag-post-cover {
  margin-bottom: 28px;
}

.blog-mag-post--split .blog-post-engage {
  margin-top: 0;
  padding-top: 28px;
  border-bottom: 1px solid #eceff3;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .blog-post-products-grid--cols-4,
  .blog-post-products-grid--cols-5,
  .blog-post-products-grid--cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .blog-post-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blog-post-layout--split {
    display: block;
    padding: 18px 16px 22px;
  }
  .blog-post-layout__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .blog-post-layout--split .blog-post-aside-rail,
  .blog-post-layout--split .blog-post-aside-col {
    position: static;
    order: 1;
    height: auto;
    max-height: none;
    width: 100%;
    max-width: none;
    flex: none;
  }
  .blog-post-layout--split .blog-post-aside-pin-col {
    position: static;
  }
  .blog-post-layout--split .blog-post-aside-widgets {
    order: 2;
    position: static;
    top: auto;
    margin-top: 0;
  }
  .blog-post-layout--split .blog-post-aside-pin {
    position: static;
    top: auto;
  }
  .blog-post-layout--split .blog-post-main-stack {
    order: 3;
  }
  .blog-related-tile-grid--cols-2,
  .blog-related-tile-grid--cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .blog-post-community-head {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-post-community-head-actions {
    justify-content: flex-start;
  }
  .blog-side-related-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .blog-side-related-item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 560px) {
  .blog-post-products-grid,
  .blog-post-products-grid--cols-2,
  .blog-post-products-grid--cols-3,
  .blog-post-products-grid--cols-4,
  .blog-post-products-grid--cols-5,
  .blog-post-products-grid--cols-6,
  .blog-side-related-stack,
  .blog-related-tile-grid--cols-2,
  .blog-related-tile-grid--cols-3 {
    grid-template-columns: 1fr;
  }
  .blog-post-community-body { padding: 16px; }
  .blog-post-related-body { padding: 12px; }
}

/* ══ DK-style category bar & filters (mag-6) ══ */
.blog-mag-hero--compact {
  padding: 24px 0 16px;
  background: #fff;
  border-bottom: none;
}

.blog-mag-hero-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.blog-mag-hero--compact .blog-mag-hero-copy {
  flex: 1 1 auto;
  max-width: 640px;
  min-width: 0;
}

.blog-mag-offer-rail {
  flex: 0 0 272px;
  width: 272px;
  max-width: 272px;
  min-width: 0;
  align-self: flex-end;
  padding-top: 54px;
}

.blog-mag-offer-widget {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ffd6dc;
  box-shadow: 0 8px 28px rgba(239, 64, 86, 0.1);
}

.blog-mag-offer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff0f2 0%, #fff7f8 50%, #fff 100%);
  border-bottom: 1px solid #ffe4e8;
}

.blog-mag-offer-head-ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ef4056 0%, #ff6b7a 100%);
  box-shadow: 0 4px 12px rgba(239, 64, 86, 0.28);
}

.blog-mag-offer-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: #1f1f23;
  text-align: right;
  letter-spacing: 0;
}

.blog-mag-offer-more {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 64, 86, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: #ef4056;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-mag-offer-more:hover {
  background: #ef4056;
  border-color: #ef4056;
  color: #fff;
}

.blog-mag-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.blog-mag-offer-pct {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4056;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(239, 64, 86, 0.28);
}

.blog-mag-offer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.blog-mag-offer-link:hover h3 { color: #ef4056; }

.blog-mag-offer-visual {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ffe0e5;
  display: grid;
  place-items: center;
  font-size: 28px;
  overflow: hidden;
}

.blog-mag-offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}

.blog-mag-offer-body {
  flex: 1;
  min-width: 0;
}

.blog-mag-offer-body h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
}

.blog-mag-offer-prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-mag-offer-old {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
}

.blog-mag-offer-price {
  font-size: 14px;
  font-weight: 800;
  color: #ef4056;
  line-height: 1.3;
}

.blog-mag-offer-price small {
  font-size: 10px;
  font-weight: 600;
}

.blog-mag-offer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-mag-offer-view,
.blog-mag-offer-buy {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-mag-offer-view {
  border: 1px solid #e0e0e6;
  background: #fff;
  color: #3f4043;
  text-decoration: none;
}

.blog-mag-offer-view:hover {
  border-color: #ef4056;
  color: #ef4056;
}

.blog-mag-offer-buy {
  border: 1px solid #ef4056;
  background: #fff;
  color: #ef4056;
}

.blog-mag-offer-buy:hover {
  background: #ef4056;
  color: #fff;
}

@media (max-width: 1100px) {
  .blog-mag-offer-rail { display: none; }
}

.blog-mag-hero--compact h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 14px;
}

.blog-list-toolbar,
.blog-post-toolbar {
  padding: 16px 0 0;
  background: transparent;
}

.blog-cat-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0 16px;
  border-bottom: 1px solid #eceff3;
}

.blog-cat-bar--unified {
  padding: 0 0 16px;
  margin: 0 0 4px;
  border-bottom: 1px solid #eef1f5;
  background: transparent;
}

.blog-post-hero-card > .blog-cat-bar--unified {
  margin-bottom: 16px;
}

.blog-cat-bar-label {
  flex-shrink: 0;
  padding-top: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.blog-cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
  align-items: center;
}

/* Unified nav pills — دسته‌ها + تگ‌های هیرو */
.blog-mag-pill--nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

a.blog-mag-pill--nav:hover,
button.blog-mag-pill--nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.blog-mag-pill--nav .blog-ico {
  opacity: 0.9;
  flex-shrink: 0;
}

.blog-mag-pill--nav.blog-mag-pill--all {
  color: #4b5563;
  background: #f3f5f7;
  border-color: #e5e9ef;
}

.blog-mag-pill--nav.blog-mag-pill--all.is-on {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.blog-mag-pill--nav.blog-mag-pill--training {
  color: #c2410c;
  background: rgba(255, 102, 0, 0.1);
  border-color: rgba(255, 102, 0, 0.18);
}

.blog-mag-pill--nav.blog-mag-pill--training.is-on {
  color: #9a3412;
  background: rgba(255, 102, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 102, 0, 0.12);
}

.blog-mag-pill--nav.blog-mag-pill--nutrition {
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.18);
}

.blog-mag-pill--nav.blog-mag-pill--nutrition.is-on {
  color: #065f46;
  background: rgba(5, 150, 105, 0.2);
  border-color: rgba(5, 150, 105, 0.35);
}

.blog-mag-pill--nav.blog-mag-pill--lifestyle {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.18);
}

.blog-mag-pill--nav.blog-mag-pill--lifestyle.is-on {
  color: #1e40af;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.35);
}

.blog-mag-pill--nav.blog-mag-pill--mindset {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.18);
}

.blog-mag-pill--nav.blog-mag-pill--mindset.is-on {
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.35);
}

.blog-mag-pill--nav.blog-mag-pill--default {
  color: #374151;
  background: #f8fafc;
  border-color: #e5e9ef;
}

.blog-mag-pill--nav.blog-mag-pill--article {
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.18);
}

.blog-mag-pill--nav.blog-mag-pill--video {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.18);
}

.blog-mag-pill--nav.blog-mag-pill--featured {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
}

.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.blog-cat-pill:hover {
  border-color: #cbd5e1;
  color: #111827;
}

.blog-cat-pill.on {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.blog-cat-pill-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f3f5f7;
  flex-shrink: 0;
}

.blog-cat-pill.on .blog-cat-pill-ico {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.blog-cat-pill .blog-ico { opacity: 0.85; }

.blog-card-v2-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 20px;
  border-bottom: 1px solid #eceff3;
}

.blog-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.blog-filter-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

.blog-filter-field select {
  border: none;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  padding: 4px 20px 4px 4px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
}

.blog-filter-field select:focus {
  outline: none;
  border-bottom-color: #111827;
}

.blog-results-count {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.blog-results-count strong {
  color: #111827;
  font-weight: 700;
}

.blog-mag-feed-wrap {
  padding: 24px 0 56px;
}

/* ══ DK-style single post ══ */
.blog-mag-post--dk {
  background: #fff;
  padding-bottom: 48px;
}

.blog-post-single {
  max-width: 820px;
  margin-inline: auto;
  padding: 24px 0 0;
}

.blog-crumb-dk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.blog-crumb-dk a {
  color: #6b7280;
  text-decoration: none;
}

.blog-crumb-dk a:hover { color: #111827; }

.blog-crumb-dk span:last-child {
  color: #9ca3af;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-ico--chevron {
  opacity: 0.45;
  transform: scaleX(-1);
}

.blog-post-title-dk {
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  color: #111827;
}

.blog-post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f3f5;
  font-size: 13px;
  color: #6b7280;
}

.blog-post-meta-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-weight: 600;
}

.blog-post-meta-author .blog-mag-author-avatar {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.blog-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-post-meta-read strong {
  color: #111827;
  font-weight: 600;
}

.blog-mag-post-cover--dk {
  width: 100%;
  border-radius: 16px;
  min-height: 320px;
  margin-bottom: 32px;
  border: none;
  background: #f3f5f7;
}

.blog-mag-post-cover--dk.blog-mag-post-cover--video {
  background: linear-gradient(160deg, #1f2937, #374151);
}

.blog-post-content--dk {
  font-size: 15px;
  line-height: 1.95;
  color: #374151;
  text-align: right;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.blog-post-content--dk h2,
.blog-post-content--dk h3,
.blog-post-content--dk h4 {
  color: #111827;
  font-weight: 700;
  text-align: right;
  margin: 1.35em 0 0.5em;
  font-size: 1.08rem;
  line-height: 1.55;
}

.blog-post-content--dk h2 { font-size: 1.12rem; }

.blog-post-content--dk p {
  margin: 0 0 1em;
  text-align: right;
}

.blog-post-content--dk [dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.blog-post-content--dk [dir="rtl"][style*="text-align"],
.blog-post-content--dk [style*="text-align: right"],
.blog-post-content--dk [style*="text-align:right"] {
  text-align: right;
}

.blog-post-content--dk [style*="text-align: center"],
.blog-post-content--dk [style*="text-align:center"] {
  text-align: center;
}

.blog-post-content--dk [style*="text-align: left"],
.blog-post-content--dk [style*="text-align:left"] {
  text-align: left;
}

.blog-post-content--dk [style*="text-align: justify"],
.blog-post-content--dk [style*="text-align:justify"] {
  text-align: justify;
  text-align-last: right;
}

.blog-post-content--dk a {
  color: #008cff;
  text-decoration: none;
}

.blog-post-content--dk a:hover {
  text-decoration: underline;
}

/* Pro article layout */
.blog-mag-post--pro {
  background: transparent;
  --blog-aside-w: 300px;
  --blog-aside-gap: 24px;
  position: relative;
  isolation: isolate;
}

.blog-mag-post--pro::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 92% 0%, rgba(255, 102, 0, 0.1), transparent 52%),
    radial-gradient(ellipse 70% 50% at 5% 12%, rgba(59, 130, 246, 0.08), transparent 48%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(251, 191, 36, 0.07), transparent 55%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 251, 247, 0.45) 14%,
      rgba(255, 247, 237, 0.38) 32%,
      rgba(254, 243, 199, 0.22) 52%,
      rgba(241, 245, 249, 0.42) 72%,
      rgba(226, 232, 240, 0.55) 100%);
}

.blog-mag-post--pro > * {
  position: relative;
  z-index: 1;
}

/* ══ Blog post — standard article layout ══ */
.blog-mag-post--article {
  --blog-aside-w: 300px;
  --blog-aside-gap: 28px;
  background: #eef1f5;
  padding: 12px 0 56px;
}

.blog-post-shell {
  width: min(100%, 1140px);
  margin-inline: auto;
}

.blog-post-flow {
  border-radius: 20px;
  border: 1px solid rgba(255, 102, 0, 0.1);
  background:
    radial-gradient(ellipse 90% 55% at 100% 0%, rgba(255, 102, 0, 0.1), transparent 58%),
    radial-gradient(ellipse 70% 45% at 0% 8%, rgba(255, 102, 0, 0.06), transparent 52%),
    linear-gradient(
      180deg,
      rgba(255, 237, 213, 0.55) 0%,
      rgba(255, 247, 237, 0.28) 22%,
      rgba(255, 255, 255, 0.72) 48%,
      rgba(255, 255, 255, 0.94) 78%,
      #ffffff 100%
    );
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  overflow: visible;
}

.blog-post-head {
  margin-bottom: 0;
  padding: 22px 24px 18px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  background: transparent;
  box-shadow: none;
}

.blog-post-head--v2 {
  padding: 20px 24px 18px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 102, 0, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.35) 100%);
}

.blog-post-head--v2 .blog-post-head__top {
  margin-bottom: 10px;
}

.blog-post-head--v2 > .blog-cat-bar--unified,
.blog-post-head--v2 .blog-post-head__top > .blog-cat-bar--unified {
  margin: 0 0 10px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.55);
  background: transparent;
}

.blog-post-head--v2 .blog-post-crumb-line {
  margin: 0 0 12px;
  font-size: 12px;
}

.blog-post-head--v2 .blog-post-head-title {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.42;
  color: #0f172a;
}

.blog-post-head-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(229, 231, 235, 0.65);
}

.blog-post-head-pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.blog-post-head--v2 .blog-post-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.blog-post-head--v2 .blog-post-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.85);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.blog-post-head--v2 .blog-post-meta-chip--author {
  padding-inline-start: 6px;
}

.blog-post-head--v2 .blog-post-meta-chip--author .blog-mag-author-avatar {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.blog-post-head > .blog-cat-bar--unified {
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.65);
}

.blog-post-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.blog-post-head-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.45;
  color: #111827;
  letter-spacing: -0.02em;
}

.blog-post-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.blog-post-head .blog-post-meta-chip:not(.blog-post-meta-chip--like) {
  background: transparent;
  border: none;
  padding: 0;
  color: #6b7280;
  font-size: 13px;
}

.blog-post-head .blog-post-meta-chip--author {
  color: #374151;
  font-weight: 600;
}

.blog-post-head .blog-post-meta-chip--author .blog-mag-author-avatar {
  width: 26px;
  height: 26px;
}

.blog-post-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 24px 28px;
}

.blog-post-layout--split {
  display: block;
  gap: 0;
}

.blog-post-layout__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 901px) {
  .blog-post-layout--split {
    display: block;
    padding: 22px 24px 28px;
  }

  .blog-post-layout__row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--blog-aside-gap, 28px);
  }

  .blog-post-layout--split .blog-post-main-stack {
    flex: 1 1 auto;
    min-width: 0;
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .blog-post-layout--split .blog-post-aside-rail,
  .blog-post-layout--split .blog-post-aside-col {
    flex: 0 0 var(--blog-aside-w, 300px);
    width: var(--blog-aside-w, 300px);
    max-width: var(--blog-aside-w, 300px);
    align-self: flex-start;
    height: fit-content;
    max-height: none;
    position: sticky;
    top: calc(var(--fx-header-h, 72px) + 12px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    overflow: visible;
    z-index: 2;
  }

  .blog-post-layout--split .blog-post-aside-pin-col,
  .blog-post-layout--split .blog-post-aside-widgets,
  .blog-post-layout--split .blog-post-aside-pin {
    position: relative;
    top: auto;
  }
}

.blog-post-main-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-post-summary {
  padding: 22px 26px;
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(4px);
}

.blog-post-summary__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.92;
  font-weight: 500;
  color: #374151;
}

/* Lead card — خلاصه + فهرست فشرده */
.blog-post-main-stack > .blog-post-lead {
  margin: 0 0 14px;
  padding: 18px 20px 16px;
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 251, 245, 0.92);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(4px);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: inherit;
}

.blog-post-main-stack > .blog-post-lead--has-toc {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.blog-post-lead--has-toc .blog-post-lead__summary {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  color: #374151;
}

.blog-post-lead__summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.88;
  font-weight: 500;
  color: #374151;
}

.blog-post-lead__toc {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.blog-post-main-stack > .blog-post-lead:not(.blog-post-lead--has-toc) .blog-post-lead__summary {
  margin: 0;
}

.blog-post-lead__toc--done {
  display: none;
}

/* TOC minimal — جعبه فهرست مطالب بعد از مقدمه */
.blog-mag-post-toc--minimal {
  margin: 0;
  padding: 22px 26px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: none;
}

.blog-mag-post-toc-minimal-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
}

.blog-mag-post-toc-list--minimal {
  margin: 0;
  padding: 0 1.1rem 0 0;
  list-style: disc;
  display: block;
  counter-reset: none;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-item {
  margin: 0 0 6px;
  max-height: none;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-item:last-child {
  margin-bottom: 0;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-item--passed {
  display: none;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-item a {
  display: inline;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: #374151;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-item a::before {
  display: none;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-item a:hover {
  color: #c2410c;
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-mag-post-toc--minimal .blog-mag-post-toc-link-text {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

/* TOC compact — داخل lead (legacy bar style) */
.blog-mag-post-toc--compact:not(.blog-mag-post-toc--minimal) {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-mag-post-toc--compact::before {
  display: none;
}

.blog-mag-post-toc-bar {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.blog-mag-post-toc-bar-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #9a3412;
  flex-shrink: 0;
}

.blog-mag-post-toc-bar-title .blog-ico {
  opacity: 0.85;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-count {
  padding: 2px 8px;
  font-size: 10px;
  margin-inline-start: auto;
}

.blog-mag-post-toc-bar-progress {
  flex: 1 1 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.85);
  overflow: hidden;
}

.blog-mag-post-toc-list--compact {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: blog-toc;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-item {
  margin: 0;
  max-height: 34px;
  counter-increment: blog-toc;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-item--passed {
  opacity: 0;
  max-height: 0;
  margin: 0;
  transform: none;
  pointer-events: none;
  overflow: hidden;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #475569;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: none;
  transform: none;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-item a::before {
  content: counter(blog-toc, decimal-leading-zero);
  width: 20px;
  height: 20px;
  font-size: 9px;
  border-radius: 5px;
  flex-shrink: 0;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-item a:hover {
  color: #c2410c;
  background: #fff;
  border-color: rgba(255, 102, 0, 0.2);
  box-shadow: none;
  transform: none;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-mag-post-toc--compact .blog-mag-post-toc-item.blog-mag-post-toc-h3 a {
  padding-inline-start: 8px;
  font-size: 11px;
}

@media (max-width: 640px) {
  .blog-mag-post-toc-list--compact {
    grid-template-columns: 1fr;
  }

  .blog-post-main-stack > .blog-post-lead {
    padding: 16px 14px 12px;
  }
}

.blog-post-body-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 20px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.blog-post-body-divider::before,
.blog-post-body-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 102, 0, 0.32) 50%, transparent 100%);
}

.blog-post-body-divider span {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 0, 0.14);
  background: rgba(255, 247, 237, 0.75);
  color: #c2410c;
}

.blog-post-main-col {
  min-width: 0;
}

.blog-post-aside-rail,
.blog-post-aside-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  height: fit-content;
  max-height: none;
}

.blog-post-aside-pin-col {
  width: 100%;
  min-width: 0;
}

.blog-post-aside-pin-slot {
  width: 100%;
  min-width: 0;
}

.blog-post-aside-pin {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.85);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 12px;
  box-sizing: border-box;
  position: static;
  top: auto;
}

.blog-post-page .blog-post-aside-pin-col,
.blog-post-page .blog-post-aside-pin-slot,
.blog-post-page .blog-post-aside-pin {
  top: auto;
  transform: none;
}

@media (max-width: 900px) {
  .blog-post-page .blog-post-aside-widgets,
  .blog-post-page .blog-post-aside-stack {
    position: static;
    top: auto;
  }
}

.blog-post-main-tail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
}

.blog-post-main-stack .blog-post-main-tail {
  margin-top: 0;
  padding-top: 0;
}

.blog-post-main-stack .blog-post-tail {
  margin-top: 12px;
  gap: 12px;
}

.blog-post-main-stack .blog-post-tail > .blog-mag-intro,
.blog-post-main-stack .blog-post-tail > .blog-post-community-card,
.blog-post-main-stack .blog-post-tail > .blog-post-related-card,
.blog-post-main-stack .blog-post-tail > .blog-post-products {
  margin-top: 0;
}

.blog-post-body .blog-post-source {
  margin-top: 20px;
  margin-bottom: 0;
}

.blog-post-aside-widgets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.blog-post-aside-widgets .blog-post-aside-block {
  width: 100%;
  visibility: visible;
  opacity: 1;
  display: block;
}

.blog-post-aside-widgets .blog-post-aside-block.is-aside-visible,
.blog-post-aside-widgets .blog-post-aside-block.is-aside-inview {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.blog-post-aside-widgets .blog-post-aside-block img {
  opacity: 1;
  visibility: visible;
}

.blog-post-page .blog-post-aside-widgets .bl-offer {
  border-radius: 16px;
  border-color: rgba(255, 214, 220, 0.95);
  box-shadow: 0 6px 22px rgba(239, 64, 86, 0.07);
}

.blog-post-page .blog-post-aside-widgets .blog-aside-card {
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.blog-post-article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-post-main-stack .blog-post-article {
  padding: 0;
  margin: 0;
}

.blog-post-main-stack .blog-post-summary + .blog-post-article,
.blog-post-main-stack .blog-post-lead + .blog-post-article-zone {
  margin-top: 0;
}

/* Article body */
.blog-post-body {
  padding: 24px 26px;
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(4px);
}

.blog-post-body img,
.blog-post-body .blog-inline-img-el {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1.25em auto;
  border-radius: 10px;
}

.blog-post-body .blog-inline-img,
.blog-post-body figure {
  margin: 1.25em 0;
  padding: 0;
  text-align: center;
  line-height: 0;
}

.blog-post-body.is-open {
  animation: blog-post-content-reveal 0.35s ease both;
}

.blog-post-tail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}

.blog-post-flow .blog-post-community-head {
  background: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(229, 231, 235, 0.75);
}

.blog-post-flow .blog-post-tail {
  margin-top: 0;
  gap: 16px;
}

.blog-post-flow .blog-post-products {
  border-color: rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

/* Sidebar media + stats panel */
.blog-post-side-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-post-side-panel__media {
  width: 100%;
  min-width: 0;
}

.blog-post-side-panel__media .blog-post-hero-cover {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  width: 100%;
  min-height: 120px;
}

.blog-post-side-panel__stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.025);
  backdrop-filter: blur(4px);
}

.blog-post-page {
  background: #f3f4f6;
}

.blog-post-page .blog-post-main {
  background: transparent;
}

.blog-post-hero-wrap {
  width: min(100%, 1240px);
  max-width: none;
  margin-inline: auto;
  padding: 8px 0 0;
}

.blog-post-hero-card {
  padding: 20px 22px 18px;
  border-radius: 20px;
  border: 1px solid rgba(232, 237, 243, 0.95);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(255, 102, 0, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(6px);
}

.blog-post-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-post-hero-top .blog-post-crumb-line {
  margin-bottom: 0;
}

.blog-post-hero-top .blog-post-head-tags {
  margin-bottom: 0;
}

.blog-post-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--blog-aside-w, 300px);
  gap: 16px var(--blog-aside-gap, 24px);
  align-items: start;
}

.blog-post-hero-col {
  grid-column: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-post-hero-aside {
  grid-column: 2;
  grid-row: 1;
  width: var(--blog-aside-w, 300px);
  max-width: 100%;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Intro + read-more — directly under hero meta */
.blog-post-hero-intro {
  margin-top: 2px;
  padding: 16px 18px 14px;
  border-radius: 14px;
  border: 1px solid #eef1f5;
  background: #f9fafb;
}

.blog-post-hero-intro .blog-post-teaser-inner {
  margin-bottom: 14px;
}

.blog-post-teaser-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  font-weight: 400;
  color: #4b5563;
  text-align: right;
}

.blog-post-hero-insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  width: 100%;
  flex: 1;
}

.blog-post-hero-insight {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eef1f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-post-hero-insight-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.blog-post-hero-insight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-post-hero-insight-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid transparent;
  color: #374151;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-post-hero-insight-list a:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.blog-post-hero-insight-more {
  margin: 10px 0 0;
  font-size: 11px;
  color: #9ca3af;
}

.blog-post-hero-insight-preview {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: #374151;
  text-align: justify;
}

.blog-post-hero-insight--preview {
  flex: 1;
}

.blog-post-hero-title {
  margin: 0;
  width: 100%;
}

.blog-post-hero-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  width: 100%;
}

.blog-post-hero-scroll-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.blog-post-hero-scroll-cta:hover {
  background: #ff6600;
  color: #fff;
  transform: translateY(-1px);
}

.blog-post-hero-scroll-cta .blog-ico--chevron {
  transform: scaleX(-1) rotate(90deg);
  opacity: 0.9;
}

.blog-post-hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.blog-post-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef1f5;
}

.blog-post-hero-cover {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
  border: none;
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
}

.blog-post-hero-media .blog-post-hero-cover {
  border-radius: 16px;
  border: none;
}

.blog-post-hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-hero-cover .blog-mag-post-cover-emoji { font-size: 64px; }

.blog-post-hero-cover.blog-mag-post-cover--video {
  background: linear-gradient(160deg, #1f2937, #374151);
}

.blog-post-hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.blog-post-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  text-align: center;
  min-height: 58px;
}

.blog-post-stat-cell--btn {
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.blog-post-stat-cell--btn:hover {
  background: #fff7ed;
  border-color: #fdba74;
}

.blog-post-stat-cell--ctr {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.blog-post-stat-val {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}

.blog-post-stat-val.is-counting {
  color: #ff6600;
}

.blog-post-hero-like .blog-heart-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: #f87171;
  animation: blog-heart-color 2.2s ease-in-out infinite;
}

.blog-post-hero-like .blog-heart-ico .blog-ico {
  transform-origin: center;
  animation: blog-heart-idle 2.2s ease-in-out infinite;
}

.blog-post-hero-like.is-popping .blog-heart-ico {
  animation: blog-heart-color-pop 0.65s ease-out, blog-heart-color 2.2s ease-in-out 0.65s infinite;
}

.blog-post-hero-like.is-popping .blog-heart-ico .blog-ico {
  animation: blog-heart-pop 0.65s cubic-bezier(0.34, 1.4, 0.64, 1), blog-heart-idle 2.2s ease-in-out 0.65s infinite;
}

.blog-post-hero-like.is-liked .blog-heart-ico .blog-ico {
  fill: currentColor;
  stroke: currentColor;
}

.blog-heart-particle {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  pointer-events: none;
  color: #ef4444;
  line-height: 1;
  animation: blog-heart-float 0.95s ease-out forwards;
}

.blog-heart-particle .blog-ico {
  fill: currentColor;
  stroke: currentColor;
  filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.35));
}

@keyframes blog-heart-color {
  0%, 50%, 100% { color: #f87171; }
  12% { color: #ef4444; }
  36% { color: #dc2626; }
}

@keyframes blog-heart-color-pop {
  0% { color: #f87171; }
  40% { color: #b91c1c; }
  100% { color: #ef4444; }
}

@keyframes blog-heart-idle {
  0%, 50%, 100% { transform: scale(1); }
  12% { transform: scale(1.22); }
  24% { transform: scale(1.05); }
  36% { transform: scale(1.16); }
  48% { transform: scale(1); }
}

@keyframes blog-heart-float {
  0% {
    opacity: 0.95;
    transform: translate(-50%, 0) scale(0.55);
  }
  35% {
    opacity: 0.85;
    transform: translate(-58%, -14px) scale(0.95);
  }
  100% {
    opacity: 0;
    transform: translate(-68%, -32px) scale(1.15) rotate(14deg);
  }
}

@keyframes blog-heart-pop {
  0% { transform: scale(1); }
  20% { transform: scale(1.35) rotate(-8deg); }
  45% { transform: scale(0.88) rotate(4deg); }
  70% { transform: scale(1.12) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

.blog-post-stat-lbl {
  font-size: 10px;
  color: #9ca3af;
  font-weight: 600;
}

.blog-post-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

.blog-post-hero-like,
.blog-post-hero-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.blog-post-hero-like {
  border: 1px solid #fecaca;
  background: #fff;
  color: #ef4444;
  overflow: visible;
  position: relative;
}

.blog-post-hero-like.is-liked {
  background: #fef2f2;
  border-color: #ef4444;
}

.blog-post-hero-like.is-liked .blog-ico {
  fill: currentColor;
  stroke: currentColor;
}

.blog-post-hero-share {
  border: 1px solid #e5e9ef;
  background: #fff;
  color: #6b7280;
}

.blog-post-hero-share:hover {
  border-color: #d1d5db;
  color: #374151;
}

.blog-post-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.blog-post-hero-tags .blog-mag-pill--nav {
  font-size: 11px;
  padding: 7px 12px;
}

.blog-post-hero-share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.blog-post-hero-share-row a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e9ef;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.blog-post-hero-share-row a:hover {
  color: #374151;
  background: #f3f5f7;
}

.blog-post-hero-cta {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6600, #ff8533);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.25);
}

.blog-post-hero-cta:hover { color: #fff; }

.blog-post-hero-source {
  margin: 0;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}

.blog-post-hero-source a { color: #008cff; text-decoration: none; }

.blog-post-hero-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid #eef1f5;
  width: 100%;
}

.blog-post-hero-tags-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

.blog-post-hero-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag-pill--hero { font-size: 11px; padding: 4px 10px; }

.blog-mag-pill--featured {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-weight: 600;
}

.blog-post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.blog-post-lead {
  margin: 0 0 20px;
  font-size: 1.125rem;
  line-height: 1.85;
  color: #4b5563;
  font-weight: 400;
}

.blog-post-meta-row--hero {
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-mag-post-cover--photo {
  display: block;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  margin-bottom: 36px;
}

.blog-mag-post-cover--photo img {
  display: block;
  width: 100%;
  max-height: min(52vh, 520px);
  object-fit: cover;
}

.blog-post-content--pro {
  max-width: none;
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(232, 237, 243, 0.95);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
  text-align: right;
}

.blog-post-body.blog-post-prose {
  font-size: 15px;
  line-height: 1.95;
}

.blog-post-body.blog-post-prose :is(p, li, span, div, td, blockquote) {
  font-size: 15px !important;
  line-height: 1.95 !important;
  font-weight: 400 !important;
}

.blog-post-body.blog-post-prose p,
.blog-post-body.blog-post-prose li {
  text-align: justify;
  text-align-last: right;
}

.blog-post-body.blog-post-prose :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 700 !important;
  text-align: right !important;
  color: #111827 !important;
  line-height: 1.55 !important;
}

.blog-post-body.blog-post-prose h1 { font-size: 1.18rem !important; margin: 0 0 0.75em !important; }
.blog-post-body.blog-post-prose h2 { font-size: 1.12rem !important; margin: 1.35em 0 0.45em !important; }
.blog-post-body.blog-post-prose h3 { font-size: 1.06rem !important; margin: 1.15em 0 0.4em !important; }
.blog-post-body.blog-post-prose h4 { font-size: 1rem !important; margin: 1em 0 0.35em !important; }

.blog-post-prose {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.95;
  color: #374151;
  font-weight: 400;
  text-align: right;
  word-spacing: normal;
  letter-spacing: 0;
}

.blog-post-prose p,
.blog-post-prose li,
.blog-post-prose span,
.blog-post-prose div,
.blog-post-prose td,
.blog-post-prose th,
.blog-post-prose blockquote {
  font-size: 15px !important;
  line-height: 1.95 !important;
  font-weight: 400 !important;
  text-align: right;
}

.blog-post-prose strong,
.blog-post-prose b {
  font-weight: 600;
  color: #1f2937;
}

.blog-post-prose > *:first-child {
  margin-top: 0;
}

.blog-post-prose > *:last-child {
  margin-bottom: 0;
}

.blog-post-prose p {
  margin: 0 0 1em;
  text-align: justify;
  text-align-last: right;
}

.blog-post-prose h2 {
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 700;
  color: #111827;
  margin: 1.35em 0 0.45em;
  text-align: right;
}

.blog-post-prose h3 {
  font-size: 1.06rem;
  line-height: 1.6;
  font-weight: 700;
  color: #111827;
  margin: 1.15em 0 0.4em;
  text-align: right;
}

.blog-post-prose ul,
.blog-post-prose ol {
  margin: 0 0 1.15em;
  padding: 0 1.35em 0 0;
}

.blog-post-prose li {
  margin-bottom: 0.45em;
  line-height: 1.85;
}

.blog-post-prose blockquote {
  margin: 1.25em 0;
  padding: 14px 18px;
  border-right: 3px solid #ff6600;
  border-radius: 0 10px 10px 0;
  background: #f8fafc;
  color: #4b5563;
  font-size: 0.98em;
  line-height: 1.85;
}

.blog-post-prose a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post-prose a:hover {
  color: #ff6600;
}

.blog-post-prose [style*="text-align: center"],
.blog-post-prose [style*="text-align:center"] {
  text-align: center !important;
}

.blog-post-prose [style*="text-align: left"],
.blog-post-prose [style*="text-align:left"] {
  text-align: left !important;
}

.blog-post-prose [style*="text-align: right"],
.blog-post-prose [style*="text-align:right"] {
  text-align: right !important;
}

.blog-post-prose [style*="text-align: justify"],
.blog-post-prose [style*="text-align:justify"] {
  text-align: justify !important;
  text-align-last: right;
}

.blog-post-prose [style*="font-size"],
.blog-post-prose font,
.blog-post-body [style*="font-size"] {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.blog-post-content--pro > p:first-child {
  font-size: 1em;
}

.blog-post-content--dk img,
.blog-post-content--pro img,
.blog-post-content--dk .blog-inline-img-el {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.blog-post-content--dk .blog-inline-img,
.blog-post-content--pro .blog-inline-img,
.blog-post-content--dk figure.legal-img-wrap,
.blog-post-content--pro figure.legal-img-wrap,
.blog-post-content--dk figure,
.blog-post-content--pro figure {
  margin: 32px 0;
  padding: 0;
  text-align: center;
  line-height: 0;
  clear: both;
}

.blog-post-content--dk figure img,
.blog-post-content--pro figure img {
  margin: 0 auto;
}

.blog-post-content--pro h2 {
  font-size: 1.12rem;
  margin-top: 1.4em;
  padding-top: 0;
}

.blog-post-content--pro h3 {
  font-size: 1.02rem;
  margin-top: 1.2em;
}

.blog-post-content--pro .legal-img-w50 { max-width: 50%; width: 50%; }
.blog-post-content--pro .legal-img-w75 { max-width: 75%; width: 75%; }
.blog-post-content--pro .legal-img-w100 { max-width: 100%; width: 100%; }
.blog-post-content--pro .legal-img-ar { text-align: right; }
.blog-post-content--pro .legal-img-ac { text-align: center; }
.blog-post-content--pro .legal-img-al { text-align: left; }

/* Read-more button */
.blog-post-read-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-post-read-more-btn:hover {
  background: #ff6600;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.28);
}

.blog-post-read-more-btn .blog-ico--chevron {
  transform: rotate(90deg);
  opacity: 0.9;
}

.blog-post-content--full.is-open {
  animation: blog-post-content-reveal 0.35s ease both;
}

@keyframes blog-post-content-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* نوار پیشرفت مطالعه — زیر هدر ثابت */
.blog-read-progress {
  position: fixed;
  top: var(--fx-header-h, 72px);
  left: 0;
  right: 0;
  height: 3px;
  z-index: 299;
  pointer-events: none;
  background: rgba(255, 102, 0, 0.08);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.blog-read-progress.is-visible,
.blog-read-progress.is-complete {
  opacity: 1;
}

.blog-read-progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ff8533 0%, #ff6600 55%, #e85d00 100%);
  transform: scaleX(0);
  transform-origin: right center;
  will-change: transform;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.35);
}

.blog-post-toc-rail {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.blog-post-toc-rail-track {
  flex: 0 0 3px;
  width: 3px;
  border-radius: 999px;
  background: #eceff3;
  overflow: hidden;
  align-self: stretch;
  min-height: 48px;
}

.blog-post-toc-rail-fill {
  width: 100%;
  height: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #ff8533, #ff6600);
  transition: height 0.12s linear;
}

.blog-post-article-zone {
  min-width: 0;
}

.blog-post-toc-desktop {
  position: relative;
  top: auto;
  z-index: auto;
  margin-bottom: 18px;
  align-self: auto;
}

.blog-post-toc-aside--done {
  display: none;
}

.blog-post-toc-float {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 280;
  width: min(calc(100% - 32px), 420px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.blog-post-toc-float:not([hidden]) {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.blog-post-toc-float[hidden] {
  display: none !important;
}

.blog-post-toc-float-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 0, 0.2);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 32px rgba(15, 23, 42, 0.14),
    0 2px 8px rgba(255, 102, 0, 0.08);
}

.blog-post-toc-float-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ff6600;
  background: rgba(255, 247, 237, 0.95);
}

.blog-post-toc-float-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.blog-post-toc-float-count {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-post-toc-float-progress {
  flex: 0 0 48px;
  height: 4px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.blog-post-toc-float-progress > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb366, #ff6600);
  transition: width 0.35s ease;
}

.blog-post-toc-float-jump {
  flex-shrink: 0;
  padding: 7px 12px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff8533, #ff6600);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-post-toc-float-jump:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.34);
}

.blog-post-toc-mobile {
  display: none;
  margin-bottom: 20px;
}

.blog-post-toc-mobile .blog-mag-post-toc,
.blog-post-toc-desktop .blog-mag-post-toc {
  margin: 0 0 20px;
}

.blog-post-toc-desktop .blog-mag-post-toc--v2,
.blog-post-toc-mobile .blog-mag-post-toc--v2 {
  margin: 0 0 18px;
}

.blog-mag-related--bottom {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eceff3;
  background: transparent;
}

.blog-mag-related--bottom h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: #111827;
}

/* Related — inline list after comments */
.blog-mag-related--compact {
  margin-top: 24px;
  padding: 20px 0 32px;
  border-top: 1px solid #eceff3;
  background: transparent;
}

.blog-mag-related--inline {
  margin-top: 20px;
  padding: 18px 0 8px;
}

.blog-mag-related--compact h2 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111827;
}

/* Related — panel grid */
.blog-mag-related--panel {
  margin-top: 36px;
  padding: 0 0 8px;
  border-top: none;
  background: transparent;
}

.blog-mag-related-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.blog-related-panel {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.blog-related-compact-grid {
  display: grid;
  gap: 1px;
  background: #eceff3;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.blog-related-compact-grid--cols-1 { grid-template-columns: 1fr; }
.blog-related-compact-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-related-compact-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.blog-related-compact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  background: #fff;
  text-decoration: none;
  transition: background 0.12s;
}

.blog-related-compact-item:hover { background: #fafbfc; }

.blog-related-compact-item--placeholder {
  display: block;
  min-height: 72px;
  background: #f3f4f6;
  pointer-events: none;
}

.blog-related-compact-thumb {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eceff3;
  display: grid;
  place-items: center;
  font-size: 20px;
  overflow: hidden;
}

.blog-related-compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-related-compact-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-related-compact-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-related-compact-item:hover .blog-related-compact-title { color: #ff6600; }

.blog-related-compact-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.blog-related-compact-cat {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.blog-related-compact-cat--training { color: #ea580c; }
.blog-related-compact-cat--nutrition { color: #ca8a04; }
.blog-related-compact-cat--lifestyle { color: #92400e; }
.blog-related-compact-cat--mindset { color: #dc2626; }
.blog-related-compact-cat--default { color: #6b7280; }

.blog-related-compact-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #9ca3af;
}

.blog-related-compact-meta .blog-ico { opacity: 0.65; }

.blog-related-compact-engage {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.blog-related-compact-engage--stack {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.blog-related-compact-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.blog-related-compact-stat .blog-ico { opacity: 0.75; }

.blog-related-compact-stat:nth-child(1) .blog-ico { color: #3b82f6; }
.blog-related-compact-stat:nth-child(2) .blog-ico { color: #ef4444; }

.blog-related-compact-stat-val {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  line-height: 1;
}

.blog-related-compact-stat-lbl {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1;
}

@media (max-width: 768px) {
  .blog-related-compact-grid--cols-2,
  .blog-related-compact-grid--cols-3 {
    grid-template-columns: 1fr;
  }

  .blog-related-compact-item {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
  }

  .blog-related-compact-body {
    flex: 1 1 calc(100% - 54px);
  }

  .blog-related-compact-engage--stack {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    padding-inline-start: 54px;
  }

  .blog-comment-card-tools,
  .blog-comment-card-text,
  .blog-comment-reply-box {
    padding-inline-start: 0;
    margin-inline-start: 0;
  }

  .blog-comment-card-user {
    margin-bottom: 10px;
  }
}

.blog-post-hero-main .blog-post-title-dk,
.blog-post-hero-title.blog-post-title-dk {
  margin: 0 0 0;
}

.blog-post-hero-main .blog-post-lead,
.blog-post-hero-lead.blog-post-lead {
  margin: 0;
  max-width: none;
  width: 100%;
}

.blog-post-hero-tags--grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid #eef1f5;
}

.blog-post-hero-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
}

.blog-post-hero-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag-pill--hero {
  padding: 6px 12px;
  font-size: 11px;
}

.blog-post-crumb-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 14px;
}

.blog-post-crumb-line a {
  color: #6b7280;
  text-decoration: none;
}

.blog-post-crumb-line a:hover { color: #111827; }

.blog-post-head-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.blog-post-head .blog-post-title-dk {
  margin: 0 0 12px;
}

.blog-post-head .blog-post-lead {
  margin: 0 0 18px;
  max-width: 720px;
}

.blog-post-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

.blog-post-meta-chip strong {
  color: #111827;
  font-weight: 600;
}

.blog-post-meta-chip--author {
  color: #374151;
  font-weight: 600;
}

.blog-post-meta-chip--author .blog-mag-author-avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.blog-post-meta-chip--like {
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.blog-post-meta-chip--like:hover {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #e11d48;
}

.blog-post-meta-chip--like.is-liked {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

.blog-post-meta-chip--like.is-liked .blog-ico {
  fill: currentColor;
  stroke: currentColor;
}

.blog-comment-notice {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.blog-comment-notice--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.blog-comment-notice--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.blog-comment-item p {
  white-space: pre-line;
}

.blog-comment-item-body { flex: 1; min-width: 0; }

.blog-comment-official {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-size: 13px;
  line-height: 1.7;
  color: #0c4a6e;
}

.blog-comment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.blog-comment-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.blog-comment-action:hover {
  color: #374151;
  border-color: #d1d5db;
}

.blog-comment-like.is-liked {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff1f2;
}

.blog-comment-like.is-liked .blog-ico {
  fill: currentColor;
  stroke: currentColor;
}

.blog-comment-item--pinned {
  border-color: #fed7aa;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 55%);
  box-shadow: 0 2px 12px rgba(255, 102, 0, 0.08);
}

.blog-comment-pin {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 11px;
  font-weight: 600;
}

.blog-comment-report:disabled {
  opacity: 0.6;
  cursor: default;
}

@media (max-width: 900px) {
  .blog-post-head--v2 .blog-post-head__top {
    margin-inline: -16px;
    padding-inline: 16px;
    overflow: visible;
  }

  .blog-post-head--v2 .blog-cat-bar--unified {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow: visible;
  }

  .blog-post-head--v2 .blog-cat-bar--unified .blog-cat-bar-label {
    padding-top: 0;
  }

  .blog-post-head--v2 .blog-cat-bar--unified .blog-cat-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .blog-post-head--v2 .blog-cat-bar--unified .blog-cat-strip::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .blog-cat-bar {
    flex-direction: column;
    gap: 8px;
  }
  .blog-cat-bar-label { padding-top: 0; }
  .blog-cat-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .blog-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-post-hero-card {
    padding: 18px 16px 20px;
    border-radius: 16px;
  }
  .blog-post-hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }
  .blog-post-flow {
    border-radius: 16px;
  }
  .blog-post-head {
    padding: 18px 16px 16px;
    border-radius: 0;
  }
  .blog-post-head-title {
    font-size: 1.25rem;
  }
  .blog-post-head-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-post-head-pdf {
    margin-inline-start: 0;
    width: 100%;
  }
  .blog-post-head-pdf .blog-post-pdf-btn {
    flex: 1 1 calc(50% - 4px);
  }
  .blog-post-layout--split {
    display: block;
    gap: 20px;
    padding: 18px 16px 22px;
  }
  .blog-post-layout__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .blog-post-layout--split .blog-post-aside-rail,
  .blog-post-layout--split .blog-post-aside-col {
    position: static;
    order: 1;
    height: auto;
    max-height: none;
    width: 100%;
    max-width: none;
    flex: none;
  }
  .blog-post-layout--split .blog-post-aside-pin-col {
    position: static;
  }
  .blog-post-layout--split .blog-post-aside-widgets {
    order: 2;
    position: static;
    top: auto;
  }
  .blog-post-layout--split .blog-post-aside-pin {
    position: static;
    top: auto;
  }
  .blog-post-layout--split .blog-post-main-stack {
    order: 3;
  }
  .blog-post-body {
    padding: 18px 16px;
  }
  .blog-post-teaser-text { font-size: 14px; line-height: 1.88; }
  .blog-post-prose { font-size: 14px; line-height: 1.88; }
  .blog-post-prose p,
  .blog-post-prose li,
  .blog-post-prose span,
  .blog-post-prose div { font-size: 14px; }
  .blog-post-read-more-btn { padding: 11px 14px; font-size: 12px; }
  .blog-post-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-post-hero-aside {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    order: -1;
  }
  .blog-post-hero-col {
    grid-column: 1;
  }
  .blog-post-hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-post-stat-cell--ctr { grid-column: span 1; }
  .blog-post-head-meta { gap: 6px; }
  .blog-post-meta-chip { padding: 7px 10px; font-size: 11px; }
  .blog-post-meta-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .blog-mag-post-cover--dk { min-height: 220px; }
  .blog-post-toc-desktop { display: none; }
  .blog-post-toc-mobile { display: block; }
  .blog-post-hero-intro {
    padding: 14px 16px 12px;
  }
  .blog-post-teaser-text { font-size: 13px; line-height: 1.9; }
  .blog-post-content--pro { font-size: 14px; line-height: 1.88; padding: 18px 16px; }
  .blog-post-prose { font-size: 14px; line-height: 1.88; }
  .blog-post-prose p,
  .blog-post-prose li,
  .blog-post-prose span,
  .blog-post-prose div { font-size: 14px; }
  .blog-post-read-more-btn { padding: 10px 14px; font-size: 12px; }
}

/* ══ Blog list page — modern minimal layout ══ */
.blog-page--list .blog-main {
  background: #f7f8fa;
}

.blog-page--list .bl-shell {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

/* Hero */
.blog-page--list .bl-hero {
  background: #fff;
  border-bottom: 1px solid #eceff3;
}

.blog-page--list .bl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 32px;
  align-items: end;
  padding: 28px 0 24px;
}

.blog-page--list .bl-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.blog-page--list .bl-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  letter-spacing: -0.02em;
}

.blog-page--list .bl-hero__lead {
  margin: 0;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.85;
  color: #6b7280;
}

.blog-page--list .bl-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-page--list .bl-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.blog-page--list .bl-stat {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid #eceff3;
  background: #fafbfc;
  text-align: center;
}

.blog-page--list .bl-stat__val {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.blog-page--list .bl-stat__lbl {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}

.blog-page--list .bl-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 14px;
  border-radius: 12px;
  border: 1px solid #e5e9ef;
  background: #fff;
}

.blog-page--list .bl-search:focus-within {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.blog-page--list .bl-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
}

.blog-page--list .bl-search input::placeholder { color: #9ca3af; }

.blog-page--list .bl-search__btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.blog-page--list .bl-search__btn:hover { background: #374151; }

/* Toolbar */
.blog-page--list .bl-toolbar {
  position: sticky;
  top: var(--fx-header-h, 72px);
  z-index: 40;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eceff3;
}

.blog-page--list .bl-toolbar .bl-shell {
  padding-block: 14px;
}

.blog-page--list .bl-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.blog-page--list .bl-toolbar__row + .bl-toolbar__row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eceff3;
}

.blog-page--list .bl-toolbar__label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  min-width: 52px;
}

.blog-page--list .bl-cat-bar {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
}

.blog-page--list .bl-cat-bar .blog-cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-page--list .bl-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  flex: 1;
  min-width: 0;
}

.blog-page--list .bl-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-page--list .bl-filter-label {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
}

.blog-page--list .bl-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eceff3;
}

.blog-page--list .bl-pill {
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.blog-page--list .bl-pill:hover { color: #111827; }

.blog-page--list .bl-pill.on {
  background: #111827;
  color: #fff;
}

.blog-page--list .bl-results {
  margin: 0;
  margin-inline-start: auto;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}

.blog-page--list .bl-results strong {
  color: #111827;
  font-weight: 700;
}

/* Body grid — main + sidebar */
.blog-page--list .bl-body {
  padding: 28px 0 56px;
  background: #f0f2f5;
}

.blog-page--list .bl-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}

.blog-page--list .bl-main {
  min-width: 0;
}

.blog-page--list .bl-aside {
  --bl-aside-top: calc(var(--fx-header-h, 72px) + 120px);
  position: sticky;
  top: var(--bl-aside-top);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-height: calc(100dvh - var(--bl-aside-top) - 20px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
  padding-inline-end: 4px;
}

.blog-page--list .bl-aside::-webkit-scrollbar {
  width: 6px;
}

.blog-page--list .bl-aside::-webkit-scrollbar-track {
  margin-block: 4px;
  background: transparent;
}

.blog-page--list .bl-aside::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.42);
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.blog-page--list .bl-aside::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 102, 0, 0.38);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.blog-page--list .bl-aside-block > * {
  border-radius: 14px;
}

.blog-page--list .bl-aside-block--offer > * {
  overflow: visible;
}

/* Sidebar special offer */
.blog-page--list .bl-offer,
.blog-post-page .bl-offer {
  border: 1px solid #ffd6dc;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(239, 64, 86, 0.06);
}

.blog-page--list .bl-offer__head,
.blog-post-page .bl-offer__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: linear-gradient(135deg, #fff0f2 0%, #fff 100%);
  border-bottom: 1px solid #ffe4e8;
}

.blog-page--list .bl-offer__head-ico,
.blog-post-page .bl-offer__head-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ef4056, #ff6b7a);
}

.blog-page--list .bl-offer__head-title,
.blog-post-page .bl-offer__head-title {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.blog-page--list .bl-offer__head-more,
.blog-post-page .bl-offer__head-more {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(239, 64, 86, 0.2);
  background: #fff;
  color: #ef4056;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.blog-page--list .bl-offer__head-more:hover,
.blog-post-page .bl-offer__head-more:hover {
  background: #ef4056;
  color: #fff;
}

.blog-page--list .bl-offer__body,
.blog-post-page .bl-offer__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-page--list .bl-offer__main,
.blog-post-page .bl-offer__main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.blog-page--list .bl-offer__thumb,
.blog-post-page .bl-offer__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #ffe0e5;
  background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
  text-decoration: none;
  overflow: hidden;
}

.blog-page--list .bl-offer__thumb img,
.blog-post-page .bl-offer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.blog-page--list .bl-offer__emoji,
.blog-post-page .bl-offer__emoji {
  font-size: 28px;
  line-height: 1;
}

.blog-page--list .bl-offer__info,
.blog-post-page .bl-offer__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.blog-page--list .bl-offer__badge,
.blog-post-page .bl-offer__badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #ef4056;
}

.blog-page--list .bl-offer__name,
.blog-post-page .bl-offer__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page--list .bl-offer__name:hover,
.blog-post-page .bl-offer__name:hover { color: #ef4056; }

.blog-page--list .bl-offer__prices,
.blog-post-page .bl-offer__prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-page--list .bl-offer__old,
.blog-post-page .bl-offer__old {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
}

.blog-page--list .bl-offer__price,
.blog-post-page .bl-offer__price {
  font-size: 15px;
  font-weight: 800;
  color: #ef4056;
  line-height: 1.3;
}

.blog-page--list .bl-offer__price small,
.blog-post-page .bl-offer__price small {
  font-size: 10px;
  font-weight: 600;
}

.blog-page--list .bl-offer__actions,
.blog-post-page .bl-offer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.blog-page--list .bl-offer__view,
.blog-page--list .bl-offer__buy,
.blog-post-page .bl-offer__view,
.blog-post-page .bl-offer__buy {
  width: 100%;
  padding: 9px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.blog-page--list .bl-offer__buy,
.blog-post-page .bl-offer__buy {
  background: #ef4056;
  border-color: #ef4056;
}

.blog-page--list .bl-offer__buy:hover,
.blog-post-page .bl-offer__buy:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* Featured */
.blog-page--list .bl-featured {
  margin-bottom: 24px;
}

.blog-page--list .bl-featured-card {
  display: grid;
  grid-template-columns: minmax(200px, 36%) minmax(0, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eceff3;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.blog-page--list .bl-featured-card__media {
  aspect-ratio: auto;
  min-height: 200px;
  border-radius: 0;
}

.blog-page--list .bl-featured-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 24px;
}

.blog-page--list .bl-featured-card__title {
  margin: 8px 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
  color: #111827;
}

.blog-page--list .bl-featured-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-page--list .bl-featured-card__title a:hover { color: #ff6600; }

.blog-page--list .bl-featured-card__excerpt {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #6b7280;
}

.blog-page--list .bl-featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #ff6600;
  line-height: 1.2;
}

.blog-page--list .bl-featured-card .blog-card-v2-meta {
  align-items: center;
}

.blog-page--list .bl-featured-card__cta {
  margin-top: 14px;
  align-self: flex-start;
}

/* Active filters */
.blog-page--list .bl-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eceff3;
}

/* Grid — magazine card layout (2 per row, Digikala-style) */
.blog-page--list .bl-grid.blog-mag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blog-page--list .blog-card-v2--mag {
  padding: 10px 10px 12px;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  box-shadow: none;
  background: #fff;
  overflow: visible;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-page--list .blog-card-v2--mag:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transform: none;
}

/* گوشه پایین-چپ بزرگ مثل نمونه — سه گوشه دیگر ملایم */
.blog-page--list .blog-card-v2--mag .blog-card-v2-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px 8px 8px 52px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.blog-page--list .blog-card-v2--mag .blog-card-v2-thumb::after {
  display: none;
}

.blog-page--list .blog-card-v2--mag .blog-card-v2-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.blog-page--list .blog-card-v2--mag .blog-card-v2-emoji {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: clamp(52px, 12vw, 80px);
}

.blog-page--list .blog-card-mag-foot {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 0 4px 2px;
  min-height: 0;
}

.blog-page--list .blog-card-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  text-align: center;
  color: #1a8cff;
  line-height: 1.2;
}

.blog-page--list .blog-card-date--empty {
  min-width: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
}

.blog-page--list .blog-card-date__day {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.blog-page--list .blog-card-date__sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.blog-page--list .blog-card-mag-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  color: #2d3748;
  text-align: right;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page--list .blog-card-mag-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.blog-page--list .blog-card-mag-title a:hover {
  color: #007bff;
}

/* Category thumb gradients */
.blog-card-v2-thumb--training {
  background: linear-gradient(155deg, #fff7ed 0%, #fed7aa 42%, #fdba74 100%);
}

.blog-card-v2-thumb--nutrition {
  background: linear-gradient(155deg, #ecfdf5 0%, #a7f3d0 48%, #6ee7b7 100%);
}

.blog-card-v2-thumb--lifestyle {
  background: linear-gradient(155deg, #eff6ff 0%, #bfdbfe 48%, #93c5fd 100%);
}

.blog-card-v2-thumb--mindset {
  background: linear-gradient(155deg, #f5f3ff 0%, #ddd6fe 48%, #c4b5fd 100%);
}

.blog-mag-pill--nav.blog-mag-pill--form {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

.blog-mag-pill--nav.blog-mag-pill--form.is-on {
  color: #92400e;
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.blog-card-v2-thumb--form {
  background: linear-gradient(155deg, #fffbeb 0%, #fde68a 48%, #fcd34d 100%);
}

.blog-page--videos .bl-grid.blog-mag-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.blog-page--videos .blog-card-v2--mag .blog-card-v2-thumb {
  aspect-ratio: 4 / 3;
  min-height: 172px;
}

.blog-page--videos .blog-card-v2--mag {
  padding: 12px 12px 14px;
}

.blog-page--videos .blog-card-mag-foot.va-mag-foot {
  align-items: flex-start;
  gap: 12px;
}

.blog-page--videos .va-mag-foot__copy {
  flex: 1;
  min-width: 0;
}

.blog-page--videos .va-mag-excerpt {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page--videos .va-mag-duration {
  display: inline-block;
  margin-top: 0;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
}

.blog-page--videos .va-mag-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.blog-page--videos .va-mag-muscle {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
}

.blog-page--videos .va-mag-muscle--chest { color: #be123c; background: #fff1f2; border-color: #fecdd3; }
.blog-page--videos .va-mag-muscle--back { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.blog-page--videos .va-mag-muscle--shoulder { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.blog-page--videos .va-mag-muscle--legs { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.blog-page--videos .va-mag-muscle--arms { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.blog-page--videos .va-mag-muscle--abs { color: #0f766e; background: #f0fdfa; border-color: #99f6e4; }
.blog-page--videos .va-mag-muscle--cardio { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.blog-page--videos .va-mag-muscle--default { color: #475569; background: #f8fafc; border-color: #e2e8f0; }

@media (max-width: 1280px) {
  .blog-page--videos .bl-grid.blog-mag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .blog-page--videos .bl-grid.blog-mag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .blog-page--videos .bl-grid.blog-mag-grid {
    grid-template-columns: 1fr;
  }
}

.blog-page--videos .va-pagination {
  margin-top: 28px;
}

.blog-page--videos .va-featured-wrap {
  margin-bottom: 8px;
}

.blog-card-v2-emoji {
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.1));
}

.blog-card-v2-foot--compact { gap: 8px; }

.blog-card-v2-foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #9ca3af;
}

.blog-card-v2-foot-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-v2--animate {
  animation: blog-card-fade-up 0.4s ease both;
  animation-delay: calc(var(--card-i, 0) * 50ms);
}

@keyframes blog-card-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.blog-page--list .bl-btn,
.blog-post-page .bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.blog-page--list .bl-btn--primary,
.blog-post-page .bl-btn--primary {
  background: #ff6600;
  color: #fff;
}

.blog-page--list .bl-btn--primary:hover,
.blog-post-page .bl-btn--primary:hover {
  background: #ff8533;
  transform: translateY(-1px);
}

.blog-page--list .bl-btn--ghost,
.blog-post-page .bl-btn--ghost {
  background: #fff;
  border-color: #e5e9ef;
  color: #374151;
}

.blog-page--list .bl-btn--ghost:hover {
  border-color: #111827;
  color: #111827;
}

.blog-page--list .bl-btn--dark {
  background: #111827;
  color: #fff;
  border: none;
  width: 100%;
}

.blog-page--list .bl-btn--dark:hover { background: #374151; }

/* Filter chips */
.blog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e9ef;
  background: #fafbfc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}

.blog-filter-chip:hover {
  border-color: #ff6600;
  color: #c2410c;
}

.blog-active-filters-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.blog-filter-chip-clear {
  margin-inline-start: auto;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}

/* Empty + load more */
.blog-page--list .bl-empty {
  text-align: center;
  padding: 48px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed #dde3ea;
}

.blog-page--list .bl-empty__icon {
  font-size: 36px;
  margin-bottom: 10px;
  opacity: 0.45;
}

.blog-page--list .bl-load-more {
  display: flex;
  justify-content: center;
  padding: 28px 0 4px;
}

.blog-empty-suggest { margin-top: 18px; text-align: center; }

.blog-empty-suggest-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}

.blog-empty-suggest-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-empty-suggest-list a {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #eceff3;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
}

.blog-empty-suggest-list a:hover {
  border-color: #ff6600;
  color: #c2410c;
}

/* Sidebar panels */
.blog-page--list .bl-panel {
  padding: 18px;
  border: 1px solid #eceff3;
  border-radius: 14px;
  background: #fff;
}

.blog-page--list .bl-panel__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.blog-page--list .bl-panel__text {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.65;
  color: #6b7280;
}

.blog-page--list .bl-aside .blog-side-rail-card,
.blog-page--list .bl-aside .blog-side-learn-card {
  border-radius: 14px;
  border-color: #eceff3;
  box-shadow: none;
}

.blog-page--list .blog-list-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-page--list .blog-list-newsletter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  box-sizing: border-box;
}

.blog-page--list .blog-list-newsletter-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: #9ca3af;
}

.blog-page--list .blog-list-newsletter--ok {
  font-size: 13px;
  color: #047857;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-page--list .bl-body__grid {
    grid-template-columns: 1fr;
  }

  .blog-page--list .bl-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-height: none;
    overflow-x: visible;
    overflow-y: visible;
    overscroll-behavior: auto;
    padding-inline-end: 0;
  }

  .blog-page--list .bl-aside-block:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .blog-page--list .bl-shell { padding-inline: 16px; }

  .blog-page--list .bl-hero__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0 20px;
  }

  .blog-page--list .bl-toolbar__row--cats {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-page--list .bl-cat-bar .blog-cat-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .blog-page--list .bl-toolbar__row--filters {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-page--list .bl-results {
    margin-inline-start: 0;
  }

  .blog-page--list .bl-pills { width: 100%; }

  .blog-page--list .bl-pill { flex: 1; text-align: center; }

  .blog-page--list .bl-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-page--list .bl-featured-card__media {
    min-height: 160px;
  }

  .blog-page--list .bl-grid.blog-mag-grid {
    grid-template-columns: 1fr;
  }

  .blog-page--list .bl-aside {
    grid-template-columns: 1fr;
  }

  .blog-page--list .bl-active-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filter-chip-clear {
    margin-inline-start: 0;
    text-align: center;
  }
}

/* Blog post — video modal */
.blog-video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(4px);
}

.blog-video-modal[hidden] {
  display: none;
}

body.blog-video-modal-open {
  overflow: hidden;
}

.blog-video-modal__dialog {
  position: relative;
  width: min(960px, 100%);
}

.blog-video-modal__close {
  position: absolute;
  top: -44px;
  left: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.blog-video-modal__stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.blog-video-modal__stage iframe,
.blog-video-modal__stage video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   Blog post tail — Magazine intro & Community v2 (2026)
   ═══════════════════════════════════════════════════════════════ */

.blog-mag-intro--v2 {
  position: relative;
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 16px 48px rgba(15, 23, 42, 0.07);
}

.blog-mag-intro--v2 .blog-mag-intro-grid {
  display: grid;
  grid-template-columns: minmax(148px, 200px) 1fr;
  min-height: 148px;
}

.blog-mag-intro-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px;
  background: linear-gradient(155deg, #0b1220 0%, #152238 48%, #0f172a 100%);
  overflow: hidden;
}

.blog-mag-intro-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 102, 0, 0.42), transparent 42%),
    radial-gradient(circle at 85% 90%, rgba(59, 130, 246, 0.18), transparent 38%);
  pointer-events: none;
}

.blog-mag-intro-logo-ring {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6600, #ffb347 40%, rgba(255, 255, 255, 0.35));
  box-shadow: 0 8px 28px rgba(255, 102, 0, 0.35);
}

.blog-mag-intro--v2 .blog-mag-intro-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0f172a;
}

.blog-mag-intro-eyebrow {
  position: relative;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.blog-mag-intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px 28px;
  min-width: 0;
}

.blog-mag-intro--v2 .blog-mag-intro-title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
}

.blog-mag-intro--v2 .blog-mag-intro-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #64748b;
  max-width: 62ch;
}

.blog-mag-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.blog-mag-intro--v2 .blog-mag-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff6600 0%, #ea580c 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.blog-mag-intro--v2 .blog-mag-intro-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(255, 102, 0, 0.34);
  color: #fff;
}

.blog-mag-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.blog-mag-intro-link:hover {
  color: #ff6600;
}

/* Community card v2 */
.blog-post-community-card--v2 {
  margin-top: 24px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}

.blog-post-community-card--v2 .blog-post-community-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    'icon text badge'
    'icon actions actions';
  align-items: center;
  gap: 6px 14px;
  padding: 20px 22px;
  border-bottom: 1px solid #eef2f6;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.blog-post-community-head-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #ff6600;
  background: linear-gradient(145deg, #fff7ed, #ffedd5);
  border: 1px solid rgba(255, 102, 0, 0.15);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.1);
}

.blog-post-community-card--v2 .blog-post-community-head-text {
  grid-area: text;
  min-width: 0;
}

.blog-post-community-card--v2 .blog-post-community-title {
  margin: 0 0 3px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-post-community-card--v2 .blog-post-community-sub {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.blog-post-community-badge {
  grid-area: badge;
  justify-self: end;
  min-width: 42px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6600, #ea580c);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.25);
}

.blog-post-community-badge.is-empty {
  background: #e2e8f0;
  color: #64748b;
  box-shadow: none;
}

.blog-post-community-card--v2 .blog-post-community-head-actions {
  grid-area: actions;
  justify-self: stretch;
}

.blog-post-community-card--v2 .blog-post-community-body {
  padding: 0;
}

.blog-post-community-tags--v2 {
  margin: 0;
  padding: 18px 22px;
  border-bottom: 1px solid #eef2f6;
  background: #fafbfc;
}

.blog-post-tags-row--v2 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: none;
}

.blog-post-community-zone-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-post-community-zone-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #ff6600;
  font-size: 14px;
  font-weight: 800;
}

.blog-post-community-zone-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
}

.blog-post-tags-row--v2 .blog-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag-pill--v2 {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}

.blog-tag-pill-hash {
  color: #ff6600;
  font-weight: 800;
}

.blog-tag-pill--v2:hover {
  border-color: rgba(255, 102, 0, 0.35);
  background: #fff7ed;
  color: #c2410c;
  transform: translateY(-1px);
}

/* Comments v2 */
.blog-comments--v2.blog-comments--in-card {
  margin: 0;
  padding: 22px;
}

.blog-comments-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-comments-head-text {
  min-width: 0;
}

.blog-comments--v2 .blog-comments-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-comments-head-note {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
}

.blog-comments--v2 .blog-comments-form-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-comment-form--v2 {
  padding: 20px;
}

.blog-comment-form--v2 .blog-comment-field input,
.blog-comment-form--v2 .blog-comment-field textarea,
.blog-comment-form--v2 .blog-comment-input-wrap input {
  border-color: #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.blog-comment-form--v2 .blog-comment-field input:focus,
.blog-comment-form--v2 .blog-comment-field textarea:focus,
.blog-comment-form--v2 .blog-comment-input-wrap input:focus {
  border-color: rgba(255, 102, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.blog-comment-form--v2 .blog-comment-form-footer {
  border-top-color: #e8edf2;
}

.blog-comment-form--v2 .blog-comment-captcha-q {
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  color: #0f172a;
}

.blog-comments--v2 .blog-comment-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}

.blog-comments--v2 .blog-comment-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  border-color: transparent;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  color: #fff;
}

.blog-comments-feed--v2 {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eef2f6;
}

.blog-comments-feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.blog-comments-feed--v2 .blog-comments-feed-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

.blog-comments-feed-hint {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.blog-comments--v2 .blog-comment-list {
  gap: 12px;
}

.blog-comments--v2 .blog-comment-card {
  padding: 16px 18px;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.blog-comments--v2 .blog-comment-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.blog-comments--v2 .blog-comment-card:last-child {
  padding-bottom: 16px;
}

.blog-comments--v2 .blog-comment-card--pinned {
  border-color: rgba(255, 102, 0, 0.28);
  background: linear-gradient(135deg, #fffbeb 0%, #fff 60%);
}

.blog-comment-form--v2 .blog-comment-notice {
  margin-top: 14px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .blog-mag-intro--v2 .blog-mag-intro-grid {
    grid-template-columns: 1fr;
  }

  .blog-mag-intro-brand {
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px;
    gap: 16px;
  }

  .blog-mag-intro-logo-ring {
    width: 64px;
    height: 64px;
  }

  .blog-mag-intro-content {
    padding: 20px;
  }

  .blog-post-community-card--v2 .blog-post-community-head {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      'icon text'
      'badge badge'
      'actions actions';
  }

  .blog-post-community-badge {
    justify-self: start;
  }

  .blog-comments--v2.blog-comments--in-card {
    padding: 16px;
  }

  .blog-comment-form-row--identity {
    grid-template-columns: 1fr;
  }
}

/* YouTube-style comments inside blog community card */
.va-yt-comments--in-card {
  margin-top: 0;
  padding: 22px;
}

.blog-post-community-tags + .va-yt-comments--in-card {
  border-top: 1px solid #eef2f6;
}

@media (max-width: 640px) {
  .va-yt-comments--in-card {
    padding: 16px;
  }
}
