﻿/* =============================================================================
   CAREERS PAGE (careers/index.html)
   Sections: .page-hero, .reward, .safety-staff, .personnel, .safety-culture, .closing
   The "JOB LISTING" pop-up is styled in css/features/popup.css
   ============================================================================= */


/* ---------- Hero ---------------------------------------------------------- */
.page-hero { height: 34.86cqw; padding: 12.23cqw 0 0 6.93cqw; }
.page-hero__eyebrow { display: none; }          /* only shown on tablets and phones */
.page-hero__title { margin-top: 0; font-size: 4.181cqw; }
.page-hero__text { width: 26.77cqw; }

.careers-apply {
  width: 13.33cqw;
  height: 3.46cqw;
  margin-top: 2.36cqw;
}


/* ---------- We reward for a job well done ---------------------------------- */
.reward {
  display: flex;
  height: 23.57cqw;
  padding: 4.84cqw 0 0 6.98cqw;
  background-color: var(--dark-grey);
  color: var(--white);
}

.reward__icon { width: 13.91cqw; height: 13.91cqw; flex-shrink: 0; }
.reward__icon img { width: 100%; height: 100%; object-fit: cover; }

.reward__text { width: 69.4cqw; margin: 0.09cqw 0 0 2.31cqw; }
.reward h2 { text-transform: uppercase; }
.reward p {
  margin-top: 0.52cqw;
  font-size: 1.112cqw;
  line-height: 1.6;
  color: var(--off-white);
}


/* ---------- Safety staff ------------------------------------------------------ */
.safety-staff {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 39.53cqw;
  padding: 3.25cqw 6.98cqw 0 7.09cqw;
}

.safety-staff__text { width: 40.79cqw; padding-top: 3.26cqw; }
.safety-staff h2 { text-transform: none; }
.safety-staff .arrow-list { margin-top: 1.31cqw; color: var(--grey); }

.safety-staff__picture {
  width: 41cqw;
  height: 34.75cqw;
  object-fit: cover;
  object-position: 61% 45%;
  border-radius: 20px;
}


/* ---------- Qualified personnel ------------------------------------------------ */
.personnel {
  display: flex;
  height: 49.71cqw;
  padding: 2.1cqw 0 0 6.25cqw;
}

.personnel__picture,
.personnel__box {
  width: 43.73cqw;
  height: 44.41cqw;
}
.personnel__picture { object-fit: cover; object-position: 50% 53%; }

.personnel__box {
  margin-left: -0.01cqw;
  padding: 5.41cqw 0 0 4.83cqw;
  background-color: rgba(0, 0, 0, 0.91);
  color: var(--white);
}
.personnel h2 { width: 33.23cqw; text-transform: none; }
.personnel .arrow-list { margin-top: 2.57cqw; }
.personnel .arrow-list li + li { margin-top: 1.99cqw; }

.personnel__button {
  width: 16.38cqw;
  height: 3.52cqw;
  margin-top: 2.78cqw;
}


/* ---------- Safety culture ---------------------------------------------------- */
.safety-culture {
  height: 13.49cqw;
  padding-top: 3.46cqw;
  background-color: var(--dark-grey);
  color: var(--yellow);
  text-align: center;
}
.safety-culture h2 { text-transform: uppercase; }
.safety-culture p {
  margin-top: 0.52cqw;
  font-size: 1.112cqw;
  line-height: 1.6;
  color: var(--off-white);
}


/* ---------- Closing ------------------------------------------------------------ */
.closing { height: 20.79cqw; padding-top: 5.56cqw; }
.closing__buttons { gap: 2.16cqw; margin-top: 1.58cqw; }
.closing .button { height: 3.46cqw; }
.closing .button:first-child { width: 16.48cqw; }
.closing .button:last-child  { width: 17.22cqw; }


/* =============================================================================
   TABLET
   ============================================================================= */
@media (max-width: 1000px) {
  .page-hero { height: 37.97cqw; padding: 7.91cqw 0 0 3.95cqw; }
  .page-hero__eyebrow { display: block; }
  .page-hero__title { margin-top: 0.79cqw; font-size: 5.312cqw; }
  .page-hero__text { width: 43.73cqw; }
  .careers-apply { width: 20.56cqw; height: 5.65cqw; margin-top: 2.49cqw; font-size: 1.812cqw; }
  .careers-apply::after { width: 3.4cqw; height: 3.4cqw; }

  .reward { height: 32.32cqw; padding: 3.98cqw 0 0 3.95cqw; }
  .reward__icon { width: 13.9cqw; height: 13.9cqw; margin-top: 5.22cqw; }
  .reward__text { width: 72.43cqw; margin: -0.03cqw 0 0 3.05cqw; }
  .reward h2 { font-size: 3.484cqw; text-transform: capitalize; }
  .reward p { margin-top: 0.9cqw; font-size: 1.726cqw; }

  .safety-staff { height: 43.95cqw; padding: 3.95cqw 4.07cqw 0 4.07cqw; }
  .safety-staff__text { width: 43.95cqw; padding-top: 3.28cqw; }
  .safety-staff h2 { text-transform: capitalize; }
  .safety-staff .arrow-list { margin-top: 1.36cqw; }
  .safety-staff__picture { width: 43.95cqw; height: 36.05cqw; }

  .personnel { height: 69.49cqw; padding: 7.91cqw 0 0 7.8cqw; }
  .personnel__picture, .personnel__box { width: 42.15cqw; height: 53.9cqw; }
  .personnel__box { margin-left: -0.01cqw; padding: 5.08cqw 0 0 4.64cqw; }
  .personnel h2 { width: 23.28cqw; font-size: 3.484cqw; }
  .personnel .arrow-list { margin-top: 2.6cqw; }
  .personnel__button { gap: 19.9px; width: 17.06cqw; height: 4.75cqw; margin-top: 1.47cqw; font-weight: 400; font-size: 1.672cqw; white-space: normal; }
  .personnel__button::after { width: 33px; height: 33px; }

  .safety-culture { height: 17.51cqw; padding-top: 3.5cqw; }
  .safety-culture h2 { font-size: 3.484cqw; }
  .safety-culture p { width: 37.85cqw; margin: 0.81cqw auto 0; font-size: 1.726cqw; }

  .closing { height: 24.75cqw; padding: 3.95cqw 7.01cqw 0; }
  .closing h2 { font-size: 3.984cqw; }
  .closing__buttons { gap: 2.03cqw; margin-top: 1.58cqw; }
  .closing .button { height: 5.65cqw; font-size: 1.812cqw; white-space: normal; text-align: center; }
  .closing .button:first-child { width: 17.85cqw; }
  .closing .button:last-child  { width: 20cqw; }
  .closing .button::after { width: 3.4cqw; height: 3.4cqw; }
}


/* =============================================================================
   PHONE
   ============================================================================= */
@media (max-width: 750px) {
  .page-hero { height: 76.27cqw; padding: 13.33cqw 0 0 5.33cqw; }
  .page-hero__title { width: 61.33cqw; margin-top: 0.8cqw; font-size: 8.588cqw; }
  .page-hero__text { width: 61.33cqw; color: var(--white); }
  .careers-apply { width: 42.67cqw; height: 12cqw; margin-top: 2.67cqw; font-size: 3.697cqw; }
  .careers-apply::after { width: 6cqw; height: 6cqw; }

  .reward { flex-direction: column; height: 115.47cqw; padding: 8cqw 5.33cqw 0; }
  .reward__icon { width: 13.87cqw; height: 13.87cqw; }
  .reward__text { width: 89.33cqw; margin: 5.33cqw 0 0; }
  .reward h2, .personnel h2 { font-size: 6.71cqw; }
  .reward p { margin-top: 2.67cqw; font-size: 3.489cqw; }

  .safety-staff { flex-direction: column-reverse; justify-content: flex-end; height: 140.8cqw; padding: 10.93cqw 0 0 5.33cqw; }
  .safety-staff__text { width: 89.33cqw; margin-left: 0.27cqw; padding-top: 5.33cqw; }
  .safety-staff .arrow-list { margin-top: 5.33cqw; }
  .safety-staff__picture { width: 89.33cqw; height: 53.33cqw; }

  .personnel { flex-direction: column; height: 184cqw; padding: 10.13cqw 0 0 10.4cqw; }
  .personnel__picture { width: 79.47cqw; height: 69.33cqw; }
  .personnel__box { width: 79.47cqw; height: 94.13cqw; margin: 0; padding: 10.13cqw 0 0 9.6cqw; }
  .personnel h2 { width: 43.2cqw; }
  .personnel .arrow-list { margin-top: 2.93cqw; font-size: 3.737cqw; }
  .personnel .arrow-list li { padding-left: 4.8cqw; }
  .personnel .arrow-list li + li { margin-top: 1.6cqw; }
  .personnel .arrow-list li::before { top: 0; }
  .personnel__button { gap: 2cqw; width: 33.6cqw; height: 9.33cqw; margin-top: 4cqw; font-size: 3.418cqw; white-space: nowrap; }
  .personnel__button::after { width: 5cqw; height: 5cqw; }

  .safety-culture { height: 37.87cqw; padding: 8cqw 5.33cqw 0; }
  .safety-culture h2 { font-size: 6.71cqw; }
  .safety-culture p { width: auto; margin-top: 2.67cqw; font-size: 3.489cqw; }

  .closing { height: 66.13cqw; padding: 8cqw 5.33cqw 0; }
  .closing h2 { font-size: 6.71cqw; }
  .closing__buttons { gap: 2.13cqw; margin-top: 5.33cqw; }
  .closing .button { width: 48.8cqw !important; height: 13.33cqw; font-size: 3.697cqw; }
  .closing .button::after { width: 6cqw; height: 6cqw; }
}
