.career-page .ct-section {
  padding-bottom: 96px;
}

.career-page .ct-card {
  grid-template-columns: minmax(360px, 43%) minmax(0, 1fr);
  max-width: 1120px;
}

.career-visual {
  background: #151515;
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.career-visual::after {
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.88) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.career-visual__image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.career-visual__caption {
  bottom: 32px;
  color: #fff;
  left: 30px;
  position: absolute;
  right: 30px;
  z-index: 2;
}

.career-visual__logo {
  background: #ffe300;
  border-radius: 50%;
  display: block;
  height: 70px;
  margin-bottom: 14px;
  object-fit: contain;
  padding: 7px;
  width: 70px;
}

.career-visual__caption strong {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.career-visual__caption span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 8px;
}

.career-content {
  padding: 38px 42px 36px;
}

.career-content .ct-card__sub {
  margin-bottom: 22px;
  max-width: 540px;
}

.career-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.career-form__row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.career-field[hidden] {
  display: none !important;
}

.career-field--other {
  background: #fffbea;
  border: 1px solid rgba(197, 169, 0, 0.38);
  border-radius: 10px;
  padding: 12px;
}

.career-field label {
  color: #292929;
  font-size: 13px;
  font-weight: 600;
}

.career-field .ct-input {
  min-height: 46px;
}

.career-field select.ct-input {
  background-image: linear-gradient(45deg, transparent 50%, #555 50%),
    linear-gradient(135deg, #555 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  cursor: pointer;
  padding-right: 36px;
}

.career-field .ct-input--textarea {
  min-height: 98px;
}

.career-field__meta {
  color: #8a8a86;
  display: flex;
  font-size: 11px;
  justify-content: flex-end;
  margin-top: -2px;
}

.career-form__actions {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 2px;
}

.career-form__button {
  align-items: center;
  background: #ffe300;
  border: 2px solid #ffe300;
  border-radius: 8px;
  box-shadow: 0 9px 20px rgba(255, 227, 0, 0.24);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  justify-content: center;
  opacity: 1;
  padding: 0 24px;
  transition: box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.career-form__spinner {
  animation: career-form-spin 720ms linear infinite;
  border: 2px solid rgba(17, 17, 17, 0.24);
  border-radius: 50%;
  border-top-color: #111;
  display: none;
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

.career-form__button.is-loading {
  gap: 9px;
}

.career-form__button.is-loading .career-form__spinner {
  display: block;
}

@keyframes career-form-spin {
  to {
    transform: rotate(360deg);
  }
}

.career-form__button:hover:not(:disabled),
.career-form__button:focus-visible {
  box-shadow: 0 12px 28px rgba(255, 227, 0, 0.34);
  transform: translateY(-1px);
}

.career-form__button:disabled {
  cursor: wait;
  opacity: 0.84;
  transform: none;
}

.career-form.is-submitting .ct-input,
.career-form.is-submitting .career-file-input {
  background-color: #f3f3f0;
  cursor: wait;
  opacity: 0.78;
}

.career-file-input {
  background: #fff;
  border: 1px solid #d4d4d0;
  border-radius: 8px;
  color: #595955;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  min-height: 48px;
  padding: 7px 9px;
  width: 100%;
}

.career-file-input::file-selector-button {
  background: #171717;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  margin-right: 12px;
  padding: 9px 12px;
}

.career-file-input:focus-visible {
  border-color: #a99100;
  outline: 3px solid rgba(255, 227, 0, 0.25);
}

.career-file-hint,
.career-form__privacy {
  color: #777773;
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}

.career-form__privacy a {
  color: #4b4300;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.career-field--honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.career-form__status {
  border-radius: 8px;
  color: #777;
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
  outline: none;
  padding: 9px 11px;
}

.career-form__status.is-loading {
  background: #f5f3e4;
  color: #5f5400;
  font-weight: 600;
}

.career-form__status.is-success {
  background: #ecf8f0;
  color: #16743a;
  font-weight: 600;
}

.career-form__status.is-error {
  background: #fff0ee;
  color: #b42318;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .career-form__spinner {
    animation-duration: 1.4s;
  }
}

@media (max-width: 900px) {
  .career-page .ct-card {
    grid-template-columns: 1fr;
  }

  .career-visual {
    min-height: 360px;
  }

  .career-visual__image {
    object-position: center 28%;
  }
}

@media (max-width: 560px) {
  .career-page .ct-section {
    padding-inline: 14px;
  }

  .career-visual {
    min-height: 310px;
  }

  .career-visual__caption {
    bottom: 22px;
    left: 22px;
    right: 22px;
  }

  .career-visual__logo {
    height: 58px;
    width: 58px;
  }

  .career-content {
    padding: 30px 22px 32px;
  }

  .career-form__row {
    grid-template-columns: 1fr;
  }

  .career-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .career-form__button {
    width: 100%;
  }

  .career-form__status {
    text-align: center;
  }
}
