:root {
  --border-radius-jobs: 0px;
}

/* ===== Full-width Layout ===== */
.jobs-section {
  width: 100%;
}
.jobs-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  margin: 1.5rem 0 1rem;
}
.jobs-hero .text h2 {
  color: #ec1c23;
  margin: 0 0 0.35rem;
}
.jobs-hero .text p {
  margin: 0;
  color: #374151;
}
.jobs-hero .media {
  height: 190px;
  border-radius: var(--border-radius-jobs);
  background: #ddd;
}

/* ===== Filterbar (volle Breite) ===== */
.jobs-filters {
  max-width: none;
  width: 100%;
  background: #f2f2f2;
  border-radius: var(--border-radius-jobs);
  padding: 14px 18px;
  margin: 0 0 20px;
  box-sizing: border-box;
}
.jobs-filters .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  align-items: center;
}
.jobs-filters input,
.jobs-filters select {
  width: 100%;
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 999px;
  appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.jobs-filters .select:after {
  font-weight: 700;
  content: "\e602";
  font-family: "oest", Hind, Verdana, Arial, Helvetica, sans-serif;
  width: 10px;
  height: 10px;
  display: flex;
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
  rotate: 90deg;
  font-size: 10px;
  pointer-events: none;
  cursor: pointer;
}
.jobs-filters .select {
  position: relative;
}
.jobs-filters .actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.jobs-filters .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ec1c23;
  color: #fff;
  border-radius: 999px;
  border: 0;
  padding: 0.65rem 1rem;
  cursor: pointer;
}
.jobs-filters .reset {
  background: none;
  border: 0;
  color: #4b5563;
  text-decoration: underline;
  cursor: pointer;
}

.jobs-grid {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.job-card {
  background: #f2f2f2;
  border-radius: var(--border-radius-jobs);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: unset;
  min-height: 150px;
}
.job-card a {
  padding: 14px 16px;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.job-card a:hover {
  background: none !important;
}

.job-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  display: inline-block;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  white-space: nowrap;
  text-transform: uppercase;
}
.badge--arrow {
  border-radius: 50%;
  border: 2px solid #e5172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}
.badge--arrow:after {
  content: "";
  color: #ec1c23;
  background-image: url('../Icons/arrow-icon.svg');
  width: 20px;
  height: 20px;
  font-size: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate( 315deg);
}

.badge--blue {
  background: #3659a8;
  color: #fff;
}
.badge--arrow-blue {
  border-color: #3659a8;
}
.badge--arrow-blue:after {
  color: #3659a8;
}

.job-title {
  margin: 6px 0 8px;
}
a .job-title  {
  color: black;
  text-decoration: none;
  font-weight: 700;
}
a:hover .job-title  {
  text-decoration: underline;
}

.line-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  font-size: 0.95rem;
  padding-top: 0.25rem;
  margin-top: auto;
}
.line-type .chev {
}
.line-type .chev:after {
  color: #3659a8;
  font-weight: 700;
  content: "\e602";
  font-family: "oest", Hind, Verdana, Arial, Helvetica, sans-serif;
}

.job-card h3 {
  margin: 2px 0 0;
  font-size: 1.26rem;
  line-height: 1.22;
}
.job-card h3 a {
  color: black;
  text-decoration: none;
}
.meta {
  color: #6b7280;
  font-size: 0.92rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.chip {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
}

.jobs-section .search {
  position: relative;
}

.jobs-section .search:after {
  content: "";
  background-image: url('../Icons/search-icon.svg');
  color: #fff;
  width: 35px;
  height: 35px;
  font-size: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
}

@media (max-width: 1280px) {
  .jobs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .jobs-hero {
    grid-template-columns: 1fr;
  }
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .jobs-filters .row {
    grid-template-columns: 1fr;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}


#left .frame-type-textmedia:has(.text-box) {
  padding: 20px;
  background: #ec1c23;
  color: #fff;
  border-radius: var(--border-radius-jobs);
  position: relative;
}
    
#left .frame-type-textmedia:has(.text-box):after{
  content: "";
  background-image: url(../Icons/arrow-outline-white-icon.svg);
  width: 35px;
  height: 35px;
  font-size: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(45deg);
  position: absolute;
  right: 20px;
  bottom: 20px;
}

#left .frame-type-textmedia:has(.text-box) .ce-textpic{
  width: calc(100% - 50px);
}

#left .frame-type-textmedia:has(.text-box) h2 {
  color: #fff;
}

.frame-type-list:has(.jobs-section), .frame-type-list:has(.job-detail), #left .frame-type-textmedia {
  margin: 0 10px;
}

@media screen and (max-width: 1023px) {
  .frame-type-list:has(.jobs-section), .frame-type-list:has(.job-detail), #left .frame-type-textmedia {
    margin: 0 20px;
  }
}


.job-card:has(.thumb) {
  min-height: 300px;
}
.job-card:has(.thumb) a {
  padding: unset;
}
.job-card:has(.thumb) .head {
  padding: 14px 16px 0;
}

.job-card:has(.thumb) .job-title {
  padding: 0 16px 20px;
}
.job-card:has(.thumb) .thumb {
  height: 150px;
  width: 100%;
  margin-top: auto;
}
.job-card:has(.thumb) img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}