
/* =========================================
   CAREER JOB DETAIL PAGE
========================================= */

.job-detail-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* HERO */

.job-detail-hero {
    position: relative;
    padding: 65px 0 75px;
    background: #172b38;
    overflow: hidden;
}

.job-detail-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    right: -100px;
    top: -170px;
    pointer-events: none;
}

.job-back-link {
    display: inline-block;
    color: #a9cbb9;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 45px;
    transition: .3s;
}

.job-back-link:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.job-label,
.job-section-label {
    display: inline-block;
    color: #159b60;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.job-hero-content h1 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.job-hero-content > p {
    color: #c2d0d7;
    font-size: 16px;
    line-height: 1.8;
    max-width: 750px;
    margin-bottom: 28px;
}

.job-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-meta-list span {
    color: #e1e9ec;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13px;
}

/* MAIN SECTION */

.job-detail-section {
    background: #f5f7f8;
    padding: 75px 0;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 35px;
    align-items: start;
}

.job-detail-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.job-content-card,
.job-sidebar-card {
    background: #ffffff;
    border: 1px solid #e9edef;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(20,40,50,.035);
}

.job-content-card h2 {
    color: #172b38;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 22px;
}

.job-description {
    color: #63717a;
    font-size: 15px;
    line-height: 1.95;
    white-space: normal;
    overflow-wrap: anywhere;
}

.job-content-card > p {
    color: #63717a;
    font-size: 15px;
    line-height: 1.9;
}

/* SKILLS */

.job-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-skills-list span {
    background: #edf8f2;
    color: #087b49;
    border: 1px solid #d7eee1;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 5px;
    font-weight: 600;
}

/* APPLY BUTTON */

.job-apply-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    background: #07804a;
    color: #ffffff !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.job-apply-button:hover {
    background: #075f39;
    transform: translateY(-2px);
}

/* SIDEBAR */

.job-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.job-sidebar-card {
    padding: 28px;
}

.job-sidebar-card h3 {
    color: #172b38;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 25px;
}

.job-overview-item {
    padding: 16px 0;
    border-bottom: 1px solid #edf0f1;
}

.job-overview-item:first-of-type {
    padding-top: 0;
}

.job-overview-item small {
    display: block;
    color: #87939a;
    font-size: 12px;
    margin-bottom: 6px;
}

.job-overview-item strong {
    display: block;
    color: #263b47;
    font-size: 14px;
    line-height: 1.5;
}

.job-sidebar-apply {
    margin-top: 25px;
}

.job-sidebar-apply .job-apply-button {
    width: 100%;
}

.job-sidebar-note {
    background: #172b38;
    border-radius: 10px;
    padding: 30px;
}

.job-sidebar-note h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 13px;
}

.job-sidebar-note p {
    color: #bdcbd2;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.job-sidebar-note a {
    color: #54c18c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.job-sidebar-note a:hover {
    color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .job-detail-layout {
        grid-template-columns: 1fr;
    }

    .job-detail-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .job-detail-hero {
        padding: 40px 0 50px;
    }

    .job-back-link {
        margin-bottom: 30px;
    }

    .job-detail-section {
        padding: 45px 0;
    }

    .job-detail-container {
        padding: 0 18px;
    }

    .job-content-card,
    .job-sidebar-card {
        padding: 23px;
    }

    .job-content-card h2 {
        font-size: 23px;
    }

    .job-meta-list {
        gap: 8px;
    }

    .job-meta-list span {
        font-size: 12px;
        padding: 8px 10px;
    }

    .job-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .job-apply-button {
        width: 100%;
    }
}





/* WHATSAPP APPLICATION BUTTON */

.job-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px;
    background: #07804a;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    transition: all .3s ease;
}

.job-whatsapp-button svg {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}

.job-whatsapp-button:hover {
    background: #075f39;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7,128,74,.2);
}

.job-whatsapp-note {
    display: block;
    margin-top: 12px;
    color: #849199;
    font-size: 12px;
}

.job-sidebar-apply .job-whatsapp-button {
    width: 100%;
}
