/* WhoGotWork V2: homepage, header look, Light / Dark / Calm modes. Scoped with wgw- classes; the Jobcy theme files are not edited. */
:root {
  --wgw-navy: #0b1f3a; --wgw-navy-2: #12305a; --wgw-orange: #f26b1d; --wgw-orange-2: #d9560b; --wgw-blue: #1849a9;
  --wgw-bg: #f4f6fa; --wgw-surface: #ffffff; --wgw-text: #14213d; --wgw-muted: #5b6b82; --wgw-line: #e2e8f0;
  --wgw-shadow: 0 1px 2px rgba(11,31,58,.06), 0 6px 18px rgba(11,31,58,.07); --wgw-radius: 14px; --wgw-yellow: #ffe08a;
  --wgw-focus: #f26b1d;
}
html[data-wgw-mode="dark"] {
  --wgw-bg: #0c1626; --wgw-surface: #15233a; --wgw-text: #e8eef7; --wgw-muted: #a6b4c8; --wgw-line: #263a57;
  --wgw-shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 22px rgba(0,0,0,.35); --wgw-blue: #8fb4ff; --wgw-yellow: #ffd36b; --wgw-focus: #ffb27a;
  color-scheme: dark;
}
html[data-wgw-mode="calm"] {
  --wgw-navy: #22385c; --wgw-orange: #d9733a; --wgw-orange-2: #c0622d; --wgw-blue: #2d5a9e;
  --wgw-bg: #f6f3ee; --wgw-surface: #fffdf9; --wgw-text: #2a3446; --wgw-muted: #66717f; --wgw-line: #e7e0d6;
  --wgw-shadow: none; --wgw-radius: 16px; --wgw-yellow: #f3e3b5;
}

/* ---------- accessibility, whole site ---------- */
:focus-visible { outline: 3px solid var(--wgw-focus) !important; outline-offset: 2px !important; border-radius: 4px; }
html[data-wgw-size="1"] { font-size: 110%; }
html[data-wgw-size="2"] { font-size: 120%; }
/* Jobcy job cards have narrow fixed columns: let long words wrap instead of running into the next column. */
html[data-wgw-size] .job-box [class*="col"] { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
html[data-wgw-size="1"] body { font-size: 1.0625rem; }
html[data-wgw-size="2"] body { font-size: 1.125rem; }
html[data-wgw-motion="reduce"] *, html[data-wgw-motion="reduce"] *::before, html[data-wgw-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { .wgw-home *, .wgw-display * { animation: none !important; transition: none !important; } }
.wgw-ic { display: inline-block; vertical-align: middle; flex: none; }
.wgw-orange { color: var(--wgw-orange); }

/* ---------- V2 header look on the existing Jobcy header ---------- */
body.wgw-v2-header #navbar { box-shadow: 0 1px 0 var(--wgw-line), 0 6px 16px rgba(11,31,58,.05); }
body.wgw-v2-header #navbar .navbar-nav .nav-link { color: var(--wgw-navy); font-weight: 700; font-size: 15px; }
body.wgw-v2-header #navbar .navbar-nav .nav-link:hover, body.wgw-v2-header #navbar .navbar-nav .nav-link.active { color: var(--wgw-orange); }
body.wgw-v2-header #navbar .dropdown-menu .dropdown-item { font-weight: 600; }
.wgw-hb-item { vertical-align: middle; }
.wgw-hb { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.wgw-hb-outline { border: 2px solid var(--wgw-navy); color: var(--wgw-navy) !important; background: transparent; }
.wgw-hb-outline:hover { background: var(--wgw-navy); color: #fff !important; }
.wgw-hb-orange { background: var(--wgw-orange); color: #fff !important; border: 2px solid var(--wgw-orange); }
.wgw-hb-orange:hover { background: var(--wgw-orange-2); border-color: var(--wgw-orange-2); }
.wgw-display-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border: 1px solid var(--wgw-line); border-radius: 10px; background: transparent; color: var(--wgw-navy); font-weight: 600; font-size: 14px; cursor: pointer; }
.wgw-display-btn:hover { border-color: var(--wgw-navy); }
@media (max-width: 575.98px) { .wgw-display-label { display: none; } .wgw-hb { padding: 0 12px; min-height: 38px; font-size: 14px; } .wgw-display-btn { min-height: 38px; padding: 0 9px; } }

/* ---------- display panel ---------- */
.wgw-display { position: fixed; z-index: 1080; top: 76px; right: 16px; width: min(360px, calc(100vw - 24px)); background: var(--wgw-surface); color: var(--wgw-text); border: 1px solid var(--wgw-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(11,31,58,.25); padding: 16px 18px 12px; }
.wgw-display[hidden] { display: none; }
.wgw-display-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wgw-display h2 { font-size: 18px; margin: 0; color: var(--wgw-text); font-weight: 800; }
.wgw-display-close { border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--wgw-muted); width: 40px; height: 40px; border-radius: 8px; cursor: pointer; }
.wgw-display fieldset { border: 0; padding: 0; margin: 10px 0; }
.wgw-display legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--wgw-muted); margin-bottom: 6px; float: none; width: auto; }
.wgw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wgw-seg-opt input, .wgw-size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.wgw-seg-opt span { display: block; border: 2px solid var(--wgw-line); border-radius: 12px; padding: 9px 10px; cursor: pointer; min-height: 58px; }
.wgw-seg-opt strong { display: block; font-size: 15px; color: var(--wgw-text); }
.wgw-seg-opt small { display: block; font-size: 12px; color: var(--wgw-muted); line-height: 1.3; }
.wgw-seg-opt input:checked + span, .wgw-size-opt input:checked + span { border-color: var(--wgw-orange); box-shadow: inset 0 0 0 1px var(--wgw-orange); }
.wgw-seg-opt input:focus-visible + span, .wgw-size-opt input:focus-visible + span { outline: 3px solid var(--wgw-focus); outline-offset: 2px; }
.wgw-sizes { display: flex; gap: 8px; }
.wgw-size-opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 46px; border: 2px solid var(--wgw-line); border-radius: 12px; font-weight: 800; color: var(--wgw-text); cursor: pointer; }
.wgw-size-0 span { font-size: 15px; } .wgw-size-1 span { font-size: 18px; } .wgw-size-2 span { font-size: 21px; }
.wgw-check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 6px 0 4px; cursor: pointer; }
.wgw-check input { width: 18px; height: 18px; }
.wgw-display-note { font-size: 12px; color: var(--wgw-muted); margin: 6px 0 0; }

/* ---------- homepage layout ---------- */
.wgw-home { background: var(--wgw-bg); color: var(--wgw-text); padding-bottom: 36px; font-size: 16px; }
.wgw-home h1, .wgw-home h2, .wgw-home p { margin: 0; }
.wgw-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wgw-sec + .wgw-sec { margin-top: 22px; }
.wgw-card { background: var(--wgw-surface); border: 1px solid var(--wgw-line); border-radius: var(--wgw-radius); box-shadow: var(--wgw-shadow); }
.wgw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 800; font-size: 16px; border: 2px solid transparent; text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.wgw-btn-orange { background: var(--wgw-orange); color: #fff !important; }
.wgw-btn-orange:hover { background: var(--wgw-orange-2); }
.wgw-btn-outline { border-color: var(--wgw-navy); color: var(--wgw-navy) !important; background: transparent; }
html[data-wgw-mode="dark"] .wgw-btn-outline { border-color: #8fb4ff; color: #cfe0ff !important; }
.wgw-btn-outline:hover { background: var(--wgw-navy); color: #fff !important; }
.wgw-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff !important; }
.wgw-btn-ghost:hover { background: rgba(255,255,255,.12); }
.wgw-btn-lg { min-height: 56px; font-size: 18px; padding: 0 26px; }
.wgw-link { display: inline-flex; align-items: center; gap: 6px; color: var(--wgw-blue) !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.wgw-link:hover { text-decoration: underline; }
.wgw-center { display: flex; justify-content: center; margin-top: 14px; }
.wgw-empty { color: var(--wgw-muted); padding: 10px 2px; }
.wgw-mobile-only { display: none; }
@media (max-width: 767.98px) { .wgw-desktop-only { display: none; } .wgw-mobile-only { display: block; } }

/* hero */
.wgw-hero { position: relative; overflow: hidden; background: var(--wgw-navy); color: #fff; padding: 46px 0 34px; isolation: isolate; }
.wgw-hero-art { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.wgw-hero-art img, .wgw-hero-art .wgw-skyline { width: 100%; height: 100%; object-fit: cover; display: block; }
.wgw-hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wgw-navy) 0%, rgba(11,31,58,.82) 22%, rgba(11,31,58,.25) 55%, rgba(11,31,58,0) 80%); z-index: 1; }
html[data-wgw-mode="calm"] .wgw-hero-art { filter: saturate(.7) brightness(1.05); }
html[data-wgw-mode="calm"] .wgw-hero-art::before { background: linear-gradient(90deg, var(--wgw-navy) 0%, rgba(34,56,92,.85) 30%, rgba(34,56,92,.35) 70%); }
.wgw-hero-inner { position: relative; }
.wgw-hero h1 { font-size: clamp(30px, 4.3vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; color: #fff; max-width: 880px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.wgw-hero h1 span { white-space: nowrap; }
.wgw-hero-sub { font-size: clamp(16px, 1.6vw, 20px); color: #e8eef8; margin-top: 10px !important; max-width: 640px; }
.wgw-search { display: flex; margin-top: 22px; max-width: 900px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 6px; gap: 0; }
.wgw-field { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; padding: 0 14px; color: #3b4a60; margin: 0; }
.wgw-field + .wgw-field { border-left: 1px solid #dfe5ee; }
.wgw-field input { border: 0; outline: 0; background: transparent; width: 100%; min-height: 50px; font-size: 17px; color: #14213d; }
.wgw-field input::placeholder { color: #66758b; }
.wgw-field:focus-within { box-shadow: inset 0 -3px 0 var(--wgw-orange); }
.wgw-search .wgw-btn { min-height: 54px; padding: 0 28px; font-size: 18px; flex: none; }
.wgw-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.wgw-chips-label { font-weight: 800; margin-right: 4px; }
.wgw-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.75); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; background: rgba(11,31,58,.35); cursor: pointer; list-style: none; }
.wgw-chip:hover { background: #fff; color: var(--wgw-navy) !important; }
.wgw-chip::-webkit-details-marker { display: none; }
.wgw-more { position: relative; }
.wgw-more[open] .wgw-chip { background: #fff; color: var(--wgw-navy) !important; }
.wgw-more-list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 8px; min-width: 200px; display: grid; }
.wgw-more-list a { color: var(--wgw-navy) !important; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.wgw-more-list a:hover { background: #f1f4f9; }

/* tools */
.wgw-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.wgw-tool { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 16px 18px; text-decoration: none !important; color: var(--wgw-text) !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.wgw-tool:hover { transform: translateY(-2px); border-color: #c8d3e3; box-shadow: 0 10px 26px rgba(11,31,58,.12); }
.wgw-tool-ic { display: flex; height: 58px; align-items: center; }
.wgw-tone-orange { color: var(--wgw-orange); } .wgw-tone-red { color: #ef3b2d; } .wgw-tone-navy { color: var(--wgw-navy); }
html[data-wgw-mode="dark"] .wgw-tone-navy { color: #8fb4ff; }
.wgw-tool-title { font-size: 20px; font-weight: 800; margin-top: 8px; color: var(--wgw-text); }
.wgw-tool-sub { font-size: 14.5px; color: var(--wgw-muted); line-height: 1.35; margin-top: 4px; min-height: 40px; }
.wgw-tool-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 42px; padding: 0 18px; border: 2px solid var(--wgw-navy); border-radius: 10px; font-weight: 800; color: var(--wgw-navy); font-size: 15px; }
html[data-wgw-mode="dark"] .wgw-tool-btn { border-color: #8fb4ff; color: #cfe0ff; }
.wgw-tool:hover .wgw-tool-btn { background: var(--wgw-navy); color: #fff; }
.wgw-tool-lock { display: none; }

/* ads */
.wgw-ad { text-align: center; }
.wgw-ad::before { content: "Advertisement"; display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--wgw-muted); margin-bottom: 4px; }

/* market */
.wgw-market { display: flex; align-items: center; gap: 10px 22px; padding: 10px 18px; flex-wrap: wrap; min-height: 60px; }
.wgw-market-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.wgw-ticker { flex: 1 1 360px; min-width: 0; min-height: 46px; display: flex; align-items: center; }
.wgw-ticker iframe { width: 100% !important; }
.wgw-ticker-load { border: 1px dashed var(--wgw-line); background: transparent; color: var(--wgw-muted); border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.wgw-fig { font-size: 15px; white-space: nowrap; }
.wgw-fig-label { color: var(--wgw-muted); }
.wgw-fig strong { color: var(--wgw-text); }
.wgw-fig-trend { font-size: 13px; color: var(--wgw-muted); }
.wgw-credit { font-size: 12px; color: var(--wgw-muted); margin: 6px 4px 0 !important; }
.wgw-credit a { color: inherit; text-decoration: underline; }

/* panels */
.wgw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wgw-panel { padding: 18px 18px 16px; display: flex; flex-direction: column; min-width: 0; }
.wgw-panel-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wgw-panel-head > div { flex: 1; min-width: 0; }
.wgw-panel-head h2 { font-size: 24px; font-weight: 800; color: var(--wgw-text); line-height: 1.15; }
.wgw-panel-head p { color: var(--wgw-muted); font-size: 15px; margin-top: 2px !important; }
.wgw-panel-head .wgw-link { margin-top: 6px; }
.wgw-panel-ic { flex: none; line-height: 0; }

.wgw-jobs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wgw-job { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--wgw-line); border-radius: 12px; text-decoration: none !important; color: var(--wgw-text) !important; background: var(--wgw-surface); transition: border-color .15s, box-shadow .15s; }
.wgw-job:hover { border-color: #b9c6da; box-shadow: 0 4px 14px rgba(11,31,58,.08); }
.wgw-job-logo { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff3ea; color: var(--wgw-orange); overflow: hidden; }
html[data-wgw-mode="dark"] .wgw-job-logo { background: #23324c; }
.wgw-job-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.wgw-job-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wgw-job-main strong { font-size: 16.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wgw-job-main > span { font-size: 14px; color: var(--wgw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wgw-dot { margin: 0 2px; }
.wgw-job-pay { font-weight: 700; font-size: 14.5px; white-space: nowrap; color: var(--wgw-text); }
.wgw-badge { flex: none; background: var(--wgw-yellow); color: #3d2c00; border-radius: 999px; padding: 3px 11px; font-weight: 800; font-size: 13px; }
.wgw-badge-feat { background: #ffe1cc; color: #8a3200; }
.wgw-chev { color: var(--wgw-muted); flex: none; }

.wgw-companies { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wgw-company { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 96px; border: 1px solid var(--wgw-line); border-radius: 12px; text-decoration: none !important; color: var(--wgw-text) !important; padding: 10px; background: var(--wgw-surface); text-align: center; transition: border-color .15s, box-shadow .15s; }
.wgw-company:hover { border-color: #b9c6da; box-shadow: 0 4px 14px rgba(11,31,58,.08); }
.wgw-company img { max-width: 80%; max-height: 46px; object-fit: contain; }
html[data-wgw-mode="dark"] .wgw-company img { background: #fff; border-radius: 6px; padding: 3px 6px; }
.wgw-initials { width: 40px; height: 40px; border-radius: 50%; background: var(--wgw-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.wgw-cname { font-weight: 700; font-size: 14px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wgw-cjobs { font-size: 12.5px; color: var(--wgw-muted); }
.wgw-sponsored { position: absolute; top: 5px; right: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--wgw-muted); }

.wgw-daily { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 14px; align-items: start; }
.wgw-daily-img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--wgw-navy); }
.wgw-daily-img img, .wgw-daily-img .wgw-skyline { width: 100%; height: 100%; object-fit: cover; display: block; }
.wgw-daily-list { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.wgw-daily-list li::marker { color: var(--wgw-orange); }
.wgw-daily-list a { color: var(--wgw-text) !important; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.3; }
.wgw-daily-list a:hover { text-decoration: underline; }
.wgw-src { color: var(--wgw-muted); font-size: 13px; }
.wgw-panel > .wgw-link:last-child { margin-top: 12px; }

.wgw-video-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; }
.wgw-video-btn img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
/* 1.0.1: scoped to the Video News button. Unscoped, it also matched the Break Room game page wrapper (.wgw-play) and pulled it out of the page. */
.wgw-video-btn .wgw-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.wgw-video-btn:hover .wgw-play { transform: scale(1.08); }
.wgw-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; }
.wgw-video-title { font-weight: 700; margin-top: 8px !important; font-size: 15px; }
.wgw-video-more { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.wgw-video-more button { border: 0; background: transparent; color: var(--wgw-blue); font-weight: 600; text-align: left; padding: 4px 0; cursor: pointer; font-size: 14.5px; }
.wgw-video-note { font-size: 12px; color: var(--wgw-muted); margin-top: 6px !important; }

/* newsletter */
.wgw-newsletter { display: flex; align-items: center; gap: 16px 20px; padding: 18px 20px; flex-wrap: wrap; }
.wgw-nl-text { flex: 1 1 260px; }
.wgw-nl-text h2 { font-size: 21px; font-weight: 800; color: var(--wgw-text); }
.wgw-nl-text p { color: var(--wgw-muted); font-size: 15px; }
.wgw-nl-form { display: flex; gap: 8px; flex: 1 1 360px; flex-wrap: wrap; }
.wgw-nl-form input[type=email] { flex: 1 1 200px; min-height: 46px; border: 1.5px solid var(--wgw-line); border-radius: 10px; padding: 0 14px; font-size: 16px; background: var(--wgw-surface); color: var(--wgw-text); }
.wgw-nl-msg { flex-basis: 100%; font-size: 14px; font-weight: 600; margin: 0 !important; }
.wgw-nl-msg:empty { display: none; }
.wgw-nl-fine { flex-basis: 100%; font-size: 12px; color: var(--wgw-muted); }

/* sign-up banner */
.wgw-cta { position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 220px; border-radius: 18px; overflow: hidden; background: var(--wgw-navy); color: #fff; box-shadow: var(--wgw-shadow); }
.wgw-cta-slim { grid-template-columns: 1fr; min-height: 0; }
.wgw-cta-art { position: relative; background: linear-gradient(135deg, #f26b1d, #ffb070); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.wgw-cta-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wgw-cta-pattern { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.wgw-cta-body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.wgw-cta-body h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; color: #fff; }
.wgw-cta-body p { color: #dbe5f3; font-size: 17px; max-width: 560px; }
.wgw-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* source credit under WhoGotWork Daily posts */
.wgw-source-credit { font-size: 14px; color: #5b6b82; border-top: 1px solid #e2e8f0; padding-top: 10px; margin-top: 16px; }

/* ---------- tablet & phone ---------- */
@media (max-width: 991.98px) {
  .wgw-tools { grid-template-columns: repeat(2, 1fr); }
  .wgw-grid2 { grid-template-columns: 1fr; }
  .wgw-hero-art { left: 20%; }
}
@media (max-width: 767.98px) {
  .wgw-wrap { padding: 0 14px; }
  .wgw-sec + .wgw-sec { margin-top: 16px; }
  .wgw-hero { padding: 26px 0 22px; }
  .wgw-hero-art { left: 0; opacity: .55; }
  .wgw-hero-art::before { background: linear-gradient(180deg, rgba(11,31,58,.55), rgba(11,31,58,.92) 70%); }
  .wgw-hero h1 span { display: block; }
  .wgw-search { flex-direction: column; background: transparent; box-shadow: none; padding: 0; gap: 10px; }
  .wgw-field { background: #fff; border-radius: 10px; }
  .wgw-field + .wgw-field { border-left: 0; }
  .wgw-search .wgw-btn { width: 100%; }
  .wgw-chips-label { flex-basis: 100%; }
  .wgw-chip { min-height: 34px; padding: 0 13px; font-size: 14px; }
  .wgw-tools { gap: 10px; margin-top: 14px; }
  .wgw-tool { padding: 14px 10px; }
  .wgw-tool-ic svg { width: 40px; height: 40px; }
  .wgw-tool-ic { height: 44px; }
  .wgw-tool-title { font-size: 16px; margin-top: 4px; }
  .wgw-tool-sub { font-size: 13px; min-height: 0; }
  .wgw-tool-sub br, .wgw-tool-btn { display: none; }
  .wgw-tool-lock { display: block; position: static; color: var(--wgw-muted); margin-top: 4px; }
  .wgw-market { padding: 10px 12px; }
  .wgw-panel { padding: 14px; }
  .wgw-panel-head h2 { font-size: 20px; }
  .wgw-panel-head { flex-wrap: wrap; }
  .wgw-panel-head .wgw-link { flex-basis: 100%; margin-top: 0; }
  .wgw-job-pay { display: none; }
  .wgw-jobs li:nth-child(n+4) { display: none; }
  .wgw-companies { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .wgw-companies li { scroll-snap-align: start; }
  .wgw-daily { grid-template-columns: 1fr; }
  .wgw-newsletter { padding: 16px; }
  .wgw-cta { grid-template-columns: 1fr; }
  .wgw-cta-art { display: none; }
  .wgw-cta-body { padding: 22px 18px; text-align: center; align-items: center; }
  .wgw-cta-btns { justify-content: center; width: 100%; }
  .wgw-cta-btns .wgw-btn { width: 100%; }
}

/* ---------- Dark mode: the rest of the site (on top of Jobcy's own dark styles) ---------- */
html[data-wgw-mode="dark"] body[data-layout-mode=dark] { background-color: #0c1626; color: #d9e2ef; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .navbar, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .nav-sticky, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .navbar-collapse { background-color: #11203a; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .top-bar { background-color: #08111f !important; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .card, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .job-box, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .modal-content, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .bg-white { background-color: #15233a !important; border-color: #263a57 !important; color: #d9e2ef; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .bg-light, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .page-title-box, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .section.bg-light { background-color: #101d33 !important; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .form-control, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .form-select, html[data-wgw-mode="dark"] body[data-layout-mode=dark] .choices__inner { background-color: #0f1b2f; border-color: #2c4263; color: #e8eef7; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .footer, html[data-wgw-mode="dark"] body[data-layout-mode=dark] footer { background-color: #08111f !important; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] a:not(.btn):not(.wgw-btn):not(.wgw-hb):not(.nav-link):not(.dropdown-item) { color: #9cc0ff; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .text-dark, html[data-wgw-mode="dark"] body[data-layout-mode=dark] h1, html[data-wgw-mode="dark"] body[data-layout-mode=dark] h2, html[data-wgw-mode="dark"] body[data-layout-mode=dark] h3, html[data-wgw-mode="dark"] body[data-layout-mode=dark] h4, html[data-wgw-mode="dark"] body[data-layout-mode=dark] h5 { color: #f1f5fb; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .text-muted { color: #a6b4c8 !important; }
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .text-primary { color: #9cc0ff !important; }
/* Jobcy hides the normal logo in its dark mode and has no light logo here; keep the logo visible on a light chip. */
html[data-wgw-mode="dark"] body[data-layout-mode=dark] .navbar-brand .logo-dark { display: inline-block !important; background: #fff; border-radius: 10px; padding: 4px 8px; }
html[data-wgw-mode="dark"] body.wgw-v2-header #navbar .navbar-nav .nav-link { color: #e8eef7; }
html[data-wgw-mode="dark"] .wgw-hb-outline { border-color: #cfe0ff; color: #fff !important; }
html[data-wgw-mode="dark"] .wgw-display-btn { color: #e8eef7; border-color: #2c4263; }
html[data-wgw-mode="dark"] .wgw-source-credit { color: #a6b4c8; border-color: #263a57; }

/* ---------- Calm mode: the rest of the site ---------- */
html[data-wgw-mode="calm"] body { background-color: #f6f3ee; color: #2a3446; line-height: 1.7; letter-spacing: .005em; }
html[data-wgw-mode="calm"] .card, html[data-wgw-mode="calm"] .job-box, html[data-wgw-mode="calm"] .bg-white { background-color: #fffdf9 !important; box-shadow: none !important; border-color: #e7e0d6 !important; }
html[data-wgw-mode="calm"] .bg-light, html[data-wgw-mode="calm"] .page-title-box { background-color: #efe9e0 !important; }
html[data-wgw-mode="calm"] .navbar, html[data-wgw-mode="calm"] .navbar-collapse { background-color: #fffdf9 !important; box-shadow: 0 1px 0 #e7e0d6 !important; }
html[data-wgw-mode="calm"] .btn-primary { filter: saturate(.8); }
html[data-wgw-mode="calm"] img { filter: saturate(.9); }
html[data-wgw-mode="calm"] .wgw-home { font-size: 17px; }
html[data-wgw-mode="calm"] .wgw-hero h1 { font-weight: 700; text-shadow: none; }
html[data-wgw-mode="calm"] .wgw-tool:hover, html[data-wgw-mode="calm"] .wgw-job:hover, html[data-wgw-mode="calm"] .wgw-company:hover { transform: none; box-shadow: none; }
html[data-wgw-mode="calm"] .wgw-sec + .wgw-sec { margin-top: 28px; }
html[data-wgw-mode="calm"] *, html[data-wgw-mode="calm"] *::before, html[data-wgw-mode="calm"] *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }

@media print { .wgw-display, .wgw-display-btn, .wgw-ad, .wgw-ticker { display: none !important; } }
/* Jobcy styles list items; these lists are plain. */
.wgw-jobs > li, .wgw-companies > li, .wgw-video-more > li { list-style: none; margin: 0; padding: 0; }
.wgw-jobs > li::marker, .wgw-companies > li::marker, .wgw-video-more > li::marker { content: none; }
.wgw-jobs { grid-template-columns: minmax(0, 1fr); }
.wgw-job { min-width: 0; }
@media (max-width: 767.98px) {
  /* Jobcy's phone header is fixed on top of the page: start the banner below it. */
  body:has(#navbar.mobile-sticky) .wgw-hero { padding-top: 91px; }
  .show-admin-bar:has(#navbar.mobile-sticky) .wgw-hero { padding-top: 131px; }
}
@media (max-width: 767.98px) { .wgw-job-main strong { white-space: normal; line-height: 1.25; } }
