.cbc-career-detail {
    min-height: 100vh;
    background: #fff;
    color: #06477c;
    font-family: "CBC Josefin Sans", "Josefin Sans", Arial, sans-serif;
}

.cbc-career-detail__hero {
    display: flex;
    min-height: 690px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 160px 40px 52px;
    box-sizing: border-box;
}

.cbc-career-detail__hero h1 {
    max-width: 1220px;
    margin: 0;
    color: #06477c;
    font-size: clamp(82px, 12vw, 142px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: 0;
    text-align: center;
}

.cbc-career-detail__apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 286px;
    min-height: 72px;
    margin-top: 84px;
    border-radius: 10px;
    background: #06477c;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.cbc-career-detail__content {
    width: min(1260px, calc(100% - 160px));
    margin: 0 auto 92px;
    color: #06477c;
}

.cbc-career-detail__content section {
    margin-bottom: 34px;
}

.cbc-career-detail__content h2 {
    margin: 0 0 24px;
    color: #06477c;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.cbc-career-detail__content p,
.cbc-career-detail__content li {
    color: #06477c;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0;
}

.cbc-career-detail__content p {
    margin: 0 0 8px;
}

.cbc-career-detail__content ul {
    margin: 0;
    padding-left: 22px;
}

.cbc-apply-open {
    overflow: hidden;
}

.cbc-apply-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cbc-apply-modal.is-open {
    display: flex;
}

.cbc-apply-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 28, 50, .54);
}

.cbc-apply-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    box-sizing: border-box;
    padding: 42px;
    background: #fff;
    color: #06477c;
    box-shadow: 0 24px 80px rgba(6, 71, 124, .18);
}

.cbc-apply-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cbc-apply-modal__close::before,
.cbc-apply-modal__close::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 7px;
    width: 20px;
    height: 2px;
    background: #06477c;
}

.cbc-apply-modal__close::before {
    transform: rotate(45deg);
}

.cbc-apply-modal__close::after {
    transform: rotate(-45deg);
}

.cbc-apply-modal h2 {
    margin: 0;
    color: #06477c;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.cbc-apply-modal p {
    margin: 10px 0 28px;
    color: #06477c;
    font-size: 15px;
    font-weight: 800;
}

.cbc-apply-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cbc-apply-modal label {
    display: block;
}

.cbc-apply-modal label span {
    display: block;
    margin-bottom: 8px;
    color: #06477c;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbc-apply-modal input,
.cbc-apply-modal textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(6, 71, 124, .34);
    outline: 0;
    padding: 13px 14px;
    color: #06477c;
    font: 700 14px/1.4 Arial, sans-serif;
}

.cbc-apply-modal input:focus,
.cbc-apply-modal textarea:focus {
    border-color: #06477c;
}

.cbc-apply-modal__full {
    grid-column: 1 / -1;
}

.cbc-apply-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 54px;
    margin-top: 24px;
    border: 0;
    border-radius: 8px;
    background: #06477c;
    color: #fff;
    font: 800 16px/1 "CBC Josefin Sans", Arial, sans-serif;
    cursor: pointer;
}

@media (max-width: 991px) {
    .cbc-career-detail__hero {
        min-height: 560px;
        padding: 140px 24px 44px;
    }

    .cbc-career-detail__content {
        width: calc(100% - 48px);
    }
}

@media (max-width: 575px) {
    .cbc-career-detail__hero {
        min-height: 440px;
        padding: 120px 16px 36px;
    }

    .cbc-career-detail__hero h1 {
        font-size: 58px;
    }

    .cbc-career-detail__apply {
        min-width: 220px;
        min-height: 58px;
        margin-top: 48px;
        font-size: 18px;
    }

    .cbc-career-detail__content {
        width: calc(100% - 32px);
    }

    .cbc-apply-modal {
        padding: 14px;
    }

    .cbc-apply-modal__dialog {
        padding: 34px 18px 22px;
    }

    .cbc-apply-modal__grid {
        grid-template-columns: 1fr;
    }
}
