.page-hero {
    padding-top: 220px;
    padding-bottom: 60px;
    padding-inline: 20px;
    min-height: 400px;
    border-radius: 0 0 var(--wp--custom--border-radius--block) var(--wp--custom--border-radius--block);

    p {
        max-width: 30rem;
        margin-block-start: var(--wp--preset--spacing--20);
    }

    .wp-block-buttons {
        margin-block-start: var(--wp--preset--spacing--40);
    }

    .wp-block-cover__image-background {
        top: auto;
        bottom: -10px;
        min-height: 130%;
        transition: none;
        /*object-position: 50% bottom !important;*/
        will-change: translate;
    }
}

.home .page-hero {
    img { min-height: 115%; }
}

.single .page-hero {
    align-items: end;
    justify-content: flex-end;
}

@media screen and (max-width: 768px) {
    .page-hero .wp-block-heading + p {
        display: none;
    }
}

@media screen and (min-width: 769px) {
    .page-hero {
        padding-inline: var(--wp--preset--spacing--40);
        border-radius: var(--wp--custom--border-radius--block);
        min-height: 600px;
    }

    body:not(.single) .page-hero {
        padding-bottom: 150px;
    }

    .home .page-hero {
        border-radius: var(--wp--custom--border-radius--block) var(--wp--custom--border-radius--block) 0 0;
    }
}

@media screen and (min-width: 1024px) {
    body:not(.page-template-page-design) .page-hero {
        min-height: 540px;
    }

    .page-template-page-design .page-hero {
        min-height: 800px;
    }
}
