/* ============================================================
   IVY MUSIC — Careers / Job Openings page
   Builds on style.css design tokens and the legal (.lg-) hero.
   ============================================================ */

/* ── LISTING SECTION ── */
.cr-section {
  background: var(--bg);
  padding: 56px 0 96px;
}
.cr-listing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--grey-12);
}
.cr-listing-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--light-text);
}
.cr-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* ── JOB LIST ── */
.cr-jobs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
}
.cr-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--grey-12);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.cr-job:hover {
  border-color: var(--gold-line);
  box-shadow: 0 14px 38px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.cr-job-main { flex: 1 1 auto; min-width: 0; }

.cr-job-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.cr-job-title {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--light-text);
}
.cr-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-muted);
  border-radius: 100px;
  padding: 4px 12px;
}

.cr-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 14px;
}
.cr-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-60);
}
.cr-meta-item i { color: var(--gold-dark); font-size: 13px; }

.cr-job-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #45413B;
  max-width: 620px;
  text-wrap: pretty;
}

.cr-job-action { flex: 0 0 auto; }
.cr-apply {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #1A1410;
  background: var(--gold);
  border-radius: 100px;
  padding: 13px 24px;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast);
}
.cr-apply i { font-size: 12px; transition: transform var(--t-fast); }
.cr-apply:hover { background: var(--gold-dark); color: #fff; }
.cr-apply:hover i { transform: translateX(3px); }

/* ── EMPTY STATE ── */
.cr-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed var(--grey-12);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  max-width: 640px;
}
.cr-empty i { font-size: 34px; color: var(--gold); margin-bottom: 18px; }
.cr-empty h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 12px;
}
.cr-empty p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-60);
  max-width: 460px;
  margin: 0 auto;
}
.cr-empty a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ── OPEN-APPLICATION CTA ── */
.cr-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #1A1410;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: 40px;
  max-width: 880px;
}
.cr-cta-text h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cr-cta-text p { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.7); max-width: 520px; }
.cr-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1A1410;
  background: var(--gold-light);
  border-radius: 100px;
  padding: 14px 26px;
  white-space: nowrap;
  transition: background var(--t-fast);
}
.cr-cta-btn:hover { background: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .cr-job {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 22px;
  }
  .cr-job-action { width: 100%; }
  .cr-apply { width: 100%; justify-content: center; }
  .cr-listing-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cr-cta { padding: 28px 24px; }
  .cr-cta-btn { width: 100%; justify-content: center; }
}
