.home-jobs {
  width: min(100%, 1240px);
  margin: 0 auto clamp(5rem, 9vw, 8rem);
  scroll-margin-top: 7rem;
}
.home-jobs-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.home-jobs-heading h2 { margin-bottom: 0; }
.home-jobs-all { flex-shrink: 0; color: inherit; text-underline-offset: 0.3em; }
.home-jobs-content {
  min-width: 0;
}
.home-jobs-carousel { min-width: 0; }
.home-jobs-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(85%, 280px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 4px 4px 0.75rem;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #c2466e #eee7e2;
}
.home-jobs-list > li { scroll-snap-align: start; align-self: stretch; }
.home-jobs-list:focus-visible { outline: 2px solid #c2466e; outline-offset: 4px; }
.home-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0.6rem;
  box-sizing: border-box;
  height: 100%;
  padding: 1.1rem;
  grid-template-rows: auto 1fr 72px;
  border: 1px solid #ded7d1;
  border-radius: 4px;
  background: #f3e8e7;
  color: #252b3b;
  text-decoration: none;
  transition: background 150ms ease;
}
.home-job:hover, .home-job:focus-visible { background: #eddfde; }
.home-job:focus-visible { outline: 3px solid #c2466e; outline-offset: 4px; }
.home-job-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1rem; }
.home-job-location, .home-job-salary { margin: 0; font-size: 0.8rem; line-height: 1.5; }
.home-job h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  height: 2.3em;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.15;
  font-variant-ligatures: common-ligatures discretionary-ligatures contextual;
  font-feature-settings: "liga" 1, "dlig" 1, "calt" 1, "kern" 1;
  letter-spacing: normal;
}
.home-job-action { position: relative; display: block; height: 72px; }
.home-job-arrow { position: absolute; right: 0.5rem; bottom: 0.5rem; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f8f5f1; color: #252b3b; font-size: 1.3rem; }
.home-jobs-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; }
.home-jobs-controls[hidden] { display: none; }
.home-jobs-count { font-size: 0.75rem; }
.home-jobs-controls > div { display: flex; gap: 0.5rem; }
.home-jobs-controls button { width: 44px; height: 44px; border: 1px solid #ded7d1; border-radius: 50%; color: #252b3b; background: transparent; cursor: pointer; font-size: 1.2rem; }
.home-jobs-controls button:hover { background: #f3e8e7; }
.home-jobs-controls button:focus-visible { outline: 3px solid #c2466e; outline-offset: 3px; }
.home-jobs-controls button:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 600px) {
  .home-jobs-heading { align-items: start; flex-direction: column; gap: 1.25rem; }
}
