/* ================================
   CAREERS PAGE
================================ */

.page-careers {
  --border-color: rgba(0, 0, 0, 0.08);
  --muted-text: #666;
}

/* Intro text */
.page-careers .lead {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

/* Job content (from RichText) */
.page-careers .content-narrow h2 {
  margin-top: 2.5rem;
  font-size: 1.4rem;
}

.page-careers .content-narrow ul {
  padding-left: 1.2rem;
  margin: 1rem 0 2rem;
}

.page-careers .content-narrow li {
  margin-bottom: 0.6rem;
}

/* Divider */
.page-careers .section-divider {
  margin: 3rem 0;
}

/* ================================
   APPLICATION FORM
================================ */

.page-careers form {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.page-careers .form-field {
  display: flex;
  width: 70%;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.page-careers label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #222;
}

.page-careers input[type="text"],
.page-careers input[type="email"],
.page-careers input[type="file"] {
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.page-careers input[type="file"] {
  padding: 0.5rem;
  font-size: 0.85rem;
}

.page-careers input:focus {
  outline: none;
  border-color: #000;
}

/* ================================
   SUBMIT BUTTON
================================ */

.page-careers .career-apply-btn {
  margin-top: 1.2rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.page-careers .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ================================
   MOBILE OPTIMIZATION
================================ */

@media (max-width: 768px) {
  .page-careers .content-narrow {
    padding: 0 1rem;
  }

  .page-careers h1 {
    font-size: 1.6rem;
  }

  .page-careers h2 {
    font-size: 1.25rem;
  }

  .page-careers .btn-primary {
    width: 100%;
  }
}
/* Restore lists inside Wagtail rich text */
.content-narrow ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.content-narrow ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.content-narrow li {
  margin-bottom: 0.5rem;
}
