/* 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: bold 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:hover { background: #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; }
.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__tags { margin-top: 12px; }
.job-card__excerpt { margin: 12px 0 0; 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 .jobs__footer { margin-top: 18px; }
.job-card .hbr_top > a { margin-right: 16px; }

.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-size: 34px; line-height: 1.15; 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; }
.job-detail__description { margin: 30px 0; font-size: 16px; line-height: 1.6; }
.job-detail__description ul { padding-left: 22px; list-style: disc; }
.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--apply { background: #E30613; border-color: #E30613; }
.job-btn--back { background: #fff; color: #251F4D; }
.job-btn:hover { background: #fff; color: #251F4D; }
.job-btn--apply:hover { color: #E30613; }
.job-btn--back:hover { background: #251F4D; color: #fff; }

.job-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 0; padding: 16px; background: #EEEEEE; }
.job-share__link {
  padding: 8px 16px;
  border: 2px solid #251F4D;
  background: #fff;
  color: #251F4D;
  font: bold 14px 'Roboto', sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.job-share__link:hover { background: #251F4D; color: #fff; }
.job-share__copied { color: #E30613; font-weight: bold; }

@media (max-width: 767px) {
  .job-board__inner { gap: 30px; }
  .job-finder { flex: 1 1 100%; }
  .job-results__count { text-align: left; }
  .job-card .hbr_top > a { margin: 0 0 10px; }
  .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; }
}
