/* Temp job listing and detail pages (Idibu jobs). Builds on style.css: .jobs__*, .hbr_top */

/* ---------- Listing ---------- */
.job-board { padding: 40px 0 70px; font-family: 'Roboto', sans-serif; color: #251F4D; }
.job-board__inner { display: flex; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.job-board__heading {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.job-finder {
  flex: 0 0 300px;
  box-sizing: border-box;
  padding: 24px 20px 28px;
  background: #EEEEEE;
}
.job-finder__title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
  color: #251F4D;
}
.job-finder__label { display: block; margin: 0 0 8px; font-weight: bold; font-size: 16px; }
.job-finder__input {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0 0 16px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  background: #fff;
  font: normal 16px 'Roboto', sans-serif;
  color: #251F4D;
}
.job-finder__keyword { position: relative; }
.job-finder__keyword .job-finder__input { padding-left: 36px; font-weight: normal; }
.job-finder__icon { position: absolute; left: 11px; top: 11px; width: 18px; height: 18px; color: #251F4D; }
.job-finder__submit {
  display: block;
  width: 100%;
  height: 46px;
  border: 0;
  background: #E30613;
  color: #fff;
  font: bold 15px 'Roboto', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
.job-finder__submit { transition: color 0.3s; }
.job-finder__submit:hover { color: #251F4D; }
.job-finder__clear { display: block; margin-top: 12px; text-align: center; color: #251F4D; text-decoration: underline; }

.job-results { flex: 1 1 480px; min-width: 0; }
/* The site's body font is Roboto-Black; listing text should be regular weight. */
.job-results__count,
.job-results__empty,
.job-results__register,
.job-card__posted,
.job-pager { font-family: 'Roboto', sans-serif; font-weight: normal; }
.job-results__count { margin: 0 0 24px; text-align: center; }
.job-results__empty { margin: 30px 0; text-align: center; }
.job-results__register { margin: 24px 0 0; }
.job-results__register a { color: #E30613; font-weight: bold; }

.job-card { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid #EEEEEE; }
.job-card__header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.job-card__header .jobs__title { margin: 0; font-size: 22px; }
.job-card__posted { font-size: 14px; color: #7e7e7e; }
.job-card__type { margin: 8px 0 0; font-weight: bold; font-size: 14px; }
.job-card__meta { margin: 10px 0 0; font-family: 'Roboto', sans-serif; font-weight: normal; font-size: 16px; color: #000; }
.job-card__sep { margin: 0 8px; color: #7e7e7e; }
.job-card__excerpt { margin: 12px 0 0; font-family: 'Roboto', sans-serif; font-weight: normal; line-height: 1.5; }
.job-card__consultant { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 14px; color: #7e7e7e; }
.job-card__consultant svg { width: 28px; height: 28px; }
.job-card__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

.job-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.job-pager__links a,
.job-pager__links strong { margin: 0 4px; color: #251F4D; }
.job-pager__links a { text-decoration: underline; }

/* ---------- Detail ---------- */
.job-detail { padding: 40px 0 70px; font-family: 'Roboto', sans-serif; color: #251F4D; }
.job-detail__back { display: inline-block; margin-bottom: 20px; font-size: 14px; color: #251F4D; text-decoration: underline; }
.job-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.job-detail__title { margin: 0 0 14px; font-family: 'Roboto-Black', 'Roboto', sans-serif; font-size: 34px; line-height: 1.15; text-align: left; text-transform: uppercase; color: #251F4D; }
.job-detail__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.job-detail__label { margin-right: 4px; font-size: 12px; font-weight: bold; text-transform: uppercase; color: #E30613; }
.job-detail__actions { display: flex; flex-direction: column; gap: 8px; flex: 0 0 140px; }
/* The site sets every heading to 40px, centred and upper case, and the body font to Roboto-Black.
   Advert text from idibu should read like a normal document instead. */
.job-detail__description { margin: 30px 0; font-family: 'Roboto', sans-serif; font-weight: normal; font-size: 16px; line-height: 1.6; text-align: left; color: #251F4D; }
.job-detail__description h1,
.job-detail__description h2,
.job-detail__description h3,
.job-detail__description h4,
.job-detail__description h5,
.job-detail__description h6 { margin: 24px 0 8px; font-family: 'Roboto-Black', 'Roboto', sans-serif; font-size: 20px; line-height: 1.3; text-align: left; text-transform: none; color: #251F4D; }
.job-detail__description > :first-child { margin-top: 0; }
.job-detail__description p { margin: 0 0 12px; }
.job-detail__description strong,
.job-detail__description b { font-family: 'Roboto-Black', 'Roboto', sans-serif; font-weight: normal; }
.job-detail__description ul,
.job-detail__description ol { margin: 0 0 12px; padding-left: 22px; }
.job-detail__description ul { list-style: disc; }
.job-detail__description ol { list-style: decimal; }
.job-detail__description li { margin-bottom: 4px; }
.job-detail__footer { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid #EEEEEE; }

.job-btn {
  display: inline-block;
  min-width: 110px;
  padding: 11px 20px;
  box-sizing: border-box;
  border: 2px solid #251F4D;
  background: #251F4D;
  color: #fff;
  font: bold 14px/1.2 'Roboto', sans-serif;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.job-btn { transition: color 0.3s; }
.job-btn--apply { background: #E30613; border-color: #E30613; }
.job-btn--back { background: #fff; color: #251F4D; }
/* Same hover as the site's own buttons: the fill stays, only the text colour changes. */
.job-btn:hover { color: #E30613; }
.job-btn--apply:hover { color: #251F4D; }
.job-btn--back:hover { color: #E30613; }

.job-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 24px; }
.job-share__label { font-family: 'Roboto-Black', 'Roboto', sans-serif; font-size: 16px; color: #251F4D; }
.job-share__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: #251F4D;
  cursor: pointer;
  transition: color 0.3s;
}
.job-share__icon svg { width: 26px; height: 26px; }
.job-share__icon:hover { color: #E30613; }
.job-share__copied { font-family: 'Roboto', sans-serif; font-size: 14px; color: #E30613; }

@media (max-width: 767px) {
  .job-board__inner { gap: 30px; }
  .job-finder { flex: 1 1 100%; }
  .job-results__count { text-align: left; }
  .job-pager { justify-content: center; text-align: center; }
  .job-detail__head { flex-direction: column; }
  .job-detail__actions { flex-direction: row; flex: none; }
  .job-detail__title { font-size: 26px; }
}
