.hero-section,
.page-hero,
.job-detail-hero {
    background: var(--soft);
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.job-detail-hero.has-background-image {
    background-image:
        linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .62)),
        var(--job-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--brand-white);
}

.job-detail-hero.has-background-image h1,
.job-detail-hero.has-background-image .back-link {
    color: var(--brand-white);
}

.job-detail-hero.has-background-image .eyebrow {
    color: var(--brand-yellow);
}

.video-hero {
    align-items: center;
    background: var(--brand-black);
    display: flex;
    min-height: calc(100vh - 86px);
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
}

.hero-video,
.hero-video-overlay {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.hero-video {
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    background: rgba(0, 0, 0, .58);
    z-index: 1;
}

.hero-content {
    color: var(--brand-white);
    max-width: 980px;
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    color: var(--brand-white);
    margin-bottom: 1.6rem;
}

.hero-content .eyebrow {
    color: var(--brand-yellow);
}

.hero-search {
    margin: 0 auto;
    max-width: 820px;
    text-align: center;
}

.hero-search .job-search-panel .form-label {
    color: var(--brand-white);
}

.hero-search .job-search-status {
    color: rgba(255, 255, 255, .86);
}

.page-hero-centered {
    text-align: center;
}

.brand-visual {
    align-items: center;
    aspect-ratio: 1;
    background: var(--brand-white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .12);
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 7vw, 4rem);
}

.brand-visual img {
    display: block;
    max-width: min(100%, 320px);
}
