/**
 * Blog inline CTAs — top, middle, end placements within blog posts.
 * Companion to popup-cta.css (popup is separate, complementary).
 *
 * Uses an intentionally local amber-on-cream/ink palette tuned to the
 * editorial blog surface. Strict color-token rule disabled here.
 */
/* stylelint-disable scale-unlimited/declaration-strict-value */

/* ============ SHARED BUTTON STYLES ============ */
.bp-cta-btn-primary,
.bp-cta-btn-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #d97706;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.15s, transform 0.05s;
    white-space: nowrap;
}

.bp-cta-btn-primary {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
}

.bp-cta-btn-primary-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.bp-cta-btn-primary:hover,
.bp-cta-btn-primary-lg:hover {
    background: #b45309;
}

.bp-cta-btn-primary:active,
.bp-cta-btn-primary-lg:active {
    transform: scale(0.98);
}

.bp-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.25rem;
    background: transparent;
    color: #0f172a !important;
    font-weight: 600;
    text-decoration: none !important;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.bp-cta-btn-secondary:hover {
    border-color: #0f172a;
    background: #f8fafc;
}

.bp-cta-btn-text {
    color: #d97706 !important;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: color 0.15s;
}

.bp-cta-btn-text:hover {
    color: #b45309;
    text-decoration: underline !important;
}

/* ============ TOP CTA — Banner style ============ */
.bp-cta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #d97706;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem;
    flex-wrap: wrap;
}

.bp-cta-top-text {
    flex: 1;
    min-width: 240px;
}

.bp-cta-top-text strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.bp-cta-top-text span {
    font-size: 0.9rem;
    color: #475569;
}

.bp-cta-top-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .bp-cta-top {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bp-cta-top-actions {
        justify-content: center;
    }
}

/* ============ MIDDLE CTA — Inline content card ============ */
.bp-cta-mid {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #d97706;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 2.5rem 0;
}

.bp-cta-mid-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #d97706;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.bp-cta-mid-content {
    flex: 1;
}

.bp-cta-mid-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
    color: #0f172a;
}

.bp-cta-mid-content p {
    margin: 0 0 0.6rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bp-cta-mid-link {
    display: inline-block;
    color: #d97706 !important;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: color 0.15s;
}

.bp-cta-mid-link:hover {
    color: #b45309;
    text-decoration: underline !important;
}

@media (max-width: 540px) {
    .bp-cta-mid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bp-cta-mid-icon {
        margin: 0 auto;
    }
}

/* ============ END CTA — Full conversion card ============ */
.bp-cta-end {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    margin: 3rem 0 2rem;
    text-align: center;
}

.bp-cta-end h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.bp-cta-end-sub {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin: 0 0 1.5rem;
}

.bp-cta-end-bullets {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.75rem;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.bp-cta-end-bullets li {
    color: #e2e8f0;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.bp-cta-end-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: 700;
}

.bp-cta-end-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.bp-cta-end .bp-cta-btn-primary-lg {
    background: #d97706;
}

.bp-cta-end .bp-cta-btn-primary-lg:hover {
    background: #b45309;
}

.bp-cta-end .bp-cta-btn-text {
    color: #fbbf24 !important;
}

.bp-cta-end .bp-cta-btn-text:hover {
    color: #fde68a;
}

@media (max-width: 540px) {
    .bp-cta-end {
        padding: 2rem 1.5rem;
    }

    .bp-cta-end h3 {
        font-size: 1.6rem;
    }

    .bp-cta-end-sub {
        font-size: 1rem;
    }

    .bp-cta-end-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bp-cta-end-actions .bp-cta-btn-primary-lg {
        text-align: center;
    }
}
