/*MAIN*/
#main {
  width: 100vw;
  background-color: var(--white);
}
#main .subpage,
#main .subpage2 {
  text-align: center;
  font-size: 4rem;
  color: var(--brand-orange-color);
  font-size: 4rem;
  font-weight: 600;
}
#main .subpage::after,
#main .subpage2::after {
  display: block;
  content: "";
  width: 6rem;
  height: 0.35rem;
  background-color: var(--brand-orange-color);
  margin: 0.75em auto;
}
#main .mainwrap1 {
  text-align: center;
}
#main .mainwrap1 h1 {
  color: var(--black);
  margin-bottom: 0.75em;
}
/*First*/
#main .subpage2 {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25em !important;
  color: var(--brand-orange-color);
  font-size: 4rem;
  font-weight: 600;
}
#main .subpage2::after {
  display: block;
  content: "";
  width: 6rem;
  height: 0.35rem;
  background-color: var(--brand-orange-color);
  margin: 0.75em auto;
}
/* SECTION 2 */
#main .mainwrap2 {
  width: 100vw;
  background-color: var(--f8f8f8-color);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}
#main .mainwrap2 .career h4 {
  font-weight: 550;
}
#main .mainwrap2 .career {
  margin: 51px 20px;
  background-color: var(--white);
  color: var(--black);
  height: 8.75em;
  padding: 1em 0 1em 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: solid 3px var(--brand-orange-color);
}
#main .mainwrap2 .career p {
  display: none;
}
#main .mainwrap2 .career a {
  text-decoration: none;
  color: #000;
  font-weight: 950;
}
#main .mainwrap3 .role {
  min-height: 18em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
#main .mainwrap3 .role img {
  width: 40%;
  /* height: 40%; */
}
#main .mainwrap3 .role:nth-child(1),
#main .mainwrap3 .role:nth-child(3) {
  background-color: var(--white);
}
#main .mainwrap3 .role:nth-child(2) {
  background-color: var(--f8f8f8-color);
  /* text-align: right; */
}
#main .mainwrap3 .role h2 {
  margin-bottom: 0.75em;
  color: var(--black);
  width: 20%;
}
#main .mainwrap3 .role p {
  width: 80%;
  font-size: 17px;
}
.content-section {
  display: flex;
  align-items: center;
}
.content-section .cont-tex {
  width: 70%;
}
.pro-img {
  width: 443px;
}
/*NEWSLETTER*/
#newsletter {
  width: 100%;
  background-image: url(/images/cta-bg.png);
  background-color: rgba(17, 17, 17, 0.664);
  background-blend-mode: multiply;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: var(--white);
}
#newsletter h4 {
  color: var(--white);
  margin-bottom: 2.5em;
}
#newsletter form {
  display: flex;
  gap: -0.5em;
}
#newsletter form input {
  background-color: var(--white);
  border-radius: 1.75em 0 0 1.75em;
  border: 0;
  outline: none;
  padding: 1em 1.75em;
}
#newsletter form input::placeholder {
  font-size: 1.4rem;
  font-family: "Nunito";
}
#newsletter form button {
  background-color: var(--brand-orange-color);
  color: var(--white);
  border-radius: 0 1.75em 1.75em 0;
  border: 0;
  outline: none;
  padding: 1em 1.75em;
  font-family: "Nunito";
  font-weight: 700;
}
#main .p4 {
  font: 1rem;
  padding: 40px 22px;
}

/*TABLET VERSION STARTS HERE*/
@media (min-width: 665px) and (max-width: 1024px) {
  /*MAIN*/
  #main .mainwrap1 {
    margin-left: 35px;
    text-align: left;
    width: 30%;
  }
  #main .subpage,
  #main .subpage2 {
    font-size: 24px;
  }
  #main,
  .mainwrap3 {
    padding: 0;
  }

  #main .mainwrap3 .role {
    min-height: 14em;
  }
  #newsletter {
    padding: 4.5rem 0;
  }
}

/*MOBILE VERSION STARTS HERE*/
@media (max-width: 664px) {
  /* PAGE TITLE */
  #page-title span,
  #page-title a,
  #page-title i {
    font-size: 1rem;
  }
  /*MAIN*/
  #main,
  .mainwrap3 {
    padding: 0;
  }
  #main .mainwrap1 {
    text-align: left;
    margin-left: 26px;
  }
  #main .subpage,
  #main .subpage2 {
    padding-top: 16px;
    font-size: 21px;
  }
  /* #main .mainwrap3 .role {
    min-height: auto;
  } */
  #main .mainwrap2 {
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
    background-color: #fff;
    padding-bottom: 24px;
  }

  #main .mainwrap2 .career {
    height: 100%;
  }

  #main .mainwrap2 .career p {
    display: block;
    padding: 15px 0;
  }
  #main .mainwrap2 .career {
    margin: 0px;
    padding: 10px 0;
  }

  #main .mainwrap2 .career a {
    text-decoration: none;
    color: #000;
    font-weight: 900;
  }
  #main .mainwrap3 .role {
    display: none;
    /* margin-bottom: 2rem; */
  }

  #newsletter {
    padding: 4rem 0;
  }
  #main .p4 {
    padding: 30px 22px;
  }
}
