/* =========================================================
   PRE-FOOTER.CSS — Complex Challenge Conversation Callout
   Figma Node: 1265:2043 (Top rounded 40px)
   ========================================================= */

.pre-footer-section {
    padding-top: 143px;
    padding-bottom: 183px;
    background-color: var(--color-bluish-grey);
    background-image: linear-gradient(180deg, #F4F7F9 17.68%, var(--color-white) 102.03%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 2;
}

/* Background Media Container (Figma node 1265:2043) */
.pre-footer-section .pre-footer-media {
    z-index: 1;
}

/* Option 1: Pre-footer Artwork Image */
.pre-footer-section .pre-footer-bg-image {
    object-position: center;
}

/* Option 2: Pre-footer Background Video */
.pre-footer-section .pre-footer-bg-video {
    object-position: center;
}

.pre-footer-section .pre-footer-content {
    max-width: 940px;
    margin-inline: auto;
    z-index: 2;
}

.pre-footer-section .pre-footer-content .h2 {
    font-size: 50px;
}

.pre-footer-section .pre-footer-content p {
    font-size: var(--font-size-p2);
    line-height: var(--line-height-p2);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1199px) {
    .pre-footer-section {
        padding-top: 80px;
        padding-bottom: 100px;
    }

    .pre-footer-section .pre-footer-content .h2 {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .pre-footer-section {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .pre-footer-section .pre-footer-content .h2 {
        font-size: 36px;
    }

    .pre-footer-section .pre-footer-content .h2 br , .pre-footer-section .pre-footer-content p br{
        display: none;
    }
}

@media (max-width: 991px) {
    .pre-footer-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .pre-footer-section .pre-footer-content .h2 {
        font-size: 30px;
    }
}
/* Readability over the moving background (QA BG_19, BG_48): a soft light veil between the
   video/image and the navy text keeps the contrast high whatever frame is showing. */
.pre-footer-section .pre-footer-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(249, 248, 243, 0.55) 0%, rgba(255, 255, 255, 0.35) 100%);
    pointer-events: none;
}
@media (max-width: 767px) {
    .pre-footer-actions .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        box-sizing: border-box;
        text-align: center;
        height: auto;
    }

    .pre-footer-actions {
        width: 100%;
        min-width: 0;
    }
}