/* Career page — reference-inspired design, adapted to the site palette */

.career-listing-section,
.career-why-section,
.career-process-section {
    padding-top: 75px !important;
    padding-bottom: 75px !important;
}

.career-section-label {
    display: inline-block;
    color: #7650a3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.career-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.career-heading h1,
.career-heading h2 {
    color: #130426;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.career-heading p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Current opportunities */
.career-listing-section {
    background: #fff;
}

.career-job-card {
    background: #fff;
    border: 1px solid #eee8f5;
    border-radius: 12px;
    padding: 30px;
    transition: all .3s ease;
}

.career-job-card:hover {
    transform: translateY(-5px);
    border-color: #cdbbe4;
    box-shadow: 0 12px 35px rgba(19, 4, 38, .09);
}

.career-job-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.career-job-type {
    background: #f0e9f8;
    color: #130426;
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.career-job-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #130426;
    margin-bottom: 13px;
}

.career-job-description {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.career-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 20px;
    margin: 22px 0;
    color: #666;
    font-size: 13px;
}

.career-job-meta i {
    color: #7650a3;
    margin-right: 6px;
}

.career-job-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.career-details-link {
    color: #130426;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.career-details-link:hover {
    color: #7650a3;
}

.career-apply-btn {
    background: #130426;
    color: #fff;
    border: 1px solid #130426;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    transition: .3s ease;
}

.career-apply-btn:hover {
    background: #352052;
    color: #fff;
    border-color: #352052;
}

.career-empty-state {
    background: #faf9fc;
    border: 1px solid #eee8f5;
    padding: 60px 20px;
    border-radius: 12px;
}

.career-empty-icon {
    font-size: 42px;
    color: #130426;
    margin-bottom: 20px;
}

.career-empty-state h3 {
    color: #130426;
    font-weight: 800;
    margin-bottom: 12px;
}

.career-empty-state p {
    color: #666;
    margin-bottom: 0;
}

/* Why work with us */
.career-why-section {
    background: #f8f6fb;
}

.career-benefit-card {
    background: #fff;
    border: 1px solid #eee8f5;
    border-radius: 12px;
    padding: 30px 25px;
    transition: all .3s ease;
}

.career-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(19, 4, 38, .08);
    border-color: #d8c9ec;
}

.career-benefit-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0e9f8;
    color: #130426;
    border-radius: 10px;
    font-size: 23px;
    margin-bottom: 22px;
}

.career-benefit-card h3 {
    color: #130426;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}

.career-benefit-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Hiring process */
.career-process-section {
    background: #fff;
}

.career-process-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee8f5;
    border-radius: 12px;
    padding: 32px 24px;
    transition: all .3s ease;
}

.career-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(19, 4, 38, .08);
}

.career-process-number {
    display: inline-block;
    color: #d9cce9;
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 15px;
}

.career-process-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #130426;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    margin-bottom: 22px;
}

.career-process-card h3 {
    color: #130426;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}

.career-process-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Final CTA */
.career-bottom-cta {
    background: linear-gradient(120deg, #130426, #352052);
    color: #fff;
}

.career-cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.career-cta-label {
    color: #cdbbe4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.career-bottom-cta h2 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(27px, 4vw, 36px);
    margin: 15px 0;
}

.career-bottom-cta p {
    color: #e2dbea;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 auto 28px;
}

.career-cta-btn {
    background: #fff;
    color: #130426;
    border: 1px solid #fff;
    padding: 13px 25px;
    font-weight: 700;
    border-radius: 6px;
    transition: .3s ease;
}

.career-cta-btn:hover {
    background: #e9def7;
    color: #130426;
    border-color: #e9def7;
}

.career-secondary-link {
    display: inline-block;
    margin-left: 18px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.career-secondary-link:hover {
    color: #cdbbe4;
}

/* Career detail page */
.career-detail-section {
    padding: 70px 0;
    background: #f8f6fb;
}

.career-detail-card,
.career-side-card {
    background: #fff;
    border: 1px solid #eee8f5;
    border-radius: 12px;
    padding: 35px;
}

.career-detail-card h1 {
    color: #130426;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 18px;
}

.career-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 28px;
    color: #666;
    font-size: 14px;
}

.career-detail-meta i {
    color: #7650a3;
    margin-right: 6px;
}

.career-detail-content {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
}

.career-detail-content h2,
.career-detail-content h3 {
    color: #130426;
    font-weight: 800;
    margin-top: 28px;
}

.career-detail-content ul {
    padding-left: 20px;
}

.career-detail-apply {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.career-detail-apply h3 {
    color: #130426;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 5px;
}

.career-detail-apply p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.career-side-card h3 {
    color: #130426;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 20px;
}

.career-side-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.career-side-card li {
    color: #666;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f0edf5;
}

.career-side-card li strong {
    color: #130426;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
}

.career-side-card a {
    color: #7650a3;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.career-related-section {
    padding-bottom: 70px;
    background: #fff;
}

.career-related-section h2 {
    color: #130426;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
}

.career-related-card {
    display: block;
    background: #fff;
    border: 1px solid #eee8f5;
    border-radius: 10px;
    padding: 20px;
    color: #130426;
    text-decoration: none;
    transition: .3s ease;
}

.career-related-card:hover {
    border-color: #cdbbe4;
    transform: translateY(-4px);
}

.career-related-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.career-related-card span {
    color: #777;
    font-size: 13px;
}

/* -------------------------------------------------- */
/* Job detail page — reference-inspired layout         */
/* -------------------------------------------------- */

/* Quick facts strip */
.career-info-section {
    background: #fff;
    padding: 28px 0;
    border-bottom: 1px solid #eee8f5;
}

.career-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 14px;
}

.career-info-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 17px 15px;
    background: #faf9fc;
    border: 1px solid #eee8f5;
    border-radius: 10px;
}

.career-info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee7f7;
    color: #7650a3;
    border-radius: 9px;
    font-size: 16px;
}

.career-info-card span {
    display: block;
    color: #85808d;
    font-size: 12px;
    margin-bottom: 4px;
}

.career-info-card strong {
    display: block;
    color: #130426;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* Main content card */
.career-detail-section {
    background: #faf9fc;
}

.career-detail-main {
    background: #fff;
    padding: 35px;
    border: 1px solid #eee8f5;
    border-radius: 12px;
}

.career-content-block {
    margin-bottom: 36px;
}

.career-content-label {
    display: inline-block;
    color: #7650a3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.career-content-block h1 {
    color: #130426;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 22px;
}

.career-content-block h2 {
    color: #130426;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
}

.career-description {
    color: #62606a;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.career-description p:last-child {
    margin-bottom: 0;
}

.career-description ul,
.career-description ol {
    padding-left: 20px;
}

.career-description li {
    margin-bottom: 8px;
}

.career-apply-block {
    padding-top: 30px;
    border-top: 1px solid #f0edf5;
}

.career-inline-apply-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 12px 20px;
    background: #130426;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.career-inline-apply-btn:hover {
    background: #7650a3;
    color: #fff;
}

.career-back-link {
    border-top: 1px solid #eee;
    padding-top: 22px;
    margin-bottom: 0;
}

.career-back-link a {
    color: #130426;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.career-back-link a:hover {
    color: #7650a3;
}

/* Application form sidebar */
.career-application-sidebar {
    position: sticky;
    top: 25px;
    background: #fff;
    padding: 28px;
    border: 1px solid #eee8f5;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(19, 4, 38, .06);
}

.career-form-heading > span {
    color: #7650a3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.career-form-heading h2 {
    color: #130426;
    font-size: 23px;
    font-weight: 800;
    margin: 10px 0;
}

.career-form-heading p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.career-form-alert {
    font-size: 13px;
    margin-bottom: 18px;
}

.career-application-form label {
    display: block;
    color: #292333;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.career-application-form label span {
    color: #dc3545;
}

.career-application-form .form-control {
    min-height: 47px;
    border: 1px solid #e5e0eb;
    border-radius: 6px;
    padding: 11px 13px;
    font-size: 13px;
    box-shadow: none;
}

.career-application-form textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.career-application-form .form-control:focus {
    border-color: #7650a3;
    box-shadow: 0 0 0 3px rgba(118, 80, 163, .10);
}

.career-application-form .is-invalid {
    border-color: #dc3545;
}

.career-submit-btn {
    width: 100%;
    background: #130426;
    color: #fff;
    border: 1px solid #130426;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s ease;
}

.career-submit-btn:hover {
    background: #352052;
    border-color: #352052;
    color: #fff;
}

.career-form-note {
    color: #888;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    margin: 15px 0 0;
}

/* Maths security check */
.career-captcha-box {
    width: 100%;
    padding: 16px 17px;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(20, 50, 90, .04);
    margin-bottom: 20px;
}

.career-captcha-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.career-captcha-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #26364f;
    font-size: 15px;
}

.career-captcha-title svg {
    color: #145be8;
}

.career-captcha-badge {
    background: #eff5ff;
    color: #145be8;
    border: 1px solid #d8e7ff;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

.career-captcha-body {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.career-captcha-question {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 6px;
    background: #f7f9fc;
    border: 1px solid #ccd9ec;
    border-radius: 11px;
    color: #17243a;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.career-captcha-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid #ccd9ec;
    border-radius: 11px;
    font-size: 15px;
    outline: none;
}

.career-captcha-input:focus {
    border-color: #145be8;
    box-shadow: 0 0 0 3px rgba(20, 91, 232, .08);
}

.career-captcha-input.is-invalid {
    border-color: #dc3545;
}

.career-captcha-refresh {
    flex: 0 0 50px;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #52647e;
    background: #fff;
    border: 1px solid #ccd9ec;
    border-radius: 11px;
    text-decoration: none;
    transition: all .2s ease;
}

.career-captcha-refresh:hover {
    color: #145be8;
    background: #f1f6ff;
    border-color: #145be8;
}

.career-captcha-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 8px;
}

/* Responsive */
@media(max-width: 767px) {
    .career-listing-section,
    .career-why-section,
    .career-process-section {
        padding-top: 55px !important;
        padding-bottom: 55px !important;
    }

    .career-job-card,
    .career-detail-card,
    .career-side-card,
    .career-detail-main,
    .career-application-sidebar {
        padding: 22px;
    }

    .career-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-application-sidebar {
        position: static;
    }

    .career-info-card {
        padding: 14px 12px;
        gap: 10px;
    }

    .career-info-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }

    .career-info-card strong {
        font-size: 13px;
    }

    .career-captcha-question {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .career-job-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .career-benefit-card,
    .career-process-card {
        padding: 25px 22px;
    }

    .career-secondary-link {
        display: block;
        margin: 16px 0 0;
    }
}
