/* Recruitment availability and the one-time reopening alert. */
.recruitment-closed {
  padding-block: clamp(40px, 6vw, 84px);
  scroll-margin-top: 110px;
  background: #fff;
}

.recruitment-closed__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.recruitment-closed__intro {
  max-width: 580px;
}

.recruitment-closed__intro .h2 {
  margin: 24px 0 22px;
}

.recruitment-closed__intro > p {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body, #4b5563);
}

.recruitment-closed__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #e2e4e8;
  border-radius: 999px;
  color: #4b5563;
  background: #f6f7f8;
  font-size: 13px;
  font-weight: 650;
}

.recruitment-closed__status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #737a86;
}

.recruitment-alert {
  width: 100%;
  min-width: 0;
  max-width: 600px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #e2e4e8;
  border-top: 3px solid var(--red, #b3321b);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(17 24 39 / 6%);
  overflow-wrap: anywhere;
}

.recruitment-alert > h2 {
  margin: 12px 0;
  color: var(--ink, #111827);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 650;
}

.recruitment-alert__intro {
  margin-bottom: 24px;
  color: var(--body, #4b5563);
  font-size: 15px;
  line-height: 1.7;
}

.recruitment-alert__form {
  display: grid;
  gap: 20px;
}

.recruitment-alert__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.recruitment-alert__field > label {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink, #111827);
}

.recruitment-alert__field > input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd3d9;
  border-radius: 5px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 16px;
}

.recruitment-alert__consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.recruitment-alert__consent > input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--red, #b3321b);
}

.recruitment-alert__submit {
  width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  white-space: normal;
  text-align: center;
  line-height: 1.5;
}

.recruitment-alert__hint,
.recruitment-alert__privacy {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.recruitment-alert__privacy {
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.recruitment-alert__privacy a {
  color: var(--red, #b3321b);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recruitment-alert__feedback {
  margin-block: 0 22px;
  padding: 14px 16px;
  border: 1px solid #b5d3bd;
  border-radius: 5px;
  background: #f0f7f1;
  color: #215734;
  font-size: 14px;
  line-height: 1.6;
}

.recruitment-alert__feedback--error {
  border-color: #e8b5ad;
  background: #fff3f1;
  color: #8c2515;
}

.recruitment-alert :is(input, button, a):focus-visible {
  outline: 2px solid var(--red, #b3321b);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .recruitment-closed__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .recruitment-alert {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .recruitment-closed {
    padding-block: 32px 48px;
  }
  .recruitment-alert {
    padding: 24px 20px;
  }
  .recruitment-closed__intro > p {
    font-size: 15px;
  }
}
