/* BLOCK: Hero Banner Inner */

.block-hero-banner-inner {
    background-image: linear-gradient(180deg, rgb(from var(--c-secondary) r g b / 0.4) 0%, transparent 100%);
    background-size: 100% 500px;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
}

.block-hero-banner-inner .bg-design-item {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 47.625rem;
    z-index: -1;
}

.block-hero-banner-inner.image-stretch .bg-design-item {
    display: none;
}

.block-hero-banner-inner .content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
}

.block-hero-banner-inner:first-child .content-wrapper {
    padding-top: var(--header-height, 3.125rem);
}

.block-hero-banner-inner .text-wrapper {
    flex-basis: 50%;
    flex-grow: 1;
}

.block-hero-banner-inner .text-content {
    color: #3C3951;
}

.block-hero-banner-inner.is-dark .text-content {
    color: #F1EEFF;
}

.block-hero-banner-inner .text-content:not(:last-child) {
    margin-bottom: 3.5rem; /*should be 3.75 but they asked us to reduce*/
}

.block-hero-banner-inner .text-content > * {
    margin: 0;
}

.block-hero-banner-inner .text-content > :not(:last-child) {
    margin-bottom: 2.3rem; /*should be 2.5, but they asked us to reduce*/
}

.block-hero-banner-inner .text-content :is(h1, h2, h3, .h1, .h2, .h3) {
    color: var(--c-text-dark);
}

.block-hero-banner-inner.is-dark .text-content :is(h1, h2, h3, .h1, .h2, .h3) {
    color: var(--c-text-light);
}

.block-hero-banner-inner .text-content > :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child) {
    margin-bottom: 3.5rem; /*should be 3.75, but they asked us to reduce*/
}

.block-hero-banner-inner .text-content p {
    max-width: 35rem;
}

.block-hero-banner-inner .text-content .h7 {
    color: var(--c-primary) !important;
}

.block-hero-banner-inner.is-dark .text-content .h7 {
    color: var(--c-light-purple) !important;
}

.block-hero-banner-inner .image-wrapper {
    position: relative;
    flex-basis: 50%;
    border-radius: 1.5rem;
    box-shadow: 0px 3.49px 43.59px 0px #070F3033;
}

.block-hero-banner-inner .image-wrapper-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-hero-banner-inner .image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1.5rem;
    box-shadow: 0px 3.49px 43.59px 0px #070F3033;
}

.block-hero-banner-inner.image-stretch .image-wrapper {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

.block-hero-banner-inner.image-stretch .image-wrapper img {
    width: calc(100% + var(--offset, 0px));
    max-width: unset;
    height: calc(100% + var(--pb, 0px));
    max-height: unset;
}

.block-hero-banner-inner .cta-buttons {
    gap: 0.9375rem;
    display: flex;
    flex-wrap: wrap;
}

@media screen and (width <= 620px) {
    .block-hero-banner-inner .content-wrapper {
        flex-direction: column;
        gap: 3.75rem;
    }
    .block-hero-banner-inner .text-content {
        text-align: center;
    }
    .block-hero-banner-inner .text-content:not(:last-child) {
        margin-bottom: 3.125rem;
    }
    .block-hero-banner-inner .text-content > :not(:last-child) {
        margin-bottom: 1.875rem;
    }
    .block-hero-banner-inner .text-content > :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child) {
        margin-bottom: 3.125rem;
    }
    .block-hero-banner-inner .image-wrapper {
        aspect-ratio: 1.68;
        border-radius: 1.5rem;
    }
    .block-hero-banner-inner .cta-buttons {
        justify-content: center;
    }
    .block-hero-banner-inner .bg-design-item {
        right: unset;
        left: 0;
        width: 130%;
    }
}