.cockpit_carousel {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.cockpit_carousel__track {
  position: relative;
  overflow: hidden;
}

.cockpit_carousel__track-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.cockpit_carousel__track-item {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cockpit_carousel__track-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cockpit_carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: transparent;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.cockpit_carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cockpit_carousel__btn.prev {
  left: 10px;
}

.cockpit_carousel__btn.next {
  right: 10px;
}

.cockpit_carousel__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background-color: rgba(203, 203, 203, 0.4);
  overflow: hidden;
  z-index: 10;
}

.cockpit_carousel__progress-fill {
  height: 100%;
  width: 0;
  background-color: #007bff;
  transition: width linear;
}

.cockpit_carousel__pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
  z-index: 3;
}

.cockpit_carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(203, 203, 203, 0.4);
  transition: background-color 0.3s;
  cursor: pointer;
}

.cockpit_carousel__dot.active {
  background: #007bff;
  transform: scale(1.2);
}

.cockpit_carousel__track-item-content {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Simple File List Styles */
.cc-file-list {
  margin-top: 0.75rem;
}

.cc-file-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cc-file-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
}

.cc-file-list__name {
  flex: 1;
  font-size: 0.875rem;
  color: #212529;
}

.cc-file-list__remove {
  background: #e9ecef;
  border: 1px solid #dee2e6;
  color: #495057;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cc-file-list__remove:hover {
  background: #dee2e6;
  color: #212529;
}

.cc-toolbar {
	display: none;
}

.cc-overview {
	gap: 30px 10px;
}

.cc-overview[data-layout="grid"] > article {
  display: flex;
  min-height: 0;
}

.cc-overview .cc-job__item {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
  background-image: linear-gradient(90deg, #fff 0%, #eee 90%) !important;
  background-repeat: repeat-y !important;
  padding: 15px !important;
  border: none !important;
}

.cc-overview .cc-job__item:hover {
  transform: none;
}

.cc-overview .cc-job__item__header h2 {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  font-family: Lato, sans-serif;
  line-height: 1.44;
  margin: 0 0 0.5em;
  transition: color 0.25s ease;
}

.cc-overview .cc-job__item:hover .cc-job__item__header h2 {
  color: #e3050b;
}

.cc-overview .cc-job__item__body p {
  font-size: 16px;
  margin: 0 0 1em;
}

.cc-overview .cc-job__item__details {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
}

.cc-overview .cc-job__item__details > li {
  color: #000;
}

.cc-search {
  display: block;
  margin-bottom: 20px;
  padding: 0;
  background: none;
}

.cc-search .cc-label {
  display: none;
}

.cc-search .cc-field {
	margin-bottom: 6px;
}

@media (min-width: 768px) {
  .cc-search {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-start;
  }

  .cc-search .cc-field {
    width: 100%;
    margin-bottom: 0;
  }

  .cc-search .cc-field--location {
    width: calc(75% - 4px);
  }

  .cc-search .cc-field--radius {
    width: 25%;
  }

  .cc-search .cc-search__actions {
    width: 100%;
  }
}

.cc-search .cc-input,
.cc-search .cc-select,
.cc-search .cc-multiselect__control {
	border: none !important;
  outline: none;
  height: auto;
	background: #fff !important;
}

.cc-search .cc-input {
	padding: 11px 10px !important;
	color: rgb(5, 33, 66);
}

.cc-search .cc-select {
  padding: 11px 10px !important;
  color: rgb(5, 33, 66);
  -webkit-appearance: none;
  appearance: none;
}

/* Actions row: Reset left, SUCHEN right */
.cc-search__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.cc-search__actions .cc-button--reset {
  order: 1;
  width: max-content;
  align-self: flex-end;
  padding: 8px 0;
  font-size: 16px;
}
.cc-search__actions .cc-button--reset:hover {
  color: #e3050b;
}
.cc-search__actions .cc-button--search {
  order: 2;
	width: max-content;
	background-color: #002d5b;
    padding: 5px 10px 5px 10px;
    color: #ffffff !important;
    display: inline;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    border: unset;
}
.cc-search__actions .cc-button--search:hover {
	background-color: #e3050b;
}

/* Selected values as tags (Fachbereich, Art der Anstellung) */
.cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.cc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.5rem;
  background-color: #e0e0e0;
  border-radius: 4px;
  border: 1px solid rgb(170, 170, 170);
  font-size: 0.875rem;
  line-height: 1.43rem;
}
.cc-tag__label {
  color: #000;
}
.cc-tag__remove {
  color: #999;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  transition: color 0.2s;
}
.cc-tag__remove:hover {
  color: #333;
}

/* Multi-select widget */
.cc-multiselect {
  position: relative;
}

.cc-multiselect__control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
	padding: 5px 10px;
  cursor: pointer;
}

.cc-multiselect__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.cc-multiselect__placeholder {
  color: #7a7a7a;
  font-size: 0.875rem;
  line-height: 28px;
}

.cc-multiselect__caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 8px;
  pointer-events: none;
  font-size: 0;
  line-height: 0;
  width: 8px;
  height: 8px;
}

/* Галочка вниз: один псевдоэлемент, две границы, поворот → V */
.cc-multiselect__caret::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
  border-right: none;
  border-bottom: none;
  box-sizing: border-box;
  transform: rotate(-135deg) translateY(25%);
}

/* Dropdown: multiselect + location (общие стили) */
.cc-multiselect__dropdown,
.cc-location-dropdown {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  display: none;
}

.cc-multiselect.is-open .cc-multiselect__dropdown,
.cc-location-dropdown.is-open {
  display: block;
}

.cc-multiselect__option,
.cc-location-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}

.cc-multiselect__option:hover,
.cc-location-option:hover {
  background-color: #f1f1f1;
}

.cc-multiselect__option.is-selected {
  background-color: #e0e0e0;
}

/* Selected option checkmark (single + multi) */
.cc-multiselect__option.is-selected::after {
  content: '✓';
  float: right;
}

.cc-select--native {
  display: none;
}

/* Location autocomplete (только обёртка) */
.cc-field--location .cc-location-wrap {
  position: relative;
}

.cc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.cc-pagination__button,
.cc-pagination__item:not(:disabled) {
  width: 26px;
  height: 26px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid #333;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.cc-pagination__button:hover:not(.is-disabled),
.cc-pagination__item:hover,
.cc-pagination__item:not(.cc-pagination__item--active):hover{
  background-color: #f1f1f1;
  border-color: #999;
}

/* Активная страница — красный фон */
.cc-pagination__item.cc-pagination__item--active {
  background-color: #e3050b;
  border-color: #e3050b;
  color: #fff;
  cursor: default;
}

/* Неактивная кнопка «назад» (первая страница) */
.cc-pagination__button.is-disabled {
  background-color: #fff;
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* Многоточие */
.cc-pagination__item--dots {
  border: none;
  background: transparent;
  cursor: default;
  min-width: auto;
  padding: 0 2px;
}

/* ========== Single Job (Stellendetails) ========== */
.single-job #main{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cc-single-job__main {
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.cc-single-job__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.cc-single-job__col {
  min-width: 0;
}

.cc-single-job__col--content {
  flex: 1 1 0;
}

/* Banner oben in der linken Spalte: пропорции 3:1 (ниже по высоте), картинка по центру */
.cc-single-job__banner {
  margin-bottom: 1.5rem;
  aspect-ratio: 9 / 4;
  overflow: hidden;
  position: relative;
}

.cc-single-job__banner::after {
  content: '';
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 72px;
  height: 72px;
  background: url('../icons/Watermark.svg') no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.cc-single-job__banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .cc-single-job__banner::after {
    right: 0.5rem;
    bottom: 0.5rem;
    width: 48px;
    height: 48px;
  }
}

.cc-single-job__col--sidebar {
  flex: 0 0 360px;
  max-width: 360px;
}

.single-job #main .fusion-row {
  max-width: 1300px !important;
}

@media (min-width: 1024px) {
  .single-job .cc-single-job__col--sidebar {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }

  .cc-single-job--form .cc-single-job__col--sidebar {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}

@media (min-width: 1200px) {
  .single-job .cc-single-job__col--sidebar {
    top: 130px;
  }

  .cc-single-job--form .cc-single-job__col--sidebar {
    top: 130px;
  }
}

.cc-single-job__title {
  margin: 0 0 1rem;
  font-size: 1.85rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #002d5b !important;
    letter-spacing: 0 !important;
}

/* Bewerbungsformular-Seite: Bild und Stellenbezeichnung */
.cc-bewerbung-hero {
  margin-bottom: 0;
  aspect-ratio: 9 / 4;
  overflow: hidden;
}
.cc-bewerbung-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cc-bewerbung-title {
  margin: 0 0 1.5rem;
  padding: 2rem 1.5rem;
  background: rgb(52, 63, 87);
  color: #fff !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-align: center;
}

.cc-single-job__attributes {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-weight: 700;
}

.cc-single-job__attr {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cc-single-job__attr svg {
  width: 18px;
  height: 18px;
}

.cc-single-job__attr svg path {
  fill: #e3050b;
}

.cc-single-job__summary-share {
  margin-bottom: 1.5rem;
}

/* Share-Icons im Sidebar zentrieren */
.cc-single-job__sidebar-share {
  text-align: center;
}

.cc-single-job__sidebar-share .wp-social-links,
.cc-single-job__sidebar-share .edd-job-sharer,
.cc-single-job__sidebar-share ul {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0;
}

.cc-job-posting ul {
  list-style: none;
  padding-left: 0;
}

.cc-job-posting ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 4px;
}

.cc-job-posting ul li > p {
  margin-bottom: 0;
}

.cc-job-posting ul li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 7px;
  width: 14px;
  height: 14px;
  background: url('../icons/Bulletpoint.svg') no-repeat center;
  background-size: contain;
  color: #e3050b;
}

@media (max-width: 768px) {
  .cc-job-posting ul li {
    padding-left: 20px;
  }
  .cc-job-posting ul li::before {
    left: 0;
  }
}

/* Überschriften im Job-Content (Summary / Offer / Client / Requirements / Additional) */
.single-job .avada-page-titlebar-wrapper {
  display: none !important;
}

.cc-job-posting__summary__title,
.cc-job-posting__function__title,
.cc-job-posting__client__title,
.cc-job-posting__offer__title,
.cc-job-posting__requirement__title,
.cc-job-posting__additional__title {
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  margin: 1.5rem 0 0.5rem;
  color: #002d5b !important;
}

.cc-single-job__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.cc-single-job__actions .cc-button, .cc-contact-person__cta .cc-button {
  display: block;
  max-width: 300px;
    text-align: center;
    background-color: #002d5b;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.5 !important;
    border: 1px solid #002d5b;
    padding: 6px 16px !important;
    transition: all 0.3s ease;
}

.cc-single-job__actions .cc-button--backlink {
  background-color: transparent;
  color: #002d5b;
  border: 1px solid #002d5b;
}

.cc-single-job__actions .cc-button:hover, .cc-contact-person__cta .cc-button:hover {
  background-color: #e3050b;
  border-color: #e3050b;
}

.cc-single-job__actions .cc-button--backlink:hover {
  background-color: transparent;
  color: #e3050b;
  border-color: #e3050b;
}

/* Sidebar / Kontaktkarte (etwas dunkler als rgb(239,239,239), ohne Schatten) */
.cc-single-job__contact, .cc-single-job__sidebar-share {
  background: #e8e8e8;
  padding: 1rem 1.5rem 1.25rem;
}

.cc-single-job__contact {
  margin-bottom: 1rem;
}

.cc-single-job__sidebar-title {
  margin: 0 0 1rem;
  font-size: 1.5rem !important;
  color: #002d5b !important;
  text-align: center;
}

.cc-contact-person__asset {
  margin-bottom: 1rem;
}

.cc-contact-person__asset img {
  display: block;
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.cc-contact-person__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  margin: 0 auto;
}

.cc-contact-person__placeholder svg {
  width: 130px;
  height: 130px;
}

.cc-contact-person__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #002d5b !important;
}

.cc-contact-person__detail {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.cc-contact-person__detail__item {
  display: flex;
  gap: 0.5rem;
}

.cc-contact-person__detail__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 1px;
  color: #002d5b;
}

.cc-contact-person__detail__icon svg {
  width: 100%;
  height: 100%;
}

.cc-contact-person__detail__icon svg path {
  fill: #e3050b;
}

.cc-contact-person__detail__text {
  flex: 1;
  line-height: 1.5;
}

/* Links in contact block: same color as body text, not red */
.cc-contact-person__detail__text a {
  color: inherit;
  text-decoration: none;
}

.cc-contact-person__detail__text a:hover {
  color: inherit;
  text-decoration: underline;
}

.cc-contact-person__detail__item + .cc-contact-person__detail__item {
  margin-top: 0.5rem;
}

.cc-contact-person__cta {
  margin-top: 1rem;
}

.cc-single-job__sidebar-share .sharer {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.cc-single-job__sidebar-share .sharer__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #002d5b;
  color: #fff;
  flex-shrink: 0;
}

.cc-single-job__sidebar-share .sharer__item:hover {
  background-color: #e3050b;
  color: #fff;
}

.cc-single-job__sidebar-share .sharer__item svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.cc-single-job__sidebar-share .sharer__item svg path {
  fill: currentColor;
}

@media (max-width: 1024px) {
  .cc-single-job__layout {
    flex-direction: column;
  }

  .cc-single-job__col--sidebar {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cc-single-job__main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .cc-single-job__actions {
    flex-direction: column;
  }
  .cc-single-job__actions .cc-button, .cc-contact-person__cta .cc-button {
    width: 100%;
    max-width: 100%;
  }
}

/* ========== Initiativformular & Bewerbungsformular ========== */
.cc-initiativformular,
.cc-bewerbungsformular {
  max-width: 1300px;
  margin: 0 auto;
}

.cc-form--initiativ,
.cc-initiativformular .cc-form,
.cc-bewerbungsformular .cc-form {
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Loader während Formular-Absendung */
.cc-form-loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.cc-form--submitting .cc-form-loader {
  display: flex;
}
.cc-form-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #002d5b;
  border-radius: 50%;
  animation: cc-form-loader-spin 0.8s linear infinite;
}
.cc-form-loader__text {
  font-size: 0.9rem;
  color: #333;
}
@keyframes cc-form-loader-spin {
  to { transform: rotate(360deg); }
}

.cc-form .cc-field {
  gap: 0 !important;
}

.cc-form label.cc-label {
  font-size: 14px !important;
}

.cc-form .cc-input {
  height: 48px !important;
  border-color: #eaeaea !important;
  background: #fff !important;
}

.cc-initiativformular .cc-file-hint,
.cc-bewerbungsformular .cc-file-hint {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #555;
}

.cc-initiativformular .cc-file-input-wrap,
.cc-bewerbungsformular .cc-file-input-wrap {
  position: relative;
  display: inline-block;
}

.cc-initiativformular .cc-file--button,
.cc-bewerbungsformular .cc-file--button {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.cc-initiativformular .cc-file-button-label,
.cc-bewerbungsformular .cc-file-button-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #002d5b;
  color: #fff;
  font-size: 0.875rem;
  line-height: normal;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.cc-initiativformular .cc-file-button-label:hover,
.cc-bewerbungsformular .cc-file-button-label:hover {
  background: #e3050b;
}

.cc-initiativformular .cc-field:has(.cc-checkbox),
.cc-bewerbungsformular .cc-field:has(.cc-checkbox) {
  display: block;
  padding: 0 !important;
}

.cc-initiativformular .cc-field__checkbox-row,
.cc-bewerbungsformular .cc-field__checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cc-initiativformular .cc-field__checkbox-row .cc-checkbox,
.cc-bewerbungsformular .cc-field__checkbox-row .cc-checkbox {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.cc-initiativformular .cc-label-inline,
.cc-bewerbungsformular .cc-label-inline {
  cursor: pointer;
  font-weight: normal;
}

.cc-initiativformular .cc-form-hint,
.cc-bewerbungsformular .cc-form-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #555;
}

.cc-form .cc-button {
  text-transform: uppercase;
}