/* Student imagery shared by the four academic department landing pages. */
.department-photo-hero {
    isolation: isolate;
}

.department-photo-hero .department-hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    width: 55%;
    overflow: hidden;
}

.department-photo-hero .department-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.department-photo-hero .department-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #021a36 0%, rgba(2, 26, 54, .75) 18%, rgba(2, 26, 54, .08) 75%);
}

.department-photo-hero > .container,
.department-photo-hero .shs-hero-inner,
.department-photo-hero .ted-hero-inner {
    position: relative;
    z-index: 2;
}

.department-photo-hero :is(.jhs-hero-content, .college-hero-content),
.department-photo-hero :is(.shs-hero-inner, .ted-hero-inner) > :is(h1, p) {
    max-width: min(58%, 740px);
}

.department-photo-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.04;
}

@media (max-width: 800px) {
    .department-photo-hero .department-hero-photo {
        width: 100%;
    }

    .department-photo-hero .department-hero-photo::after {
        background: linear-gradient(90deg, rgba(2, 26, 54, .94), rgba(2, 26, 54, .72));
    }

    .department-photo-hero :is(.jhs-hero-content, .college-hero-content),
    .department-photo-hero :is(.shs-hero-inner, .ted-hero-inner) > :is(h1, p) {
        max-width: 100%;
    }
}
