.hero-block {
    background: var(--gradient2);
    padding: 150px 0;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56%;
    max-width: 909px;
    height: auto;
    aspect-ratio: 2000/917;
    z-index: 1;
    background-image: url('../images/background-hero-home.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100% auto;
}

.hero-title,
.hero-content,
.hero-link {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero-content {
    font-size: 18px;
    line-height: 140%;
}

.hero-block a.wp-block-button__link.wp-element-button:hover,
.hero-block a.cta:hover {
    border: 2px solid white;
    background: transparent;
    color: white;
}


.hero-block a.wp-block-button__link.wp-element-button:hover:after,
.hero-block a.cta:hover:after {
    background: url('/wp-content/themes/aibatros/images/link-arrow-white.svg') no-repeat -20px center;
    background-size: contain;
}


.hero-block .hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    font-weight: 700;
    font-size: 26px;
    padding: 8px 10px;
    background: var(--darkblue);
    color: white;
    box-sizing: border-box;
}

.hero-block .hero-label .sublabel {
    position: absolute;
    bottom: -27px;
    left: 0;
    padding: 1px 10px;
    background: var(--darkblue);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-block .hero-label.hero-label-1 {
    bottom: 76.7%;
    left: 29.25%;
}

.hero-block .hero-label.hero-label-2 {
    bottom: 55.7%;
    left: 41.6%;
}

.hero-block .hero-label.hero-label-3 {
    bottom: initial;
    top: 0;
    left: 73.9%;
}

.hero-block .hero-label.hero-label-4 {
    bottom: 62.4%;
    left: 81.7%;
}

@media (max-width: 1270px) {
    .hero-block .hero-label {
        font-size: 20px;
    }

    .hero-block .hero-label .sublabel {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero-block {
        padding: 40px 0 69vw 0;
    }

    .hero-content {
        margin-bottom: 25px;
    }
    
    .hero-image {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1486/917;
        z-index: 1;
        background-image: url('../images/background-hero-news-mobile.png');
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: 100% auto;
    }

    .hero-block .hero-label {
        font-size: 16px;
        padding: 3px 10px;
    }

    .hero-block .hero-label .sublabel {
        font-size: 12px;
        bottom: -26px;
    }

    .hero-block .hero-label.hero-label-1 {
        bottom: 74.3%;
        left: 29.4%;
    }
    
    .hero-block .hero-label.hero-label-2 {
        bottom: 40.7%;
        left: inherit;
        right: 53.6%;
    }

    .hero-block .hero-label.hero-label-2 .sublabel {
        left: initial;
        right: 0;
        padding: 0px 10px;
    }
    
    .hero-block .hero-label.hero-label-3 {
        bottom: initial;
        top: 0;
        left: initial;
        right: 10.5%;
    }

    .hero-block .hero-label.hero-label-3 .sublabel {
        left: initial;
        right: 0;
        padding: 0px 10px;
    }
    
    .hero-block .hero-label.hero-label-4 {
        bottom: 16.4%;
        left: initial;
        right: 35.5%;
    }
    .hero-block .hero-label.hero-label-4 .sublabel {
        left: initial;
        right: 0;
        padding: 0px 10px;
    }
}
