.careers-hero { position: relative; min-height: 590px; display: flex; align-items: flex-end; background: linear-gradient(90deg, rgba(3,24,42,.96), rgba(8,44,75,.58)), url("../img/road_bkgd2b.jpg") center/cover; }
.careers-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: #ee212b; }
.careers-hero__content { position: relative; z-index: 1; max-width: 990px; padding-top: 125px; padding-bottom: 82px; color: #fff; }
.careers-hero h1 { margin: 12px 0 20px; color: #fff; font-size: clamp(2.7rem, 6vw, 5.3rem); line-height: 1.01; }
.careers-hero__content > p { max-width: 790px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.3rem; line-height: 1.75; }
.careers-breadcrumbs { display: flex; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; color: rgba(255,255,255,.72); }
.careers-breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.45); }
.careers-breadcrumbs a { color: #fff; }
.careers-breadcrumbs a:hover { color: #ff6269; }
.careers-eyebrow { color: #ee212b; font-size: 1.78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.careers-hero .careers-eyebrow { color: #ff6269; }

.careers-openings { padding: 100px 0 115px; background: #f8f6f2; }
.careers-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .78fr); align-items: end; gap: 72px; margin-bottom: 66px; }
.careers-intro h2 { max-width: 720px; margin: 9px 0 0; color: #082c4b; font-size: clamp(2.15rem, 4vw, 3.6rem); line-height: 1.1; }
.careers-intro > div:last-child > p { margin: 0 0 18px; color: #5d6b75; font-size: 1.3rem; line-height: 1.8; }
.careers-count { color: #7a858d; font-size: 1.1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.careers-count strong { color: #ee212b; font-size: 1.3rem; }
.careers-list { display: flex; flex-direction: column; gap: 30px; }

.opening-row { box-sizing: border-box; display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); min-height: 330px; overflow: hidden; border: 1px solid transparent; border-radius: 5px; background: #fff; box-shadow: 0 12px 35px rgba(10,38,61,.08); transition: border-color .4s ease, box-shadow .4s ease; }
.opening-row:hover { border-color: rgba(238,33,43,.2); box-shadow: 0 18px 44px rgba(10,38,61,.14); }
.opening-row__image { position: relative; display: block; min-height: 330px; overflow: hidden; background: #dce3e8; }
.opening-row__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,28,49,.7), transparent 62%); opacity: .65; transition: opacity 1s ease; }
.opening-row__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.25s cubic-bezier(.2,.75,.25,1), filter .9s ease; will-change: transform; }
.opening-row:hover .opening-row__image img { transform: scale(1.06); filter: saturate(1.05) contrast(1.02); }
.opening-row:hover .opening-row__image::after { opacity: .94; }
.opening-row__image span { position: absolute; z-index: 1; right: 24px; bottom: 20px; color: #fff; font-size: 2.5rem; font-weight: 800; }
.opening-row__content { display: flex; flex-direction: column; justify-content: center; padding: 42px 50px; }
.opening-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; color: #7a858d; font-size: 1.1rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.opening-row__meta > span { padding: 6px 10px; border-radius: 2px; background: #fce8e9; color: #c91e27; }
.opening-row h3 { margin: 0 0 15px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.2; }
.opening-row h3 a { color: #082c4b; }
.opening-row h3 a:hover { color: #ee212b; }
.opening-row__content > p { margin: 0; color: #64717a; font-size: 1.3rem; line-height: 1.75; }
.opening-row__link { display: inline-flex; align-items: center; gap: 11px; align-self: flex-start; margin-top: 25px; color: #082c4b; font-weight: 800; }
.opening-row__link:hover { color: #ee212b; }

.opening-row:nth-child(even) { background: #082c4b; }
.opening-row:nth-child(even) .opening-row__image { order: 2; }
.opening-row:nth-child(even) h3 a, .opening-row:nth-child(even) .opening-row__link { color: #fff; }
.opening-row:nth-child(even) h3 a:hover, .opening-row:nth-child(even) .opening-row__link:hover { color: #ff6269; }
.opening-row:nth-child(even) .opening-row__content > p, .opening-row:nth-child(even) .opening-row__meta { color: rgba(255,255,255,.7); }
.opening-row:nth-child(even) .opening-row__meta > span { background: rgba(238,33,43,.18); color: #ff777d; }

.careers-empty { padding: 65px 35px; border-radius: 5px; background: #fff; text-align: center; box-shadow: 0 12px 35px rgba(10,38,61,.08); }
.careers-empty > i { color: #ee212b; font-size: 3rem; }
.careers-empty h2 { margin: 20px 0 10px; color: #082c4b; }
.careers-empty a { display: inline-block; margin-top: 14px; padding: 13px 20px; border-radius: 3px; background: #082c4b; color: #fff; font-weight: 800; }

.careers-cta { padding: 75px 0; background: #082c4b; }
.careers-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.careers-cta h2 { margin: 7px 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); }
.careers-cta__inner > a { flex: 0 0 auto; padding: 16px 23px; border-radius: 3px; background: #ee212b; color: #fff; font-weight: 800; }
.careers-cta__inner > a:hover { background: #fff; color: #082c4b; }
.careers-cta__inner > a i { margin-left: 9px; }

@media (max-width: 991px) {
    .careers-hero { min-height: 520px; }
    .careers-intro { grid-template-columns: 1fr; gap: 25px; }
    .opening-row { grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); }
    .opening-row__content { padding: 35px; }
}

@media (max-width: 767px) {
    .opening-row { grid-template-columns: 1fr; }
    .opening-row:nth-child(even) .opening-row__image { order: 0; }
    .opening-row__image { min-height: 245px; }
    .careers-cta__inner { align-items: flex-start; flex-direction: column; }
    .careers-hero__content > p {
        font-size: 2.3rem;
        line-height: 1.5;
    }
    .careers-intro > div:last-child > p, .opening-row__content > p {
        font-size: 2rem;
        line-height: 1.8;
    }
    .careers-count, .opening-row__meta {
        font-size: 1.6rem;
        letter-spacing: .06em;
    }
        .careers-count strong {
            color: #ee212b;
            font-size: 1.8rem;
        }

}

@media (max-width: 575px) {
    .careers-hero__content { padding-top: 95px; padding-bottom: 58px; }
    .careers-openings { padding: 70px 0 78px; }
    .careers-intro { margin-bottom: 45px; }
    .opening-row__content { padding: 30px 25px; }
    .careers-cta { padding: 58px 0; }
}
