/* =========================================================
   SIAP KERJA KEPAHIANG - Main Stylesheet
   Dinas Perindustrian dan Tenaga Kerja Kabupaten Kepahiang
   ========================================================= */

:root {
  --navy-900: #0b2547;
  --navy-800: #0e3163;
  --navy-700: #123a75;
  --navy-600: #164a92;
  --orange-500: #f7941d;
  --orange-600: #e8830a;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f6;
  --gray-200: #e2e7ef;
  --gray-500: #6b7688;
  --gray-700: #3c4657;
  --green-600: #1b8a4a;
  --purple-600: #7b3fe4;
  --teal-600: #0f9aa4;
  --white: #ffffff;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 14px rgba(15, 35, 75, 0.08);
  --shadow-card-hover: 0 10px 28px rgba(15, 35, 75, 0.14);
  --max-width: 1280px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 48px 0; }
.section-sm { padding: 28px 0; }

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.section-subtitle {
  color: var(--gray-500);
  margin: 0 0 28px;
  font-size: 0.98rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-orange { background: var(--orange-500); color: #fff; }
.btn-orange:hover { background: var(--orange-600); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.25; }
.brand-text .small { font-size: 0.72rem; font-weight: 700; color: var(--gray-500); letter-spacing: 0.5px; text-transform: uppercase; }
.brand-text .big { font-size: 1.02rem; font-weight: 800; color: var(--navy-900); line-height: 1.2; letter-spacing: 0.3px; }

.main-nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.main-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-700);
  padding: 8px 2px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy-800); border-bottom-color: var(--orange-500); }

.header-search { flex-shrink: 0; }
.header-search form { display: flex; }
.header-search input {
  border: 1px solid var(--gray-200);
  border-radius: 8px 0 0 8px;
  padding: 10px 14px;
  width: 190px;
  font-size: 0.88rem;
  outline: none;
}
.header-search button {
  border: none;
  background: var(--navy-800);
  color: #fff;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy-800);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #fff 0%, #fff 42%, var(--navy-900) 42%, var(--navy-800) 100%);
  padding: 56px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.08;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.hero-title span { color: var(--orange-500); }
/* KEPAHIANG: merah (atas) - putih (bawah) seperti bendera; garis tepi merah
   menjaga bagian putih tetap terbaca di latar putih maupun navy. */
.hero-title .hero-kepahiang {
  display: inline-block;
  color: #e30613; /* cadangan untuk browser tanpa background-clip:text */
  background: linear-gradient(to bottom, #e30613 0%, #e30613 50%, #ffffff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #e30613;
  paint-order: stroke fill;
}
.hero-desc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 0 0 12px;
}
.hero-desc {
  color: var(--gray-500);
  margin: 0 0 26px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.92; }
.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 230px;
  box-shadow: var(--shadow-card);
}
.hero-badge-title { font-weight: 900; color: var(--navy-900); font-size: 1.1rem; margin-bottom: 10px; }
.hero-badge-title .accent { color: var(--orange-500); }
.hero-badge ul li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.82rem; margin-bottom: 6px; color: var(--gray-700); font-weight: 600; }
.hero-badge ul li i { color: var(--green-600); margin-top: 2px; }

/* ---------- Quick feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  margin-bottom: 14px;
}
.icon-blue { background: var(--navy-700); }
.icon-green { background: var(--green-600); }
.icon-orange { background: var(--orange-500); }
.icon-purple { background: var(--purple-600); }
.icon-teal { background: var(--teal-600); }
.feature-card h3 { font-size: 1rem; margin: 0 0 8px; color: var(--navy-900); }
.feature-card p { font-size: 0.85rem; color: var(--gray-500); margin: 0 0 12px; min-height: 66px; }
.feature-card .link { font-weight: 700; font-size: 0.85rem; color: var(--navy-800); }
.feature-card .link i { margin-left: 4px; }

/* ---------- Stats ---------- */
.stats-panel {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  color: #fff;
}
.stats-panel h4 { margin: 0 0 18px; font-size: 0.92rem; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.85; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-item .icon-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.stat-item .num { font-size: 1.4rem; font-weight: 900; line-height: 1.1; }
.stat-item .label { font-size: 0.76rem; opacity: 0.75; }

.two-col-panels { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 20px; }
/* Ratio modifiers - use these instead of inline style="grid-template-columns:..."
   so the responsive rules below can still override them on small screens. */
.two-col-panels.ratio-2-1 { grid-template-columns: 2fr 1fr; align-items: start; }
.two-col-panels.ratio-22-1 { grid-template-columns: 2.2fr 1fr; }
.two-col-panels.ratio-1-13 { grid-template-columns: 1fr 1.3fr; align-items: start; }

/* ---------- Search box ---------- */
.search-box {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px;
}
.search-box h4 { margin: 0 0 16px; color: var(--navy-900); font-size: 1rem; }
.search-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; }
.search-form input, .search-form select {
  padding: 11px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.88rem;
  width: 100%;
  background: #fff;
}
.search-form button {
  background: var(--navy-800);
  color: #fff; border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Promo banner ---------- */
.promo-banner {
  background: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  height: 100%;
}
.promo-banner img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.promo-banner h4 { margin: 0 0 4px; font-size: 1rem; }
.promo-banner h4 .accent { color: var(--orange-500); }
.promo-banner p { font-size: 0.8rem; opacity: 0.85; margin: 0 0 10px; }

/* ---------- Job / news cards ---------- */
.list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.list-header h3 { margin: 0; color: var(--navy-900); font-size: 1.1rem; }
.list-header a { color: var(--navy-800); font-weight: 700; font-size: 0.88rem; }

.job-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.job-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.job-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.job-card .bookmark { position: absolute; top: 16px; right: 16px; color: var(--gray-500); }
.job-card .job-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 1.05rem;
}
.job-card h4 { margin: 0 0 4px; font-size: 0.98rem; color: var(--navy-900); }
.job-card .company { font-size: 0.85rem; color: var(--gray-500); margin: 0 0 10px; }
.job-card .meta { font-size: 0.8rem; color: var(--gray-500); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.job-card .badge {
  display: inline-block; margin-top: 10px;
  background: var(--gray-100); color: var(--navy-800);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
}

.quicklinks-panel { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 20px; }
.quicklinks-panel h4 { margin: 0 0 16px; color: var(--navy-900); font-size: 1rem; }
.quicklinks-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; text-align: center; }
.quicklinks-grid .ql-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.2rem; color: var(--navy-800);
}
.quicklinks-grid span { font-size: 0.75rem; font-weight: 600; color: var(--gray-700); }

/* ---------- Generic content card grids (news / industri / pelatihan) ---------- */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.content-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.content-card .thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 2rem;
}
.content-card .thumb.thumb-photo {
  background-size: cover;
  background-position: center;
}
.content-card .body { padding: 18px; }
.content-card .tag { display: inline-block; background: var(--gray-100); color: var(--navy-800); font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.content-card h4 { margin: 0 0 8px; font-size: 1rem; color: var(--navy-900); }
.content-card p { font-size: 0.85rem; color: var(--gray-500); margin: 0 0 10px; }
.content-card .meta { font-size: 0.78rem; color: var(--gray-500); }

/* ---------- Page header (interior pages) - fresh & modern ---------- */
.page-header {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 58px 0 54px;
  background:
    radial-gradient(520px 280px at 90% -10%, rgba(247,148,29,0.30), transparent 65%),
    radial-gradient(720px 400px at 4% 120%, rgba(22,74,146,0.65), transparent 62%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
  border-bottom: 4px solid; border-image: linear-gradient(90deg, var(--orange-500), rgba(247,148,29,0) 65%) 1;
}
/* pola titik + cincin dekoratif */
.page-header::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 82% 28%, transparent 0 96px, rgba(255,255,255,0.14) 97px 98px, transparent 99px 152px, rgba(247,148,29,0.28) 153px 154px, transparent 155px),
    radial-gradient(rgba(255,255,255,0.2) 1.2px, transparent 1.7px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
/* kartu kaca berisi ikon sesuai menu */
.page-header::after {
  content: "\f0b1"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 58px; line-height: 1;
  position: absolute; z-index: -1; pointer-events: none;
  right: max(28px, calc((100% - var(--max-width)) / 2 + 28px)); top: 50%; width: 140px; height: 140px; margin-top: -70px;
  display: grid; place-items: center; border-radius: 30px; color: var(--orange-500);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 44px -18px rgba(3,12,28,0.7), inset 0 1px 0 rgba(255,255,255,0.18);
  transform: rotate(6deg); animation: phFloat 6s ease-in-out infinite;
}
.page-header.ph-loker::after { content: "\f0b1"; }
.page-header.ph-magang::after { content: "\f19d"; }
.page-header.ph-pelatihan::after { content: "\f51c"; }
.page-header.ph-berita::after { content: "\f1ea"; }
.page-header.ph-industri::after { content: "\f275"; }
.page-header.ph-tenaga::after { content: "\f0c0"; }
.page-header.ph-kontak::after { content: "\f0e0"; }
.page-header.ph-cari::after { content: "\f002"; }
@keyframes phFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  margin: 0; font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.15; letter-spacing: -0.015em;
  max-width: 26ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(3,12,28,0.35);
}
.page-header h1::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; margin-top: 16px;
  background: linear-gradient(90deg, var(--orange-500), #ffb454);
}
.page-header p { margin: 16px 0 0; color: rgba(255,255,255,0.85); max-width: 640px; font-size: 1.05rem; line-height: 1.6; }
.breadcrumb {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; max-width: 100%;
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.72); margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.breadcrumb a { color: rgba(255,255,255,0.92); text-decoration: none; transition: color 0.15s ease; }
.breadcrumb a:hover { color: var(--orange-500); }
.breadcrumb a:first-child::before {
  content: "\f015"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.8em; margin-right: 7px;
}
.breadcrumb .bc-sep { display: inline-block; margin: 0 7px; opacity: 0.55; font-size: 0.7em; }
.breadcrumb .bc-sep::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.breadcrumb .bc-current { color: var(--orange-500); font-weight: 700; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1023px) { .page-header::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .page-header::after { animation: none; } }
/* halaman detail loker punya layout hero sendiri */
.page-header.job-hero::after { display: none; }
.page-header.job-hero h1::after { display: none; }
.page-header.job-hero h1 { max-width: none; text-shadow: none; }

/* ---------- Job detail hero (icon avatar + pills, mobile-friendly stacked cards) ---------- */
.job-hero { padding-bottom: 46px; }
.job-hero-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; opacity: 0.85; margin-bottom: 16px; }
.job-hero-back:hover { opacity: 1; text-decoration: underline; }
.job-hero-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.job-hero-icon {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: rgba(255,255,255,0.85);
}
.job-hero-top h1 { margin: 0 0 4px; font-size: 1.55rem; }
.job-hero-top p { margin: 0; opacity: 0.8; font-size: 0.92rem; }
.job-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.job-pill {
  background: rgba(255,255,255,0.14); color: #fff;
  font-size: 0.76rem; font-weight: 700;
  padding: 6px 14px; border-radius: 20px;
}

.job-detail-stack {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}
.job-detail-stack .job-main,
.job-detail-stack .job-side { display: flex; flex-direction: column; gap: 20px; }
.job-detail-stack .form-card:first-child { border-radius: 18px 18px var(--radius-md) var(--radius-md); }

@media (max-width: 900px) {
  .job-detail-stack { grid-template-columns: 1fr; margin-top: -22px; }
  .job-hero-top h1 { font-size: 1.3rem; }
  .job-hero-icon { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy-900); margin-bottom: 6px; }
.form-group .hint { font-size: 0.76rem; color: var(--gray-500); margin-top: 4px; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 0.92rem; font-family: inherit;
  background: #fff;
}
.form-control:focus { outline: none; border-color: var(--navy-700); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 18px; border-radius: 8px; font-size: 0.88rem; margin-bottom: 18px; }
.alert-success { background: #e8f8ee; color: var(--green-600); border: 1px solid #bfe9cf; }
.alert-error { background: #fdeceb; color: #c0392b; border: 1px solid #f5c6c2; }

/* ---------- Pagination ---------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 30px; }
.pagination { display: flex; gap: 6px; }
.pagination a, .pagination span {
  padding: 8px 14px; border-radius: 6px; font-size: 0.85rem;
  background: #fff; border: 1px solid var(--gray-200); color: var(--gray-700);
}
.pagination .active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-500); }
.empty-state i { font-size: 2.4rem; margin-bottom: 14px; color: var(--gray-200); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  padding: 30px 0;
  margin-top: 40px;
}

.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1.5fr 1.2fr 0.9fr 1.1fr;
  align-items: center;
  gap: 24px;
}

.footer-col {
  position: relative;
  padding-left: 28px;
}
.footer-col:first-child { padding-left: 0; }

/* vertical dividers between columns */
.footer-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.18);
}
.footer-col:first-child::before { display: none; }

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 42px; width: auto; flex-shrink: 0; }
.footer-brand .name {
  font-weight: 700;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.2px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-brand .dept { font-size: 0.8rem; opacity: 0.8; margin-top: 2px; }

.footer-address,
.footer-contact { font-size: 0.8rem; display: flex; flex-direction: column; gap: 8px; }
.footer-address div,
.footer-contact div { display: flex; align-items: flex-start; gap: 10px; }
.footer-address i,
.footer-contact i { margin-top: 3px; opacity: 0.85; width: 14px; text-align: center; flex-shrink: 0; }
.footer-address span,
.footer-contact span { opacity: 0.9; line-height: 1.5; }

.footer-social-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-social-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  color: #fff;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--orange-500); }

.footer-copy {
  font-size: 0.76rem;
  opacity: 0.75;
  text-align: right;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
  .two-col-panels, .two-col-panels.ratio-2-1, .two-col-panels.ratio-22-1, .two-col-panels.ratio-1-13 { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .quicklinks-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 900px) {
  .hero { background: var(--navy-900); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title, .hero-desc-title { color: #fff; }
  .hero-desc { color: rgba(255,255,255,0.75); }
  .hero-media { min-height: 260px; }
  .main-nav { display: none; }
  .header-search { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .job-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .quicklinks-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 2.1rem; }
  .form-row { grid-template-columns: 1fr; }
  .promo-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 900px) {
  .footer-row { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .footer-copy { text-align: left; }
  .footer-col:nth-child(1)::before,
  .footer-col:nth-child(3)::before,
  .footer-col:nth-child(5)::before { display: none; }
}

@media (max-width: 560px) {
  .footer-row { grid-template-columns: 1fr; }
  .footer-col { padding-left: 0; }
  .footer-col::before { display: none; }
  .footer-copy { text-align: left; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: var(--navy-900);
  padding: 14px 20px 28px;
  overflow-y: auto; overscroll-behavior: contain;
  /* tersembunyi tapi tetap bisa dianimasikan */
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s; }
body.nav-open { overflow: hidden; }

.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 0.9rem; line-height: 1.25; }
.mobile-nav-brand img { height: 40px; width: auto; }
.mobile-nav-close {
  width: 44px; height: 44px; border: 0; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.3rem; cursor: pointer;
}
.mobile-nav-close:hover, .mobile-nav-close:focus-visible { background: rgba(255,255,255,0.2); outline: none; }

.mobile-nav-links { display: flex; flex-direction: column; margin-top: 8px; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.9); font-size: 1.05rem; font-weight: 700;
  padding: 15px 12px; border-radius: 10px; margin-top: 2px;
  border-left: 4px solid transparent;
}
.mobile-nav-links a i { width: 22px; text-align: center; color: rgba(255,255,255,0.55); }
.mobile-nav-links a:hover, .mobile-nav-links a:active { background: rgba(255,255,255,0.07); }
.mobile-nav-links a.active { background: rgba(255,255,255,0.1); color: #fff; border-left-color: var(--orange-500); }
.mobile-nav-links a.active i { color: var(--orange-500); }

.mobile-nav-account { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); }
.mobile-nav-account a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 16px; border-radius: 10px; font-weight: 700; font-size: 0.98rem;
  color: #fff; border: 2px solid rgba(255,255,255,0.25); word-break: break-word;
}
.mobile-nav-account a.btn-login { background: var(--orange-500); border-color: var(--orange-500); }
.mobile-nav-account a.btn-register { background: transparent; }

.mobile-nav-search { margin-top: 18px; display: flex; }
.mobile-nav-search input { flex: 1; min-width: 0; padding: 13px 14px; border-radius: 10px 0 0 10px; border: none; font-size: 16px; }
.mobile-nav-search button { border: none; background: var(--orange-500); color: #fff; padding: 0 20px; border-radius: 0 10px 10px 0; font-size: 1rem; cursor: pointer; }

/* ---------- Status "Ditutup" (lowongan & pelatihan yang sudah tutup tetap tampil) ---------- */
.tag-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: 20px;
  position: absolute; top: 14px; right: 14px; z-index: 2;
}
.tag-status--closed { background: #fdeceb; color: #c0392b; border: 1px solid #f5c6c2; }
.tag-status--open   { background: #e8f8ee; color: var(--green-600); border: 1px solid #bfe9cf; }
.tag-status.tag-status--inline { position: static; vertical-align: middle; }

.content-card { position: relative; }
.job-card.is-closed { background: #fafbfc; }
.job-card.is-closed .job-icon { background: var(--gray-500); }
.job-card.is-closed h4,
.job-card.is-closed .company,
.job-card.is-closed .meta { opacity: 0.75; }
.job-card.is-closed .badge { background: var(--gray-200); color: var(--gray-500); }
.content-card.is-closed .thumb { background: linear-gradient(135deg, #8b95a5, #5d6778); }
.content-card.is-closed h4,
.content-card.is-closed p { opacity: 0.8; }

/* Tombol nonaktif (pendaftaran ditutup) */
.btn-disabled, .btn-disabled:hover {
  background: var(--gray-200); color: var(--gray-500);
  cursor: not-allowed; border-color: var(--gray-200); box-shadow: none;
}
.form-closed .form-control { background: var(--gray-50); color: var(--gray-500); cursor: not-allowed; }
.form-closed label { opacity: 0.7; }

/* ---------- Akun pencari kerja (header, gerbang "wajib punya akun", ringkasan akun) ---------- */
.header-account { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-account-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700; white-space: nowrap;
  color: var(--navy-800); border: 1px solid var(--gray-200); background: #fff;
}
.header-account-link:hover { border-color: var(--navy-800); }
.header-account-in { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.header-account-in:hover { background: var(--orange-600); border-color: var(--orange-600); }
.header-account-out { color: var(--gray-500); }
@media (max-width: 1200px) {
  .header-account .lbl { display: none; }   /* layar sempit: tinggal ikon */
  .header-account-link { padding: 9px 11px; }
  .header-search input { width: 140px; }
}
@media (max-width: 900px) { .header-account { display: none; } }  /* di HP dipakai menu geser */

.akun-info { background: #eaf2fb; color: var(--navy-800); border: 1px solid #cfe0f5; }
.akun-info a { color: var(--navy-800); text-decoration: underline; }

.akun-gate {
  background: var(--gray-50); border: 1px dashed var(--gray-200);
  border-radius: 12px; padding: 20px; text-align: center;
}
.akun-gate-icon {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%;
  background: #fff4e5; color: var(--orange-600);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.akun-gate p { margin: 0 0 16px; font-size: 0.88rem; color: var(--gray-700); }

.akun-ringkas {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
}
.akun-ringkas-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--gray-500); }
.akun-ringkas-nama { font-weight: 800; color: var(--navy-900); margin-top: 2px; word-break: break-word; }
.akun-ringkas-detail { font-size: 0.82rem; color: var(--gray-500); word-break: break-word; }
.akun-ringkas-link { display: inline-block; margin-top: 8px; font-size: 0.78rem; color: var(--navy-800); text-decoration: underline; }


/* =========================================================
   Penyempurnaan tampilan mobile (situs publik)
   ========================================================= */
@media (max-width: 900px) {
  .header-inner { padding: 10px 16px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    font-size: 1.4rem; -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:hover, .nav-toggle:focus-visible { background: var(--gray-100); outline: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 0 16px; }
  .section { padding: 32px 0; }
  .section-title { font-size: 1.35rem; }
  .section-subtitle { margin-bottom: 20px; font-size: 0.92rem; }

  .brand img { height: 40px; }
  .brand-text .big { font-size: 0.95rem; }

  .hero { padding: 36px 0 44px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .feature-card p { min-height: 0; }

  .page-header { padding: 38px 0 36px; }
  .page-header h1 { font-size: 1.55rem; }
  .page-header h1::after { width: 48px; height: 3px; margin-top: 12px; }
  .page-header p { font-size: 0.95rem; margin-top: 12px; }
  .breadcrumb { font-size: 0.76rem; padding: 5px 12px; margin-bottom: 14px; }
  .breadcrumb .bc-current { max-width: 24ch; }
  .page-header.job-hero h1 { font-size: 1.3rem; }

  .form-card { padding: 20px 16px; }
  /* Input >= 16px supaya iOS tidak zoom otomatis saat fokus */
  .form-control, .search-form input, .search-form select, .header-search input { font-size: 16px; }

  .pagination { flex-wrap: wrap; justify-content: center; }
  .list-header { gap: 10px; flex-wrap: wrap; }
}

@media (max-width: 380px) {
  .brand-text .small { display: none; }
  .brand-text .big { font-size: 0.9rem; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Etalase produk lokal: kartu produk yang bisa diklik -> profil industri ---------- */
a.content-card { display: block; color: inherit; text-decoration: none; }
.content-card.is-link { cursor: pointer; }
.content-card .card-more { margin-top: 12px; font-size: 0.8rem; font-weight: 700; color: var(--navy-800); }
.content-card.is-link:hover .card-more { color: var(--orange-500, #f39c12); }
.content-card.is-link:hover .card-more i { transform: translateX(3px); }
.content-card .card-more i { transition: transform 0.2s ease; }
/* Produk yang dituju dari etalase disorot di halaman profil industri */
[id^="produk-"] { scroll-margin-top: 110px; }
.content-card:target { box-shadow: 0 0 0 3px var(--orange-500, #f39c12), var(--shadow-card-hover); }

/* ---------- Profil akun ---------- */
.header-account-link.active { border-color: var(--navy-800); background: #eaf2fb; }
.profil-title { margin: 0 0 4px; font-size: 1.1rem; color: var(--navy-900); display: flex; align-items: center; gap: 8px; }
.profil-title i { color: var(--orange-500); }
.profil-meta { margin: 0 0 18px; font-size: 0.8rem; color: var(--gray-500); }
.profil-card .btn-block { margin-top: 4px; }