/* ============================================================
   MTC Jobs (mtc_jobs shortcode) — matches the old careers
   posts module on /join-our-team/careers/
   ============================================================ */

/* Department heading — h3 */
.mtc-jobs__department-title {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 10px;
}
.mtc-jobs__department + .mtc-jobs__department {
  margin-top: 40px;
}

.mtc-jobs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each listing row: [ + ]  body  [ Apply Now ] */
.mtc-jobs__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 35px 0 80px 150px;
  border-bottom: 1px solid #4D5057;
}

/* Plus marker */
.mtc-jobs__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 33%;
  width: 80px;
  height: 80px;
  transform: translateY(-50%);
  background: url(/wp-content/themes/bb-theme-child/assets/icons/cross.svg) no-repeat center center;
  background-size: 80px 80px;
}

/* Title + meta wrapper */
.mtc-jobs__body {
  flex: 1;
}

/* Job title — h4 */
.mtc-jobs__link {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  transition: color .3s ease;
}
.mtc-jobs__link:hover {
  color: #B8C0D0;
  text-decoration: none;
}

/* Location · Full time */
.mtc-jobs__meta {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #B8C0D0;
}

/* Role description excerpt */
.mtc-jobs__excerpt {
  max-width: 620px;
  margin: 16px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #fff;
}

/* Apply Now button — real anchor */
.mtc-jobs__apply {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: background .3s ease, border-color .3s ease;
}
.mtc-jobs__apply:hover {
  background: #557087;
  border-color: #557087;
  color: #fff;
  text-decoration: none;
}

/* Mobile — stack button below content */
@media (max-width: 768px) {
  .mtc-jobs__item {
    flex-wrap: wrap;
    padding: 30px 0 30px 70px;
    gap: 20px;
  }
  .mtc-jobs__item::before {
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
  }
  .mtc-jobs__link {
    font-size: 24px;
  }
  .mtc-jobs__apply {
    flex-basis: 100%;
  }
}
