/* ============================================================
   Triple S Production - Hiring Portal frontend (v3)
   Everything is scoped under .tsp-scope so Elementor's global
   styles and this file never fight each other.
   ============================================================ */

:root {
  --tsp-purple: #730065;
  --tsp-red: #C9003C;
  --tsp-gradient: linear-gradient(135deg, #730065 0%, #C9003C 100%);
  --tsp-text: #111827;
  --tsp-muted: #6B7280;
  --tsp-border: #E5E7EB;
  --tsp-radius: 16px;
  --tsp-radius-sm: 8px;
  --tsp-shadow-sm: 0 2px 4px rgba(0,0,0,.03);
  --tsp-shadow-md: 0 10px 30px rgba(0,0,0,.06);
  --tsp-font: "Manrope";
  --tsp-font-head: "Manrope";
}

.tsp-scope {
  font-family: var(--tsp-font);
  color: var(--tsp-text);
  line-height: 1.6;
  font-size: 15px;
}
.tsp-scope *, .tsp-scope *::before, .tsp-scope *::after { box-sizing: border-box; }
.tsp-scope h1, .tsp-scope h2, .tsp-scope h3, .tsp-scope h4 {
  font-family: var(--tsp-font-head);
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  margin: 0;
}
.tsp-scope.tsp-scrope-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 32px 90px;
}
.tsp-scope a { text-decoration: none; color: inherit; transition: all .25s ease; }
.tsp-scope p { margin: 0 0 14px; }

/* ---------- Buttons ---------- */
.tsp-scope .tsp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  font-family: var(--tsp-font-head); font-weight: 600; font-size: 15px;
  line-height: 1; text-align: center; transition: all .3s ease;
}
.tsp-scope .tsp-btn-primary { color: #fe5b00; }
.tsp-scope .tsp-btn-primary:hover {color: #fe5b00; }
.tsp-scope .tsp-btn-white { background: #fff; color: var(--tsp-purple); box-shadow: var(--tsp-shadow-md); }
.tsp-scope .tsp-btn-white:hover { transform: translateY(-2px); }
.tsp-scope .tsp-btn-sm { padding: 10px 22px; font-size: 14px; }
.tsp-scope .tsp-btn-block { width: 100%; }

/* ---------- Department filter chips ---------- */
.tsp-scope .tsp-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tsp-scope .tsp-chip {
  padding: 8px 18px; border-radius: 50px; border: 1px solid var(--tsp-border);
  background: #fff; font-family: var(--tsp-font); font-size: 14px; font-weight: 500;
  color: var(--tsp-muted); cursor: pointer; transition: all .25s ease;
}
.tsp-scope .tsp-chip:hover { border-color: var(--tsp-purple); color: var(--tsp-purple); }
.tsp-scope .tsp-chip.is-active { background: var(--tsp-gradient); border-color: transparent; color: #fff; }

/* ---------- Jobs list / grid ---------- */
.tsp-scope .tsp-jobs--list { display: flex; flex-direction: column; gap: 20px; }
.tsp-scope .tsp-jobs--grid { display: grid; gap: 20px; }
.tsp-scope .tsp-jobs--grid.tsp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tsp-scope .tsp-jobs--grid.tsp-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tsp-scope .tsp-jobs--grid.tsp-cols-4 { grid-template-columns: repeat(4, 1fr); }

.tsp-scope .tsp-job-card {
  background: #fff; border: 1px solid var(--tsp-border); border-radius: var(--tsp-radius);
  padding: 24px 28px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; box-shadow: var(--tsp-shadow-sm); transition: all .3s ease;
}
.tsp-scope .tsp-job-card:hover { transform: translateY(-3px); border-color: var(--tsp-purple); box-shadow: var(--tsp-shadow-md); }
.tsp-scope .tsp-jobs--grid .tsp-job-card { flex-direction: column; align-items: stretch; }
.tsp-scope .tsp-job-card-inner { display: flex; align-items: flex-start; gap: 20px; }
.tsp-scope .tsp-job-icon {
  width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; color: var(--tsp-purple);
}
.tsp-scope .tsp-job-icon svg { width: 24px; height: 24px; }
.tsp-scope .tsp-job-icon[data-dept="marketing"] { background: #f3e5f5; color: #730065; }
.tsp-scope .tsp-job-icon[data-dept="production"] { background: #e3f2fd; color: #1971c2; }
.tsp-scope .tsp-job-icon[data-dept="design"] { background: #e0f2f1; color: #087f5b; }
.tsp-scope .tsp-job-icon[data-dept="content"] { background: #fff0f6; color: #c2255c; }
.tsp-scope .tsp-job-icon[data-dept="sales"] { background: #fff4e6; color: #d9480f; }

.tsp-scope .tsp-job-title { font-size: 20px; margin-bottom: 8px; }
.tsp-scope .tsp-job-title a:hover { color: #fe5b00; }
.tsp-scope .tsp-job-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; font-weight: 500; color: var(--tsp-muted); margin-bottom: 8px; }
.tsp-scope .tsp-job-excerpt { font-size: 14px; color: var(--tsp-muted); margin: 0; }
.tsp-scope .tsp-job-action { flex-shrink: 0; }
.tsp-scope .tsp-empty {
  text-align: center; padding: 60px 24px; background: #fff;
  border: 1px solid var(--tsp-border); border-radius: var(--tsp-radius); color: var(--tsp-muted);
}

/* ---------- Single job page container ---------- */
/*.tsp-single-main--boxed {*/
/*  max-width: 1200px;*/
/*  margin: 0 auto;*/
/*  padding: 48px 32px 90px;*/
/*}*/
@media (max-width: 1024px) { .tsp-scope.tsp-scrope-wrapper { padding: 32px 24px 70px; } }
@media (max-width: 768px)  { .tsp-scope.tsp-scrope-wrapper { padding: 24px 18px 50px; } }

/* ---------- Job header ---------- */
.tsp-job-header { padding: 150px 200px; margin-bottom: 40px; }
.tsp-job-header--dark { background-image: url(https://linen-ram-310185.hostingersite.com/wp-content/uploads/2026/09/hero-bg.png);background-position: center center; background-repeat: no-repeat; background-size: cover; color: #fff; }
.tsp-job-header--dark .tsp-meta-label { color: rgba(255,255,255,.75); }
.tsp-job-header--light { background: #FAFBFC; border: 1px solid var(--tsp-border); }
.tsp-back { display: inline-block; font-size: 14px; font-weight: 500; margin-bottom: 20px; opacity: .9; color:white !important;}
.tsp-back:hover { opacity: 1; }
.tsp-job-h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px; color: inherit; }
.tsp-header-meta {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.tsp-job-header--light .tsp-header-meta { border-top-color: var(--tsp-border); }
.tsp-meta-item { display: flex; flex-direction: column; }
.tsp-meta-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; color: var(--tsp-muted); }
.tsp-meta-val { font-size: 16px; font-weight: 600; }
.tsp-header-cta { margin-top: 28px; }

/* ---------- Two column layout ---------- */
.tsp-scope .tsp-job-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }

/* ---------- Details ---------- */
.tsp-scope .tsp-job-details h3 { font-size: 22px; margin: 32px 0 14px; }
.tsp-scope .tsp-job-details h3:first-child { margin-top: 0; }
.tsp-scope .tsp-job-details p, .tsp-scope .tsp-list li { font-size: 16px; color: var(--tsp-muted); }
.tsp-scope .tsp-list { padding-left: 22px; margin: 0 0 24px; }
.tsp-scope .tsp-list li { margin-bottom: 10px; }
.tsp-scope .tsp-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tsp-scope .tsp-skill { padding: 6px 14px; border-radius: 50px; background: #f3f4f6; font-size: 13px; font-weight: 500; }

/* ---------- Apply form ---------- */
.tsp-scope .tsp-apply-box {
  background: #fff; border: 1px solid var(--tsp-border); border-radius: var(--tsp-radius);
  padding: 32px; box-shadow: var(--tsp-shadow-md);
}
.tsp-scope .tsp-apply-box.is-sticky { position: sticky; top: 100px; }
.tsp-scope .tsp-apply-title { font-size: 22px; margin-bottom: 22px; }
.tsp-scope .tsp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tsp-scope .tsp-field { display: flex; flex-direction: column; }
.tsp-scope .tsp-full { grid-column: 1 / -1; }
.tsp-scope .tsp-field label { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.tsp-scope .tsp-field input[type="text"],
.tsp-scope .tsp-field input[type="email"],
.tsp-scope .tsp-field input[type="tel"],
.tsp-scope .tsp-field input[type="url"],
.tsp-scope .tsp-field input[type="file"],
.tsp-scope .tsp-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--tsp-border);
  border-radius: var(--tsp-radius-sm); background: #fff;
  font-family: var(--tsp-font); font-size: 15px; color: var(--tsp-text);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tsp-scope .tsp-field textarea { resize: vertical; }
.tsp-scope .tsp-field input:focus, .tsp-scope .tsp-field textarea:focus {
  outline: none; border-color: var(--tsp-purple); box-shadow: 0 0 0 3px rgba(115,0,101,.1);
}
.tsp-scope .tsp-checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.tsp-scope .tsp-checkbox label { font-size: 13px; font-weight: 400; color: var(--tsp-muted); margin: 0; }
.tsp-scope .tsp-checkbox input { margin-top: 3px; }

/* ---------- Notices ---------- */
.tsp-scope .tsp-notice { padding: 16px 18px; border-radius: var(--tsp-radius-sm); font-size: 14px; margin-bottom: 20px; }
.tsp-scope .tsp-notice--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.tsp-scope .tsp-notice--warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tsp-scope .tsp-job-layout { grid-template-columns: 1fr; gap: 40px; }
  .tsp-scope .tsp-apply-box.is-sticky { position: static; }
  .tsp-scope .tsp-jobs--grid.tsp-cols-3,
  .tsp-scope .tsp-jobs--grid.tsp-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tsp-scope .tsp-jobs--grid { grid-template-columns: 1fr !important; }
  .tsp-scope .tsp-job-card { flex-direction: column; align-items: stretch; padding: 20px; }
  .tsp-scope .tsp-job-card-inner { gap: 14px; }
  .tsp-scope .tsp-job-icon { width: 44px; height: 44px; border-radius: 10px; }
  .tsp-scope .tsp-job-icon svg { width: 20px; height: 20px; }
  .tsp-scope .tsp-job-title { font-size: 17px; }
  .tsp-scope .tsp-job-meta { gap: 8px; font-size: 12px; }
  .tsp-scope .tsp-job-excerpt { display: none; }
  .tsp-scope .tsp-job-action .tsp-btn { width: 100%; }
  .tsp-scope.tsp-job-header { padding: 32px 20px; }
  .tsp-scope .tsp-header-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 20px; padding-top: 20px; }
  .tsp-scope .tsp-form { grid-template-columns: 1fr; }
  .tsp-scope .tsp-apply-box { padding: 22px; }
  .tsp-scope .tsp-job-details h3 { font-size: 19px; }
  .tsp-scope .tsp-job-details p, .tsp-scope .tsp-list li { font-size: 15px; }
}
