/* -- anoBiz Stellenanzeigen [anobiz_jobs] ---------- */

.ab-jobs {
  --ab-navy: #0B1E3D;
  --ab-gold: #D9A100;
  --ab-bg: #F8F9FB;
  --ab-border: #E2E8F0;
  --ab-muted: #5A6B85;

  border-top: 1px solid var(--ab-border);
  color: var(--ab-navy);
  text-align: left;
}

.ab-jobs__item {
  border-bottom: 1px solid var(--ab-border);
}

.ab-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;
}

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

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

.ab-jobs__title {
  flex: 1 1 320px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ab-navy);
  transition: color .2s;
}

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

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

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

.ab-jobs__feature {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  background: var(--ab-bg);
  color: var(--ab-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .04em;
}

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

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

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

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

.ab-jobs__body {
  padding: 0 0 32px;
}

.ab-jobs__text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.ab-jobs__text p {
  padding: 0 0 1em;
}

.ab-jobs__text h3,
.ab-jobs__text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ab-navy);
  padding: 8px 0 8px;
}

.ab-jobs__text ul,
.ab-jobs__text ol {
  padding: 0 0 1em 1.4em;
  line-height: 1.7;
}

.ab-jobs__text ul { list-style: disc; }
.ab-jobs__text ol { list-style: decimal; }

.ab-jobs__text li {
  margin-bottom: 4px;
}

.ab-jobs__text > :last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Button wie im Kontaktformular */
.ab-jobs__button {
  display: inline-block;
  background: var(--ab-navy);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}

.ab-jobs__button:hover {
  background: #162d52;
  transform: translateY(-1px);
}

.ab-jobs__empty {
  font-size: 17px;
  color: var(--ab-muted);
}

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