/* ================================================================
   HEADER OVERRIDE (Khusus Tema Terang Career)
   ================================================================ */
.site-header.scrolled, 
.site-header.is-scrolled, 
.site-header.sticky {
  background-color: rgba(250, 248, 244, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(21, 19, 15, 0.05) !important;
}

.site-header .nav__direct-link,
.site-header .nav__dropdown-btn { color: var(--stage) !important; }
.site-header .nav__dropdown-btn svg { stroke: var(--stage) !important; }
.site-header .nav__brand { color: var(--stage) !important; }
.site-header .nav__brand-img { filter: brightness(0) !important; }
.site-header .nav__toggle span { background-color: var(--stage) !important; }

/* ================================================================
   CAREER PAGE (Light Theme & Seamless Dynamic Glassmorphism)
   ================================================================ */
.career-page { background: var(--paper); min-height: 100vh; color: var(--stage); }
.container { max-width: var(--maxw); margin: 0 auto; }

/* --- INTRO SECTION --- */
.career-intro { padding: 160px 24px 80px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.intro-title { font-family: var(--f-display); font-size: clamp(40px, 4vw, 56px); line-height: 1.1; margin-bottom: 32px; color: var(--stage); }
.intro-title span { color: var(--orange); }
.intro-lead { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.6; margin-bottom: 24px; color: var(--stage); }
.intro-body { font-size: 16px; line-height: 1.8; margin-bottom: 24px; color: rgba(21, 19, 15, 0.75); }

.intro-images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.img-wrapper { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.img-wrapper:hover img { transform: scale(1.05); }
.img-tall { height: 480px; transform: translateY(-32px); }
.img-short { height: 320px; transform: translateY(32px); }

/* --- CAREER GRID (LAPIS 1 - Thumbnail) --- */
.career-section { padding: 20px 24px 120px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-title { font-family: var(--f-display); font-size: 32px; margin-bottom: 8px; }

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.job-card {
  background: #FFFFFF;
  border: 1px solid rgba(21, 19, 15, 0.05);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.job-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(255, 77, 0, 0.2); }
.job-card__tag { align-self: flex-start; background: rgba(255, 77, 0, 0.1); color: var(--orange); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 50px; margin-bottom: 16px; }
.job-card__title { font-family: var(--f-display); font-size: 22px; color: var(--stage); margin-bottom: 8px; line-height: 1.2; }
.job-card__loc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; font-weight: 600; }
.job-card__desc { font-size: 14.5px; color: rgba(21,19,15,0.7); line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.job-card__btn { font-size: 14px; font-weight: 700; color: var(--orange); }

/* --- JOB MODAL POP-UP (LAPIS 2 - Detail) --- */
.job-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
  background: rgba(10, 8, 6, 0.85); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 24px;
}
.job-modal.is-active { opacity: 1; visibility: visible; }

.job-modal__content {
  background: var(--paper); width: 100%; max-width: 760px; max-height: 90vh;
  border-radius: 20px; overflow-y: auto; position: relative;
  transform: translateY(30px); transition: all 0.3s ease; box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.job-modal.is-active .job-modal__content { transform: translateY(0); }

.job-modal__close {
  position: sticky; top: 16px; right: 16px; float: right; width: 44px; height: 44px;
  border-radius: 50%; background: #FFF; border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 24px; cursor: pointer; color: var(--stage); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; z-index: 10;
}
.job-modal__close:hover { background: var(--orange); color: #FFF; transform: scale(1.1); }

.modal-body-inner { padding: 40px; clear: both; }

/* KUNCI: Poster menggunakan contain agar TIDAK terpotong */
.modal-poster { width: 100%; max-height: 400px; object-fit: contain; background: rgba(0,0,0,0.03); border-radius: 12px; margin-bottom: 32px; }

.modal-header { margin-bottom: 32px; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 24px; }
.modal-title { font-family: var(--f-display); font-size: 32px; color: var(--stage); margin-bottom: 12px; }
.modal-meta { display: flex; gap: 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.modal-meta span { background: rgba(0,0,0,0.05); padding: 4px 16px; border-radius: 50px; }

.modal-section { margin-bottom: 32px; }
.modal-section h4 { font-family: var(--f-display); font-size: 20px; color: var(--stage); margin-bottom: 12px; }
.modal-section p, .modal-section ul { font-size: 15.5px; color: var(--ink); line-height: 1.8; }
.modal-section ul { margin: 0 0 0 20px; padding: 0; }
.modal-section li { margin-bottom: 8px; }
.modal-section li::marker { color: var(--orange); font-weight: bold; }

.modal-apply-wrapper { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,0.1); text-align: center; }
.modal-apply-btn { display: inline-flex; background: var(--orange); color: #FFF !important; font-weight: 700; padding: 16px 40px; border-radius: 50px; text-decoration: none; transition: 0.3s; }
.modal-apply-btn:hover { background: var(--stage); transform: translateY(-2px); }

@media (max-width: 600px) { .modal-body-inner { padding: 24px; } }

/* ================================================================
   EMPTY STATE (Kondisi Tidak Ada Lowongan)
   ================================================================ */
.empty-state {
  text-align: center;
  /* Padding atas dirapatkan agar gambar langsung dekat dengan judul section */
  padding: 32px 24px 64px 24px; 
  background: transparent;
  border: 2px dashed rgba(21, 19, 15, 0.1);
  border-radius: 24px;
  margin-top: 12px;
  
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
}

/* Pengaturan untuk Gambar 3D WebP (Dirapatkan jarak bawahnya agar menyatu dengan teks) */
.empty-state__img {
  width: 625px; 
  max-width: 100%;
  height: auto;
  
  display: block;
  /* Margin bawah dipangkas kecil agar gambar dan teks menyatu jadi satu kesatuan */
  margin: 0 auto 12px auto; 
  
  animation: floatImage 5s ease-in-out infinite;
}

.empty-state h3 {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--stage);
  margin-bottom: 12px;
  /* Memastikan teks judul benar-benar di tengah */
  width: 100%;
  text-align: center;
}

.empty-state p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 500px; 
  margin-bottom: 32px;
  
  /* KUNCI MASALAH NO 4: Memaksa teks deskripsi agar rata tengah sempurna */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn-spontaneous {
  display: inline-block;
  background: transparent;
  color: var(--stage);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(21, 19, 15, 0.2);
  transition: all 0.3s ease;
}

.btn-spontaneous:hover {
  background: var(--stage);
  color: #FFF;
  border-color: var(--stage);
  transform: translateY(-2px);
}

/* Keyframes untuk animasi melayang pada gambar 3D */
@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- TWEAK UI/UX MODERN UNTUK IKON & BADGE --- */
.job-card__tag, .job-card__loc, .modal-meta span {
  display: inline-flex; align-items: center; gap: 8px;
}
.job-card__tag svg, .job-card__loc svg, .modal-meta span svg {
  width: 16px; height: 16px; flex-shrink: 0;
}
.job-card__loc svg { color: var(--orange); }

/* Membuat badge di Modal lebih premium (Two-Tone) */
.modal-meta span:first-child {
  background: rgba(255, 77, 0, 0.08); 
  color: var(--orange);
}
.modal-meta span:last-child {
  background: rgba(21, 19, 15, 0.05); 
  color: var(--ink-soft);
}

/* --- CUSTOM MODERN BULLET UNTUK LIST --- */
.modal-section ul {
  list-style: none !important; /* Mematikan bullet bawaan yang sering error */
  padding: 0 !important; 
  margin: 0 !important;
}
.modal-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
}
/* Membuat titik oranye khusus buatan sendiri */
.modal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px; /* Menyesuaikan agar titik sejajar dengan tengah teks */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange);
}

/* Memperbaiki jarak tombol bawah */
.modal-apply-wrapper { margin-top: 56px; padding-bottom: 16px; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .img-tall, .img-short { transform: translateY(0); height: 320px; }
  
  .career-accordion { flex-direction: column; height: auto; }
  .acc-card { flex: none; height: 360px; }
  .acc-card:hover { flex: none; } 
  .acc-card__extra-wrapper { grid-template-rows: 1fr; } 
  .acc-card__extra-content { opacity: 1; transform: translateY(0); min-width: auto; }
}