/* ---------------------------------------------------------------------------
   #bolt-contact-desktop — /submit-vacancies/, Elementor html widget #bbbc673.

   Live shipped this as a desktop-only widget with a hidden mobile twin
   (#3b1e581, which emits id="bolt-contact" with the identical copy). The twins
   are merged here: the base rules are #bbbc673 verbatim, the media queries are
   the twin's, re-scoped to this id. Only this one block is needed on the page.
   --------------------------------------------------------------------------- */

/* ===============================
   DESKTOP CONTACT — ISOLATED
   =============================== */

#bolt-contact-desktop{
  --pink:var(--mp-pink);
  --blue:var(--mp-blue);
  --text:var(--mp-ink);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  padding:96px 0;
  background:radial-gradient(130% 160% at 70% 0%, var(--mp-blue) 0%, var(--mp-blue-dark) 65%, var(--mp-blue-deep) 100%);
}

/* layout */
#bolt-contact-desktop .bc-inner{
  max-width:1320px;
  margin:0 auto;
  padding:0 20px;
  display:grid;
  gap:22px;
}

/* header */
#bolt-contact-desktop .bc-badge{
  display:inline-flex;
  gap:.6rem;
  padding:6px 14px;
  border:1px solid var(--pink);
  border-radius:999px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* MAIN HEADING COLOR */
#bolt-contact-desktop .bc-title{
  font-family:"DM Serif Display",serif;
  font-size:42px;
  font-weight:700;   /* the kit h2 beat the leaked footer .bc-title 400 on live */
  line-height:1.2;
  margin:12px 0;
  color:var(--mp-ink);
}

#bolt-contact-desktop .bc-sub{
  font-family:"Montserrat",sans-serif;
  line-height:1.8;
  margin:0 0 20px;
}

/* card */
#bolt-contact-desktop .bc-right{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25);
  border-radius:16px;
  padding:28px 24px;
  backdrop-filter:blur(8px);
}

/* FORM HEIGHT */
#bolt-contact-desktop .bc-formSlot{
  min-height:770px;
}

/* FORM TEXT (DESKTOP ONLY) */
#bolt-contact-desktop label,
#bolt-contact-desktop .elementor-field-label{
  color:#fff !important;
}

/* live's Elementor form sat outside this section, so these never reached it:
   its fields were transparent with a white border */
#bolt-contact-desktop input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]),
#bolt-contact-desktop textarea,
#bolt-contact-desktop select{
  color:#fff !important;
  background:transparent !important;
  border-color:#fff !important;
  caret-color:#fff !important;
}

#bolt-contact-desktop input::placeholder,
#bolt-contact-desktop textarea::placeholder{
  color:rgba(255,255,255,.6) !important;
}

#bolt-contact-desktop select option{
  color:#000 !important;
}

#bolt-contact-desktop input:-webkit-autofill{
  -webkit-text-fill-color:#fff !important;
  box-shadow:0 0 0 1000px rgba(37,52,153,1) inset !important;
}

/* pointer glow.
   NOTE: verbatim from source — the gradient centre is hard-coded at 50% 50%,
   it does NOT read the --mx/--my that contact-desktop.js sets, so the glow does
   not follow the pointer on live either. Reported, not fixed. */
#bolt-contact-desktop .bc-mouse{
  position:absolute;
  inset:0;
  background:radial-gradient(360px at 50% 50%, rgba(255,255,255,.18), transparent 60%);
  filter:blur(50px);
  pointer-events:none;
}

/* responsive — from the hidden mobile twin (#3b1e581), re-scoped */
@media (max-width:1023px){
  #bolt-contact-desktop{ padding: clamp(64px, 9vw, 90px) 0; }
  #bolt-contact-desktop .bc-inner{ max-width:1100px; padding:0 18px; gap:18px; }
  #bolt-contact-desktop .bc-right{ padding:24px 20px; }
}

@media (max-width:720px){
  #bolt-contact-desktop{ padding: clamp(52px, 10vw, 78px) 0; }
  #bolt-contact-desktop .bc-inner{ padding:0 16px; gap:16px; }
  #bolt-contact-desktop .bc-title{ font-size: clamp(30px, 7.5vw, 38px); }
  #bolt-contact-desktop .bc-sub{ font-size:15px; line-height:1.75; }
  #bolt-contact-desktop .bc-right{ padding:20px 16px; border-radius:14px; }
  #bolt-contact-desktop .bc-formSlot{ min-height:1020px; }
}

@media (prefers-reduced-motion: reduce){
  #bolt-contact-desktop .bc-mouse{ display:none; }
}

#bolt-contact-desktop .bc-right { display: block; }
@media (min-width: 1025px) {
  #bolt-contact-desktop { margin-bottom: 20px; }
}

/* Gravity Forms skin, from live's Elementor form widget (3e3b4ee / da2612d):
   two 50% columns with a 10px gap and 21px rows; labels Montserrat 20px/700
   white with 6px below; 42px transparent fields with a 1px white border and 8px
   radius, DM Serif 14px/300; a 1200x50 #D02479 SEND with a circled arrow.
   Scoped to the slot: nothing here reaches any other input on the site. */
#bolt-contact-desktop .bc-formSlot { width: 100%; box-sizing: border-box; padding: 27px 16px 0; }
#bolt-contact-desktop .bc-formSlot .gform_wrapper, #bolt-contact-desktop .bc-formSlot form { margin: 0; }
#bolt-contact-desktop .bc-formSlot .gform_validation_container, #bolt-contact-desktop .bc-formSlot .gform_hidden, #bolt-contact-desktop .bc-formSlot .gfield_visibility_hidden,
#bolt-contact-desktop .bc-formSlot .validation_message--hidden-on-empty:empty { display: none !important; }
#bolt-contact-desktop .bc-formSlot .gform_fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 21px;
  margin: 0;
  padding: 0;
}
#bolt-contact-desktop .bc-formSlot .gfield { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
#bolt-contact-desktop .bc-formSlot .gfield--width-half { grid-column: span 1; }
#bolt-contact-desktop .bc-formSlot .gfield_label {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
#bolt-contact-desktop .bc-formSlot .gfield_required, #bolt-contact-desktop .bc-formSlot .gform_fileupload_rules, #bolt-contact-desktop .bc-formSlot .gfield--type-consent > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#bolt-contact-desktop .bc-formSlot :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="file"], select, textarea) {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: "DM Serif Display", serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}
#bolt-contact-desktop .bc-formSlot input[type="file"] { padding-block: 9px; }
#bolt-contact-desktop .bc-formSlot textarea { height: 108px; resize: vertical; }
#bolt-contact-desktop .bc-formSlot select option { color: #000; }
#bolt-contact-desktop .bc-formSlot ::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }
#bolt-contact-desktop .bc-formSlot .ginput_container_consent { display: flex; align-items: center; gap: 8px; }
#bolt-contact-desktop .bc-formSlot .gfield_consent_label { font-family: "DM Serif Display", serif; font-size: 14px; font-weight: 700; color: #fff; }
#bolt-contact-desktop .bc-formSlot .multi-role-note { margin: 0; font-family: "DM Serif Display", serif; font-size: 16px; color: #fff; }
#bolt-contact-desktop .bc-formSlot .multi-role-note a { color: #fff; font-weight: 600; text-decoration: underline; }
#bolt-contact-desktop .bc-formSlot .gfield_validation_message, #bolt-contact-desktop .bc-formSlot .validation_message {
  margin-top: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffd3e4;
}
#bolt-contact-desktop .bc-formSlot .gform_validation_errors { margin: 0 0 16px; padding: 12px 16px; border: 1px solid #fff; border-radius: 8px; color: #fff; }
#bolt-contact-desktop .bc-formSlot .gform_footer { margin: 21px 0 0; padding: 0; }
#bolt-contact-desktop .bc-formSlot .gform_button {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 40px;
  border: 0;
  border-radius: 6px;
  background: #D02479;
  color: #fff;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}
/* GF renders the submit as a <button>, so the circled arrow (live's
   arrow_triangle-right_alt2, icon after the label) can sit right after the text */
#bolt-contact-desktop .bc-formSlot .gform_button::after {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-left: 7px;
  vertical-align: -.05em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm-2 5.5v9l7-4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#bolt-contact-desktop .bc-formSlot .gform_button:hover, #bolt-contact-desktop .bc-formSlot .gform_button:focus-visible { background-color: #b81f6a; }
@media (max-width: 767px) {
  #bolt-contact-desktop .bc-formSlot { padding-inline: 0; }
  #bolt-contact-desktop .bc-formSlot .gform_fields { grid-template-columns: 1fr; }
  #bolt-contact-desktop .bc-formSlot .gfield--width-half { grid-column: 1 / -1; }
  #bolt-contact-desktop .bc-formSlot .gform_button { font-size: 14px; }
}

/* either Gravity Forms markup (legacy ul/li or div/fieldset): no list bullets,
   the consent field's own label hidden, and the message box at live's height
   (the input rule above out-ranks a bare textarea selector) */
#bolt-contact-desktop .bc-formSlot .gform_fields { list-style: none; }
#bolt-contact-desktop .bc-formSlot .gfield { list-style: none; }
#bolt-contact-desktop .bc-formSlot .hidden_label > .gfield_label,
#bolt-contact-desktop .bc-formSlot .gfield--type-consent > .gfield_label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#bolt-contact-desktop .bc-formSlot textarea[name] { height: 108px; }

/* Gravity Forms' "* indicates required fields" line: live shows no marker */
#bolt-contact-desktop .bc-formSlot .gform_required_legend { display: none; }

/* Phones: live swaps in a mobile copy of the form (2b32e07 / 2bd4ba7) whose
   labels are DM Serif 22px/400 and whose SEND is 40px, DM Serif 20px/500 */
@media (max-width: 767px) {
  #bolt-contact-desktop .bc-formSlot .gfield_label { font-family: "DM Serif Display", serif; font-size: 22px; font-weight: 400; }
  #bolt-contact-desktop .bc-formSlot .gform_button { height: 40px; font-size: 20px; font-weight: 500; }
}
