.cpx-home-banner {
    position: relative;
    width: 100%;
    height: 490px;
    aspect-ratio: 1189 / 490;
    overflow: hidden;
    border-radius: 15px;
    background: var(--cpx-brand-yellow);
}

.cpx-home-banner__desktop {
    position: absolute;
    top: -24.46%;
    left: -11.37%;
    width: 113.61%;
    height: 132.83%;
    max-width: none;
    pointer-events: none;
}

.cpx-home-banner__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.cpx-home-banner__action {
    position: absolute;
    top: 70.83%;
    left: 3.1%;
    width: 14.65%;
    height: 8.75%;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.cpx-home-banner__action:is(:visited, :hover, :active) {
    background: transparent;
}

.cpx-home-banner__action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.cpx-home-banner__action:focus-visible {
    outline: 3px solid var(--cpx-white-1);
    outline-offset: 3px;
}

.cpx-home-banner__mobile {
    display: none;
}

@media (width <= 768px) {
    .cpx-home-banner {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
        background-image: url("../../../../../img/media/pattern-yellow.svg");
        background-position: left bottom;
        height: auto;
    }

    .cpx-home-banner__desktop {
        display: none;
    }

    .cpx-home-banner__copy {
        position: static;
        width: auto;
        height: auto;
        padding: 32px 24px 0;
        overflow: visible;
        clip-path: none;
        white-space: normal;
        text-align: center;
    }

    .cpx-home-banner__copy p {
        margin-top: 16px;
    }

    .cpx-home-banner__action {
        position: static;
        width: auto;
        height: auto;
        min-height: 44px;
        margin: 32px 24px 0;
        padding: 10px 16px;
        background: var(--cpx-brand-grey);
    }

    .cpx-home-banner__action:is(:visited, :hover, :active) {
        background: var(--cpx-brand-grey);
    }

    .cpx-home-banner__action span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
    }

    .cpx-home-banner__mobile {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 16px;
    }
}
