/* Block: Organon Jobmodul (acf/jobs) */

/* Abstand nach unten; die Deko-Linie eines folgenden grauen Blocks ragt 60px nach oben */
.section--jobs {
  padding-bottom: 100px;
}

.jobs {
  border-top: 1px solid #d6d6d6;
}

.jobs__item {
  border-bottom: 1px solid #d6d6d6;
}

.jobs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 24px 50px 24px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
}

.jobs__head::-webkit-details-marker {
  display: none;
}

.jobs__head:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.jobs__title {
  flex: 1 1 320px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  transition: color .2s;
}

.jobs__meta {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-hellgrau);
}

.jobs__head:hover .jobs__title,
.jobs__item[open]:not(.is-closing) .jobs__title {
  color: var(--color-gold);
}

.jobs__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jobs__feature {
  display: inline-block;
  padding: 4px 10px;
  background: #ededed;
  color: var(--color-grau);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.bg--gray-light .jobs__feature {
  background: #fff;
}

/* Plus/Minus */
.jobs__toggle {
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
}

.jobs__toggle::before,
.jobs__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.jobs__toggle::after {
  transform: rotate(90deg);
}

.jobs__item[open]:not(.is-closing) .jobs__toggle::after {
  transform: rotate(0deg);
}

.jobs__body {
  padding: 0 0 30px;
}

.jobs__body .text {
  margin-bottom: 20px;
}

.jobs__body .text ul,
.jobs__body .text ol {
  margin-top: 20px;
}

.jobs__body .text > ul:first-child,
.jobs__body .text > ol:first-child {
  margin-top: 0;
}

@media (max-width: 820px) {
  .jobs__title {
    font-size: 18px;
  }
}
