/* Homepage decorative artwork outside the hero. */

.front-home { overflow-x: hidden; }
.front-home .public-container { overflow: visible; }

.front-home .public-container > section {
    position: relative;
    z-index: 2;
}

.public-footer.home-inline-footer {
    position: relative;
    left: 50%;
    z-index: 3;
    isolation: isolate;
    width: 100vw;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px)) 32px;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    transform: translateX(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--zf-forest);
}

.public-footer.home-inline-footer::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    aspect-ratio: 1600 / 494;
    background: url("/assets/front/fon_down.webp") center bottom / 100% 100% no-repeat;
    pointer-events: none;
}

.public-footer.home-inline-footer > div {
    position: relative;
    z-index: 2;
    max-width: 440px;
    transform: translateY(clamp(-140px, -9vw, -70px));
}

@media (max-width: 980px) {
    .public-footer.home-inline-footer {
        min-height: 0;
        margin-top: 0;
        padding-top: 0;
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 760px) {
    .public-footer.home-inline-footer {
        min-height: 0;
        margin-top: 0;
        padding: 0 20px 24px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        text-align: center;
    }

    .public-footer.home-inline-footer > div {
        width: 100%;
        max-width: 520px;
        transform: translateY(-28px);
        text-align: center;
    }
}