/* Company family (about, careers, contact, forms, utility pages): styles shared by 2+ pages.
   Values measured on live. */

/* An empty Divi section/row/column kept for its spacing (live: a 1px empty column on desktop). */
@media (min-width: 981px) { .spacer-section .col--empty { min-height: 1px; } }

/* Job / resource cards (Divi CTA on a mist background): /careers/ openings */
.job-card { height: 100%; padding: 40px; border-radius: 10px; overflow: hidden; background-color: var(--mist); box-shadow: 0 4px 8px rgba(27,27,27,.4); transition: all 250ms; }
.job-card:hover { box-shadow: 0 4px 8px rgba(27,27,27,.4), 0 10px 20px rgba(27,27,27,.3); transform: translateY(-4px); }
.job-card h2, .job-card h3 { font-size: 1.8rem !important; }
.job-card .btn { background-color: var(--coral); color: var(--light); border-radius: 50px; }

/* /careers/<job>/ pages: hero + listing (theme .job-listings) */
.job-hero { padding-bottom: 100px; background-image: url(../images/CAREERS.webp); background-position: right center; }
.job-hero .code { display: flex; justify-content: center; align-content: center; padding: 0 1rem 4%; }
.job-listings .text h2 { margin-top: 1rem; }

/* Ninja Forms look (job application, measured on live) */
.nf-form { font-size: 19px; }
.nf-form .nf-required-note { padding-bottom: 0; }
.nf-req { color: #e80000; }
.nf-part { display: flow-root; padding-bottom: 5px; }
.nf-fields { padding: 10px 5px 5px; }
.nf-field { display: flow-root; margin-bottom: 25px; }
.nf-field:last-child { margin-bottom: 0; }
.nf-label { display: block; margin-bottom: 9.4px; padding-top: 2px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.nf-form input[type="text"], .nf-form input[type="tel"], .nf-form input[type="email"], .nf-form textarea {
  display: block; width: 100%; height: 50px; padding: 12px; border: 1px solid #c4c4c4; border-radius: 0; background: #f7f7f7;
  color: #787878; font-size: 16px; font-weight: 400; line-height: 22.4px; }
.nf-form textarea { display: inline-block; vertical-align: baseline; height: 200px; resize: vertical; }
.nf-form .nf-invalid { border-color: #e80000; }
.nf-error { padding: 5px 0 0; color: #e80000; font-size: 14px; }
.nf-form p.nf-description { margin: 0 0 4.5px; padding-bottom: 0; font-size: 14px; line-height: 19.6px; }
/* UI audit 2026-11-09: the site button (red pill) instead of the Ninja Forms default grey square */
.nf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border: 2px solid var(--ha-red-600); border-radius: 999px; background: var(--ha-red-600); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.nf-button:hover { border-color: var(--ha-red-700); background: var(--ha-red-700); }
.nf-button.nf-previous { border-color: var(--ha-navy-700); background: #fff; color: var(--ha-navy-700); }
.nf-button.nf-previous:hover { background: var(--ha-navy-700); color: #fff; }
.nf-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nf-progress { height: 20px; margin: 2px 0 20px; border-radius: 4px; background: #f5f5f5; }
.nf-files { padding: 0; list-style: none; font-size: 16px; }
.nf-files:empty { display: none; }
.nf-next-previous { display: flow-root; margin: 20px 0; padding: 0 5px; }
.nf-part[data-part="1"] .nf-next-previous { margin-top: 55px; }   /* live: an empty note field sits above the nav */
.nf-next-previous .nf-next { float: right; padding: 12px 18px; }
.nf-next-previous .nf-previous { float: left; padding: 12px 18px; }
.nf-summary { width: 100%; border-collapse: collapse; font-size: 16px; }
.nf-summary td { padding: 6px 8px 6px 0; vertical-align: top; border-bottom: 1px solid #e5e5e5; }
.nf-summary td:first-child { font-weight: 700; white-space: nowrap; }

/* #aboutHero title band (privacy policy, about) */
.about-hero { background-image: url(../images/ABOUT-2.webp); background-position: right center; }
.about-hero > .code { padding-bottom: 3rem; }

/* /email-signature/ + /email-signature/success/: blue band with the long-shapes art and a white card */
.esig-section { background-color: #2b87da; background-image: linear-gradient(180deg, #2b87da 0%, #2367af 100%); }
.esig-card { max-width: 620px; background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 18px 0 rgba(0,0,0,.3); }
.nf-form-title { display: inline; }
.nf-field--file p.nf-description { margin-bottom: 0; }

/* Loading mask (live's jQuery #loading-mask, used by the email signature generator) */
#loading-mask { display: none; }
#loading-mask.on { display: block; position: fixed; inset: 0; z-index: 10000; background-color: rgba(0,0,0,.6); }
#loading-center { position: relative; width: 100%; height: 100%; }
#loading-center-absolute { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; }
#object { width: 80px; height: 80px; margin: 60px auto 0; background-color: #fff; background-size: 100% 100%; animation: loading-flip 2s infinite ease-in-out; }
@keyframes loading-flip {
  0% { transform: perspective(160px) rotateX(0) rotateY(0); }
  25% { transform: perspective(160px) rotateX(-180deg) rotateY(0); }
  50% { transform: perspective(160px) rotateX(-180deg) rotateY(-180deg); }
  75% { transform: perspective(160px) rotateX(-360deg) rotateY(-180deg); }
  100% { transform: perspective(160px) rotateX(-360deg) rotateY(-360deg); }
}
.spacer-col { min-height: 1px; }   /* a column holding only a script on live: 1px tall at every width */

/* Ninja Forms select + submit (contact forms) */
.nf-form select { display: block; width: 100%; height: 50px; padding: 12px 40px 12px 12px; border: 1px solid #c4c4c4; border-radius: 0; background: #f7f7f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23787878' d='M207 381.5 12.7 187.1a24 24 0 0 1 0-33.9l22.7-22.7a24 24 0 0 1 33.9 0L224 284.5l154.7-154a24 24 0 0 1 33.9 0l22.7 22.7a24 24 0 0 1 0 33.9L241 381.5a24 24 0 0 1-34 0z'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
  -webkit-appearance: none; appearance: none; color: #787878; font-size: 16px; line-height: 22.4px; }
.nf-form .nf-submit { height: 50px; }
.nf-form .form-success { text-align: left; }
.col.spacer-col { display: flow-root; }
.nf-form .nf-cols-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.nf-form .nf-field hr { height: 2px; margin: 9.5px 0; border: 1px inset #808080; }
.nf-form .nf-cols-2 { margin-bottom: 0; }
.nf-form .nf-cols-2 > .nf-field { margin-bottom: 25px; }

/* Ninja radio / checkbox lists */
.nf-radio-list { margin-top: 0; padding: 0; list-style: none; }
.nf-radio-list li { display: flow-root; margin-bottom: 12px; }
.nf-radio-list input { float: left; width: 13px; height: 13px; margin: 4px 0 0; }
.nf-radio-list label { display: block; margin-left: 30px; font-size: 18px; line-height: 20px; cursor: pointer; }

/* Fullwidth page-title hero on a repeating icon background (live: Divi post title in a fullwidth section) */
.title-hero { background-size: auto; background-repeat: repeat; background-position: center bottom; }
.title-hero .post-hero { padding-top: 6%; padding-bottom: 100px; }
.title-hero .entry-title { color: var(--light); font-size: 44px; text-align: center; }
@media (max-width: 980px) { .title-hero .post-hero { padding-top: 80px; padding-bottom: 100px; } }

/* Divi "true parallax" background layer, positioned by assets/js/directory.js (same markup and maths as the directory family):
   <div class="dir-parallax"><div class="dir-parallax__bg" style="background-image: …"></div></div> as the section's first child */
.dir-parallax { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.section:has(> .dir-parallax) { isolation: isolate; }
.dir-parallax__bg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: top / cover no-repeat; }
.nf-form ul.nf-radio-list { padding: 0; }
