/************************/
.hero-block-container {
    grid-template-columns: 100%;
    display: grid;
    /*aspect-ratio: 16 / 8;*/
}
.hero-block-overlay{
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 54%, rgb(12 3 3) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
}
.flx_hero {
    margin-bottom: 0 !important;
}

.hero-inner-black {
    position: relative;
}

.hero-left-title-svg {
    margin: 0 auto;
    width: auto;
    margin: .67em 0;
}

.hero-content-right_title {
    font-size: 28px;
    color: #fff;
    line-height: 40px;
}

.hero-inner-black-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.hero-inner-black .container {
    height: 100%;
}


.hero-content-suptitle {
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
    font-size: 32px;
    line-height: 43px;
    margin-bottom: 1rem;
    margin-top: 0;
}

.not-home .hero-content-suptitle {
    font-style: italic;
    font-weight: 700;
}

.hero-inner-black {
    background-color: #000;
}

.hero-bg-image {
    /* aspect-ratio: 2/4; */
    object-fit: cover;
    height: 100vh;
    width: 100%;
    object-position: var(--image-alignment, center);
}

.hero_inner {
    position: relative;
}

.hero-icon-wrapper {
    aspect-ratio: 1 / 1;
    z-index: 1;
    width: 120px;
    position: absolute;
    top: 125px;
    right: 25px;
}

.hero-content {
    position: absolute;
    bottom: 100px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 15px;
    max-width: 500px;
    width: 100%;
}

.hero-block-simple .hero-content {
    max-width: 900px;
    top: auto;
    bottom: 116px;
    height: auto;
    justify-content: unset;
}

.heroblock-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    font-style: italic;
}

.hero-block-simple .heroblock-title {
    color: #fff;
}

.hero-block-simple .hero-content-title {
    color: #fff !important;
    font-style: italic;
    font-weight: 700;
    margin-top: 0.9rem;
}

.hero-content-title {
    font-size: 42px;
    color: #C8230A !important;
    font-weight: 400;
    line-height: 42px;
    margin-bottom: 34px;
}

.hero-content-title .bold {
    display: block;
    font-size: 43px;
    font-weight: 700;
}

.hero-content-text {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-block-right-subtitle {
    color: #C8230A;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 41px;
    margin-top: 4px;
}

.hero-content-text .bold {
    display: block;
    color: #C8230A;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
}

.heroblock-btn {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    padding: 10px 20px;
    text-transform: uppercase;
    min-width: 180px;
    width: fit-content;
    display: inline-block;
}

.hero-content .heroblock-btn {
    background-color: #FFD20F;
    color: #200;
    border-color: #FFD20F;
}

.hero-inner-black .hero-content {
    max-width: 350px;
    left: 4rem;
}

.flx_hero .hero-red-line {
    height: 50px;
    background-color: #C8230A;
}

.hero-content>* {
    /* opacity: 0; */
    /* transform: translateY(20px); */
}

@keyframes fadeUpIcon {
    from {
        opacity: 0;
        transform: translateY(20px) rotate(20deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(20deg);
    }
}
.hero-icon-wrapper {
    /* opacity: 0;
    transform: translateY(20px) rotate(20deg); */
    /* animation: fadeUpIcon 0.8s ease-out forwards;
    animation-delay: var(--delay, 1.5s); */
}

.hero-icon-wrapper img {
    transition: none;
    transform: rotate(20deg);
}


.animate .hero-content-title {
    animation-delay: 0.2s;
}

.animate .hero-content-text {
    /* animation-delay: 0.4s; */
}

.animate>* {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 575px) {

    /* .hero-bg-image {
        aspect-ratio: 2 / 2.5;
    } */
    .hero-content {
        padding: 0 20px;
    }
}

@media (min-width: 769px) {
    .heroblock-title {
        font-size: 35px;
    }

    .hero-content-right_title {
        font-size: 40px;
    }

    .hero-content-suptitle {
        font-size: 43px;
    }

    .hero-left-title-svg {
        margin: 0;
        width: 60%;
    }

    .hero-icon-wrapper {
        top: auto;
        /* transform: rotate(20deg); */
        bottom: 50px;
    }

    .hero-content {
        text-align: left;
        top: 0;
        bottom: auto;
        left: auto;
        padding: 0 0 0 50px;
        left: calc((100vw - 1500px) / 2);
        width: auto;
        transform: none;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        left: auto;
    }

    .not-home .hero-content {
        padding-bottom: 60px;
    }

    .not-home .hero-inner-black-content {
        padding-bottom: 76px;
    }

    .flx_hero.not-home .hero-content {
        justify-content: flex-end;
    }

    .hero-content-title {
        margin-bottom: 24px;
        margin-top: 0;
    }

    .heroblock-btn {
        margin-top: 80px;
        font-size: 18px;
    }

    .hero-content .heroblock-btn {
        margin-top: 64px;
        max-width: 281px;
        text-align: center;
    }

    .hero-content-text {
        margin-bottom: 0;
        font-size: 20px;
    }

    .hero-content-text .bold {
        font-size: 20px;
    }

    .hero-bg-image {
        aspect-ratio: 16 / 8;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}


@media (min-width: 998px) {
    .hero-content-text .bold {
        margin-bottom: 24px;
    }

    .hero-content-text,
    .hero-content-text .bold {
        font-size: 24px;
    }

    .hero-block-simple .hero-content-text,
    .hero-block-simple .hero-content-text .bold {
        font-size: 22px;
        line-height: 1.2;
        font-weight: 500;
    }


    .hero-icon-wrapper {
        right: 180px;
        width: 157px;
        bottom: 150px;
    }

    .hero-block-container {
        grid-template-columns: 2fr 1.5fr;
        display: grid;
        /*aspect-ratio: 16 / 8;*/
        height: calc(100vh - 85px);
    }

    .hero-inner-black .heroblock-btn {
        margin-top: 50px;
    }
}

@media (min-width: 1280px) {
    .hero-block-container {
        grid-template-columns: 2fr 1fr;

    }

    .hero-inner-black .heroblock-btn {
        margin-top: 50px;
    }

    .hero-content-suptitle {
        font-size: 60px;
        line-height: 60px;
    }

    .hero-content-title,
    .hero-content-title .bold {
        font-size: 60px;
        line-height: 60px;
    }

    .hero-left-title-svg {
        width: 85%;
    }

    .heroblock-title {
        font-size: 48px;
        line-height: 1;
    }
    .hero-block-simple .heroblock-title {
        font-size: 38px;
    }
    .hero-block-simple .hero-content-title{
        font-size: 56px;
    }

}

@media (min-width: 1490px) {
    .hero-inner-black-content {
        padding: 2.5rem;
    }
}

@media (min-width: 1500px) {
    .hero-content {
        left: calc((100vw - 1500px) / 2);
        padding-left: 70px;
    }
}