.rwb-hero {
    position: relative;
    min-height: 845rem;
    color: #ffffff;
    background: var(--rwb-hero-background, #0d4c82);
    overflow: hidden;
    isolation: isolate;
}

.rwb-hero__background,
.rwb-hero__background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rwb-hero__background {
    z-index: -2;
}

.rwb-hero__background-image {
    object-fit: cover;
    object-position: center center;
}

.rwb-hero__mobile-shade {
    display: none;
}

.rwb-hero__inner {
    position: relative;
    z-index: 1;
    width: 1480rem;
    min-height: 845rem;
    margin: 0 auto;
    padding-top: var(--rwb-hero-padding-top, 177rem);
    padding-bottom: var(--rwb-hero-padding-bottom, 258rem);
}

.rwb-hero__content {
    width: 829rem;
}

.rwb-hero__title {
    width: 829rem;
    margin: 0;
    color: #ffffff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 42rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
}

.rwb-hero__text {
    width: 528rem;
    margin-top: 40rem;
    color: #ffffff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 22rem;
    font-weight: 400;
    line-height: 1.4;
}

.rwb-hero__actions {
    display: flex;
    align-items: center;
    gap: 25rem;
    margin-top: 40rem;
}

.rwb-hero__button {
    display: inline-flex;
    min-height: 64rem;
    padding: 18rem 40rem;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13rem;
    font-weight: 600;
    line-height: 28rem;
    letter-spacing: 1.3rem;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    transition: filter .2s ease, background-color .2s ease, color .2s ease;
}

.rwb-hero__button--primary {
    background: linear-gradient(180deg, #faa027 0%, #fc7e29 100%);
}

.rwb-hero__button--secondary {
    border: 2rem solid #ffffff;
    background: rgba(0, 0, 0, 0.08);
}

.rwb-hero__button:hover,
.rwb-hero__button:focus-visible {
    filter: brightness(1.08);
}

.rwb-hero__button:focus-visible {
    outline: 3rem solid rgba(255, 255, 255, 0.72);
    outline-offset: 4rem;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .rwb-hero {
        min-height: 720rem;
    }

    .rwb-hero__inner {
        width: 1120rem;
        min-height: 720rem;
        padding-top: 120rem;
        padding-bottom: 120rem;
    }

    .rwb-hero__content,
    .rwb-hero__title {
        width: 720rem;
    }

    .rwb-hero__title {
        font-size: 38rem;
    }

    .rwb-hero__text {
        width: 520rem;
        font-size: 20rem;
    }
}

@media (max-width: 767px) {
    .rwb-hero {
        min-height: 0;
    }

    .rwb-hero__background-image {
        object-position: 66% center;
    }

    .rwb-hero__mobile-shade {
        position: absolute;
        inset: 0;
        z-index: -1;
        display: block;
        background: linear-gradient(90deg, rgba(5, 42, 76, 0.94) 0%, rgba(5, 42, 76, 0.78) 56%, rgba(5, 42, 76, 0.30) 100%);
        pointer-events: none;
    }

    .rwb-hero__inner {
        display: flex;
        width: 100%;
        min-height: 0;
        padding: 72rem 20rem 76rem;
        align-items: flex-start;
    }

    .rwb-hero__content,
    .rwb-hero__title,
    .rwb-hero__text {
        width: 100%;
    }

    .rwb-hero__title {
        font-size: 24rem;
        line-height: 1.16;
    }

    .rwb-hero__text {
        margin-top: 26rem;
        font-size: 18rem;
        line-height: 1.42;
    }

    .rwb-hero__actions {
        width: 100%;
        margin-top: 34rem;
        flex-direction: column;
        align-items: stretch;
        gap: 12rem;
    }

    .rwb-hero__button {
        width: 100%;
        min-height: 56rem;
        padding: 13rem 18rem;
        font-size: 12rem;
        line-height: 24rem;
        letter-spacing: 1.2rem;
        white-space: normal;
    }
}
