﻿


/* ══════════════════════════════════════
                           BLOG HERO
                        ══════════════════════════════════════ */
.blog-hero {
    background: var(--navy);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

    .blog-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(13,148,136,.15) 0%, transparent 65%), radial-gradient(ellipse 40% 40% at 5% 80%, rgba(20,184,166,.08) 0%, transparent 55%);
    }

.blog-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(13,148,136,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(13,148,136,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

    .breadcrumb a, .breadcrumb span {
        font-size: .8rem;
        color: rgba(255,255,255,.45);
        transition: color .2s;
    }

        .breadcrumb a:hover {
            color: var(--teal2);
        }

    .breadcrumb .sep {
        color: rgba(255,255,255,.2);
        font-size: .75rem;
    }

    .breadcrumb .current {
        color: rgba(255,255,255,.65);
    }

.blog-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(13,148,136,.15);
    border: 1px solid rgba(13,148,136,.3);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

    .blog-category-tag span {
        font-size: .75rem;
        font-weight: 700;
        color: var(--teal2);
        letter-spacing: .05em;
        text-transform: uppercase;
    }

.blog-hero-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.03em;
}

    .blog-hero-title .accent {
        color: var(--teal2);
    }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}

    .blog-meta-item svg {
        width: 14px;
        height: 14px;
        color: var(--teal2);
    }

    .blog-meta-item strong {
        color: rgba(255,255,255,.75);
    }

/* Reading time badge */
.read-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.25);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--amber);
}

/* ══════════════════════════════════════
                           BLOG LAYOUT
                        ══════════════════════════════════════ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 64px 0 100px;
    align-items: start;
}

/* ══════════════════════════════════════
                           ARTICLE CONTENT
                        ══════════════════════════════════════ */
.blog-article {
    min-width: 0;
}

/* Lead paragraph */
.blog-lead {
    font-size: 1.12rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 24px 28px;
    border-left: 4px solid var(--teal);
    background: var(--teal-lt);
    border-radius: 0 12px 12px 0;
    font-weight: 500;
}

/* Headings in article */
.blog-article h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin: 48px 0 16px;
    letter-spacing: -.025em;
    position: relative;
    padding-bottom: 12px;
}

    .blog-article h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 48px;
        height: 3px;
        background: linear-gradient(90deg, var(--teal), var(--teal2));
        border-radius: 2px;
    }

.blog-article h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 12px;
}

/* Paragraphs */
.blog-article p {
    font-size: .97rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 20px;
}

.blog-article strong {
    color: var(--navy);
    font-weight: 700;
}

.blog-article a {
    color: var(--teal);
    border-bottom: 1px solid rgba(13,148,136,.3);
    transition: border-color .2s;
}

    .blog-article a:hover {
        border-color: var(--teal);
    }

/* Lists */
.blog-article ul, .blog-article ol {
    margin: 20px 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .blog-article ul li, .blog-article ol li {
        font-size: .97rem;
        color: var(--gray-600);
        line-height: 1.75;
        padding-left: 28px;
        position: relative;
    }

        .blog-article ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--teal);
        }

.blog-article ol {
    counter-reset: item;
}

    .blog-article ol li::before {
        content: counter(item, decimal);
        counter-increment: item;
        position: absolute;
        left: 0;
        top: 0;
        font-family: var(--font-head);
        font-weight: 800;
        font-size: .85rem;
        color: var(--teal);
    }

/* Pull quote / callout */
.callout {
    background: var(--navy);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 36px 0;
    position: relative;
    overflow: hidden;
}

    .callout::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 20px;
        font-family: var(--font-head);
        font-size: 8rem;
        font-weight: 900;
        color: rgba(13,148,136,.12);
        line-height: 1;
    }

    .callout p {
        font-family: var(--font-head);
        font-size: 1.1rem !important;
        font-weight: 600;
        color: var(--white) !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        position: relative;
        z-index: 1;
    }

        .callout p span {
            color: var(--teal2);
        }

.callout-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.callout-author-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: white;
}

.callout-author-text {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}

.callout-author-name {
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
}

/* Stat cards inside article */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.stat-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}

    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.stat-card-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.stat-card-label {
    font-size: .8rem;
    color: var(--gray-500);
    margin-top: 6px;
}

/* Feature comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    font-size: .9rem;
}

    .comparison-table thead tr {
        background: var(--navy);
    }

    .comparison-table thead th {
        padding: 14px 18px;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: .82rem;
        color: rgba(255,255,255,.8);
        text-align: left;
        letter-spacing: .03em;
    }

        .comparison-table thead th:first-child {
            color: var(--teal2);
        }

    .comparison-table tbody tr:nth-child(even) {
        background: var(--gray-50);
    }

    .comparison-table tbody tr {
        border-bottom: 1px solid var(--gray-100);
    }

    .comparison-table tbody td {
        padding: 12px 18px;
        color: var(--gray-700);
        vertical-align: middle;
    }

        .comparison-table tbody td:first-child {
            font-weight: 600;
            color: var(--navy);
        }

.table-check {
    color: var(--teal);
    font-weight: 700;
    font-size: 1rem;
}

.table-cross {
    color: var(--gray-400);
    font-size: 1rem;
}

.table-partial {
    color: var(--amber);
    font-size: .82rem;
}

/* Info box */
.info-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 28px 0;
}

.info-box-icon {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .info-box-icon svg {
        width: 18px;
        height: 18px;
        fill: white;
    }

.info-box p {
    font-size: .9rem;
    color: #1e3a5f;
    line-height: 1.7;
    margin: 0 !important;
}

.info-box strong {
    color: #1e40af;
}

/* Warning box */
.warn-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 28px 0;
}

.warn-box-icon {
    width: 36px;
    height: 36px;
    background: #f59e0b;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .warn-box-icon svg {
        width: 18px;
        height: 18px;
        fill: white;
    }

.warn-box p {
    font-size: .9rem;
    color: #78350f;
    line-height: 1.7;
    margin: 0 !important;
}

/* Steps inside article */
.article-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 28px 0;
}

.article-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

    .article-step:last-child {
        border-bottom: none;
    }

.article-step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--teal);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .95rem;
}

.article-step-title {
    font-weight: 700;
    font-size: .97rem;
    color: var(--navy);
    margin-bottom: 5px;
}

.article-step-desc {
    font-size: .88rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 !important;
}

/* In-article CTA banner */
.article-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    border: 1px solid rgba(13,148,136,.3);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

    .article-cta::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 140px;
        height: 140px;
        background: radial-gradient(circle, rgba(13,148,136,.2) 0%, transparent 70%);
    }

.article-cta-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.article-cta-text p {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    margin: 0 !important;
}

.article-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .9rem;
    padding: 12px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0;
}

    .article-cta .btn-cta:hover {
        background: var(--teal2);
        border-bottom: none;
        transform: translateY(-2px);
    }

/* Tags */
.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 40px 0 0;
}

.blog-tag {
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: all .2s;
}

    .blog-tag:hover {
        background: var(--teal-lt);
        border-color: var(--teal);
        color: var(--teal);
    }

/* Share bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-top: 20px;
}

.share-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--gray-500);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s;
}

.share-wa {
    background: #25d366;
    color: white;
}

    .share-wa:hover {
        background: #22c55e;
    }

.share-copy {
    background: var(--gray-200);
    color: var(--gray-700);
}

    .share-copy:hover {
        background: var(--gray-300);
    }

/* Author box */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    margin-top: 40px;
}

.author-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), var(--teal2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
}

.author-box-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.author-box-role {
    font-size: .8rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 10px;
}

.author-box-bio {
    font-size: .88rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 !important;
}

/* Related articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.related-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition);
}

    .related-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--teal);
    }

.related-card-cat {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px;
}

.related-card-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 8px;
}

    .related-card-title:hover {
        color: var(--teal);
    }

.related-card-date {
    font-size: .75rem;
    color: var(--gray-400);
}

/* ══════════════════════════════════════
                           SIDEBAR
                        ══════════════════════════════════════ */
.blog-sidebar {
    position: sticky;
    top: 92px;
}

/* Table of Contents */
.toc-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.toc-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .toc-title svg {
        width: 16px;
        height: 16px;
        color: var(--teal);
    }

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--gray-600);
    transition: all .2s;
    cursor: pointer;
}

    .toc-item:hover {
        background: var(--teal-lt);
        color: var(--teal);
    }

    .toc-item.active {
        background: var(--teal-lt);
        color: var(--teal);
        font-weight: 600;
    }

.toc-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .72rem;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 1px;
}

.toc-progress {
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
}

.toc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal2));
    border-radius: 2px;
    transition: width .4s ease;
}

/* Sidebar CTA */
.sidebar-cta {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

    .sidebar-cta::before {
        content: '';
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(13,148,136,.3) 0%, transparent 70%);
    }

.sidebar-cta-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal2);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.sidebar-cta h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 12px;
}

.sidebar-cta p {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sidebar-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--teal);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .88rem;
    padding: 12px;
    border-radius: 10px;
    transition: all var(--transition);
}

    .sidebar-cta-btn:hover {
        background: var(--teal2);
        transform: translateY(-1px);
    }

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

    .sidebar-phone svg {
        width: 14px;
        height: 14px;
        color: var(--teal2);
    }

    .sidebar-phone strong {
        color: rgba(255,255,255,.75);
    }

/* Sidebar plans mini */
.sidebar-plans {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 24px;
}

    .sidebar-plans h4 {
        font-size: .9rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 14px;
    }

.mini-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    margin-bottom: 8px;
    background: white;
}

.mini-plan-name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--navy);
}

.mini-plan-price {
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 800;
    color: var(--teal);
}

.mini-plan.featured-plan {
    background: var(--navy);
    border-color: var(--teal);
}

    .mini-plan.featured-plan .mini-plan-name {
        color: white;
    }

    .mini-plan.featured-plan .mini-plan-price {
        color: var(--teal2);
    }

/* Sidebar share */
.sidebar-share {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
}

    .sidebar-share h4 {
        font-size: .9rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 14px;
    }

.sidebar-share-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ss-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .82rem;
    transition: all .2s;
}

    .ss-btn svg {
        width: 16px;
        height: 16px;
    }

.ss-wa {
    background: #dcfce7;
    color: #15803d;
}

    .ss-wa:hover {
        background: #25d366;
        color: white;
    }

.ss-copy {
    background: var(--gray-100);
    color: var(--gray-700);
}

    .ss-copy:hover {
        background: var(--gray-200);
    }

