/* =========================================================================
 * Ghali Careers — front-end styles for the [ghali_careers] shortcode
 * -------------------------------------------------------------------------
 * SCOPING: every rule is prefixed with `.gcx` (the shortcode root element).
 * There are NO global element selectors (no bare body{}, h1{}, a{}, etc.),
 * so nothing leaks into the Elementor/theme, and the theme cannot re-style
 * our content by matching bare tags. CSS custom properties live on `.gcx`
 * (not :root) so they don't leak either. Ported verbatim (values unchanged)
 * from careers-page-mockup.html, minus the site header/nav/footer.
 * ===================================================================== */

.gcx {
  --navy:#142846; --navy-2:#1d365c; --ink:#1d1d1b; --muted:#6a7384;
  --cta:#e1e3e8; --cta-h:#d3d6dd; --cta-ink:#1d365c; --line:#e6e8ee;
  --soft:#f5f6f9; --white:#fff; --maxw:1200px; --ok:#1f9d55; --warn:#b9892b; --bad:#b8402f;
  font-family:'Plus Jakarta Sans',system-ui,sans-serif; color:var(--ink);
  background:#fff; line-height:1.62; -webkit-font-smoothing:antialiased;
}
.gcx *, .gcx *::before, .gcx *::after { box-sizing:border-box; }
.gcx h1, .gcx h2, .gcx h3, .gcx h4 { font-weight:600; letter-spacing:-.4px; line-height:1.08; margin:0; }
.gcx a { color:inherit; text-decoration:none; }
.gcx img { max-width:100%; }

.gcx .wrap { max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.gcx .eyebrow { font-size:13px; font-weight:600; letter-spacing:2.4px; text-transform:uppercase; color:var(--navy-2); }
.gcx .eyebrow.light { color:#9fb0cf; }

.gcx .btn { display:inline-flex; align-items:center; gap:9px; border-radius:50px; padding:13px 32px; font-size:15.5px; font-weight:500; line-height:1.2; cursor:pointer; border:0; transition:.18s; font-family:inherit; text-transform:capitalize; }
.gcx .btn-pill { background:var(--cta); color:var(--cta-ink); }
.gcx .btn-pill:hover { background:var(--cta-h); }
.gcx .btn-navy { background:var(--navy); color:#fff; }
.gcx .btn-navy:hover { background:var(--navy-2); }
.gcx .btn-ghost { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.6); }
.gcx .btn-ghost:hover { background:rgba(255,255,255,.12); }
.gcx .btn-out { background:#fff; color:var(--navy-2); border:1.5px solid var(--line); }
.gcx .btn-out:hover { border-color:#c7cdda; }

/* -- hero -- */
.gcx .hero { position:relative; min-height:600px; display:flex; align-items:flex-end; color:#fff; background:linear-gradient(180deg,rgba(11,21,40,.62),rgba(12,22,42,.34) 40%,rgba(10,18,36,.86)),url('https://ghali.co/wp-content/uploads/2025/09/main-banner.webp') center/cover no-repeat; }
/* no z-index here: it must NOT stack above the site header (which sits over the hero) */
.gcx .hero .wrap { padding:150px 28px 78px; }
.gcx .hero h1 { font-size:clamp(44px,6.6vw,80px); font-weight:700; max-width:15ch; margin:18px 0 16px; letter-spacing:-1px; }
.gcx .hero p { font-size:19px; color:#d6deee; max-width:50ch; margin:0 0 30px; }
.gcx .hero .cta { display:flex; gap:14px; flex-wrap:wrap; }

/* -- why-Ghali band -- */
.gcx .band { background:var(--navy); color:#fff; }
.gcx .band .wrap { padding:70px 28px; }
.gcx .band .top { display:flex; gap:50px; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; margin-bottom:46px; }
.gcx .band h2 { font-size:clamp(28px,3.6vw,42px); font-weight:600; max-width:18ch; margin-top:12px; }
.gcx .band .lead { color:#b8c2d8; max-width:42ch; font-size:16.5px; }
.gcx .stats { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; border-top:1px solid rgba(255,255,255,.13); padding-top:38px; }
.gcx .stats .s b { font-size:40px; font-weight:700; letter-spacing:-1px; display:block; }
.gcx .stats .s span { color:#9fadc7; font-size:14px; }

/* -- roles -- */
.gcx section.roles { padding:88px 0 36px; }
.gcx .sec-head { max-width:62ch; }
.gcx .sec-head h2 { font-size:clamp(30px,4.2vw,46px); font-weight:600; margin:14px 0 12px; letter-spacing:-.8px; }
.gcx .sec-head p { color:var(--muted); font-size:17px; margin:0; }
.gcx .grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(355px,1fr)); gap:24px; margin-top:44px; }
.gcx .card { border:1px solid var(--line); border-radius:16px; padding:28px 26px 22px; background:#fff; display:flex; flex-direction:column; transition:.2s; }
.gcx .card:hover { box-shadow:0 26px 50px -28px rgba(20,30,60,.4); transform:translateY(-4px); border-color:#dde1ea; }
.gcx .card .ref { font-size:12px; font-weight:600; color:#97a0b3; letter-spacing:.8px; }
.gcx .card h3 { font-size:22px; font-weight:600; margin:9px 0 13px; letter-spacing:-.4px; }
.gcx .meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:15px; }
.gcx .tag { font-size:12.5px; font-weight:500; color:#43506c; background:var(--soft); border:1px solid var(--line); border-radius:8px; padding:6px 12px; }
.gcx .card p.desc { color:var(--muted); font-size:14.5px; margin:0 0 20px; flex:1; }
/* margin:0 defeats a theme Bootstrap `.row{margin:0 -12px}` collision */
.gcx .card .row { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:16px; margin:0; }
.gcx .row, .gcx .col { margin:0; padding:0; }
.gcx .card .disc { font-size:13px; font-weight:600; color:var(--navy-2); }
.gcx .imm { display:inline-flex; align-items:center; gap:7px; background:#fbf3e2; color:#8a6414; border:1px solid #ecd9a8; font-size:11px; font-weight:700; letter-spacing:.7px; text-transform:uppercase; padding:5px 11px; border-radius:50px; align-self:flex-start; margin-bottom:13px; }
.gcx .imm .dot { width:7px; height:7px; border-radius:50%; background:#d99a1c; box-shadow:0 0 0 3px rgba(217,154,28,.22); }
.gcx .card.pri { border-color:#e6d6a8; }
.gcx .card.pri:hover { border-color:#e0cd97; box-shadow:0 26px 50px -28px rgba(120,90,20,.4); }
.gcx .grouphead { margin:52px 0 0; }
.gcx .grouphead:first-child { margin-top:8px; }
.gcx .grouphead .eyebrow { color:var(--navy-2); }
.gcx .grouphead h3 { font-size:22px; font-weight:600; letter-spacing:-.4px; margin:9px 0 4px; }
.gcx .grouphead p { color:var(--muted); font-size:15px; margin:0; }
.gcx .grouphead + .grid { margin-top:22px; }

/* -- jobs loading / error / empty states -- */
.gcx .gcx-load, .gcx .gcx-msg { padding:34px 4px; color:var(--muted); font-size:15.5px; }
.gcx .gcx-msg a { color:var(--navy-2); text-decoration:underline; }
.gcx .gcx-link { background:none; border:0; color:var(--navy-2); font:inherit; text-decoration:underline; cursor:pointer; padding:0; }

/* -- talent-pool band -- */
.gcx .alerts { margin-top:66px; background:var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.gcx .alerts .wrap { padding:50px 28px; display:flex; gap:30px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.gcx .alerts h3 { font-size:26px; font-weight:600; }
.gcx .alerts p { margin:6px 0 0; color:var(--muted); }
.gcx .alerts form { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.gcx .alerts input { border:1px solid #d6dae4; border-radius:50px; padding:14px 22px; font-size:15px; min-width:280px; font-family:inherit; }

/* -- apply modal -- */
.gcx .overlay { position:fixed; top:0; right:0; bottom:0; left:0; background:rgba(10,18,36,.66); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); display:none; z-index:99999; padding:24px 14px; overflow:auto; }
.gcx .overlay.open { display:flex; align-items:flex-start; justify-content:center; }
/* display/position/height are set explicitly to defeat a theme Bootstrap `.modal{display:none;position:fixed;height:100%}` collision */
.gcx .overlay .modal { display:block; position:relative; top:auto; left:auto; height:auto; max-height:none; background:#fff; max-width:760px; width:100%; border-radius:20px; margin:16px auto; overflow:hidden; box-shadow:0 50px 110px -34px rgba(8,16,40,.7); }
.gcx .mhead { background:var(--navy); color:#fff; padding:24px 32px; }
.gcx .mhead .top { display:flex; justify-content:space-between; align-items:flex-start; }
.gcx .mhead h3 { font-size:22px; font-weight:600; }
.gcx .mhead .ref { color:#9fb0cf; font-size:13px; margin-top:3px; letter-spacing:.4px; }
.gcx .x { background:rgba(255,255,255,.14); border:0; color:#fff; width:36px; height:36px; border-radius:50%; font-size:19px; line-height:1; cursor:pointer; }
.gcx .steps { display:flex; gap:8px; margin-top:18px; }
.gcx .steps .st { flex:1; height:5px; border-radius:4px; background:rgba(255,255,255,.18); }
.gcx .steps .st.on { background:#fff; }
.gcx .steps .st.done { background:#5b86c7; }
.gcx .stepname { color:#bcc8e0; font-size:12px; letter-spacing:1.4px; text-transform:uppercase; margin-top:11px; font-weight:600; }
.gcx .micro { font-size:14px; color:var(--muted); margin:-2px 0 18px; }
.gcx .mbody { padding:24px 32px; }
.gcx .field { margin-bottom:16px; }
.gcx .field label { display:block; font-size:13.5px; font-weight:600; color:#36404f; margin-bottom:7px; }
.gcx .req { color:var(--bad); }
.gcx .field input, .gcx .field select, .gcx .field textarea { width:100%; border:1px solid #d6dae4; border-radius:11px; padding:12px 14px; font-size:15px; font-family:inherit; color:var(--ink); background:#fff; margin:0; }
.gcx .field input:focus, .gcx .field select:focus, .gcx .field textarea:focus { outline:0; border-color:var(--navy-2); box-shadow:0 0 0 3px rgba(29,54,92,.12); }
.gcx .field textarea { min-height:88px; resize:vertical; }
.gcx .hint { font-size:12px; color:#98a0b0; margin-top:5px; }
.gcx .two { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.gcx input[type=radio], .gcx input[type=checkbox] { width:18px; height:18px; min-width:18px; flex:0 0 18px; accent-color:var(--navy-2); margin:0; cursor:pointer; }
.gcx .opts label { display:flex; gap:12px; align-items:center; border:1px solid var(--line); border-radius:12px; padding:14px 16px; font-size:14.5px; line-height:1.35; cursor:pointer; background:#fff; margin-bottom:9px; transition:.14s; text-align:left; }
.gcx .opts label:hover { border-color:#bcc6d9; background:var(--soft); }
.gcx .opts label.sel { background:#eef3fb; border-color:#8fb0e6; box-shadow:0 0 0 1px #8fb0e6; }
.gcx .checks { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.gcx .chk { display:flex; gap:10px; align-items:center; border:1px solid var(--line); border-radius:10px; padding:11px 13px; font-size:13.5px; line-height:1.3; cursor:pointer; background:#fff; transition:.14s; text-align:left; }
.gcx .chk:hover { border-color:#bcc6d9; background:var(--soft); }
.gcx .chk.sel { background:#eef3fb; border-color:#8fb0e6; }
.gcx .drop { border:2px dashed #c6cddc; border-radius:13px; padding:24px; text-align:center; color:var(--muted); font-size:14.5px; cursor:pointer; background:var(--soft); }
.gcx .drop b { color:var(--navy-2); }
.gcx .consent { display:flex; gap:11px; align-items:flex-start; font-size:12.5px; color:var(--muted); margin:8px 0 4px; border:1px solid var(--line); background:var(--soft); border-radius:11px; padding:13px 14px; }
.gcx .consent input { margin-top:3px; }
.gcx .gcx-err { margin:0 32px 12px; padding:11px 14px; border-radius:11px; background:#fbecea; border:1px solid #e6b8b0; color:#8a2b1c; font-size:13.5px; }
.gcx .mfoot { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--line); padding:16px 32px; background:#fbfcfd; }
.gcx .note { font-size:12px; color:#9aa3b4; }
.gcx .panel { display:none; text-align:center; padding:44px 34px; }
.gcx .panel .ic { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:30px; margin:0 auto 16px; }
.gcx .ic.ok { background:#e8f6ee; color:var(--ok); }
.gcx .ic.warn { background:#fbf3e2; color:var(--warn); }
.gcx .panel h3 { font-size:22px; margin-bottom:8px; }
.gcx .panel p { color:var(--muted); max-width:46ch; margin:0 auto 20px; }
.gcx .panel input { border:1px solid #d6dae4; border-radius:50px; padding:13px 20px; min-width:260px; font-family:inherit; margin-bottom:12px; }
.gcx #gcx-doneRef { font-size:13px; color:var(--muted); margin:0 0 16px; letter-spacing:.3px; }
.gcx #gcx-poolMsg, .gcx #gcx-alertMsg { font-size:13px; color:var(--muted); }
.gcx .grp { font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:#94a0b5; margin:20px 0 10px; border-top:1px solid var(--line); padding-top:16px; }

@media (max-width:760px) { .gcx .stats { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .gcx .two { grid-template-columns:1fr; } .gcx .checks { grid-template-columns:1fr; } }
