@import '/styles/global.css';
@import '/styles/HeaderManager.css';
@import '/styles/FooterManager.css';
@import '/styles/SignupElement.css';
@import '/styles/CookieConsent/CookieConsent.css';
@import '/styles/CookieConsent/CookiePreferences.css';

.careers-introduction {
  max-width: 1000px;
  text-align: center;
  padding: 50px 20px;
  margin: 0 auto;
}
.intro-title {
  padding-bottom: 25px;
}
.careers-introduction .inline-links {
  padding-top: 20px;
}
.careers-introduction .transparent-cta-button {
  padding-top: 25px;
}

/*-----------------*/
/*-----------------*/
.careers-banner__responsive {
  display: none;
}
.careers-banner {
  position: relative;
  margin-top: 100px;
  padding: 0;
  width: 100%;
  height: 430px;
  overflow: hidden;
}
.careers-banner-split {
  position: relative;
  max-width: 1500px;
  padding-inline: 120px;
  margin: 0 auto;
  display: flex;
  height: 100%;
  z-index: 1;
}
.careers-banner__text {
  flex: 0 0 50%;
  margin-left: 0;
  padding: 20px 70px 20px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.careers-banner__text h2,
.careers-banner__text p {
  margin-left: 0;
  text-align: left;
}

.careers-banner__text a {
  margin-left: 0;
  text-align: left;
  color: #fff;
  padding-top: 30px;
  text-transform: uppercase;
  font-family: "Inter";
  font-weight: 700;
}

.careers-banner__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
 
  z-index: 0;
}

/*_____________________*/


.values-container {
  background-color: #F9FAFB;
  max-width: 1500px;
  display: flex;
  padding-inline: 120px;
  padding-top: 20px;
  margin: 0 auto;
}


/*-------------------*/
/* YOUR BENEFITS SECTION */
/*-------------------*/
.benefits-container {
  max-width: 950px;
  text-align: center;
  padding: 100px 20px 50px 20px;
  margin: 0 auto;
}

.benefits-grid {
    max-width: 1500px;
    padding-inline: 120px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 15px;
    margin: auto;
}

.benefit__box {
    overflow: hidden;
}

.benefit__box:nth-child(1) {
    display: none;
}

.benefit__box:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    border-top-left-radius: 40px;
}

.benefit__box:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.benefit__box:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.benefit__box:nth-child(5) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.benefit__box:nth-child(6) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.benefit__box:nth-child(7) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.benefit__box:nth-child(8) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.benefit__box:nth-child(9) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
    border-bottom-right-radius: 40px;
}

.benefit__box--img {
  overflow: hidden;
}

.benefit__box--img img {
  width: 100%;      /* ADD */
  height: 100%;
  object-fit: cover;
  display: block;   /* ADD */
}
.benefit__box--img:nth-child(2) img {
    border-top-left-radius: 40px;
}
.benefit__box--img:nth-child(9) img {
    border-bottom-right-radius: 40px;
}
.benefit__box--text {
    background-color: #46516E;
    padding-inline: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.benefit__box--text:hover {
    background-color: var(--color-blue-nav-carousel);
}

.benefit__box--text h4 {
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 20px;
}

.benefit__box--text p {
    color: #fff;
    font-size: 1rem;
}
  /*-------------------*/

.card-mosaic {
  margin: 0px auto;
  padding: 70px 100px;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 240px;
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: white;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  transition: all 500ms;
  padding: 0;
  margin: 0;
}
.card-tall {
  grid-row: span 2/auto;
}
.card-wide {
  grid-column: span 2/auto;
}



/*  OPEN POSITIONS   */
.position__outer-container {
  max-width: 1500px;
  text-align: center;
  padding: 0px 120px 80px 120px;
  margin: 0 auto;
}
.country-selection {
  text-align: left;
  margin-left: 50px;
  margin-top: 30px;
}
.country-selection a {
  margin-left: 0;
  margin-right: 50px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
}
.country-selection a:hover {
  text-decoration: underline;
}
.onclik {
  background: none;
  border: none;
  color: var(--colr-accent-a);
  font-weight: 700;
  text-align: center;
}
.position__inner-container {
  max-width: 1160px;
  margin-inline: 0;
  padding-top: 30px;
 
  
}
.position__container {
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0px;
  margin: 20px 0px;
  border: 1px solid #EEF1F5;
  border-radius: 8px;
}

.position__container--left {
 display: block;
 margin-left: 0;
 width: 75%;
}
.position__container--left h3 {
  padding-bottom: 15px;
  font-family: "Inter";
  font-weight: 700;
  text-align: left;
  
}
.subsection-flex {
  display: flex;
}

.subsection-flex img {
  display: inline;
  width: 15px;
  margin-right: 10px;
  object-fit: contain;
}
.subsection-flex p {
  display: inline;
  margin-right: 50px;
}
.pos-loc {
  margin-left: 0;
}
.pos-type {
  margin-left: 0;
}

.position__container--right {
  margin-right: 0px;
}
.position__container--right a {
  cursor: pointer;
}





.closing-mess__careers {
  background-color: #ffffff;
}

.closing-mess__container {
  text-align: center;
  margin: auto;
  align-content: center;
  padding: 50px 20px 200px 20px;
  max-width: 1200px;
}





  @media (max-width: 1440px){}
 
  @media (max-width: 1024px){

    .careers-banner-split {
      position: relative;
      max-width: 1500px;
      padding-inline: 20px;
      margin: 0 auto;
      display: flex;
      height: 100%;
      z-index: 1;
    }
    .values-container {
      background-color: #F9FAFB;
      max-width: 1500px;
      display: flex;
      padding-inline: 20px
    }
    
  /*-------------------*/
  /* YOUR BENEFITS SECTION */
  /*-------------------*/
  .benefits-container {
    max-width: 750px;
    text-align: center;
    margin-bottom: 50px;
    padding: 70px 20px 20px 20px;
  }

  .benefits-grid {
    padding-inline: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 300px 300px;
    gap: 15px;
  }

  .benefit__box {
    overflow: hidden;
  }

  .benefit__box:nth-child(1) {
    display: flex;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    border-top-left-radius: 40px;
  }

  .benefit__box:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-radius: 0;
  }

  .benefit__box:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .benefit__box:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .benefit__box:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .benefit__box:nth-child(6) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .benefit__box:nth-child(7) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }

  .benefit__box:nth-child(8) {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    border-bottom-right-radius: 40px;
  }

  .benefit__box:nth-child(9) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    border-radius: 0;
  }

  .benefit__box--img img {
    height: 100%;
    object-fit: cover;
  }
  .benefit__box--img:nth-child(2) img {
    border-radius: 0;
  }
  .benefit__box--img:nth-child(9) img {
    border-radius: 0;
  }

  .benefit__box--text {
    background-color: #46516E;
    padding-inline: 30px;
  }

  .benefit__box--text:hover {
    background-color: var(--color-blue-nav-carousel);
    padding-inline: 30px;
  }

  .benefit__box--text h4 {
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 20px;
  }

  
    .benefit__box--text p {
      color: #fff;
      font-size: .85rem;
    }
  
    /*  OPEN POSITIONS   */
  .position__outer-container {
    padding: 0px 20px 80px;
  }

}

  
/* TABLETS*/
@media (max-width: 768px) {
  
  .careers-banner {
    display: none;
  }
  .careers-banner__responsive {
    display: flex;
    flex-direction: column;
    margin: 20px 0 0 0;
  }
  picture {
    display: block;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  picture > * {
    max-width: 100%;
  }
  .careers-banner__text__responsive {
    background-color: var(--color-blue-nav-carousel);
    color: var(--color-white);
    padding: 50px 20px;
  }
  
  .careers-banner__text__responsive p {
    color: var(--color-white);
  }  

  
  .position__container--left {
    display: block;
    margin-left: 0;
    width: 65%;
   }
   .subsection-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .closing-mess__container {
    padding: 70px 0px 100px 0px;
    max-width: 400px
  }

  /*-------------------*/
  /* YOUR BENEFITS SECTION */
  /*-------------------*/
  .benefit__box--text {
    padding-inline: 20px;
  }

}



/* MEDIUM SIZE MOBILES */
@media (max-width: 576px) {

  .careers-introduction {
      padding: 30px 20px;
  }
  .careers-introduction .inline-links {
      display: block;
  }
  .careers-introduction .inline-links a {
      margin-inline: 30px;
  }
 
  /* values section */

  .values-container {
    background-color: #F9FAFB;
    max-width: 1200px;
    display: block;
    padding-inline: 20px
  }


  
  /*-------------------*/
  /* YOUR BENEFITS SECTION */
  /*-------------------*/
  .benefits-container {
    text-align: left;
    margin-top: 0px;
    margin-bottom: 20px;
  }
  
  .benefits-grid {
    max-width: 700px;
    padding-inline: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 0px;
  }
  
  .benefit__box {
    height: 200px;
    vertical-align: middle;
  }
  
  .benefit__box:nth-child(1) {
    display: none;
  }

  .benefit__box:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .benefit__box:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .benefit__box:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .benefit__box:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .benefit__box:nth-child(6) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

.benefit__box:nth-child(7) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.benefit__box:nth-child(8) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    border-radius: 0;
}

.benefit__box:nth-child(9) {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    border-radius: 0;
}
  
.benefit__box--img img {
    height: auto;
    object-fit: cover;
}

.benefit__box--text {
    background-color: #46516E;
    padding-inline: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.benefit__box--text:hover {
    background-color: var(--color-blue-nav-carousel);
    padding-inline: 20px;
}

.benefit__box--text h4 {
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 10px;
    text-align: center;
}

.benefit__box--text p {
    display: none;
    
}
  /*-------------------*/

/*  OPEN POSITIONS   */
  .position__outer-container {
    /* padding-top: 100px; */
    padding-bottom: 0px;
    text-align: center;
    padding-inline: 20px;
  }
  .position__container {
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    margin: 10px 0px;
    border: 1px solid #EEF1F5;
    border-radius: 8px;
    cursor: pointer;
    align-items: flex-start; /* align to top, not center */
    padding: 15px 12px;
    gap: 10px;
  }
  .position__container--left {
      flex: 1 1 0;
      min-width: 0;
      padding-left: 0;
      width: auto;  /* ← override the hardcoded 75% / 65% from above */
    }
  
  .position__container--left h3 {
    padding-bottom: 8px;
    text-align: left;
  }
   .subsection-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .position__container--right {
    flex: 0 0 auto;    /* never shrink the button */
    padding-right: 0;
    margin-right: 0;
    align-self: center; /* keep button vertically centered relative to card */
   }
   .position__container--right .learn-more-btn { /* use your actual button class/selector */
    width: 90px;       /* fixed width so it stays compact */
    font-size: 0.75rem;
    padding: 10px 8px;
    text-align: center;
    white-space: nowrap;
  }
}


