:root {
  --joboon-ink: #172033;
  --joboon-muted: #5c6473;
  --joboon-yellow: #ffd928;
  --joboon-yellow-soft: #fff8d7;
  --joboon-blue: #184b8a;
  --joboon-surface: #ffffff;
  --joboon-line: #e4e8ef;
  --joboon-radius: 18px;
  --joboon-shadow: 0 14px 40px rgba(27, 39, 68, .10);
}

body {
  color: var(--joboon-ink);
  background: #f7f8fb;
}

.joboon-home-hero {
  max-width: 1120px;
  margin: 28px auto;
  padding: 44px clamp(22px, 6vw, 72px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 217, 40, .75);
  border-radius: 24px;
  background: linear-gradient(135deg, #fffdf5 0%, #fff4b7 100%);
  box-shadow: var(--joboon-shadow);
}

.joboon-home-hero::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 217, 40, .42);
}

.joboon-home-hero__eyebrow,
.joboon-career-panel__eyebrow {
  margin: 0 0 10px;
  color: var(--joboon-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.joboon-home-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.joboon-home-hero__lead {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--joboon-muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
}

.joboon-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.joboon-home-hero__button,
.joboon-career-panel__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--joboon-ink);
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.joboon-home-hero__button:hover,
.joboon-career-panel__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23, 32, 51, .2);
}

.joboon-home-hero__button--secondary {
  border: 1px solid var(--joboon-ink);
  color: var(--joboon-ink) !important;
  background: transparent;
}

.cover-job-diagnosed__front-page {
  width: 100%;
  max-width: 980px;
  margin: 28px auto;
}

.joboon-home-section.cover-job-diagnosed__front-page {
  margin: 28px auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.joboon-diagnosis-form {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.joboon-career-panel {
  max-width: 760px;
  margin: 24px auto 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--joboon-line);
  border-radius: var(--joboon-radius);
  background: var(--joboon-surface);
  box-shadow: var(--joboon-shadow);
}

.joboon-career-panel--affiliate {
  border-top: 5px solid var(--joboon-yellow);
}

.joboon-career-panel--guide {
  border-top: 5px solid var(--joboon-blue);
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.joboon-career-panel__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--joboon-ink) !important;
  background: none !important;
  font-size: clamp(21px, 3vw, 28px) !important;
  line-height: 1.45 !important;
}

.joboon-career-panel p:not(.joboon-career-panel__eyebrow) {
  margin: 0 0 20px;
  color: var(--joboon-muted);
  line-height: 1.8;
}

.joboon-business-next {
  margin: 42px 0 18px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid #cfdcf0;
  border-radius: var(--joboon-radius);
  background: linear-gradient(135deg, #f8fbff 0%, #fffdf5 100%);
}

.joboon-business-next > p:not(.joboon-career-panel__eyebrow):not(.joboon-career-panel__title) {
  color: var(--joboon-muted);
  line-height: 1.8;
}

.joboon-business-next__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.joboon-business-next__links a {
  padding: 13px 10px;
  border: 1px solid var(--joboon-line);
  border-radius: 12px;
  color: var(--joboon-ink);
  background: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.main-single-inner > h1,
.single .entry-title {
  line-height: 1.5;
  letter-spacing: -.02em;
}

.main-single-inner > img:first-of-type,
.single .post-thumbnail img {
  width: 100%;
  max-height: 460px;
  border-radius: 16px;
  object-fit: cover;
}

.joboon-gone {
  max-width: 760px;
  margin: 72px auto;
  padding: 50px clamp(24px, 6vw, 64px);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--joboon-shadow);
  text-align: center;
}

.joboon-gone__status {
  margin: 0;
  color: var(--joboon-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .16em;
}

.joboon-renewed-home,
.joboon-directory {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.joboon-renewed-home .joboon-home-hero {
  width: 100%;
}

.joboon-home-section,
.joboon-directory__header {
  margin: 28px 0;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--joboon-line);
  border-radius: var(--joboon-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 39, 68, .07);
}

.joboon-renewed-home > .joboon-home-section:not(.cover-job-diagnosed__front-page) {
  width: 100%;
  max-width: 980px;
  margin: 28px auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.joboon-section-kicker {
  margin: 0 0 8px;
  color: var(--joboon-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.joboon-home-section h2,
.joboon-directory h1,
.joboon-directory h2 {
  margin-top: 0;
  color: var(--joboon-ink);
  line-height: 1.4;
}

.joboon-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.joboon-section-heading > a {
  flex: none;
  color: var(--joboon-blue);
  font-weight: 800;
}

.joboon-published-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.joboon-published-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--joboon-line);
  border-radius: 15px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.joboon-published-card:hover {
  transform: translateY(-3px);
  border-color: #b9c9de;
  box-shadow: 0 12px 24px rgba(27, 39, 68, .10);
}

.joboon-published-card > a {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  padding: 22px;
  color: var(--joboon-ink);
  text-decoration: none;
}

.joboon-published-card h3 {
  margin: 10px 0 22px;
  font-size: 17px;
  line-height: 1.65;
}

.joboon-published-card__meta {
  color: var(--joboon-blue);
  font-size: 12px;
  font-weight: 800;
}

.joboon-published-card__more {
  margin-top: auto;
  font-weight: 800;
}

.joboon-published-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.joboon-published-card--term > a {
  min-height: 120px;
}

.joboon-directory__header {
  margin-top: 28px;
  background: linear-gradient(135deg, #fffdf5, #fff7cf);
}

.joboon-directory__header > p {
  max-width: 760px;
  color: var(--joboon-muted);
  line-height: 1.8;
}

.joboon-directory__search {
  max-width: 700px;
  margin-top: 24px;
}

.joboon-directory__search label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.joboon-directory__search > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.joboon-directory__search input,
.joboon-directory__search button {
  min-height: 50px;
  border: 1px solid #9fa9b8;
}

.joboon-directory__search input {
  padding: 0 16px;
  border-radius: 10px 0 0 10px;
  font-size: 16px;
}

.joboon-directory__search button {
  padding: 0 22px;
  border-color: var(--joboon-ink);
  border-radius: 0 10px 10px 0;
  color: #fff;
  background: var(--joboon-ink);
  font-weight: 800;
}

.joboon-renewed-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.joboon-renewed-footer .footer_title {
  margin: 0 0 14px;
  font-weight: 900;
}

.joboon-renewed-footer .site-footer_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.joboon-renewed-footer .site-footer_list li {
  margin-bottom: 8px;
}

.joboon-gone__actions {
  justify-content: center;
}

@media (max-width: 767px) {
  .joboon-home-hero {
    margin: 16px 12px 24px;
    padding: 30px 22px;
    border-radius: 18px;
  }

  .joboon-home-hero__actions {
    display: grid;
  }

  .joboon-career-panel {
    margin: 18px 0 28px;
  }

  .joboon-renewed-home,
  .joboon-directory {
    width: min(100% - 24px, 1120px);
  }

  .joboon-home-section,
  .joboon-directory__header {
    padding: 24px 18px;
  }

  .joboon-section-heading {
    align-items: flex-start;
  }

  .joboon-published-grid,
  .joboon-published-grid--compact,
  .joboon-renewed-footer__grid {
    grid-template-columns: 1fr;
  }

  .joboon-published-card > a {
    min-height: 0;
  }

  .joboon-business-next__links {
    grid-template-columns: 1fr;
  }

  .main-single-inner > img:first-of-type,
  .single .post-thumbnail img {
    max-height: 250px;
  }
}
