/* Site button system + accent. Static (not JS-injected) so it paints with the first frame: no flash of the old colours.
   Accent: --shifter-accent.
   Filled = main action on a page. Outline = secondary action. */

/* Filled: hero Post Your Resume, form submit buttons */
.shifter-hero-cta:not(.shifter-cta-invert),.postjob-submit{background-color:var(--shifter-accent,#2F5BEA) !important;border:1px solid var(--shifter-accent,#2F5BEA) !important;color:#fff !important;}
.shifter-hero-cta:not(.shifter-cta-invert):hover:not(:disabled),.postjob-submit:hover:not(:disabled){background-color:#fff !important;border-color:var(--shifter-accent,#2F5BEA) !important;color:var(--shifter-accent,#2F5BEA) !important;}

/* Filled variant of a Framer button (Browse hero) */
a[data-sa-name^="Button Fill"].shifter-btn-filled{background-color:var(--shifter-accent,#2F5BEA) !important;border:1px solid var(--shifter-accent,#2F5BEA) !important;color:#fff !important;}
a[data-sa-name^="Button Fill"].shifter-btn-filled:hover{background-color:#fff !important;border-color:var(--shifter-accent,#2F5BEA) !important;color:var(--shifter-accent,#2F5BEA) !important;}

/* Outline: menu bar Send Your Resume, See All Open Roles, sidebar Send Your Resume */
.shifter-nav-cta,.shifter-cta-invert,a[data-sa-name^="Button Fill"]{background-color:transparent !important;border:1px solid var(--shifter-accent,#2F5BEA) !important;color:var(--shifter-accent,#2F5BEA) !important;}
.shifter-nav-cta:hover,.shifter-cta-invert:hover,a[data-sa-name^="Button Fill"]:hover{background-color:var(--shifter-accent,#2F5BEA) !important;color:#fff !important;}
.shifter-cta-invert svg{stroke:var(--shifter-accent,#2F5BEA) !important;transition:stroke 0.2s ease-out;}
.shifter-cta-invert:hover svg{stroke:#fff !important;}

/* Footer sign-up (dark surface): filled, full width */
.shifter-footer-signup button{background:var(--shifter-accent,#2F5BEA) !important;color:#fff !important;border:1px solid var(--shifter-accent,#2F5BEA) !important;}
.shifter-footer-signup button:hover{background:#fff !important;color:var(--shifter-accent,#2F5BEA) !important;border-color:#fff !important;}

/* Shared: 48px tall, width follows the text, same type */
.shifter-hero-cta:not(.shifter-cta-invert),.postjob-submit,.shifter-nav-cta,.shifter-cta-invert,a[data-sa-name^="Button Fill"],.shifter-footer-signup button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:auto !important;min-height:0 !important;padding:12px 28px !important;font-size:15px !important;font-weight:500 !important;line-height:22px !important;border-radius:8px;cursor:pointer;transition:background-color 0.2s ease-out,border-color 0.2s ease-out,color 0.2s ease-out;}
.shifter-hero-cta:not(.shifter-cta-invert) .sa-text,.postjob-submit .sa-text,.shifter-nav-cta .sa-text,.shifter-cta-invert .sa-text,a[data-sa-name^="Button Fill"] .sa-text,.shifter-footer-signup button .sa-text,.shifter-hero-cta:not(.shifter-cta-invert) p,.postjob-submit p,.shifter-nav-cta p,.shifter-cta-invert p,a[data-sa-name^="Button Fill"] p,.shifter-footer-signup button p{font-size:15px !important;line-height:22px !important;color:inherit !important;}
.shifter-hero-cta:not(.shifter-cta-invert):focus-visible,.postjob-submit:focus-visible,.shifter-nav-cta:focus-visible,.shifter-cta-invert:focus-visible,a[data-sa-name^="Button Fill"]:focus-visible{outline:2px solid var(--shifter-accent,#2F5BEA);outline-offset:2px;}
.shifter-footer-signup button:focus-visible{outline:2px solid #fff;outline-offset:2px;}
@media (prefers-reduced-motion:reduce){.shifter-hero-cta:not(.shifter-cta-invert),.postjob-submit,.shifter-nav-cta,.shifter-cta-invert,a[data-sa-name^="Button Fill"],.shifter-footer-signup button{transition:none;}}

:root{--shifter-accent:#2F5BEA;}
.shifter-country-item.is-active,.shifter-language-item.is-active,.shifter-worktype-item.is-active,.shifter-category-item.is-active,.shifter-lang-pill.is-active{background:#EEF2FB !important;border-color:#2F5BEA !important;color:#2F5BEA !important;}
.shifter-country-item.is-active [class$="-count"],.shifter-language-item.is-active [class$="-count"],.shifter-worktype-item.is-active [class$="-count"],.shifter-category-item.is-active [class$="-count"],.shifter-lang-pill.is-active [class$="-count"]{color:#2F5BEA !important;opacity:0.7;}
.shifter-country-item.is-active{color:inherit !important;}
.shifter-country-item:hover,.shifter-language-item:hover,.shifter-worktype-item:hover,.shifter-category-item:hover,.shifter-lang-pill:hover{background:#EEF2FB !important;border-color:#2F5BEA !important;}
.shifter-nav-search input:hover,.shifter-nav-search input:focus{border-color:#2F5BEA !important;outline:none;}
.postjob-field input:hover,.postjob-field textarea:hover,.postjob-field input:focus,.postjob-field textarea:focus{border-color:#2F5BEA !important;}
a:hover .sa-w4n0j0[data-border="true"]{border-color:#2F5BEA !important;}
.shifter-category-menu a:hover{background:rgb(45,47,48);color:#fff;}

/* Legacy exported nav + footer (all desktop/tablet/phone variants). The site script mounts the
   real nav and footer; hiding the old ones in CSS removes the flash and any "double footer". */
.sa-109pmoh-container, .sa-19se6lt-container, .sa-169dl2y-container,
.sa-f16hf6-container, .sa-1a7wfcq-container, .sa-2hz9vl-container { display: none !important; }

/* Phones: the exported pages leave 120-140px of empty space under the header before the page title. */
@media (max-width: 809px) {
  .sa-13jpwby, .sa-ragj2k, .sa-1w6ihsx { padding-top: 48px !important; }
}

/* Reserve the header's height before the script adds it, so the page does not jump down on load. */
#shifter-nav-mount{min-height:108px;position:relative;}
@media (max-width:809px){#shifter-nav-mount{min-height:84px;}}

/* Very small phones: let the card's work-type / workplace row wrap so it cannot push the page wider than the screen. */
@media (max-width:359px){.sa-o8zyfp{flex-wrap:wrap !important;max-width:100% !important;}.sa-o8zyfp > *{max-width:100% !important;}}

/* ===== One shared page grid for header, page content, forms and footer, at EVERY width =====
   Same maximum width and the same side margin (--sa-gutter) everywhere, so the logo, headings, cards, forms and footer start and end on the same edges:
   24px below 810px, 32px at 810-1199px, 40px from 1200px. Content width is capped at 1320px. */
:root{--sa-max:1320px;--sa-gutter:24px;}
@media (min-width:810px){:root{--sa-gutter:32px;}}
@media (min-width:1200px){:root{--sa-gutter:40px;}}
.shifter-nav,.shifter-footer,.postjob-wrap,.page-wrap,.sa-ixx21i,.sa-15qtpih,.sa-1dfhxj3{box-sizing:border-box;width:100% !important;max-width:calc(var(--sa-max) + 2 * var(--sa-gutter)) !important;margin-left:auto !important;margin-right:auto !important;padding-left:var(--sa-gutter) !important;padding-right:var(--sa-gutter) !important;}
/* Two-column form pages: keep the info box on the right edge of the grid. */

/* ===== Fluid hero type: scales smoothly from phone to desktop instead of jumping or staying fixed ===== */
h1[data-styles-preset="hdEtFlNWu"]{font-size:clamp(32px, 4.5vw + 6px, 65px) !important;line-height:1.12 !important;letter-spacing:-0.045em !important;}
p[data-styles-preset="GLBdJBV2m"],p[data-styles-preset="eEcrt5BUi"]{font-size:clamp(16px, 0.7vw + 12.5px, 20px) !important;line-height:1.6 !important;max-width:60ch;margin-left:auto !important;margin-right:auto !important;}
[data-sa-name="Hero Text Block"]{gap:clamp(10px, 1.2vw + 6px, 18px) !important;}
[data-sa-name="Hero Content Block"]{gap:clamp(28px, 1.4vw + 22px, 40px) !important;}

/* ===== Job card type hierarchy (same on every breakpoint): title clearly largest, location + work type smaller, date smallest ===== */
[data-sa-name="Job Title"] .sa-text{font-size:clamp(17px, 0.3vw + 16px, 19px) !important;line-height:1.3 !important;font-weight:600 !important;}
[data-sa-name="Company"] .sa-text{font-size:14px !important;line-height:1.4 !important;}
[data-sa-name="Job Type Wrapper"] .sa-text,[data-sa-name="Job Location"] .sa-text{font-size:14px !important;line-height:1.4 !important;}
[data-sa-name="Date"] .sa-text{font-size:13px !important;line-height:1.4 !important;}

/* Home page: "Not on the list?" strip after the job list (same look as the one on Browse): text left, outlined button right; stacked and centered on small phones. */
.home-cta-strip{box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:48px;padding:24px 32px;background:rgb(237,240,241);border-radius:8px;font-family:"Montserrat","Montserrat Placeholder",sans-serif;color:rgb(19,21,24);}
.home-cta-text h3{margin:0 0 8px;font-size:24px;font-weight:600;line-height:1.25;color:rgb(19,21,24);}
.home-cta-text p{margin:0;font-size:16px;line-height:1.5;color:rgb(19,21,24);}
.home-cta-btn{flex:none;text-decoration:none;}
@media (max-width:639px){.home-cta-strip{flex-direction:column;align-items:center;text-align:center;padding:24px 20px;gap:20px;}.home-cta-text h3{font-size:22px;}}

/* Browse end-of-list strip is for desktop only; below 1200px the Filters script already puts the same card after the list. */
@media (max-width:1199px){.browse-end-cta{display:none !important;}}

/* === SPACING SCALE v2 START ===
   Every gap is a step of the scale 8 / 16 / 24 / 32 / 48 / 64 / 96. Close things get small steps, sections get big ones.
   To undo: delete everything between START and END (or restore _BACKUPS/shifter-agency_2026-10-05_before-spacing-scale). */

/* Header -> page heading (home + browse hero, job page title block) */
.sa-13jpwby,.sa-ragj2k{padding-top:48px !important;}
@media (min-width:810px) and (max-width:1199px){.sa-13jpwby,.sa-ragj2k{padding-top:64px !important;}}
@media (min-width:1200px){.sa-13jpwby,.sa-ragj2k{padding-top:96px !important;}}
.sa-1w6ihsx{padding-top:48px !important;}
@media (min-width:1200px){.sa-1w6ihsx{padding-top:96px !important;}}

/* Hero: heading -> paragraph 32, paragraph -> button 48 (more air; was 16 / 24-32) */
[data-sa-name="Hero Text Block"]{gap:32px !important;}
[data-sa-name="Hero Content Block"]{gap:48px !important;}

/* Hero button -> first section heading: 80 phone / 96 tablet / 120 desktop (more air; was 64 / 64 / 96) */
/* 24px of room under the hero button: its slide-up entrance (translateY 20px) is clipped by overflow:hidden parents, so the button must not be cut off at the bottom */
.sa-19ej0og{padding-bottom:24px !important;}
.sa-13jpwby{padding-bottom:0 !important;}
.sa-1ykxoeu{padding-top:56px !important;}
@media (min-width:560px){.sa-1ykxoeu{padding-top:72px !important;}}
@media (min-width:810px){.sa-1ykxoeu{padding-top:66px !important;}}
@media (min-width:1200px){.sa-1ykxoeu{padding-top:90px !important;}}

/* Job page title block: Published on -> title */
.sa-pow3ju{gap:16px !important;}
@media (min-width:1200px){.sa-pow3ju{gap:24px !important;}}

/* Forms (Contact, Send Your Profile, Apply, Privacy): header -> heading, heading -> intro, intro -> field, last field -> button, button -> footer */
.postjob-wrap,.page-wrap{padding-top:48px !important;padding-bottom:64px !important;}
@media (min-width:1200px){.postjob-wrap,.page-wrap{padding-top:64px !important;padding-bottom:96px !important;}}
.postjob-header h1,.page-wrap h1{margin-bottom:24px !important;}
.postjob-header > p.lede,.page-wrap p.lede{margin-bottom:32px !important;}
.postjob-submit{margin-top:8px;}

/* Footer */
.shifter-footer{padding-top:64px !important;column-gap:48px !important;}
/* Lists: heading -> pills 16, pills -> first card 24, card -> card 12 */
.sa-1dvw10x{row-gap:16px !important;}
.sa-1x89la3{row-gap:21px !important;}
.sa-kc9f8h,.sa-11qp2vx,.sa-1i3wqmr,.sa-c1hwjz,.sa-18o2w9m{row-gap:12px !important;}
/* Home: last card -> See All 32, See All -> strip 64, strip -> footer 64 (96 desktop) */
html body .sa-8uhfyg a.shifter-cta-invert{margin-top:29px !important;}
.home-cta-strip{margin-top:40px;}
html body .sa-bE6nA .sa-1ykxoeu:has(.shifter-cta-invert){padding-bottom:64px !important;}
@media (min-width:1200px){html body .sa-bE6nA .sa-1ykxoeu:has(.shifter-cta-invert){padding-bottom:96px !important;}}
/* Browse: hero button -> "All Open Roles" 64 (96), heading -> Filters bar 16, bar -> first card 16, last card -> strip 64, strip -> footer 64 (96) */
.sa-1ocmpkd{padding-top:36px !important;padding-bottom:64px !important;}
@media (min-width:560px){.sa-1ocmpkd{padding-top:52px !important;}}
@media (min-width:1200px){.sa-1ocmpkd{padding-top:56px !important;padding-bottom:96px !important;}}
.sa-10nfk2h{row-gap:16px !important;}
.bf-bar{margin-bottom:0 !important;}
.bf-after{margin-top:48px !important;}
@media (min-width:1200px){.browse-end-cta{margin-top:48px !important;}}
/* Job page: See All -> footer 64 (96 desktop) */
@media (max-width:1199px){.sa-112kugs>:first-child{padding-bottom:64px !important;}}
@media (min-width:1200px){.sa-112kugs>:first-child{padding-bottom:96px !important;}}
/* === SPACING SCALE v2 END === */

/* === FORMS LAYOUT + TYPE SCALE v2 START ===
   Forms (apply, Send Your Profile, Contact): from 1100px the form is 680px and the info box takes all the remaining width, never narrower than 340px (80px gap), so the pair spans the page grid at any desktop width; below 1100px the box goes under the form, full width.
   Type: headings and card text scale smoothly (clamp) between phone and desktop instead of jumping or staying fixed.
   To undo: delete everything between START and END. */
@media (min-width:1100px){
  html body .postjob-wrap{grid-template-columns:minmax(0,680px) minmax(340px,1fr) !important;column-gap:80px !important;justify-content:stretch !important;grid-template-areas:"head head" "form info" !important;}
  html body .postjob-formcol{max-width:none !important;width:100% !important;margin-bottom:0 !important;}
  html body .postjob-howto{justify-self:stretch !important;max-width:none !important;width:100% !important;}
  /* the card's top edge sits at the top of the first label's letters (the label text starts 4px inside its line box) */
  html body .postjob-howto{margin-top:4px !important;}
}
@media (max-width:1099px){
  html body .postjob-wrap{grid-template-columns:minmax(0,1fr) !important;grid-template-areas:"head" "form" "info" !important;}
  html body .postjob-formcol,html body .postjob-howto{max-width:none !important;width:100% !important;}
  html body .postjob-formcol{margin-bottom:40px !important;}
}
/* Page heading on form pages */
.postjob-header h1,.page-wrap h1{font-size:clamp(34px, 3.4vw + 20px, 60px) !important;line-height:1.1 !important;letter-spacing:-0.045em !important;}
/* Section headings (Featured Roles, All Open Roles, Similar Roles) and job description headings (Overview, Qualifications ...) */
h3[data-styles-preset="ES3iu5tlW"]{font-size:clamp(20px, 0.6vw + 17.5px, 24px) !important;}
h3.sa-styles-preset-122ts3o{font-size:clamp(18px, 0.5vw + 16px, 24px) !important;}
/* "Not on the list?" strip title */
.home-cta-text h3{font-size:clamp(20px, 0.8vw + 16px, 24px) !important;}
/* Apply card: location + country */
.job-apply-moved .sa-lv9ayo > :first-child .sa-text{font-size:clamp(14px, 0.3vw + 13px, 16px) !important;}
.job-apply-moved .sa-lv9ayo > :last-child .sa-text{font-size:clamp(18px, 1vw + 14px, 24px) !important;}
/* === FORMS LAYOUT + TYPE SCALE v2 END === */

/* === HERO LETTER REVEAL v3 START ===
   Home hero only (html gets .hero-wr from a tiny script in index.html). The heading appears letter by letter (about 1.2s in total),
   then the paragraph fades in as one block, then the button. The animations are held (paused) until the page has finished loading
   (html.hero-go, added by the script in index.html), so they do not compete with the page building its job cards (that made them stutter on iPad).
   Failsafe: everything is visible after 4s even if the script never starts them. Skipped entirely when the visitor prefers reduced motion.
   To undo: delete this block and the two small scripts marked "hero word reveal" in index.html. */
@keyframes hero-wr-l{to{opacity:1;}}
@keyframes hero-wr-up{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}
@keyframes hero-wr-safe{to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:no-preference){
  html.hero-wr h1[data-styles-preset="hdEtFlNWu"]{opacity:0;animation:hero-wr-safe 0s linear 2.4s forwards;}
  html.hero-wr h1[data-styles-preset="hdEtFlNWu"].hero-wr-ready{opacity:1;animation:none;}
  html.hero-wr .hero-wr-word{display:inline-block;white-space:nowrap;}
  html.hero-wr .hero-wr-l{opacity:0;animation:hero-wr-l .22s ease-out forwards,hero-wr-safe 0s linear 4s forwards;animation-delay:var(--d),4s;animation-play-state:paused,running;}
  html.hero-wr [data-sa-name="Hero Text Block"]{opacity:1 !important;transform:none !important;}
  html.hero-wr p[data-styles-preset="GLBdJBV2m"]{animation:hero-wr-up .6s cubic-bezier(.22,.61,.36,1) both,hero-wr-safe 0s linear 4s forwards;animation-delay:1250ms,4s;animation-play-state:paused,running;}
  html.hero-wr .sa-1r4zm25 > *{animation:hero-wr-up .6s cubic-bezier(.22,.61,.36,1) both,hero-wr-safe 0s linear 4s forwards;animation-delay:1650ms,4s;animation-play-state:paused,running;}
  html.hero-go .hero-wr-l,html.hero-go p[data-styles-preset="GLBdJBV2m"],html.hero-go .sa-1r4zm25 > *{animation-play-state:running,running;}
}
/* === HERO LETTER REVEAL v3 END === */

/* === THAI + LAO TEXT SIZE v1 START ===
   Thai and Lao letters sit small next to Latin text at the same size (they have no tall lowercase), so on the
   /th and /la pages the text is scaled up a little (Thai 1.15x, Lao 1.22x), the way those sites normally do.
   The language names in the language menu are enlarged the same way on every page.
   To undo: delete this block. */
html[lang="th"] :is(.sa-text,.shifter-nav a,.shifter-nav-category,.shifter-lang-btn,.shifter-lang-opt,.shifter-footer-group h4,.shifter-footer-group a,.shifter-footer-legal,.shifter-drawer a,.shifter-drawer-cat-btn,.shifter-featured-countries h3,.shifter-worktypes h3,.shifter-categories h3,.shifter-languages h3,.shifter-worktype-item,.shifter-category-item,.shifter-pill,.bf-btn,.bf-chip,.postjob-wrap :is(label,input,select,textarea,button,p,h1,h2,h3,li,a)){zoom:1.15;}
html[lang="lo"] :is(.sa-text,.shifter-nav a,.shifter-nav-category,.shifter-lang-btn,.shifter-lang-opt,.shifter-footer-group h4,.shifter-footer-group a,.shifter-footer-legal,.shifter-drawer a,.shifter-drawer-cat-btn,.shifter-featured-countries h3,.shifter-worktypes h3,.shifter-categories h3,.shifter-languages h3,.shifter-worktype-item,.shifter-category-item,.shifter-pill,.bf-btn,.bf-chip,.postjob-wrap :is(label,input,select,textarea,button,p,h1,h2,h3,li,a)){zoom:1.22;}
html[lang="th"] .shifter-lang-opt,html[lang="lo"] .shifter-lang-opt{zoom:1;}
.shifter-lang-opt[data-l="kr"]{font-size:1.07em;}
.shifter-lang-opt[data-l="th"]{font-size:1.1em;font-weight:400;}
.shifter-lang-opt[data-l="la"]{font-size:1.28em;font-weight:400;line-height:1;}
.shifter-lang-toggle[data-lang="th"] .shifter-lang-label{font-size:1.12em;}
.shifter-lang-toggle[data-lang="la"] .shifter-lang-label{font-size:1.28em;}
/* === THAI + LAO TEXT SIZE v1 END === */

/* === HOME HERO AIR v2 START ===
   Home page only (the page that has the language pills): more room above the heading and between the hero button and "Featured Roles".
   Above the heading: 56 phone / 72 tablet / 120 desktop (was 48 / 64 / 96). Button -> Featured Roles: 88 phone / 104 tablet / 136 desktop (was 80 / 90-96 / 120).
   To undo: delete this block. */
body:has(#shifter-lang-pills) .sa-13jpwby{padding-top:56px !important;}
@media (min-width:810px) and (max-width:1199px){body:has(#shifter-lang-pills) .sa-13jpwby{padding-top:72px !important;}}
@media (min-width:1200px){body:has(#shifter-lang-pills) .sa-13jpwby{padding-top:120px !important;}}
body:has(#shifter-lang-pills) .sa-1ykxoeu{padding-top:64px !important;}
@media (min-width:560px){body:has(#shifter-lang-pills) .sa-1ykxoeu{padding-top:80px !important;}}
@media (min-width:1200px){body:has(#shifter-lang-pills) .sa-1ykxoeu{padding-top:106px !important;}}
/* === HOME HERO AIR v2 END === */

/* === BROWSE HERO AIR v1 START ===
   Browse, location, language and category pages (they have the job list .sa-1i3wqmr): same heading position and same button -> list spacing as the home page,
   so the big heading always starts at the same place. Above the heading 56 phone / 72 tablet / 120 desktop; button -> "All Open Roles" about 88 / 104 / 136.
   To undo: delete this block. */
body:has(.sa-1i3wqmr) .sa-ragj2k{padding-top:56px !important;}
@media (min-width:810px) and (max-width:1199px){body:has(.sa-1i3wqmr) .sa-ragj2k{padding-top:72px !important;}}
@media (min-width:1200px){body:has(.sa-1i3wqmr) .sa-ragj2k{padding-top:120px !important;}}
body:has(.sa-1i3wqmr) .sa-1ocmpkd{padding-top:36px !important;}
@media (min-width:560px){body:has(.sa-1i3wqmr) .sa-1ocmpkd{padding-top:54px !important;}}
@media (min-width:1200px){body:has(.sa-1i3wqmr) .sa-1ocmpkd{padding-top:72px !important;}}
/* === BROWSE HERO AIR v1 END === */
