/* ==========================================================================
   Guide Article Page — layout & components (typography via blog-article.css)
   ========================================================================== */

.guide-page-hero {
    background:
        radial-gradient(900px 400px at 0% -10%, rgba(6, 182, 212, 0.10), transparent 55%),
        radial-gradient(700px 400px at 100% 0%, rgba(249, 115, 22, 0.08), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.guide-hero-grid {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 72%);
}

.guide-main-width {
    width: 100%;
    max-width: 920px;
}

.guide-page-layout {
    position: relative;
}

.guide-featured-wrap {
    margin-top: -2rem;
    margin-bottom: 2.5rem;
}

.guide-featured-img {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.22);
}

.guide-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0e7490;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.guide-diff-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.guide-diff-badge--beginner {
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.guide-diff-badge--intermediate {
    color: #a16207;
    background: #fef9c3;
    border: 1px solid #fde047;
}

.guide-diff-badge--advanced {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.guide-meta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #64748b;
    font-size: 0.875rem;
}

.guide-key-takeaways {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(249, 115, 22, 0.04));
    border: 1px solid #e2e8f0;
    border-left: 4px solid #06b6d4;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
}

.guide-key-takeaways h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a !important;
    margin: 0 0 1rem;
}

.guide-key-takeaways li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

.guide-toc-widget {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
}

.guide-toc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}

#guide-toc a,
#guide-toc-mobile-inner a {
    display: block;
    padding: 0.45rem 0 0.45rem 0.75rem;
    margin-left: -0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    color: #475569;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
    text-decoration: none;
}

#guide-toc a:hover,
#guide-toc a.is-active,
#guide-toc-mobile-inner a:hover,
#guide-toc-mobile-inner a.is-active {
    color: #0e7490;
    border-left-color: #06b6d4;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.08), transparent);
}

.guide-sidebar-sticky {
    position: sticky;
    top: 6rem;
}

.guide-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s ease;
    box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.25);
}

.guide-share-btn:hover {
    transform: scale(1.08);
}

/* Override global cms heading rules inside article body */
.guide-article-shell .blog-article-content h2,
.guide-article-shell .blog-article-content h3,
.guide-article-shell .blog-article-content h4 {
    color: #0f172a;
}

.guide-article-shell .blog-article-content p {
    color: #4b5563;
}

@media (max-width: 1023px) {
    .guide-featured-wrap {
        margin-top: 1.5rem;
    }
}
