/* ════════════════════════════════════════════════════════════════════════════
   Blog single skin (galv blog v0.2) — Subash's Blog Pages comp CSS VERBATIM
   (one shared stylesheet across all 536 per-post comps; rep: 5-study-abroad-myths).
   Loaded on single `post` by includes/blog_styles.php. Replaces the v0.1 Claude
   BEM skin. Do NOT re-skin — fixes go through the designer comp first.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
            --bg-navy: #13217c;
            --primary-blue: #3b5bff;
            --cta-magenta: #cc00cc;
            --accent-blue: #e6ebff;
            --text-white: #fffdfe;
            --text-dark: #333;
            --text-gray: #808080;
            --success-green: #2d8a4e;
            --font-heading: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
            --container-width: 1920px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.5;
            background-color: #fafbfe;
            margin: 0;
            padding: 0;
            width: 100%;
            overflow: visible;
            /* Required for sticky */
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-heading);
            font-weight: 600;
        }

        .container {
            width: 100%;
            max-width: var(--container-width);
            padding: 0 80px;
            margin: 0 auto;
        }

        .section-for-desktop {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }

        .btn {
            display: inline-block;
            padding: 12px 32px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all .3s ease;
            border: none;
            font-family: var(--font-heading);
        }

        .btn-magenta {
            background-color: var(--cta-magenta);
            color: var(--text-white);
            -webkit-tap-highlight-color: transparent;
            /* Removes default tap highlight on mobile */
            user-select: none;
            /* Prevents text selection on quick double-taps */
        }

        .btn-magenta:hover {
            background-color: #a600a6;
        }

        body {
            background-color: #fafbfe;
        }

        .article-header {
            padding-top: 40px;
            padding-bottom: 20px;
        }

        .breadcrumbs {
            font-size: 14px;
            color: var(--text-gray);
            margin-bottom: 20px;
            font-family: var(--font-body);
        }

        .breadcrumbs a {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
        }

        .breadcrumbs .separator {
            margin: 0 8px;
            font-size: 12px;
        }

        .article-title {
            color: var(--primary-blue);
            font-size: 32px;
            line-height: 40px;
            margin-bottom: 20px;
            max-width: 900px;
        }

        .article-tags {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .article-tag {
            background-color: var(--accent-blue);
            color: var(--primary-blue);
            font-size: 18px;
            line-height: 29px;
            padding: 8px 20px;
            border-radius: 999px;
        }

        .article-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
        }

        .author-info-wrap {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .author-details {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .author-name {
            color: var(--text-dark);
            font-size: 18px;
            font-weight: 500;
            line-height: 32px;
        }

        .author-meta-stats {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .author-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-dark);
            font-size: 18px;
            line-height: 29px;
        }

        .author-img-small {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid var(--cta-magenta);
        }

        .social-share {
            display: flex;
            gap: 10px;
        }

        .share-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background-color: #e6ebff;
            /* Fallback */
            background: linear-gradient(135deg, #13217c, #3b5bff);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: transform 0.2s, background 0.2s;
        }

        .share-icon:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, #3b5bff, #13217c);
        }

        .share-icon.fb {
            background: #1877f2;
        }

        .share-icon.in {
            background: #0a66c2;
        }

        .share-icon.tw {
            background: #1da1f2;
        }

        .share-icon.link {
            background: var(--text-gray);
        }

        /* Content CTA Block */
        .content-cta-box {
            background-color: var(--bg-navy);
            border-radius: 20px;
            padding: 30px;
            margin: 30px 0;
            text-align: center;
            color: #fff;
            box-shadow: 0 10px 30px rgba(19, 33, 124, 0.15);
            overflow: hidden;
            width: 100%;
            max-width: 100%;
        }

        .content-cta-title {
            font-size: 18px;
            line-height: 29px;
            font-weight: 600;
            font-family: var(--font-heading);
        }

        .content-cta-subtitle {
            font-size: 18px;
            line-height: 29px;
            font-weight: 600;
            margin-bottom: 20px;
            font-family: var(--font-heading);
        }

        /* CTA Carousel Styles */
        .cta-carousel-wrap {
            position: relative;
            margin: 20px 0;
            padding: 0;
            width: 100%;
        }

        .cta-swiper {
            width: 100%;
            height: auto;
            border-radius: 8px;
            overflow: hidden;
            background-color: #fff;
            padding: 10px 0;
        }

        .cta-swiper .swiper-wrapper {
            transition-timing-function: linear !important;
        }

        .cta-logo-slide {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 80px;
        }

        .cta-logo-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .content-cta-box .btn-magenta {
            padding: 12px 24px;
            font-size: 18px;
            line-height: 24px;
        }

        .layout-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 340px;
            gap: 40px;
            padding-top: 60px;
            padding-bottom: 60px;
            width: 100%;
            max-width: 100%;
            align-items: stretch;
        }

        .main-featured-img {
            width: 100%;
            height: auto;
            border-radius: 20px;
            margin-bottom: 30px;
            object-fit: cover;
        }

        .article-content {
            font-size: 16px;
            color: #444;
            line-height: 1.8;
            font-family: var(--font-body);
            min-width: 0;
            overflow: hidden;
        }

        .article-content p {
            margin-bottom: 20px;
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
        }

        .article-content h2 {
            color: var(--primary-blue);
            font-size: 26px;
            line-height: 34px;
            font-weight: 600;
            margin: 30px 0 20px 0;
        }

        .article-content ul {
            margin-bottom: 24px;
            padding-left: 20px;
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
        }

        .article-content li {
            margin-bottom: 12px;
            position: relative;
        }

        .article-content li strong {
            color: var(--text-dark);
        }

        .content-banner {
            width: 100%;
            border-radius: 12px;
            margin: 10px 0;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .content-banner:hover {
            transform: translateY(-4px);
        }

        /* Sidebar */
        .article-sidebar {
            min-width: 0;
        }

        .toc-box {
            margin-bottom: 30px;
            overflow: hidden;
        }

        .toc-title {
            color: var(--cta-magenta);
            font-size: 22px;
            line-height: 30px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .toc-list li {
            margin-bottom: 8px;
        }

        .toc-list li:last-child {
            margin-bottom: 0;
        }

        .toc-list a {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            display: block;
            padding: 12px 16px;
            border-radius: 4px;
            transition: all 0.2s;
        }


        .toc-list a:hover,
        .toc-list a.active {
            color: var(--primary-blue);
            background-color: #f0f4ff;
        }

        .toc-list a.active {
            background-color: #3b5bff;
            color: #fff;
        }

        /* TOC Responsive Visibility */
        .toc-mobile-only {
            display: none;
            /* Hidden on desktop by default */
            margin-bottom: 30px;
        }

        .toc-desktop-only {
            display: block;
            /* Visible on desktop by default */
        }

        .sidebar-banner {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            cursor: pointer;
            transition: transform 0.3s;
        }

        .sidebar-banner:hover {
            transform: translateY(-4px);
        }

        /* Sidebar CTA Carousel Wrapper */
        .card-Slider.sticky-banner {
            margin-top: 30px;
            position: sticky;
            top: 20px;
            overflow: hidden;
            border-radius: 20px;
            z-index: 10;
        }

        /* Sidebar CTA Card */
        .sidebar-cta-card {
            background-color: #1a237e;
            border-radius: 20px;
            padding: 20px;
            color: white;
            box-shadow: 0 10px 30px rgba(26, 35, 126, 0.15);
            margin-top: 0;
        }

        .sidebar-cta-card img {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 20px;
            display: block;
        }

        .sidebar-cta-card h4 {
            font-size: 22px;
            font-weight: 600;
            line-height: 30px;
            margin-bottom: 10px;
        }

        .sidebar-cta-card p {
            font-size: 16px;
            line-height: 26px;
            margin-bottom: 24px;
            color: rgba(255, 255, 255, 0.95);
        }

        .sidebar-cta-card .btn-magenta {
            width: 100%;
            padding: 14px;
            font-size: 18px;
            line-height: 29px;
            border-radius: 12px;
            text-align: center;
            display: block;
        }

        /* About Author Sidebar */
        .about-author-sidebar {
            margin-bottom: 30px;
        }

        .about-author-sidebar h3 {
            color: var(--cta-magenta);
            font-size: 22px;
            line-height: 30px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .about-author-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .about-author-profile img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #eef1f6;
        }

        .about-author-details .name {
            font-weight: 400;
            color: var(--text-dark);
            font-size: 18px;
            line-height: 29px;
            display: block;
            margin-bottom: 4px;
        }

        .about-author-details .credential {
            color: var(--cta-magenta);
            font-size: 16px;
            line-height: 26px;
            font-weight: 600;
        }

        .about-author-desc {
            font-size: 14px;
            line-height: 26px;
            color: var(--text-dark);
            font-style: italic;
        }

        /* Recommended Section */
        .recommended-section {
            background-color: var(--accent-blue);
            padding: 60px 0;
            border-top: 1px solid #eef1f6;
        }

        .recommended-title {
            text-align: center;
            color: var(--primary-blue);
            font-size: 36px;
            line-height: 48px;
            margin-bottom: 40px;
        }

        .recom-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .recom-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            display: block;
            border: 1px solid #f0f2f5;
        }

        .recom-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        }

        .recom-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-bottom: 1px solid #f0f2f5;
        }

        .recom-content {
            padding: 24px;
        }

        .recom-tag {
            display: inline-block;
            background-color: var(--accent-blue);
            color: var(--primary-blue);
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 4px;
            margin-bottom: 12px;
            text-transform: uppercase;
        }

        .recom-heading {
            color: var(--text-dark);
            font-size: 18px;
            line-height: 1.4;
            margin-bottom: 15px;
            min-height: 50px;
            transition: color 0.2s;
        }

        .recom-card:hover .recom-heading {
            color: var(--primary-blue);
        }

        .recom-meta {
            color: var(--text-gray);
            font-size: 13px;
            display: flex;
            align-items: center;
        }

        .recom-btn-wrap {
            text-align: center;
        }

        .btn-primary {
            background-color: var(--primary-blue);
            color: white;
            padding: 14px 40px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 18px;
            line-height: 29px;
        }

        .blog-card {
            background: #fff;
            border-radius: 20px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }

        .blog-thumbnail {
            width: 100%;
            height: 200px;
            border-radius: 10px;
            object-fit: cover;
        }

        .blog-category-flex {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .blog-category-badge {
            background: var(--accent-blue);
            color: var(--primary-blue);
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 29px;
            padding: 4px 12px;
            border-radius: 999px;
            display: inline-block;
            margin: 10px 0;
            width: max-content;
        }

        .blog-title {
            font-size: 18px;
            line-height: 29px;
            font-weight: 600;
            color: var(--primary-blue);
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-excerpt {
            font-size: 14px;
            color: var(--text-dark);
            line-height: 22px;
            margin-bottom: 20px;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: #94a3b8;
        }

        .blog-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            line-height: 22px;
            color: var(--text-gray);
        }

        /* FAQ Section */

        .faq-title {
            color: var(--primary-blue);
            font-size: 32px;
            margin-bottom: 30px;
            font-weight: 700;
        }

        .faq-item {
            margin-bottom: 24px;
        }

        .faq-question {
            font-size: 18px;
            font-weight: 700;
            line-height: 29px;
            color: var(--text-dark);
            margin-bottom: 12px;

        }

        .faq-answer {
            font-size: 18px;
            color: var(--text-dark);
            line-height: 29px;
            margin-left: 20px;
        }

        .faq-item:last-child {
            margin-bottom: 0;
        }

        .blog-meta-item svg {
            width: 16px;
            height: 16px;
        }

        .btn-primary:hover {
            background-color: var(--bg-navy);
        }

        /* Responsive Improvements */
        @media (max-width: 1200px) {
            .container {
                padding: 0 40px;
            }
        }

        @media (max-width: 1024px) {
            .container {
                padding: 0 30px;
            }

            .layout-grid {
                grid-template-columns: 1fr;
                gap: 30px;
                width: 100%;
            }

            .article-sidebar {
                position: static;
            }

            /* TOC Responsive Visibility for Tablet/Mobile */
            .toc-desktop-only {
                display: none;
            }

            .toc-mobile-only {
                display: block;
            }

            .recom-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .cta-carousel-wrap {
                max-width: 100%;
                padding: 0 20px;
            }

            .main-featured-img {
                max-height: 400px;
                margin-bottom: 30px;
            }

            .content-banner {
                max-height: 250px;
                object-fit: cover;
                margin: 20px 0;
            }

            /* Resize Sidebar Carousel for Tablet */
            .card-Slider.sticky-banner {
                max-width: 400px;
                margin-left: auto;
                margin-right: auto;
            }

            .sidebar-cta-card {
                padding: 20px;
            }

            .sidebar-cta-card h4 {
                font-size: 20px;
                margin-bottom: 12px;
            }

            .sidebar-cta-card p {
                font-size: 15px;
                margin-bottom: 20px;
            }

            .article-content ul {
                padding-left: 0px;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 40px 20px;
            }

            .layout-grid {
                gap: 10px;
            }

            .content-cta-box {
                padding: 30px 20px;
            }

            .article-title {
                font-size: 26px;
                line-height: 34px;
                margin-bottom: 30px;
            }

            .author-img-small {
                width: 36px;
                height: 36px;
            }

            .author-meta-item {
                font-size: 14px;
                line-height: 22px;
            }

            .recom-grid {
                grid-template-columns: 1fr;
            }

            .author-info-wrap {
                gap: 12px;
                align-items: center;
            }

            .author-details {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }

            .author-meta-stats {
                gap: 12px;
            }

            .author-name {
                font-size: 16px;
                line-height: 24px;
            }

            .author-meta-item {
                font-size: 14px;
            }

            .about-author-desc {
                text-align: justify;
            }

            .article-content {
                font-size: 15px;
            }

            .article-content h2 {
                font-size: 22px;
                margin: 30px 0 15px 0;
            }

            .article-content ul {
                padding-left: 0px;
            }

            .sidebar-cta-card {
                padding: 20px;
                margin-top: 20px;
            }

            .main-featured-img {
                max-height: 250px;
                margin-bottom: 20px;
            }

            .content-banner {
                max-height: 180px;
                margin: 0;
            }

            .content-cta-title {
                font-size: 16px;
                line-height: 26px;
            }

            .content-cta-subtitle {
                font-size: 16px;
                line-height: 26px;
            }

            .faq-section {
                margin-bottom: 30px;
            }

            .recommended-section {
                padding: 0px;
            }

            .recommended-title {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 30px;
            }
        }

/* ════════════════════════════════════════════════════════════════════════════
   Bricks integration reset (galv blog v0.2) — same neutralizer as the other
   comp-verbatim templates, scoped to blog singles. Comp body: Inter on #fafbfe.
   ════════════════════════════════════════════════════════════════════════════ */
body.single-post #brx-content.brxe-container,
body.single-post .brxe-container.brxe-blgrt,
body.single-post .brxe-text {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    gap: 0 !important;
    align-items: stretch !important;
}
body.single-post #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-post {
    font-family: 'Inter', system-ui, sans-serif;
    color: #333;
    background: #fafbfe;
}
body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4 {
    font-family: 'Poppins', sans-serif;
}
/* The comp has no site header; under the WP sticky header the top:20px banner
   slides underneath it (Ram 6/10 PM feedback #4) — offset past the header. */
body.single-post .card-Slider.sticky-banner {
    top: 100px;
}

/* ════════════════════════════════════════════════════════════════════════════
   SEO/GEO additions (Ram 6/10 PM) — Key Takeaways box + per-post FAQ. Not in
   the comp (sanctioned additions); styled on the comp palette — Subash may
   restyle via the comp later.
   ════════════════════════════════════════════════════════════════════════════ */
.key-takeaways {
    background: #e6ebff;
    border-left: 4px solid #3b5bff;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 8px 0 24px;
}
.key-takeaways-title {
    font-size: 18px;
    color: #13217c;
    margin-bottom: 10px;
}
.key-takeaways-list {
    margin: 0;
    padding-left: 20px;
}
.key-takeaways-list li {
    list-style: disc;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.6;
}
.blog-faq {
    margin-top: 40px;
}
.blog-faq-title {
    font-size: 26px;
    color: #13217c;
    margin-bottom: 16px;
}
.blog-faq-item {
    background: #fffdfe;
    border: 1px solid #e6ebff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.blog-faq-q {
    font-size: 18px;
    color: #3b5bff;
    margin-bottom: 8px;
}
.blog-faq-a {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.blog-faq-a p {
    margin-bottom: 8px;
}

/* ════════════════════════════════════════════════════════════════════════════
   Inline content CTAs / text links in the blog body (Subash 2026-06-12) — make
   in-prose hyperlinks clearly clickable (#3B5BFF, underlined, slightly bolder).
   Scoped to PROSE: the ToC (.toc-list) is excluded; recommended cards + author/CTA
   sidebar live outside .article-content so are untouched. FAQ-answer links are
   content → included. Buttons (.btn) excluded.
   ════════════════════════════════════════════════════════════════════════════ */
.article-content p a:not(.btn),
.article-content td a:not(.btn),
.article-content ul:not(.toc-list) li a:not(.btn),
.article-content ol li a:not(.btn),
.blog-faq-a a {
    color: #3B5BFF;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.15s ease;
}
.article-content p a:not(.btn):hover,
.article-content td a:not(.btn):hover,
.article-content ul:not(.toc-list) li a:not(.btn):hover,
.article-content ol li a:not(.btn):hover,
.blog-faq-a a:hover {
    color: #13217c;
}

/* ════════════════════════════════════════════════════════════════════════════
   Tables in blog body (Subash 2026-06-12) — the comp had no tables, so the body
   tables rendered unstyled. Styled on the comp palette (navy header, zebra rows,
   lavender borders); horizontally scrollable on mobile.
   ════════════════════════════════════════════════════════════════════════════ */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.55;
    border: 1px solid #e6ebff;
}
.article-content table th {
    background: #13217c;
    color: #fff;
    text-align: left;
    font-weight: 600;
    padding: 12px 16px;
    border-right: 1px solid #2a3a9e;
}
.article-content table td {
    padding: 11px 16px;
    border-top: 1px solid #eef1f6;
    border-right: 1px solid #f3f5fb;
    color: #333;
    vertical-align: top;
}
.article-content table tr:nth-child(even) td {
    background: #f7f9ff;
}
.article-content table th:last-child,
.article-content table td:last-child {
    border-right: none;
}
@media (max-width: 600px) {
    .article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ToC H2/H3 nesting (Ram 2026-06-12) — indent + lighten H3 sub-items so a long ToC
   reads as a hierarchy, not one flat block.
   ════════════════════════════════════════════════════════════════════════════ */
.toc-list li.toc-sub {
    margin-left: 16px;
}
.toc-list li.toc-sub a {
    font-size: 14px;
    color: #5b6473;
}
.toc-list li.toc-sub a::before {
    content: "\2013\00a0";
    opacity: 0.55;
}

/* ════════════════════════════════════════════════════════════════════════════
   Body H3/H4 sizing (Ram 2026-06-12) — the comp styles .article-content h2 (26px)
   but NOT h3/h4, so they fell back to a default LARGER than h2 (inverted hierarchy).
   Re-establish H2 > H3 > H4.
   ════════════════════════════════════════════════════════════════════════════ */
.article-content h3 {
    color: #333333;   /* Subash 2026-06-12: body H3s navy #13217c -> #333333 (e.g. "Passage Type: Exposition") */
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    margin: 24px 0 10px;
}
.article-content h4 {
    color: #13217c;
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
    margin: 20px 0 8px;
}
@media (max-width: 768px) {
    .article-content h3 { font-size: 18px; line-height: 26px; }
    .article-content h4 { font-size: 16px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   ToC UX — fixed-height scroll + custom scrollbar + bottom fade (Subash's ToC
   prototype, 2026-06-12). Net-new affordances layered over the comp's ToC visuals
   (the box/title/active-link styling stays comp-verbatim). Native scrollbar hidden;
   .toc-thumb is driven by blog.js. Applies to both the desktop + mobile boxes.
   ════════════════════════════════════════════════════════════════════════════ */
.toc-box {
    position: relative;                       /* anchor for the fade ::after (box is already overflow:hidden) */
}
.toc-box::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}
.toc-list-wrap {
    position: relative;
}
.toc-list {
    position: relative;                       /* offsetParent for the active-item auto-scroll math */
    max-height: 35vh;
    overflow-y: auto;
    padding-right: 14px;                      /* gutter for the custom track */
    scrollbar-width: none;                    /* Firefox: hide native bar */
    -ms-overflow-style: none;                 /* IE/legacy Edge */
}
.toc-list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;                            /* WebKit: hide native bar */
}
.toc-track {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2px;
    width: 6px;
    background: #eef1fb;
    border-radius: 6px;
    pointer-events: none;
}
.toc-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    background: #3b5bff;
    border-radius: 6px;
    transition: top 0.05s linear, height 0.05s linear;
}
@media (max-width: 768px) {
    .toc-list { max-height: 240px; }
}
