/* Hidden Jobs global shell. Keep the theme header, own the navigation polish and footer. */
.site-footer,
footer.site-footer,
#colophon,
.ast-footer-overlay,
.ast-footer-copyright,
.ast-small-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap,
.site-below-footer-wrap,
.footer-adv-overlay {
  display: none !important;
}

html, body { overflow-x: hidden; }

/* Primary navigation intentionally inherits the active WordPress/Astra theme styles. */

/* Hidden Jobs footer palette: navy + teal, not ConsultEvo blue. */
.hjd-global-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #071e2d;
  color: #edf8fb;
  border-top: 4px solid #0aa0b6;
  font-family: inherit;
}
.hjd-global-footer *, .hjd-global-footer *::before, .hjd-global-footer *::after { box-sizing: border-box; }
.hjd-global-footer a { color: inherit; text-decoration: none; }
.hjd-footer-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 0; }
.hjd-footer-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(650px, 1.5fr); gap: 58px; align-items: start; }
.hjd-footer-brand { max-width: 430px; }
.hjd-footer-logo { display: inline-block; color: #fff !important; font-size: 27px; font-weight: 900; letter-spacing: -.035em; }
.hjd-footer-brand p { margin: 17px 0 20px; color: #aec4ce; font-size: 14px; line-height: 1.75; }
.hjd-footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hjd-footer-badges span { padding: 7px 10px; border: 1px solid #244656; border-radius: 999px; background: #0c2a3a; color: #c7dce4; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.hjd-footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hjd-footer-nav > div { display: flex; flex-direction: column; gap: 10px; }
.hjd-footer-nav strong { margin-bottom: 6px; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.hjd-footer-nav a { color: #b3c9d2; font-size: 13px; line-height: 1.45; transition: color .16s ease; }
.hjd-footer-nav a:hover { color: #5fd5e3; }
.hjd-footer-builder { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 48px; padding: 23px 24px; border: 1px solid #244656; border-radius: 15px; background: #0b2a3a; }
.hjd-footer-builder > div:first-child { max-width: 650px; }
.hjd-footer-builder span { display: block; margin-bottom: 6px; color: #5fd5e3; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.hjd-footer-builder strong { color: #f3fbfd; font-size: 15px; line-height: 1.45; }
.hjd-footer-builder-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hjd-footer-builder-links a { padding: 11px 14px; border: 1px solid #17a7bb; border-radius: 9px; background: #10a0b5; color: #fff; font-size: 11px; font-weight: 850; white-space: nowrap; }
.hjd-footer-builder-links a:last-child { background: transparent; border-color: #355767; color: #d7e7ed; }
.hjd-footer-builder-links a:hover { filter: brightness(1.08); }
.hjd-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 30px; padding: 20px 0 24px; border-top: 1px solid #234454; color: #8eabb8; font-size: 10px; line-height: 1.55; }
.hjd-footer-bottom .hjd-copyright { color: #bcd0d8; font-weight: 700; }

@media (max-width: 1040px) {
  .hjd-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .hjd-footer-brand { max-width: 700px; }
}
@media (max-width: 760px) {
  .hjd-footer-shell { width: min(100% - 28px, 1180px); padding-top: 46px; }
  .hjd-footer-nav { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .hjd-footer-builder { align-items: flex-start; flex-direction: column; padding: 18px; }
  .hjd-footer-builder-links { width: 100%; justify-content: flex-start; }
  .hjd-footer-bottom { flex-direction: column; align-items: flex-start; gap: 7px; }
}
@media (max-width: 520px) {
  .hjd-footer-nav { grid-template-columns: 1fr; }
  .hjd-footer-builder-links { display: grid; grid-template-columns: 1fr; }
  .hjd-footer-builder-links a { text-align: center; }
}
/* Copyright is deliberately the final line of the site. */
.hjd-footer-bottom { flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; }
.hjd-footer-bottom .hjd-copyright { display:block; width:100%; padding-top:2px; }
