/* JOBS BLOCK
   ----------------------------- */

section.jobs {
    max-width: 1550px;
    width: 100%;
    margin: 0 auto;
}

section.jobs .content-wrap {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3,1fr);
}

section.jobs .content-wrap .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--black);
    background: var(--purple);
    border: 2px solid var(--purple);
    padding: 24px;
    text-align: left;
    gap: 120px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

section.jobs .content-wrap .item:hover {
    transform: translateY(-6px);
    -webkit-transform: translateY(-6px);
}

section.jobs .content-wrap .item .item-arrow {
    display: flex;

}

section.jobs .content-wrap .item h3 {
    font-size: clamp(19px,1.8vw,26px);
    line-height: 1.2;
    font-weight: 500;
}

section.jobs .content-wrap .item svg {
    height: 20px;
    width: 20px;
    transition: all 0.3s ease;
}

section.jobs .content-wrap .item:hover svg {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

/* Modal */

section.jobs .jobs-modal {
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    visibility: visible;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    display: flex;
    position: fixed;
    inset: 0;
    overflow: hidden;
    transition: all 0.6s ease;
}

section.jobs .jobs-modal[data-modal-group-status="active"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

section.jobs .jobs-modal-dark {
    opacity: 0.7;
    pointer-events: none;
    cursor: pointer;
    background-color: var(--black);
    width: 100%;
    height: 100%;
    position: absolute;
}
section.jobs .jobs-modal[data-modal-group-status="active"] .jobs-modal-dark{
    pointer-events: initial;
}

section.jobs .modal-card {
    pointer-events: none;
    width: 100%;
    max-width: 1000px;
    max-height: 100%;
    display: none;
    position: relative;
}

section.jobs .modal-card[data-modal-status="active"] {
    pointer-events: initial;
    display: flex;
}
section.jobs .modal-content-wrap{
    width: 100%;
    background-color: var(--white);
    border-radius: 24px;
    padding: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(20px);
}
section.jobs .modal-card[data-modal-content="active"] .modal-content-wrap{
    opacity: 1;
    transform: translateY(0px);
}

section.jobs .modal-scroll {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    background-color: var(--light-grey);
    border-radius: 18px;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    display: flex;
    position: relative;
    overflow: auto;
}

section.jobs .modal-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
section.jobs .modal-h2 {
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.175;
    color: var(--black);
    max-width: 85%;
}

section.jobs .modal-section {
  display: block;
}

section.jobs .modal-content {
    display: flex; 
    gap: 20px;
    flex-direction: column;
    padding: 32px 32px 42px 32px;
    text-align: left;
}

section.jobs .modal-content .modal-sections {
    display: flex; 
    gap: 35px;
    flex-direction: column;
}

section.jobs .modal-content p {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    font-size: var(--small-paragraph-size);
    line-height: 1.5;
    color: var(--black);
}

section.jobs .modal-content p:last-child {
    margin-bottom: 0;
}

section.jobs .modal-h5 {
  margin-bottom: 10px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--black);
}

section.jobs .modal-section > h5:only-child {
  margin-bottom: 0;
}

section.jobs .modal-list {
  margin: 10px 0 0 0;
  padding-left: 1.2em;
  list-style: disc;
}

section.jobs .modal-list li {
  margin: 6px 0;
  font-size: var(--small-paragraph-size);
  line-height: 1.5;
  color: var(--black);
}

section.jobs .modal-btn-close {
    background-color: var(--white);
    border-radius: 50% !important;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    display: flex;
    position: absolute;
    top: 26px;
    right: 26px;
    cursor: pointer;
    border: 0;
    transition: all 0.3s ease;
}

section.jobs .modal-btn-close:hover {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

section.jobs .modal-btn-close-bar {
    background-color: currentColor;
    width: .125em;
    height: 40%;
    position: absolute;
    transform: rotate(45deg);
    color: var(--black);
}

section.jobs .modal-btn-close-bar.is-second {
    transform: rotate(-45deg);
}

html.jobs-modal-open-root,
body.jobs-modal-open { 
    overscroll-behavior: none; 
}


@media (max-width: 1024px) {
    section.jobs .content-wrap .item:hover {
        transform: none;
        -webkit-transform: none;
    }
    section.jobs .modal-content {
        padding-inline: 24px;
        gap: 35px;
    }
    section.jobs .modal-content .modal-sections {
        gap: 30px;
    }
}

@media (max-width: 999px) {
    section.jobs .content-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    section.jobs .content-wrap .item {
        padding: 18px;
        gap: 80px;
    }
    section.jobs .content-wrap .item svg {
        height: 17px;
        width: 17px;
    }
}

@media (max-width: 690px) {
    section.jobs .content-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    section.jobs .content-wrap .item {
        gap: 30px;
    }
    section.jobs .content-wrap .item .item-arrow {
        justify-content: flex-end;
    }
    section.jobs .content-wrap .item svg {
        height: 16px;
        width: 16px;
    }
}


/* STICKY BLOCKS
   ----------------------------- */

body
#ajax-content-wrap .container-wrap {
  overflow: initial !important;
}

section.sticky-blocks {
  --offset: 0px;
  --icon-size: min(62px, max(42px, 3.7vw));
  --inner-pad: 42px;
  --icon-gap: 18px;
}

section.sticky-blocks .items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: calc(var(--icon-size) / 2);
}

section.sticky-blocks .sticky-item {
  position: sticky;
  top: var(--offset);
  left: 0;
  width: 100%;
  height: auto;
}

section.sticky-blocks .box {
  position: relative;
  background-clip: padding-box;
  overflow: visible;
}

section.sticky-blocks .content-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: var(--inner-pad);
  padding-left: calc(var(--inner-pad) + (var(--icon-size) / 2) + var(--icon-gap));
  border-radius: 24px;
  background: var(--green);
  border: 1px solid var(--black);
  color: var(--black);
  text-align: center;
}

section.sticky-blocks .content-wrap h4 {
  margin: 0;
  font-size: min(28px, max(18px, 1.8vw));
  line-height: 1.1;
  color: var(--black);
  text-transform: uppercase;
  text-align: center;
}

section.sticky-blocks figure.image {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  margin: 0;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

section.sticky-blocks figure.image img {
  width: 100% !important;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1300px) {
  section.sticky-blocks {
    --inner-pad: 32px;
    --icon-size: 58px;
  }
  section.sticky-blocks .content-wrap {
    gap: 0;
  }
}

@media (max-width: 999px) {
  section.sticky-blocks {
    --inner-pad: 28px;
    --icon-size: 52px;
  }
}

@media (max-width: 690px) {
  section.sticky-blocks {
    --inner-pad: 24px;
    --icon-size: 45px;
  }
  section.sticky-blocks .content-wrap {
    justify-content: flex-start;
    text-align: left;
    padding-left: 50px;
  }
  section.sticky-blocks .content-wrap h4 {
    text-align: left;
    font-size: 17px;
  }
}

/* INNER FORM BLOCK
   ----------------------------- */

section.main-form .form-wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* SIMPLE HERO BLOCK
   ----------------------------- */

section.hero-simple{
   height: 40vh;
   min-height: 300px;
   background: var(--black);
   display: flex;
   align-items: flex-end;
   padding-bottom: 40px;
}
section.hero-simple h1 {
   color: var(--white);
   max-width: 700px;
}


/* TERMS BLOCK
   ----------------------------- */

section.terms .c-wrap {
    max-width: 1100px;
}

section.terms h1,
section.terms h2,
section.terms h3,
section.terms h4,
section.terms h5,
section.terms h6 {
    padding-top: 20px !important;
    padding-bottom: 15px !important;
    margin: 0 !important;
}

section.terms p {
    padding-bottom: 15px !important;
    margin: 0 !important;
}

section.terms p:last-child {
    padding-bottom: 0 !important;
}

section.terms a {
   color: inherit;
   text-decoration: underline;
}