/* pages/recruitment.css — 人才招募 (2026-10 改版) */
/* ===== 共用：頁首 ===== */
:root {
  --brand: #0a5bb5;
  --brand-ink: #0b2545;
  --accent: #f08a24;
  --green: #4f8f1f;
  --line: #e2e8f0;
  --text: #334155;
  --muted: #64748b;
}

.breadcrumb {
  max-width: 1200px;
  margin: 87px auto 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0.8rem 1.5rem;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #062a55 url("../../images/hero/hero-network.svg") center / cover no-repeat;
}

.banner-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(4, 29, 61, 0.55) 0%, rgba(4, 29, 61, 0.88) 75%);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 1;
}

.banner-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 20, 50, 0.5);
}

.banner-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 2px;
  background: var(--accent);
}

.recruitment-body {
  background: #f4f8fc;
  color: var(--text);
}

/* ===== 職缺 ===== */
.jobs-container {
  max-width: 1200px;
  box-sizing: border-box;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 14px;
  padding: 1.8rem 2rem 1.6rem;
  margin: 0;
  box-shadow: 0 4px 18px rgba(15, 40, 80, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:nth-child(2) { border-top-color: #1593a6; }
.job-card:nth-child(3) { border-top-color: var(--green); }
.job-card:nth-child(4) { border-top-color: var(--accent); }

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 40, 80, 0.12);
}

.job-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  color: var(--brand-ink);
}

.job-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px #e8f1fc;
}

.job-card:nth-child(2) .job-title::before { background: #1593a6; box-shadow: 0 0 0 5px #e3f5f7; }
.job-card:nth-child(3) .job-title::before { background: var(--green); box-shadow: 0 0 0 5px #eef6e6; }
.job-card:nth-child(4) .job-title::before { background: var(--accent); box-shadow: 0 0 0 5px #fdf0e3; }

.job-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.job-description h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.job-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.job-content li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  line-height: 1.6;
}

.job-content li::before {
  content: "\2713";
  position: absolute;
  left: 0.1rem;
  color: var(--green);
  font-weight: 700;
}

.job-requirements {
  margin-top: auto;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: #f6f9fc;
  border: 1px dashed #cdd9e6;
  font-size: 0.95rem;
}

.job-requirements p {
  margin: 0.25rem 0;
  line-height: 1.7;
}

.job-requirements strong {
  color: var(--brand-ink);
}

/* ===== 福利 ===== */
.benefits-container {
  background: linear-gradient(180deg, #fff 0%, #eef4fa 100%);
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.benefits-container h2,
.contact-container h2 {
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1.6rem;
  color: var(--brand-ink);
}

.benefits-container h2::after,
.contact-container h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.7rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #3fb5e8);
}

.benefits-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 0;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  padding: 1.6rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: 0 4px 14px rgba(15, 40, 80, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(15, 40, 80, 0.1);
}

.benefit-item i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #3fa2f5, var(--brand));
}

.benefit-item:nth-child(2) i { background: linear-gradient(135deg, #ffb062, var(--accent)); }
.benefit-item:nth-child(3) i { background: linear-gradient(135deg, #a4d65e, var(--green)); }
.benefit-item:nth-child(4) i { background: linear-gradient(135deg, #5fd6df, #1593a6); }
.benefit-item:nth-child(5) i { background: linear-gradient(135deg, #ffd166, #d99611); }

/* ===== 聯絡方式 ===== */
.contact-container {
  background: #062a55 url("../../images/hero/hero-network.svg") center / cover no-repeat;
  position: relative;
  padding: 3.5rem 1.5rem;
  color: #fff;
}

.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 29, 61, 0.86);
}

.contact-container > * {
  position: relative;
}

.contact-container h2 {
  color: #fff;
}

.contact-container p {
  max-width: 560px;
  box-sizing: border-box;
  margin: 0 auto 0.7rem;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  color: #e6eef8;
}

.contact-container p:last-child {
  margin-bottom: 0;
}

.contact-container strong {
  color: #ffd166;
}

.contact-container i {
  color: #9fd3ff;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* ===== 響應式 ===== */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.7rem 1rem;
  }

  .banner-container {
    height: 210px;
  }

  .jobs-container {
    grid-template-columns: 1fr;
    margin: 2rem auto;
    padding: 0 0.8rem;
  }

  .job-card {
    padding: 1.4rem 1.2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-container,
  .contact-container {
    padding: 2.5rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    margin-top: 70px;
  }
}
