        /* ---------- base (same as existing blog) ---------- */
        .breadcrumb { max-width: var(--max-width); margin: 24px auto 0; padding: 0 24px; font-size: 0.85rem; color: var(--text-muted); }
        .breadcrumb a { color: var(--primary); text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }

        .article-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 60px; }
        .article-header { margin: 24px 0 32px; }
        .article-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--text-dark); line-height: 1.4; margin-bottom: 12px; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
        .article-featured-image { width: 100%; height: clamp(220px, 35vw, 420px); overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 32px; }
        .article-featured-image img, .article-featured-image picture { width: 100%; height: 100%; object-fit: cover; display: block; }
        .article-intro { font-size: 1.05rem; color: var(--text-body); line-height: 2; margin-bottom: 24px; background: var(--bg-soft); border-radius: var(--radius-md); padding: 20px 24px; border-right: 4px solid var(--primary); }
        .article-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border-soft); }
        .article-content h3 { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); margin: 28px 0 10px; }
        .article-content p { font-size: 1rem; margin-bottom: 16px; color: var(--text-body); line-height: 2; }
        .article-content ul, .article-content ol { margin-bottom: 16px; padding-right: 24px; }
        .article-content li { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-body); line-height: 1.9; }
        .article-content a { color: var(--primary); text-decoration: none; font-weight: 500; }
        .article-content a:hover { text-decoration: underline; }

        /* ---------- Collapsible TOC ---------- */
        .toc-toggle-btn {
            background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
            padding: 12px 20px; width: 100%; text-align: right; font-weight: 600; color: var(--text-dark);
            display: flex; justify-content: space-between; align-items: center; cursor: pointer;
            font-family: var(--font-family); font-size: 1rem; margin-bottom: 20px;
        }
        .toc-toggle-btn::after { content: "▲"; transition: transform 0.3s; }
        .toc-toggle-btn.collapsed::after { transform: rotate(180deg); }
        .table-of-contents {
            background: var(--bg-soft); border-radius: var(--radius-md); padding: 20px 24px;
            margin-bottom: 32px; overflow: hidden;
            max-height: 800px; opacity: 1;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.5s ease, margin 0.5s ease;
        }
        .table-of-contents.collapsed {
            max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0;
        }
        .table-of-contents h3 { margin-top: 0; font-size: 1.1rem; }
        .table-of-contents ul { list-style: none; padding: 0; }
        .table-of-contents li { margin-bottom: 6px; }
        .table-of-contents a { color: var(--text-body); font-weight: 500; }
        .table-of-contents a:hover { color: var(--primary); }

        /* ---------- FAQ Accordion ---------- */
        .faq-section { margin-top: 40px; }
        .faq-section h2 { font-size: 1.5rem; margin-bottom: 20px; color: var(--text-dark); }
        .faq-item { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
        .faq-question { width: 100%; background: none; border: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: var(--font-family); font-size: 1rem; font-weight: 600; color: var(--text-dark); text-align: right; transition: color var(--transition-fast); }
        .faq-question:hover { color: var(--primary); }
        .faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-white); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); font-weight: 700; border: 1px solid var(--border-soft); }
        .faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); border-color: var(--primary); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s, padding 0.4s; padding: 0 22px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.9; }
        .faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 20px; }

        /* ---------- Related Posts ---------- */
        .related-posts { margin-top: 60px; border-top: 2px solid var(--border-soft); padding-top: 32px; }
        .related-posts h2 { font-size: 1.4rem; margin-bottom: 20px; color: var(--text-dark); }
        .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        .related-card { background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft); transition: all 0.3s; }
        .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .related-thumb { height: 140px; overflow: hidden; }
        .related-thumb picture, .related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .related-body { padding: 16px; }
        .related-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
        .related-body h3 a { color: var(--text-dark); text-decoration: none; }
        .related-body h3 a:hover { color: var(--primary); }
        .related-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

        .site-footer { background: #1a1a2e; color: #cbd5e1; padding: 28px 24px; text-align: center; font-size: 0.85rem; margin-top: 40px; }
        .site-footer a { color: #cbd5e1; text-decoration: none; }

        /* Dark mode */
        html.dark { --bg-white: #121220; --bg-soft: #1e1e30; --text-dark: #ecf0f5; --text-body: #cfd8e6; --text-muted: #8b96ad; --border-soft: #2d2f45; --shadow-sm: 0 1px 3px rgba(0,0,0,0.3); --shadow-md: 0 4px 16px rgba(0,0,0,0.4); --shadow-lg: 0 12px 32px rgba(0,0,0,0.5); --primary: #61a3e0; --primary-dark: #4a88cc; --primary-light: #7ab8f0; }
        html.dark .site-header { background: rgba(18,18,32,0.85); }
        html.dark .site-footer { background: #0e0e1c; }
        html.dark .table-of-contents, html.dark .article-intro { background: #1e1e30; }

        @media (max-width: 768px) {
            .main-nav, .header-cta { display: none; }
            .hamburger { display: flex; }
            .article-featured-image { height: 220px; }
            .related-grid { grid-template-columns: 1fr; }
            .article-header h1 { font-size: 1.6rem; }
        }
        /* ========== Modern Glance Card ========== */
        .glance-card {
            background: linear-gradient(135deg, rgba(59,126,199,0.05), rgba(255,255,255,0.9));
            border: 1px solid var(--border-soft);
            border-radius: var(--radius-lg);
            padding: 28px 26px 24px;
            margin-bottom: 32px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.02);
            position: relative;
            transition: all 0.3s ease;
        }
        /* subtle glow on hover */
        .glance-card:hover {
            box-shadow: 0 12px 38px rgba(59,126,199,0.06);
            border-color: var(--primary);
        }

        .glance-header {
            margin-bottom: 22px;
            text-align: right;
        }

        .glance-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 4px 16px;
            border-radius: 30px;
            margin-bottom: 10px;
            letter-spacing: 0.3px;
        }

        .glance-subtitle {
            font-size: 0.92rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin: 0;
        }

        .glance-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .glance-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            background: rgba(255,255,255,0.6);
            padding: 14px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-soft);
            transition: background 0.2s;
        }
        .glance-item:hover {
            background: #fff;
            border-color: var(--primary);
        }

        .glance-icon {
            font-size: 1.4rem;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .glance-text strong {
            display: block;
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .glance-text span {
            font-size: 0.82rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* Dark mode adjustments */
        html.dark .glance-card {
            background: linear-gradient(135deg, rgba(97,163,224,0.06), #1e1e30);
            border-color: #2d2f45;
        }
        html.dark .glance-card:hover {
            box-shadow: 0 12px 38px rgba(0,0,0,0.2);
        }
        html.dark .glance-item {
            background: rgba(30,30,50,0.7);
            border-color: #2d2f45;
        }
        html.dark .glance-item:hover {
            background: #2a2a42;
            border-color: var(--primary);
        }

        /* Responsive – stack on small screens */
        @media (max-width: 600px) {
            .glance-grid {
                grid-template-columns: 1fr;
            }
        }