/* Odoo layout resets for immersive pitch page (gf_page_kind == pitch). */
body.gf-pitch-page #wrapwrap,
body.gf-pitch-page #wrapwrap > main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

body.gf-pitch-page #wrapwrap > main > #wrap.gf-pitch-page {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    transform: none;
    filter: none;
    perspective: none;
}

body.gf-pitch-page #wrapwrap > main > #wrap.gf-pitch-page > .oe_structure {
    margin: 0;
    padding: 0;
}

body.gf-pitch-page .o_footer,
body.gf-pitch-page footer#bottom {
    display: none !important;
}

body.gf-pitch-page .gf-site-footer {
    z-index: 20;
    isolation: isolate;
}

@media (max-width: 767px) {
    /* Keep footer below sticky last beats so scroll handoff doesn't paint-over. */
    body.gf-pitch-page .gf-site-footer {
        z-index: 5;
    }
}

body.gf-pitch-page .gf-chute-partner-logo {
    max-width: none !important;
}

/* Partner marks: preserve native artwork/backgrounds in equal square tiles. */
body.gf-pitch-page .gf-chute-partners {
    display: grid;
    grid-template-columns: repeat(6, clamp(104px, 11vw, 132px));
    justify-content: center;
    gap: clamp(16px, 2vw, 28px);
    margin-top: clamp(52px, 6vh, 72px);
}

body.gf-pitch-page .gf-chute-partner-card {
    display: grid;
    width: clamp(104px, 11vw, 132px);
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    background: rgba(250, 246, 234, 0.92);
    opacity: 0;
    transform: translateX(-16px);
    will-change: opacity, transform;
}

body.gf-pitch-page .gf-chute-partner-card--bpi {
    background: rgba(110, 110, 108, 0.92);
}

body.gf-pitch-page .gf-chute-partner-logo {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    opacity: 0.82;
}

@media (max-width: 767px) {
    body.gf-pitch-page .gf-chute-partners {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: min(100%, 360px);
    }

    body.gf-pitch-page .gf-chute-partner-card {
        width: 100%;
    }
}
