/*
 * Blueprint To Progress
 * Page-specific CSS: Marketing Strategy article
 *
 * Load AFTER:
 * https://blueprinttoprogress.com/wp-content/uploads/btp/btp-career-articles-V9.4-CLEAN-PRODUCTION.css
 *
 * This file intentionally does NOT redefine the BTP article typography,
 * breakpoints, container width, body font, H1/H2/H3 sizing, or global header.
 */

/*
 * BTP container enforcement
 * These values exactly mirror the Article Page Standard. They are a
 * defensive fallback in case the common hosted stylesheet is not applied
 * to the Elementor HTML block. They do not create a different article width.
 */
.btp-marketing-strategy-page,
.btp-marketing-strategy-page * {
    box-sizing: border-box;
}

.btp-marketing-strategy-page .article-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.btp-marketing-strategy-page .article {
    width: 100%;
    max-width: none;
}

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

/* Keep article figures aligned with the standardized article container. */
.btp-marketing-strategy-page .article-figure {
    width: 100%;
    margin: 30px 0 34px;
}

.btp-marketing-strategy-page .article-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Standard caption treatment, scoped only to this page. */
.btp-marketing-strategy-page .article-figure figcaption {
    text-align: center;
    font-size: 15px;
    line-height: 1.45;
    margin-top: 10px;
}

/* Standard TOC: two columns on desktop/tablet, one on mobile. */
.btp-marketing-strategy-page .article-toc {
    margin: 34px 0 10px;
    padding: 24px 28px;
    border: 1px solid #d7dce2;
    border-radius: 14px;
    background: #ffffff;
    box-sizing: border-box;
}

.btp-marketing-strategy-page .article-toc h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.25;
}

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

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

.btp-marketing-strategy-page .article-toc a {
    text-decoration: none;
}

.btp-marketing-strategy-page .article-toc a:hover,
.btp-marketing-strategy-page .article-toc a:focus {
    text-decoration: underline;
}

/* Responsive horizontal-scroll wrapper for the comparison table. */
.btp-marketing-strategy-page .btp-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 8px 0 30px;
    padding-bottom: 4px;
}

.btp-marketing-strategy-page .article-comparison-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    border-spacing: 0;
}

.btp-marketing-strategy-page .article-comparison-table th,
.btp-marketing-strategy-page .article-comparison-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #d7dce2;
    text-align: left;
    vertical-align: top;
    background: #ffffff !important;
}

.btp-marketing-strategy-page .article-comparison-table tbody,
.btp-marketing-strategy-page .article-comparison-table tbody tr,
.btp-marketing-strategy-page .article-comparison-table tbody td {
    background: #ffffff !important;
}

.btp-marketing-strategy-page .article-comparison-table th {
    font-weight: 700;
    background: #0f80d8 !important;
    color: #ffffff !important;
}

.btp-marketing-strategy-page .article-comparison-table tr:last-child td {
    border-bottom: 0;
}

/* Keep the final CTA visually distinct without changing the global article system. */
.btp-marketing-strategy-page .article-cta {
    margin-top: 56px;
    margin-bottom: 30px;
    padding: 30px 32px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eef7ff;
    text-align: center;
}

.btp-marketing-strategy-page .article-cta h2 {
    margin-top: 0;
}

.btp-marketing-strategy-page .article-cta p:last-of-type {
    margin-bottom: 14px;
}

.btp-marketing-strategy-page .article-cta p:last-child {
    margin-bottom: 0;
}


/* CTA button: intentionally page-specific because the supplied article copy
   contains a CTA section but no existing button component. */
.btp-marketing-strategy-page .btp-cta-button-wrap {
    margin: 22px 0 18px;
    text-align: center;
}

.btp-marketing-strategy-page .btp-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btp-marketing-strategy-page .btp-cta-button:hover,
.btp-marketing-strategy-page .btp-cta-button:focus {
    background: #1d4ed8;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    text-decoration: none;
}

.btp-marketing-strategy-page .btp-cta-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.btp-marketing-strategy-page .btp-cta-support {
    margin-bottom: 0;
}


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

/* Do not let the page-specific table create an unwanted mobile width. */
@media (max-width: 767px) {
    .btp-marketing-strategy-page .article-container {
        width: calc(100% - 32px);
        max-width: 1180px;
    }

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

    .btp-marketing-strategy-page .article-toc {
        padding: 22px 20px;
        margin-top: 30px;
    }

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

    .btp-marketing-strategy-page .btp-table-scroll {
        margin-right: 0;
    }

    .btp-marketing-strategy-page .article-comparison-table {
        min-width: 620px;
    }

    .btp-marketing-strategy-page .article-cta {
        margin-top: 44px;
        padding: 26px 20px;
    }

    .btp-marketing-strategy-page .btp-cta-button {
        width: 100%;
        max-width: 320px;
    }
}

/* Visible keyboard affordance for the horizontally scrollable table. */
.btp-marketing-strategy-page .btp-table-scroll:focus {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}
