/**
 * Single job listing redesign — matches modern homepage palette
 * --modern-violet #7c6cf0, soft lilac page wash
 */
.single-job_listing .content-section {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(124, 108, 240, 0.07), transparent 58%),
    linear-gradient(180deg, #fbfafd 0%, #f8f7fb 45%, #f7f6fb 100%);
}

.single-job_listing .single-job-page-wrap.sjl-redesign {
  --sjl-ink: #22263a;
  --sjl-muted: #75798c;
  --sjl-violet: #7c6cf0;
  --sjl-violet-deep: #6556d8;
  --sjl-lilac: #f0eef8;
  --sjl-line: rgba(110, 100, 170, 0.12);
  --sjl-shadow: 0 12px 32px -20px rgba(50, 40, 90, 0.18);
  position: relative;
  max-width: 1180px !important;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem !important;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--sjl-ink);
}

/* ── Two columns: main + sticky sidebar ───────────────── */
.sjl-redesign .sjl-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: start;
}

.sjl-redesign .sjl-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sjl-redesign .sjl-sidebar {
  position: sticky;
  top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 5;
}

/* ── Hero (left column only) ──────────────────────────── */
.sjl-redesign .sjl-hero.single-job-header-card {
  margin: 0 !important;
  border-radius: 22px !important;
  border: 1px solid rgba(124, 108, 240, 0.14) !important;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(124, 108, 240, 0.12), transparent 46%),
    radial-gradient(90% 70% at 100% 0%, rgba(196, 122, 154, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 52%, #f5f3fa 100%) !important;
  box-shadow: 0 14px 34px -22px rgba(50, 40, 90, 0.24) !important;
  overflow: hidden;
  position: relative;
}

.sjl-redesign .sjl-hero.single-job-header-card::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #8474f0 0%, #7c6cf0 45%, #6d5ce0 100%) !important;
  border: 0 !important;
  z-index: 2;
}

.sjl-redesign .sjl-hero .single-job-header-content {
  padding: 1.35rem 1.25rem 1.1rem !important;
  padding-right: 4.75rem !important;
}

.sjl-redesign .sjl-hero .single-job-header-badges {
  top: 0.85rem !important;
  right: 0.85rem !important;
}

.sjl-redesign .sjl-hero .single-job-header-badges .jobcv-views-badge-card {
  height: 1.35rem !important;
  min-width: 2.2rem !important;
  padding: 0 0.4rem !important;
  font-size: 0.68rem !important;
}

.sjl-redesign .sjl-hero-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Logo tile: rounded square, real company mark, no avatar-crop chrome */
.sjl-redesign .sjl-hero-logo,
.sjl-redesign .sjl-hero-logo.single-job-logo-cell {
  flex: 0 0 76px;
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  height: 76px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.sjl-redesign .sjl-logo-link {
  display: block;
  width: 76px;
  height: 76px;
  text-decoration: none;
  border-radius: 14px;
  line-height: 0;
  filter: none !important;
}

.sjl-redesign .sjl-logo-tile {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(110, 100, 170, 0.14);
  box-shadow: 0 1px 2px rgba(50, 40, 90, 0.06);
  overflow: hidden;
}

.sjl-redesign .sjl-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
}

.sjl-redesign .sjl-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(145deg, #8474f0, #6d5ce0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.sjl-redesign .sjl-hero-main {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0.1rem;
}

.sjl-redesign .sjl-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.sjl-redesign .sjl-new-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: rgba(107, 74, 239, 0.1);
  color: var(--sjl-violet, #7c6cf0);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: none;
}

.sjl-redesign .sjl-hero .single-job-title,
.sjl-redesign .sjl-hero .single-job-header-card h1 {
  margin: 0 !important;
  font-size: 1.45rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  color: var(--sjl-ink, #22263a) !important;
  text-shadow: none !important;
}

.sjl-redesign .sjl-hero .single-job-title::after {
  display: none !important;
}

.sjl-redesign .sjl-company-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  color: var(--sjl-muted, #75798c);
  font-weight: 500;
}

.sjl-redesign .sjl-company-line a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.sjl-redesign .sjl-company-line a:hover {
  color: var(--sjl-violet-deep, #6556d8);
}

.sjl-redesign .sjl-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--sjl-violet, #7c6cf0);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--sjl-lilac, #f0eef8);
}

.sjl-redesign .sjl-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0;
}

.sjl-redesign .sjl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--sjl-lilac, #f0eef8);
  border: 1px solid rgba(124, 108, 240, 0.18);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sjl-violet-deep, #6556d8);
}

.sjl-redesign .sjl-pill svg {
  display: block;
  flex-shrink: 0;
  margin: 0;
  color: var(--sjl-violet, #7c6cf0);
}

/* Contact / detail icon tiles — keep glyphs optically centered */
.sjl-redesign .sjl-contact-ico,
.sjl-redesign .sjl-contacts-card span[style*="linear-gradient"] {
  display: inline-grid !important;
  place-items: center !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
}

.sjl-redesign .sjl-contact-ico svg,
.sjl-redesign .sjl-contacts-card span[style*="linear-gradient"] svg {
  display: block !important;
  margin: 0 !important;
}

.sjl-redesign .jobcv-detail-chip svg,
.sjl-redesign .jobcv-detail-chip-requirement svg,
.sjl-redesign .jobcv-detail-chip-offer svg {
  display: block !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* Meta grid — icon above, label, value; 6 across */
.sjl-redesign .sjl-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 0.65rem 0.5rem;
  margin-top: 0.95rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--sjl-line, rgba(110, 100, 170, 0.12));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sjl-redesign .sjl-meta-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  min-width: 0;
}

.sjl-redesign .sjl-meta-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  background: rgba(124, 108, 240, 0.12);
  color: #6a5bd4;
  padding: 0;
  margin: 0 0 0.15rem;
  display: grid;
  place-items: center;
  line-height: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
  flex-shrink: 0;
}

.sjl-redesign .sjl-meta-icon svg {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  flex-shrink: 0;
}

.sjl-redesign .sjl-meta-cell:nth-child(4n + 1) .sjl-meta-icon {
  background: rgba(124, 108, 240, 0.14);
  color: #6a5bd4;
}

.sjl-redesign .sjl-meta-cell:nth-child(4n + 2) .sjl-meta-icon {
  background: rgba(107, 143, 191, 0.16);
  color: #5a7aa6;
}

.sjl-redesign .sjl-meta-cell:nth-child(4n + 3) .sjl-meta-icon {
  background: rgba(196, 122, 154, 0.15);
  color: #a86684;
}

.sjl-redesign .sjl-meta-cell:nth-child(4n + 4) .sjl-meta-icon {
  background: rgba(106, 171, 144, 0.16);
  color: #56967c;
}

.sjl-redesign .sjl-meta-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--sjl-muted, #75798c);
  line-height: 1.2;
}

.sjl-redesign .sjl-meta-value {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sjl-ink, #22263a);
  line-height: 1.3;
  word-break: break-word;
}

.sjl-redesign .sjl-hero-extras {
  margin-top: 0.75rem;
}

.sjl-redesign .sjl-hero-extras .card-tags .tag,
.sjl-redesign .sjl-hero-extras .single-job-language-chip {
  font-size: 0.72rem !important;
  padding: 0.22rem 0.55rem !important;
}

.sjl-redesign .single-job-rating-box,
.sjl-redesign .single-job-leave-review {
  margin-top: 0.75rem !important;
  padding: 0.75rem 0.9rem !important;
}

/* ── Tabs (underline style, panel switch) ─────────────── */
.sjl-redesign .sjl-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0;
  padding: 0 0.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3fa 100%);
  border: 1px solid rgba(124, 108, 240, 0.14);
  border-radius: 16px;
  box-shadow: var(--sjl-shadow, 0 12px 32px -20px rgba(50, 40, 90, 0.18));
}

.sjl-redesign .sjl-tabs::-webkit-scrollbar {
  display: none;
}

.sjl-redesign .sjl-tabs .sjl-tab,
.sjl-redesign .sjl-tabs a {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.sjl-redesign .sjl-tabs .sjl-tab:hover,
.sjl-redesign .sjl-tabs a:hover {
  background: transparent;
  color: var(--sjl-violet-deep, #6556d8);
}

.sjl-redesign .sjl-tabs .sjl-tab.is-active,
.sjl-redesign .sjl-tabs a.is-active {
  background: rgba(124, 108, 240, 0.08);
  color: var(--sjl-violet-deep, #6556d8);
  border-bottom-color: var(--sjl-violet, #7c6cf0);
}

.sjl-redesign .sjl-tab-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.sjl-redesign .sjl-tab-panels .sjl-panel:not(.is-active),
.sjl-redesign .sjl-tab-panels .sjl-panel[hidden] {
  display: none !important;
}

.sjl-redesign .sjl-tab-panels .sjl-panel.is-active {
  display: block !important;
}

/* ── Main section cards ───────────────────────────────── */
.sjl-redesign .sjl-main .single-job-section-card,
.sjl-redesign .sjl-main .single-job-details-card,
.sjl-redesign .sjl-main .job-share-card,
.sjl-redesign .sjl-main .single-job-reviews-section,
.sjl-redesign .sjl-main .jobcv-custom-poster-card,
.sjl-redesign .sjl-main .sjl-contacts-card {
  margin-bottom: 0 !important;
  padding: 1.15rem 1.25rem !important;
  border-radius: 20px !important;
  border: 1px solid rgba(120, 110, 160, 0.1) !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), transparent 46%),
    linear-gradient(180deg, #fff 50%, #f5f3fa 100%) !important;
  box-shadow: 0 12px 30px -22px rgba(50, 40, 90, 0.22) !important;
  position: relative;
  overflow: hidden;
}

.sjl-redesign .sjl-main .single-job-section-card::after,
.sjl-redesign .sjl-main .single-job-details-card::after,
.sjl-redesign .sjl-main .sjl-contacts-card::after {
  display: none;
}

.sjl-redesign .sjl-main > .jobcv-custom-poster-card,
.sjl-redesign .sjl-main > .single-job-reviews-section,
.sjl-redesign .sjl-main > .job-share-card {
  margin-top: 0.85rem !important;
}

.sjl-redesign .sjl-main .single-job-section-card h2::before,
.sjl-redesign .sjl-section-heading::before {
  display: none !important;
  content: none !important;
}

.sjl-redesign .sjl-section-heading,
.sjl-redesign .sjl-main .single-job-section-card h2,
.sjl-redesign .sjl-main .single-job-details-title,
.sjl-redesign .sjl-main .job-share-title {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem !important;
  font-size: 1.05rem !important;
  font-weight: 750 !important;
  color: var(--sjl-ink, #22263a) !important;
  line-height: 1.25 !important;
}

.sjl-redesign .sjl-section-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  min-width: 1.55rem;
  min-height: 1.55rem;
  border-radius: 0.45rem;
  background: rgba(124, 108, 240, 0.12);
  color: var(--sjl-violet, #7c6cf0);
  line-height: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sjl-redesign .sjl-section-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0;
}

.sjl-redesign .sjl-main .single-job-description,
.sjl-redesign .sjl-main .job-content {
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: #3a3f55 !important;
}

.sjl-redesign .sjl-main .jobcv-detail-chip,
.sjl-redesign .sjl-main .jobcv-detail-chip-requirement,
.sjl-redesign .sjl-main .jobcv-detail-chip-offer {
  width: auto !important;
  font-size: 0.78rem !important;
  padding: 0.4rem 0.7rem !important;
  font-weight: 600 !important;
}

.sjl-redesign .sjl-main .single-job-details-grid {
  gap: 0.75rem !important;
}

.sjl-redesign .sjl-main .single-job-detail-label {
  font-size: 0.72rem !important;
}

.sjl-redesign .sjl-main .single-job-detail-value {
  font-size: 0.875rem !important;
}

/* ── Sidebar cards ────────────────────────────────────── */
.sjl-redesign .sjl-side-card {
  background: linear-gradient(180deg, #fff 52%, #f5f3fa 100%);
  border: 1px solid rgba(120, 110, 160, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 30px -22px rgba(50, 40, 90, 0.22);
  padding: 0.95rem 1rem;
}

.sjl-redesign .sjl-cta-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(124, 108, 240, 0.16), transparent 55%),
    linear-gradient(180deg, #fff 45%, #f3f1f9 100%);
  border-color: rgba(124, 108, 240, 0.18);
}

.sjl-redesign .sjl-overview-card {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(107, 143, 191, 0.12), transparent 55%),
    linear-gradient(180deg, #fff 50%, #f1f5fa 100%);
}

.sjl-redesign .sjl-steps-card {
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(106, 171, 144, 0.12), transparent 55%),
    linear-gradient(180deg, #fff 45%, #f1f7f4 100%);
}

.sjl-redesign .sjl-side-card h3 {
  margin: 0 0 0.7rem;
  font-size: 0.875rem;
  font-weight: 750;
  color: var(--sjl-ink, #22263a);
}

.sjl-redesign .sjl-cta-card .single-job-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  margin: 0 !important;
}

.sjl-redesign .sjl-cta-card .single-job-actions .btn,
.sjl-redesign .sjl-cta-card .single-job-actions a.btn,
.sjl-redesign .sjl-cta-card .single-job-actions button.btn {
  width: 100% !important;
  flex: none !important;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem !important;
  padding: 0.72rem 1rem !important;
  border-radius: 999px !important;
  line-height: 1.25 !important;
}

.sjl-redesign .sjl-cta-card .single-job-actions .btn-primary {
  background: linear-gradient(135deg, #8474f0, #6d5ce0) !important;
  border-color: transparent !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px -10px rgba(109, 92, 224, 0.65) !important;
}

.sjl-redesign .sjl-cta-card .single-job-actions .btn-secondary,
.sjl-redesign .sjl-cta-card .single-job-actions .like-job-btn {
  background: #fff !important;
  color: var(--sjl-violet, #7c6cf0) !important;
  border: 1.5px solid rgba(124, 108, 240, 0.28) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.sjl-redesign .sjl-overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sjl-redesign .sjl-overview-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.3;
}

.sjl-redesign .sjl-ov-icon {
  color: var(--sjl-violet, #7c6cf0);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  line-height: 0;
  margin: 0;
  align-self: center;
}

.sjl-redesign .sjl-ov-icon svg {
  display: block;
  width: 13px;
  height: 13px;
  margin: 0;
}

.sjl-redesign .sjl-overview-list .sjl-ov-label {
  color: var(--sjl-muted, #75798c);
  font-weight: 600;
  align-self: center;
  min-width: 0;
}

.sjl-redesign .sjl-overview-list .sjl-ov-value {
  color: var(--sjl-ink, #22263a);
  font-weight: 700;
  text-align: right;
  justify-self: stretch;
  min-width: 0;
  max-width: none;
  hyphens: auto;
  overflow-wrap: anywhere;
}

/* Steps timeline */
.sjl-redesign .sjl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: sjl-step;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.sjl-redesign .sjl-steps li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  counter-increment: sjl-step;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.7rem;
}

.sjl-redesign .sjl-steps li:last-child {
  padding-bottom: 0;
}

.sjl-redesign .sjl-steps li::before {
  content: counter(sjl-step);
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #8474f0, #6d5ce0);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 10px -4px rgba(109, 92, 224, 0.65);
  box-sizing: border-box;
  padding: 0;
}

.sjl-redesign .sjl-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.68rem;
  top: 1.45rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(124, 108, 240, 0.45), rgba(124, 108, 240, 0.08));
}

/* Contacts empty + login gate */
.sjl-redesign .sjl-contacts-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0eef8 0%, #fff 70%);
  border: 1px solid rgba(124, 108, 240, 0.18);
}

.sjl-redesign .sjl-contacts-empty-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #8474f0, #6d5ce0);
  box-shadow: 0 8px 18px -8px rgba(109, 92, 224, 0.7);
}

.sjl-redesign .sjl-contacts-empty-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sjl-redesign .sjl-contacts-empty-copy strong {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--sjl-ink, #22263a);
}

.sjl-redesign .sjl-contacts-empty-copy span {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--sjl-muted, #75798c);
}

.sjl-redesign .sjl-contacts-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #fff !important;
  color: var(--sjl-violet, #7c6cf0) !important;
  border: 1.5px solid rgba(124, 108, 240, 0.28) !important;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sjl-redesign .sjl-contacts-empty-btn:hover {
  background: rgba(124, 108, 240, 0.06) !important;
  border-color: rgba(124, 108, 240, 0.4) !important;
  transform: none;
  box-shadow: none !important;
}

.sjl-redesign .sjl-contacts-empty-btn:disabled,
.sjl-redesign .sjl-contacts-empty-btn.applied {
  opacity: 0.85;
  cursor: default;
}

.sjl-redesign .sjl-contact-gate {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0eef8 0%, #fff 80%);
  border: 1px solid rgba(124, 108, 240, 0.18);
}

.sjl-redesign .sjl-contact-gate-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8474f0, #6d5ce0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.sjl-redesign .sjl-contact-gate-text {
  flex: 1;
  min-width: 0;
}

.sjl-redesign .sjl-contact-gate-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sjl-ink, #22263a);
  margin-bottom: 0.2rem;
}

.sjl-redesign .sjl-contact-gate-text span {
  font-size: 0.875rem;
  color: var(--sjl-muted, #75798c);
  line-height: 1.55;
}

.sjl-redesign .sjl-contact-gate-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(135deg, #8474f0, #6d5ce0);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 8px 18px -10px rgba(109, 92, 224, 0.65);
  transition: box-shadow 0.2s, transform 0.15s;
}

.sjl-redesign .sjl-contact-gate-btn:hover {
  box-shadow: 0 12px 22px -8px rgba(109, 92, 224, 0.75);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .sjl-redesign .sjl-contact-gate,
  .sjl-redesign .sjl-contacts-empty {
    align-items: stretch;
    text-align: left;
  }

  .sjl-redesign .sjl-contact-gate {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .sjl-redesign .sjl-contact-gate-btn,
  .sjl-redesign .sjl-contacts-empty-btn {
    width: 100%;
  }
}

/* Related jobs spacing */
.single-job_listing .related-jobs-section {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Kill oversized mobile overrides fighting the redesign */
@media (max-width: 1100px) {
  .single-job_listing .sjl-redesign.single-job-page-wrap {
    max-width: 100% !important;
    padding: 0.75rem !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .single-job_listing .sjl-redesign .sjl-hero .single-job-title,
  .single-job_listing .sjl-redesign .sjl-hero h1 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important;
  }

  .single-job_listing .sjl-redesign .sjl-hero .single-job-title::after {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .sjl-redesign .sjl-body {
    grid-template-columns: 1fr;
  }

  .sjl-redesign .sjl-sidebar {
    position: static;
    order: -1;
  }

  .sjl-redesign .sjl-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sjl-redesign .sjl-hero .single-job-header-content {
    padding: 1rem !important;
  }
}

@media (max-width: 640px) {
  .sjl-redesign .sjl-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sjl-redesign .sjl-hero-top {
    gap: 0.75rem;
  }

  .sjl-redesign .sjl-hero-logo,
  .sjl-redesign .sjl-hero-logo.single-job-logo-cell,
  .sjl-redesign .sjl-logo-link,
  .sjl-redesign .sjl-logo-tile {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    flex-basis: 64px !important;
  }

  .sjl-redesign .sjl-hero .single-job-title {
    font-size: 1.25rem !important;
  }

}

/* ── Dark mode (redesign) ─────────────────────────────── */
html[data-color-scheme="dark"] .single-job_listing .content-section:has(.sjl-redesign),
html[data-color-scheme="dark"] .single-job_listing:has(.sjl-redesign) .content-section {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(124, 108, 240, 0.1), transparent 58%),
    #0a1120 !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-hero.single-job-header-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-section-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-details-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .job-share-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-reviews-section,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .jobcv-custom-poster-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .sjl-contacts-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-side-card,
html[data-color-scheme="dark"] .sjl-redesign .sjl-tabs {
  background: linear-gradient(160deg, #17223a 0%, #101928 100%) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  box-shadow: 0 18px 42px -34px rgba(0, 0, 0, 0.6) !important;
  color: #e8edf5 !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-hero.single-job-header-card::before {
  background: linear-gradient(90deg, #7c5cff, #a78bfa, #c4b5fd) !important;
  height: 4px !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-hero .single-job-title,
html[data-color-scheme="dark"] .sjl-redesign .sjl-hero .single-job-header-card h1,
html[data-color-scheme="dark"] .sjl-redesign .sjl-section-heading,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-section-card h2,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-details-title,
html[data-color-scheme="dark"] .sjl-redesign .sjl-side-card h3,
html[data-color-scheme="dark"] .sjl-redesign .sjl-meta-value,
html[data-color-scheme="dark"] .sjl-redesign .sjl-overview-list .sjl-ov-value {
  color: #f5f3ff !important;
  text-shadow: none !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-company-line,
html[data-color-scheme="dark"] .sjl-redesign .sjl-meta-label,
html[data-color-scheme="dark"] .sjl-redesign .sjl-overview-list .sjl-ov-label,
html[data-color-scheme="dark"] .sjl-redesign .sjl-tabs .sjl-tab,
html[data-color-scheme="dark"] .sjl-redesign .sjl-tabs a,
html[data-color-scheme="dark"] .sjl-redesign .sjl-steps li {
  color: #a8b3c7 !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-description,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .job-content,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-description p,
html[data-color-scheme="dark"] .sjl-redesign .sjl-main .single-job-description li {
  color: #c2cfdf !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-pill {
  background: rgba(139, 92, 246, 0.16) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
  color: #e3e0f5 !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-meta-grid {
  border-top-color: rgba(148, 163, 184, 0.14) !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-meta-icon {
  background: rgba(139, 92, 246, 0.16) !important;
  color: #c4b5fd !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-tabs .sjl-tab.is-active,
html[data-color-scheme="dark"] .sjl-redesign .sjl-tabs a.is-active {
  background: rgba(139, 92, 246, 0.14) !important;
  color: #e9e5ff !important;
  border-bottom-color: #a78bfa !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-section-icon {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #c4b5fd !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-cta-card .single-job-actions .btn-secondary,
html[data-color-scheme="dark"] .sjl-redesign .sjl-cta-card .single-job-actions .like-job-btn,
html[data-color-scheme="dark"] .sjl-redesign .sjl-contacts-empty-btn {
  background: rgba(15, 23, 42, 0.55) !important;
  color: #e3e0f5 !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-logo-tile {
  background: #fff !important;
  border-color: rgba(196, 181, 253, 0.28) !important;
  box-shadow: none !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-contacts-empty,
html[data-color-scheme="dark"] .sjl-redesign .sjl-contact-gate {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(16, 25, 40, 0.9)) !important;
  border-color: rgba(139, 92, 246, 0.28) !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-contacts-empty-copy strong,
html[data-color-scheme="dark"] .sjl-redesign .sjl-contact-gate-text strong {
  color: #f5f3ff !important;
}

html[data-color-scheme="dark"] .sjl-redesign .sjl-contacts-empty-copy span,
html[data-color-scheme="dark"] .sjl-redesign .sjl-contact-gate-text span {
  color: #a8b3c7 !important;
}
