/* ==========================================================================
   SKIIN - CAREERS page only  (careers-page/careers.css)
   Banner, .sk-title, .sk-field, .sk-btn, .sk-form-msg, .sk-hp and the CF7
   input/submit look are GLOBAL. This file = job list, empty state and the
   application layout.
   ========================================================================== */

/* ---------- intro ---------- */
.sk-careers__head { max-width: 820px; margin-bottom: 40px; }
.sk-careers__head p { font-size: 16px; }
.sk-careers__jobs { padding-bottom: clamp(24px, 3vw, 48px); }

/* ---------- job list: one card per role ---------- */
.sk-jobs { display: grid; gap: 16px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.sk-job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border); border-left: 3px solid var(--color-rose-accent);
  border-radius: var(--sk-radius-lg);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.sk-job:hover { border-color: var(--color-rose-accent); box-shadow: 0 12px 30px rgba(35, 31, 32, .06); }
.sk-job__title { margin: 0 0 10px; font-size: 22px; font-weight: 500; line-height: 1.3; }
.sk-job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px !important; }
.sk-job__tag {
  display: inline-block; padding: 4px 12px; font-size: 12px; font-weight: 600; line-height: 1.5;
  color: var(--sk-dark); background: var(--color-bg-blush); border-radius: 999px;
}
.sk-job__tag--loc { background: var(--color-bg-beige); }
.sk-job__summary { max-width: 70ch; font-size: 15px; color: var(--color-body); }

/* "View details" (native <details>, no JS) */
.sk-job__details { margin-top: 8px; }
.sk-job__details summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--color-rose-accent);
}
.sk-job__details summary::-webkit-details-marker { display: none; }
.sk-job__details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.sk-job__details[open] summary::after { content: "\2212"; }
.sk-job__body { max-width: 70ch; padding-top: 12px; font-size: 15px; line-height: 1.75; }
.sk-job__body ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.sk-job__body li { margin-bottom: 6px; }

/* ---------- empty state ---------- */
.sk-jobs-empty {
  max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 48px);
  text-align: center; background: var(--color-bg-cream); border-radius: var(--sk-radius-lg);
}
.sk-jobs-empty h2 { margin: 0 0 10px; font-size: 24px; font-weight: 500; }
.sk-jobs-empty .sk-btn { margin-top: 10px; }

/* ---------- application: text left, form card right ---------- */
.sk-careers__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.sk-careers__intro p { font-size: 16px; }
.sk-careers__mail { margin-top: 18px !important; padding-top: 18px; border-top: 1px solid var(--color-border); font-size: 15px !important; }
.sk-page .sk-careers__mail a { color: var(--sk-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sk-page .sk-careers__mail a:hover { color: var(--color-rose-accent); }

.sk-careers__card { padding: clamp(24px, 3.4vw, 44px); background: var(--color-bg-cream); border-radius: var(--sk-radius-lg); }
.sk-careers__form { display: grid; gap: 16px; }
.sk-careers__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sk-careers__form .sk-btn { justify-self: start; }

/* native select inside the global .sk-field: custom arrow, same height as the inputs */
.sk-careers__select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 18px center / 16px no-repeat;
}

/* Contact Form 7 inside the card (same layout, no Bootstrap) */
.sk-careers__card .wpcf7-form > p, .sk-careers__card .sk-careers__row p { margin: 0 0 16px; }
.sk-careers__card .sk-careers__row p { margin: 0; }
.sk-careers__card .sk-careers__row { margin-bottom: 16px; }
.sk-careers__card .wpcf7-form br { display: none; }
.sk-careers__card .wpcf7-form-control-wrap { display: block; }
.sk-careers__card .wpcf7 input[type="text"], .sk-careers__card .wpcf7 input[type="email"],
.sk-careers__card .wpcf7 input[type="tel"], .sk-careers__card .wpcf7 textarea { margin-bottom: 0; }
.sk-careers__card .wpcf7 select {
  display: block; width: 100%; min-height: 52px; padding: 14px 44px 14px 20px;
  font-family: var(--font-main); font-size: 15px; color: var(--color-body);
  border: 1px solid var(--color-border); border-radius: 12px; -webkit-appearance: none; appearance: none;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 18px center / 16px no-repeat;
}
.sk-careers__label { margin: 0 0 6px !important; font-size: 14px; color: var(--sk-dark); }
.sk-careers__card .wpcf7 input[type="file"] {
  display: block; width: 100%; padding: 12px; font-size: 14px;
  background: var(--color-white); border: 1px dashed var(--color-rose-accent); border-radius: 12px;
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 991px) {
  .sk-careers__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .sk-job { grid-template-columns: 1fr; padding: 22px 20px; }
  .sk-job__cta .sk-btn { width: 100%; }
}
@media (max-width: 575px) {
  .sk-careers__row { grid-template-columns: 1fr; }
  .sk-careers__form .sk-btn { justify-self: stretch; }
}
