.block-hero-2 {
    background: #FFF;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3.75em;
}

@media screen and (max-width: 1024px) {
    .block-hero-2 {
        height: var(--block-hero-2-mobile-height, 100dvh);
        min-height: 100dvh;
        padding: 2em;
    }
}

.block-hero-2__bg {
    position: absolute;
    inset: 0.5em;
    z-index: 0;
    overflow: hidden;
    border-radius: 0.375em;
}

.block-hero-2__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.28);
    border-radius: inherit;
    pointer-events: none;
}

@media screen and (max-width: 1024px) {
    .block-hero-2__bg {
        inset: 0.1875em;
    }
}

.block-hero-2__bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 50%;
    transform: none !important;
    border-radius: 0.375em;
}

@media screen and (max-width: 1024px) {
    .block-hero-2__bg-media {
        object-position: center center;
    }
}

.block-hero-2__content {
    width: 51.5625em;
    max-width: 100%;
    z-index: 2;
    position: relative;
    color: var(--color-primary);

    display: grid;
    place-items: center;
    pointer-events: none;
}

.block-hero-2__title {
    grid-area: 1 / 1;
    text-align: center;
    text-wrap: balance;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.block-hero-2__title-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.block-hero-2__title-word-inner {
    display: inline-block;
}
