/*
 * Blueprint To Progress
 * Target Market — Page-Specific Production CSS V9
 *
 * The global BTP stylesheet remains loaded first.
 * This file provides deterministic page rendering for the required
 * Article Page Standard and the Target Market-specific components.
 */

/* =============================================================
   ARTICLE CONTAINER — ARTICLE PAGE STANDARD
   ============================================================= */

.btp-article .article-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* =============================================================
   ARTICLE TYPOGRAPHY — STANDARD VALUES
   ============================================================= */

.btp-article h1 {
    margin: 0 0 24px;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 700;
}

.btp-article h2 {
    margin-top: 56px;
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
}

.btp-article h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.btp-article p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.55;
}

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

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

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

/* =============================================================
   EYEBROW
   ============================================================= */

.btp-article .article-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 40px;
    margin-bottom: 18px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #2563eb;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =============================================================
   ARTICLE IMAGES
   ============================================================= */

.btp-article .article-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    border-radius: 14px;
}

.btp-article .article-image::before,
.btp-article .article-image::after {
    content: none !important;
    display: none !important;
}

.btp-article .article-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    object-fit: cover;
    object-position: center center;
}

/* No visible image captions on this article. */
.btp-article .article-image figcaption,
.btp-article .article-image .wp-caption-text,
.btp-article .article-image .caption,
.btp-article .article-image .image-caption {
    display: none !important;
}

/* Image supplies the visual separation before the following section. */
.btp-article .article-image + section {
    margin-top: 0;
}

.btp-article .article-image + section > h2 {
    margin-top: 0;
}

/* =============================================================
   IN THIS GUIDE — STANDARD TOC
   ============================================================= */

.btp-article .article-toc {
    width: 100%;
    margin: 0 0 48px;
    padding: 24px 28px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 14px;
}

.btp-article .article-toc h2 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

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

.btp-article .article-toc-list li {
    margin-bottom: 8px;
    padding-left: 4px;
    break-inside: avoid;
}

.btp-article .article-toc-list a {
    font-size: 17px;
    line-height: 1.45;
    text-decoration: none;
}

/* =============================================================
   COMPARISON TABLE — PREMIUM BTP TREATMENT
   ============================================================= */

.btp-article .article-table-wrap {
    width: 100%;
    margin: 28px 0 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 14px;
    box-sizing: border-box;
}

.btp-article .article-comparison-table {
    width: 100%;
    min-width: 720px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.btp-article .article-comparison-table th {
    padding: 16px 18px;
    background: #2563eb;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
    border-right: 1px solid rgba(255,255,255,.35);
}

.btp-article .article-comparison-table th:last-child {
    border-right: 0;
}

.btp-article .article-comparison-table td {
    padding: 16px 18px;
    background: #fff;
    color: inherit;
    font-size: 17px;
    line-height: 1.5;
    vertical-align: top;
    border-top: 1px solid #d7dee8;
    border-right: 1px solid #d7dee8;
}

.btp-article .article-comparison-table td:last-child {
    border-right: 0;
}

/* =============================================================
   CTA — TARGET MARKET
   ============================================================= */

.btp-article .btp-target-market-cta {
    margin-top: 56px;
    margin-bottom: 0;
    padding: 32px 28px;
    box-sizing: border-box;
    text-align: center;
    background: #eaf4ff;
    border: 1px solid #bfdbfe;
}

.btp-article .btp-target-market-cta h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.btp-article .btp-target-market-cta p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.btp-article .btp-target-market-cta .btp-cta-button,
.btp-article .btp-target-market-cta .btp-cta-button:visited,
.btp-article .btp-target-market-cta .btp-cta-button:hover,
.btp-article .btp-target-market-cta .btp-cta-button:focus,
.btp-article .btp-target-market-cta .btp-cta-button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: none;
}

/* =============================================================
   RESPONSIVE STANDARD
   ============================================================= */

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

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

    .btp-article h2 {
        font-size: 32px;
        line-height: 1.15;
        margin-top: 48px;
    }

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

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

    .btp-article .lead {
        font-size: 19px;
    }

    .btp-article .article-toc-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 36px;
    }
}

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

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

    .btp-article h2 {
        font-size: 30px;
        line-height: 1.15;
        margin-top: 44px;
    }

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

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

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

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

    .btp-article .article-category {
        margin-top: 40px;
        margin-bottom: 18px;
    }

    .btp-article .article-image {
        margin-bottom: 28px;
    }

    .btp-article .article-toc {
        padding: 22px 20px;
        margin-bottom: 44px;
    }

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

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

    .btp-article .article-table-wrap {
        border-radius: 12px;
    }

    .btp-article .article-comparison-table {
        min-width: 720px;
    }

    .btp-article .btp-target-market-cta {
        margin-top: 44px;
        padding: 28px 20px;
    }
}
