/* Home-page recruitment links; the existing website layout stays the foundation. */
.mfn-main-slider { position: relative; }
.careers-card {
    --careers-right-edge: clamp(32px, 4.84vw, 60px);
    position: absolute;
    z-index: 20;
    right: var(--careers-right-edge);
    bottom: 120px;
    width: 460px;
    box-sizing: border-box;
    padding: 20px 36px;
    border-radius: 0;
    background: rgba(255, 255, 255, .90);
    color: #333;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}
.careers-card .careers-card__title {
    margin: 0 0 8px;
    color: #f59c00;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}
.careers-card .careers-card__text { margin: 0 0 12px; font-size: 18px; line-height: 1.4; }
.careers-card .careers-card__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}
.careers-card .careers-card__link-label { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.careers-card .careers-card__arrow {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f59c00;
    color: #fff;
}
.careers-card__arrow svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.careers-card .careers-card__link:hover { color: #875000; text-decoration: none; }
.careers-card .careers-card__link:focus-visible { outline: 3px solid #f59c00; outline-offset: 4px; }
.careers-ticker { display: none; }
@keyframes careers-run { to { transform: translateX(-50%); } }
@media (min-width: 768px) and (max-width: 1239px), (min-width: 1240px) and (max-height: 850px) {
    .careers-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(460px, calc(100% - 48px));
        margin: -40px var(--careers-right-edge) 32px auto;
    }
}
@media (max-width: 767px) {
    .careers-card { display: none; }
    .careers-ticker {
        display: block;
        overflow: hidden;
        position: relative;
        background: #f59c00;
        color: #fff;
        padding: 24px 0;
        font-family: Roboto, Arial, sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.5;
        text-decoration: none;
    }
    .careers-ticker:hover, .careers-ticker:focus { color: #fff; text-decoration: none; }
    .careers-ticker__track { display: flex; width: max-content; animation: careers-run 18s linear infinite; }
    .careers-ticker__item { display: flex; align-items: center; gap: 24px; flex-shrink: 0; padding-right: 48px; white-space: nowrap; }
    .careers-ticker__link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
    .careers-ticker:hover .careers-ticker__track,
    .careers-ticker:focus-visible .careers-ticker__track { animation-play-state: paused; }
    .careers-ticker:focus-visible { outline: 3px solid #102c3b; outline-offset: -6px; }
}
.careers-job { max-width: 1050px; }
.careers-job__facts { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 36px 0; padding: 28px; background: #eef7fc; }
.careers-job__facts div { min-width: 180px; }
.careers-job__facts dt { font-weight: 700; color: #226b92; }
.careers-job__facts dd { margin: 6px 0 0; }
.careers-job__section { margin-top: 40px; }
.careers-job__section ul { list-style: disc; margin-left: 24px; color: #333; }
.careers-job__section li { padding-left: 5px; margin-bottom: 12px; }
.careers-job__contact { margin-top: 48px; padding: 32px; border-left: 5px solid #f59c00; background: #eef7fc; }
.careers-job__contact a { text-decoration: underline; text-underline-offset: 3px; }
.careers-job__contact p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .careers-job__facts { gap: 24px; padding: 24px; }
    .careers-job__contact { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .careers-ticker__track { animation: none; }
    .careers-ticker__track { width: 100%; }
    .careers-ticker__item { display: block; white-space: normal; padding: 0 24px; text-align: center; }
    .careers-ticker__item[aria-hidden="true"] { display: none; }
    .careers-ticker__link { display: block; margin-top: 8px; }
}
