    /* BUG-5: Astra overrides H1 font on single posts — beat it with class specificity */
    .single .entry-title,
    .ast-article-post .entry-title {
        font-family: Arial, sans-serif !important;
        color: var(--navy,#1a2847) !important;
    }
    /* --- Post Meta: Reading Time + Badge + Science Category --- */
    .sporeus-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        font-family: Arial, sans-serif;
    }
    .sporeus-meta--card {
        margin-bottom: 6px;
        margin-top: 4px;
    }
    .sporeus-meta--single {
        margin-top: -4px;
        margin-bottom: 20px;
    }
    .sporeus-badge {
        display: inline-block;
        padding: 2px 10px;
        border-radius: 50px;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        line-height: 1.6;
    }
    .sporeus-sci-cat {
        font-family: Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--gold,#c9a961);
    }
    .sporeus-reading-time {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        font-family: Arial, sans-serif;
        font-size: 12px;
        color: #737373;
    }
    .sporeus-clock-icon {
        vertical-align: middle;
        flex-shrink: 0;
    }

    /* --- Table of Contents --- */
    .sporeus-toc {
        font-family: Arial, sans-serif;
        font-size: 13px;
        line-height: 1.5;
        color: #6b7280;
    }
    .sporeus-toc-title {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #1a1a1a;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--gold,#c9a961);
        display: inline-block;
    }
    .sporeus-toc-nav a {
        color: #6b7280;
        text-decoration: none;
        display: block;
        padding: 4px 0;
        border-left: 2px solid transparent;
        padding-left: 12px;
        transition: all 0.2s ease;
    }
    .sporeus-toc-nav a:hover,
    .sporeus-toc-nav a.active {
        color: var(--gold,#c9a961);
        border-left-color: var(--gold,#c9a961);
    }
    .sporeus-toc-nav a.toc-h3 {
        padding-left: 24px;
        font-size: 12px;
    }
    /* Fixed TOC — desktop sidebar */
    .sporeus-toc-fixed {
        position: fixed;
        left: calc((100vw - 1100px) / 2 - 250px);
        top: 100px;
        width: 220px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        z-index: 90;
    }
    .sporeus-toc-fixed::-webkit-scrollbar {
        width: 3px;
    }
    .sporeus-toc-fixed::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 3px;
    }
    /* Hide fixed TOC on narrow screens — needs 1700px to avoid left:-80px overflow */
    @media (max-width: 1700px) {
        .sporeus-toc-fixed {
            display: none !important;
        }
    }
    /* Inline TOC — mobile/narrow */
    .sporeus-toc-inline {
        background: #fafafa;
        border: 1px solid #f0f0f0;
        border-radius: 6px;
        padding: 16px 20px;
        margin-bottom: 24px;
    }
    .sporeus-toc-inline .sporeus-toc-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        user-select: none;
    }
    .sporeus-toc-inline .sporeus-toc-title {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .sporeus-toc-arrow {
        transition: transform 0.2s ease;
    }
    .sporeus-toc-inline.open .sporeus-toc-arrow {
        transform: rotate(180deg);
    }
    .sporeus-toc-inline .sporeus-toc-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .sporeus-toc-inline.open .sporeus-toc-nav {
        max-height: 600px;
        margin-top: 12px;
        padding-top: 8px;
        border-top: 1px solid #e5e5e5;
    }
    /* On wide screens, hide inline TOC */
    @media (min-width: 1701px) {
        .sporeus-toc-inline {
            display: none !important;
        }
    }

    /* --- Citation System --- */
    .sporeus-cite a {
        color: var(--gold,#c9a961);
        text-decoration: none;
        font-size: 0.75em;
        font-family: Arial, sans-serif;
        font-weight: 600;
    }
    .sporeus-cite a:hover {
        text-decoration: underline;
    }
    .sporeus-references {
        margin-top: 3em;
        padding-top: 2em;
        border-top: 1px solid #e5e5e5;
    }
    .sporeus-references h3 {
        font-family: Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #1a1a1a;
        border-bottom: 2px solid var(--gold,#c9a961);
        display: inline-block;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }
    .sporeus-references ol {
        padding-left: 0;
        list-style: none;
        counter-reset: ref-counter;
    }
    .sporeus-references li {
        counter-increment: ref-counter;
        padding-left: 2em;
        text-indent: -2em;
        margin-bottom: 12px;
        font-family: Arial, sans-serif;
        font-size: 14px;
        line-height: 1.6;
        color: #4a4a4a;
    }
    .sporeus-references li::before {
        content: counter(ref-counter) ". ";
        font-weight: 600;
        color: #1a1a1a;
    }
    .sporeus-backref {
        color: var(--gold,#c9a961);
        text-decoration: none;
        font-size: 0.85em;
    }
    .sporeus-backref:hover {
        text-decoration: underline;
    }

    /* --- Social Sharing --- */
    .sporeus-share-fixed {
        position: fixed;
        left: calc((100vw - 1100px) / 2 - 60px);
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 100;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    .sporeus-share-fixed.visible {
        opacity: 1;
        pointer-events: auto;
    }
    .sporeus-share-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid #e5e5e5;
        background: #ffffff;
        color: #6b7280;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        padding: 0;
        font-size: 0;
    }
    .sporeus-share-btn:hover {
        border-color: var(--gold,#c9a961);
        color: var(--gold,#c9a961);
    }
    .sporeus-share-btn svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }
    /* Hide fixed on narrow screens */
    @media (max-width: 1400px) {
        .sporeus-share-fixed {
            display: none !important;
        }
    }
    /* Inline share buttons (mobile) */
    .sporeus-share-inline {
        display: none;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        margin-top: 3em;
        padding-top: 2em;
        border-top: 1px solid #f0f0f0;
    }
    @media (max-width: 1400px) {
        .sporeus-share-inline {
            display: flex !important;
        }
    }

    /* === LONG-FORM TEMPLATE === */
    .sporeus-longform {
        max-width: 720px;
        margin: 0 auto;
        padding: 60px 20px 80px;
    }
    .sporeus-longform-header {
        text-align: center;
        margin-bottom: 48px;
        padding-bottom: 32px;
        border-bottom: 1px solid #f0f0f0;
    }
    .sporeus-longform-title {
        font-family: Arial, sans-serif;
        font-weight: 900;
        font-size: 2.4rem;
        line-height: 1.15;
        color: #1a1a1a;
        letter-spacing: -0.02em;
        margin-bottom: 20px;
    }
    .sporeus-longform-meta {
        font-family: Arial, sans-serif;
        font-size: 13px;
        color: #737373;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .sporeus-longform-author {
        color: #1a1a1a;
        font-weight: 500;
    }
    .sporeus-longform-sep {
        margin: 0 8px;
        color: #d1d5db;
    }
    .sporeus-longform-content {
        font-family: Arial, sans-serif;
        font-size: 1.1rem;
        line-height: 1.85;
        color: #1a1a1a;
    }
    .sporeus-longform-content p {
        margin-bottom: 1.6em;
    }
    /* Drop cap */
    .sporeus-longform-content > p:first-of-type::first-letter {
        font-family: Arial, sans-serif;
        font-weight: 900;
        font-size: 3.8em;
        float: left;
        line-height: 0.8;
        margin-right: 8px;
        margin-top: 4px;
        color: var(--gold,#c9a961);
    }

    /* Pull Quote */
    .sporeus-pullquote {
        margin: 2.5em -40px;
        padding: 32px 40px;
        border-top: 2px solid var(--gold,#c9a961);
        border-bottom: 2px solid var(--gold,#c9a961);
        text-align: center;
    }
    .sporeus-pullquote p {
        font-family: Arial, sans-serif;
        font-size: 1.5rem;
        font-style: italic;
        line-height: 1.5;
        color: #1a1a1a;
        margin: 0;
    }
    .sporeus-pullquote cite {
        display: block;
        font-family: Arial, sans-serif;
        font-size: 12px;
        font-style: normal;
        color: #737373;
        margin-top: 12px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    /* Chapter Excerpt Block */
    .sporeus-chapter-excerpt {
        margin: 2.5em 0;
        padding: 28px 32px;
        background: #fafafa;
        border-left: 3px solid var(--gold,#c9a961);
        border-radius: 0 4px 4px 0;
    }
    .sporeus-chapter-excerpt .chapter-label {
        font-family: Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--gold,#c9a961);
        margin-bottom: 8px;
    }
    .sporeus-chapter-excerpt .chapter-title {
        font-family: Arial, sans-serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 12px;
    }
    .sporeus-chapter-excerpt .chapter-text {
        font-family: Arial, sans-serif;
        font-size: 0.95rem;
        line-height: 1.7;
        color: #4a4a4a;
        margin: 0;
    }

    @media (max-width: 768px) {
        .sporeus-longform-title { font-size: 1.8rem; }
        .sporeus-pullquote { margin: 2em 0; padding: 24px 20px; }
        .sporeus-pullquote p { font-size: 1.2rem; }
        .sporeus-chapter-excerpt { padding: 20px 16px; }
    }

    /* === CONTRAST FIXES === */
    /* Astra entry-meta: dates, separators, reading time */
    .ast-single-post .entry-meta,
    .ast-single-post .entry-meta *,
    .entry-meta, .entry-meta *,
    .posted-on, .posted-on *,
    .entry-meta .published, .entry-meta .sep {
        color: #737373 !important;
    }
    /* Keep category links red */
    .entry-meta .ast-terms-link a {
        color: var(--gold,#c9a961) !important;
    }
    /* Breadcrumb separators and arrows */
    .trail-items .sep,
    .ast-breadcrumbs-wrapper .sep,
    .ast-breadcrumbs-wrapper span[aria-hidden],
    .sporeus-breadcrumbs nav > span,
    .sporeus-breadcrumbs nav > span > span {
        color: #737373 !important;
    }
    /* Keep breadcrumb links and current page default color */
    .sporeus-breadcrumbs nav a {
        color: var(--gold,#c9a961) !important;
    }
    .sporeus-breadcrumbs .breadcrumb_last {
        color: #737373 !important;
    }

    /* --- Footer copyright bar --- */
    /* Force dark background to match footer widget area above */
    .ast-small-footer,
    .ast-small-footer .ast-footer-overlay,
    .ast-small-footer .ast-container {
        background-color: #1a1a1a !important;
    }
    .ast-small-footer-section-1,
    .ast-small-footer-section-2 {
        color: #d1d5db !important;
    }

    /* --- Footer: force dark theme for entire footer --- */
    .site-footer {
        background-color: #2d2d2d !important;
    }
    /* --- Footer widget area (.footer-adv) --- */
    .footer-adv-overlay .widget-title,
    .footer-adv-overlay h2,
    .footer-adv-overlay h3 {
        color: #ffffff !important;
    }
    .footer-adv-overlay a,
    .footer-adv a,
    .footer-adv .menu-link,
    .footer-adv-overlay .menu-link,
    .site-footer .footer-adv a.menu-link,
    .site-footer .footer-adv-overlay .widget a,
    .site-footer .footer-adv-overlay .widget_categories a,
    .site-footer .footer-adv-overlay .widget_pages a,
    .site-footer .footer-adv-overlay .widget_nav_menu a {
        color: #d1d5db !important;
    }
    .footer-adv-overlay a:hover,
    .footer-adv a:hover,
    .footer-adv .menu-link:hover,
    .site-footer .footer-adv-overlay .widget a:hover {
        color: #ffffff !important;
    }
    .footer-adv-overlay li,
    .footer-adv-overlay p,
    .footer-adv-overlay span,
    .footer-adv-overlay div,
    .footer-adv-overlay td,
    .footer-adv-overlay th,
    .footer-adv-overlay caption {
        color: #d1d5db !important;
    }
    /* Calendar widget in footer */
    .footer-adv-overlay .wp-calendar-table,
    .footer-adv-overlay .wp-calendar-table th,
    .footer-adv-overlay .wp-calendar-table td {
        color: #d1d5db !important;
        border-color: #555 !important;
    }
    .footer-adv-overlay .wp-calendar-table a {
        color: #ffffff !important;
        font-weight: 700;
    }

    /* --- Featured image hero on single posts --- */
    .sp-post-hero-img {
        margin: 0 0 2em;
        border-radius: 6px;
        overflow: hidden;
        background: var(--cream2, #f0ebe2);
    }
    .sp-post-hero-img img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
    .sp-post-hero-caption {
        font-size: 0.8rem;
        color: #737373;
        text-align: center;
        margin-top: 8px;
        font-family: Arial, sans-serif;
        font-style: italic;
    }