/* ------------------------------------------------------------ CAREER PAGE
   Styles for layouts/career-page.htm. Scoped to .cr-* so nothing here can
   reach the rest of the theme. Section backgrounds reuse the site's own
   section--* classes. */

.career main { overflow: hidden; }

/* ---------------------------------------------------------------- HERO */
.cr-hero {
    padding: 96px 24px 88px;
    text-align: center;
}

.cr-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.cr-hero__eyebrow {
    margin: 0 0 14px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--njorka-light-blue, #56c9f4);
}

.cr-hero__title {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1.15;
}

.cr-hero__lead {
    margin: 20px auto 0;
    max-width: 640px;
    font-size: 1.15rem;
    line-height: 1.65;
    opacity: .88;
}

/* ---------------------------------------------------------------- ROLE */
.cr-role { padding: 80px 24px; }

.cr-role__inner {
    max-width: 780px;
    margin: 0 auto;
}

/* The rule doubles as the marker for the one open role, so the page reads as
   a list even with a single entry. */
.cr-role__head {
    padding-left: 20px;
    border-left: 3px solid var(--njorka-light-blue, #56c9f4);
}

.cr-role__title {
    margin: 0;
    font-size: clamp(1.6rem, 3.4vw, 2.1rem);
    line-height: 1.25;
}

.cr-role__meta {
    margin: 8px 0 0;
    font-size: .95rem;
    color: #6b7885;
}

.cr-role__intro {
    margin: 28px 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
}

.cr-tasks { margin: 36px 0 0; }

.cr-tasks__title {
    margin: 0 0 16px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6b7885;
}

.cr-tasks__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cr-tasks__list li {
    position: relative;
    padding: 12px 0 12px 34px;
    border-top: 1px solid var(--njorka-light-gray, #e0e1e1);
    font-size: 1.02rem;
    line-height: 1.6;
}

.cr-tasks__list li:last-child { border-bottom: 1px solid var(--njorka-light-gray, #e0e1e1); }

/* A small triangle instead of a bullet, echoing the hero constellation. */
.cr-tasks__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 21px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--njorka-light-blue, #56c9f4);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* --------------------------------------------------- EXPECT AND OFFER */
.cr-cards { padding: 72px 24px; }

.cr-cards__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.cr-card {
    padding: 32px;
    background: var(--njorka-white, #fff);
    border-top: 3px solid var(--njorka-light-gray, #e0e1e1);
}

.cr-card--accent { border-top-color: var(--njorka-light-blue, #56c9f4); }

.cr-card__title {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.cr-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #46586c;
}

.cr-card p + .cr-card__list { margin-top: 16px; }

.cr-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cr-card__list li {
    position: relative;
    padding: 10px 0 10px 26px;
    font-size: 1rem;
    line-height: 1.6;
    color: #46586c;
}

.cr-card__list li + li { border-top: 1px solid var(--njorka-light-gray, #e0e1e1); }

/* The same triangle marker as the task list above. */
.cr-card__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 18px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--njorka-light-blue, #56c9f4);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* --------------------------------------------------------------- APPLY */
.cr-apply {
    padding: 76px 24px;
    text-align: center;
}

.cr-apply__inner {
    max-width: 640px;
    margin: 0 auto;
}

.cr-apply__title {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.cr-apply__text {
    margin: 0 0 32px;
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: .88;
}

.cr-apply__button {
    display: inline-block;
    padding: 16px 34px;
    background: var(--njorka-light-blue, #56c9f4);
    color: var(--njorka-dark-blue, #0e2032);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s ease, transform .3s ease;
}

.cr-apply__button:hover,
.cr-apply__button:focus-visible {
    background: var(--njorka-white, #fff);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .cr-apply__button { transition: none; }
}

@media (max-width: 700px) {
    .cr-hero { padding: 64px 20px 56px; }
    .cr-role { padding: 56px 20px; }
    .cr-cards { padding: 48px 20px; }
    .cr-apply { padding: 56px 20px; }
    .cr-card { padding: 26px; }
}
