/* ====================================================
   HALAMAN KARIER - STYLESHEET
   PT. Mitra Cerdas Nusantara
   ==================================================== */

body {
    background-color: #f4f5f7;
    margin: 0;
}

.karir-section {
    padding: 2.5rem 0 5rem;
    background-color: #f4f5f7;
    min-height: 80vh;
}

.karir-container {
    width: 100%;
    max-width: var(--site-max-width, 1520px);
    margin: 0 auto;
    padding: 0 var(--site-gutter, clamp(1.25rem, 3.5vw, 4rem));
    box-sizing: border-box;
}

/* ---------- Hero Section (Header Karier) ---------- */
.karir-hero-header {
    margin-bottom: 3rem;
    text-align: left;
}

.karir-badge {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    background-color: #fce7f0;
    color: #a30b3a;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.karir-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.brand-highlight {
    color: #b70e43;
}

.karir-location-sub {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.85rem;
}

.karir-description {
    font-size: 1.125rem;
    color: #374151;
    max-width: 760px;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Kartu Lowongan Pekerjaan (Text-Only Job Cards) ---------- */
.job-card-wrapper {
    margin-bottom: 4rem;
}

#job-card-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    min-height: 500px;
}

.job-card {
    background-color: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    padding: 2.25rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 18, 81, 0.3);
}

/* Header Kartu */
.job-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.job-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: #fce7f0;
    color: #a30b3a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-position-name {
    font-size: 1.65rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.25rem 0;
    line-height: 1.25;
}

.job-location-tag {
    font-size: 0.925rem;
    color: #374151;
    font-weight: 600;
}

.status-badge {
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.825rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-closed {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.status-open {
    background-color: #dcfce7;
    color: #14532d;
    border: 1px solid #86efac;
}

/* Details Section (Full Width) */
.job-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

.job-section-block {
    display: flex;
    flex-direction: column;
}

.job-block-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.85rem;
    margin-top: 0;
}

/* Skills Grid (2 Columns) */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #1f2937;
    font-weight: 500;
}

.skill-icon-check {
    color: #047857;
    flex-shrink: 0;
}

/* Job Description List */
.job-desc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.job-desc-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
}

.bullet-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #b70e43;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

/* Info Box (Notice CLOSED) */
.job-info-box {
    background-color: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 14px;
    padding: 1.1rem 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.info-box-icon {
    color: #a16207;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-box-text {
    font-size: 0.925rem;
    color: #58320c;
    line-height: 1.6;
    margin: 0;
}

.info-box-text strong {
    color: #3d2105;
}

/* HR Contacts Footer */
.job-hr-contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.hr-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hr-contact-btn:hover {
    background-color: #e5e7eb;
    color: #111827;
    transform: translateY(-1px);
}

.hr-contact-btn-primary {
    background-color: #D81251;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hr-contact-btn-primary:hover {
    background-color: #b70e43;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* ---------- Section Mengapa Memilih Berkarier di MCN ---------- */
.benefits-section-wrapper {
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.benefit-card {
    background-color: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 18, 81, 0.3);
}

.benefit-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: rgba(216, 18, 81, 0.08);
    color: #D81251;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin: 0;
}

.benefit-card-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Banner CTA Talent Pool ---------- */
.talent-pool-banner {
    background: linear-gradient(135deg, #D81251 0%, #A31131 50%, #800d26 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.banner-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.banner-btn-primary {
    padding: 0.85rem 2rem;
    border-radius: 10px;
    background-color: #ffffff;
    color: #D81251;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.banner-btn-primary:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.banner-btn-secondary {
    padding: 0.85rem 2rem;
    border-radius: 10px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.banner-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .karir-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .karir-container {
        padding: 0 1.25rem;
    }

    .karir-section {
        padding: 1.5rem 0 3.5rem;
    }

    .job-card {
        padding: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .karir-title {
        font-size: 1.85rem;
    }

    .job-hr-contacts {
        flex-direction: column;
        align-items: stretch;
    }

    .hr-contact-btn {
        width: 100%;
        justify-content: center;
    }

    .talent-pool-banner {
        padding: 2.5rem 1.5rem;
    }

    .banner-title {
        font-size: 1.75rem;
    }

    .banner-btn-primary,
    .banner-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 580px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
