/* Careers Daily SA - public site. Mobile-first: phone styles come first, wider screens are added below. */
@font-face {
  font-family: Outfit; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/outfit.woff2") format("woff2");
}
:root {
  --navy: #1e3a5f;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-tint: #eff6ff;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --text: #1f2937;
  --muted: #5b6472;
  --line: #d9dee6;
  --soft: #f3f5f8;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 16px/1.5 Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--text); margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
/* Page content is 960px wide; the header and footer are 1200px (plus the 16px side gutters). */
.wrap { width: 100%; max-width: 992px; margin: 0 auto; padding: 0 16px; }
.site-header .wrap, .site-footer .wrap { max-width: 1232px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
.muted, .small { color: var(--muted); }
.small { font-size: .875rem; }
.icon { flex: none; }
.only-wide { display: none; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.logo { color: var(--navy); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--orange); }
.header-cta {
  order: 2; margin-left: 2px; background: var(--blue); color: #fff; font-weight: 700; padding: 9px 18px;
  border-radius: 999px; white-space: nowrap;
}
.header-cta:hover { background: var(--blue-dark); text-decoration: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { order: 3; cursor: pointer; padding: 10px 2px 10px 8px; }
.nav-button span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--blue); border-radius: 6px; }
.main-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
  padding: 4px 16px 12px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px rgba(31, 41, 55, .12);
}
.nav-toggle:checked ~ .main-nav { display: flex; }
.main-nav a { padding: 13px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--soft); }
.main-nav a:last-child { border-bottom: 0; }
.main-nav a[aria-current] { color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-align: center; line-height: 1.3;
  transition: background-color .12s, border-color .12s, box-shadow .12s;
}
.btn:hover { text-decoration: none; border-color: #b8c0cc; background: var(--soft); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-accent { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-tint); border-color: var(--blue-dark); }
.btn-whatsapp { background: #16a34a; border-color: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #15803d; border-color: #15803d; }
.btn-block { display: block; width: 100%; margin-top: 14px; }
.icon-btn { background: none; border: 0; padding: 8px; color: var(--text); cursor: pointer; border-radius: 8px; line-height: 0; }
.icon-btn:hover { background: var(--soft); }

/* ---------- search box: stacked on phones, one row on wide screens ---------- */
.search-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(31, 41, 55, .13);
}
.search-box:focus-within { border-color: var(--blue); }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 16px; cursor: text; color: var(--text); }
.search-field + .search-field { border-top: 1px solid var(--line); }
.search-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem;
  padding: 15px 0; color: var(--text);
}
.search-field input::placeholder { color: #7b8492; }
.search-box .btn { display: block; width: calc(100% - 16px); margin: 0 8px 8px; }
/* On the results page the phone keyboard's Search key submits, so the button is hidden there. */
.search-strip .search-box .btn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; border: 0; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips-center { justify-content: center; }
.chips-label { font-weight: 600; color: var(--muted); margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; color: var(--text); font-size: .95rem; font-weight: 600; white-space: nowrap;
}
.chip:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-icon { padding: 9px 12px; cursor: pointer; position: relative; }
.chip-count {
  background: var(--orange); color: #fff; border-radius: 999px; font-size: .72rem; min-width: 18px; height: 18px;
  display: grid; place-items: center; padding: 0 5px;
}

/* ---------- pills (pay, job type) ---------- */
.pill {
  display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .84rem; font-weight: 600;
  background: var(--soft); color: #3f4753; white-space: nowrap;
}
.pill-pay { background: #dcfce7; color: #14532d; }
.tag-full-time, .chip-full-time { background: #dbeafe; color: #1e40af; }
.tag-part-time, .tag-temporary, .chip-part-time, .chip-temporary { background: #fef3c7; color: #92400e; }
.tag-contract, .tag-freelance, .chip-contract, .chip-freelance { background: #ede9fe; color: #5b21b6; }
.tag-internship, .tag-learnership, .tag-volunteer, .chip-internship, .chip-learnership, .chip-volunteer { background: #fce7f3; color: #9d174d; }
.chip[class*="chip-"]:not(.chip-icon) { border-color: transparent; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--soft); color: var(--muted); }
.tag-open { background: #dcfce7; color: #14532d; }

/* ---------- job cards: title, then logo + company + place, then pay and job type ---------- */
.job-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: border-color .12s, box-shadow .12s;
}
.job-card:hover { border-color: #9aa5b4; box-shadow: 0 2px 10px rgba(31, 41, 55, .08); }
.job-card.is-featured { border-left: 4px solid var(--orange); }
.job-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 12px; line-height: 1.3; }
.job-card h3 a { color: var(--text); }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.job-org { display: flex; align-items: center; gap: 12px; }
.job-org p { margin: 0; min-width: 0; color: var(--muted); line-height: 1.4; }
.job-org span { display: block; }
.job-company { color: #3f4753; }
.job-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.job-list, .pane-list { display: grid; gap: 14px; }
.job-grid { display: grid; gap: 14px; }

.logo-box {
  flex: none; width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; object-fit: contain;
}
.logo-sm { width: 40px; height: 40px; border-radius: 8px; font-size: .85rem; }
.logo-lg { width: 64px; height: 64px; font-size: 1.3rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(31, 41, 55, .12); }

/* ---------- home ---------- */
.home-hero { padding: 28px 0 22px; background: linear-gradient(180deg, var(--blue-tint) 0%, #fff 100%); }
.home-hero .wrap { max-width: 900px; }
.home-hero h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.home-hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub { color: var(--muted); margin: 0 0 18px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 16px 0; color: var(--muted); font-size: .95rem; }
.hero-stats strong { color: var(--navy); }
.home-hero .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; justify-content: flex-start; }
.home-hero .chips::-webkit-scrollbar { display: none; }
.section { margin-top: 32px; margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.more { font-weight: 600; white-space: nowrap; }
.home-section { margin-top: 30px; margin-bottom: 30px; }
.home-section .section-head h2 { font-size: 1.35rem; }
.more { font-weight: 600; white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--blue); font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.recent-list a {
  display: grid; gap: 2px; height: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6472' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat 14px 14px / 18px;
  transition: border-color .12s;
}
.recent-list a:hover { border-color: var(--blue); text-decoration: none; }
.recent-list strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-list span { font-size: .875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browse { display: grid; gap: 24px; }
.browse h3 { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.empty { background: var(--soft); border-radius: var(--radius); padding: 28px 20px; text-align: center; color: var(--muted); }
.empty h2 { font-size: 1.15rem; }

/* ---------- job search page ---------- */
.search-strip { padding: 16px 0 0; }
.filters-toggle { position: absolute; opacity: 0; pointer-events: none; }
.filter-bar {
  display: flex; gap: 10px; align-items: center; overflow-x: auto; padding: 16px 16px 14px; scrollbar-width: none;
  max-width: 992px; margin: 0 auto;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filters-toggle:focus-visible + .filter-bar .chip-icon { outline: 3px solid var(--blue); }
.filters-toggle:checked + .filter-bar .chip-icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-panel { display: none; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.filters-toggle:checked ~ .filter-panel { display: block; }
.filter-grid { display: grid; gap: 14px; }
.filter-grid label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.filter-grid select { width: 100%; padding: 12px; border: 1px solid #b8c0cc; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.filter-grid .check { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.filter-grid .check input { width: 20px; height: 20px; accent-color: var(--blue); }
.filter-actions { display: flex; gap: 10px; }
.filter-actions .btn { flex: 1; }

.results-head { padding-top: 4px; padding-bottom: 12px; border-top: 1px solid var(--line); }
.results-head .crumbs { display: none; }
.results-head h1 { font-size: 1.1rem; font-weight: 700; margin: 14px 0 0; }
.results-head p { color: var(--muted); margin: 2px 0 0; font-size: .9rem; }
.two-pane { margin-bottom: 40px; }

/* Job preview: a slide-up sheet on phones. */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(17, 24, 39, .5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.pane-detail {
  position: fixed; left: 0; right: 0; bottom: 0; top: 48px; z-index: 100; background: #fff;
  border-radius: 18px 18px 0 0; display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  box-shadow: 0 -8px 30px rgba(17, 24, 39, .25);
}
.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .pane-detail { transform: none; visibility: visible; }
.sheet-open body { overflow: hidden; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 4px; flex: none; }
.sheet-note { color: var(--muted); font-size: .9rem; }
.pane-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-loading { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- job detail (sheet, side pane and full page) ---------- */
.jd-head { padding: 12px 20px 20px; }
.jd-title { font-size: 1.55rem; font-weight: 700; margin: 8px 0 14px; line-height: 1.25; }
.jd-org { display: flex; align-items: center; gap: 12px; }
.employer-btn { margin: 0 0 14px; }
.jd-company { margin: 0; font-size: 1.05rem; }
.jd-company a { color: var(--text); text-decoration: underline; }
.jd-actions { display: none; }
.jd-tabs { display: flex; gap: 8px; padding: 0 20px; border-top: 8px solid var(--soft); border-bottom: 1px solid var(--line); }
.jd-tabs > * { padding: 16px 28px 14px; color: var(--muted); border-bottom: 3px solid transparent; font-size: 1.02rem; }
.jd-tabs [aria-current] { color: var(--text); font-weight: 700; border-bottom-color: var(--text); }
.jd-tabs a:hover { text-decoration: none; color: var(--blue); }
.jd-body { padding: 0 20px 24px; }
.jd-section { padding: 22px 0; border-bottom: 8px solid var(--soft); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.jd-section > h2, .jd-section > h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.jd-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.jd-facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08rem; }
.jd-facts .icon { color: var(--text); margin-top: 1px; }
.jd-facts strong a { color: var(--text); }
.jd-extra { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.closing { color: #b45309; font-weight: 600; }
.closed { color: #b91c1c; font-weight: 600; }
.apply-box { margin-top: 22px; padding: 18px; background: var(--blue-tint); border: 1px solid #bfdbfe; border-radius: var(--radius); }
.apply-box h2, .apply-box h3 { font-size: 1.15rem; }
.apply-box .small { margin: 0; }
.source { margin: 16px 0 0; }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--blue-tint); border: 1px solid #bfdbfe; margin-top: 16px; }
.notice-warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
/* Apply button that stays at the bottom of the screen on phones. */
.jd-sticky {
  position: sticky; bottom: 0; background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(31, 41, 55, .08); z-index: 3;
}
.jd-sticky .btn { display: block; width: 100%; font-size: 1.1rem; padding: 15px; border-radius: 12px; }

.job-page { padding: 0; }
.job-page > .crumbs { padding: 12px 16px 0; }
.job-full { background: #fff; }
.layout, .layout-job { display: grid; gap: 20px; margin-bottom: 40px; }
.layout-job > aside { padding: 0 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.card > h2:first-child { font-size: 1.1rem; }
.card-tint { background: #f0fdf4; border-color: #bbf7d0; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; padding-top: 0; }
.link-list a { display: block; font-weight: 600; }
.link-list span { font-size: .85rem; color: var(--muted); }

/* ---------- rich text ---------- */
.prose { font-size: 1.02rem; line-height: 1.7; overflow-wrap: break-word; }
.prose h2 { font-size: 1.2rem; margin-top: 1.5em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1em 0; padding: 8px 18px; border-left: 4px solid var(--orange); background: #fff7ed; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); }
.prose img { border-radius: 10px; }

/* ---------- page heads (companies, blog) ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 18px 0 22px; color: var(--muted); }
.page-head h1 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); font-weight: 800; color: var(--navy); margin: 8px 0 6px; }
.page-head p { margin: 0; }
.crumbs { font-size: .875rem; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: underline; }
.crumbs a:hover { color: var(--blue); }
.inline-search { display: flex; gap: 8px; max-width: 480px; margin-top: 14px; }
.inline-search input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #b8c0cc; border-radius: 10px; font: inherit; }
.job-title-row { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.job-title-row h1 { margin: 0 0 4px; }

/* ---------- companies ---------- */
.co-section { margin-bottom: 30px; }
.co-section > h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 14px; }
.ind-grid, .ind-list, .co-grid { list-style: none; margin: 0; padding: 0; }
/* phones: a simple list, icon on the left and name on the right */
.ind-grid { display: grid; gap: 8px; }
.ind-card {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; transition: border-color .12s;
}
.ind-card:hover { border-color: var(--blue); color: var(--blue); }
.ind-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.ind-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ind-c1 { background: #eff6ff; color: #2563eb; }
.ind-c2 { background: #fff1e6; color: #ea580c; }
.ind-c3 { background: #e8f7ef; color: #15803d; }
.ind-c4 { background: #f3edff; color: #6d28d9; }
.ind-c5 { background: #fdeef4; color: #be185d; }
.ind-c6 { background: #e6f6f8; color: #0e7490; }
.ind-more { margin-top: 16px; text-align: center; }
.ind-more summary, .btn-thin {
  display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--blue); font-weight: 600; cursor: pointer; list-style: none;
}
.ind-more summary::-webkit-details-marker { display: none; }
.ind-more summary:hover, .btn-thin:hover { border-color: var(--blue); text-decoration: none; }
.ind-more[open] summary { display: none; }
.ind-list { text-align: left; display: grid; gap: 4px 24px; }
.ind-list a { display: block; padding: 10px 14px; color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ind-list a:hover { color: var(--blue); }

/* company rows: logo, name, review stars, then a small link to the open jobs */
.co-grid { display: grid; }
.co-row { padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.co-row:first-child { padding-top: 4px; }
.co-main { display: flex; align-items: center; gap: 14px; color: var(--text); }
.co-main:hover { text-decoration: none; }
.co-main:hover .co-name { color: var(--blue); }
.co-main .logo-box { flex: none; }
.co-text { min-width: 0; display: grid; gap: 2px; }
.co-name { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.co-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.co-reviews { font-size: .875rem; color: var(--muted); }
.co-jobs { display: inline-block; margin-top: 8px; font-size: .9rem; color: var(--muted); padding: 2px 0; }
.co-jobs:hover { color: var(--blue); }
.co-all { text-align: center; margin: 20px 0 0; }

/* reviews on a company page */
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; }
.review-summary strong { font-size: 1.5rem; }
.review-list { list-style: none; margin: 0 0 18px; padding: 0; }
.review-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-list h3 { font-size: 1.05rem; margin: 6px 0 2px; }
.review-list p { margin: 4px 0 0; overflow-wrap: anywhere; }
.review-by { font-size: .875rem; color: var(--muted); }
.review-form { display: grid; gap: 6px; max-width: 560px; margin-top: 22px; scroll-margin-top: 16px; }
.review-form h3 { font-size: 1.15rem; margin: 0; }

/* single company page: header, three tabs (About / Jobs / Reviews), then suggested jobs */
.co-head { padding: 16px 0 4px; }
.co-id { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.co-id .logo-box { flex: none; }
.co-id h1 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); font-weight: 800; color: var(--navy); margin: 0; line-height: 1.2; overflow-wrap: anywhere; }
.co-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 12px 0 14px; color: var(--muted); font-size: .95rem; }
.co-score { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; }
.co-score strong { color: var(--text); }
.co-tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.co-tabs::-webkit-scrollbar { display: none; }
.co-tabs a { padding: 12px 16px 10px; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.co-tabs a:hover { color: var(--blue); text-decoration: none; }
.co-panel { padding: 22px 0 8px; scroll-margin-top: 100vh; }
.co-panel > h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 12px; }
.co-tagline { font-weight: 600; margin: 0 0 10px; }
/* Tabs work without any script: the panel named in the address (#jobs, #reviews) is shown, About by default.
   Browsers too old for :has() simply show all three sections one after another. */
@supports selector(:has(a)) {
  .co-panel { display: none; }
  .co-panel:target, .co-panel:has(:target),
  .co-page:not(:has(.co-panel:target, .co-panel :target)) #about { display: block; }
  .co-page:not(:has(.co-panel:target, .co-panel :target)) .co-tabs a[href="#about"],
  .co-page:has(#about:target) .co-tabs a[href="#about"],
  .co-page:has(#jobs:target) .co-tabs a[href="#jobs"],
  .co-page:has(#reviews:target, #reviews :target) .co-tabs a[href="#reviews"] { color: var(--text); border-bottom-color: var(--blue); }
}
.fact-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.fact-grid li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; min-height: 76px; }
.fact-label { font-size: .8rem; color: var(--muted); }
.fact-value { font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.mini-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-jobs a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); height: 100%; transition: border-color .12s; }
.mini-jobs a:hover { border-color: var(--blue); text-decoration: none; }
.mini-jobs strong { color: var(--text); font-size: 1.05rem; line-height: 1.3; }
.mini-type { font-size: .875rem; }
.co-suggest { border-top: 8px solid var(--soft); padding-top: 26px; margin-top: 20px; }
.review-form label, .star-pick legend { font-weight: 600; margin-top: 8px; padding: 0; }
.review-form input:not([type="radio"]), .review-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #b8c0cc; border-radius: 10px; font: inherit; color: var(--text); background: #fff;
}
.review-form .btn { justify-self: start; margin-top: 10px; }
.review-note { font-size: .875rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.btn-danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn-danger:hover { background: #991b1b; border-color: #991b1b; }

/* ---------- first-day job alerts pop-up ---------- */
.alerts-popup {
  position: fixed; z-index: 120; left: 12px; right: 12px; bottom: 12px; max-width: 380px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px 18px; text-align: center;
  box-shadow: 0 18px 40px rgba(31, 41, 55, .25); transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.alerts-popup.is-open { transform: none; opacity: 1; }
.alerts-popup h2 { font-size: 1.2rem; margin: 0 0 4px; }
.alerts-popup p { margin: 0 0 12px; color: var(--muted); }
.alerts-popup .btn-block { margin-top: 8px; }
.alerts-icon { font-size: 1.8rem; margin: 0 0 4px !important; }
.alerts-close {
  position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.7rem;
  line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%;
}
.alerts-close:hover { background: var(--soft); color: var(--text); }
.btn-facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn-facebook:hover { background: #0f63d1; border-color: #0f63d1; }
@media (prefers-reduced-motion: reduce) { .alerts-popup { transition: none; } }
/* star picker: radios in reverse order so a star and every star before it light up */
.star-pick { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; }
.star-pick legend { width: 100%; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 2.1rem; line-height: 1; padding: 4px 3px; margin: 0; color: #cfd5dd; cursor: pointer; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--orange); }
.star-pick input:focus-visible + label { outline: 3px solid var(--blue); border-radius: 6px; }
.stars {
  --fill: 0%; font-size: 1.15rem; line-height: 1; letter-spacing: 1px; color: transparent;
  background: linear-gradient(90deg, var(--orange) var(--fill), #cfd5dd var(--fill)); -webkit-background-clip: text; background-clip: text;
}
.stars-5 { --fill: 10%; } .stars-10 { --fill: 20%; } .stars-15 { --fill: 30%; } .stars-20 { --fill: 40%; } .stars-25 { --fill: 50%; }
.stars-30 { --fill: 60%; } .stars-35 { --fill: 70%; } .stars-40 { --fill: 80%; } .stars-45 { --fill: 90%; } .stars-50 { --fill: 100%; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border-top: 4px solid var(--orange); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card-body { padding: 16px 18px 18px; }
.post-card h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.post-card h3 a { color: var(--text); }
.post-card p { font-size: .92rem; color: var(--muted); margin-bottom: 10px; }
.post-card time { font-size: .8rem; color: var(--muted); }
.eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); }
.article-wrap { margin-top: 16px; margin-bottom: 40px; }
.byline { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.byline img, .byline-initials { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.byline-initials, .author-initials { display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); font-weight: 700; }
.byline-initials { font-size: .8rem; }
.byline a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 18px; background: var(--soft); border-radius: var(--radius); }
.author-box img, .author-initials { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; font-size: 1.3rem; }
.author-box p { margin: 0 0 6px; }
.author-box p:last-child { margin-bottom: 0; }
.author-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.author-name { font-size: 1.15rem; font-weight: 700; }
.author-name a { color: var(--text); }
.author-page { margin-top: 20px; }
.author-head { margin-top: 0; padding: 22px; }
.author-head img, .author-head .author-initials { width: 96px; height: 96px; }
.author-head h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.comments { margin-top: 16px; padding: 20px; scroll-margin-top: 12px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-list p { margin: 0 0 4px; overflow-wrap: anywhere; }
.comment-by { font-size: .9rem; color: var(--muted); }
.comment-by strong { color: var(--text); }
.article { margin-top: 12px; padding: 20px; }
.article h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--navy); }
.article .prose { font-size: 1.06rem; }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.article-image { border-radius: 10px; margin: 8px 0 20px; width: 100%; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0; color: var(--muted); }
.pagination a { padding: 10px 16px; background: #fff; border: 1px solid var(--blue); border-radius: 10px; font-weight: 600; }
.pagination a:hover { background: var(--blue-tint); text-decoration: none; }
.error-page { text-align: center; padding: 64px 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); margin-top: 48px; padding-top: 32px; font-size: .92rem; }
.footer-menu { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; padding-top: 20px; padding-bottom: 4px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo { margin-right: 6px; }
.social { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.social:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.site-footer .footer-links a { display: inline-block; padding: 6px 0; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; padding-bottom: 16px; text-align: center; font-size: .85rem; }

/* ================= tablets and up ================= */
/* Phones: articles run edge to edge instead of sitting in a card, so the text gets the whole screen width. */
@media (max-width: 699px) {
  .article-wrap { padding: 0; margin-top: 0; }
  .article, .comments { border: 0; border-radius: 0; margin: 0; padding: 18px 16px; }
  .comments { border-top: 8px solid var(--soft); }
  .article-image { border-radius: 0; margin-left: -16px; margin-right: -16px; width: calc(100% + 32px); max-width: none; }
  .article-wrap > .section { padding: 0 16px; }
  .author-box { margin-left: -4px; margin-right: -4px; }
}

@media (min-width: 700px) {
  .wrap { padding: 0 20px; max-width: 1000px; }
  .site-header .wrap, .site-footer .wrap { max-width: 1240px; }
  .filter-bar { max-width: 1000px; }
  .search-box { display: flex; align-items: stretch; padding: 6px; border-color: #b8c0cc; }
  .search-field { flex: 1; min-width: 0; }
  .search-field + .search-field { border-top: 0; border-left: 1px solid var(--line); }
  .search-field input { padding: 12px 0; font-size: 1rem; }
  .search-box .btn, .search-strip .search-box .btn {
    position: static; width: auto; height: auto; clip-path: none; overflow: visible; margin: 0; padding: 12px 26px;
    border: 1px solid var(--blue); white-space: nowrap;
  }
  .search-strip .search-box { max-width: 900px; }
  .home-hero { padding: 56px 0 32px; text-align: center; }
  .hero-sub { max-width: 640px; margin: 0 auto 26px; font-size: 1.05rem; }
  .hero-stats { justify-content: center; }
  .home-hero .chips { flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; overflow: visible; }
  .job-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .browse { grid-template-columns: 1fr 1fr; }
  .filter-bar { padding: 14px 20px; }
  .filter-grid { grid-template-columns: repeat(3, 1fr) auto auto; align-items: end; }
  .filter-grid .check { padding-bottom: 12px; }
  .results-head .crumbs { display: flex; padding-top: 12px; }
  .results-head h1 { font-size: 1.3rem; margin-top: 8px; }
  .job-page { padding: 0 20px; }
  .job-page > .crumbs { padding: 16px 0 0; }
  .job-full { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 14px; overflow: clip; }
  .layout-job > aside { padding: 0; }
  .article { padding: 30px; }
  .co-section { margin-bottom: 40px; }
  .co-section > h2 { font-size: 1.6rem; margin-bottom: 18px; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ind-card { flex-direction: column; justify-content: center; text-align: center; gap: 10px; padding: 24px 14px; height: 100%; min-height: 132px; }
  .ind-icon { width: 54px; height: 54px; }
  .ind-more { margin-top: 22px; }
  .ind-list { grid-template-columns: repeat(3, 1fr); }
  .fact-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
  .mini-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .co-tabs a { padding: 14px 26px 12px; }
  .co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
  .co-row, .co-row:first-child { border: 0; padding: 12px 0; }
}

/* ================= desktops: nav in the header, job preview beside the list ================= */
@media (min-width: 1000px) {
  .only-wide { display: inline; }
  .only-narrow { display: none; }
  .header-inner { align-items: stretch; gap: 28px; }
  .logo { display: flex; align-items: center; }
  .nav-button { display: none; }
  .main-nav {
    display: flex; position: static; flex-direction: row; flex: 1; padding: 0; border: 0; box-shadow: none; gap: 4px;
  }
  .main-nav a { display: flex; align-items: center; padding: 0 12px; font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
  .main-nav a:last-child { border-bottom: 3px solid transparent; }
  .main-nav a:hover { text-decoration: none; border-bottom-color: var(--line); }
  .main-nav a[aria-current] { border-bottom-color: var(--blue); font-weight: 600; }
  .header-cta { align-self: center; margin-left: 8px; }

  .two-pane { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
  .two-pane.is-empty { grid-template-columns: minmax(0, 760px); }
  .job-card.is-selected { border: 2px solid var(--blue); padding: 17px; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
  .sheet-backdrop, .sheet-bar { display: none; }
  .pane-detail {
    position: sticky; top: 12px; left: auto; right: auto; bottom: auto; z-index: 1; transform: none; visibility: visible;
    max-height: calc(100vh - 24px); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(31, 41, 55, .06); transition: none;
  }
  .pane-detail[aria-busy="true"] .pane-body { opacity: .5; }
  .jd-head { padding: 24px 24px 20px; }
  /* The title, company and Apply button stay in view while the job details scroll beneath them;
     they release again once the end of the job is reached. */
  .job-full .jd-head, .pane-body .jd-head {
    position: sticky; top: 0; z-index: 5; background: #fff; padding-top: 18px; padding-bottom: 16px;
    box-shadow: 0 6px 10px -8px rgba(31, 41, 55, .35);
  }
  .job-full .jd-head { border-radius: var(--radius) var(--radius) 0 0; }
  .layout-job > aside { position: sticky; top: 14px; align-self: start; }
  .jd-title { font-size: 1.6rem; }
  .jd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .jd-actions .btn-accent { padding: 12px 30px; }
  .jd-sticky { display: none; }
  .jd-tabs { padding: 0 24px; border-top: 1px solid var(--line); }
  .jd-body { padding: 0 24px 24px; }
  .jd-section { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .jd-section > h2, .jd-section > h3 { font-size: 1.2rem; }
  .jd-facts li { font-size: 1rem; }
  .layout { grid-template-columns: 280px 1fr; gap: 24px; align-items: start; margin-top: 16px; }
  .layout-job { grid-template-columns: minmax(0, 1fr) 300px; margin-top: 0; }
  .layout-job > aside { margin-top: 14px; }
  .co-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recent-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-section { margin-top: 40px; margin-bottom: 40px; }
  .footer-menu { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .job-card, .ind-card, .pane-detail, .sheet-backdrop { transition: none; }
}

/* ================= WordPress additions ================= */
/* footer: job alerts block above the logo + menu row */
.footer-alerts { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-alerts h2 { color: var(--text); font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.footer-alerts p { margin: 0; }
.footer-menu { margin-top: 24px; }
.site-footer .footer-links a { color: var(--muted); }
.site-footer .footer-links a:hover { color: var(--blue); }
@media (min-width: 700px) {
  .footer-alerts { flex-direction: row; align-items: center; justify-content: space-between; }
}
/* the admin bar (administrators only) must not hide the sticky job header */
.admin-bar .job-full .jd-head, .admin-bar .pane-body .jd-head { top: 0; }
@media (min-width: 1000px) {
  .admin-bar .layout-job > aside, .admin-bar .pane-detail { top: 44px; }
  .admin-bar .pane-detail { max-height: calc(100vh - 56px); }
}
/* comment and review forms (WordPress markup) */
.comment-form { display: grid; gap: 6px; max-width: 560px; margin-top: 22px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.comment-form label:not(.check) { font-weight: 600; margin-top: 8px; }
.comment-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #b8c0cc; border-radius: 10px; font: inherit; color: var(--text); background: #fff;
}
.comment-form .form-submit { display: block; margin-top: 10px; }
.comment-form .star-pick { margin-top: 4px; }
.comment-form .star-pick label { margin-top: 0; }
.comment-reply-title { font-size: 1.15rem; margin: 22px 0 0; }
.comment-reply-title small { margin-left: 10px; font-size: .85rem; font-weight: 400; }
#respond { scroll-margin-top: 16px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin: 0 0 0 18px; padding: 0 0 0 14px; border-left: 3px solid var(--soft); }
.comment-list .reply { font-size: .875rem; }
.comment-awaiting-moderation { color: var(--muted); }
/* content written in the WordPress editor */
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .alignleft { float: left; margin: 4px 18px 12px 0; }
.prose .alignright { float: right; margin: 4px 0 12px 18px; }
.prose figure { margin: 18px 0; max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { font-size: .875rem; color: var(--muted); margin-top: 6px; }
.prose .wp-block-table, .prose figure.wp-block-table { overflow-x: auto; }
.prose iframe, .prose video { max-width: 100%; }
.prose .wp-block-button__link { display: inline-block; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip-path: none; }
.byline-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
span.byline-photo { font-size: .8rem; }
.author-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-head .author-photo { width: 96px; height: 96px; }
.error-search { max-width: 760px; margin: 0 auto 18px; }
.post-card img { height: auto; }
