/* Cute Interactive — jobs section */

:root {
  --void: #050608;
  --cut-red: #e01040;
  --cut-green: #68b080;
  --cut-blue: #1078c0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--void);
  color: #ece8e1;
  font-family: "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  overflow-y: visible;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.jobs-page {
  padding: 3.5rem 1.25rem 2.5rem;
}

@media (min-width: 769px) {
  .jobs-page {
    padding: 4.5rem 1.5rem 3rem;
  }
}

.jobs-container {
  max-width: 42rem;
  margin: 0 auto;
}

.jobs-nav {
  margin: 0 0 2.5rem;
}

.jobs-nav a {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.2rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(236, 232, 225, 0.75);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.jobs-nav a:hover,
.jobs-nav a:focus-visible {
  color: rgba(236, 232, 225, 0.95);
  outline: none;
}

@media (max-width: 768px) {
  .jobs-nav a {
    font-size: 0.95rem;
    padding: 0.4rem 0.3rem;
    letter-spacing: 0.08em;
  }
}

h1, h2, h3 {
  margin: 2.2rem 0 1rem;
  color: rgba(236, 232, 225, 0.96);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  margin-top: 0;
}

h2 {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  border-bottom: 1px solid rgba(236, 232, 225, 0.12);
  padding-bottom: 0.35rem;
}

.content h2:nth-of-type(3n+1) {
  border-bottom-color: var(--cut-red);
}

.content h2:nth-of-type(3n+2) {
  border-bottom-color: var(--cut-green);
}

.content h2:nth-of-type(3n+3) {
  border-bottom-color: var(--cut-blue);
}

p, li {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(236, 232, 225, 0.88);
}

p {
  margin: 0 0 1.1rem;
}

.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  color: rgba(236, 232, 225, 0.9);
}

ul, ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.5rem;
}

em, i {
  font-style: italic;
}

.content a {
  color: #ece8e1;
  text-decoration: underline;
  text-decoration-color: var(--cut-red);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.content a:hover,
.content a:focus-visible {
  color: rgba(236, 232, 225, 0.8);
  text-decoration-color: var(--cut-red);
  outline: none;
}

.job-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.job-list li + li {
  margin-top: 1rem;
}

.job-list-card {
  display: block;
  border: 1px solid rgba(236, 232, 225, 0.12);
  padding: 1.25rem;
  border-radius: 0.25rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.job-list-card:hover,
.job-list-card:focus-visible {
  border-color: var(--cut-red);
  outline: none;
}

.job-list-title {
  display: inline-block;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600;
  color: rgba(236, 232, 225, 0.96);
  text-decoration: none;
  border-bottom: 1px solid var(--cut-red);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.job-list-card:hover .job-list-title,
.job-list-card:focus-visible .job-list-title {
  color: rgba(236, 232, 225, 0.8);
  border-bottom-color: var(--cut-red);
}

.job-list-card p {
  margin: 0.75rem 0 0;
  color: rgba(236, 232, 225, 0.88);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
}
