/**
 * Single Blog Post — New Design (Variant B / Split CTA)
 *
 * Loaded conditionally on is_singular('post') via functions.php.
 * Replaces the old cgt-hero / cgt-sidebar / cgt-toc layout.
 * Shared .article-content styles remain in main.css; overrides below.
 *
 * @package MyHomePros
 * @since   2.0.0
 */

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */

.bv-hero {
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    padding: 1.5rem 0 2rem;
}
@media (min-width: 768px) {
    .bv-hero { padding: 2rem 0 2.5rem; }
}
@media (min-width: 1024px) {
    .bv-hero { padding: 2.5rem 0 3rem; }
}
.bv-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Breadcrumb */
.bv-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--slate-500);
    margin-bottom: 1.5rem;
}
.bv-breadcrumb a {
    color: var(--slate-500);
    text-decoration: none;
    transition: color .15s;
}
.bv-breadcrumb a:hover { color: var(--primary-500); }
.bv-breadcrumb svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: var(--slate-400);
}

/* Category pill */
.bv-category {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary-600);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    padding: .3rem .875rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* Title */
.bv-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.25rem;
    line-height: 1.12;
    color: var(--slate-900);
    margin: 0 0 1rem;
    max-width: 780px;
    letter-spacing: -.015em;
}
@media (min-width: 768px) {
    .bv-title { font-size: 2.875rem; }
}
@media (min-width: 1024px) {
    .bv-title { font-size: 3.25rem; }
}

/* Excerpt */
.bv-excerpt {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--slate-500);
    max-width: 660px;
    margin: 0 0 1.5rem;
}
@media (min-width: 768px) {
    .bv-excerpt { font-size: 1.125rem; }
}

/* Hero meta */
.bv-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.bv-meta-person {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.bv-meta-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-100);
}
.bv-meta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.bv-meta-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.bv-meta-label {
    font-size: .65rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.bv-meta-name {
    font-size: .825rem;
    color: var(--slate-800);
    font-weight: 600;
}
.bv-meta-sep {
    width: 1px;
    height: 24px;
    background: var(--slate-200);
}
.bv-meta-item {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .8rem;
    color: var(--slate-500);
}
.bv-meta-item svg {
    width: 15px;
    height: 15px;
    color: var(--primary-500);
}

/* Accent line under hero */
.bv-hero-accent {
    height: 3px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.bv-hero-accent::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-300) 40%, transparent 100%);
    border-radius: 0 0 2px 2px;
}


/* ══════════════════════════════════════════════════════════
   TWO-COLUMN LAYOUT
   ══════════════════════════════════════════════════════════ */

.bv-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
@media (min-width: 1024px) {
    .bv-layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 3rem;
        padding: 2.5rem 1.5rem 4rem;
    }
}
@media (min-width: 1200px) {
    .bv-layout {
        grid-template-columns: 1fr 320px;
    }
}

/* Content column */
.bv-content {
    min-width: 0;
    max-width: 100%;
}

/* Featured image (inside content column) */
.bv-featured-img { margin-bottom: 2rem; }
.bv-featured-img img {
    width: 100%;
    height: auto;
    border-radius: .875rem;
    display: block;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}


/* ══════════════════════════════════════════════════════════
   COLLAPSIBLE TABLE OF CONTENTS
   ══════════════════════════════════════════════════════════ */

.bv-toc { margin-bottom: 2rem; }

.bv-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .875rem 1.125rem;
    background: linear-gradient(135deg, var(--primary-50), #f0f9ff);
    border: 1px solid var(--primary-200);
    border-radius: .625rem;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary-700);
    transition: all .2s;
}
.bv-toc-toggle:hover {
    background: var(--primary-100);
    border-color: var(--primary-300);
}
.bv-toc-toggle svg:first-child {
    width: 18px;
    height: 18px;
    color: var(--primary-500);
    flex-shrink: 0;
}
.bv-toc-toggle span {
    flex: 1;
    text-align: left;
    margin-left: .625rem;
}
.bv-toc-chevron {
    width: 18px;
    height: 18px;
    color: var(--primary-400);
    flex-shrink: 0;
    transition: transform .25s;
}
.bv-toc-toggle.active .bv-toc-chevron {
    transform: rotate(180deg);
}
.bv-toc-content {
    display: none;
    margin-top: .5rem;
    padding: .875rem;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: .625rem;
}
.bv-toc-content.active { display: block; }
.bv-toc-content a {
    display: block;
    padding: .5rem .625rem;
    color: var(--slate-600);
    text-decoration: none;
    font-size: .85rem;
    border-radius: .375rem;
    transition: all .15s;
}
.bv-toc-content a:hover {
    color: var(--primary-500);
    background: var(--primary-50);
}


/* ══════════════════════════════════════════════════════════
   STICKY SIDEBAR
   ══════════════════════════════════════════════════════════ */

.bv-sidebar { display: none; }
@media (min-width: 1024px) {
    .bv-sidebar { display: block; }
}
.bv-sidebar-inner {
    position: sticky;
    top: 5.5rem;
}

/* Sidebar CTA card */
.bv-sidebar-cta {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: .875rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.bv-sidebar-cta-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .875rem;
}
.bv-sidebar-cta-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
}
.bv-sidebar-cta h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 .375rem;
    color: var(--slate-900);
    line-height: 1.25;
}
.bv-sidebar-cta p {
    font-size: .85rem;
    color: var(--slate-500);
    line-height: 1.5;
    margin: 0 0 1rem;
}
.bv-sidebar-cta-btn {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    background: var(--primary-500);
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .2s;
    box-shadow: 0 2px 10px rgba(40, 161, 236, .2);
}
.bv-sidebar-cta-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}
.bv-sidebar-trust {
    display: flex;
    flex-direction: column;
    gap: .375rem;
    margin-top: .75rem;
}
.bv-sidebar-trust span {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .75rem;
    color: var(--slate-500);
}
.bv-sidebar-trust svg {
    width: 14px;
    height: 14px;
    color: #10b981;
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════
   PERSISTENT BOTTOM CTA BAR
   ══════════════════════════════════════════════════════════ */

.bv-bottom-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 90;
    background: linear-gradient(160deg, var(--slate-900), #0c2d4a 60%, var(--primary-800));
    border-top: 2px solid var(--primary-500);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .25);
    padding: .875rem 1.5rem;
    transition: bottom .35s cubic-bezier(.4, 0, .2, 1);
}
.bv-bottom-bar.visible { bottom: 0; }
.bv-bottom-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.bv-bottom-bar-text {
    display: none;
    font-size: .95rem;
    color: var(--slate-300);
    font-weight: 500;
}
@media (min-width: 640px) {
    .bv-bottom-bar-text { display: block; }
}
.bv-bottom-bar-text strong { color: #fff; }
.bv-bottom-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 2rem;
    background: var(--primary-500);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .25s;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(40, 161, 236, .35);
}
@media (max-width: 639px) {
    .bv-bottom-bar-btn { width: 100%; }
}
.bv-bottom-bar-btn:hover {
    background: var(--primary-400);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(40, 161, 236, .5);
}
.bv-bottom-bar-btn svg { width: 16px; height: 16px; }

/* Spacer so fixed bar doesn't overlap last content */
.bv-bottom-spacer { height: 70px; }


/* ══════════════════════════════════════════════════════════
   ARTICLE CONTENT OVERRIDES
   (base .article-content styles live in main.css — these
    are additions/overrides specific to the new layout)
   ══════════════════════════════════════════════════════════ */

.article-content h2::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), transparent);
    border-radius: 2px;
    margin-top: .625rem;
}


/* ══════════════════════════════════════════════════════════
   INLINE CTA BLOCKS — Shared
   ══════════════════════════════════════════════════════════ */

/* Override .article-content link styles inside CTAs */
.article-content .icta a { text-decoration: none; }
.article-content .icta-slim-inner > a,
.article-content .icta-cost-btn,
.article-content .icta-proof-footer a,
.article-content .icta-checklist-btn,
.article-content .icta-compare-btn,
.article-content .icta-final-btn { color: #fff !important; text-decoration: none !important; }
.article-content .icta-seasonal > a { color: #fff !important; text-decoration: none !important; }
.article-content .icta-text-nudge a { color: var(--primary-600) !important; text-decoration: underline !important; }

/* Override list styles inside CTA blocks */
.article-content .icta-checklist li::before { background: none; width: auto; height: auto; border-radius: 0; top: 0; }
.article-content .icta-checklist li { padding-left: 1.625rem; }
.article-content .icta-compare-item { padding-left: 1.375rem; }
.article-content .icta ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.article-content .icta ul li::before { display: none; }
.article-content .icta-checklist li::before {
    display: block !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* Shared spacing */
.icta { margin: 2.5rem 0; clear: both; }

/* 1 — Slim Banner */
.icta-slim-banner {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
}
.icta-slim-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}
.icta-slim-inner > svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
}
.icta-slim-inner > span {
    flex: 1;
    min-width: 200px;
    font-size: .9rem;
    color: var(--slate-700);
    line-height: 1.5;
}
.icta-slim-inner > a {
    display: inline-flex;
    padding: .5rem 1.125rem;
    background: var(--primary-500);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: .5rem;
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}
.icta-slim-inner > a:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

/* 2 — Cost Box */
.icta-cost-box {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.icta-cost-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary-600);
    margin-bottom: 1.25rem;
}
.icta-cost-header svg { width: 20px; height: 20px; }
.icta-cost-range { margin-bottom: 1rem; }
.icta-cost-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #10b981, var(--primary-400) 50%, #f59e0b);
}
.icta-cost-labels {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--slate-600);
    margin-top: .625rem;
}
.icta-cost-labels span {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}
.icta-cost-labels small {
    font-weight: 400;
    color: var(--slate-400);
    font-size: .7rem;
}
.icta-cost-labels span:last-child { text-align: right; }
.icta-cost-labels span:nth-child(2) { text-align: center; color: var(--primary-600); }
.icta-cost-note {
    font-size: .85rem;
    color: var(--slate-500);
    margin: 0 0 1rem;
    line-height: 1.5;
}
.icta-cost-btn {
    display: block;
    text-align: center;
    padding: .75rem 1rem;
    background: var(--primary-500);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .2s;
}
.icta-cost-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

/* 3 — Social Proof */
.icta-proof-strip {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}
.icta-proof-stars {
    display: flex;
    justify-content: center;
    gap: .125rem;
    margin-bottom: .75rem;
}
.icta-proof-stars svg { width: 18px; height: 18px; color: #f59e0b; }
.icta-proof-strip > p {
    font-size: 1rem;
    color: var(--slate-700);
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.icta-proof-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.icta-proof-name {
    font-size: .85rem;
    color: var(--slate-500);
    font-weight: 500;
}
.icta-proof-footer a {
    display: inline-flex;
    padding: .5rem 1.25rem;
    background: var(--primary-500);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .2s;
}
.icta-proof-footer a:hover { background: var(--primary-600); }

/* 4 — Text Nudge */
.icta-text-nudge {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #bbf7d0;
    border-left: 4px solid #10b981;
    border-radius: .5rem;
}
.icta-text-nudge > svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: .125rem;
}
.icta-text-nudge > span {
    font-size: .9rem;
    color: var(--slate-700);
    line-height: 1.55;
}
.icta-text-nudge a {
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* 5 — Checklist */
.icta-checklist {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.icta-checklist h4 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0 0 1rem;
}
.icta-checklist h4 svg { width: 22px; height: 22px; color: var(--primary-500); }
.icta-checklist ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.icta-checklist li {
    padding: 0 0 0 1.625rem;
    margin-bottom: .625rem;
    font-size: .9rem;
    color: var(--slate-600);
    line-height: 1.5;
    position: relative;
}
.icta-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: .85rem;
}
.icta-checklist-btn {
    display: block;
    text-align: center;
    padding: .75rem 1rem;
    background: var(--primary-500);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .2s;
}
.icta-checklist-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

/* 6 — Compare (DIY vs Pro) */
.icta-compare {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.icta-compare h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0 0 1.25rem;
    text-align: center;
}
.icta-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 480px) {
    .icta-compare-grid { grid-template-columns: 1fr; gap: .75rem; }
}
.icta-compare-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .625rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--slate-200);
}
.icta-compare-diy .icta-compare-label { color: var(--slate-500); }
.icta-compare-pro .icta-compare-label { color: var(--primary-600); }
.icta-compare-item {
    font-size: .825rem;
    padding: .375rem 0 .375rem 1.375rem;
    position: relative;
    color: var(--slate-600);
    line-height: 1.4;
}
.icta-compare-item::before { position: absolute; left: 0; font-size: .8rem; }
.icta-compare-item.good::before { content: '✓'; color: #10b981; font-weight: 700; }
.icta-compare-item.bad::before { content: '✕'; color: #ef4444; font-weight: 700; }
.icta-compare-btn {
    display: block;
    text-align: center;
    padding: .75rem 1rem;
    background: var(--primary-500);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .2s;
}
.icta-compare-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

/* 7 — Seasonal Tip */
.icta-seasonal {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 1rem;
    padding: 1.5rem;
}
.icta-seasonal-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #92400e;
    background: #fde68a;
    padding: .25rem .75rem;
    border-radius: 9999px;
    margin-bottom: .75rem;
}
.icta-seasonal-badge svg { width: 14px; height: 14px; }
.icta-seasonal p {
    font-size: .9rem;
    color: #78350f;
    line-height: 1.55;
    margin: 0 0 1rem;
}
.icta-seasonal > a {
    display: inline-flex;
    padding: .6rem 1.25rem;
    background: #d97706;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border-radius: .5rem;
    transition: all .2s;
}
.icta-seasonal > a:hover {
    background: #b45309;
    transform: translateY(-1px);
}

/* 8 — Final CTA (dark) */
.icta-final {
    background: linear-gradient(160deg, var(--slate-900), #0c2d4a 50%, var(--primary-800));
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.icta-final::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(40, 161, 236, .15);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.icta-final-inner { position: relative; z-index: 1; }
.icta-final h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #fff;
    margin: 0 0 .75rem;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .icta-final h3 { font-size: 2rem; }
}
.icta-final p {
    font-size: .95rem;
    color: var(--slate-300);
    line-height: 1.6;
    margin: 0 auto 1.25rem;
    max-width: 540px;
}
.icta-final-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.icta-final-features span {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .85rem;
    color: var(--slate-300);
    font-weight: 500;
}
.icta-final-features svg { width: 16px; height: 16px; color: #10b981; }
.icta-final-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 2rem;
    background: var(--primary-500);
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: .625rem;
    box-shadow: 0 4px 20px rgba(40, 161, 236, .4);
    transition: all .25s;
}
.icta-final-btn:hover {
    background: var(--primary-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(40, 161, 236, .5);
}
.icta-final-btn svg { width: 18px; height: 18px; }


/* ══════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ══════════════════════════════════════════════════════════ */

.bv-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
    z-index: 9998;
    width: 0%;
    transition: width .1s;
    pointer-events: none;
}


/* ══════════════════════════════════════════════════════════
   HIDE OLD LAYOUT ELEMENTS
   (safety net — hides cgt- hero/sidebar pieces if they
    somehow still render alongside the new layout)
   ══════════════════════════════════════════════════════════ */

.single-post .cgt-hero,
.single-post .cgt-mobile-featured-image,
.single-post .cgt-mobile-toc,
.single-post .reading-progress { display: none !important; }
