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

.page-hero-with-image:not(:has([data-graphics="1"])){
    padding-bottom: 0;
    margin-bottom: var(--block-margin);
}

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

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

.page-hero-with-image-inner{
    max-width: var(--wide-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
}

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

.page-hero-with-image-image img{
    display: block;
    width: 100%;
    min-height: 30rem;
    object-fit: cover;
    object-position: center;
}

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

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

.page-hero-with-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-image-breadcrumbs li span,
.page-hero-with-image-breadcrumbs li a,
.page-hero-with-image-breadcrumbs li:before{
    opacity: 0.4;
}

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

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

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

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

.page-hero-with-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-image-heading[data-graphics="1"]{
    padding-bottom: var(--block-margin);
}

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

.page-hero-with-image-heading[data-graphics="1"]::after{
    content: '';
    display: block;
    width: 12.6rem;
    height: 8.1rem;
    background-image: url('img/graphic-2.png');
    background-size: contain;
    position: absolute;
    top: calc(100% - var(--block-margin));
    left: 100%;
    margin-left: -5rem;
    margin-top: -0.5rem;
    pointer-events: none;
}

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

.page-hero-with-image h1[data-size="big"]{
    font: var(--font-headline-1);
}

.page-hero-with-image h1[data-size="bigger"]{
    font: var(--font-headline-0);
}

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

@media (min-width: 768px){
    .page-hero-with-image-heading{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero-with-image h1[data-width="wide"]{
        grid-column: span 2;
    }

    .page-hero-with-image-heading[data-graphics="1"]::after{
        width: 25.2rem;
        height: 16.2rem;
        margin-left: -10rem;
        margin-top: -1rem;
    }
}