/* Shared PEN banner: retain the approved picture and blue fade. */
.hero {
    background-color: #0B3D91;
    background-size: 100% 100%, 100% auto;
    background-position: center top;
    min-height: calc(100vw * 603 / 1983);
    padding: 90px 20px 80px;
}

/* Homepage search sits level with the professionals' chests. */
.hero:has(#heroJobSearch) {
    padding-bottom: 40px;
}

#heroJobSearch {
    margin-top: clamp(40px, 4.3vw, 82px);
}

.pen-advertising-banner {
    display: flex;
    align-items: center;
}

.pen-advertising-banner h1 {
    margin-bottom: 16px;
}

.pen-advertising-banner p {
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .hero {
        padding: calc(100vw * 603 / 1983 + 28px) 20px 48px;
    }

    .hero:has(#heroJobSearch) {
        padding-bottom: 48px;
    }

    #heroJobSearch {
        margin-top: 0;
    }
}
