/* ── Page body background (fills gaps around fixed-width BB rows) ── */
body.hrp-job-page,
body.hrp-job-page .fl-page-content { background-color: #f5f3f0 !important; }

/* ── Hero badge styles (4 types, matching jobs listing palette) ── */

/* Sector/category — dark navy chip with mint border (matches j26-badge-sector) */
.csd26-badge--sector {
    background: rgb(52, 60, 82) !important;
    color: #00D9A5 !important;
    border-color: rgba(0, 217, 165, 0.6) !important;
}

/* Permanent — light mint tint (matches j26-badge-permanent) */
.hrp-hbadge--permanent {
    background: rgba(0, 217, 165, 0.15) !important;
    color: #00D9A5 !important;
    border-color: rgba(0, 217, 165, 0.45) !important;
}

/* Temporary — amber/orange (matches j26-badge-temporary) */
.hrp-hbadge--temporary {
    background: rgba(253, 230, 138, 0.15) !important;
    color: #f59e0b !important;
    border-color: rgba(253, 230, 138, 0.5) !important;
}

/* Featured — gold highlight */
.hrp-hbadge--featured {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #fbbf24 !important;
    border-color: rgba(234, 179, 8, 0.45) !important;
}

/* Contract / other job types — subtle white ghost */
.csd26-badge--jobtype:not(.hrp-hbadge--permanent):not(.hrp-hbadge--temporary):not(.hrp-hbadge--featured) {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ── Hero meta row ── */
.hrp-job-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.hrp-job-meta-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: Inter, sans-serif; font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,0.75);
}
.hrp-job-meta-item--response {
    background: none; border: none; padding: 0;
    border-radius: 0; font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,0.75) !important;
}
.hrp-job-meta-icon { width: 15px; height: 15px; flex-shrink: 0; color: #00D9A5 !important; stroke: #00D9A5 !important; }

/* Override custom.css hero badge blanket rule */
.fl-row.csd26-hero .csd26-badge { background: unset; color: unset; border-color: unset; }

/* ── Content row background ── */
.fl-row.jbs26-content > .fl-row-content-wrap {
    background: #f5f3f0 !important; padding: 72px 0 0 !important;
}
@media (min-width: 1024px) {
    .fl-row.jbs26-content > .fl-row-content-wrap { padding: 88px 0 0 !important; }
}

/* ── Hero background override ── */
.fl-row.csd26-hero > .fl-row-content-wrap { background-image: none !important; }

/* ── Job single content layout ── */
.hrp-job-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1140px) { .hrp-job-inner { padding: 0; } }
.hrp-job-layout { display: grid !important; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1140px) { .hrp-job-layout { grid-template-columns: 1fr 320px !important; gap: 48px; } }
.hrp-job-main { display: flex; flex-direction: column; gap: 24px; }
.hrp-job-panel { display: flex; flex-direction: column; gap: 0; }
@media (min-width: 1140px) { .hrp-job-panel { position: sticky; top: 96px; align-self: start; } }

/* ── Content boxes ── */
.hrp-job-boxes { display: flex; flex-direction: column; gap: 24px; }
.hrp-job-box {
    background: #ffffff; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.hrp-job-box-label {
    display: inline-flex !important; align-items: center; gap: 8px;
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: #00D9A5; margin-bottom: 8px;
}
.hrp-job-box-label::before {
    content: ''; display: block; width: 24px; height: 4px;
    background: linear-gradient(to right, #1affc3, #00D9A5);
    border-radius: 2px; flex-shrink: 0;
}
.hrp-job-box-title {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; font-weight: 700;
    color: #343c52; margin: 0 0 16px !important; padding: 0 !important; border: none !important;
}
.hrp-job-box-content { font-family: Inter, sans-serif; font-size: 15px; line-height: 1.7; color: #374151; }
.hrp-job-box-content p { margin: 0 0 12px; }
.hrp-job-box-content p:last-child { margin-bottom: 0; }
.hrp-job-box-content ul,
.hrp-job-box-content ol { margin: 0 0 12px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.hrp-job-box-content ul li,
.hrp-job-box-content ol li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: #374151; }
.hrp-job-box-content ul li::before {
    content: ''; display: block; width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D9A5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hrp-job-box-content ol { counter-reset: job-ol; }
.hrp-job-box-content ol li { counter-increment: job-ol; }
.hrp-job-box-content ol li::before {
    content: counter(job-ol); display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; min-width: 20px; background: #f0fdf4; color: #15803d;
    font-size: 11px; font-weight: 700; border-radius: 50%; margin-top: 1px;
}
.hrp-job-box-content strong { font-weight: 700; color: #343c52; }
.hrp-job-box-content h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; font-weight: 700; color: #343c52; margin: 20px 0 8px; }
.hrp-job-box-content h4 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700; color: #343c52; margin: 16px 0 6px; }

/* ── Breadcrumb back arrow ── */
.hrp-job-bc-back { display: inline-flex !important; align-items: center; gap: 6px; }
.hrp-job-bc-back-icon { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Apply card ── */
.hrp-job-apply-sub { font-family: Inter, sans-serif; font-size: 14px; color: #6b7280; margin: -8px 0 16px; }

/* ── Call card ── */
.hrp-job-call-card {
    background: #343c52; border-radius: 12px; padding: 24px 28px; margin-top: 16px;
}
.hrp-job-call-heading {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; font-weight: 700;
    color: #ffffff; margin: 0 0 4px !important;
}
.hrp-job-call-consultant { font-family: Inter, sans-serif; font-size: 13px; color: rgba(255,255,255,0.6); margin: 0 0 16px; }
.hrp-job-call-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.hrp-job-call-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: Inter, sans-serif; font-size: 14px; font-weight: 600;
    color: #ffffff; text-decoration: none; transition: color 0.15s;
    background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px; padding: 11px 16px;
}
.hrp-job-call-link svg { width: 15px; height: 15px; flex-shrink: 0; color: #00D9A5; }
.hrp-job-call-link:hover { background: rgba(255,255,255,0.18); color: #ffffff; }
.hrp-job-call-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: Inter, sans-serif; font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,0.5); text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px;
    width: 100%; transition: color 0.15s;
}
.hrp-job-call-back svg { width: 14px; height: 14px; }
.hrp-job-call-back:hover { color: rgba(255,255,255,0.85); }

/* ── Back to all vacancies link ── */
.hrp-job-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: Inter, sans-serif; font-size: 13px; font-weight: 500;
    color: #6b7280; text-decoration: none; transition: color 0.15s; margin-top: 8px;
}
.hrp-job-back svg { width: 14px; height: 14px; }
.hrp-job-back:hover { color: #343c52; text-decoration: none; }

/* ── Process steps ── */
.hrp-job-process-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 4px; }
.hrp-job-process-step { display: flex; gap: 16px; align-items: flex-start; }
.hrp-job-process-num {
    width: 36px; height: 36px; min-width: 36px; border-radius: 10px;
    background: rgba(52,60,82,0.07); display: flex; align-items: center; justify-content: center;
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700;
    color: #00D9A5; flex-shrink: 0;
}
.hrp-job-process-title {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 700;
    color: #343c52; margin: 0 0 4px;
}
.hrp-job-process-body { font-family: Inter, sans-serif; font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }

/* ── Why section ── */
.hrp-job-why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 4px; }
@media (min-width: 600px) { .hrp-job-why-grid { grid-template-columns: 1fr 1fr; } }
.hrp-job-why-item { display: flex; align-items: flex-start; gap: 10px; }
.hrp-job-why-icon { width: 16px !important; height: 16px !important; flex-shrink: 0; margin-top: 2px; color: #00D9A5; }
.hrp-job-why-text { font-family: Inter, sans-serif; font-size: 14px; color: #374151; line-height: 1.5; }

/* ── FAQ ── */
.hrp-job-faq-list { display: flex; flex-direction: column; margin-top: 4px; }
.hrp-job-faq-item { border-bottom: 1px solid #f3f4f6; padding: 18px 0; }
.hrp-job-faq-item:first-child { padding-top: 0; }
.hrp-job-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.hrp-job-faq-q {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 700;
    color: #343c52; margin: 0 0 8px;
}
.hrp-job-faq-a { font-family: Inter, sans-serif; font-size: 14px; color: #6b7280; line-height: 1.65; margin: 0; }

/* ── Related jobs ── */
.hrp-job-related { padding: 8px 0 0; }
.hrp-job-related-heading {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; font-weight: 700;
    color: #343c52; margin: 0 0 16px !important; padding: 0 !important; border: none !important;
}
.hrp-job-related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .hrp-job-related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hrp-job-related-grid { grid-template-columns: 1fr 1fr 1fr; } }
.hrp-job-related-card {
    display: block; background: #ffffff; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 18px 20px; text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hrp-job-related-card:hover { border-color: rgba(0,217,165,0.5); box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-decoration: none; }
.hrp-job-related-badge {
    display: inline-block; font-family: Inter, sans-serif; font-size: 11px; font-weight: 600;
    padding: 3px 10px; border-radius: 9999px; background: rgba(0,217,165,0.10);
    color: #00836b; border: 1px solid rgba(0,217,165,0.25); margin-bottom: 10px;
}
.hrp-job-related-title {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700;
    color: #343c52; line-height: 1.4; margin: 0 0 10px; transition: color 0.15s;
}
.hrp-job-related-card:hover .hrp-job-related-title { color: #00836b; }
.hrp-job-related-meta { display: flex; align-items: center; gap: 5px; font-family: Inter, sans-serif; font-size: 12px; color: #9ca3af; margin-top: 4px; }
.hrp-job-related-icon { width: 12px !important; height: 12px !important; flex-shrink: 0; }

/* ── CTA banner (full-bleed breakout from BB column) ── */
.hrp-job-cta-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-top: 56px;
    padding: 80px 20px;
    background: linear-gradient(to right, #00a37c 0%, #00D9A5 45%, #343c52 100%);
    text-align: center;
    overflow: hidden;
}
.hrp-job-cta-label {
    font-family: Inter, sans-serif; font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.65); margin: 0 0 14px;
}
.hrp-job-cta-h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(24px, 3.5vw, 38px); font-weight: 700;
    color: #ffffff; line-height: 1.2;
    margin: 0 0 14px !important; padding: 0 !important; border: none !important;
}
.hrp-job-cta-lead {
    font-family: Inter, sans-serif; font-size: 16px;
    color: rgba(255,255,255,0.75); line-height: 1.6;
    max-width: 560px; margin: 0 auto 32px;
}
.hrp-job-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hrp-job-cta-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff; font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px; font-weight: 600; padding: 13px 24px;
    border-radius: 10px; text-decoration: none; transition: background 0.2s;
}
.hrp-job-cta-btn-ghost:hover { background: rgba(255,255,255,0.25); color: #ffffff; text-decoration: none; }
.hrp-job-cta-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #ffffff; color: #00836b;
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 700;
    padding: 13px 24px; border-radius: 10px;
    text-decoration: none; transition: background 0.2s;
}
.hrp-job-cta-btn-primary:hover { background: rgba(255,255,255,0.9); color: #00836b; text-decoration: none; }

/* ── Sidebar back link ── */
.hrp-job-sidebar-back {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-family: Inter, sans-serif; font-size: 14px; font-weight: 500;
    color: #454e66; text-decoration: none;
    padding: 8px 0; margin-top: 8px; transition: color 0.15s;
}
.hrp-job-sidebar-back svg { width: 14px; height: 14px; flex-shrink: 0; }
.hrp-job-sidebar-back:hover { color: #00D9A5; text-decoration: none; }

/* ── Apply form sidebar card ── */
.hrp-spec-sidebar-card.hrp-job-apply-card {
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hrp-spec-sidebar-heading {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; font-weight: 700;
    color: #343c52; margin: 0 0 16px !important;
}

/* ── Job box accordion ── */
.hrp-jb-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}
.hrp-jb-toggle:hover,
.hrp-jb-toggle:focus,
.hrp-jb-toggle:focus-visible {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.hrp-jb-toggle-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hrp-jb-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00D9A5;
    margin: 0;
}
.hrp-jb-toggle-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 4px;
    background: linear-gradient(to right, #1affc3, #00D9A5);
    border-radius: 2px;
    flex-shrink: 0;
}
.hrp-jb-toggle-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #343c52;
    margin: 0;
}
.hrp-jb-chevron {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.25s;
}
.hrp-jb-chevron svg { width: 18px; height: 18px; stroke: #454e66; transition: stroke 0.2s; }
.hrp-jb-open .hrp-jb-chevron { background: #00D9A5; transform: rotate(180deg); }
.hrp-jb-open .hrp-jb-chevron svg { stroke: #ffffff; }
.hrp-jb-body { overflow: hidden; transition: max-height 0.35s ease; }
.hrp-jb-body-inner { padding: 20px 28px 28px; border-top: 1px solid #f3f4f6; }

@media (max-width: 767px) {
    .hrp-jb-toggle { padding: 16px 20px; }
    .hrp-jb-toggle-title { font-size: 16px; }
    .hrp-jb-body-inner { padding: 16px 20px 20px; }
}
