:root {
  --gpc-blue: var(--gp-color-blue, #030280);
  --gpc-blue-hover: #44438f;
  --gpc-orange: #df8c66;
  --gpc-text: #242424;
  --gpc-muted: #6f6f78;
  --gpc-white: #ffffff;
  --gpc-border: #d9d9e5;
}

.gpc-jobs-grid,
.gpc-jobs-grid *,
.gpc-modal,
.gpc-modal * {
  box-sizing: border-box;
}

.gpc-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  font-family: Poppins, sans-serif;
}

.gpc-job-card {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 28px;
  border: 1px solid var(--gpc-blue);
  background: var(--gpc-white);
}

.gpc-job-card__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gpc-job-card p,
.gpc-job-card h3,
.gpc-job-card ul {
  margin: 0;
}

.gpc-job-card__label {
  color: var(--gpc-orange);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.gpc-job-card__meta {
  color: var(--gpc-blue-hover);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.gpc-job-card h3 {
  color: var(--gpc-blue);
  font-family: Poppins, sans-serif;
  font-size: clamp(26px, 2.15vw, 31px);
  font-weight: 400;
  line-height: 1.14;
}

.gpc-job-card__summary {
  color: var(--gpc-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.gpc-job-card__requirements {
  padding-left: 20px;
  color: var(--gpc-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.gpc-job-card__requirements li + li {
  margin-top: 7px;
}

.gpc-apply-button,
.gpc-form-submit,
.gpc-form-success button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 210px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--gpc-blue);
  border-radius: 0;
  background: var(--gpc-blue);
  color: var(--gpc-white);
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .4px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.gpc-apply-button:hover,
.gpc-apply-button:focus-visible,
.gpc-form-submit:hover,
.gpc-form-submit:focus-visible,
.gpc-form-success button:hover,
.gpc-form-success button:focus-visible {
  border-color: var(--gpc-blue-hover);
  background: var(--gpc-blue-hover);
  color: var(--gpc-white);
  outline: 0;
}

.gpc-general-apply {
  display: flex;
  width: 432px;
  max-width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--gpc-white);
  color: var(--gpc-blue);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease;
}

.gpc-general-apply:hover,
.gpc-general-apply:focus-visible {
  background: #d8d8d8;
  color: var(--gpc-blue);
  outline: 0;
}

.gpc-jobs-empty {
  width: 100%;
  padding: 48px 32px;
  border: 1px solid var(--gpc-blue);
  color: var(--gpc-text);
  font-family: Poppins, sans-serif;
  text-align: center;
}

.gpc-jobs-empty h3 {
  margin: 0 0 12px;
  color: var(--gpc-blue);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
}

.gpc-jobs-empty p {
  max-width: 650px;
  margin: 0 auto 24px;
}

.gpc-jobs-empty .gpc-apply-button {
  align-self: auto;
}

body.gpc-modal-open {
  overflow: hidden;
}

.gpc-modal[hidden] {
  display: none !important;
}

.gpc-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Poppins, sans-serif;
}

.gpc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(3px);
}

.gpc-modal__dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  padding: clamp(28px, 5vw, 50px);
  overflow-y: auto;
  border: 1px solid var(--gpc-blue);
  background: var(--gpc-white);
  box-shadow: 0 24px 70px rgba(3, 2, 80, .22);
}

.gpc-modal__close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--gpc-blue);
  border-radius: 0;
  background: var(--gpc-white);
  color: var(--gpc-blue);
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gpc-modal__close:hover,
.gpc-modal__close:focus-visible {
  background: var(--gpc-blue);
  color: var(--gpc-white);
  outline: 0;
}

.gpc-modal__heading {
  max-width: 620px;
  padding-right: 32px;
  margin-bottom: 28px;
}

.gpc-modal__heading > p {
  margin: 0 0 8px;
  color: var(--gpc-orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.gpc-modal__heading h2 {
  margin: 0;
  color: var(--gpc-blue);
  font-family: Poppins, sans-serif;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.gpc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gpc-form-grid label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--gpc-blue);
  font-size: 13px;
  font-weight: 500;
}

.gpc-form-grid label > span small {
  color: var(--gpc-muted);
  font-weight: 400;
}

.gpc-form-grid__wide {
  grid-column: 1 / -1;
}

.gpc-form-grid input,
.gpc-form-grid select,
.gpc-form-grid textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--gpc-border);
  border-radius: 0;
  background: var(--gpc-white);
  color: var(--gpc-text);
  font-family: Poppins, sans-serif;
  font-size: 14px;
}

.gpc-form-grid textarea {
  min-height: 105px;
  resize: vertical;
}

.gpc-form-grid input:focus,
.gpc-form-grid select:focus,
.gpc-form-grid textarea:focus {
  border-color: var(--gpc-blue);
  outline: 1px solid var(--gpc-blue);
}

.gpc-file-field input {
  padding: 8px;
}

.gpc-file-field input::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid var(--gpc-blue);
  border-radius: 0;
  background: var(--gpc-white);
  color: var(--gpc-blue);
  font: inherit;
  cursor: pointer;
}

.gpc-privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 18px 0;
  color: var(--gpc-muted);
  font-size: 12px;
  line-height: 1.55;
}

.gpc-privacy input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 2px 0 0;
  accent-color: var(--gpc-blue);
}

.gpc-privacy a {
  color: var(--gpc-blue);
  text-decoration: underline;
}

.gpc-company-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.gpc-form-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid #b42318;
  background: #fff0ef;
  color: #7a2019;
  font-size: 13px;
}

.gpc-form-submit {
  min-width: 240px;
}

.gpc-form-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.gpc-form-note {
  margin: 10px 0 0;
  color: var(--gpc-muted);
  font-size: 11px;
}

.gpc-form-success {
  padding: 25px 0 5px;
  text-align: center;
}

.gpc-form-success > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid var(--gpc-blue);
  border-radius: 50%;
  color: var(--gpc-blue);
  font-size: 28px;
}

.gpc-form-success h3 {
  margin: 0 0 10px;
  color: var(--gpc-blue);
  font-size: 30px;
  font-weight: 400;
}

.gpc-form-success p {
  max-width: 530px;
  margin: 0 auto 24px;
  color: var(--gpc-muted);
  line-height: 1.6;
}

.gpc-form-success button {
  align-self: auto;
}

@media (max-width: 1024px) {
  .gpc-jobs-grid {
    grid-template-columns: 1fr;
  }

  .gpc-job-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .gpc-job-card {
    padding: 26px 22px;
  }

  .gpc-apply-button,
  .gpc-form-submit {
    width: 100%;
  }

  .gpc-general-apply {
    width: 345px;
    font-size: 17px;
  }

  .gpc-modal {
    align-items: end;
    padding: 0;
  }

  .gpc-modal__dialog {
    width: 100%;
    max-height: 94vh;
    padding: 34px 18px 26px;
    border-width: 1px 0 0;
  }

  .gpc-modal__close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .gpc-form-grid {
    grid-template-columns: 1fr;
  }

  .gpc-form-grid__wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gpc-apply-button,
  .gpc-general-apply,
  .gpc-form-submit {
    transition: none;
  }
}

