/* =========================================================
   TourMeAway — Career / Job posting page (GYG-style design system)
   Self-contained: header/drawer/footer + page-specific sections.
   ========================================================= */

:root{
  --tma-orange:#F37342;
  --tma-orange-dark:#d95c2c;
  --tma-pink:#F34269;
  --ink:#08243d;
  --navy:#0d2438;
  --navy-2:#12324c;
  --text:#3c4450;
  --muted:#6c7480;
  --line:#e4e7ea;
  --chip:#f2f3f5;
  --bg:#ffffff;
  --radius:14px;
  --shadow:0 6px 24px rgba(16,24,40,.10);
  --header-h:64px;
  --hdr-bg:#ffffff;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;padding-top:64px;
  font-family:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.25;letter-spacing:-.01em}
button{font-family:inherit;cursor:pointer}
body.nav-open{overflow:hidden}
.wrap{max-width:1150px;margin:0 auto;padding:0 20px}

/* ============ HEADER / DRAWER (shared navigation.ejs partial) ============ */
.site-header{position:fixed;top:0;left:0;width:100%;background:var(--hdr-bg);z-index:1000;border-bottom:1px solid var(--line);transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 2px 14px rgba(16,24,40,.08)}
.hdr-main{max-width:1150px;margin:0 auto;padding:0 20px;height:var(--header-h);display:flex;align-items:center;gap:16px}
.hdr-logo{flex:0 0 auto;display:flex;align-items:center;text-decoration:none}
.hdr-logo img{height:40px;width:auto}
.hdr-logo .logo-fallback{font-weight:800;color:var(--tma-orange);font-size:21px;letter-spacing:-.02em;white-space:nowrap}
.hdr-utils{margin-left:auto;display:flex;align-items:center;gap:4px}
.hdr-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);position:relative;text-decoration:none;background:none;border:0}
.hdr-icon:hover{background:var(--chip)}
.hdr-icon i{font-size:19px}
.cart-badge{position:absolute;top:3px;right:3px;background:var(--tma-pink);color:#fff;border-radius:50%;min-width:18px;height:18px;padding:0 4px;display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:800;border:2px solid #fff}
.hdr-burger{background:none;border:0;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--ink);font-size:19px}
.hdr-burger:hover{background:var(--chip)}

.drawer{position:fixed;top:0;right:-320px;width:300px;max-width:86%;height:100vh;background:#fff;z-index:1200;box-shadow:-6px 0 24px rgba(0,0,0,.15);transition:right .28s ease;display:flex;flex-direction:column;padding:14px 0}
.drawer.open{right:0}
.drawer-close{align-self:flex-end;background:none;border:0;font-size:26px;color:var(--ink);padding:4px 20px;cursor:pointer}
.drawer nav{display:flex;flex-direction:column;padding:4px 0}
.drawer nav a{padding:14px 24px;font-size:16px;font-weight:600;color:var(--ink);text-decoration:none}
.drawer nav a:hover{background:var(--chip)}
.drawer-overlay{position:fixed;inset:0;background:rgba(8,20,32,.45);z-index:1100;opacity:0;visibility:hidden;transition:.25s}
.drawer-overlay.open{opacity:1;visibility:visible}

/* ============ FOOTER (shared footer.ejs partial) ============ */
.site-footer{border-top:1px solid var(--line);padding:40px 0 30px}
.site-footer-inner{text-align:center}
.footer-brand{font-size:22px;font-weight:800;color:var(--tma-orange);letter-spacing:-.02em;margin-bottom:12px}
.footer-social{display:flex;gap:10px;margin-bottom:16px;justify-content:center}
.footer-social a{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--ink);font-size:16px;transition:.15s}
.footer-social a:hover{background:var(--chip);border-color:#d7dbe0}
.footer-meta{font-size:13.5px;color:var(--muted);line-height:1.8}
.footer-meta a{color:var(--tma-orange-dark);font-weight:600;text-decoration:none}
.footer-meta a:hover{text-decoration:underline}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;text-align:left;margin-bottom:28px;flex-wrap:wrap}
.footer-nav{display:flex;gap:48px}
.footer-nav-col h4{font-size:13px;font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.footer-nav-col a{display:block;font-size:14px;color:var(--muted);text-decoration:none;margin-bottom:9px}
.footer-nav-col a:hover{color:var(--tma-orange-dark)}
@media (max-width:575px){
  .footer-top{flex-direction:column;align-items:center;text-align:center;gap:28px}
  .footer-nav{gap:32px}
}

/* ============ SECTION SHELL ============ */
.section-wrap{max-width:900px;margin:0 auto;padding:44px 20px}
.section-wrap h2{font-size:26px;margin-bottom:18px}
@media (max-width:575px){
  .section-wrap{padding:32px 18px}
  .section-wrap h2{font-size:22px}
}

/* ============ JOB HERO ============ */
.job-hero{position:relative;overflow:hidden;background:var(--navy)}
.job-hero img{width:100%;height:38vh;min-height:220px;max-height:340px;object-fit:cover;opacity:.55}
.job-hero-copy{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  color:#fff;padding:0 20px;
}
.job-kicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#ffd7c4;margin-bottom:10px}
.job-hero-copy h1{color:#fff;font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:8px;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.job-hero-copy .zh{color:#fff;opacity:.85;font-size:16px;margin-bottom:18px}
.job-meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.job-meta span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px}
@media (max-width:575px){
  .job-hero-copy h1{font-size:24px}
  .job-hero-copy .zh{font-size:14px}
}

/* ============ APPLY CTA ============ */
.apply-cta-btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--tma-orange);color:#fff;font-weight:700;font-size:15px;
  padding:14px 30px;border-radius:999px;text-decoration:none;
  box-shadow:0 6px 18px rgba(243,115,66,.35);transition:.15s;border:0;
}
.apply-cta-btn:hover{background:var(--tma-orange-dark)}
.apply-cta-wrap{display:flex;justify-content:center;margin:26px 0 4px}

/* ============ INTRO LEAD ============ */
.job-lead{max-width:820px;margin:0 auto;padding:44px 20px 8px;text-align:center}
.job-lead p{font-size:16.5px;line-height:1.75;color:var(--text);margin:0}
@media (max-width:575px){
  .job-lead{padding:32px 18px 4px}
  .job-lead p{font-size:15px}
}

/* ============ FEATURE / BENEFIT LIST ============ */
.job-list{display:grid;gap:14px}
.job-list li{
  list-style:none;display:flex;gap:12px;align-items:flex-start;
  background:var(--chip);border-radius:12px;padding:14px 16px;
  font-size:15px;line-height:1.6;color:var(--text);
}
.job-list li svg{flex:0 0 auto;width:20px;height:20px;color:var(--tma-orange);margin-top:2px}
.job-list{padding:0;margin:0}

/* ============ FINAL CTA BAND ============ */
.job-cta-band{background:var(--chip);padding:52px 20px;text-align:center}
.job-cta-band h2{font-size:28px;margin-bottom:10px}
.job-cta-band p{font-size:15.5px;color:var(--text);margin:0 0 6px;max-width:600px;margin-left:auto;margin-right:auto}
@media (max-width:575px){
  .job-cta-band{padding:38px 18px}
  .job-cta-band h2{font-size:22px}
}

/* ============ MOBILE STICKY APPLY BAR ============ */
.job-mobilebar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:900;
  background:#fff;border-top:1px solid var(--line);
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow:0 -4px 18px rgba(16,24,40,.10);
}
.job-mobilebar .apply-cta-btn{width:100%;justify-content:center}
@media (max-width:768px){
  .job-mobilebar{display:block}
  body{padding-bottom:76px}
}
