.careers-page {
    background: #ffffff;
}

.careers-main {
    padding: 72px 0 80px;
    background: #ffffff;
}

.careers-title {
    color: #000000;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.job-list {
    display: grid;
    gap: 40px;
    margin-top: 70px;
}

.job-item {
    overflow: hidden;
    background: #f6f8fe;
    border: 1px solid rgba(34, 82, 170, 0.04);
    border-radius: 16px;
}

.job-heading {
    margin: 0;
}

.job-toggle {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    width: 100%;
    min-height: 126px;
    padding: 28px 54px;
    color: #000000;
    background: #f1f4fd;
    border: 0;
    text-align: left;
}

.job-toggle:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(0, 82, 255, 0.45);
    outline-offset: -3px;
}

.job-toggle__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #0052ff;
    transition: transform 240ms ease;
}

.job-toggle__chevron svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.job-item:not(.is-open) .job-toggle__chevron {
    transform: rotate(180deg);
}

.job-toggle__title {
    min-width: 0;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
}

.job-toggle__location {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    white-space: nowrap;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
}

.job-toggle__location svg {
    width: 38px;
    height: 38px;
    fill: #4b8dff;
}

.job-toggle__location circle {
    fill: #ffffff;
}

.job-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 300ms ease, opacity 220ms ease, visibility 0s linear 300ms;
}

.job-item.is-open .job-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows 300ms ease, opacity 220ms ease 60ms, visibility 0s linear 0s;
}

.job-panel__inner {
    min-height: 0;
    overflow: hidden;
}

.job-content {
    display: grid;
    gap: 62px;
    padding: 58px 160px 82px;
    color: #4b5563;
}

.job-content__section h4 {
    color: #0052ff;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
}

.job-content__section ul {
    display: grid;
    gap: 7px;
    margin-top: 34px;
    padding-left: 22px;
}

.job-content__section li {
    position: relative;
    color: #4B5563;
    font-size: 1.25rem;
    line-height: 1.55;
    list-style: disc;
}

.job-content__section .job-content__list--plain {
    padding-left: 0;
}

.job-content__list--plain li {
    list-style: none;
}

@media (max-width: 960px) {
    .careers-main {
        padding: 54px 0 64px;
    }

    .job-list {
        gap: 28px;
        margin-top: 48px;
    }

    .job-toggle {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 24px;
        min-height: 96px;
        padding: 24px 32px;
    }

    .job-toggle__chevron {
        width: 30px;
        height: 30px;
    }

    .job-toggle__title,
    .job-toggle__location {
        font-size: 1.125rem;
    }

    .job-toggle__location {
        gap: 12px;
    }

    .job-toggle__location svg {
        width: 30px;
        height: 30px;
    }

    .job-content {
        gap: 44px;
        padding: 44px 72px 56px;
    }
}

@media (max-width: 640px) {
    .careers-main {
        padding: 38px 0 48px;
    }

    .careers-title {
        font-size: 1.75rem;
    }

    .job-list {
        gap: 18px;
        margin-top: 32px;
    }

    .job-item {
        border-radius: 12px;
    }

    .job-toggle {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 76px;
        padding: 18px 14px;
    }

    .job-toggle__chevron {
        width: 24px;
        height: 24px;
    }

    .job-toggle__title {
        font-size: 0.875rem;
    }

    .job-toggle__location {
        gap: 6px;
        font-size: 0.75rem;
    }

    .job-toggle__location svg {
        width: 24px;
        height: 24px;
    }

    .job-content {
        gap: 32px;
        padding: 30px 20px 36px;
    }

    .job-content__section h4 {
        font-size: 1.0625rem;
    }

    .job-content__section ul {
        gap: 6px;
        margin-top: 20px;
        padding-left: 18px;
    }

    .job-content__section li {
        font-size: 0.8125rem;
        line-height: 1.55;
    }
}

@media (max-width: 390px) {
    .job-toggle__title {
        font-size: 0.8125rem;
    }

    .job-toggle__location span {
        max-width: 58px;
        white-space: normal;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .job-panel,
    .job-item.is-open .job-panel,
    .job-toggle__chevron {
        transition: none;
    }
}
