/* ===================== Blog Header ===================== */
    .blog-nav {
      position: sticky; top: 0; z-index: 100;
      background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .blog-nav .nav-inner {
      max-width: 1180px; margin: 0 auto; padding: 14px 24px;
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
    }
    .blog-nav .brand {
      display: flex; align-items: center; gap: 10px;
      font-weight: 800; font-size: 22px; color: #fff;
    }
    .blog-nav .brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
    .blog-nav .brand .divider { width: 1px; height: 20px; background: rgba(255,255,255,.2); margin-inline: 4px; }
    .blog-nav .brand .tag-blog { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.6); }
    .blog-nav-links { display: flex; align-items: center; gap: 4px; }
    .blog-nav-links a {
      padding: 9px 15px; border-radius: 100px; font-weight: 600; font-size: 14.5px;
      color: rgba(255,255,255,.65); transition: background .2s var(--ease), color .2s var(--ease);
    }
    .blog-nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
    .blog-nav-links a.active { color: var(--sun); background: rgba(255,159,28,.12); }
    .blog-nav-cta { display: flex; align-items: center; gap: 12px; }

    .blog-burger {
      display: none; flex-direction: column; gap: 6px;
      width: 28px; height: 22px; justify-content: center; z-index: 101;
    }
    .blog-burger span { width: 100%; height: 3px; background: #fff; border-radius: 4px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
    .blog-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .blog-burger.open span:nth-child(2) { opacity: 0; }
    .blog-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .blog-mobile-drawer {
      position: fixed; inset: 0; background: var(--ink); z-index: 99;
      display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px;
      transform: translateX(100%); transition: transform .4s var(--ease);
    }
    .blog-mobile-drawer.open { transform: translateX(0); }
    .blog-mobile-drawer a { font-size: 20px; font-weight: 700; color: #fff; padding: 10px 20px; border-radius: 100px; }
    .blog-mobile-drawer a:hover { background: rgba(255,255,255,.08); }

    /* ===================== Article Masthead ===================== */
    .article-masthead {
      padding: 40px 0 60px; overflow: hidden; color: #fff;
      background:
        radial-gradient(ellipse 60% 60% at 88% 10%, rgba(255,159,28,.28), transparent 55%),
        linear-gradient(135deg, var(--grape), var(--sky));
    }
    .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 22px; }
    .breadcrumb a { color: rgba(255,255,255,.7); font-weight: 600; }
    .breadcrumb a:hover { color: #fff; }
    .breadcrumb span.sep { opacity: .5; }
    .breadcrumb span.current { color: #fff; font-weight: 700; }
    .article-masthead .eyebrow {
      display: inline-block; font-weight: 700; font-size: 13px; color: #fff;
      background: rgba(255,255,255,.15); padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
    }
    .article-masthead h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; max-width: 720px; margin-bottom: 20px; line-height: 1.3; }
    .article-meta { display: flex; align-items: center; gap: 20px; font-size: 14.5px; color: rgba(255,255,255,.85); flex-wrap: wrap; }
    .article-meta .author { display: flex; align-items: center; gap: 10px; }
    .article-meta .author img { width: 32px; height: 32px; border-radius: 50%; }
    .article-meta .meta-item { display: flex; align-items: center; gap: 6px; }
    .article-meta .meta-item svg { width: 18px; height: 18px; opacity: 0.7; }

    /* ===================== Article Container ===================== */
    .article-container {
      display: grid; grid-template-columns: 1fr 320px; gap: 36px; padding: 60px 0; align-items: start;
    }
    .article-content { min-width: 0; }

    @media (max-width: 1024px) {
      .article-container { grid-template-columns: 1fr; }
    }

    /* ===================== Article Content Styling ===================== */
    .article-content h2 {
      font-size: 28px; font-weight: 800; margin: 40px 0 16px; color: var(--ink);
      line-height: 1.4;
    }
    .article-content h2:first-child { margin-top: 0; }
    .article-content h3 {
      font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--ink);
      line-height: 1.35;
    }
    .article-content h4 {
      font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--ink);
    }
    .article-content p {
      font-size: 16px; margin-bottom: 16px; color: var(--ink);
      line-height: 1.8;
    }
    .article-content p + p { margin-top: 12px; }
    .article-content a {
      color: var(--sky); font-weight: 600;
      transition: opacity .2s var(--ease);
    }
    .article-content a:hover { opacity: 0.8; }

    /* ===================== Lists Styling ===================== */
    .article-content ul, .article-content ol {
      margin: 20px 0 20px 24px;
    }
    .article-content ul li, .article-content ol li {
      margin-bottom: 12px; font-size: 16px; color: var(--ink);
      line-height: 1.8;
    }
    .article-content ul li:before {
      content: "✓"; margin-inline-end: 12px; color: var(--leaf); font-weight: 700;
    }
    .article-content ol { list-style: decimal; margin-inline-start: 24px; }
    .article-content ol li { margin-inline-start: 8px; }

    /* ===================== Quote/Highlight Styling ===================== */
    .article-content blockquote {
      margin: 24px 0; padding: 20px 24px; border-right: 4px solid var(--sun);
      background: var(--sun-100); border-radius: var(--radius-md);
      font-style: italic; color: var(--ink); font-size: 16px;
    }
    .article-content .highlight {
      background: var(--sun-100); padding: 2px 6px; border-radius: 4px;
      color: var(--sun-deep); font-weight: 600;
    }
    .article-content .note {
      margin: 24px 0; padding: 20px; background: var(--sky-100);
      border-radius: var(--radius-md); border-left: 4px solid var(--sky);
      color: var(--ink); font-size: 15px;
    }
    .article-content .note strong { color: var(--sky); }
    .article-content .tip {
      margin: 24px 0; padding: 20px; background: var(--leaf-100);
      border-radius: var(--radius-md); border-left: 4px solid var(--leaf);
      color: var(--ink); font-size: 15px;
    }
    .article-content .tip strong { color: var(--leaf); }

    /* ===================== Images & Media ===================== */
    .article-content img {
      max-width: 100%; border-radius: var(--radius-md);
      margin: 28px 0; box-shadow: var(--shadow-md);
    }
    .article-content figure {
      margin: 28px 0; text-align: center;
    }
    .article-content figcaption {
      font-size: 13px; color: var(--ink-soft); margin-top: 10px;
      font-style: italic;
    }

    /* ===================== Tables ===================== */
    .article-content table {
      width: 100%; margin: 28px 0; border-collapse: collapse;
      border-radius: var(--radius-md); overflow: hidden;
      box-shadow: var(--shadow-md);
    }
    .article-content table thead {
      background: var(--grape-100);
    }
    .article-content table th {
      padding: 14px 16px; text-align: right; font-weight: 700;
      color: var(--grape); font-size: 14px;
    }
    .article-content table td {
      padding: 12px 16px; border-bottom: 1px solid var(--line);
      font-size: 15px; color: var(--ink);
    }
    .article-content table tr:last-child td {
      border-bottom: none;
    }
    .article-content table tbody tr:hover {
      background: var(--canvas-2);
    }

    /* ===================== Code Blocks ===================== */
    .article-content code {
      background: #f5f5f5; padding: 2px 6px; border-radius: 4px;
      font-family: 'Courier New', monospace; font-size: 14px; color: #d63384;
    }
    .article-content pre {
      background: #2e2a3d; color: #fff; padding: 20px;
      border-radius: var(--radius-md); overflow-x: auto; margin: 28px 0;
      font-family: 'Courier New', monospace; font-size: 14px; line-height: 1.6;
    }
    .article-content pre code { background: none; color: #fff; padding: 0; }

    /* ===================== Newsletter Section ===================== */
    .newsletter {
      padding: 60px 0; background:
        radial-gradient(ellipse 60% 60% at 15% 85%, rgba(124,92,191,.12), transparent 55%),
        linear-gradient(135deg, var(--grape-100), var(--sky-100));
    }
    .newsletter-inner {
      text-align: center; max-width: 560px; margin: 0 auto;
      display: flex; flex-direction: column; align-items: center; gap: 20px;
    }
    .newsletter-mascot { width: 100px; height: 100px; }
    .newsletter h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
    .newsletter p { font-size: 16px; color: var(--ink-soft); }
    .newsletter-form {
      display: flex; gap: 12px; width: 100%; max-width: 420px;
      flex-wrap: wrap; justify-content: center;
    }
    .newsletter-form input {
      flex: 1; min-width: 200px; padding: 12px 18px; border: none;
      border-radius: 100px; font-size: 14px; font-family: inherit;
    }
    .newsletter-form button {
      padding: 12px 24px; border-radius: 100px; font-weight: 700;
      background: var(--sun); color: #fff; font-size: 14px;
      box-shadow: 0 4px 0 var(--sun-deep); cursor: pointer;
      transition: transform .2s var(--ease);
    }
    .newsletter-form button:hover {
      transform: translateY(-2px);
    }
    .newsletter-note { font-size: 12px; color: var(--ink-soft); }

.article-meta .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sun-100); color: var(--sun-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.article-content .blog-prose-modern,
.article-content .article-prose { font-size: inherit; }
.article-content .blog-prose-modern img,
.article-content .article-prose img { max-width: 100%; border-radius: var(--radius-md); margin: 28px 0; box-shadow: var(--shadow-md); }

/* Dark footer on article pages (matches article mockup) */
body.article-page .jjb-chrome-footer {
  background: var(--ink);
  color: #fff;
  border-top: none;
}
body.article-page .jjb-chrome-footer .footer-brand .brand,
body.article-page .jjb-chrome-footer .footer-col b {
  color: #fff;
}
body.article-page .jjb-chrome-footer .footer-brand p,
body.article-page .jjb-chrome-footer .footer-col a {
  color: rgba(255, 255, 255, 0.7);
}
body.article-page .jjb-chrome-footer .footer-col a:hover {
  color: #fff;
}
body.article-page .jjb-chrome-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}
body.article-page .jjb-chrome-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}
