/*
 * Careers pages - hiring.php (job board + application form) and seemore.php
 * (one job post).
 *
 * Everything is prefixed cr- so nothing here can reach the rest of the site,
 * and nothing in the 2,500-line main.css can reach in: the old page borrowed
 * the "book-a-table" reservation styles, which is why the resume form looked
 * like a table booking.
 *
 * Colours are the BIGGS palette the admin redesign already uses: the navy of
 * the careers banner, the amber accent, the brand red and sky.
 */

.cr-page {
  --cr-navy: #1f2555;
  --cr-navy-2: #2b3372;
  --cr-amber: #f6b21b;
  --cr-amber-soft: #fff4d6;
  --cr-amber-ink: #2e2204;
  --cr-red: #c0272d;
  --cr-sky: #35b4e5;
  --cr-sky-soft: #e6f6fc;
  --cr-ink: #1e2749;
  --cr-muted: #5d6480;
  --cr-line: #e4e6ee;
  --cr-bg: #f5f6fa;
  --cr-card: #ffffff;
  --cr-ok: #1e8a4c;
  --cr-radius: 16px;
  --cr-shadow: 0 1px 2px rgba(30, 39, 73, 0.06), 0 8px 24px rgba(30, 39, 73, 0.06);

  background: var(--cr-bg);
  color: var(--cr-ink);
}

.cr-page h1,
.cr-page h2,
.cr-page h3,
.cr-page h4 {
  color: var(--cr-ink);
  font-family: "NATOM-Medium", sans-serif;
}

.cr-page a {
  color: var(--cr-navy);
}

/*
 * main.css gives every <section> overflow:hidden and padding-top:0 !important.
 * The first would stop the side columns sticking and clip the card shadows;
 * the second flattens every section's top spacing. Undone for these pages only.
 */
.cr-page section {
  overflow: visible;
}

.cr-page .cr-section {
  padding-top: 56px !important;
}

/* ---------- Banner ---------- */

.cr-banner {
  background: var(--cr-navy);
  line-height: 0;
}

.cr-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Intro card ---------- */

.cr-intro {
  position: relative;
  z-index: 2;
  /* Pulled up over the navy wave at the bottom of the banner, so the headline
     reads as part of it rather than as a new section. */
  margin-top: -56px;
}

.cr-intro__card {
  background: var(--cr-card);
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  border-top: 5px solid var(--cr-amber);
}

.cr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cr-red);
  margin-bottom: 10px;
}

.cr-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--cr-red);
}

.cr-title {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  margin: 0 0 12px;
  font-weight: bold;
}

/* The one phrase the eye should land on first. A highlighter stroke rather
   than a colour change, so it still reads on a greyscale print-out. */
.cr-hl {
  background: linear-gradient(transparent 58%, rgba(246, 178, 27, 0.6) 58%);
  padding: 0 2px;
}

.cr-lede {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--cr-muted);
  margin: 0 0 18px;
  max-width: 60ch;
}

.cr-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cr-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cr-bg);
  border: 1px solid var(--cr-line);
  font-size: 14px;
  color: var(--cr-muted);
}

.cr-facts li strong {
  color: var(--cr-ink);
}

.cr-facts li.is-hot {
  background: var(--cr-amber-soft);
  border-color: rgba(246, 178, 27, 0.55);
  color: var(--cr-amber-ink);
}

.cr-facts li.is-hot strong {
  color: var(--cr-amber-ink);
}

/* ---------- Search ---------- */

.cr-search {
  background: var(--cr-navy);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-search__title {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 2px;
}

.cr-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 0 12px;
  min-height: 48px;
}

.cr-search__field i {
  color: var(--cr-muted);
  font-size: 16px;
}

.cr-search__field input,
.cr-search__field select {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  background: transparent;
  font-size: 15px;
  color: var(--cr-ink);
  padding: 12px 0;
}

.cr-search__field:focus-within {
  box-shadow: 0 0 0 3px rgba(246, 178, 27, 0.6);
}

/* ---------- Buttons ---------- */

.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cr-btn:focus-visible {
  outline: 3px solid rgba(53, 180, 229, 0.7);
  outline-offset: 2px;
}

.cr-page .cr-btn--primary {
  background: var(--cr-amber);
  color: var(--cr-amber-ink);
}

.cr-page .cr-btn--primary:hover {
  filter: brightness(1.05);
  color: var(--cr-amber-ink);
}

.cr-page .cr-btn--navy {
  background: var(--cr-navy);
  color: #fff;
}

.cr-page .cr-btn--navy:hover {
  background: var(--cr-navy-2);
  color: #fff;
}

.cr-page .cr-btn--ghost {
  background: transparent;
  border-color: var(--cr-line);
  color: var(--cr-navy);
}

.cr-page .cr-btn--ghost:hover {
  border-color: var(--cr-navy);
  color: var(--cr-navy);
}

.cr-btn[disabled],
.cr-btn.is-busy {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Sections ---------- */

.cr-section {
  padding: 56px 0;
}

.cr-sechead {
  margin-bottom: 22px;
}

.cr-sechead h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: bold;
  margin: 0 0 6px;
}

.cr-sechead p {
  color: var(--cr-muted);
  margin: 0;
}

/* ---------- Job list ---------- */

.cr-listhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.cr-listhead h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: bold;
  margin: 0;
}

.cr-count {
  color: var(--cr-muted);
  font-size: 14px;
  margin: 0;
}

.cr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.cr-filters select {
  appearance: auto;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--cr-line);
  background: #fff;
  color: var(--cr-ink);
  font-size: 14px;
  max-width: 100%;
}

.cr-filters select:focus-visible {
  outline: 3px solid rgba(53, 180, 229, 0.5);
}

.cr-filters .cr-clear {
  align-self: center;
  font-size: 14px;
  font-weight: bold;
  color: var(--cr-red);
  text-decoration: none;
  margin-left: 4px;
}

.cr-jobs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cr-job {
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(30, 39, 73, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  position: relative;
}

.cr-job:hover {
  border-color: rgba(31, 37, 85, 0.35);
  box-shadow: var(--cr-shadow);
}

.cr-job[hidden] {
  display: none;
}

.cr-job__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cr-job__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  background: var(--cr-sky-soft);
  color: #13688b;
  letter-spacing: 0.02em;
}

.cr-badge--new {
  background: var(--cr-red);
  color: #fff;
}

.cr-badge--closed {
  background: #eceef3;
  color: var(--cr-muted);
}

.cr-job__date {
  font-size: 13px;
  color: var(--cr-muted);
}

.cr-job__title {
  font-size: 21px;
  font-weight: bold;
  margin: 0 0 8px;
  line-height: 1.25;
}

.cr-job__title a {
  color: var(--cr-navy);
  text-decoration: none;
}

.cr-job__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cr-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--cr-muted);
  font-size: 14px;
}

.cr-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cr-meta i {
  color: var(--cr-navy);
  opacity: 0.75;
}

.cr-job__summary {
  color: #3d4462;
  line-height: 1.6;
  margin: 0 0 16px;
}

.cr-job__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cr-empty {
  background: var(--cr-card);
  border: 1px dashed #cfd3e0;
  border-radius: var(--cr-radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--cr-muted);
}

.cr-empty h3 {
  font-size: 19px;
  margin: 0 0 6px;
}

.cr-empty p {
  margin: 0 0 16px;
}

/* ---------- Side cards ---------- */

.cr-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 992px) {
  .cr-side--sticky {
    position: sticky;
    top: 15vh;
  }
}

.cr-card {
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  padding: 22px;
}

.cr-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px;
}

.cr-card p {
  color: var(--cr-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.cr-card--navy {
  background: var(--cr-navy);
  border-color: var(--cr-navy);
}

.cr-card--navy h3 {
  color: #fff;
}

.cr-card--navy p {
  color: rgba(255, 255, 255, 0.78);
}

.cr-steps {
  list-style: none;
  counter-reset: cr-step;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cr-steps li {
  counter-increment: cr-step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.cr-steps li::before {
  content: counter(cr-step);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cr-amber-soft);
  color: var(--cr-amber-ink);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.cr-steps strong {
  display: block;
  color: var(--cr-ink);
  font-size: 15px;
}

.cr-steps span {
  color: var(--cr-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.cr-address {
  display: flex;
  gap: 10px;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cr-address i {
  color: var(--cr-red);
  font-size: 18px;
}

/* ---------- Why BIGGS ---------- */

.cr-why {
  background: #fff;
  border-top: 1px solid var(--cr-line);
  border-bottom: 1px solid var(--cr-line);
}

.cr-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cr-value {
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  padding: 24px;
  background: var(--cr-bg);
}

.cr-value__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 14px;
}

.cr-value h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 6px;
}

.cr-value p {
  color: var(--cr-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Application form ---------- */

.cr-form {
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow);
  padding: 30px;
}

.cr-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0;
}

.cr-form legend {
  float: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "NATOM-Medium", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--cr-ink);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cr-line);
}

.cr-form legend .cr-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cr-navy);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cr-label {
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: var(--cr-ink);
  margin-bottom: 6px;
}

.cr-req {
  color: var(--cr-red);
}

.cr-opt {
  color: var(--cr-muted);
  font-weight: normal;
  font-size: 12.5px;
}

.cr-form .form-control,
.cr-form .form-select {
  min-height: 46px;
  border-radius: 10px;
  border-color: #d5d9e4;
  font-size: 15px;
  color: var(--cr-ink);
}

.cr-form textarea.form-control {
  min-height: 110px;
}

.cr-form .form-control:focus,
.cr-form .form-select:focus {
  border-color: var(--cr-navy);
  box-shadow: 0 0 0 3px rgba(31, 37, 85, 0.15);
}

.cr-form .form-control.is-invalid,
.cr-form .form-select.is-invalid {
  border-color: var(--cr-red);
}

.cr-help {
  display: block;
  font-size: 12.5px;
  color: var(--cr-muted);
  margin-top: 5px;
}

.cr-error {
  display: block;
  font-size: 13px;
  color: var(--cr-red);
  margin-top: 5px;
}

.cr-errors {
  border: 1px solid rgba(192, 39, 45, 0.35);
  background: #fdf1f1;
  color: #8c1c21;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.cr-errors ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* File pickers: a dashed drop area around the native input, which keeps
   keyboard and screen-reader behaviour without re-implementing it. */
.cr-file {
  border: 1.5px dashed #c8cddb;
  border-radius: 12px;
  padding: 14px;
  background: var(--cr-bg);
}

.cr-file.is-invalid {
  border-color: var(--cr-red);
  background: #fdf5f5;
}

.cr-file input[type="file"] {
  width: 100%;
  font-size: 14px;
}

.cr-file__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--cr-ink);
}

.cr-file__list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cr-file__list i {
  color: var(--cr-ok);
}

.cr-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: var(--cr-sky-soft);
  border: 1px solid rgba(53, 180, 229, 0.35);
  margin-bottom: 22px;
}

.cr-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--cr-navy);
}

.cr-consent label {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cr-ink);
}

.cr-consent.is-invalid {
  border-color: var(--cr-red);
  background: #fdf5f5;
}

.cr-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--cr-navy);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cr-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cr-submit .cr-btn {
  min-width: 220px;
  min-height: 50px;
  font-size: 16px;
}

.cr-submit small {
  color: var(--cr-muted);
}

.cr-counter {
  float: right;
  font-size: 12px;
  color: var(--cr-muted);
}

/* Honeypot. Off-screen rather than display:none, which some bots skip. */
.cr-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Summary aside ---------- */

.cr-summary dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cr-muted);
  font-weight: normal;
}

.cr-summary dd {
  font-size: 17px;
  font-weight: bold;
  color: var(--cr-ink);
  margin: 2px 0 16px;
}

.cr-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-check li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  font-size: 14px;
  color: var(--cr-muted);
  line-height: 1.5;
}

.cr-check i {
  color: var(--cr-ok);
}

/* ---------- Success ---------- */

.cr-success {
  background: var(--cr-card);
  border: 1px solid rgba(30, 138, 76, 0.35);
  border-top: 5px solid var(--cr-ok);
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow);
  padding: 32px;
}

.cr-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30, 138, 76, 0.12);
  color: var(--cr-ok);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.cr-success h2 {
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 8px;
}

.cr-success p {
  color: var(--cr-muted);
  line-height: 1.6;
}

/* ---------- Job detail (seemore.php) ---------- */

.cr-hero {
  background: var(--cr-navy);
  color: #fff;
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Same main.css override as .cr-section, and overflow back to hidden: it
   is what keeps the stripe inside the band. */
.cr-page .cr-hero {
  padding-top: 44px !important;
  overflow: hidden;
}

/* The awning stripe the admin uses, as a thin brand edge. */
.cr-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(45deg, #c0272d 0, #c0272d 14px, #f6f3ec 14px, #f6f3ec 28px);
}

.cr-crumbs {
  font-size: 13.5px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.cr-page .cr-crumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.cr-page .cr-crumbs a:hover {
  text-decoration: underline;
}

.cr-hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: bold;
  margin: 8px 0 12px;
  line-height: 1.15;
}

.cr-hero .cr-meta {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 22px;
}

.cr-hero .cr-meta i {
  color: var(--cr-amber);
  opacity: 1;
}

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cr-page .cr-hero .cr-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cr-page .cr-hero .cr-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.cr-post {
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  padding: 32px;
}

.cr-post section + section {
  margin-top: 28px;
  /* !important only to beat main.css's section { padding-top: 0 !important }. */
  padding-top: 26px !important;
  border-top: 1px solid var(--cr-line);
}

.cr-post h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cr-post h2 i {
  color: var(--cr-red);
  font-size: 18px;
}

/* Editor output. Sized down one step, since the section heading is the h2. */
.cr-rich {
  color: #353c5a;
  line-height: 1.7;
  font-size: 15.5px;
}

.cr-rich h2,
.cr-rich h3,
.cr-rich h4 {
  font-size: 17px;
  margin: 18px 0 8px;
}

.cr-rich ul,
.cr-rich ol {
  padding-left: 1.3rem;
}

.cr-rich li {
  margin-bottom: 6px;
}

.cr-rich p:last-child {
  margin-bottom: 0;
}

.cr-facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.cr-facts-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cr-line);
}

.cr-facts-list li:last-child {
  border-bottom: 0;
}

.cr-facts-list i {
  color: var(--cr-navy);
  margin-top: 2px;
}

.cr-facts-list small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cr-muted);
}

.cr-facts-list strong {
  color: var(--cr-ink);
}

.cr-notice {
  border-radius: 12px;
  padding: 14px 18px;
  background: var(--cr-amber-soft);
  border: 1px solid rgba(246, 178, 27, 0.55);
  color: var(--cr-amber-ink);
  margin-bottom: 18px;
}

.cr-others {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cr-other {
  display: block;
  background: var(--cr-card);
  border: 1px solid var(--cr-line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
}

.cr-other:hover {
  border-color: var(--cr-navy);
}

.cr-other strong {
  display: block;
  color: var(--cr-navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.cr-other span {
  color: var(--cr-muted);
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .cr-intro__card {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    gap: 22px;
  }

  .cr-values,
  .cr-others {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .cr-intro {
    /* The banner is only ~140px tall on a phone; overlapping it would cover
       the people in it. */
    margin-top: 16px;
  }

  .cr-section {
    padding: 36px 0;
  }

  .cr-page .cr-section {
    padding-top: 36px !important;
  }

  .cr-job {
    padding: 18px;
  }

  .cr-job__title {
    font-size: 19px;
  }

  .cr-job__actions .cr-btn {
    flex: 1 1 140px;
  }

  .cr-form,
  .cr-post,
  .cr-success {
    padding: 20px;
  }

  .cr-submit .cr-btn {
    width: 100%;
  }

  .cr-filters select {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-job,
  .cr-btn {
    transition: none;
  }
}
