.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__track-item img.loaded {
}

.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: none;
  border: none;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: opacity 0.2s, color 0.2s;
  opacity: 0.6;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-file-list__remove:hover {
  opacity: 1;
  color: #495057;
}

/* Trummer Germany – Filters layout */
.archive-jobs .cc-search {
  grid-template-columns: 1fr !important;
}

.cc-search__row--bottom {
  display: grid;
    grid-template-columns: 5fr 3.5fr 1.5fr;
    gap: 15px;
}

.archive-jobs .cc-search .cc-input,
.archive-jobs .cc-search .cc-select {
  padding: 15px !important;
}

.archive-jobs .cc-search .cc-input:focus,
.archive-jobs .cc-search .cc-select:focus {
  outline: none;
  box-shadow: none;
}

.cc-search__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.archive-jobs .cc-search .cc-button--search.job-search-form__button {
  width: inherit !important;
}

.cc-reset-button {
  background: transparent;
  color: #e31e24;
  font-size: 20px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cc-reset-button i {
  font-size: 18px;
}

@media (max-width: 767px) {
  .cc-search__row--bottom {
      grid-template-columns: 1fr;
  }
  .cc-search__actions {
    flex-direction: column;
  }
  .cc-toolbar__controls {
    display: none;
  }
}

.cc-toolbar__results {
  color: #888888;
}

.cc-toolbar--button.is-active svg path {
  fill: #e31e24;
}

.cc-toolbar--button:not(.is-active):hover {
  opacity: 0.5;
}

.cc-overview {
  margin-bottom: 48px;
}

.cc-job__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 16px;
  border: none;
  border-top: 2px solid #f2f2f2;
  transition: all .2s;
}

.cc-job__item:hover {
  background: #f2e6e8;
  border-top: 2px solid #e31e24;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cc-job__item .cc-job__item__header{
  flex: 1;
}

.cc-job__item__header > h2 {
  color: #252525;
  font-size: 1.5em;
  font-weight: bold;
}

.cc-job__item .cc-job__item__header {
  margin-bottom: 0.7em;
}

.cc-job__item .cc-job__item__details {
  gap: 4px;
  font-size: 1rem;
}

.cc-job__item__category {
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
}

.cc-job__item__category i {
  margin-right: 6px;
}

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

.cc-job__item__details > li > svg {
  display: none;
}

@media (min-width: 769px) {
  .cc-overview[data-layout="list"] {
    gap: 0;
  }

  .cc-overview[data-layout="list"] .cc-job__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title title"
      "details category";
    column-gap: 16px;
  }

  .cc-overview[data-layout="list"] .cc-job__item:hover {
    box-shadow: none;
  }

  .cc-overview[data-layout="list"] .cc-job__item__category {
    grid-area: category;
    align-self: flex-start;
    text-align: right;
  }

  .cc-overview[data-layout="list"] .cc-job__item__header {
    grid-area: title;
  }

  .cc-overview[data-layout="list"] .cc-job__item__details {
    grid-area: details;
    display: flex;
    margin: 0;
  }

  .cc-overview[data-layout="list"] .cc-job__item__details li {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding-right: 8px;
    border-right: 1px solid #e0e0e0;
  }

  .cc-overview[data-layout="list"] .cc-job__item__details li:last-child {
    border-right: none;
  }

  .cc-overview[data-layout="list"] .cc-footer {
    margin-top: 20px;
  }
}

.cc-pagination__button {
  font-size: 24px;
  line-height: 30px;
}

.cc-pagination__button.is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.cc-pagination__item.cc-pagination__item--active {
  font-weight: bold;
}

/* Trummer Germany – Single Job (Detail) */
.single-jobs__content {
  margin-bottom: 3rem !important;
}

.single-jobs .cc-job-posting .right-line-headline {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.single-jobs .cc-job-posting h1 {
  margin: 0 0 2.5rem;
  font-weight: 700;
}

.single-jobs .cc-job-posting > div {
  margin-bottom: 2.5rem;
}

.single-jobs .cc-job-posting ul {
  display: flex;
    flex-direction: column;
    gap: 6px;
}

.single-jobs .cc-job-offer__contact--hidden {
  display: none !important;
}

.cc-single-job .single-jobs__content__contact-person > div {
  display: flex;
  font-size: 1rem;
}

@media (min-width: 1025px) {
  .cc-single-job .single-jobs__content > .row{
    align-items: flex-start;
  }
  .cc-single-job .single-jobs__content__contact-person {
    position: sticky !important;
    top: 0;
  }
}

/* Trummer Germany – Bewerbungsformular: File-Input wie Textfeld */
.cc-form input[type="file"].cc-input {
  position: relative;
  width: 100%;
  height: 65px;
  cursor: pointer;
  font-size: 14px;
  line-height: 46px;
  padding: 0 1rem;
}

.cc-form input[type="file"].cc-input::file-selector-button {
  display: none;
}

.cc-form input[type="file"].cc-input::after {
  content: "\f093"; /* fa-upload */
  font-family: "FontAwesome";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 1rem;
}

/* Spinner auf Submit-Button während des Sendens */
.cc-button--form.cc-button--loading {
  position: relative;
  pointer-events: none;
}

.cc-button--form.cc-button--loading::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  border-top-color: #ffffff;
  animation: cc-spinner-rotate 0.8s linear infinite;
}

@keyframes cc-spinner-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.input-basic label {
  margin-bottom: 0 !important;
}

.input-checkbox label {
  display: flex;
  gap: 4px;
}

.input-checkbox input {
  flex-shrink: 0;
}

.cc-form .btn-send button {
  border: none;
  background-color: #e31e24;
  color: #fff;
  padding: 10px;
  border-radius: 0px;
  padding: 15px 20px;
  min-width: 100px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.cc-form .btn-send button:hover {
  background-color: #b51015;
  color: #fff;
  border-radius: 0;
}

@media (max-width: 992px) {
  .cc-form input[type="file"].cc-input {
    height: 50px;
    line-height: 34px;
  }
}

.page-template-default .trummer-standard-template {
  max-width: 800px;
  margin: 100px auto;
  font-size: 16px;
  line-height: 1.6;
}

.page-template-default .trummer-standard-template .container > h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px !important;
  text-align: center;
}

.page-template-default .trummer-standard-template .container > p {
  text-align: center;
}

@media (max-width: 768px) {
  .single-jobs .cc-job-posting h1 {
    font-size: 2rem;
  }
  .cc-single-job .btn-jobs {
    width: 100% !important;
  }
  .cc-form input[type="file"].cc-input {
    height: 40px;
    line-height: 22px;
  }
  .page-template-default .trummer-standard-template {
    margin: 80px auto;
  }
}