/* Blog article — split: raw words (left) + simplified guide (right) */

.blog-article {
  padding-bottom: 4rem;
}

.blog-hero {
  padding: 2rem 0 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(14, 165, 233, 0.1), transparent 50%);
}

.blog-hero-inner h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0.4rem 0 0.85rem;
  max-width: 20ch;
}

.blog-hero-lead {
  color: var(--text-2, rgba(244, 244, 245, 0.78));
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 0 1rem;
}

.blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-3, rgba(161, 161, 170, 0.95));
}

.blog-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: 2rem 2.25rem;
  align-items: start;
  padding-top: 1.75rem;
  max-width: 72rem;
}

.blog-col-label {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.85);
}

.blog-raw {
  min-width: 0;
}

.blog-section {
  margin: 2rem 0;
  scroll-margin-top: 6rem;
}

.blog-section h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.blog-section p {
  color: rgba(244, 244, 245, 0.86);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.blog-section p strong {
  color: #fff;
  font-weight: 650;
  background: linear-gradient(180deg, transparent 55%, rgba(37, 99, 235, 0.35) 55%);
  padding: 0 0.12em;
}

.blog-figure {
  margin: 1.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 8, 23, 0.55);
}

.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-figure figcaption {
  padding: 0.7rem 0.95rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-3, rgba(161, 161, 170, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-figure--wide {
  margin-top: 0.25rem;
}

.blog-aside {
  margin: 2.75rem 0;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.12), rgba(2, 8, 23, 0.35));
}

.blog-aside-title {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
}

.blog-aside > p {
  color: rgba(244, 244, 245, 0.8);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.blog-aside-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.blog-figure--sm {
  margin: 0;
}

/* ── Simplified guide (right) ── */
.blog-guide {
  min-width: 0;
}

.blog-guide-sticky {
  position: sticky;
  top: calc(var(--nav-h, 4rem) + 0.75rem);
  max-height: calc(100dvh - var(--nav-h, 4rem) - 1.25rem);
  overflow: auto;
  padding: 1.15rem 1.2rem 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background:
    linear-gradient(165deg, rgba(15, 23, 42, 0.92), rgba(2, 8, 23, 0.88)),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.2), transparent 55%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  scrollbar-width: thin;
}

.blog-guide-title {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.blog-guide-lead {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: rgba(161, 161, 170, 0.95);
}

.guide-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.guide-stat {
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.guide-stat-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #93c5fd;
  font-variant-numeric: tabular-nums;
}

.guide-stat-lab {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  line-height: 1.3;
  color: rgba(161, 161, 170, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.guide-step {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-step-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.guide-step-head:hover .guide-step-name {
  color: #93c5fd;
}

.guide-step-num {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b1220;
  background: #93c5fd;
}

.guide-step-name {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.guide-bullets,
.guide-ramp {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guide-bullets li,
.guide-ramp li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(228, 228, 231, 0.88);
}

.guide-bullets strong,
.guide-ramp strong,
.guide-note strong,
.guide-callout strong,
.guide-dos strong {
  color: #fff;
  font-weight: 650;
  background: linear-gradient(180deg, transparent 58%, rgba(37, 99, 235, 0.4) 58%);
  padding: 0 0.1em;
}

.guide-ramp {
  list-style: decimal;
  margin-bottom: 0.55rem;
}

.guide-chips {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.guide-chips li {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.15);
  color: #bfdbfe;
}

.guide-callout {
  margin: 0.55rem 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(244, 244, 245, 0.9);
}

.guide-callout-k {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  vertical-align: 0.05em;
}

.guide-callout--tip {
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(14, 165, 233, 0.1);
}

.guide-callout--tip .guide-callout-k {
  background: rgba(14, 165, 233, 0.35);
  color: #e0f2fe;
}

.guide-callout--warn {
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(245, 158, 11, 0.12);
}

.guide-callout--warn .guide-callout-k {
  background: rgba(245, 158, 11, 0.4);
  color: #fffbeb;
}

.guide-callout--danger {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(239, 68, 68, 0.12);
}

.guide-callout--danger .guide-callout-k {
  background: rgba(239, 68, 68, 0.45);
  color: #fef2f2;
}

.guide-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(161, 161, 170, 0.98);
}

.guide-dos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.guide-dos li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(228, 228, 231, 0.9);
}

.guide-dos li > span:first-child {
  flex-shrink: 0;
  min-width: 2.6rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.18rem 0.4rem;
  border-radius: 6px;
  text-align: center;
}

.guide-do > span:first-child {
  background: rgba(34, 197, 94, 0.25);
  color: #bbf7d0;
}

.guide-dont > span:first-child {
  background: rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

.blog-guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.blog-guide-cta .btn-primary,
.blog-guide-cta .btn-ghost {
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
}

.blog-footer-block {
  max-width: 72rem;
  padding-top: 0.5rem;
}

.blog-cta {
  margin: 2rem 0 1.5rem;
  padding: 1.4rem 1.45rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.blog-cta-title {
  font-size: 1.15rem;
  font-weight: 650;
  margin: 0 0 0.4rem;
}

.blog-cta-text {
  color: var(--text-2, rgba(244, 244, 245, 0.75));
  margin: 0 0 1rem;
  line-height: 1.55;
}

.page-card-link {
  color: inherit;
  text-decoration: none;
}

.page-card-link:hover {
  color: var(--brand, #3b82f6);
}

.page-card-cta {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.page-card-cta a {
  color: var(--brand, #60a5fa);
  text-decoration: none;
  font-weight: 600;
}

.page-card-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .blog-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Simplified guide first on mobile for readability */
  .blog-guide {
    order: -1;
  }

  .blog-guide-sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .blog-aside-gallery {
    grid-template-columns: 1fr;
  }

  .guide-stat-row {
    grid-template-columns: 1fr;
  }
}
