/*
Theme Name: Hire in Global Careers
Theme URI: https://hireinglobal.com/
Description: A recruitment-first GeneratePress child theme for Hire in Global, with role pages, certificate-aware candidate guidance, and secure application capture.
Author: Hire in Global
Author URI: https://hireinglobal.com/
Template: generatepress
Version: 2.0.0
Text Domain: hig-careers
Requires at least: 6.4
Requires PHP: 8.1
*/

:root {
  --hig-navy: #071a2f;
  --hig-navy-2: #0d2948;
  --hig-blue: #1769ff;
  --hig-cyan: #13b8c8;
  --hig-gold: #f3b735;
  --hig-ink: #14243a;
  --hig-muted: #60708a;
  --hig-line: #dce5f0;
  --hig-soft: #f3f7fb;
  --hig-white: #fff;
  --hig-success: #117a52;
  --hig-danger: #b42318;
  --hig-radius: 20px;
  --hig-shadow: 0 18px 55px rgba(15, 39, 68, .12);
}

html { scroll-behavior: smooth; }
body { color: var(--hig-ink); background: var(--hig-white); }
body, button, input, select, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.hig-topbar { padding: 8px 0; color: #d9e8f7; background: #041221; font-size: .8rem; }
.hig-topbar .hig-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hig-topbar span:last-child { display: flex; gap: 18px; }
.hig-topbar a { color: #fff; text-decoration: none; }
.hig-site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--hig-line); background: rgba(255,255,255,.98); box-shadow: 0 5px 22px rgba(7,26,47,.06); }
.hig-header-inner { display: flex; min-height: 82px; align-items: center; gap: 24px; }
.hig-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.hig-brand-logo { width: 142px; height: auto; max-height: 55px; object-fit: contain; }
.hig-primary-nav { margin-left: auto; }
.hig-menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hig-menu a { display: block; padding: 12px 13px; border-radius: 9px; color: var(--hig-ink); font-size: .9rem; font-weight: 750; text-decoration: none; }
.hig-menu a:hover, .hig-menu .current-menu-item > a { color: var(--hig-blue); background: #eef5ff; }
.hig-header-cta { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 10px; color: #fff; background: var(--hig-blue); font-size: .88rem; font-weight: 800; text-decoration: none; }
.hig-menu-toggle { display: none; width: 44px; height: 42px; padding: 9px; border: 0; border-radius: 9px; background: #eef5ff; }
.hig-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--hig-navy); }
.site-content { padding: 0; }
.content-area { width: 100%; }
.site-main { margin: 0; }
.separate-containers .site-main { margin: 0; }
.separate-containers .inside-article { padding: 0; }
.entry-header, .entry-content { margin: 0; }

.hig-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hig-section { padding: 88px 0; }
.hig-section--soft { background: var(--hig-soft); }
.hig-section--dark { color: white; background: radial-gradient(circle at 90% 10%, rgba(23,105,255,.28), transparent 36%), var(--hig-navy); }
.hig-kicker { margin: 0 0 12px; color: var(--hig-blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hig-section--dark .hig-kicker { color: #8fd9ff; }
.hig-title { max-width: 820px; margin: 0; font-size: clamp(2rem, 4vw, 4.25rem); line-height: 1.04; letter-spacing: -.045em; }
.hig-heading { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.12; letter-spacing: -.035em; }
.hig-lead { max-width: 760px; margin: 20px 0 0; color: var(--hig-muted); font-size: clamp(1.04rem, 1.8vw, 1.25rem); line-height: 1.75; }
.hig-section--dark .hig-lead { color: #c9d8e9; }
.hig-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; color: #fff !important; background: var(--hig-blue); font-weight: 800; text-decoration: none; transition: .2s ease; }
.hig-button:hover { transform: translateY(-2px); color: #fff !important; background: #0f55d6; box-shadow: 0 10px 24px rgba(23,105,255,.25); }
.hig-button--secondary { color: var(--hig-ink) !important; background: #fff; border-color: var(--hig-line); }
.hig-button--secondary:hover { color: var(--hig-ink) !important; background: #f8fbff; }
.hig-button--gold { color: #18212f !important; background: var(--hig-gold); }
.hig-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hig-fraudbar { padding: 9px 20px; color: #f5f9ff; background: var(--hig-navy); font-size: .9rem; text-align: center; }
.hig-fraudbar strong { color: var(--hig-gold); }
.hig-fraudbar a { color: #fff; text-decoration: underline; }
.main-navigation .main-nav ul li a { font-weight: 700; }
.main-navigation .menu-bar-item > a { color: var(--hig-ink); }

.hig-hero { overflow: hidden; padding: 92px 0 74px; background: linear-gradient(135deg, #f5f9ff 0%, #edf8fa 55%, #fff8e8 100%); }
.hig-hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hig-hero__visual { position: relative; }
.hig-hero__visual img { display: block; width: 100%; filter: drop-shadow(0 28px 45px rgba(23,61,104,.18)); }
.hig-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.hig-badges li { padding: 8px 12px; border: 1px solid rgba(23,105,255,.18); border-radius: 999px; background: rgba(255,255,255,.78); font-size: .9rem; font-weight: 700; }

.hig-stats { position: relative; z-index: 2; margin-top: -30px; }
.hig-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--hig-line); border-radius: 18px; background: #fff; box-shadow: var(--hig-shadow); }
.hig-stat { padding: 24px; text-align: center; }
.hig-stat + .hig-stat { border-left: 1px solid var(--hig-line); }
.hig-stat strong { display: block; color: var(--hig-navy); font-size: 1.45rem; }
.hig-stat span { color: var(--hig-muted); font-size: .9rem; }

.hig-grid { display: grid; gap: 24px; }
.hig-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hig-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hig-card { overflow: hidden; border: 1px solid var(--hig-line); border-radius: var(--hig-radius); background: #fff; box-shadow: 0 8px 30px rgba(15,39,68,.06); }
.hig-card__body { padding: 28px; }
.hig-card__icon { display: grid; width: 48px; height: 48px; margin-bottom: 20px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--hig-blue), var(--hig-cyan)); font-size: 1.15rem; font-weight: 900; }
.hig-card h3 { margin: 0 0 10px; font-size: 1.28rem; }
.hig-card p { color: var(--hig-muted); line-height: 1.65; }
.hig-card a:not(.hig-button) { color: var(--hig-blue); font-weight: 800; text-decoration: none; }

.hig-job-controls { display: flex; gap: 12px; margin: 30px 0; }
.hig-job-controls input, .hig-job-controls select { min-height: 48px; border: 1px solid var(--hig-line); border-radius: 12px; background: #fff; }
.hig-job-controls input { flex: 1; }
.hig-job-card { display: flex; flex-direction: column; min-height: 100%; }
.hig-job-card__media { display: flex; align-items: center; justify-content: center; height: 170px; background: linear-gradient(135deg, #eaf2ff, #eafafa); }
.hig-job-card__media img { width: 75%; height: 135px; object-fit: contain; }
.hig-job-card__body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.hig-job-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.hig-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #34506f; background: #edf3f9; font-size: .74rem; font-weight: 800; }
.hig-pill--open { color: #0f6b49; background: #e6f7ef; }
.hig-job-card h3 { margin: 0 0 10px; font-size: 1.22rem; }
.hig-job-card p { margin: 0 0 18px; color: var(--hig-muted); line-height: 1.6; }
.hig-job-card__link { margin-top: auto; color: var(--hig-blue); font-weight: 800; text-decoration: none; }

.hig-page-hero { padding: 72px 0; color: white; background: radial-gradient(circle at 85% 10%, rgba(19,184,200,.26), transparent 35%), var(--hig-navy); }
.hig-page-hero__grid { display: grid; grid-template-columns: 1fr .72fr; gap: 50px; align-items: center; }
.hig-page-hero img { display: block; max-height: 330px; margin-inline: auto; }
.hig-breadcrumbs { margin-bottom: 18px; color: #bed0e2; font-size: .9rem; }
.hig-breadcrumbs a { color: #fff; }

.hig-job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.hig-prose h2 { margin-top: 44px; font-size: 1.75rem; }
.hig-prose h3 { margin-top: 26px; }
.hig-prose p, .hig-prose li { color: #40536c; line-height: 1.78; }
.hig-prose ul { padding-left: 22px; }
.hig-sidebar { position: sticky; top: 24px; }
.hig-summary { padding: 26px; border: 1px solid var(--hig-line); border-radius: var(--hig-radius); background: #fff; box-shadow: var(--hig-shadow); }
.hig-summary dl { margin: 0; }
.hig-summary div { display: grid; grid-template-columns: 110px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--hig-line); }
.hig-summary div:last-child { border: 0; }
.hig-summary dt { color: var(--hig-muted); font-size: .86rem; font-weight: 700; }
.hig-summary dd { margin: 0; font-weight: 800; }

.hig-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.hig-step { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.06); }
.hig-step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 16px; color: var(--hig-gold); font-weight: 900; }

.hig-form-wrap { padding: 32px; border: 1px solid var(--hig-line); border-radius: 24px; background: #fff; box-shadow: var(--hig-shadow); }
.hig-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hig-field { margin-bottom: 18px; }
.hig-field--full { grid-column: 1 / -1; }
.hig-field label, .hig-field legend { display: block; margin-bottom: 7px; color: var(--hig-ink); font-size: .9rem; font-weight: 800; }
.hig-field input:not([type=radio]):not([type=checkbox]), .hig-field select, .hig-field textarea { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid #cbd7e5; border-radius: 10px; background: #fff; }
.hig-field textarea { min-height: 120px; resize: vertical; }
.hig-radio-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hig-radio { display: flex; gap: 8px; align-items: center; padding: 10px 13px; border: 1px solid var(--hig-line); border-radius: 10px; }
.hig-field small { display: block; margin-top: 6px; color: var(--hig-muted); line-height: 1.5; }
.hig-form-note { padding: 15px 18px; border-left: 4px solid var(--hig-blue); background: #eff5ff; color: #314d72; }
.hig-form-note--course { border-color: var(--hig-gold); background: #fff9e9; }
.hig-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hig-alert { margin: 0 0 24px; padding: 16px 18px; border-radius: 12px; color: #0c5e3f; background: #e8f8f1; font-weight: 700; }
.hig-alert--error { color: #8c1d18; background: #fff0ee; }

.hig-course-card { margin-top: 22px; padding: 22px; border: 1px solid #f0d084; border-radius: 16px; background: #fffaf0; }
.hig-course-card h3 { margin-top: 0; }
.hig-course-card p { color: #665221; }

.hig-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.hig-contact-list { padding: 0; list-style: none; }
.hig-contact-list li { padding: 17px 0; border-bottom: 1px solid var(--hig-line); }
.hig-contact-list strong { display: block; margin-bottom: 4px; }
.hig-owner { display: grid; grid-template-columns: 280px 1fr; gap: 42px; align-items: center; }
.hig-owner img { width: 100%; border-radius: 26px; background: var(--hig-soft); }
.hig-safety { padding: 24px; border: 1px solid #f1d49a; border-radius: 16px; background: #fffaf0; }
.hig-safety strong { color: #795a12; }

.hig-faq details { margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--hig-line); border-radius: 14px; background: #fff; }
.hig-faq summary { cursor: pointer; font-weight: 800; }
.hig-faq p { color: var(--hig-muted); }
.hig-empty { padding: 44px; border: 1px dashed var(--hig-line); border-radius: 18px; text-align: center; }
.hig-cta { padding: 42px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--hig-navy), var(--hig-navy-2)); }
.hig-cta h2 { margin-top: 0; color: #fff; }
.hig-cta p { max-width: 700px; color: #c9d8e9; }
.hig-site-footer { color: #c7d5e5; background: #061728; }
.hig-footer-grid { display: grid; grid-template-columns: 1.4fr .75fr .75fr 1fr; gap: 44px; padding-top: 64px; padding-bottom: 54px; }
.hig-footer-logo { width: 145px; height: auto; padding: 10px; border-radius: 12px; background: #fff; }
.hig-site-footer h2 { margin: 0 0 17px; color: #fff; font-size: 1rem; }
.hig-site-footer p, .hig-site-footer address { font-size: .9rem; line-height: 1.75; font-style: normal; }
.hig-site-footer ul { margin: 0; padding: 0; list-style: none; }
.hig-site-footer li { margin-bottom: 10px; }
.hig-site-footer a { color: #e3eef9; text-decoration: none; }
.hig-site-footer a:hover { color: #fff; text-decoration: underline; }
.hig-footer-trust { padding-left: 13px; border-left: 3px solid var(--hig-gold); }
.hig-footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); background: #04111f; font-size: .8rem; }
.hig-footer-bottom .hig-wrap { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .hig-hero__grid, .hig-page-hero__grid, .hig-job-layout, .hig-contact-grid, .hig-owner { grid-template-columns: 1fr; }
  .hig-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hig-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hig-stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--hig-line); }
  .hig-stat:nth-child(4) { border-top: 1px solid var(--hig-line); }
  .hig-steps { grid-template-columns: repeat(2, 1fr); }
  .hig-sidebar { position: static; }
  .hig-menu-toggle { display: block; margin-left: auto; }
  .hig-primary-nav { position: absolute; top: 100%; right: 20px; left: 20px; display: none; padding: 12px; border: 1px solid var(--hig-line); border-radius: 14px; background: #fff; box-shadow: var(--hig-shadow); }
  .hig-primary-nav.is-open { display: block; }
  .hig-menu { flex-direction: column; }
  .hig-header-cta { display: none; }
  .hig-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .hig-wrap { width: min(100% - 28px, 1180px); }
  .hig-section { padding: 62px 0; }
  .hig-hero { padding-top: 62px; }
  .hig-grid--3, .hig-grid--2, .hig-form-grid, .hig-steps { grid-template-columns: 1fr; }
  .hig-field--full { grid-column: auto; }
  .hig-job-controls { flex-direction: column; }
  .hig-form-wrap { padding: 22px; }
  .hig-cta { padding: 28px; }
  .hig-topbar .hig-wrap, .hig-footer-bottom .hig-wrap { flex-direction: column; align-items: flex-start; }
  .hig-topbar span:first-child { display: none; }
  .hig-topbar span:last-child { width: 100%; justify-content: space-between; gap: 8px; }
  .hig-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
