.job-listing-wrapper {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.filters-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.filters-title {
  color: #181819;
  font-family: "inter-variable", sans-serif;
  font-size: 30px;
  font-weight: 450;
  line-height: 140%;
}

.search-input-wrapper,
.filters-select {
  display: flex;
  box-sizing: border-box;
  height: 60px;
  padding: 0 16px;
  align-items: center;
  border-radius: 6px;
  border: 1px solid #dddcda;
  background: #fff;
}

.search-input-wrapper {
  gap: 12px;
  width: 100%;
}

.search-input {
  font-family: "inter-variable", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.36px;
  outline: none;
  border: 0;
  width: 100%;
  color: #0e0d0c;
}

.search-input::placeholder {
  color: #0e0d0c;
  opacity: 1;
}

.filters-select {
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "inter-variable", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.36px;
  color: #0e0d0c;
}

.collection-list {
  width: 100%;
}

/* =========================================================
   ACCORDION DEPARTMENT STYLES
   ========================================================= */

.department-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #dddcda;
  padding: 20px 0;
  background: transparent;
  cursor: pointer;
  color: #181819;
  font-family: "inter-variable", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 450;
  line-height: 120%;
  letter-spacing: -0.66px;

  text-align: left;
}

.department-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.department-count {
  color: #7a7977;
  font-feature-settings: "salt" on;
  font-family: "IBM Plex Mono";
  font-weight: 500;
  line-height: 110%;
  letter-spacing: normal;
  text-transform: uppercase;
  font-size: 14px;
}

.department-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.department-chevron svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.department-jobs {
  padding: 6px 0 16px 0;
}

/* =========================================================
   JOB ITEM STYLES
   ========================================================= */

.job-item {
  text-decoration: none;
  display: block;
}

.job-item-content {
  display: flex;
  padding: 16px 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  border-bottom: 1px solid #eaeaed;
}

.name-location-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-item-name,
.job-item-location {
  margin: 0;
  padding: 0;
}

.job-item-name {
  color: #0e0d0c;
  font-family: "inter-variable", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.36px;
  font-style: normal;
}

.job-item-location {
  color: #7a7977;
  font-family: "inter-variable", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.36px;
}

.job-item-content:hover .job-item-name,
.job-item-content:hover .job-item-location {
  color: #b9b9bb;
}

.job-item-content:hover .job-item-icon {
  transform: translateX(3px);
  transition: transform 0.25s ease-in-out;
}

.job-item-content:hover .job-item-icon path {
  stroke: #b9b9bb;
}

.job-item-icon path {
  transition: stroke 0.25s ease-in-out;
}

/* =========================================================
   SELECT DROPDOWN STYLES
   ========================================================= */

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding-right: 32px;
}

.custom-select-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* =========================================================
   MOBILE STYLES
   ========================================================= */

@media (max-width: 768px) {
  .filters-wrapper {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-wrapper {
    width: auto;
    height: 56px;
    padding: 16px;
  }

  .search-input {
    font-size: 16px;
  }

  .select-wrapper select {
    height: 56px;
    padding: 16px;
    font-size: 16px;
  }

  .job-listing-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .department-title {
    font-size: 20px;
    letter-spacing: -0.6px;
    padding: 16px 0;
  }

  .collection-list > div:first-of-type .department-title {
    padding-top: 0;
  }

  .job-item-name,
  .job-item-location {
    font-size: 16px;
    letter-spacing: -0.32px;
  }

  .name-location-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .job-item-content:hover .job-item-name,
  .job-item-content:hover .job-item-location {
    color: #181819;
  }

  .job-item-content:hover .job-item-icon {
    transform: none;
    transition: none;
  }

  .job-item-content:hover .job-item-icon path {
    stroke: #515152;
  }
}

