/*
 * Blueprint To Progress — Business Value Proposition
 * Page-specific stylesheet / robust article rendering layer
 *
 * Shared BTP stylesheet:
 * https://blueprinttoprogress.com/wp-content/uploads/btp/btp-career-articles-V9.4-CLEAN-PRODUCTION.css
 *
 * This file is scoped to .btp-article and ensures this page renders
 * consistently even if the shared stylesheet is delayed or cached.
 */

/* =========================================================
   1. ARTICLE CANVAS + CONTAINER
   ========================================================= */

.btp-article {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f7f9fc;
    color: #334155;
}

.btp-article *,
.btp-article *::before,
.btp-article *::after {
    box-sizing: border-box;
}

.btp-article .article-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.btp-article .article-content {
    width: 100%;
}

/* =========================================================
   2. STANDARD ARTICLE TYPOGRAPHY
   ========================================================= */

.btp-article {
    font-family: inherit;
}

.btp-article h1,
.btp-article h2,
.btp-article h3 {
    color: #111827;
    font-weight: 700;
}

.btp-article h1 {
    margin: 0 0 28px;
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.btp-article h2 {
    margin: 56px 0 12px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.btp-article h3 {
    margin: 32px 0 4px;
    font-size: 30px;
    line-height: 1.2;
}

.btp-article p,
.btp-article li {
    font-size: 18px;
    line-height: 1.55;
}

.btp-article p {
    margin: 0 0 24px;
}

.btp-article .lead {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.55;
}

.btp-article a {
    color: #2563eb;
    text-decoration: none;
}

.btp-article a:hover {
    text-decoration: underline;
}

.btp-article strong {
    font-weight: 700;
}

.btp-article ul,
.btp-article ol {
    margin: 0 0 24px;
    padding-left: 32px;
}

.btp-article li {
    margin-bottom: 4px;
}

/* =========================================================
   3. CATEGORY / EYEBROW
   ========================================================= */

.btp-article .article-category {
    display: inline-block;
    margin-top: 40px;
    margin-bottom: 18px;
    padding: 7px 14px;
    background: #eaf4ff;
    color: #2563eb;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =========================================================
   4. IMAGES
   ========================================================= */

.btp-article figure {
    width: 100%;
    margin: 30px 0 30px;
}

.btp-article figure img,
.btp-article > .article-container img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.btp-article figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
    line-height: 1.45;
}

/* =========================================================
   5. IN THIS GUIDE / TOC
   ========================================================= */

.btp-article .article-toc {
    width: 100%;
    margin: 0 0 30px;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #d7dce2;
    border-radius: 14px;
}

.btp-article .article-toc h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}

.btp-article .article-toc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 0;
    margin: 0;
    padding-left: 28px;
}

.btp-article .article-toc-list li {
    margin-bottom: 4px;
}

.btp-article .article-toc a {
    font-size: 17px;
    line-height: 1.6;
}

/* =========================================================
   6. COMPARISON TABLE
   ========================================================= */

.btp-article .table-scroll {
    width: 100%;
    margin: 0 0 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    background: #ffffff;
}

.btp-article .table-scroll table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #ffffff;
}

.btp-article .table-scroll th,
.btp-article .table-scroll td {
    padding: 14px 16px;
    border: 1px solid #d7dce2;
    text-align: left;
    vertical-align: top;
    font-size: 18px;
    line-height: 1.55;
}

.btp-article .table-scroll thead th {
    background: #087dcc;
    color: #ffffff;
    font-weight: 700;
}

.btp-article .table-scroll tbody tr,
.btp-article .table-scroll tbody td {
    background: #ffffff;
    color: #334155;
}

/* =========================================================
   7. CHECKLIST
   ========================================================= */

.btp-article .checklist {
    list-style: none;
    padding-left: 0;
}

.btp-article .checklist li {
    position: relative;
    padding-left: 30px;
}

.btp-article .checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-weight: 700;
}

/* =========================================================
   8. EXTERNAL RESOURCES
   ========================================================= */

.btp-article .article-resources {
    margin-top: 56px;
}

.btp-article .article-resources ul {
    margin-bottom: 24px;
}

.btp-article .article-resources a {
    font-weight: 600;
}

/* =========================================================
   9. YOUR NEXT STEP CTA
   ========================================================= */

.btp-article .article-cta {
    width: 100%;
    margin: 48px 0 56px;
    padding: 0;
    background: transparent;
}

.btp-article .article-cta-inner {
    padding: 28px 32px;
    background: #eaf4ff;
    border: 1px solid #bfdbfe;
    text-align: center;
}

.btp-article .article-cta h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
}

.btp-article .article-cta p {
    max-width: 780px;
    margin: 0 auto 18px;
    font-size: 16px;
    line-height: 1.6;
}

.btp-article .article-cta-button {
    display: inline-block;
    padding: 9px 18px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
}

.btp-article .article-cta-button:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: .92;
}

/* =========================================================
   10. TABLET — 768–1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {
    .btp-article .article-container {
        width: calc(100% - 92px);
        max-width: 1180px;
    }

    .btp-article h1 {
        font-size: 36px;
        line-height: 1.08;
        letter-spacing: -.8px;
    }

    .btp-article h2 {
        margin-top: 48px;
        margin-bottom: 10px;
        font-size: 32px;
        line-height: 1.15;
        letter-spacing: -.5px;
    }

    .btp-article h3 {
        margin-top: 28px;
        font-size: 27px;
        line-height: 1.2;
    }

    .btp-article p,
    .btp-article li {
        font-size: 17px;
        line-height: 1.6;
    }

    .btp-article .article-toc-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   11. MOBILE — 0–767px
   ========================================================= */

@media (max-width: 767px) {
    .btp-article .article-container {
        width: calc(100% - 32px);
        max-width: none;
    }

    .btp-article .article-category {
        margin-top: 40px;
        margin-bottom: 14px;
        padding: 7px 12px;
        font-size: 12px;
    }

    .btp-article h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -.7px;
    }

    .btp-article h2 {
        margin-top: 44px;
        margin-bottom: 10px;
        font-size: 30px;
        line-height: 1.15;
        letter-spacing: -.4px;
    }

    .btp-article h3 {
        margin-top: 28px;
        font-size: 24px;
        line-height: 1.2;
    }

    .btp-article p,
    .btp-article li {
        font-size: 17px;
        line-height: 1.6;
    }

    .btp-article .lead {
        font-size: 18px;
        line-height: 1.6;
    }

    .btp-article ul,
    .btp-article ol {
        padding-left: 28px;
    }

    .btp-article .article-toc {
        padding: 24px 20px;
    }

    .btp-article .article-toc-list {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding-left: 24px;
    }

    .btp-article .article-toc a {
        font-size: 16px;
    }

    .btp-article .table-scroll th,
    .btp-article .table-scroll td {
        font-size: 17px;
        line-height: 1.6;
    }

    .btp-article .article-cta-inner {
        padding: 24px 18px;
    }
}

/* =========================================================
   11. CRITICAL FINAL-SECTIONS VISIBILITY
   ========================================================= */
.btp-article .btp-visible-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.btp-article #external-resources {
    clear: both;
    position: relative;
    z-index: 2;
}
.btp-article #your-next-step {
    clear: both;
    position: relative;
    z-index: 2;
}
