/* DV Resources Jobs - theme stylesheet. Tokens and components follow the main site (template-c, site.css v0.5). */
:root {
  --navy: #2e388e; --deep: #1b2259; --night: #0e1340; --sky: #01adf0; --sky-ink: #0b74ab; --sky-tint: #e6f6fe;
  --gold: #f5a524; --ink: #1a1f36; --slate: #566074; --mist: #f3f6fb; --line: #d9dfea; --paper: #fff; --wa: #25d366;
  --head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif; --body: "Inter", "Segoe UI", Arial, sans-serif;
  --max: 1160px; --gutter: clamp(16px, 4vw, 40px); --r: 16px; --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--sky-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--deep); letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.en { color: var(--slate); font-size: .92em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }

/* Header */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--sky), var(--gold)); z-index: 60; }
.site-header { position: sticky; top: 0; z-index: 40; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(27,34,89,.08); }
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; margin-right: auto; }
.site-header.solid .brand { color: var(--deep); }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.brand b { font: 800 1.08rem/1.1 var(--head); display: block; }
.brand b .tag { display: inline-block; font: 800 .7rem/1 var(--head); background: var(--gold); color: #3a2500; border-radius: 999px; padding: .25rem .5rem; margin-left: .3rem; vertical-align: middle; }
.brand small { font: 500 .72rem/1.2 var(--body); opacity: .8; display: block; }
.nav { display: flex; gap: 1.3rem; align-items: center; }
.nav a { white-space: nowrap; font: 600 .92rem/1 var(--head); color: #fff; text-decoration: none; position: relative; padding: .3rem 0; }
.site-header.solid .nav a { color: var(--deep); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--sky); transition: right .3s var(--ease); }
.nav a:not(.btn):hover::after { right: 0; }
.nav .btn { color: #073b1e; }
.nav-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,.4); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.site-header.solid .nav-toggle { border-color: var(--line); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform .3s, opacity .3s; }
.site-header.solid .nav-toggle span { background: var(--deep); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 1.2rem var(--gutter) 1.6rem; gap: 1.1rem; box-shadow: 0 20px 40px rgba(27,34,89,.12); }
  .nav.open { display: flex; }
  .nav a { color: var(--deep); }
  .nav .btn { width: 100%; justify-content: center; color: #073b1e; }
  .nav-toggle { display: block; }
  .brand small { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; font: 700 1rem/1 var(--head); padding: .95rem 1.3rem; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,34,89,.18); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #073b1e; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -76px; padding: calc(76px + clamp(36px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px); color: #fff; background: var(--night); }
.hero .wrap { position: relative; z-index: 2; max-width: 820px; margin-left: var(--gutter); }
@media (min-width: 1240px) { .hero .wrap { margin-left: calc((100% - var(--max)) / 2 + var(--gutter)); } }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; z-index: 1; }
.hero .b1 { width: 48vw; height: 48vw; max-width: 640px; max-height: 640px; background: #0b74ab; right: -12vw; top: -18vw; }
.hero .b2 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: #01adf0; left: -10vw; bottom: -14vw; animation-delay: -7s; opacity: .35; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(6%, 8%) scale(1.12); } }
.hero .grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%); z-index: 1; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 .82rem/1.3 var(--head); color: #cfe9fb; margin: 0 0 1.1rem; padding: .45rem .9rem .45rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(1,173,240,.6); } 70% { box-shadow: 0 0 0 10px rgba(1,173,240,0); } 100% { box-shadow: 0 0 0 0 rgba(1,173,240,0); } }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #c9d6ee; max-width: 60ch; }
.hero .lead .en { color: #9fb3d9; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.badges li { display: inline-flex; align-items: center; gap: .45rem; font: 700 .8rem/1 var(--head); color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .55rem .9rem .55rem .7rem; }
.badges li svg { width: 16px; height: 16px; color: var(--gold); }

/* Job list section */
.jobs-list { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); background: var(--mist); }
.closing { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); margin-top: 2.5rem; }
.closing h2 { font-size: 1.4rem; }
.reveal { animation: dvrj-up .6s var(--ease) both; }
@keyframes dvrj-up { from { opacity: 0; transform: translateY(18px); } }

/* Simple pages */
.page-head { background: linear-gradient(160deg, var(--night), var(--deep)); margin-top: -76px; padding: calc(76px + 40px) 0 40px; color: #fff; }
.page-head h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0; }
.page { padding: clamp(32px, 5vw, 64px) 0; max-width: 820px; }
.page .entry h2 { font-size: 1.25rem; margin-top: 1.6rem; }

/* Footer */
.site-footer { background: var(--night); color: #c9d6ee; padding: 2.6rem 0 2.4rem; font-size: .9rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; }
.site-footer b { color: #fff; font-family: var(--head); }
.site-footer a { color: #fff; }
.site-footer .licence-line { color: #fff; font-weight: 600; margin: .4rem 0; display: inline-flex; align-items: center; gap: .5rem; }
.site-footer .licence-line svg { width: 16px; height: 16px; color: var(--gold); }
.site-footer .nofee { margin-top: .5rem; color: #9fd9b3; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr; } .site-footer { padding-bottom: 7rem; } }

/* Floating buttons */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab .pill { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 .9rem/1 var(--head); border-radius: 999px; height: 54px; padding: 0 1.2rem 0 .9rem; color: #fff; background: var(--navy); box-shadow: 0 14px 30px rgba(0,0,0,.28); border: 0; cursor: pointer; transition: transform .2s var(--ease); position: relative; }
.fab .pill:hover { transform: translateY(-2px); }
.fab .pill svg { width: 22px; height: 22px; flex: none; }
.fab .pill.talk { background: #fff; color: var(--navy); }
.fab .pill.connect { background: var(--wa); color: #073b1e; }
.fab .pill.connect::before { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid var(--wa); opacity: 0; animation: ring 2.4s ease-out infinite; }
.fab.open .pill.connect::before { animation: none; }
@keyframes ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.dial { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.dial a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 600 .85rem/1 var(--head); color: var(--deep); background: #fff; border-radius: 999px; height: 44px; padding: 0 1rem 0 .6rem; box-shadow: 0 10px 24px rgba(0,0,0,.2); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.dial a svg { width: 20px; height: 20px; }
.dial a .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.dial a.wa .dot { background: var(--wa); } .dial a.fb .dot { background: #1877f2; } .dial a.ig .dot { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .dial a.tt .dot { background: #111; } .dial a.li .dot { background: #0a66c2; }
.fab.open .dial a { opacity: 1; transform: none; pointer-events: auto; }
.fab .pill .x { display: none; } .fab.open .pill .x { display: block; transform: rotate(45deg); } .fab.open .pill .ic-connect { display: none; }
@media (max-width: 900px) { .fab { right: 14px; bottom: 14px; } .fab .pill { height: 50px; font-size: .85rem; } }

/* Simple Job Board overrides: keep the plugin's structure, give it the site's look */
.sjb-page { font-family: var(--body); }
.sjb-page .list-data, .sjb-page .sjb-listing .list-data { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; margin-bottom: 14px; transition: transform .3s var(--ease), box-shadow .3s; position: relative; overflow: hidden; }
.sjb-page .list-data::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--sky)); }
.sjb-page .list-data:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(27,34,89,.12); }
.sjb-page .list-data h4, .sjb-page .list-data .job-title, .sjb-page h4 a, .sjb-page .list-data a { font: 800 1.15rem/1.25 var(--head); color: var(--deep); text-decoration: none; }
.sjb-page .list-data a:hover { color: var(--sky-ink); }
.sjb-page .job-type, .sjb-page .job-location, .sjb-page .job-date, .sjb-page .sjb-meta span { color: var(--slate); font-size: .92rem; }
.sjb-page .btn, .sjb-page input[type="submit"], .sjb-page button.btn, .sjb-page .sjb-apply-btn, .sjb-page a.btn-primary { background: var(--navy) !important; color: #fff !important; border: 0 !important; border-radius: 12px !important; font: 700 .95rem/1 var(--head) !important; padding: .9rem 1.2rem !important; box-shadow: none !important; }
.sjb-page .btn:hover, .sjb-page input[type="submit"]:hover { background: var(--deep) !important; }
.sjb-page input[type="text"], .sjb-page input[type="email"], .sjb-page input[type="tel"], .sjb-page input[type="number"], .sjb-page select, .sjb-page textarea { width: 100%; font: 400 1rem/1.4 var(--body); padding: .85rem 1rem; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.sjb-page input:focus, .sjb-page select:focus, .sjb-page textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(1,173,240,.18); }
.sjb-page label { font: 600 .9rem/1.3 var(--head); color: var(--deep); }
.sjb-page .sjb-filters, .sjb-page .sjb-search-bar, .sjb-page .search-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.sjb-page .job-features, .sjb-page .sjb-job-features { background: var(--mist); border-radius: var(--r); padding: 1rem 1.2rem; }
.sjb-page .job-features li, .sjb-page .sjb-job-features li { border-bottom: 1px solid var(--line); padding: .5rem 0; }
.sjb-page .sjb-job-application, .sjb-page .jobpost-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 3vw, 28px); margin-top: 1.5rem; }
.sjb-page .job-description h1, .sjb-page .job-description h2 { font-family: var(--head); color: var(--deep); }
.single-jobpost .sjb-page { padding: clamp(28px, 5vw, 56px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.single-jobpost .sjb-page .entry-title, .single-jobpost .sjb-page h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
/* Simple Job Board adds body.sjb and pins the body width; undo that */
body.sjb, body { width: auto !important; max-width: none !important; margin: 0 !important; }
html { margin-top: 0 !important; padding-top: 0 !important; }
body { padding-top: 0 !important; }
/* Job detail page */
.job-head .back { color: #cfe9fb; text-decoration: none; font: 600 .85rem/1 var(--head); display: inline-block; margin-bottom: 1rem; }
.job-head .job-meta { color: #c9d6ee; margin: .6rem 0 0; font-size: .95rem; }
.job-page { max-width: 900px; }
.job-page .sjb-detail .job-description { font-size: 1.02rem; }
.job-page .sjb-detail h3 { font-size: 1.25rem; margin-top: 1.4rem; }
.job-page .sjb-detail .job-features table { width: 100%; border-collapse: collapse; }
.job-page .sjb-detail .job-features td, .job-page .sjb-detail .job-features th { padding: .6rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.job-page .jobpost-form .row { display: grid; gap: .8rem; }
.job-page .jobpost-form label { display: block; margin-bottom: .3rem; }

/* Hide the plugin's placeholder company logo and empty feature box */
.sjb-page .company-logo, .sjb-detail .company-logo { display: none !important; }
.sjb-page .list-data .col-md-11 { width: 100%; flex: 0 0 100%; max-width: 100%; }
.sjb-detail .job-features:not(:has(td)) { display: none; }
.sjb-detail .job-description + .clearfix { display: none; }

/* Hero photo */
.hero .hero-pic { position: absolute; inset: 0; z-index: 0; }
.hero .hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; animation: hero-zoom 14s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.hero .hero-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,19,64,.94) 0%, rgba(14,19,64,.84) 40%, rgba(14,19,64,.5) 70%, rgba(14,19,64,.6) 100%), linear-gradient(180deg, rgba(14,19,64,.65), transparent 30%, transparent 70%, rgba(14,19,64,.75)); }
.hero .blob, .hero .grid-dots { z-index: 1; }
