/* Careers page and job pages. Colours and type follow the site's Elementor kit:
   navy #121C52 (primary), coral #F84365 (accent), purple #B14FB1 (buttons on the
   home page), text #636A86, light #F8F8F9, border #EEEFF2; Inter for headings,
   Heebo for body text. */

.sas-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

.sas-careers-hero h1, .sas-careers-hero h2, .sas-vacancies h2, .sas-vacancies h3, .sas-vacancies h4,
.sas-careers-cta h2, .sas-job-hero h1, .sas-job-body h2, .sas-job-body h3 {
  font-family: var(--e-global-typography-primary-font-family, "Inter"), sans-serif;
  color: #121C52;
  margin: 0;
}

.sas-careers-hero p, .sas-vacancies p, .sas-careers-cta p, .sas-job-hero p, .sas-job-body p,
.sas-job-body li, .sas-job-body td, .sas-job-body dd {
  font-family: var(--e-global-typography-text-font-family, "Heebo"), sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #636A86;
}

.sas-icon { flex: 0 0 auto; vertical-align: -3px; }

/* buttons */
.sas-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: #B14FB1;
  color: #fff !important;
  font-family: var(--e-global-typography-accent-font-family, "Inter"), sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease;
}
.sas-btn:hover, .sas-btn:focus-visible { background: #121C52; color: #fff !important; }
.sas-btn--outline { background: transparent; color: #121C52 !important; box-shadow: inset 0 0 0 2px #121C52; }
.sas-btn--outline:hover, .sas-btn--outline:focus-visible { background: #121C52; color: #fff !important; }
.sas-btn--light { background: #fff; color: #121C52 !important; }
.sas-btn--light:hover, .sas-btn--light:focus-visible { background: #B14FB1; color: #fff !important; }
.sas-btn--block { display: block; text-align: center; }
.sas-link { color: #121C52 !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.sas-link:hover { color: #F84365 !important; }

.sas-divider { width: 40px; height: 4px; border-radius: 2px; background: #F84365; margin: 18px auto 0; }

/* hero */
.sas-careers-hero { padding: 90px 0 40px; text-align: center; }
.sas-careers-hero__title { font-size: 42px; font-weight: 700; line-height: 1.2; }
.sas-careers-hero__lead { max-width: 720px; margin: 22px auto 0 !important; font-size: 18px !important; }
.sas-careers-hero__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.sas-pill {
  padding: 10px 20px; border-radius: 50px; background: #F8F8F9; border: 1px solid #EEEFF2;
  color: #121C52 !important; font-weight: 600; font-size: 15px; text-decoration: none;
}
.sas-pill:hover { border-color: #B14FB1; color: #B14FB1 !important; }

/* vacancies */
.sas-vacancies { padding: 30px 0 70px; }
.sas-section-title { font-size: 32px; font-weight: 600; line-height: 1.2; text-align: center; margin-bottom: 40px !important; }
.sas-home-group { padding: 30px; border-radius: 12px; background: #F8F8F9; scroll-margin-top: 30px; }
.sas-home-group + .sas-home-group { margin-top: 30px; }
.sas-home-group__head {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #EEEFF2;
}
.sas-home-group__name { font-size: 24px; font-weight: 600; line-height: 1.2; }
.sas-home-group__name a { color: #121C52 !important; text-decoration: none; }
.sas-home-group__name a:hover { color: #F84365 !important; }
.sas-home-group__where { margin: 8px 0 0 !important; display: flex; gap: 8px; align-items: center; }
.sas-home-group__where .sas-icon, .sas-home-group__phone .sas-icon { color: #F84365; }
.sas-home-group__phone {
  display: inline-flex; gap: 8px; align-items: center; color: #121C52 !important;
  font-weight: 600; text-decoration: none;
}
.sas-home-group__phone:hover { color: #F84365 !important; }

.sas-job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.sas-job-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 10px;
  background: #fff; border: 1px solid #EEEFF2; transition: box-shadow .2s ease, border-color .2s ease;
}
.sas-job-card:hover { border-color: #e1d0e1; box-shadow: 0 10px 30px rgba(18, 28, 82, .08); }
.sas-job-card__title { font-size: 20px !important; font-weight: 600; line-height: 1.3; }
.sas-job-card__title a { color: #121C52 !important; text-decoration: none; }
.sas-job-card__title a:hover { color: #B14FB1 !important; }
.sas-job-card__summary { margin: 0 !important; flex: 1; }
.sas-job-card__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 6px; }

.sas-job-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sas-job-meta li {
  display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 50px;
  background: #F8F8F9; color: #121C52; font-size: 14px; font-weight: 500; line-height: 1.2;
  font-family: var(--e-global-typography-accent-font-family, "Inter"), sans-serif;
}
.sas-job-card .sas-job-meta li { background: #F4ECF4; }
.sas-job-meta .sas-icon { color: #B14FB1; }
.sas-empty { margin: 0 !important; }

/* call to action */
.sas-careers-cta { background: #121C52; padding: 60px 0; }
.sas-careers-cta__inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.sas-careers-cta__inner > div { flex: 1 1 420px; }
.sas-careers-cta__title { color: #fff !important; font-size: 30px; font-weight: 600; line-height: 1.2; }
.sas-careers-cta p { color: #A7ADC3; margin: 10px 0 0 !important; }

/* job page */
.sas-job-hero { background: #F8F8F9; padding: 60px 0 50px; border-bottom: 1px solid #EEEFF2; }
.sas-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #636A86; margin-bottom: 18px; }
.sas-breadcrumb a { color: #636A86 !important; text-decoration: none; }
.sas-breadcrumb a:hover { color: #F84365 !important; }
.sas-breadcrumb [aria-current] { color: #121C52; }
.sas-job-hero__title { font-size: 42px; font-weight: 700; line-height: 1.2; }
.sas-job-hero__home { margin: 10px 0 20px !important; font-size: 18px !important; }
.sas-job-hero__home a { color: #F84365 !important; text-decoration: none; font-weight: 500; }
.sas-job-hero__home a:hover { color: #121C52 !important; }
.sas-job-meta--large li { background: #fff; font-size: 15px; padding: 8px 14px; }
.sas-job-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.sas-job-body { padding: 60px 0 80px; }
.sas-job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.sas-job-h2 { font-size: 24px !important; font-weight: 600; line-height: 1.3; margin: 36px 0 14px !important; }
.sas-job-main > .sas-job-h2:first-child { margin-top: 0 !important; }
.sas-job-main p { margin: 0 0 14px !important; }
.sas-list { margin: 0 0 14px; padding: 0; list-style: none; }
.sas-list li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.sas-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #F84365;
}
.sas-shifts { border-collapse: collapse; margin: 6px 0 14px; width: 100%; max-width: 420px; }
.sas-shifts th, .sas-shifts td { padding: 10px 14px; border-bottom: 1px solid #EEEFF2; text-align: left; font-size: 15px; }
.sas-shifts th { color: #121C52; font-weight: 600; font-family: var(--e-global-typography-accent-font-family, "Inter"), sans-serif; }
.sas-note { padding: 14px 18px; border-left: 4px solid #F84365; background: #F8F8F9; border-radius: 4px; }
.sas-job-apply { margin-top: 40px; padding: 30px; border-radius: 12px; background: #F8F8F9; }
.sas-job-apply .sas-job-h2 { margin-top: 0 !important; }
.sas-job-apply a:not(.sas-btn) { color: #F84365 !important; font-weight: 600; }

.sas-job-side { display: grid; gap: 24px; position: sticky; top: 30px; }
.sas-side-card { padding: 26px; border-radius: 12px; background: #fff; border: 1px solid #EEEFF2; box-shadow: 0 10px 30px rgba(18, 28, 82, .06); }
.sas-side-card__title { font-size: 19px !important; font-weight: 600; margin-bottom: 16px !important; }
.sas-summary { margin: 0 0 22px; }
.sas-summary dt {
  font-family: var(--e-global-typography-accent-font-family, "Inter"), sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #A7ADC3;
}
.sas-summary dd { margin: 2px 0 14px; color: #121C52; font-weight: 500; }
.sas-summary a { color: #121C52 !important; }
.sas-other-jobs { list-style: none; margin: 0; padding: 0; }
.sas-other-jobs li { padding: 12px 0; border-top: 1px solid #EEEFF2; display: grid; gap: 2px; }
.sas-other-jobs li:first-child { border-top: 0; padding-top: 0; }
.sas-other-jobs a { color: #121C52 !important; font-weight: 600; text-decoration: none; }
.sas-other-jobs a:hover { color: #B14FB1 !important; }
.sas-other-jobs span { font-size: 14px; color: #636A86; }

@media (max-width: 1024px) {
  .sas-job-layout { grid-template-columns: 1fr; }
  .sas-job-side { position: static; }
}
@media (max-width: 767px) {
  .sas-careers-hero { padding: 60px 0 30px; }
  .sas-careers-hero__title, .sas-job-hero__title { font-size: 32px; }
  .sas-section-title { font-size: 26px; }
  .sas-home-group { padding: 20px 16px; }
  .sas-job-grid { grid-template-columns: 1fr; }
  .sas-job-hero { padding: 40px 0; }
  .sas-careers-cta__title { font-size: 24px; }
}
