/* =====================================================================
   HOLMAN ASSOCIATES — SITE STYLES (WordPress + Elementor)
   Adapted from the original css/holman.css. Every rule is scoped under
   .ha-site (added to <body> by the plugin) so nothing leaks into the
   WordPress admin or other plugins.

   How this works with Elementor:
   - Spacing (padding, gaps, widths, margins) lives in the Elementor
     templates, so it is editable in the Elementor panel.
   - This file supplies the brand look (type, colours, buttons, hover
     effects, decorative lines) through CSS classes set in
     Advanced → CSS Classes. Anything you set in Elementor's Style tab
     overrides these defaults, because Elementor's per-element rules are
     more specific.
   - Brand colours/fonts read Elementor's Global Colors/Fonts first
     (Site Settings), so changing "Holman Navy" there updates the site.
   ---------------------------------------------------------------------
   00 Tokens         06 Specialisms     12 Inner pages
   01 Base           07 Why Holman      13 Jobs
   02 Buttons        08 Testimonials    14 Articles
   03 Header & nav   09 Call to action  15 Editor notes & placeholders
   04 Hero           10 Contact & form  16 Scroll reveal
   05 About / split  11 Footer          17 Responsive
   ===================================================================== */

/* ---------- 00 TOKENS ---------- */
:root {
  --ha-navy: var(--e-global-color-ha_navy, #0B3458);
  --ha-navy-dark: var(--e-global-color-ha_navy_dark, #082A49);
  --ha-accent: var(--e-global-color-ha_accent, #14558B);
  --ha-mist: var(--e-global-color-ha_mist, #E8EFF5);
  --ha-white: #FFFFFF;
  --ha-text: var(--e-global-color-ha_text, #444B55);

  --ha-line: #D6E0EA;
  --ha-on-navy-muted: #B9CCDD;
  --ha-on-navy-line: rgba(255, 255, 255, 0.16);
  --ha-placeholder: #C9D6E3;
  --ha-error: #B42318;
  --ha-error-on-navy: #FFC4BE;
  --ha-success-on-navy: #BFE8CF;

  --ha-font-head: var(--e-global-typography-primary-font-family, "Playfair Display"), "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ha-font-body: var(--e-global-typography-text-font-family, "Inter"), "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --ha-fs-h1: clamp(2.5rem, 1.4rem + 4.2vw, 4.5rem);
  --ha-fs-h2: clamp(1.9rem, 1.35rem + 1.9vw, 2.75rem);
  --ha-fs-quote: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem);
  --ha-fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
  --ha-fs-small: 0.9375rem;
  --ha-fs-label: 0.8125rem;

  --ha-container: 1200px;
  --ha-gutter: clamp(16px, 4vw, 40px);
  --ha-section-y: clamp(64px, 4.5rem + 3vw, 120px);
  --ha-gap-lg: clamp(40px, 2rem + 3vw, 88px);

  --ha-radius: 6px;
  --ha-radius-img: 4px;
  --ha-header-h: 84px;
  --ha-header-gap: 32px;
  --ha-ease: cubic-bezier(.2, .7, .2, 1);
  --ha-shadow: 0 18px 40px -24px rgba(8, 42, 73, 0.45);
  --ha-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- 01 BASE ---------- */
body.ha-site {
  margin: 0;
  background: var(--ha-white);
  color: var(--ha-text);
  font-family: var(--ha-font-body);
  font-size: var(--ha-fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.ha-site *, .ha-site *::before, .ha-site *::after { box-sizing: border-box; }
.ha-site :focus-visible { outline: 2px solid var(--ha-accent); outline-offset: 3px; }
.ha-site [id] { scroll-margin-top: calc(var(--ha-header-h) + 16px); }

.ha-container {
  width: 100%;
  max-width: calc(var(--ha-container) + 2 * var(--ha-gutter));
  margin-inline: auto;
  padding-left: max(var(--ha-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--ha-gutter), env(safe-area-inset-right, 0px));
}
.ha-section:not(.e-con) { padding-block: var(--ha-section-y); } /* Elementor containers carry their own padding */

/* Eyebrow: works on raw <p class="ha-eyebrow"> and on an Elementor Heading with class ha-eyebrow */
.ha-site .ha-eyebrow,
.ha-site .ha-eyebrow .elementor-heading-title {
  margin: 0;
  font-family: var(--ha-font-body);
  font-size: var(--ha-fs-label);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ha-accent);
  display: flex; align-items: center; gap: 12px;
}
.ha-site p.ha-eyebrow { margin: 0 0 16px; }
.ha-site .ha-eyebrow .elementor-heading-title::before,
.ha-site p.ha-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.ha-site .ha-h2 .elementor-heading-title,
.ha-site h2.ha-h2 {
  margin: 0;
  font-family: var(--ha-font-head);
  font-size: var(--ha-fs-h2);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ha-navy);
  text-wrap: balance;
  letter-spacing: -0.005em;
}
.ha-site h2.ha-h2 { margin-bottom: 24px; }

.ha-site .ha-copy { color: var(--ha-text); font-family: var(--ha-font-body); font-size: var(--ha-fs-body); line-height: 1.7; }
.ha-site .ha-copy p { margin: 0 0 18px; max-width: 62ch; }
.ha-site .ha-copy p:last-child { margin-bottom: 0; }
.ha-site .ha-copy a { color: var(--ha-accent); text-underline-offset: 3px; }

.ha-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.ha-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Image widgets used as photo frames: fill the frame like the original <figure>s */
.ha-site .ha-cover img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }

/* ---------- 02 BUTTONS ----------
   .ha-btn = plugin-rendered buttons; .ha-btnw = Elementor Button widget (class on the widget). */
.ha-site .ha-btn,
.ha-site .ha-btnw .elementor-button {
  --_bg: var(--ha-navy); --_fg: var(--ha-white); --_bd: var(--ha-navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 1px solid var(--_bd); border-radius: var(--ha-radius);
  background: var(--_bg); color: var(--_fg); fill: var(--_fg);
  font-family: var(--ha-font-body); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ha-ease), color .25s var(--ha-ease), border-color .25s var(--ha-ease), transform .25s var(--ha-ease), box-shadow .25s var(--ha-ease);
}
.ha-site .ha-btnw .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
.ha-site .ha-btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ha-ease); }
.ha-site .ha-btnw--arrow .elementor-button-text::after {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -3px;
  background: currentColor; -webkit-mask: var(--ha-arrow) center / contain no-repeat; mask: var(--ha-arrow) center / contain no-repeat;
  transition: transform .25s var(--ha-ease);
}
.ha-site .ha-btn:hover, .ha-site .ha-btn:focus-visible,
.ha-site .ha-btnw .elementor-button:hover, .ha-site .ha-btnw .elementor-button:focus-visible { --_bg: var(--ha-navy-dark); --_bd: var(--ha-navy-dark); --_fg: var(--ha-white); box-shadow: var(--ha-shadow); color: var(--_fg); }
.ha-site .ha-btn:hover svg, .ha-site .ha-btnw--arrow .elementor-button:hover .elementor-button-text::after { transform: translateX(4px); }

.ha-site .ha-btn--outline, .ha-site .ha-btnw--outline .elementor-button { --_bg: transparent; --_fg: var(--ha-navy); --_bd: var(--ha-navy); }
.ha-site .ha-btn--outline:hover, .ha-site .ha-btnw--outline .elementor-button:hover { --_bg: var(--ha-navy); --_fg: var(--ha-white); --_bd: var(--ha-navy); }

.ha-site .ha-btn--ghost-light, .ha-site .ha-btnw--ghost-light .elementor-button { --_bg: transparent; --_fg: var(--ha-white); --_bd: rgba(255,255,255,.85); }
.ha-site .ha-btn--ghost-light:hover, .ha-site .ha-btnw--ghost-light .elementor-button:hover { --_bg: var(--ha-white); --_fg: var(--ha-navy); --_bd: var(--ha-white); }

.ha-site .ha-btn--accent, .ha-site .ha-btnw--accent .elementor-button { --_bg: var(--ha-form-btn, var(--ha-accent)); --_bd: var(--ha-form-btn, var(--ha-accent)); }
.ha-site .ha-btn--accent:hover, .ha-site .ha-btnw--accent .elementor-button:hover { --_bg: var(--ha-form-btn-hover, #1A66A6); --_bd: var(--ha-form-btn-hover, #1A66A6); }
.ha-site .ha-btn[disabled] { opacity: .65; cursor: progress; box-shadow: none; }
.ha-site .ha-btn--block { width: 100%; }

.ha-site .ha-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600; color: var(--ha-accent); text-decoration: none;
}
.ha-site .ha-textlink svg { width: 16px; height: 16px; transition: transform .25s var(--ha-ease); }
.ha-site a.ha-textlink:hover svg, .ha-site .ha-job-card:hover .ha-textlink svg { transform: translateX(4px); }
.ha-site .ha-textlink--muted { color: var(--ha-text); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 03 HEADER & NAV ---------- */
/* Sticky on the Theme Builder location wrapper (child of <body>), so no Elementor Pro
   "sticky" spacer is needed — avoids the empty-gap and duplicate-header problems. */
.ha-site .elementor-location-header {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
}
.ha-site .ha-header {
  position: relative;
  min-height: var(--ha-header-h);
  background-color: var(--ha-white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ha-ease), border-color .3s var(--ha-ease);
}
.ha-site .ha-header.is-scrolled { border-bottom-color: var(--ha-line); box-shadow: 0 8px 24px -18px rgba(8,42,73,.35); }
.ha-site .ha-header > .e-con-inner { position: static; }
.ha-site .ha-header .ha-logo { flex: none; width: auto; max-width: none; }
.ha-site .ha-header .ha-logo a { display: block; line-height: 0; }
.ha-site .ha-header .ha-logo img { height: 48px; width: auto; max-width: none; aspect-ratio: 595 / 197; }
.ha-site .ha-header .ha-nav-w { flex: 1 1 auto; width: auto; min-width: 0; position: static; display: flex; justify-content: flex-end; align-items: center; }
.ha-site .ha-header .ha-header__cta { flex: none; width: auto; }
.ha-site .ha-header .ha-header__cta .elementor-button { min-height: 46px; padding-inline: 22px; }

.ha-site .ha-nav { margin-left: auto; }
.ha-site .ha-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin: 0; padding: 0; list-style: none; }
.ha-site .ha-nav__list li { margin: 0; padding: 0; }
.ha-site .ha-nav__link {
  position: relative; display: inline-block; padding: 8px 0;
  font-family: var(--ha-font-body); font-size: 0.9375rem; font-weight: 500; line-height: 1.7;
  color: var(--ha-nav-fg, var(--ha-text)); text-decoration: none;
  transition: color .2s var(--ha-ease);
}
.ha-site .ha-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ha-nav-line, var(--ha-accent)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ha-ease);
}
.ha-site .ha-nav__link:hover, .ha-site .ha-nav__link[aria-current="page"] { color: var(--ha-nav-fg-hover, var(--ha-navy)); }
.ha-site .ha-nav__link:hover::after, .ha-site .ha-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.ha-site .ha-nav__link[aria-current="page"] { font-weight: 600; }
.ha-site .ha-nav__cta-mobile { display: none; }

/* Optional second-level items (not in the original design; supported if added to the menu) */
.ha-site .ha-nav__has-sub { position: relative; }
.ha-site .ha-nav__list .sub-menu { list-style: none; margin: 0; padding: 8px 0; }
.ha-site .ha-nav__sublink { display: block; padding: 8px 18px; font-size: 0.9375rem; color: var(--ha-text); text-decoration: none; white-space: nowrap; }
.ha-site .ha-nav__sublink:hover { color: var(--ha-navy); background: var(--ha-mist); }
@media (min-width: 1180px) {
  .ha-site .ha-nav__has-sub > .sub-menu {
    position: absolute; top: 100%; left: -18px; min-width: 220px; z-index: 5;
    background: var(--ha-white); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); box-shadow: var(--ha-shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .ha-site .ha-nav__has-sub:hover > .sub-menu, .ha-site .ha-nav__has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

.ha-site .ha-burger {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--ha-line); border-radius: var(--ha-radius); background: var(--ha-white);
  color: var(--ha-navy); cursor: pointer; align-items: center; justify-content: center;
}
.ha-site .ha-burger:hover, .ha-site .ha-burger:focus { background: var(--ha-white); color: var(--ha-navy); }
.ha-site .ha-burger span, .ha-site .ha-burger span::before, .ha-site .ha-burger span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ha-ease), opacity .2s;
}
.ha-site .ha-burger span { position: relative; }
.ha-site .ha-burger span::before, .ha-site .ha-burger span::after { content: ""; position: absolute; left: 0; }
.ha-site .ha-burger span::before { top: -6px; }
.ha-site .ha-burger span::after { top: 6px; }
.ha-site .ha-burger[aria-expanded="true"] span { background: transparent; }
.ha-site .ha-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.ha-site .ha-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 04 HERO ---------- */
.ha-site .ha-hero {
  min-height: clamp(540px, 74vh, 760px);
  background-color: #2E4762;
  background-position: center 35%;
  background-size: cover;
  color: var(--ha-white);
}
.ha-site .ha-hero__title .elementor-heading-title {
  margin: 0; max-width: 22ch;
  font-family: var(--ha-font-head); font-size: var(--ha-fs-h1); font-weight: 500;
  line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; color: var(--ha-white);
}
.ha-site .ha-hero__title em { font-style: italic; font-weight: 400; }
.ha-site .ha-hero__sub .elementor-heading-title {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font-family: var(--ha-font-body); font-size: var(--ha-fs-label); font-weight: 600; line-height: 1.7;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.ha-site .ha-hero__sub .elementor-heading-title::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }

/* ---------- 05 ABOUT / SPLIT ---------- */
.ha-site .ha-media-frame { overflow: hidden; border-radius: var(--ha-radius-img); box-shadow: var(--ha-shadow); background-color: var(--ha-placeholder); }
.ha-site .ha-about__media { aspect-ratio: 5 / 4; }
.ha-site .ha-about__media > .elementor-widget-image,
.ha-site .ha-why__frame > .elementor-widget-image { height: 100%; width: 100%; }

/* ---------- 06 SPECIALISMS ---------- */
.ha-site .ha-specialisms { background-color: var(--ha-navy-dark); color: var(--ha-white); }
.ha-site .ha-specialisms__title .elementor-heading-title {
  margin: 0; text-align: center; color: var(--ha-white);
  font-family: var(--ha-font-head); font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.875rem);
  font-weight: 500; line-height: 1.7; letter-spacing: 0.1em; text-transform: uppercase;
}
.ha-site .ha-spec-grid { display: grid; grid-template-columns: repeat(var(--ha-spec-count, 6), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ha-site .ha-spec-grid > li { display: flex; margin: 0; }
.ha-site .ha-spec-grid > li + li { border-left: 1px solid var(--ha-spec-line, var(--ha-on-navy-line)); }
.ha-site .ha-spec {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 12px 14px; text-align: center; text-decoration: none; color: var(--ha-spec-fg, var(--ha-white));
}
.ha-site .ha-spec__icon { width: 56px; height: 56px; color: var(--ha-spec-fg, var(--ha-white)); transition: transform .35s var(--ha-ease), color .35s var(--ha-ease); }
.ha-site .ha-spec__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ha-site .ha-spec__icon img { width: 100%; height: 100%; object-fit: contain; }
.ha-site .ha-spec__label {
  font-size: 0.9375rem; font-weight: 500; line-height: 1.4; max-width: 14ch;
  background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ha-ease);
}
.ha-site a.ha-spec:hover .ha-spec__icon { transform: translateY(-5px); color: var(--ha-spec-hover, #CFE0F0); }
.ha-site a.ha-spec:hover .ha-spec__label { background-size: 100% 1px; }

/* Specialism cards (Our Specialisms / Employers pages) */
.ha-site .ha-spec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ha-site .ha-spec-card {
  display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 32px 28px;
  background: var(--ha-card-bg, var(--ha-white)); border: 1px solid var(--ha-line); border-radius: var(--ha-radius);
  transition: box-shadow .3s var(--ha-ease), transform .3s var(--ha-ease);
}
.ha-site .ha-spec-card:hover { box-shadow: var(--ha-shadow); transform: translateY(-2px); }
.ha-site .ha-spec-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ha-navy-dark); color: var(--ha-card-icon, var(--ha-white)); }
.ha-site .ha-spec-card__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ha-site .ha-spec-card__icon img { width: 36px; height: 36px; object-fit: contain; }
.ha-site .ha-spec-card__title { margin: 6px 0 0; font-family: var(--ha-font-head); font-size: 1.375rem; font-weight: 500; line-height: 1.25; color: var(--ha-navy); }
.ha-site .ha-spec-card__text { margin: 0; color: var(--ha-text); }
.ha-site .ha-spec-card .ha-textlink { margin-top: auto; padding-top: 6px; }

/* ---------- 07 WHY HOLMAN ---------- */
.ha-site .ha-why__media { position: relative; padding: 0 0 32px 32px; }
.ha-site .ha-why__media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 82%;
  background: var(--ha-mist); border-radius: var(--ha-radius-img);
}
.ha-site .ha-why__frame { position: relative; aspect-ratio: 4 / 3.4; }

/* Icon List widget styled as the original navy check list */
.ha-site .ha-checks-w .elementor-icon-list-items { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ha-site .ha-checks-w .elementor-icon-list-item { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 0; }
.ha-site .ha-checks-w .elementor-icon-list-item::after { display: none; }
.ha-site .ha-checks-w .elementor-icon-list-icon {
  flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; padding: 0;
  border-radius: 50%; background: var(--ha-navy);
}
.ha-site .ha-checks-w .elementor-icon-list-icon svg { width: 11px; height: 11px; fill: var(--ha-white); }
.ha-site .ha-checks-w .elementor-icon-list-icon i { font-size: 11px; color: var(--ha-white); }
.ha-site .ha-checks-w .elementor-icon-list-text {
  padding: 0; color: var(--ha-navy); font-family: var(--ha-font-body); font-size: var(--ha-fs-body); font-weight: 500; line-height: 1.5;
}

/* Plugin-rendered checklist (job pages) */
.ha-site .ha-checks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ha-site .ha-checks li { display: flex; align-items: flex-start; gap: 14px; margin: 0; color: var(--ha-navy); font-weight: 500; line-height: 1.5; }
.ha-site .ha-check {
  flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: 1px;
  border-radius: 50%; background: var(--ha-navy); color: var(--ha-white);
}
.ha-site .ha-check svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 08 TESTIMONIALS ---------- */
.ha-site .ha-testimonials { background-color: var(--ha-mist); }
.ha-site .ha-testimonials > .ha-testimonials-w { display: flex; }
.ha-site .ha-testimonials__panel {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(56px, 3rem + 3vw, 104px);
  padding-left: max(var(--ha-gutter), env(safe-area-inset-left, 0px), calc((100vw - var(--ha-container)) / 2));
  padding-right: max(var(--ha-gutter), env(safe-area-inset-right, 0px), clamp(32px, 5vw, 80px));
}
.ha-site .ha-quote-mark { display: block; width: 52px; height: 40px; color: var(--ha-quote-mark, var(--ha-accent)); margin-bottom: 24px; }
.ha-site .ha-quote-mark svg { width: 100%; height: 100%; fill: currentColor; }
.ha-site .ha-slider { position: relative; display: grid; }
.ha-site .ha-slide { grid-area: 1 / 1; margin: 0; transition: opacity .6s var(--ha-ease), transform .6s var(--ha-ease); }
.ha-site .ha-slide[aria-hidden="true"] { opacity: 0; transform: translateY(8px); visibility: hidden; pointer-events: none; }
.ha-site .ha-slide blockquote { margin: 0; padding: 0; border: 0; background: none; }
.ha-site .ha-slide blockquote p {
  margin: 0; font-family: var(--ha-font-head); font-size: var(--ha-fs-quote); font-style: italic;
  font-weight: 400; line-height: 1.5; color: var(--ha-quote-fg, var(--ha-navy)); text-wrap: pretty;
}
.ha-site .ha-slide figcaption { margin-top: 28px; display: grid; gap: 2px; }
.ha-site .ha-slide__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.ha-site .ha-slide__name { font-weight: 600; color: var(--ha-navy); }
.ha-site .ha-slide__role { font-size: var(--ha-fs-small); color: var(--ha-text); }
.ha-site .ha-sample-tag {
  justify-self: start; margin-top: 12px; padding: 3px 10px; border: 1px dashed var(--ha-accent);
  border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ha-accent);
}
.ha-site .ha-slider__controls { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.ha-site .ha-dots { display: flex; gap: 10px; }
.ha-site .ha-dot {
  width: 10px; height: 10px; min-height: 0; padding: 0; border: 1px solid var(--ha-quote-ctrl, var(--ha-navy)); border-radius: 50%;
  background: transparent; cursor: pointer; transition: background-color .25s, width .3s var(--ha-ease), border-radius .3s;
}
.ha-site .ha-dot:hover, .ha-site .ha-dot:focus { background: transparent; }
.ha-site .ha-dot[aria-current="true"] { width: 28px; border-radius: 6px; background: var(--ha-quote-ctrl, var(--ha-navy)); }
.ha-site .ha-arrows { display: flex; gap: 8px; margin-left: auto; }
.ha-site .ha-arrow {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid rgba(11,52,88,.35); border-radius: 50%; background: transparent; color: var(--ha-quote-ctrl, var(--ha-navy)); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.ha-site .ha-arrow:hover, .ha-site .ha-arrow:focus-visible { background: var(--ha-quote-ctrl, var(--ha-navy)); color: var(--ha-white); border-color: var(--ha-quote-ctrl, var(--ha-navy)); }
.ha-site .ha-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ha-site .ha-testimonials__fallback { margin: 0; font-family: var(--ha-font-head); font-size: var(--ha-fs-quote); font-style: italic; color: var(--ha-navy); }
.ha-site .ha-testimonials__media { position: relative; min-height: 460px; background-color: var(--ha-placeholder); }
.ha-site .ha-testimonials__media > .elementor-widget-image { position: absolute; inset: 0; }
/* Hide the photo column when the testimonial panel is hidden (no active testimonials) */
.ha-site .ha-testimonials:has(.ha-is-empty):not(:has(.ha-editor-note)) { display: none; }

/* ---------- 09 CALL TO ACTION ---------- */
.ha-site .ha-cta { text-align: center; }
.ha-site .ha-cta .ha-eyebrow .elementor-heading-title { justify-content: center; }
.ha-site .ha-cta .ha-eyebrow .elementor-heading-title::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.ha-site .ha-cta .ha-copy p { margin-inline: auto; max-width: 60ch; }

/* ---------- 10 CONTACT & FORM ---------- */
.ha-site .ha-contact { background-color: var(--ha-navy); color: var(--ha-white); }
.ha-site .ha-contact .ha-eyebrow .elementor-heading-title,
.ha-site .ha-contact p.ha-eyebrow { color: var(--ha-on-navy-muted); }
.ha-site .ha-contact .ha-h2 .elementor-heading-title,
.ha-site .ha-contact h2.ha-h2 { color: var(--ha-white); }
.ha-site .ha-contact .ha-copy { color: rgba(255,255,255,.86); }
.ha-site .ha-contact .ha-copy p { max-width: 46ch; }
.ha-site .ha-email {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--ha-on-navy-line);
}
.ha-site .ha-email--plain .ha-email { margin-top: 0; padding-top: 0; border-top: 0; }
.ha-site .ha-email__icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
}
.ha-site .ha-email__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ha-white); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ha-site .ha-email__text { display: grid; min-width: 0; line-height: 1.7; }
.ha-site .ha-email__label { font-size: var(--ha-fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ha-on-navy-muted); }
.ha-site .ha-email__addr { font-size: 1.0625rem; font-weight: 500; color: var(--ha-white); text-decoration: none; overflow-wrap: anywhere; }
.ha-site .ha-email__addr:hover { color: var(--ha-white); text-decoration: underline; text-underline-offset: 4px; }

.ha-site .ha-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.ha-site .ha-field { display: grid; gap: 8px; min-width: 0; }
.ha-site .ha-field--full { grid-column: 1 / -1; }
.ha-site .ha-field label { font-size: 0.875rem; font-weight: 500; line-height: 1.7; color: var(--ha-form-label, var(--ha-white)); }
.ha-site .ha-field label .ha-req { color: var(--ha-on-navy-muted); margin-left: 2px; }
.ha-site .ha-input, .ha-site .ha-select, .ha-site .ha-textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid #C8D5E2; border-radius: var(--ha-radius);
  background-color: var(--ha-white); color: #1C2733;
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.ha-site .ha-textarea { min-height: 150px; resize: vertical; }
.ha-site .ha-select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3458' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.ha-site .ha-input::placeholder, .ha-site .ha-textarea::placeholder { color: #7B8794; }
.ha-site .ha-input:focus, .ha-site .ha-select:focus, .ha-site .ha-textarea:focus { outline: none; border-color: var(--ha-accent); box-shadow: 0 0 0 3px rgba(117,170,219,.55); }
.ha-site .ha-field.is-invalid .ha-input, .ha-site .ha-field.is-invalid .ha-textarea, .ha-site .ha-field.is-invalid .ha-select { border-color: var(--ha-error); box-shadow: 0 0 0 3px rgba(255,196,190,.6); }
.ha-site .ha-field__error { min-height: 0; font-size: 0.8125rem; color: var(--ha-error-on-navy); }
.ha-site .ha-field__error:empty { display: none; }
.ha-site .ha-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ha-site .ha-form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ha-site .ha-form__note { font-size: 0.8125rem; color: var(--ha-on-navy-muted); }
.ha-site .ha-form__note a { color: inherit; text-underline-offset: 3px; }
.ha-site .ha-form__status {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--ha-radius); font-size: 0.9375rem; line-height: 1.5;
}
.ha-site .ha-form__status:empty { display: none; }
.ha-site .ha-form__status.is-success { background: rgba(191,232,207,.12); border: 1px solid rgba(191,232,207,.5); color: var(--ha-success-on-navy); }
.ha-site .ha-form__status.is-error { background: rgba(255,196,190,.1); border: 1px solid rgba(255,196,190,.5); color: var(--ha-error-on-navy); }

/* ---------- 11 FOOTER ---------- */
.ha-site .ha-footer { background-color: var(--ha-navy-dark); color: rgba(255,255,255,.72); border-top: 1px solid var(--ha-on-navy-line); }
.ha-site .ha-footer__text, .ha-site .ha-footer__text p {
  margin: 0; text-align: center; font-family: var(--ha-font-body); font-size: 0.875rem; line-height: 1.7; letter-spacing: .02em; color: rgba(255,255,255,.72);
}
.ha-site .ha-footer__text a { color: inherit; }

/* ---------- 12 INNER PAGES ---------- */
.ha-site .ha-page-hero { background-color: var(--ha-navy); color: var(--ha-white); }
.ha-site .ha-page-hero .ha-eyebrow .elementor-heading-title,
.ha-site .ha-page-hero p.ha-eyebrow { color: var(--ha-on-navy-muted); }
.ha-site .ha-page-hero__title .elementor-heading-title,
.ha-site .ha-job-header__title {
  margin: 0; max-width: 24ch;
  font-family: var(--ha-font-head); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.01em; color: var(--ha-white); text-wrap: balance;
}
.ha-site .ha-page-hero__title em { font-style: italic; font-weight: 400; }
.ha-site .ha-page-hero .ha-copy { color: rgba(255,255,255,.86); }
.ha-site .ha-section--mist { background-color: var(--ha-mist); }
.ha-site .ha-h3 .elementor-heading-title {
  margin: 0; font-family: var(--ha-font-head); font-size: 1.5rem; font-weight: 500; line-height: 1.25; color: var(--ha-navy);
}
.ha-site .ha-card {
  background-color: var(--ha-white); border: 1px solid var(--ha-line); border-radius: var(--ha-radius);
}
.ha-site .ha-section--mist .ha-card { border-color: transparent; }
.ha-site .ha-step-num .elementor-heading-title {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ha-navy); color: var(--ha-white); font-family: var(--ha-font-head); font-size: 1.125rem; font-weight: 500; line-height: 1;
}

/* ---------- 13 JOBS ---------- */
.ha-site .ha-job-filters {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 16px; align-items: end;
  margin: 0 0 32px; padding: 24px; background: var(--ha-mist); border-radius: var(--ha-radius);
}
.ha-site .ha-job-filters .ha-field label { color: var(--ha-navy); }
.ha-site .ha-job-filters__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ha-site .ha-jobs__count { margin: 0 0 16px; font-size: var(--ha-fs-small); font-weight: 600; color: var(--ha-navy); }
.ha-site .ha-job-list { display: grid; grid-template-columns: repeat(var(--ha-job-cols, 2), minmax(0, 1fr)); gap: 24px; }
.ha-site .ha-job-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: var(--ha-white); border: 1px solid var(--ha-line); border-radius: var(--ha-radius);
  transition: box-shadow .3s var(--ha-ease), border-color .3s var(--ha-ease), transform .3s var(--ha-ease);
}
.ha-site .ha-job-card:hover { box-shadow: var(--ha-shadow); border-color: #C3D2E1; transform: translateY(-2px); }
.ha-site .ha-job-card.is-featured { border-left: 3px solid var(--ha-accent); }
.ha-site .ha-job-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.ha-site .ha-job-card__spec { margin: 0; font-size: var(--ha-fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ha-accent); }
.ha-site .ha-job-card__title { margin: 0; font-family: var(--ha-font-head); font-size: 1.5rem; font-weight: 500; line-height: 1.25; color: var(--ha-navy); }
.ha-site .ha-job-card__title a { color: inherit; text-decoration: none; }
.ha-site .ha-job-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.ha-site .ha-job-card__text { margin: 0; color: var(--ha-text); }
.ha-site .ha-job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ha-line); }
.ha-site .ha-job-card__ref { font-size: 0.8125rem; color: #6B7480; letter-spacing: .04em; }
.ha-site .ha-job-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--ha-fs-small); color: var(--ha-text); }
.ha-site .ha-job-meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.ha-site .ha-job-meta svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--ha-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ha-site .ha-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.ha-site .ha-badge--featured { background: var(--ha-navy); color: var(--ha-white); }
.ha-site .ha-badge--closed, .ha-site .ha-badge--expired { background: #EEF0F2; color: #4A525C; }
.ha-site .ha-badge--filled { background: var(--ha-mist); color: var(--ha-navy); }
.ha-site .ha-badge--draft { background: #FCF0E3; color: #8A4B00; }
.ha-site .ha-jobs__empty { padding: 40px 32px; text-align: center; background: var(--ha-mist); border-radius: var(--ha-radius); }
.ha-site .ha-jobs__empty p { margin: 0 auto 20px; max-width: 56ch; color: var(--ha-navy); font-size: 1.0625rem; }
.ha-site .ha-jobs__empty p:last-child { margin-bottom: 0; }
.ha-site .ha-pagination { margin-top: 32px; }
.ha-site .ha-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ha-site .ha-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ha-line); border-radius: var(--ha-radius); color: var(--ha-navy); text-decoration: none; font-weight: 500; }
.ha-site .ha-pagination .page-numbers.current, .ha-site .ha-pagination a.page-numbers:hover { background: var(--ha-navy); border-color: var(--ha-navy); color: var(--ha-white); }

/* Single job */
.ha-site .ha-backlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: var(--ha-fs-small); font-weight: 500; color: rgba(255,255,255,.86); text-decoration: none; }
.ha-site .ha-backlink:hover { color: var(--ha-white); text-decoration: underline; text-underline-offset: 4px; }
.ha-site .ha-backlink svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ha-site .ha-job-header .ha-eyebrow { color: var(--ha-on-navy-muted); }
.ha-site .ha-job-header .ha-job-meta { margin-top: 24px; color: rgba(255,255,255,.9); font-size: 1rem; }
.ha-site .ha-job-header .ha-job-meta svg { stroke: var(--ha-on-navy-muted); }
.ha-site .ha-job-header__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.ha-site .ha-job-header__ref { font-size: 0.8125rem; letter-spacing: .06em; color: var(--ha-on-navy-muted); }
.ha-site .ha-job-header .ha-badge--featured { background: var(--ha-white); color: var(--ha-navy); }
.ha-site .ha-job-section + .ha-job-section { margin-top: 40px; }
.ha-site .ha-job-section__title { margin: 0 0 18px; font-family: var(--ha-font-head); font-size: 1.625rem; font-weight: 500; line-height: 1.25; color: var(--ha-navy); }
.ha-site .ha-richtext ul, .ha-site .ha-richtext ol { margin: 0 0 18px; padding-left: 1.2em; }
.ha-site .ha-richtext h3, .ha-site .ha-richtext h4 { font-family: var(--ha-font-head); color: var(--ha-navy); font-weight: 500; }
.ha-site .ha-notice { margin-bottom: 32px; padding: 16px 20px; border-left: 3px solid var(--ha-accent); border-radius: var(--ha-radius); background: var(--ha-mist); color: var(--ha-navy); font-weight: 500; }
.ha-site .ha-job-summary { position: sticky; top: calc(var(--ha-header-h) + 24px); padding: 28px; background: var(--ha-mist); border-radius: var(--ha-radius); }
.ha-site .ha-job-summary__title { margin: 0 0 16px; font-family: var(--ha-font-head); font-size: 1.375rem; font-weight: 500; color: var(--ha-navy); }
.ha-site .ha-job-summary dl { margin: 0 0 24px; }
.ha-site .ha-job-summary dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ha-line); }
.ha-site .ha-job-summary dt { font-size: var(--ha-fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ha-accent); }
.ha-site .ha-job-summary dd { margin: 0; color: var(--ha-navy); font-weight: 500; }
.ha-site .ha-job-enquiry { max-width: 820px; }
.ha-site .ha-job-enquiry__title { color: var(--ha-white); }
.ha-site .ha-job-enquiry__intro { margin: 0 0 28px; color: rgba(255,255,255,.86); }
.ha-site .ha-job-enquiry__note { margin: 20px 0 0; font-size: 0.875rem; color: var(--ha-on-navy-muted); }
/* Fallback single-job layout (no Theme Builder) */
.ha-site .site-main.ha-single-job { max-width: none; width: 100%; margin: 0; padding: 0; }
.ha-site .ha-page-hero--job:not(.e-con) { padding-block: clamp(56px, 3rem + 3vw, 96px); }
.ha-site .ha-job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--ha-gap-lg); align-items: start; }

/* ---------- 14 ARTICLES ---------- */
.ha-site .ha-post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ha-site .ha-post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--ha-white); border: 1px solid var(--ha-line); border-radius: var(--ha-radius); }
.ha-site .ha-post-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ha-site .ha-post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.ha-site .ha-post-card__date { margin: 0; font-size: var(--ha-fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ha-accent); font-weight: 600; }
.ha-site .ha-post-card__title { margin: 0; font-family: var(--ha-font-head); font-size: 1.375rem; font-weight: 500; line-height: 1.25; color: var(--ha-navy); }
.ha-site .ha-post-card__title a { color: inherit; text-decoration: none; }
.ha-site .ha-post-card__text { margin: 0; }
.ha-site .ha-post-card .ha-textlink { margin-top: auto; }

/* ---------- 15 EDITOR NOTES & PLACEHOLDERS ----------
   .ha-editor-note: rendered by the plugin only for logged-in editors.
   .ha-draft-note:  add to any Elementor widget holding placeholder copy;
                    visible to logged-in users and in the editor, hidden from visitors. */
.ha-site .ha-editor-note,
.ha-site .ha-draft-note .elementor-widget-container,
.ha-site .elementor-widget.ha-draft-note {
  margin: 0; padding: 12px 16px; border: 1px dashed var(--ha-accent); border-radius: var(--ha-radius);
  background: #F5F9FC; color: var(--ha-accent); font-family: var(--ha-font-body); font-size: 0.875rem; font-weight: 500; line-height: 1.5;
}
.ha-site .ha-draft-note p { margin: 0 0 6px; color: var(--ha-accent); }
.ha-site .ha-draft-note p:last-child { margin: 0; }
body.ha-site:not(.logged-in):not(.elementor-editor-active) .ha-draft-note,
body.ha-site:not(.logged-in):not(.elementor-editor-active) .ha-draft-section { display: none !important; }
/* .ha-draft-section: a whole section of placeholder content, hidden from visitors until it is filled in and the class removed */
.ha-site .ha-draft-section { outline: 2px dashed rgba(20, 85, 139, .35); outline-offset: -8px; }

/* ---------- 16 SCROLL REVEAL ---------- */
.ha-js .ha-site .ha-reveal.is-pending, .ha-js .ha-site.ha-reveal.is-pending { opacity: 0; transform: translateY(22px); }
.ha-js .ha-site .ha-reveal { transition: opacity .8s var(--ha-ease), transform .8s var(--ha-ease); }
@media (prefers-reduced-motion: reduce) {
  .ha-site *, .ha-site *::before, .ha-site *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .ha-js .ha-site .ha-reveal.is-pending { opacity: 1; transform: none; }
}

/* ---------- 17 RESPONSIVE ---------- */
@media (max-width: 1439px) {
  :root { --ha-header-gap: 24px; }
}
/* Below 1180px: navigation collapses to the menu button (as in the original). */
@media (max-width: 1179px) {
  :root { --ha-header-h: 76px; }
  .ha-site .ha-header .ha-logo img { height: 42px; }
  .ha-site .ha-burger { display: inline-flex; }
  .ha-site .ha-header .ha-header__cta { display: none; }
  .ha-site .ha-nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    background: var(--ha-white); border-top: 1px solid var(--ha-line);
    box-shadow: 0 24px 40px -24px rgba(8,42,73,.35);
    max-height: calc(100vh - var(--ha-header-h)); overflow-y: auto;
  }
  .ha-site .ha-nav:not([data-open="true"]) { display: none; }
  .ha-site .ha-nav__list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(var(--ha-gutter), env(safe-area-inset-right, 0px)) 24px max(var(--ha-gutter), env(safe-area-inset-left, 0px));
  }
  .ha-site .ha-nav__list > li { border-bottom: 1px solid var(--ha-line); }
  .ha-site .ha-nav__link { display: block; padding: 16px 0; font-size: 1rem; }
  .ha-site .ha-nav__link::after { bottom: 10px; right: auto; width: 28px; }
  .ha-site .ha-nav__list > li.ha-nav__cta-mobile { display: block; border-bottom: 0; padding-top: 20px; }
  .ha-site .ha-nav__cta-mobile .ha-btn { width: 100%; }
  .ha-site .ha-nav__list .sub-menu { padding: 0 0 8px 16px; }
  .ha-site .ha-nav__sublink { padding: 10px 0; white-space: normal; }
  .ha-site .ha-job-filters { grid-template-columns: 1fr 1fr; }
  .ha-site .ha-job-filters .ha-field--search { grid-column: 1 / -1; }
  .ha-site .ha-job-filters__actions { grid-column: 1 / -1; }
}
/* Tablet 768–1023 */
@media (max-width: 1023px) {
  .ha-site .ha-split { --flex-direction: column; flex-direction: column; }
  .ha-site .ha-split > .e-con-inner { flex-direction: column; }
  .ha-site .ha-about__media { order: -1; aspect-ratio: 16 / 10; }
  .ha-site .ha-why__media { max-width: 640px; }
  .ha-site .ha-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .ha-site .ha-spec-grid > li { border-left: 0 !important; }
  .ha-site .ha-spec-grid > li:not(:nth-child(3n+1)) { border-left: 1px solid var(--ha-spec-line, var(--ha-on-navy-line)) !important; }
  .ha-site .ha-spec-grid > li:nth-child(n+4) { border-top: 1px solid var(--ha-spec-line, var(--ha-on-navy-line)); }
  .ha-site .ha-spec { padding: 28px 12px; }
  .ha-site .ha-testimonials { --flex-direction: column; flex-direction: column; }
  .ha-site .ha-testimonials__panel { padding-left: max(var(--ha-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--ha-gutter), env(safe-area-inset-right, 0px)); }
  .ha-site .ha-testimonials__media { min-height: 0; aspect-ratio: 16 / 9; }
  .ha-site .ha-spec-cards, .ha-site .ha-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ha-site .ha-job-list { grid-template-columns: 1fr; }
  .ha-site .ha-job-layout { grid-template-columns: 1fr; }
  .ha-site .ha-job-summary { position: static; }
}
/* Mobile ≤767 */
@media (max-width: 767px) {
  :root { --ha-header-h: 68px; }
  .ha-site .ha-header .ha-logo img { height: 36px; }
  .ha-site .ha-hero { min-height: 0; }
  .ha-site .ha-hero.e-con::before { background-image: none !important; background-color: rgba(8,42,73,.68) !important; opacity: 1 !important; }
  .ha-site .ha-hero__sub .elementor-heading-title { letter-spacing: .16em; font-size: .75rem; }
  .ha-site .ha-btn-row { --flex-direction: column; flex-direction: column; align-items: stretch; }
  .ha-site .ha-btn-row > .elementor-widget, .ha-site .ha-btn-row .elementor-button, .ha-site .ha-btn-row .ha-btn { width: 100%; }
  .ha-site .ha-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ha-site .ha-spec-grid > li:not(:nth-child(3n+1)) { border-left: 0 !important; }
  .ha-site .ha-spec-grid > li:nth-child(even) { border-left: 1px solid var(--ha-spec-line, var(--ha-on-navy-line)) !important; }
  .ha-site .ha-spec-grid > li:nth-child(n+3) { border-top: 1px solid var(--ha-spec-line, var(--ha-on-navy-line)); }
  .ha-site .ha-spec-grid > li:nth-child(-n+2) { border-top: 0; }
  .ha-site .ha-spec__icon { width: 46px; height: 46px; }
  .ha-site .ha-why__media { padding: 0 0 20px 20px; }
  .ha-site .ha-form { grid-template-columns: 1fr; }
  .ha-site .ha-form__footer .ha-btn { width: 100%; }
  .ha-site .ha-slider__controls { flex-wrap: wrap; }
  .ha-site .ha-spec-cards, .ha-site .ha-post-list { grid-template-columns: 1fr; }
  .ha-site .ha-job-filters { grid-template-columns: 1fr; padding: 20px; }
  .ha-site .ha-job-card { padding: 22px; }
  .ha-site .ha-job-summary dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 600px) {
  .ha-site .elementor-location-header { top: 0; }
}

/* Testimonial widget column (50/50 with the photo column, stacked below 1024px) */
.ha-site .ha-testimonials > .ha-testimonials-w { flex: 1 1 50%; width: 50%; max-width: 50%; }
@media (max-width: 1023px) {
  .ha-site .ha-testimonials > .ha-testimonials-w { width: 100%; max-width: 100%; flex-basis: auto; }
}
.ha-site .ha-cta__inner { max-width: 780px; margin-inline: auto; }

/* Hello Elementor's reset styles <figcaption> (smaller, tighter); restore the original sizing. */
.ha-site .ha-slide figcaption { font-size: var(--ha-fs-body); line-height: 1.7; }
.ha-site .ha-sample-tag { line-height: 1.7; }
