.jobs {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 300px;
}

.job-card img {
  width: 32px;
  height: auto;
  cursor: pointer;
  margin-top: 1rem;
}

.job-details {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.job-details ul {
  list-style: none; /* Standard-Aufzählungszeichen entfernen */
  padding-left: 0;  /* Kein zusätzlicher Einzug */
  margin: 0;
}

.job-details ul li {
  position: relative;
  padding-left: 1.2em; /* Platz für den Bindestrich */
  text-indent: 0;      /* Kein negativer Einzug nötig */
}

.job-details ul li::before {
  content: "-";
  position: absolute;
  left: 0;
}

.job-description,
.job-profile,
.job-offers,
.job-apply {
  display: flex;
  gap: 4rem;
}

.job-description > *,
.job-profile > *,
.job-offers > *,
.job-apply > * {
  flex: 1;
}

.job-description-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.job-description-aor {
  display: flex;
  flex-direction: column;
}

.job-details ul {
  list-style-position: inside;
  font-size: 1.25rem;
}

.hidden {
  display: none;
}

.arrow-right.rotated {
  transform: rotate(90deg);
  transition: transform 0.2s;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.apply-form input {
  border: 0;
  border-bottom: 1px solid var(--accent-black);
  font: inherit;
  width: 100%;
}

.apply-form input:focus {
  border: 0;
  border-bottom: 2px solid var(--secondary-blue);
  outline: none;
}

.apply-form select {
  width: 100%;
  font: inherit;
  border: 0;
  border-bottom: 1px solid var(--accent-black);
  padding: 0.5rem 0;
}

.apply-form select:focus {
  border: 0;
  border-bottom: 2px solid var(--secondary-blue);
  outline: none;
}

.apply-form form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.apply-fields {
  display: flex;
  gap: 2rem;
}

.personal-data,
.uploads {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

.apply-form input[type='file'] {
  padding: 0.5rem 0 1rem;
}

.apply-form input[type='file']::file-selector-button {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font: inherit;
  margin-right: 1rem;
}

@media screen and (max-width: 992px) {
  .job-list {
    flex-direction: column;
  }

  .job-card {
    width: 100%;
    max-width: 400px;
  }

  .job-details {
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
  }

  .job-description,
  .job-profile,
  .job-offers,
  .job-apply {
    flex-direction: column;
    gap: 2rem;
  }

  .apply-form form {
    flex-direction: column;
    gap: 2rem;
  }

  .apply-fields {
    flex-direction: column;
  }
}
