.page-hero-with-center-image{
    padding-top: calc(var(--header-height) + var(--block-margin));
    padding-bottom: var(--block-margin);
    max-width: 100%;
    overflow: hidden;
}

.page-hero-with-center-image.animate__animated{
    animation-name: fadeIn;
    animation-delay: 0.2s;
}

.page-hero-with-center-image + *{
    margin-top: 0;
}

.page-hero-with-center-image-inner{
    max-width: var(--wide-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    align-items: center;
    position: relative;
}

:is(.page-hero-with-center-image-inner-left-column, .page-hero-with-center-image-inner-right-column) {
    display: flex;
    flex-direction: column;
    row-gap: var(--item-row-gap);
    position: relative;
}

.page-hero-with-center-image-image{
    overflow: hidden;
    border-radius: 4rem;
}

.page-hero-with-center-image-image img{
    display: block;
    width: 30rem;
    margin: 0 auto;
    min-height: 30rem;
    object-fit: cover;
    object-position: center;
    border-radius: 400rem;
}

.page-hero-with-center-image-breadcrumbs{
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.6rem;
}

.page-hero-with-center-image-breadcrumbs li{
    display: flex;
    list-style: none;
    column-gap: var(--item-column-gap);
    align-items: center;
    text-transform: uppercase;
}

.page-hero-with-center-image-breadcrumbs li:not(:first-child):before{
    content: '';
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    margin: 0 0.8rem;
    border-top: 0.2rem solid;
    border-right: 0.2rem solid;
    transform: rotateZ(45deg);
}

.page-hero-with-center-image-breadcrumbs li span,
.page-hero-with-center-image-breadcrumbs li a,
.page-hero-with-center-image-breadcrumbs li:before{
    opacity: 0.4;
}

.page-hero-with-center-image-breadcrumbs li a{
    text-decoration: none;
    color: var(--text-color);
}

.page-hero-with-center-image-breadcrumbs li a:is(:hover, :focus, :active){
    text-decoration: underline;
}

.page-hero-with-center-image-breadcrumbs li:last-child{
    font-weight: 500;
}

.page-hero-with-center-image-breadcrumbs li:last-child :is(span, a){
    opacity: 0.6;
}

.page-hero-with-center-image-heading{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    align-items: end;
    position: relative;
}

.page-hero-with-center-image h1{
    font: var(--font-headline-2);
    margin-bottom: 0;
}

.page-hero-with-center-image p{
    margin-bottom: 0;
}

.page-hero-with-center-image-buttons{
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--item-column-gap);
    row-gap: var(--item-row-gap);
    align-items: center;
    width: 100%;
}

.page-hero-with-center-image.animate__animated .page-hero-with-center-image-buttons{
    animation-name: page-hero-with-center-image-fade-in-up;
    animation-fill-mode: both;
    animation-duration: 0.5s;
    animation-delay: 0.6s;
}

@keyframes page-hero-with-center-image-fade-in-up {
    0% {
        opacity: 0;
        transform: translate3d(0, 5rem, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .page-hero-with-center-image-inner{
        grid-template-columns: repeat(2, 1fr);
        column-gap: var(--item-column-gap);
    }

    .page-hero-with-center-image-inner-left-column{
        grid-column: 1;
        grid-row: 1;
    }

    .page-hero-with-center-image-inner-center-column{
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .page-hero-with-center-image-inner-right-column{
        grid-column: 1;
        grid-row: 2;
    }
}

@media (min-width: 992px){
    .page-hero-with-center-image-inner{
        grid-template-columns: repeat(3, 1fr);
    }

    .page-hero-with-center-image-image img{
        width: 100%;
    }

    .page-hero-with-center-image-inner[data-graphics="1"] .page-hero-with-center-image-inner-right-column{
        margin: calc(16.2rem - var(--block-margin) + var(--item-row-gap)) 0;
    }

    .page-hero-with-center-image-inner[data-graphics="1"] .page-hero-with-center-image-inner-left-column::before{
        content: '';
        display: block;
        width: 16.6rem;
        height: 23.9rem;
        background-image: url('img/graphic-1.png');
        background-size: contain;
        position: absolute;
        bottom: calc(100% + var(--item-row-gap));
        right: 100%;
        margin-right: -5rem;
        pointer-events: none;
    }

    .page-hero-with-center-image-inner[data-graphics="1"] .page-hero-with-center-image-inner-right-column::after{
        content: '';
        display: block;
        width: 25.2rem;
        height: 16.2rem;
        background-image: url('img/graphic-2.png');
        background-size: contain;
        position: absolute;
        top: calc(100% + var(--item-row-gap));
        left: 100%;
        margin-left: -10rem;
        margin-top: -1rem;
        pointer-events: none;        
    }
}