.oreilly-page-hero,
.foundation-story__hero,
.foundation-about-story__hero,
.foundation-donate-story__hero,
.foundation-projects-story__hero,
.foundation-involved-story__hero,
.oreilly-contact__hero,
.oreilly-academics__hero,
.oreilly-admissions__hero,
.oreilly-campus-hero {
    margin: 16px;
    overflow: hidden;
    border-radius: 24px;
    isolation: isolate;
}

.rts-breadcrumb.breadcrumb-height.oreilly-page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    width: auto;
    height: clamp(520px, 42vw, 620px);
    min-height: 520px;
    align-items: stretch;
    justify-content: stretch;
    margin: 16px;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #111a3b;
}

.rts-breadcrumb.breadcrumb-height.oreilly-page-hero::before {
    display: none;
}

.oreilly-page-hero .oreilly-page-hero__image,
.oreilly-page-hero .oreilly-page-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.oreilly-page-hero .oreilly-page-hero__image {
    z-index: -2;
    max-width: none;
    object-fit: cover;
    transform: scale(1.002);
}

.oreilly-page-hero .oreilly-page-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 13, 36, .95) 0%, rgba(12, 18, 47, .82) 38%, rgba(12, 18, 47, .28) 70%, rgba(12, 18, 47, .12) 100%),
        linear-gradient(0deg, rgba(8, 13, 36, .42), transparent 52%);
}

.oreilly-page-hero .oreilly-page-hero__inner {
    display: flex;
    width: min(calc(100% - 96px), 1290px);
    max-width: 1290px;
    min-height: 100%;
    align-items: center;
    margin-inline: auto;
    padding: 72px 0;
}

.oreilly-page-hero .oreilly-page-hero__content {
    width: min(760px, 66%);
    color: #fff;
    text-align: left;
}

.oreilly-page-hero .oreilly-page-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    color: #f7b941;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.4;
    text-transform: uppercase;
}

.oreilly-page-hero .oreilly-page-hero__eyebrow::before {
    flex: 0 0 40px;
    width: 40px;
    height: 2px;
    background: currentColor;
    content: "";
}

.oreilly-page-hero .oreilly-page-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.45;
    text-transform: uppercase;
}

.oreilly-page-hero .oreilly-page-hero__breadcrumb a {
    color: #fff;
    transition: color .22s ease;
}

.oreilly-page-hero .oreilly-page-hero__breadcrumb a:hover {
    color: #f7b941;
}

.oreilly-page-hero .oreilly-page-hero__content h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: clamp(5rem, 6.1vw, 8.2rem);
    font-weight: 400;
    letter-spacing: -.052em;
    line-height: .94;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.oreilly-page-hero .oreilly-page-hero__description {
    max-width: 650px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, .79);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.72;
}

.oreilly-page-hero .oreilly-page-hero__action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: color .22s ease;
}

.oreilly-page-hero .oreilly-page-hero__action:hover,
.oreilly-page-hero .oreilly-page-hero__action:focus-visible {
    color: #f7b941;
}

.oreilly-page-hero--right .oreilly-page-hero__shade {
    background:
        linear-gradient(270deg, rgba(8, 13, 36, .95) 0%, rgba(12, 18, 47, .82) 39%, rgba(12, 18, 47, .24) 72%, rgba(12, 18, 47, .08) 100%),
        linear-gradient(0deg, rgba(8, 13, 36, .4), transparent 54%);
}

.oreilly-page-hero--right .oreilly-page-hero__content {
    margin-left: auto;
}

.oreilly-page-hero--center .oreilly-page-hero__shade {
    background: linear-gradient(0deg, rgba(8, 13, 36, .82), rgba(15, 20, 49, .58));
}

.oreilly-page-hero--center .oreilly-page-hero__content {
    width: min(920px, 86%);
    margin-inline: auto;
    text-align: center;
}

.oreilly-page-hero--center .oreilly-page-hero__eyebrow,
.oreilly-page-hero--center .oreilly-page-hero__breadcrumb {
    justify-content: center;
}

.oreilly-page-hero--center .oreilly-page-hero__description {
    margin-inline: auto;
}

.rts-breadcrumb.breadcrumb-height.oreilly-page-hero--detail {
    height: clamp(560px, 45vw, 650px);
}

.oreilly-page-hero--detail .oreilly-page-hero__inner {
    align-items: flex-end;
    padding-bottom: clamp(60px, 7vw, 94px);
}

.oreilly-page-hero--detail .oreilly-page-hero__content {
    width: min(940px, 78%);
}

.oreilly-page-hero--detail .oreilly-page-hero__content h1 {
    font-size: clamp(4.4rem, 5.5vw, 7.4rem);
}

@media (max-width: 1024px) {
    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero,
    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero--detail {
        height: 520px;
        min-height: 520px;
    }

    .oreilly-page-hero .oreilly-page-hero__inner {
        width: min(calc(100% - 64px), 1290px);
    }

    .oreilly-page-hero .oreilly-page-hero__content,
    .oreilly-page-hero--detail .oreilly-page-hero__content {
        width: min(720px, 76%);
    }
}

@media (max-width: 991px) {
    .oreilly-page-hero,
    .foundation-story__hero,
    .foundation-about-story__hero,
    .foundation-donate-story__hero,
    .foundation-projects-story__hero,
    .foundation-involved-story__hero,
    .oreilly-contact__hero,
    .oreilly-academics__hero,
    .oreilly-admissions__hero,
    .oreilly-campus-hero {
        margin: 12px;
        border-radius: 20px;
    }

    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero,
    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero--detail {
        margin: 12px;
        border-radius: 20px;
    }
}

@media (max-width: 767px) {
    .oreilly-page-hero,
    .foundation-story__hero,
    .foundation-about-story__hero,
    .foundation-donate-story__hero,
    .foundation-projects-story__hero,
    .foundation-involved-story__hero,
    .oreilly-contact__hero,
    .oreilly-academics__hero,
    .oreilly-admissions__hero,
    .oreilly-campus-hero {
        margin: 8px;
        border-radius: 16px;
    }

    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero,
    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero--detail {
        height: auto;
        min-height: clamp(410px, 118vw, 490px);
        margin: 8px;
        border-radius: 16px;
    }

    .oreilly-page-hero .oreilly-page-hero__image {
        object-position: center !important;
    }

    .oreilly-page-hero .oreilly-page-hero__shade,
    .oreilly-page-hero--right .oreilly-page-hero__shade,
    .oreilly-page-hero--center .oreilly-page-hero__shade {
        background:
            linear-gradient(90deg, rgba(8, 13, 36, .88), rgba(8, 13, 36, .45)),
            linear-gradient(0deg, rgba(8, 13, 36, .78), rgba(8, 13, 36, .06) 65%);
    }

    .oreilly-page-hero .oreilly-page-hero__inner,
    .oreilly-page-hero--detail .oreilly-page-hero__inner {
        width: calc(100% - 34px);
        align-items: flex-end;
        padding: 52px 0;
    }

    .oreilly-page-hero .oreilly-page-hero__content,
    .oreilly-page-hero--right .oreilly-page-hero__content,
    .oreilly-page-hero--center .oreilly-page-hero__content,
    .oreilly-page-hero--detail .oreilly-page-hero__content {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .oreilly-page-hero--center .oreilly-page-hero__eyebrow,
    .oreilly-page-hero--center .oreilly-page-hero__breadcrumb {
        justify-content: flex-start;
    }

    .oreilly-page-hero .oreilly-page-hero__eyebrow {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .oreilly-page-hero .oreilly-page-hero__breadcrumb {
        margin-bottom: 16px;
        font-size: 10px;
    }

    .oreilly-page-hero .oreilly-page-hero__content h1,
    .oreilly-page-hero--detail .oreilly-page-hero__content h1 {
        font-size: clamp(3.6rem, 11.5vw, 5rem);
        letter-spacing: -.044em;
        line-height: .96;
    }

    .oreilly-page-hero .oreilly-page-hero__description {
        max-width: 570px;
        margin-top: 19px;
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {
    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero,
    .rts-breadcrumb.breadcrumb-height.oreilly-page-hero--detail {
        min-height: 430px;
    }

    .oreilly-page-hero .oreilly-page-hero__inner,
    .oreilly-page-hero--detail .oreilly-page-hero__inner {
        padding-bottom: 39px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .oreilly-page-hero .oreilly-page-hero__breadcrumb a,
    .oreilly-page-hero .oreilly-page-hero__action {
        transition: none;
    }
}
