.pyp-hero {
    background-color: #8A064C;
    overflow: hidden;
}
.pyp-hero__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 210px 160px 160px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.pyp-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 0 0 544px;
    max-width: 544px;
}
.pyp-hero__title {
    color: #FFFFFF;
    font-family: "avenir_next_worldbold", 'Verdana';
    font-weight: normal;
    font-size: 40px;
    line-height: 1.2em;
    margin: 0px;
}
.pyp-hero__desc {
    color: #FFFFFF;
    font-family: "avenir_next_worldmedium", 'Verdana';
    font-weight: normal;
    font-size: 16px;
    line-height: 1.75em;
    margin: 0;
}
.pyp-hero__cta {
    font-family: 'avenir_next_worlddemi', 'Verdana';
    font-weight: normal;
    font-size: 16px;
    line-height: 1.5em;
    color: #FFFFFF !important;
    background-color: #000000;
    border-color: #000000;
    border-radius: 8px;
    padding: 13px 16px;
    height: 48px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.pyp-hero__cta:hover {
    background-color: #2A2A2A;
    border-color: #2A2A2A;
}
.pyp-hero__media {
    position: relative;
    flex: 1 1 544px;
    max-width: 544px;
    margin-left: auto;
}
.pyp-hero__media-main {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.pyp-hero__float {
    position: absolute;
    pointer-events: none;
}
.pyp-hero__float--circle-1 {
    top: 8%;
    right: -3%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0px 10.5px 21px 0px rgba(0, 0, 0, 0.1);
}
.pyp-hero__float--circle-2 {
    bottom: 12%;
    left: -6%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.1);
}
.pyp-hero__float--card {
    bottom: 18%;
    right: -8%;
    width: 192px;
    height: auto;
}
.pyp-hero__float--sparkle {
    bottom: 22%;
    right: -4%;
    width: 40px;
    height: 40px;
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .pyp-hero__inner {
        padding: 150px 80px 110px;
    }
    /* Without this, the fixed 544px copy column doesn't shrink and starves
       the image column down to ~288px on 1024-1439px viewports. */
    .pyp-hero__copy {
        flex: 0 0 46%;
        max-width: 46%;
    }
    .pyp-hero__media {
        flex: 1 1 auto;
        max-width: 46%;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    p.pyp-hero__desc br {
    display: none;
}
    .pyp-hero__inner {
        padding: 140px 40px 80px;
        gap: 24px;
    }
    .pyp-hero__copy {
        flex: 0 0 46%;
        max-width: 46%;
    }
    .pyp-hero__title {
        font-size: 32px;
        line-height: 40px;
    }
    .pyp-hero__float--card {
        width: 150px;
    }
}

@media (max-width: 767px) {
    .pyp-hero__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 140px 16px 40px;
        gap: 24px;
        text-align: center;
    }
    .pyp-hero__copy {
        flex: none;
        max-width: 100%;
        align-items: center;
        gap: 16px;
        order: 1;
    }
    .pyp-hero__title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 0;
    }
    .pyp-hero__cta {
        width: 100%;
    }
    .pyp-hero__media {
        order: 2;
        max-width: 100%;
        flex: none;
        margin-left: 0;
    }
    /* .hide-lg forces display:block; restore flex centering for the button */
    .pyp-hero__cta.hide-lg {
        display: flex !important;
        order: 3;
    }
}
