.page-banner {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
}

.page-banner__shape {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 33%;
    z-index: 2;
}

.page-banner__shape img {
    width: 100%;
    height: 100%;
}

.page-banner__image {
    flex: 0 0 45%;
    z-index: 1;
    overflow: hidden;
}

.page-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner__content {
    flex: 0 0 55%;
    z-index: 3;
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.page-banner__back-button {
    position: absolute;
    top: 20px;
    left: 50px;
    z-index: 3;
}
.page-banner__back-button a {
    color: #fff;
}

.page-banner__back-button i {
    margin-right: 10px;
}

.page-banner__overlay {
    background: linear-gradient(161deg, rgba(32,40,110,0.6) 0%, rgba(32,40,110,0) 20%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* extra styles for the editor */

.wp-block-acf-page-banner {
    width: 100%;
}

.page-banner-button a {
    border-radius: 5px;
    background: var(--wp--preset--gradient--blue-button-gradient);
    color: #fff;
    transition: 300ms;
    position: relative;
    padding: 10px 15px;
    outline: none;
}
.page-banner-button a:hover {
    background: transparent;
    color: var(--wp--preset--color--quinary);
    box-shadow: inset 0px 0px 0px 2px var(--wp--preset--color--quinary);
}

.page-banner-button a::after {
    content: "\f10b";
    font-family: "Ionicons";
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    margin-left: 10px;
}

/* responsive styles */
@media screen and (max-width: 900px) {
    .page-banner {
        height: auto !important;
        padding: 20px 0;
    }
    .page-banner.has-back-button {
        padding-top: 60px;
    }
    .page-banner__image {
        display: none;
    }
    .page-banner__shape {
        display: none;
    }
    .page-banner__content {
        flex: 0 0 100%;
        padding: 0 20px;
        max-width: 600px;
        margin: 0 auto;
    }
}