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

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

.custom-page-hero-inner{
    margin: 0 auto;
    max-width: 80rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--row-gap);
    justify-items: center;
}

.custom-page-hero-image{
    margin-top: -50%;
    margin-left: -50%;
    position: relative;
}

.custom-page-hero-inner[data-graphics="1"] .custom-page-hero-image::before{
    content: '';
    display: block;
    width: min(23rem, 60%);
    bottom: 0;
    right: -5rem;
    background-image: url('img/graphic-3.png');
    background-size: contain;
    position: absolute;
    z-index: 2;
    pointer-events: none;
    aspect-ratio: 0.9;
    transform: rotateZ(180deg);
}

.custom-page-hero-inner[data-graphics="1"] .custom-page-hero-image::after{
    content: '';
    display: block;
    width: min(28.6rem, 73.5%);
    bottom: calc(100% - 10rem);
    right: 25%;
    background-image: url('img/graphic-4.png');
    background-size: contain;
    position: absolute;
    z-index: 2;
    pointer-events: none;
    aspect-ratio: 1.4;
    transform: rotateZ(180deg);
}

.custom-page-hero-image img{
    aspect-ratio: 1;
    border-radius: 100%;
    width: 100%;
}

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

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

.custom-page-hero-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);
}

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

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

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

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

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

.custom-page-hero h1{
    text-align: center;
    max-width: 90rem;
    margin-bottom: 0;
}

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

.custom-page-hero p{
    max-width: 52rem;
    margin: 0;
    text-align: center;
}

.custom-page-hero-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: var(--item-column-gap);
    row-gap: var(--row-gap);
}

@media (min-width: 768px){
    .custom-page-hero-inner{
        position: relative;
    }

    .custom-page-hero-image{
        position: absolute;
        margin: 0;
        right: 100%;
        bottom: var(--block-margin);
        width: 45rem;
    }

    .custom-page-hero-inner[data-graphics="1"] .custom-page-hero-image::before{
        bottom: -5rem;
        right: -5rem;

    }

    .custom-page-hero-inner[data-graphics="1"]::after{
        content: '';
        display: block;
        width: 25.2rem;
        height: 16.2rem;
        background-image: url('img/graphic-2.png');
        background-size: contain;
        position: absolute;
        bottom: 0;
        left: 100%;
        pointer-events: none;        
    }
}