.sp-research-hero {
    --sp-primary: var(--e-global-color-primary, #0b55cf);
    --sp-text: var(--e-global-color-text, #102044);
    --sp-background: var(--e-global-color-background, #edf6ff);
    position: relative;
    display: flex;
    width: 100%;
    min-height: 680px;
    overflow: hidden;
    box-sizing: border-box;
    color: var(--sp-text);
    background-color: var(--sp-background);
    background-image: url('../hero-default.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sp-research-hero,
.sp-research-hero * {
    box-sizing: border-box;
}

.sp-research-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.12);
    content: '';
    pointer-events: none;
}

/* The supplied reference image includes its sample copy. Fade that baked-in copy
 * beneath the editable widget content while keeping the laboratory image visible. */
.sp-research-hero::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(237, 246, 255, 1) 0%,
        rgba(237, 246, 255, 1) 62%,
        rgba(237, 246, 255, 0.9) 72%,
        rgba(237, 246, 255, 0) 88%
    );
    background: linear-gradient(
        90deg,
        var(--sp-background) 0%,
        var(--sp-background) 62%,
        color-mix(in srgb, var(--sp-background) 90%, transparent) 72%,
        transparent 88%
    );
    content: '';
    pointer-events: none;
}

.sp-research-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: calc(100% - 48px);
    max-width: 1260px;
    min-height: inherit;
    margin: 0 auto;
}

.sp-research-hero__content {
    width: 53%;
    max-width: 53%;
    text-align: left;
}

.sp-research-hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    margin-bottom: 30px;
    color: var(--sp-primary);
    font-family: var(--e-global-typography-secondary-font-family, inherit);
    font-size: var(--e-global-typography-secondary-font-size, 16px);
    font-weight: var(--e-global-typography-secondary-font-weight, 500);
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.sp-research-hero__eyebrow-rule {
    display: inline-block;
    width: 45px;
    height: 4px;
    flex: 0 0 45px;
    background: var(--sp-primary);
}

.sp-research-hero__heading {
    max-width: 850px;
    margin: 0;
    color: var(--sp-text);
    font-family: var(--e-global-typography-primary-font-family, Georgia, serif);
    font-size: clamp(3.4rem, 5.5vw, 6.1rem);
    font-weight: var(--e-global-typography-primary-font-weight, 500);
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.sp-research-hero__heading-line {
    display: block;
}

.sp-research-hero__accent {
    color: var(--sp-primary);
    font-style: italic;
}

.sp-research-hero__body {
    max-width: 680px;
    margin-top: 42px;
    color: var(--sp-text);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, 1.18rem);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    line-height: 1.6;
}

.sp-research-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 38px;
}

.sp-research-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    padding: 17px 34px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--sp-primary);
    font-family: var(--e-global-typography-accent-font-family, inherit);
    font-size: var(--e-global-typography-accent-font-size, 1rem);
    font-weight: var(--e-global-typography-accent-font-weight, 700);
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.sp-research-hero__button:hover,
.sp-research-hero__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 85, 207, 0.18);
}

.sp-research-hero__button--primary {
    background-color: var(--sp-primary);
    color: var(--e-global-color-light, #fff);
}

.sp-research-hero__button--secondary {
    border-color: var(--sp-primary);
    color: var(--sp-primary);
    background-color: rgba(255, 255, 255, 0.86);
}

.sp-research-hero__button-arrow {
    font-size: 1.25em;
    line-height: 1;
}

@media (max-width: 1024px) {
    .sp-research-hero__inner {
        width: calc(100% - 48px);
    }

    .sp-research-hero__heading {
        font-size: clamp(3rem, 7vw, 5rem);
    }
}

@media (max-width: 767px) {
    .sp-research-hero {
        min-height: 680px;
        background-position: 63% center;
    }

    .sp-research-hero__inner {
        width: calc(100% - 40px);
    }

    .sp-research-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .sp-research-hero__eyebrow {
        gap: 12px;
        margin-bottom: 24px;
        font-size: 12px;
    }

    .sp-research-hero__eyebrow-rule {
        width: 30px;
        flex-basis: 30px;
    }

    .sp-research-hero__heading {
        font-size: clamp(2.8rem, 13vw, 4.7rem);
    }

    .sp-research-hero__body {
        margin-top: 28px;
        font-size: 1rem;
    }

    .sp-research-hero__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 30px;
    }

    .sp-research-hero__button {
        width: 100%;
    }
}
