/* =========================================================
DISHA JOB-POST.CSS
COMMON INDIVIDUAL JOB-PAGE SYSTEM
Version: September 2026

LOAD ORDER:
1. global-new.css
2. job-post.css
3. optional jobs-[job-slug].css

IMPORTANT:
This file contains the COMPLETE COMMON JOB-POST MIDDLE DESIGN,
breadcrumb, one-font rule, applicant CTA and responsive rules.

Do not put job facts or job-specific colours/layouts here.
========================================================= */


/* =========================================================
01 — ONE FONT STANDARD
ALL INDIVIDUAL JOB PAGE TEXT = POPPINS
========================================================= */

html,
body,
button,
input,
select,
textarea,
.doctor-job-page,
.doctor-job-page * {
    font-family: "Poppins", sans-serif !important;
}

/* Font Awesome 6.7.2 must retain its own icon font.
   This protection is global because header/navigation icons sit
   outside .doctor-job-page in the sitewide structure. */
.fa,
.fas,
.fa-solid,
.fa-light,
.fal,
.fa-thin,
.fat,
.fa-duotone {
    font-family: "Font Awesome 6 Free" !important;
}

.far,
.fa-regular {
    font-family: "Font Awesome 6 Free" !important;
}

.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}


/* =========================================================
02 — COMMON JOB PAGE WIDTH / ACCESSIBILITY
========================================================= */

.doctor-shell,
.job-post-shell {
    width: 92%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 9999;
    padding: 9px 14px;
    background: #fff;
    color: var(--blue);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
}

.skip-link:focus {
    left: 8px;
}


/* =========================================================
03 — BREADCRUMB
========================================================= */

.doctor-breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #e7eef4;
}

.doctor-breadcrumb {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.3;
}

.doctor-breadcrumb a {
    color: #577593;
    text-decoration: none;
}

.doctor-breadcrumb a:hover {
    color: #148c3b;
    text-decoration: underline;
}

.doctor-breadcrumb span:last-child {
    color: #5c6f83;
    font-weight: 600;
}


/* =========================================================
04 — STANDARD JOB MIDDLE
These rules are common to every individual job.
========================================================= */

.job-post-middle {
    width: 100%;
    overflow: hidden;
}

.job-post-hero {
    background: #f5f9ff;
    border-bottom: 1px solid #e4edf5;
    padding: 42px 0 38px;
}

.job-post-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #148c3b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.job-post-hero h1 {
    margin: 0 0 10px;
    color: #0b4f9c;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
}

.job-post-intro {
    max-width: 930px;
    margin: 0 0 22px;
    color: #5e748b;
    font-size: 15px;
    line-height: 1.7;
}

.job-post-intro strong {
    color: #315a7d;
    font-weight: 700;
}


/* =========================================================
05 — COMPACT FACT ROW
========================================================= */

.job-post-facts {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr 1.35fr 1.15fr .9fr;
    border-top: 1px solid #d8e4ee;
    border-bottom: 1px solid #d8e4ee;
}

.job-post-facts > div {
    min-width: 0;
    padding: 24px 18px;
    border-right: 1px solid #d8e4ee;
}

.job-post-facts > div:last-child {
    border-right: 0;
}

.job-post-facts span {
    display: block;
    margin-bottom: 5px;
    color: #60778d;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.job-post-facts strong {
    display: block;
    color: #243f59;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.job-post-facts small {
    display: block;
    margin-top: 2px;
    color: #6c8093;
    font-size: 10px;
    line-height: 1.4;
}


/* =========================================================
06 — CENTRAL CONTENT SECTIONS
========================================================= */

.job-post-section {
    padding: 42px 0;
    background: #fff;
}

.job-post-section--tint {
    background: #f6f9fc;
}

.job-post-section--compact {
    padding-top: 36px;
    padding-bottom: 42px;
}

.job-post-shell > h2 {
    margin: 0 0 17px;
    color: #0b4f9c;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.015em;
}

.job-post-shell > p {
    max-width: 950px;
    margin: 0;
    color: #61778d;
    font-size: 14px;
    line-height: 1.75;
}

.job-post-shell > ol {
    max-width: 1000px;
    margin: 0;
    padding-left: 23px;
}

.job-post-shell > ol li {
    margin: 0 0 10px;
    padding-left: 5px;
    color: #536b82;
    font-size: 14px;
    line-height: 1.65;
}

.job-post-shell > ol li:last-child {
    margin-bottom: 0;
}

.job-post-shell > ol li strong {
    color: #334f69;
    font-weight: 700;
}


/* =========================================================
07 — WAY TO APPLY
========================================================= */

.job-post-apply-details {
    max-width: 950px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #dce6ef;
}

.job-post-apply-details p {
    margin: 0 0 9px;
    color: #61778d;
    font-size: 13px;
    line-height: 1.65;
}

.job-post-apply-details p:last-child {
    margin-bottom: 0;
}

.job-post-apply-details strong {
    color: #3a5873;
    font-weight: 700;
}

.job-post-apply-details a {
    color: #0b4f9c;
    font-weight: 600;
    text-decoration: none;
}

.job-post-apply-details a:hover {
    text-decoration: underline;
}


/* =========================================================
08 — STANDARD BLUE APPLICANT CTA
FIXED STRUCTURE — COMMON TO ALL JOB PAGES
========================================================= */

.doctor-cta {
    background: #0866b5;
    color: #fff;
    padding: 22px 0;
}

.doctor-cta__inner {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(260px,.8fr) auto;
    gap: 22px;
    align-items: center;
}

.doctor-cta__copy > span {
    display: block;
    margin-bottom: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.doctor-cta__copy h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.doctor-cta__copy p {
    margin: 0;
    color: rgba(255,255,255,.94);
    font-size: 12px;
    line-height: 1.55;
}

.doctor-cta__contact {
    display: grid;
    gap: 8px;
}

.doctor-cta__contact-item {
    display: flex;
    gap: 9px;
    align-items: center;
}

.doctor-cta__contact-item i {
    width: 16px;
    text-align: center;
    color: #fff;
}

.doctor-cta__contact-item small {
    display: block;
    font-size: 8px;
    opacity: .82;
}

.doctor-cta__contact-item a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.doctor-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 118px;
}

.doctor-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.doctor-cta-btn--green {
    background: #159447;
    color: #fff;
}

.doctor-cta-btn--white {
    background: #fff;
    color: #14558b;
}


/* =========================================================
09 — RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .job-post-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .job-post-facts > div:nth-child(3) {
        border-right: 0;
    }

    .job-post-facts > div:nth-child(n+4) {
        border-top: 1px solid #d8e4ee;
    }

    .doctor-cta__inner {
        grid-template-columns: 1fr 1fr;
    }

    .doctor-cta__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {

    .doctor-shell,
    .job-post-shell {
        width: 92%;
    }

    .job-post-hero {
        padding: 30px 0 28px;
    }

    .job-post-hero h1 {
        font-size: 32px;
    }

    .job-post-intro {
        font-size: 13px;
        line-height: 1.65;
    }

    .job-post-facts {
        grid-template-columns: 1fr 1fr;
    }

    .job-post-facts > div {
        padding: 18px 14px;
        border-right: 0;
        border-top: 1px solid #d8e4ee;
    }

    .job-post-facts > div:nth-child(-n+2) {
        border-top: 0;
    }

    .job-post-section {
        padding: 32px 0;
    }

    .job-post-shell > h2 {
        font-size: 25px;
    }

    .job-post-shell > ol li {
        font-size: 13px;
    }

    .doctor-cta__inner {
        grid-template-columns: 1fr;
    }

    .doctor-cta__actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .doctor-cta-btn {
        width: 100%;
    }
}

/* Job Hai listing */
.job-post-section--jobhai {
    padding-top: 10px;
    padding-bottom: 10px;
}

.jobhai-link {
    padding: 14px 18px;
    background: #f3faf6;
    border: 1px solid #d8eee1;
    border-left: 4px solid #72b98a;
    border-radius: 6px;
}

.jobhai-link h3 {
    margin: 0 0 5px;
}

.jobhai-link p {
    margin: 0 0 8px;
}

.jobhai-link a {
    display: inline-block;
    color: #0066cc;
    font-weight: 700;
    text-decoration: none;
}

.jobhai-link a:hover {
    text-decoration: underline;
}
