/*
 * Apex Prop Firms: shared listing-page heading.
 * Keep the same open background and side beams as Home / Deals.
 * Only the four listing pages opt in to this stylesheet.
 */
.apf-unified-page {
    background: transparent;
}

.apf-unified-page .apf-unified-hero {
    position: relative;
    isolation: auto;
    min-height: 0;
    margin: 0;
    padding: 30px 0 20px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Remove old local hero glows and divider strips; use the shared side beams. */
.apf-unified-page .apf-unified-hero::after {
    content: none;
}

.apf-unified-page .apf-unified-hero :is(
    .challenges-hero-glow,
    .instant-hero-glow,
    .comparison-hero-glow
) {
    display: none;
}

.apf-unified-page .apf-unified-hero :is(
    .challenges-hero-content,
    .instant-hero-content,
    .comparison-hero-content,
    .apf-updates-shell
) {
    display: flex;
    width: min(1180px, calc(100% - 28px));
    min-height: 0;
    margin-inline: auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.apf-unified-page .apf-unified-hero :is(
    .challenges-kicker,
    .instant-kicker,
    .comparison-kicker,
    .apf-updates-kicker
) {
    display: inline-block;
    min-height: 0;
    margin: 0 0 7px;
    padding: 0;
    color: var(--beam-color, #d4af37);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.apf-unified-page .apf-unified-hero :is(
    .comparison-kicker,
    .apf-updates-kicker
)::before,
.apf-unified-page .apf-unified-hero .apf-updates-kicker::after {
    content: none;
}

.apf-unified-page .apf-unified-hero h1 {
    max-width: 1100px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(25px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.apf-unified-page .apf-unified-hero p {
    max-width: 760px;
    margin: 9px auto 0;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

/* Preserve functional summary counters on Challenges and Instant pages. */
.apf-unified-page .apf-unified-hero :is(
    .challenges-hero-meta,
    .instant-hero-meta
) {
    margin-top: 20px;
}

@media (max-width: 640px) {
    .apf-unified-page .apf-unified-hero {
        padding: 22px 0 14px;
    }

    .apf-unified-page .apf-unified-hero :is(
        .challenges-hero-content,
        .instant-hero-content,
        .comparison-hero-content,
        .apf-updates-shell
    ) {
        width: min(1180px, calc(100% - 22px));
    }

    .apf-unified-page .apf-unified-hero h1 {
        font-size: 25px;
    }

    .apf-unified-page .apf-unified-hero p {
        font-size: 12px;
    }
}

@media print {
    .apf-unified-page {
        background: #fff;
    }

    .apf-unified-page .apf-unified-hero h1 {
        color: #111;
    }

    .apf-unified-page .apf-unified-hero p {
        color: #333;
    }
}
