.hero {
    display: flex;
    flex-direction: column;
}

.hero-container {
    display: flex;
    min-height: 665px;
    max-height: 800px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    flex: 60%;
}

.hero .content__text {
    flex-grow: 2;
    padding: 50px 50px 50px 25px;
}

.hero .content__text-inner {
    max-width: 75%;
}

.hero .text__title {
    margin-bottom: 15px;
}

.hero .text__title :only-child {
    font-style: normal;
    font-weight: 700;
    font-size: 85px;
    line-height: 100%;
    margin-bottom: 0px;
    color: var(--color-white);
}

.hero .text__description {
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 130%;
    color: var(--color-white);
}

.hero .text__buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    align-items: center;
}

.text__social img {
    width: 50px;
    height: 50px;
}

.hero .text__button {
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 135%;
}

.hero .text__button button {
    box-sizing: border-box;
    padding: 15px 25px;
    border-radius: 50px;
    background: transparent;
    font-size: 15px;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.hero .content__links-title {
    margin-top: 15px;
    margin-left: 25px;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 130%;
}

.hero .content__links-title--mobile {
    display: none;
}

.hero .content__links {
    display: flex;
    gap: 25px;
    padding: 25px 25px 0px 25px;
}

.hero .content__links--mobile {
    display: none;
}

.hero .link__item {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;
    gap: 25px;
    padding-bottom: 25px;
}

.hero .item__content {
    flex: 1;
}

.hero .link__item a {
    text-decoration: none !important;
    color: var(--color-grey-100);
}

.hero .content__title {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 130%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero .content__description {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    margin-top: 10px;
}

.hero .content__subtitle {
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 110%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 10px;
}

.hero .item__image-wrap {
    flex: 1;
}

.hero .item__image {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: cover;
}

.hero__image-wrap {
    max-width: 40%;
    background-color: var(--color-grey-25);
}

.hero__image,
.block-editor__container img.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media only screen and (max-width: 1200px) {
    .hero-container {
        flex-wrap: wrap;
        max-height: unset;
        margin-bottom: 50px;
    }

    .hero .content__text {
        padding: 50px 50px 40px 15px;
    }

    .hero .content__text-inner {
        max-width: 100%;
    }

    .hero .text__title :only-child {
        font-size: 40px;
        line-height: 120%;
    }

    .hero .text__description {
        font-size: 18px;
        line-height: 150%;
    }

    .hero .content__links-title {
        display: none;
    }

    .hero .content__links-title--mobile {
        margin-top: 15px;
        margin-left: 15px;
        font-style: normal;
        font-weight: 700;
        font-size: 15px;
        line-height: 130%;
        display: flex;
        width: 100%;
    }

    .hero .content__links {
        display: none;
    }

    .hero .content__links--mobile {
        height: auto;
        display: flex;
        gap: 25px;
        flex-flow: column wrap;
        padding: 15px 15px 0px;
        width: 100%;
    }

    .hero .content__links--mobile .link__item {
        min-width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .hero-container {
        flex-direction: column !important; /* Needed to overwrite image alignment setting */
        height: auto;
        margin-bottom: 35px;
        min-height: unset;
        max-height: unset;
    }
    .hero__image-wrap {
        max-width: unset;
        width: 100%;
    }

    .hero__image {
        max-height: 600px;
    }
}

@media only screen and (max-width: 480px) {
    .hero__image {
        max-height: 400px;
    }
}
