/* ═══════════════════════════════════════════════════════════ */
/* JUNE 4 — Full-bleed Hero Overlay (1440x777 image fill)     */
/* ═══════════════════════════════════════════════════════════ */

/* ── HERO OUTER ───────────────────────────────────────────── */
.bmpc-hero-outer {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

/* ── HERO WRAPPER: matches 1440x777 aspect ratio ─────────── */
.bmpc-hero {
    position: relative !important;
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    aspect-ratio: 1440 / 777 !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    min-height: unset !important;
    grid-template-columns: unset !important;
    align-items: unset !important;
    gap: unset !important;
}

/* ── IMAGE: fills the hero completely ────────────────────── */
.bmpc-hero__image-wrap {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    overflow: hidden !important;
    padding: 0 !important;
}
.bmpc-hero__image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    margin: 0 !important;
}

/* ── COPY: overlaid on left ~40% ─────────────────────────── */
.bmpc-hero__copy {
    position: absolute !important;
    top: 7% !important;
    left: 5% !important;
    height: calc(93% - 20px) !important;
    transform: none !important;
    z-index: 2 !important;
    width: 40% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 50px !important;
    padding: 80px 0 0 0 !important;
}

.bmpc-hero__headline {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 795;
    line-height: 1.0;
    letter-spacing: -0.02em;
    font-size: 50px !important;
    color: #000000 !important;
    margin: 0;
}

.bmpc-hero__subhead {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 28px !important;
    line-height: 1.3;
    color: #111111 !important;
    margin: 0;
}

.bmpc-hero__support {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1.65;
    color: #333333 !important;
    margin: 0;
}

.bmpc-hero__ctas {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto !important;
}

/* ── CTA BUTTONS ──────────────────────────────────────────── */
.bmpc-btn-primary {
    display: inline-block !important;
    padding: 14px 32px !important;
    background: #cc0000 !important;
    color: #ffffff !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    border: 2px solid #cc0000 !important;
    cursor: pointer !important;
    transition: background 0.2s, border-color 0.2s;
}
.bmpc-btn-primary:hover {
    background: #aa0000 !important;
    border-color: #aa0000 !important;
    color: #ffffff !important;
}

.bmpc-btn-secondary {
    display: inline-block !important;
    padding: 12px 30px !important;
    background: transparent !important;
    color: #000000 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    border: 2px solid #000000 !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s;
}
.bmpc-btn-secondary:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ── TABLET (768px – 1199px) ──────────────────────────────── */
@media (max-width: 1199px) {
    .bmpc-hero {
        aspect-ratio: 1440 / 777 !important;
    }
    .bmpc-hero__copy {
        width: 48% !important;
        left: 4% !important;
    }
}

/* ── MOBILE (< 768px): image as background, copy overlaid ── */
@media (max-width: 767px) {
    /* Hero: fixed height so image fills as background */
    .bmpc-hero {
        position: relative !important;
        width: 100% !important;
        height: 88vw !important;
        min-height: 320px !important;
        max-height: 520px !important;
        aspect-ratio: unset !important;
        display: block !important;
        overflow: hidden !important;
    }

    /* Image fills entire hero as background */
    .bmpc-hero__image-wrap {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        overflow: hidden !important;
    }
    .bmpc-hero__image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center right !important;
        display: block !important;
    }

    /* Semi-transparent gradient so text is readable over image */
    .bmpc-hero__image-wrap::after {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 55%, rgba(255,255,255,0.0) 100%) !important;
        z-index: 2 !important;
    }

    /* Copy overlaid on top-left */
    .bmpc-hero__copy {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 62% !important;
        height: 100% !important;
        z-index: 3 !important;
        padding: 16px 12px 16px 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    .bmpc-hero__headline {
        font-size: clamp(16px, 4.8vw, 26px) !important;
        line-height: 1.1 !important;
        margin: 0 !important;
    }
    .bmpc-hero__subhead {
        font-size: clamp(12px, 3.2vw, 17px) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    .bmpc-hero__support {
        font-size: clamp(11px, 2.8vw, 14px) !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }
    .bmpc-hero__ctas {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: auto !important;
        width: 100% !important;
    }
    .bmpc-btn-primary,
    .bmpc-btn-secondary {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        font-size: 10px !important;
        padding: 10px 8px !important;
        letter-spacing: 0.05em !important;
    }
}

/* ── TRUST STRIP ──────────────────────────────────────────── */
.bmpc-trust-strip {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3.5rem !important;
    flex-wrap: wrap !important;
    padding: 2.25rem 5% !important;
    background-color: var(--bmpc-gray-light, #f5f5f5) !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}

.bmpc-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #111 !important;
}

.bmpc-trust-item img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

@media (max-width: 767px) {
    .bmpc-trust-strip {
        gap: 1.75rem !important;
        justify-content: flex-start !important;
    }
    .bmpc-trust-item {
        font-size: 0.875rem !important;
    }
    .bmpc-trust-item img {
        width: 38px !important;
        height: 38px !important;
    }
}

/* ── CARD IMG WRAP ────────────────────────────────────────── */
.bmpc-card-img-wrap {
    height: 240px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.bmpc-card-img-wrap img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

/* ── LEGACY ───────────────────────────────────────────────── */
.bmpc-hero-sub { color: #1a1a1a; }
.bmpc-hero-support { color: #2a2a2a; }

/* ── PERIODIC GRID: equal-width cards, no middle enlargement ── */
.bmpc-periodic-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 5% !important;
    align-items: stretch !important;
}

.bmpc-periodic-grid.bmpc-centered-grid {
    justify-content: center !important;
}

.bmpc-periodic-grid .bmpc-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: unset !important;
}

.bmpc-card-img-wrap {
    height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    overflow: hidden !important;
}
.bmpc-card-img-wrap img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 900px) {
    .bmpc-periodic-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 560px) {
    .bmpc-periodic-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL OVERFLOW LOCK — prevents any element from blowing out
   the viewport width on mobile
   ══════════════════════════════════════════════════════════════ */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ── ALL sections/wrappers full width on mobile ── */
@media (max-width: 767px) {
    /* Hero outer must not overflow */
    .bmpc-hero-outer {
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Clarity 5-card grid → single column on mobile */
    .bmpc-clarity-grid-new {
        grid-template-columns: 1fr !important;
        padding: 0 5% !important;
        gap: 12px !important;
    }

    /* CTA band full width */
    .bmpc-cta-band {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 4rem 5% !important;
    }

    /* Feature bar wraps cleanly */
    .bmpc-feature-bar {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 2rem 5% !important;
        gap: 1.5rem !important;
        justify-content: flex-start !important;
    }

    /* Trust strip */
    .bmpc-trust-strip {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Section wrapper */
    .bmpc-section {
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Research sets section header */
    .bmpc-section-header {
        padding: 0 5% !important;
        box-sizing: border-box !important;
    }

    /* Periodic grid already handled, ensure no overflow */
    .bmpc-periodic-grid {
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Dividers in feature bar */
    .bmpc-feature-bar > div[style*="width:1px"] {
        display: none !important;
    }
}
